Skip to content

Commit 17c9031

Browse files
committed
update moduleset to 1a8dd873 (2022-02-18)
1 parent 264b6b3 commit 17c9031

19 files changed

+820
-117
lines changed

modulesets/bootstrap.modules

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@
7474
<autotools id="libtool" autogen-sh="configure" bootstrap="true">
7575
<branch repo="ftp.gnu.org"
7676
module="libtool/libtool-2.4.6.tar.gz" version="2.4.6"
77-
hash="e3bd4d5d3d025a36c21dd6af7ea818a2afcd4dfc1ea5a17b39d7854bcd0c06e3"/>
77+
hash="sha256:e3bd4d5d3d025a36c21dd6af7ea818a2afcd4dfc1ea5a17b39d7854bcd0c06e3">
78+
<patch file="libtool-apple-sort.patch" strip="1"/>
79+
</branch>
7880
</autotools>
7981

8082

@@ -107,7 +109,7 @@
107109
</autotools>
108110

109111
<!-- As of 29 March 2021 Flex hasn't had an update since May 2017. -->
110-
<autotools id="flex" autogen-sh="configure">
112+
<autotools id="flex" autogen-sh="configure" autogenargs="--disable-libfl">
111113
<branch module="westes/flex/releases/download/v2.6.4/flex-2.6.4.tar.gz"
112114
repo="github" version="2.6.4"
113115
hash="sha256:e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995"/>
@@ -122,9 +124,9 @@
122124
-->
123125
<autotools id="gtk-osx-docbook" autogen-sh="configure"
124126
supports-non-srcdir-builds="no" >
125-
<branch repo="sourceforge" module="gtk-osx/gtk-osx-docbook-1.2.tar.bz2"
126-
version="1.2"
127-
hash="sha256:40f0a97116b5abb7a38191b2720c15e690d3ffb1ab64883bba1f8a807b5e117e"/>
127+
<branch repo="github" module="jralls/gtk-osx-docbook/releases/download/gtk-osx-docbook-1.3/gtk-osx-docbook-1.3.tar.xz"
128+
version="1.3"
129+
hash="sha256:fcf497688a1d531b192301bd09c55adefda5a662729a58eb8a895166e38ef219"/>
128130
</autotools>
129131

130132
<autotools id="intltool" autogen-sh="configure">

modulesets/gtk-osx-bootstrap.modules

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<branch version="4.2.0" module="libtiff/tiff-4.2.0.tar.gz"
4242
repo="libtiff"
4343
hash="sha256:eb0484e568ead8fa23b513e9b0041df7e327f4ee2d22db5a533929dfc19633cb">
44-
<patch file="https://raw.githubusercontent.com/totaam/gtk-osx-build/master/patches/tiff-nohtml.patch" strip="1" />
44+
<patch file="tiff-nohtml.patch" strip="1" />
4545
</branch>
4646
<dependencies>
4747
<dep package="libjpeg"/>
@@ -54,12 +54,12 @@
5454
module won't link. In case you're wondering, itstool
5555
needs libxml2's python module. -->
5656

57-
<autotools id="libxml2" autogen-sh="configure"
57+
<autotools id="libxml2" autogen-sh="autoreconf"
5858
autogenargs='--libdir="$JHBUILD_LIBDIR" --with-python'>
59-
<branch version="2.9.10" module="libxml2-2.9.10.tar.gz"
59+
<branch version="2.9.12" module="libxml2-2.9.12.tar.gz"
6060
repo="xmlsoft.org"
61-
hash="sha256:aafee193ffb8fe0c82d4afef6ef91972cbaf5feea100edc2f262750611b4be1f">
62-
<patch file="libxml2.9.10-conditional-parentheses.patch" strip="1"/>
61+
hash="sha256:c8d6681e38c56f172892c85ddc0852e1fd4b53b4209e7f4ebf17f7e2eae71d92">
62+
<patch file="libxml2-python-config.patch" strip="1"/>
6363
</branch>
6464
<after>
6565
<dep package="python2"/>
@@ -97,6 +97,7 @@
9797
</dependencies>
9898
<after>
9999
<dep package="python3"/>
100+
<dep package="pygments"/>
100101
</after>
101102
</meson>
102103

modulesets/gtk-osx-gtkmm.modules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
<dep package="cairomm"/>
144144
<dep package="pangomm"/>
145145
<dep package="atkmm"/>
146-
<dep package="gtk-4.0"/>
146+
<dep package="gtk-4"/>
147147
</dependencies>
148148
</meson>
149149

modulesets/gtk-osx-network.modules

Lines changed: 38 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -35,23 +35,40 @@
3535
</autotools>
3636

3737
<!-- Rudely demands TeX to build documentation -->
38-
<autotools id="libnettle" autogen-sh="configure"
39-
autogenargs="--disable-documentation">
40-
<branch repo="ftp.gnu.org" version="3.7.2"
41-
module="nettle/nettle-3.7.2.tar.gz"
42-
hash="sha256:8d2a604ef1cde4cd5fb77e422531ea25ad064679ff0adf956e78b3352e0ef162">
43-
</branch>
44-
<dependencies>
45-
<dep package="gmp"/>
46-
<dep package="openssl"/>
47-
</dependencies>
48-
</autotools>
38+
<!-- libnettle 3.7 doesn't have arm64 assembler support and the support that's added in master is for arm-64-neutron that's incompatible with Apple Silicon. -->
39+
<if condition-set="arm64">
40+
<autotools id="libnettle" autogen-sh="configure"
41+
autogenargs="--disable-documentation --disable-assembler">
42+
<branch repo="ftp.gnu.org" version="3.7.2"
43+
module="nettle/nettle-3.7.2.tar.gz"
44+
hash="sha256:8d2a604ef1cde4cd5fb77e422531ea25ad064679ff0adf956e78b3352e0ef162">
45+
</branch>
46+
<dependencies>
47+
<dep package="gmp"/>
48+
<dep package="openssl"/>
49+
</dependencies>
50+
</autotools>
51+
</if>
52+
<if condition-unset="arm64">
53+
<autotools id="libnettle" autogen-sh="configure"
54+
autogenargs="--disable-documentation">
55+
<branch repo="ftp.gnu.org" version="3.7.2"
56+
module="nettle/nettle-3.7.2.tar.gz"
57+
hash="sha256:8d2a604ef1cde4cd5fb77e422531ea25ad064679ff0adf956e78b3352e0ef162">
58+
</branch>
59+
<dependencies>
60+
<dep package="gmp"/>
61+
<dep package="openssl"/>
62+
</dependencies>
63+
</autotools>
64+
</if>
4965

50-
<autotools id="libtasn1" supports-non-srcdir-builds="no"
51-
autogen-sh="configure">
52-
<branch repo="ftp.gnu.org" version="4.16.0"
53-
module="libtasn1/libtasn1-4.16.0.tar.gz"
54-
hash="sha256:0e0fb0903839117cb6e3b56e68222771bebf22ad7fc2295a0ed7d576e8d4329d"/>
66+
<autotools id="libtasn1" autogen-sh="configure">
67+
<branch repo="ftp.gnu.org" version="4.17.0"
68+
module="libtasn1/libtasn1-4.17.0.tar.gz"
69+
hash="sha256:ece7551cea7922b8e10d7ebc70bc2248d1fdd73351646a2d6a8d68a9421c45a5">
70+
<patch file="libtasn1-inline-fix.patch" strip="1"/>
71+
</branch>
5572
</autotools>
5673

5774
<autotools id="zlib" autogen-sh="configure" skip-autogen="never"
@@ -68,6 +85,7 @@
6885
hash="sha256:8a8f40153dd5a3f8e7c03e641f8db400133fb2a6a9ab2aee1b6d0cb0495ec6b6">
6986
</branch>
7087
<dependencies>
88+
<dep package="libffi"/>
7189
<dep package="libtasn1"/>
7290
</dependencies>
7391
</autotools>
@@ -84,6 +102,7 @@
84102
<dep package="libtasn1"/>
85103
<dep package="zlib"/>
86104
<dep package="p11-kit"/>
105+
<dep package="libgcrypt"/>
87106
</dependencies>
88107
</autotools>
89108
</if>
@@ -210,7 +229,9 @@
210229
<branch repo="webkit.org" module="webkitgtk-2.32.0.tar.xz" version="2.32.0"
211230
hash="sha256:9d7df4dae9ada2394257565acc2a68ace9308c4c61c3fcc00111dc1f11076bf0">
212231
<patch file="WebKit2Gtk3-2.32.0-cumulative.patch" strip="1"/>
213-
<patch file="WebKit2Gtk3-2.30.1-Disable-AUDIT_TOKEN-for-Gtk-builds.patch" strip="1"/>
232+
<patch file="WebKit2Gtk3-2.30.1-Disable-AUDIT_TOKEN-for-Gtk-builds.patch" strip="1"/>
233+
<patch file="WebKit2Gtk3-2.30.1-Fix-Socket-signal-defines-for-Darwin-and-maybe-BSD.patch" strip="1"/>
234+
<patch file="WebKit2Gtk3-2.32.0-color-components-correct-math-header.patch" strip="1"/>
214235
</branch>
215236
<dependencies>
216237
<dep package="libwebp"/>

modulesets/gtk-osx-python.modules

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@
139139
<branch module="gtk-mac-integration/3.0/gtk-mac-integration-3.0.1.tar.xz"
140140
version="3.0.1"
141141
hash="sha256:f19e35bc4534963127bbe629b9b3ccb9677ef012fc7f8e97fd5e890873ceb22d">
142+
<patch file="gtk-mac-integration-work-around-svg-locale-bug.patch" strip="1"/>
142143
</branch>
143144
<dependencies>
144145
</dependencies>
@@ -148,4 +149,13 @@
148149
</after>
149150
</autotools>
150151

152+
<distutils id="pygments">
153+
<branch repo="pymodules" version="2.9.0"
154+
module="ba/6e/7a7c13c21d8a4a7f82ccbfe257a045890d4dbf18c023f985f565f97393e3/Pygments-2.9.0.tar.gz">
155+
</branch>
156+
<dependencies>
157+
<dep package="python3"/>
158+
</dependencies>
159+
</distutils>
160+
151161
</moduleset>

modulesets/gtk-osx-random.modules

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989

9090
<!-- gtksourceview got a major version ahead: 4.x.x supports recent versions of gtk+-3 and 5.x.x is for gtk4.
9191
-->
92-
<meson id="gtksourceview3">
92+
<meson id="gtksourceview3" mesonargs="-Dvapi=false">
9393
<branch module="gtksourceview/4.8/gtksourceview-4.8.1.tar.xz"
9494
version="4.8.1"
9595
hash="sha256:d163d71b5fcafbc5b1eec6dd841edbdbcddd3a7511cd5fdcffd86b8bbfe69ac1">
@@ -138,6 +138,7 @@
138138
<branch module="0ee50652091363ab0d17e335e5e74fbe/shared-mime-info-2.1.tar.xz"
139139
repo="shared-mime-info" version="2.1"
140140
hash="sha256:b2d40cfcdd84e835d0f2c9107b3f3e77e9cf912f858171fe779946da634e8563">
141+
<patch file="shared-mime-info-2.1-freedesktop-generate.patch" strip="1"/>
141142
</branch>
142143
<dependencies>
143144
<dep package="glib"/>

modulesets/gtk-osx.modules

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,10 @@
170170
</autotools>
171171

172172
<meson id="gobject-introspection">
173-
<branch module="gobject-introspection/1.68/gobject-introspection-1.68.0.tar.xz"
174-
version="1.68.0"
175-
hash="sha256:d229242481a201b84a0c66716de1752bca41db4133672cfcfb37c93eb6e54a27">
173+
<branch module="gobject-introspection/1.70/gobject-introspection-1.70.0.tar.xz"
174+
version="1.70.0"
175+
hash="sha256:902b4906e3102d17aa2fcb6dad1c19971c70f2a82a159ddc4a94df73a3cafc4a">
176+
<patch file="gobject-introspection-1.70.0-obsolet.patch" strip="1"/>XS
176177
<patch file="girscanner-objc.patch" strip="1"/>
177178
</branch>
178179
<dependencies>
@@ -205,7 +206,7 @@
205206
</dependencies>
206207
</meson>
207208

208-
<meson id="pango">
209+
<meson id="pango" mesonargs="-Dfontconfig=enabled">
209210
<branch version="1.48.4" module="pango/1.48/pango-1.48.4.tar.xz"
210211
hash="sha256:418913fb062071a075846244989d4a67aa5c80bf0eae8ee4555a092fd566a37a">
211212
</branch>
@@ -233,7 +234,7 @@
233234
</after>
234235
</meson>
235236

236-
<meson id="gdk-pixbuf" mesonargs="-Dx11=false -Dman=false">
237+
<meson id="gdk-pixbuf" mesonargs="-Drelocatable=true -Dman=false">
237238
<branch module="gdk-pixbuf/2.42/gdk-pixbuf-2.42.4.tar.xz" version="2.42.4"
238239
hash="sha256:fe9c5dd88f486194ea2bc09b8814c1ed895bb6c530f37cbbf259757c4e482e4d">
239240
<patch file="gdk-pixbuf-loader-name.patch" strip="1"/>
@@ -294,10 +295,11 @@
294295
</meson>
295296

296297
<!-- gtk3 is in maintenance mode with 3.24 the final release series. -->
297-
<meson id="gtk+-3.0"
298-
mesonargs="-Dquartz-backend=true -Dx11-backend=false -Dmedia=none">
298+
<meson id="gtk+-3.0" mesonargs="-Dx11_backend=false">
299299
<branch module="gtk+/3.24/gtk+-3.24.30.tar.xz" version="3.24.30"
300300
hash="sha256:ba75bfff320ad1f4cfbee92ba813ec336322cc3c660d406aad014b07087a3ba9">
301+
<patch file="Quartz-version-detection-for-macOS-12.patch" strip="1"/>
302+
<patch file="gtk+-scale-absolute-value.patch" strip="1"/>
301303
</branch>
302304
<dependencies>
303305
<dep package="glib"/>
@@ -313,7 +315,7 @@
313315
</after>
314316
</meson>
315317

316-
<meson id="graphene" mesonargs="-Dtests=false -Dbenchmarks=false">
318+
<meson id="graphene" mesonargs="-Dtests=false">
317319
<branch repo="github-tarball" version="1.10.4"
318320
module="ebassi/graphene/releases/download/1.10.4/graphene-1.10.4.tar.xz"
319321
hash="sha256:b2a45f230f332478553bd79666eca8df1d1c6dbf208c344ba9f5120592772414"/>
@@ -338,6 +340,7 @@
338340
<dependencies>
339341
<dep package="pango"/>
340342
<dep package="atk"/>
343+
<dep package="gdk-pixbuf"/>
341344
<dep package="graphene"/>
342345
<dep package="libsass"/>
343346
<dep package="libepoxy"/>
@@ -348,8 +351,8 @@
348351
autogenargs="--disable-python">
349352
<branch module="gtk-mac-integration/3.0/gtk-mac-integration-3.0.1.tar.xz"
350353
version="3.0.1"
351-
hash="sha256:f19e35bc4534963127bbe629b9b3ccb9677ef012fc7f8e97fd5e890873ceb22d"
352-
>
354+
hash="sha256:f19e35bc4534963127bbe629b9b3ccb9677ef012fc7f8e97fd5e890873ceb22d">
355+
<patch file="gtk-mac-integration-work-around-svg-locale-bug.patch" strip="1"/>
353356
</branch>
354357
<dependencies>
355358
</dependencies>
@@ -365,7 +368,8 @@
365368
hash="sha256:767ec234ae7aa684695b3a735548224888132e063f92db585759b422570621d4"/>
366369
</autotools>
367370

368-
<autotools id="librsvg" autogenargs="--disable-Bsymbolic">
371+
<autotools id="librsvg" autogen-sh="autoreconf"
372+
autogenargs="--disable-Bsymbolic">
369373
<branch module="librsvg/2.51/librsvg-2.51.0.tar.xz" version="2.51.0"
370374
hash="sha256:89d32e38445025e1b1d9af3dd9d3aeb9f6fce527aeecbecf38b369b34c80c038"/>
371375
<dependencies>
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
From a752e338381bc37dbe8d4c04ec23e4f6fd911b30 Mon Sep 17 00:00:00 2001
2+
From: John Ralls <[email protected]>
3+
Date: Wed, 8 Sep 2021 18:01:50 -0700
4+
Subject: [PATCH] Update Quartz version detection for macOS 12.
5+
6+
---
7+
gdk/quartz/gdkglobals-quartz.c | 16 +++++++---------
8+
gdk/quartz/gdkquartz.h | 3 ++-
9+
2 files changed, 9 insertions(+), 10 deletions(-)
10+
11+
diff --git a/gdk/quartz/gdkglobals-quartz.c b/gdk/quartz/gdkglobals-quartz.c
12+
index 72aed1c92d..30649efe8a 100644
13+
--- a/gdk/quartz/gdkglobals-quartz.c
14+
+++ b/gdk/quartz/gdkglobals-quartz.c
15+
@@ -29,28 +29,26 @@ GdkWindow *_gdk_root = NULL;
16+
GdkOSXVersion
17+
gdk_quartz_osx_version (void)
18+
{
19+
- static gint32 minor = GDK_OSX_UNSUPPORTED;
20+
+ static gint32 vkey = GDK_OSX_UNSUPPORTED;
21+
22+
- if (minor == GDK_OSX_UNSUPPORTED)
23+
+ if (vkey == GDK_OSX_UNSUPPORTED)
24+
{
25+
#if MAC_OS_X_VERSION_MIN_REQUIRED < 101000
26+
- OSErr err = Gestalt (gestaltSystemVersionMinor, (SInt32*)&minor);
27+
+ OSErr err = Gestalt (gestaltSystemVersionMinor, (SInt32*)&vkey);
28+
29+
g_return_val_if_fail (err == noErr, GDK_OSX_UNSUPPORTED);
30+
#else
31+
NSOperatingSystemVersion version;
32+
33+
version = [[NSProcessInfo processInfo] operatingSystemVersion];
34+
- minor = version.minorVersion;
35+
- if (version.majorVersion == 11)
36+
- minor += 16;
37+
+ vkey = version.majorVersion == 10 ? version.minorVersion : version.majorVersion + 5;
38+
#endif
39+
}
40+
41+
- if (minor < GDK_OSX_MIN)
42+
+ if (vkey < GDK_OSX_MIN)
43+
return GDK_OSX_UNSUPPORTED;
44+
- else if (minor > GDK_OSX_CURRENT)
45+
+ else if (vkey > GDK_OSX_CURRENT)
46+
return GDK_OSX_NEW;
47+
else
48+
- return minor;
49+
+ return vkey;
50+
}
51+
diff --git a/gdk/quartz/gdkquartz.h b/gdk/quartz/gdkquartz.h
52+
index dd1b4f41af..2d53dcbce6 100644
53+
--- a/gdk/quartz/gdkquartz.h
54+
+++ b/gdk/quartz/gdkquartz.h
55+
@@ -42,7 +42,8 @@ typedef enum
56+
GDK_OSX_MOJAVE = 14,
57+
GDK_OSX_CATALINA = 15,
58+
GDK_OSX_BIGSUR = 16,
59+
- GDK_OSX_CURRENT = 15,
60+
+ GDK_OSX_MONTEREY = 17,
61+
+ GDK_OSX_CURRENT = 17,
62+
GDK_OSX_NEW = 99
63+
} GdkOSXVersion;
64+
65+
--
66+
2.30.1 (Apple Git-130)
67+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
--- a/Source/WebCore/platform/graphics/ColorComponents.h 2021-02-26 01:57:13.000000000 -0800
2+
+++ b/Source/WebCore/platform/graphics/ColorComponents.h 2021-08-26 17:28:59.000000000 -0700
3+
@@ -27,7 +27,8 @@
4+
5+
#include <algorithm>
6+
#include <array>
7+
-#include <math.h>
8+
+#include <cmath>
9+
+#include <cstdlib>
10+
#include <tuple>
11+
12+
namespace WebCore {
13+

0 commit comments

Comments
 (0)