From c06d44ea426330fe947d3083ddfee8cd7e445252 Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Sun, 30 Jul 2017 22:47:18 -0700 Subject: [PATCH] fontforge 20170731 use release tarball and remove head spec Closes #16226. Signed-off-by: ilovezfs --- Formula/fontforge.rb | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/Formula/fontforge.rb b/Formula/fontforge.rb index 4b923f306c..768a107c30 100644 --- a/Formula/fontforge.rb +++ b/Formula/fontforge.rb @@ -1,10 +1,8 @@ class Fontforge < Formula desc "Command-line outline and bitmap font editor/converter" homepage "https://fontforge.github.io" - url "https://github.com/fontforge/fontforge/archive/20161012.tar.gz" - sha256 "a5f5c2974eb9109b607e24f06e57696d5861aaebb620fc2c132bdbac6e656351" - revision 2 - head "https://github.com/fontforge/fontforge.git" + url "https://github.com/fontforge/fontforge/releases/download/20170731/fontforge-dist-20170731.tar.xz" + sha256 "840adefbedd1717e6b70b33ad1e7f2b116678fa6a3d52d45316793b9fd808822" bottle do sha256 "7761dfc6c4323b846535e40a8eab0625d5c4ce5755df649628ab29f6259b4632" => :sierra @@ -17,9 +15,6 @@ class Fontforge < Formula deprecated_option "with-gif" => "with-giflib" - # Autotools are required to build from source in all releases. - depends_on "autoconf" => :build - depends_on "automake" => :build depends_on "pkg-config" => :build depends_on "libtool" => :run depends_on "gettext" @@ -34,11 +29,6 @@ class Fontforge < Formula depends_on "libuninameslist" => :optional depends_on :python if MacOS.version <= :snow_leopard - resource "gnulib" do - url "https://git.savannah.gnu.org/git/gnulib.git", - :revision => "29ea6d6fe2a699a32edbe29f44fe72e0c253fcee" - end - def install ENV["PYTHON_CFLAGS"] = `python-config --cflags`.chomp ENV["PYTHON_LIBS"] = `python-config --ldflags`.chomp @@ -56,13 +46,7 @@ class Fontforge < Formula args << "--without-libspiro" if build.without? "libspiro" args << "--without-libuninameslist" if build.without? "libuninameslist" - # Bootstrap in every build: https://github.com/fontforge/fontforge/issues/1806 - resource("gnulib").fetch - system "./bootstrap", - "--gnulib-srcdir=#{resource("gnulib").cached_download}", - "--skip-git" system "./configure", *args - system "make" system "make", "install" # The app here is not functional.