From 7c6f478e848e277dd0aa7579bc1d1709230b2363 Mon Sep 17 00:00:00 2001 From: Illya Moskvin Date: Sat, 4 Apr 2020 16:19:12 -0500 Subject: [PATCH 1/4] jp2a: downgrade to 1.0.6 --- Formula/jp2a.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Formula/jp2a.rb b/Formula/jp2a.rb index ecaa04a85e947..4d376f6aad0dd 100644 --- a/Formula/jp2a.rb +++ b/Formula/jp2a.rb @@ -1,8 +1,9 @@ class Jp2a < Formula desc "Convert JPG images to ASCII" homepage "https://csl.name/jp2a/" - url "https://github.com/cslarsen/jp2a/archive/v1.0.7.tar.gz" - sha256 "e509d8bbf9434afde5c342568b21d11831a61d9942ca8cb1633d4295b7bc5059" + url "https://downloads.sourceforge.net/project/jp2a/jp2a/1.0.6/jp2a-1.0.6.tar.gz" + sha256 "0930ac8a9545c8a8a65dd30ff80b1ae0d3b603f2ef83b04226da0475c7ccce1c" + revision 1 bottle do cellar :any @@ -12,13 +13,12 @@ class Jp2a < Formula sha256 "a45231943df5bffc1589114b20b5b6c9745f909fd1e85db63da40e28bec02709" => :sierra end - depends_on "autoconf" => :build - depends_on "automake" => :build depends_on "jpeg" def install - system "autoreconf", "-ivf" - system "./configure", "--disable-dependency-tracking", + system "./configure", "--disable-debug", + "--disable-dependency-tracking", + "--disable-silent-rules", "--prefix=#{prefix}" system "make", "install" end From fe4d6d7de9f79cbb510d65331a53e8756b17e8ae Mon Sep 17 00:00:00 2001 From: Illya Moskvin Date: Sat, 4 Apr 2020 21:59:14 -0500 Subject: [PATCH 2/4] jp2a: comment on downgrade to 1.0.6 --- Formula/jp2a.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Formula/jp2a.rb b/Formula/jp2a.rb index 4d376f6aad0dd..266deee3a81a4 100644 --- a/Formula/jp2a.rb +++ b/Formula/jp2a.rb @@ -1,9 +1,13 @@ class Jp2a < Formula desc "Convert JPG images to ASCII" homepage "https://csl.name/jp2a/" + # Do not change source from SourceForge to GitHub until this issue is resolved: + # https://github.com/cslarsen/jp2a/issues/8 + # Currently, GitHub only has jp2a v1.0.7, which is broken as described above. + # jp2a v1.0.6 is stable, but it is only available on SourceForge, not GitHub. url "https://downloads.sourceforge.net/project/jp2a/jp2a/1.0.6/jp2a-1.0.6.tar.gz" sha256 "0930ac8a9545c8a8a65dd30ff80b1ae0d3b603f2ef83b04226da0475c7ccce1c" - revision 1 + version_scheme 1 bottle do cellar :any From db159eb8727d42c2b24ce25ceea5c4a4c74648eb Mon Sep 17 00:00:00 2001 From: Illya Moskvin Date: Sat, 4 Apr 2020 22:06:04 -0500 Subject: [PATCH 3/4] jp2a: fix trailing whitespace --- Formula/jp2a.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/jp2a.rb b/Formula/jp2a.rb index 266deee3a81a4..22be6f39ce0bc 100644 --- a/Formula/jp2a.rb +++ b/Formula/jp2a.rb @@ -4,7 +4,7 @@ class Jp2a < Formula # Do not change source from SourceForge to GitHub until this issue is resolved: # https://github.com/cslarsen/jp2a/issues/8 # Currently, GitHub only has jp2a v1.0.7, which is broken as described above. - # jp2a v1.0.6 is stable, but it is only available on SourceForge, not GitHub. + # jp2a v1.0.6 is stable, but it is only available on SourceForge, not GitHub. url "https://downloads.sourceforge.net/project/jp2a/jp2a/1.0.6/jp2a-1.0.6.tar.gz" sha256 "0930ac8a9545c8a8a65dd30ff80b1ae0d3b603f2ef83b04226da0475c7ccce1c" version_scheme 1 From 37cf66587513d998d7caeeed4b22161eebc426dd Mon Sep 17 00:00:00 2001 From: Illya Moskvin Date: Thu, 9 Apr 2020 13:28:40 -0500 Subject: [PATCH 4/4] jp2a: restore revision 1 --- Formula/jp2a.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Formula/jp2a.rb b/Formula/jp2a.rb index 22be6f39ce0bc..fdb2d3b03324c 100644 --- a/Formula/jp2a.rb +++ b/Formula/jp2a.rb @@ -7,6 +7,7 @@ class Jp2a < Formula # jp2a v1.0.6 is stable, but it is only available on SourceForge, not GitHub. url "https://downloads.sourceforge.net/project/jp2a/jp2a/1.0.6/jp2a-1.0.6.tar.gz" sha256 "0930ac8a9545c8a8a65dd30ff80b1ae0d3b603f2ef83b04226da0475c7ccce1c" + revision 1 version_scheme 1 bottle do