Skip to content

Commit

Permalink
Update extension dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
BrewTestBot committed Oct 22, 2024
1 parent 0ba23e8 commit d38e670
Show file tree
Hide file tree
Showing 29 changed files with 254 additions and 158 deletions.
19 changes: 9 additions & 10 deletions .github/deps/gnupg/g/gettext.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,25 @@ class Gettext < Formula
license "GPL-3.0-or-later"

bottle do
sha256 arm64_sequoia: "7f005ca74e89d423f7be79f4c5eb7b646a19de23c23c4ca09cbe68d18da4fe10"
sha256 arm64_sonoma: "4b5b6cb0692b4606b9220fcbc9da3ab546234348dc87ef8033830e22c4c7bdb1"
sha256 arm64_ventura: "06ee5992f8a7dbf85a1b0e4c6311029cefda6d70852e5abd28f2e8e30d27cfcf"
sha256 arm64_monterey: "2707884e348a412db35279bdd713c9026c1b1cf40fcc67fc562e68b26189bb86"
sha256 sonoma: "13492dddf82cad8dcb20d1c6375138a0712ce8e3c25b612256672446175c9727"
sha256 ventura: "1a35820de97aa8d93019d64f7add5443bcf1c14f05bd249e670e7ca0f0fc6b2a"
sha256 monterey: "93211634913a6762dbf0e50dd644b9c932ec19124c4500f97228fbff80b0821c"
sha256 x86_64_linux: "11f57f3c216f3603a194fe96d22ee05b2d01fbbaeb4a0047ed43cee25d29f9aa"
rebuild 1
sha256 arm64_sequoia: "9ad2a8e2fff717a18460818d086c02b8ed9f4c42a853f41a88c6f9b601b36615"
sha256 arm64_sonoma: "7cf6084ae306256b1df18c8d75ba63abeccd5c605cfc8406dab8c09d98815bc1"
sha256 arm64_ventura: "3ead4ac2832bf1fbf02a5d1e8cdac9f0b46957615215d42382a85c4cf0f32aa0"
sha256 sonoma: "1bb442e6a65a0d7930a5cfcee44e8e3c4a41ff99351535cce6101b32ce723706"
sha256 ventura: "668023b6002ad5f2aca0e78a0d33ec8a24a660f82149b95cd42d14008dd59d2a"
sha256 x86_64_linux: "c1a3a97412d28be6552c4b4191c174ce145329b165599c280b550f9a54bed9b8"
end

depends_on "libunistring"
uses_from_macos "libxml2"
uses_from_macos "ncurses"

def install
args = [
"--with-libunistring-prefix=#{Formula["libunistring"].opt_prefix}",
"--disable-silent-rules",
"--with-included-glib",
"--with-included-libcroco",
"--with-included-libunistring",
"--with-included-libxml",
"--with-emacs",
"--with-lispdir=#{elisp}",
"--disable-java",
Expand Down
4 changes: 2 additions & 2 deletions .github/deps/gnupg/g/gmp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def install
end

test do
(testpath/"test.c").write <<~EOS
(testpath/"test.c").write <<~C
#include <gmp.h>
#include <stdlib.h>
Expand All @@ -76,7 +76,7 @@ def install
if (mpz_get_si (j) != 5 || mpz_get_si (k) != 1) abort();
return 0;
}
EOS
C

system ENV.cc, "test.c", "-L#{lib}", "-lgmp", "-o", "test"
system "./test"
Expand Down
33 changes: 17 additions & 16 deletions .github/deps/gnupg/lib/libunistring.rb
Original file line number Diff line number Diff line change
@@ -1,29 +1,30 @@
class Libunistring < Formula
desc "C string library for manipulating Unicode strings"
homepage "https://www.gnu.org/software/libunistring/"
url "https://ftp.gnu.org/gnu/libunistring/libunistring-1.2.tar.gz"
mirror "https://ftpmirror.gnu.org/libunistring/libunistring-1.2.tar.gz"
mirror "http://ftp.gnu.org/gnu/libunistring/libunistring-1.2.tar.gz"
sha256 "fd6d5662fa706487c48349a758b57bc149ce94ec6c30624ec9fdc473ceabbc8e"
url "https://ftp.gnu.org/gnu/libunistring/libunistring-1.3.tar.gz"
mirror "https://ftpmirror.gnu.org/libunistring/libunistring-1.3.tar.gz"
mirror "http://ftp.gnu.org/gnu/libunistring/libunistring-1.3.tar.gz"
sha256 "8ea8ccf86c09dd801c8cac19878e804e54f707cf69884371130d20bde68386b7"
license any_of: ["GPL-2.0-only", "LGPL-3.0-or-later"]

bottle do
sha256 cellar: :any, arm64_sequoia: "5b70acd6aa97435ecb2abbfdc04f4e31fa3861a37ae7590b0da64704c5c311b5"
sha256 cellar: :any, arm64_sonoma: "4a1c0f956e528e0fe9a5040da6a2002e221024835916fdc198b5d734e3c2638d"
sha256 cellar: :any, arm64_ventura: "317dccbd509f4703664238e8d61b1f15c83d298b6d1945578eac33c1e18eab25"
sha256 cellar: :any, arm64_monterey: "4f2cc0abb15a3e11a9b5fe64f874f2b3aff4e763133ba499d91bc65e8745cb21"
sha256 cellar: :any, sonoma: "e9a705a5442b3ee55f054a695bfbca741ff8a7f31d856ef08a72ad498bd42d60"
sha256 cellar: :any, ventura: "66091a34396e4e17fc78f31410bf5878091ee6887cec79995f3598093ee481ea"
sha256 cellar: :any, monterey: "7c53563d2a893c2b204cd667904d7b5ff650a8d153808135f3d6a38cae2b234d"
sha256 cellar: :any_skip_relocation, x86_64_linux: "416da7b6b8d158de4adccc0479df3b8cc6a532f39f71df928dd979b01812da21"
sha256 cellar: :any, arm64_sequoia: "3cd26bae2d5fcf61294f14c18e5e7ec773a59ed1bf710fb92055e0db0244e909"
sha256 cellar: :any, arm64_sonoma: "38e44e319bfe11ec892bc6451d86b687d990ea01b4810b5d8ad1f794d531d82f"
sha256 cellar: :any, arm64_ventura: "b0d7a7078508070bd67589f5060a92100bd1c4aea2a41bf19e7ee8442f483df6"
sha256 cellar: :any, sonoma: "e919f6ee2fe8a40addea1e1840eab8855e66812e18dfe05c130618ce517e2880"
sha256 cellar: :any, ventura: "9aebb86a6fb622dd2699db2b1b65c82d1b5aaa35f81d0ae4335c57e9411c36e0"
sha256 cellar: :any_skip_relocation, x86_64_linux: "25ff65379463fe4a51008a36c45a963ebc8d13d054ce606e3fbb6635ea634311"
end

def install
system "./configure", "--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
# macOS iconv implementation is slightly broken since Sonoma.
# This is also why we skip `make check`.
# https://github.com/coreutils/gnulib/commit/bab130878fe57086921fa7024d328341758ed453
# https://savannah.gnu.org/bugs/?65686
ENV["am_cv_func_iconv_works"] = "yes" if OS.mac? && MacOS.version == :sequoia
system "./configure", "--disable-silent-rules", *std_configure_args
system "make"
system "make", "check" if !OS.mac? || MacOS.version < :sonoma
system "make", "check" if !OS.mac? || MacOS.version < :sonoma || MacOS.version > :sequoia
system "make", "install"
end

Expand Down
4 changes: 2 additions & 2 deletions .github/deps/grpc/c/c-ares.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def install
end

test do
(testpath/"test.c").write <<~EOS
(testpath/"test.c").write <<~C
#include <stdio.h>
#include <ares.h>
Expand All @@ -45,7 +45,7 @@ def install
ares_library_cleanup();
return 0;
}
EOS
C
system ENV.cc, "test.c", "-L#{lib}", "-lcares", "-o", "test"
system "./test"

Expand Down
4 changes: 2 additions & 2 deletions .github/deps/imagick/c/cairo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def install
end

test do
(testpath/"test.c").write <<~EOS
(testpath/"test.c").write <<~C
#include <cairo.h>
int main(int argc, char *argv[]) {
Expand All @@ -72,7 +72,7 @@ def install
return 0;
}
EOS
C
fontconfig = Formula["fontconfig"]
freetype = Formula["freetype"]
gettext = Formula["gettext"]
Expand Down
19 changes: 9 additions & 10 deletions .github/deps/imagick/g/gettext.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,25 @@ class Gettext < Formula
license "GPL-3.0-or-later"

bottle do
sha256 arm64_sequoia: "7f005ca74e89d423f7be79f4c5eb7b646a19de23c23c4ca09cbe68d18da4fe10"
sha256 arm64_sonoma: "4b5b6cb0692b4606b9220fcbc9da3ab546234348dc87ef8033830e22c4c7bdb1"
sha256 arm64_ventura: "06ee5992f8a7dbf85a1b0e4c6311029cefda6d70852e5abd28f2e8e30d27cfcf"
sha256 arm64_monterey: "2707884e348a412db35279bdd713c9026c1b1cf40fcc67fc562e68b26189bb86"
sha256 sonoma: "13492dddf82cad8dcb20d1c6375138a0712ce8e3c25b612256672446175c9727"
sha256 ventura: "1a35820de97aa8d93019d64f7add5443bcf1c14f05bd249e670e7ca0f0fc6b2a"
sha256 monterey: "93211634913a6762dbf0e50dd644b9c932ec19124c4500f97228fbff80b0821c"
sha256 x86_64_linux: "11f57f3c216f3603a194fe96d22ee05b2d01fbbaeb4a0047ed43cee25d29f9aa"
rebuild 1
sha256 arm64_sequoia: "9ad2a8e2fff717a18460818d086c02b8ed9f4c42a853f41a88c6f9b601b36615"
sha256 arm64_sonoma: "7cf6084ae306256b1df18c8d75ba63abeccd5c605cfc8406dab8c09d98815bc1"
sha256 arm64_ventura: "3ead4ac2832bf1fbf02a5d1e8cdac9f0b46957615215d42382a85c4cf0f32aa0"
sha256 sonoma: "1bb442e6a65a0d7930a5cfcee44e8e3c4a41ff99351535cce6101b32ce723706"
sha256 ventura: "668023b6002ad5f2aca0e78a0d33ec8a24a660f82149b95cd42d14008dd59d2a"
sha256 x86_64_linux: "c1a3a97412d28be6552c4b4191c174ce145329b165599c280b550f9a54bed9b8"
end

depends_on "libunistring"
uses_from_macos "libxml2"
uses_from_macos "ncurses"

def install
args = [
"--with-libunistring-prefix=#{Formula["libunistring"].opt_prefix}",
"--disable-silent-rules",
"--with-included-glib",
"--with-included-libcroco",
"--with-included-libunistring",
"--with-included-libxml",
"--with-emacs",
"--with-lispdir=#{elisp}",
"--disable-java",
Expand Down
21 changes: 10 additions & 11 deletions .github/deps/imagick/g/glib.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,17 @@ class Glib < Formula

desc "Core application library for C"
homepage "https://docs.gtk.org/glib/"
url "https://download.gnome.org/sources/glib/2.82/glib-2.82.1.tar.xz"
sha256 "478634440bf52ee4ec4428d558787398c0be6b043c521beb308334b3db4489a6"
url "https://download.gnome.org/sources/glib/2.82/glib-2.82.2.tar.xz"
sha256 "ab45f5a323048b1659ee0fbda5cecd94b099ab3e4b9abf26ae06aeb3e781fd63"
license "LGPL-2.1-or-later"

bottle do
rebuild 1
sha256 arm64_sequoia: "f2abd982579380fa01cf4bde3fba4e4e8c3f637968ed5f877abe9b2f03867546"
sha256 arm64_sonoma: "59b2f7c8083f75518cf7389076d53273da8dd3408b64c96d16b1b98a4fcfbfd5"
sha256 arm64_ventura: "03f99542d1f48c8f4a3219523ea4dcd854959a45d5024b69fb9fed312cfc03ab"
sha256 sonoma: "4d6212217fd522c5771a970cf836090ac0e61dc8e71fc87348bb02f16133d1de"
sha256 ventura: "3a1546e0953f0dc82f81a8bcff6d0a58ec12cc646532ae7682313e4b8c0a19fd"
sha256 x86_64_linux: "5ab4a7c3a7b616b4a472fde55d9341fb65d048258b6d63a85b4005fc85a4652b"
sha256 arm64_sequoia: "1c59c3a26014dfb7600a87c990581e6d0792cfbaa99b74a074ce148155b5d943"
sha256 arm64_sonoma: "2a2a3aee202d26ffe9ad335f95bad32039422d295928a04c7718718b13f51128"
sha256 arm64_ventura: "87a49358961d8d5f9c928d135fe16b19e9e5d5730bdd5882ba1a66678889b31f"
sha256 sonoma: "8475a750c4781fea4b855830122161bc099eea855a4602220191913d39cc6108"
sha256 ventura: "635ce24d5a4bdd5abb7d49d83e089aee4fbea757478a89e29519201757269c9f"
sha256 x86_64_linux: "3357a6c04dc78db3f79a0e01ff0a5515a1c2745c111b5adbf7d81aa8a60c77eb"
end

depends_on "bison" => :build # for gobject-introspection
Expand Down Expand Up @@ -141,7 +140,7 @@ def post_install
end

test do
(testpath/"test.c").write <<~EOS
(testpath/"test.c").write <<~C
#include <string.h>
#include <glib.h>
Expand All @@ -155,7 +154,7 @@ def post_install
return (strcmp(str, result_2) == 0) ? 0 : 1;
}
EOS
C
system ENV.cc, "-o", "test", "test.c", "-I#{include}/glib-2.0",
"-I#{lib}/glib-2.0/include", "-L#{lib}", "-lglib-2.0"
system "./test"
Expand Down
8 changes: 4 additions & 4 deletions .github/deps/imagick/j/jpeg-xl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def install
system bin/"cjxl", test_fixtures("test.jpg"), "test.jxl"
assert_predicate testpath/"test.jxl", :exist?

(testpath/"jxl_test.c").write <<~EOS
(testpath/"jxl_test.c").write <<~C
#include <jxl/encode.h>
#include <stdlib.h>
Expand All @@ -89,12 +89,12 @@ def install
JxlEncoderDestroy(enc);
return EXIT_SUCCESS;
}
EOS
C
jxl_flags = shell_output("pkg-config --cflags --libs libjxl").chomp.split
system ENV.cc, "jxl_test.c", *jxl_flags, "-o", "jxl_test"
system "./jxl_test"

(testpath/"jxl_threads_test.c").write <<~EOS
(testpath/"jxl_threads_test.c").write <<~C
#include <jxl/thread_parallel_runner.h>
#include <stdlib.h>
Expand All @@ -107,7 +107,7 @@ def install
JxlThreadParallelRunnerDestroy(runner);
return EXIT_SUCCESS;
}
EOS
C
jxl_threads_flags = shell_output("pkg-config --cflags --libs libjxl_threads").chomp.split
system ENV.cc, "jxl_threads_test.c", *jxl_threads_flags, "-o", "jxl_threads_test"
system "./jxl_threads_test"
Expand Down
4 changes: 2 additions & 2 deletions .github/deps/imagick/l/lzo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def install
end

test do
(testpath/"test.c").write <<~EOS
(testpath/"test.c").write <<~C
#include <lzo/lzoconf.h>
#include <stdio.h>
Expand All @@ -48,7 +48,7 @@ def install
LZO_VERSION_STRING);
return 0;
}
EOS
C
system ENV.cc, "test.c", "-I#{include}", "-L#{lib}", "-o", "test"
assert_match "Testing LZO v#{version} in Homebrew.", shell_output("./test")
end
Expand Down
50 changes: 50 additions & 0 deletions .github/deps/imagick/lib/libunistring.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
class Libunistring < Formula
desc "C string library for manipulating Unicode strings"
homepage "https://www.gnu.org/software/libunistring/"
url "https://ftp.gnu.org/gnu/libunistring/libunistring-1.3.tar.gz"
mirror "https://ftpmirror.gnu.org/libunistring/libunistring-1.3.tar.gz"
mirror "http://ftp.gnu.org/gnu/libunistring/libunistring-1.3.tar.gz"
sha256 "8ea8ccf86c09dd801c8cac19878e804e54f707cf69884371130d20bde68386b7"
license any_of: ["GPL-2.0-only", "LGPL-3.0-or-later"]

bottle do
sha256 cellar: :any, arm64_sequoia: "3cd26bae2d5fcf61294f14c18e5e7ec773a59ed1bf710fb92055e0db0244e909"
sha256 cellar: :any, arm64_sonoma: "38e44e319bfe11ec892bc6451d86b687d990ea01b4810b5d8ad1f794d531d82f"
sha256 cellar: :any, arm64_ventura: "b0d7a7078508070bd67589f5060a92100bd1c4aea2a41bf19e7ee8442f483df6"
sha256 cellar: :any, sonoma: "e919f6ee2fe8a40addea1e1840eab8855e66812e18dfe05c130618ce517e2880"
sha256 cellar: :any, ventura: "9aebb86a6fb622dd2699db2b1b65c82d1b5aaa35f81d0ae4335c57e9411c36e0"
sha256 cellar: :any_skip_relocation, x86_64_linux: "25ff65379463fe4a51008a36c45a963ebc8d13d054ce606e3fbb6635ea634311"
end

def install
# macOS iconv implementation is slightly broken since Sonoma.
# This is also why we skip `make check`.
# https://github.com/coreutils/gnulib/commit/bab130878fe57086921fa7024d328341758ed453
# https://savannah.gnu.org/bugs/?65686
ENV["am_cv_func_iconv_works"] = "yes" if OS.mac? && MacOS.version == :sequoia
system "./configure", "--disable-silent-rules", *std_configure_args
system "make"
system "make", "check" if !OS.mac? || MacOS.version < :sonoma || MacOS.version > :sequoia
system "make", "install"
end

test do
(testpath/"test.c").write <<~EOS
#include <uniname.h>
#include <unistdio.h>
#include <unistr.h>
#include <stdlib.h>
int main (void) {
uint32_t s[2] = {};
uint8_t buff[12] = {};
if (u32_uctomb (s, unicode_name_character ("BEER MUG"), sizeof s) != 1) abort();
if (u8_sprintf (buff, "%llU", s) != 4) abort();
printf ("%s\\n", buff);
return 0;
}
EOS
system ENV.cc, "test.c", "-I#{include}", "-L#{lib}", "-lunistring",
"-o", "test"
assert_equal "🍺", shell_output("./test").chomp
end
end
19 changes: 9 additions & 10 deletions .github/deps/pecl_http/g/gettext.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,25 @@ class Gettext < Formula
license "GPL-3.0-or-later"

bottle do
sha256 arm64_sequoia: "7f005ca74e89d423f7be79f4c5eb7b646a19de23c23c4ca09cbe68d18da4fe10"
sha256 arm64_sonoma: "4b5b6cb0692b4606b9220fcbc9da3ab546234348dc87ef8033830e22c4c7bdb1"
sha256 arm64_ventura: "06ee5992f8a7dbf85a1b0e4c6311029cefda6d70852e5abd28f2e8e30d27cfcf"
sha256 arm64_monterey: "2707884e348a412db35279bdd713c9026c1b1cf40fcc67fc562e68b26189bb86"
sha256 sonoma: "13492dddf82cad8dcb20d1c6375138a0712ce8e3c25b612256672446175c9727"
sha256 ventura: "1a35820de97aa8d93019d64f7add5443bcf1c14f05bd249e670e7ca0f0fc6b2a"
sha256 monterey: "93211634913a6762dbf0e50dd644b9c932ec19124c4500f97228fbff80b0821c"
sha256 x86_64_linux: "11f57f3c216f3603a194fe96d22ee05b2d01fbbaeb4a0047ed43cee25d29f9aa"
rebuild 1
sha256 arm64_sequoia: "9ad2a8e2fff717a18460818d086c02b8ed9f4c42a853f41a88c6f9b601b36615"
sha256 arm64_sonoma: "7cf6084ae306256b1df18c8d75ba63abeccd5c605cfc8406dab8c09d98815bc1"
sha256 arm64_ventura: "3ead4ac2832bf1fbf02a5d1e8cdac9f0b46957615215d42382a85c4cf0f32aa0"
sha256 sonoma: "1bb442e6a65a0d7930a5cfcee44e8e3c4a41ff99351535cce6101b32ce723706"
sha256 ventura: "668023b6002ad5f2aca0e78a0d33ec8a24a660f82149b95cd42d14008dd59d2a"
sha256 x86_64_linux: "c1a3a97412d28be6552c4b4191c174ce145329b165599c280b550f9a54bed9b8"
end

depends_on "libunistring"
uses_from_macos "libxml2"
uses_from_macos "ncurses"

def install
args = [
"--with-libunistring-prefix=#{Formula["libunistring"].opt_prefix}",
"--disable-silent-rules",
"--with-included-glib",
"--with-included-libcroco",
"--with-included-libunistring",
"--with-included-libxml",
"--with-emacs",
"--with-lispdir=#{elisp}",
"--disable-java",
Expand Down
Loading

0 comments on commit d38e670

Please sign in to comment.