{"action":"created","issue":{"url":"https://api.github.com/repos/staticfloat/homebrew-juliadeps/issues/131","repository_url":"https://api.github.com/repos/staticfloat/homebrew-juliadeps","labels_url":"https://api.github.com/repos/staticfloat/homebrew-juliadeps/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/staticfloat/homebrew-juliadeps/issues/131/comments","events_url":"https://api.github.com/repos/staticfloat/homebrew-juliadeps/issues/131/events","html_url":"https://github.com/staticfloat/homebrew-juliadeps/pull/131","id":350581966,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4Mzk3OTgw","number":131,"title":"Update from fontconfig 2.12 to 2.13","user":{"login":"NHDaly","id":1582097,"node_id":"MDQ6VXNlcjE1ODIwOTc=","avatar_url":"https://avatars2.githubusercontent.com/u/1582097?v=4","gravatar_id":"","url":"https://api.github.com/users/NHDaly","html_url":"https://github.com/NHDaly","followers_url":"https://api.github.com/users/NHDaly/followers","following_url":"https://api.github.com/users/NHDaly/following{/other_user}","gists_url":"https://api.github.com/users/NHDaly/gists{/gist_id}","starred_url":"https://api.github.com/users/NHDaly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NHDaly/subscriptions","organizations_url":"https://api.github.com/users/NHDaly/orgs","repos_url":"https://api.github.com/users/NHDaly/repos","events_url":"https://api.github.com/users/NHDaly/events{/privacy}","received_events_url":"https://api.github.com/users/NHDaly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-08-14T20:17:55Z","updated_at":"2018-08-14T22:39:58Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/staticfloat/homebrew-juliadeps/pulls/131","html_url":"https://github.com/staticfloat/homebrew-juliadeps/pull/131","diff_url":"https://github.com/staticfloat/homebrew-juliadeps/pull/131.diff","patch_url":"https://github.com/staticfloat/homebrew-juliadeps/pull/131.patch"},"body":"Update Julia Homebrew.jl's `fontconfig` version to the latest version: `2.13.0`.\r\n\r\nCairo.jl is currently failing to build on mac (failure: https://travis-ci.org/JuliaGraphics/Cairo.jl/jobs/415954409) because it requires `fontconfig >= 2.13`. This homebrew Formula is forcing `2.12` to be installed instead, so pangocairo fails to build.\r\n\r\nFor more information, please see this thread:\r\nhttps://github.com/JuliaGraphics/Cairo.jl/issues/230\r\n\r\n\r\nIn this PR, i just blindly bumped the `url` and `sha` to what I see in my `homebrew-core/Formula/fontconfig.rb`. But maybe there are other lines that need to change as well? Here are the complete contents of my `~/.julia/v0.6/Homebrew/deps/usr/Library/Taps/homebrew/homebrew-core/Formula/fontconfig.rb`, which i got via ``julia0.6> Homebrew.brew(`edit fontconfig`)``:\r\n\r\n```ruby\r\nclass Fontconfig < Formula\r\n  desc \"XML-based font configuration API for X Windows\"\r\n  homepage \"https://wiki.freedesktop.org/www/Software/fontconfig/\"\r\n  url \"https://www.freedesktop.org/software/fontconfig/release/fontconfig-2.13.0.tar.bz2\"\r\n  sha256 \"91dde8492155b7f34bb95079e79be92f1df353fcc682c19be90762fd3e12eeb9\"\r\n\r\n  # The bottle tooling is too lenient and thinks fontconfig\r\n  # is relocatable, but it has hardcoded paths in the executables.\r\n  bottle do\r\n    sha256 \"66ad096a51d6253be02b4d3df0299d422c8bd1bccf571ed64a8b8b21a2e77bc7\" => :high_sierra\r\n    sha256 \"d822bc26c6b556606087e5807293492814fedf9d408c857006b0886608010400\" => :sierra\r\n    sha256 \"a8016f2aff75677bab388a0ab138b4528d787c44c337f6ee7236e0de4a1cb268\" => :el_capitan\r\n  end\r\n\r\n  pour_bottle? do\r\n    reason \"The bottle needs to be installed into /usr/local.\"\r\n    # c.f. the identical hack in lua\r\n    # https://github.com/Homebrew/homebrew/issues/47173\r\n    satisfy { HOMEBREW_PREFIX.to_s == \"/usr/local\" }\r\n  end\r\n\r\n  head do\r\n    url \"https://anongit.freedesktop.org/git/fontconfig\", :using => :git\r\n\r\n    depends_on \"autoconf\" => :build\r\n    depends_on \"automake\" => :build\r\n    depends_on \"libtool\" => :build\r\n  end\r\n\r\n  depends_on \"pkg-config\" => :build\r\n  depends_on \"freetype\"\r\n\r\n  def install\r\n    # Remove for > 2.13.0\r\n    # Upstream issue from 6 Mar 2018 \"2.13.0 erroneously requires libuuid on macOS\"\r\n    # See https://bugs.freedesktop.org/show_bug.cgi?id=105366\r\n    ENV[\"UUID_CFLAGS\"] = \" \"\r\n    ENV[\"UUID_LIBS\"] = \" \"\r\n\r\n    # Remove for > 2.13.0\r\n    # Same effect as upstream commit from 10 Mar 2018 \"Add uuid to\r\n    # Requires.private in .pc only when pkgconfig macro found it\"\r\n    inreplace \"configure\",\r\n      'PKGCONFIG_REQUIRES_PRIVATELY=\"$PKGCONFIG_REQUIRES_PRIVATELY uuid\"', \"\"\r\n\r\n    font_dirs = %w[\r\n      /System/Library/Fonts\r\n      /Library/Fonts\r\n      ~/Library/Fonts\r\n    ]\r\n\r\n    if MacOS.version >= :sierra\r\n      font_dirs << Dir[\"/System/Library/Assets/com_apple_MobileAsset_Font*\"].max\r\n    end\r\n\r\n    system \"autoreconf\", \"-iv\" if build.head?\r\n    system \"./configure\", \"--disable-dependency-tracking\",\r\n                          \"--disable-silent-rules\",\r\n                          \"--enable-static\",\r\n                          \"--with-add-fonts=#{font_dirs.join(\",\")}\",\r\n                          \"--prefix=#{prefix}\",\r\n                          \"--localstatedir=#{var}\",\r\n                          \"--sysconfdir=#{etc}\"\r\n    system \"make\", \"install\", \"RUN_FC_CACHE_TEST=false\"\r\n  end\r\n\r\n  def post_install\r\n    ohai \"Regenerating font cache, this may take a while\"\r\n    system \"#{bin}/fc-cache\", \"-frv\"\r\n  end\r\n\r\n  test do\r\n    system \"#{bin}/fc-list\"\r\n  end\r\nend\r\n```\r\n\r\n-------------------\r\n\r\nAnd actually, that said, is there any need for this separate file? Can we just use the default Homebrew-installed Ruby file?\r\n\r\n\r\n\r\n--------------------------------\r\n\r\nWhen opening an issue, please ping `@staticfloat`.\r\n\r\nHe does not receive emails automatically when new issues are created.\r\nWithout this ping, your issue may slip through the cracks!\r\nIf no response is garnered within a week, feel free to ping again."},"comment":{"url":"https://api.github.com/repos/staticfloat/homebrew-juliadeps/issues/comments/413038798","html_url":"https://github.com/staticfloat/homebrew-juliadeps/pull/131#issuecomment-413038798","issue_url":"https://api.github.com/repos/staticfloat/homebrew-juliadeps/issues/131","id":413038798,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzAzODc5OA==","user":{"login":"staticfloat","id":130920,"node_id":"MDQ6VXNlcjEzMDkyMA==","avatar_url":"https://avatars0.githubusercontent.com/u/130920?v=4","gravatar_id":"","url":"https://api.github.com/users/staticfloat","html_url":"https://github.com/staticfloat","followers_url":"https://api.github.com/users/staticfloat/followers","following_url":"https://api.github.com/users/staticfloat/following{/other_user}","gists_url":"https://api.github.com/users/staticfloat/gists{/gist_id}","starred_url":"https://api.github.com/users/staticfloat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/staticfloat/subscriptions","organizations_url":"https://api.github.com/users/staticfloat/orgs","repos_url":"https://api.github.com/users/staticfloat/repos","events_url":"https://api.github.com/users/staticfloat/events{/privacy}","received_events_url":"https://api.github.com/users/staticfloat/received_events","type":"User","site_admin":false},"created_at":"2018-08-14T22:39:58Z","updated_at":"2018-08-14T22:39:58Z","author_association":"OWNER","body":"Oh, wait, it won't work as-is.  Try changing the bottle stanza URL to be the same as the mainline Homebrew one as well.  Let's just see if that works."}}
{"actor":{"display_login":"staticfloat"}}