Skip to content

Commit 6288d5e

Browse files
authored
Merge pull request #243975 from Homebrew/bump-spidermonkey-140.3.0
spidermonkey 140.3.0 gjs 1.86.0
2 parents b661f76 + 171e440 commit 6288d5e

File tree

4 files changed

+33
-31
lines changed

4 files changed

+33
-31
lines changed
File renamed without changes.

Formula/g/gjs.rb

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
11
class Gjs < Formula
22
desc "JavaScript Bindings for GNOME"
33
homepage "https://gitlab.gnome.org/GNOME/gjs/wikis/Home"
4-
url "https://download.gnome.org/sources/gjs/1.82/gjs-1.82.1.tar.xz"
5-
sha256 "fb39aa5636576de0e5a1171f56a1a5825e2bd1a69972fb120ba78bd109b5693c"
4+
url "https://download.gnome.org/sources/gjs/1.86/gjs-1.86.0.tar.xz"
5+
sha256 "63448f7a57804d4c2a8d0c7f5e90e224d04d4eb2d560142c076c65a8eda00799"
66
license all_of: ["LGPL-2.0-or-later", "MIT"]
77
head "https://gitlab.gnome.org/GNOME/gjs.git", branch: "master"
88

99
bottle do
10-
sha256 arm64_tahoe: "bc2ba8af82d8e53400c7307f6d5815c4ec82d2991906006db76f13b7529b03df"
11-
sha256 arm64_sequoia: "41ff4303b958dc47da84f02e9beb26862bdff17a0a19bc7db4ca9277950ae08c"
12-
sha256 arm64_sonoma: "3c8aeb3f5754c79adf62ab2b2b5060e954b5b7fed7480a1cf63980769dfd1a49"
13-
sha256 arm64_ventura: "1bf97f04a7c89a514d87dc4e3af9e5313a9d8d5d845cd9280847f3796a0dddcd"
14-
sha256 sonoma: "3aaacc7af5be7d09fd22f818a3305edc5a8396d101980e2abaecc50c48bfb28c"
15-
sha256 ventura: "2620575c227e4b02d8e6ba9beea1670e7ea9775e379ca8ea64600abd02fae50a"
16-
sha256 arm64_linux: "538c55600494b4313233223fd2f155388c65de83fd1475628351bfbb0284bd6e"
17-
sha256 x86_64_linux: "2d3994ac90659902a716b45f0661e48542708703827580c5c06361459ce23970"
10+
sha256 arm64_tahoe: "0181d7c99322149ee550954433d97006ec608960a784a326ef1993340ec60c62"
11+
sha256 arm64_sequoia: "9db20e61a7b9a48e58e7c8344cf31eb724ba493fc75655580faa4c0d80555ccd"
12+
sha256 arm64_sonoma: "75380121607e37a095c0a78a90191fbbb649fb516467a1033d837e7fb846b698"
13+
sha256 sonoma: "d9a8dfc64d0dd5c709d3dc84e185dd34b7ec7b72ee83fd7677208d0b4c3e8e4f"
14+
sha256 arm64_linux: "b06eacfddc724bce2a240e7d6bff4d21d4947b9e79221c71ec41f9de58e015d8"
15+
sha256 x86_64_linux: "3317122a8ac4c1077cae41eef6bb7a189c6e52ae375ccf636ac5a9c50319bf81"
1816
end
1917

2018
depends_on "meson" => :build
@@ -37,6 +35,9 @@ def install
3735
# ensure that we don't run the meson post install script
3836
ENV["DESTDIR"] = "/"
3937

38+
# work around "Failed to load shared library 'libgobject-2.0.0.dylib'"
39+
ENV.append "LDFLAGS", "-Wl,-rpath,#{rpath(target: Formula["glib"].opt_lib)}" if OS.mac?
40+
4041
args = %w[
4142
-Dprofiler=disabled
4243
-Dreadline=enabled

Formula/lib/libpeas.rb

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@ class Libpeas < Formula
44
url "https://download.gnome.org/sources/libpeas/2.2/libpeas-2.2.0.tar.xz"
55
sha256 "c2887233f084a69fabfc7fa0140d410491863d7050afb28677f9a553b2580ad9"
66
license "LGPL-2.1-or-later"
7+
revision 1
78

89
bottle do
9-
sha256 arm64_tahoe: "89faf4687f9d846c884aa2158c86e99a70b56b81c7119979e757833955ef8c6e"
10-
sha256 arm64_sequoia: "62c9bee04b73e39a6cbc4c863e2dd2f9d80cf8daee4c0e12934de9ee48ea6b56"
11-
sha256 arm64_sonoma: "bc20458f8a32e06cb66b8281dc7b6893a73dd1ca20cad3f2e377954842f68c00"
12-
sha256 sonoma: "73e31e27dd9f0ae87ed1dc1a71ad608c0fce5c1256de6ecc140573ecf8e9fdc2"
13-
sha256 arm64_linux: "917a550712a770ee027117b97af9709008ba7a65893ae50239af51018f85d8e4"
14-
sha256 x86_64_linux: "5fc1a8bc9da800d2295294b8fe82d30e6802f82093fe42b2c77c066d7012698f"
10+
sha256 arm64_tahoe: "14ff01878ee901ba5a2775bb0e144caeb831ef0b8b87d031685a763799cbfc18"
11+
sha256 arm64_sequoia: "ca49f0fac62ebebbba6d8eefd5917514ba956e285d5210255ff218d4026ab771"
12+
sha256 arm64_sonoma: "c7eb04b907a90519d1728914e744f0733881ce7d363776510b5e3fa2ea604c34"
13+
sha256 sonoma: "ea6827fdc1357c8cd065520f8cad5c1716b6ed340b3dc139baf14ebc042ac929"
14+
sha256 arm64_linux: "48acbb4421f26c5f6e2a6c3bac9988d828a7695b26e2846c1b2838a9ca21e814"
15+
sha256 x86_64_linux: "c0162f07daa592c20f4bc01fee54874f482c9199d65c999dda484a97f851ca81"
1516
end
1617

1718
depends_on "meson" => :build

Formula/s/spidermonkey.rb

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
class Spidermonkey < Formula
22
desc "JavaScript-C Engine"
33
homepage "https://spidermonkey.dev"
4-
url "https://archive.mozilla.org/pub/firefox/releases/128.14.0esr/source/firefox-128.14.0esr.source.tar.xz"
5-
version "128.14.0"
6-
sha256 "93b9ef6229f41cb22ff109b95bbf61a78395a0fe4b870192eeca22947cb09a53"
4+
url "https://archive.mozilla.org/pub/firefox/releases/140.3.0esr/source/firefox-140.3.0esr.source.tar.xz"
5+
version "140.3.0"
6+
sha256 "efc6eb3c93756311bd2f9db3796c0bbee6e3f182975d857284168b3dec672316"
77
license "MPL-2.0"
88
head "https://hg.mozilla.org/mozilla-central", using: :hg
99

@@ -15,14 +15,12 @@ class Spidermonkey < Formula
1515
end
1616

1717
bottle do
18-
sha256 cellar: :any, arm64_tahoe: "59ef0564f197856d20c11e2cbdc1bff8c6f02abc6f66ae240b0b8544765df3f4"
19-
sha256 cellar: :any, arm64_sequoia: "d7ed18f946e73a8fc6b13491ba262627bac6c01fd4b4dabf3248bd80db82aa42"
20-
sha256 cellar: :any, arm64_sonoma: "aed949810733f91c9569c313eac65046ef3c43af3f46cace1008c52d22c8df60"
21-
sha256 cellar: :any, arm64_ventura: "cd6d29a9607555f93893f1c0bbf50264004e5614311af558f12bf6707c4d62b0"
22-
sha256 cellar: :any, sonoma: "967c8e4205f3b3cd3291e3fb08e5ed41bee5504058b49109d1d0bfca8b2235b3"
23-
sha256 cellar: :any, ventura: "461c36317870d73c1d736b1bcca339a8c05555e25bd459e4e960753341f51499"
24-
sha256 arm64_linux: "402640e7bc12ad03b192d75caf61f09f10f36f259d613b87c83079cfe41f06d0"
25-
sha256 x86_64_linux: "e69d78c1fc1e538682a94815bfa7deb8b9cf2afdbd9d704c9b57aa1f619dec68"
18+
sha256 cellar: :any, arm64_tahoe: "95ac8cacc5c17468b5d95fa09a2c2b561f26fb51f5db28b748821d6c5ce33248"
19+
sha256 cellar: :any, arm64_sequoia: "e84cbe896437931f9fe7810513a02f24334f0243223a86c3ca3d78d50d9f1de3"
20+
sha256 cellar: :any, arm64_sonoma: "ae2f63455c66d0613827d037b47efc63f999fd4a2645ae6b47e1fee1814bee80"
21+
sha256 cellar: :any, sonoma: "ba72c6524dffaa63746489d14a97e848d2724c80ccf82f1f78fa23ca0f641431"
22+
sha256 arm64_linux: "ad60397bbbed429e4243badde7313318c0305aa0d23af5e03f7d131e335a7853"
23+
sha256 x86_64_linux: "53413cb1d9c379f486c380a25e80b08ba1d96b9c20e634cd6e3d2afe11b50522"
2624
end
2725

2826
depends_on "cbindgen" => :build
@@ -56,11 +54,13 @@ class Spidermonkey < Formula
5654
end
5755
end
5856

59-
def install
60-
# Workaround for ICU 76+
61-
# Issue ref: https://bugzilla.mozilla.org/show_bug.cgi?id=1927380
62-
inreplace "js/moz.configure", '"icu-i18n >= 73.1"', '"icu-i18n >= 73.1 icu-uc"'
57+
# Apply patch used by `gjs` to work around https://bugzilla.mozilla.org/show_bug.cgi?id=1973994
58+
patch do
59+
url "https://github.com/ptomato/mozjs/commit/9aa8b4b051dd539e0fbd5e08040870b3c712a846.patch?full_index=1"
60+
sha256 "5c2a8c804322ccacbc37f152a4a3d48a5fc2becffb1720a41e32c03899af0be6"
61+
end
6362

63+
def install
6464
ENV.runtime_cpu_detection
6565

6666
if OS.mac?

0 commit comments

Comments
 (0)