forked from rhult/gtk-osx-build
/
gtk-osx.modules
269 lines (245 loc) · 10.6 KB
/
gtk-osx.modules
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
<?xml version="1.0"?><!--*- mode: nxml; indent-tabs-mode: nil -*-->
<!DOCTYPE moduleset SYSTEM "moduleset.dtd">
<?xml-stylesheet type="text/xsl" href="moduleset.xsl"?>
<moduleset>
<repository type="tarball" name="ftp.gnome.org" default="yes"
href="http://ftp.gnome.org/pub/GNOME/sources/"/>
<repository type="tarball" name="sourceforge"
href="http://downloads.sourceforge.net/sourceforge/"/>
<repository type="tarball" name="cairographics"
href="http://cairographics.org/releases/"/>
<repository type="tarball" name="ftp.gnu.org"
href="http://ftp.gnu.org/gnu/"/>
<repository type="tarball" name="sourceware.org"
href="ftp://sourceware.org/pub/"/>
<repository type="tarball" name="freedesktop"
href="ftp://ftp.freedesktop.org/pub/"/>
<repository type="git" name="github" href="git://github.com/"/>
<!-- This module set works a bit differently than for example the
GNOME ones do. It's split up in seperate pieces:
- gtk-osx-bootstrap: contains bootstrap-like modules that you
don't want to rebuild all the time.
- gtk-osx.modules: contains the core GTK+ stack. This does not
have a hard dependency on the bootstrap modules, in order to
make it easy to rebuild the whole core stack without redoing
the bootstrap parts. They have a soft, "after", depencency.
The remaining modules are mostly for testing and might not work
all the time:
- gtk-osx-python.modules: self explaining.
- gtk-osx-gtkmm.modules: self explaining.
- gtk-osx-javascript.modules: GJS, associated tools, and the Mozilla JS
library it depends on.
- gtk-osx-gstreamer.modules: self explaining.
- gtk-osx-themes.modules: self explaining.
- gtk-osx-network.modules: The network/crypto stack and various
configurations of WebKit.
- gtk-osx-random.modules: "random stuff", has apps for testing GTK+.
- gtk-osx-unsupported.modules: more testing stuff, competely unsupported.
-->
<include href="gtk-osx-bootstrap.modules"/>
<include href="gtk-osx-gstreamer.modules"/>
<include href="gtk-osx-gtkmm.modules"/>
<include href="gtk-osx-javascript.modules"/>
<include href="gtk-osx-network.modules"/>
<include href="gtk-osx-python.modules"/>
<include href="gtk-osx-random.modules"/>
<include href="gtk-osx-themes.modules"/>
<include href="gtk-osx-unsupported.modules"/>
<include href="gtk-osx-universal.modules"/>
<metamodule id="meta-gtk-osx-core">
<dependencies>
<dep package="gtk+"/>
<dep package="gtk-mac-integration"/>
</dependencies>
<after>
<dep package="meta-gtk-osx-bootstrap"/>
</after>
</metamodule>
<metamodule id="meta-gtk-osx-gtk3">
<dependencies>
<dep package="gtk+-3.0"/>
<dep package="gtk-mac-integration"/>
<dep package="meta-gtk-osx-gtk3-core-themes"/>
</dependencies>
<after>
<dep package="meta-gtk-osx-bootstrap"/>
</after>
</metamodule>
<autotools id="glib" autogen-sh="autoreconf"
autogenargs="--with-pcre=internal">
<branch module="glib/2.48/glib-2.48.0.tar.xz" version="2.48.0"
hash="sha256:744be6931ca914c68af98dc38ff6b0cf8381d65e335060faddfbf04c17147c34">
<patch file="https://git.gnome.org/browse/gtk-osx/plain/patches/0001-Fix-g_get_monotonic_time-on-non-Intel-Darwin.patch" strip="1"/>
<patch file="https://git.gnome.org/browse/gtk-osx/plain/patches/0001-Bug-724590-GSlice-slab_stack-corruption.patch" strip="1"/>
<patch file="https://git.gnome.org/browse/gtk-osx/plain/patches/gio-in-reserved-in-gcc-48.patch" strip="1"/>
<patch file="https://git.gnome.org/browse/gtk-osx/plain/patches/0001-Bug747146-Build-cocoanotification-only-if-supported.patch" strip="1"/>
</branch>
<dependencies>
<dep package="libffi"/>
</dependencies>
<after>
<dep package="meta-gtk-osx-bootstrap"/>
</after>
</autotools>
<autotools id="libffi" autogenargs="--disable-builddir"
autogen-sh="configure">
<branch module="libffi/libffi-3.2.1.tar.gz" repo="sourceware.org"
version="3.2.1"/>
</autotools>
<autotools id="xorg-util-macros">
<branch repo="freedesktop" version="1.19.0"
module="xorg/individual/util/util-macros-1.19.0.tar.bz2"/>
</autotools>
<!-- There is no stable release yet that works here, so use master -->
<autotools id="libepoxy">
<branch repo="github" module="anholt/libepoxy"/>
<dependencies>
<dep package="xorg-util-macros"/>
</dependencies>
</autotools>
<autotools id="gobject-introspection" autogen-sh="configure">
<branch module="gobject-introspection/1.48/gobject-introspection-1.48.0.tar.xz"
version="1.48.0"
hash="sha256:fa275aaccdbfc91ec0bc9a6fd0562051acdba731e7d584b64a277fec60e75877">
<patch file="https://git.gnome.org/browse/gtk-osx/plain/patches/girscanner-objc.patch" strip="1"/>
</branch>
<dependencies>
<dep package="glib"/>
<dep package="cairo"/>
</dependencies>
<after>
<dep package='python'/>
</after>
</autotools>
<autotools id="pango" autogen-sh="autoreconf">
<branch version="1.38.1" module="pango/1.38/pango-1.38.1.tar.xz"
hash="sha256:1320569f6c6d75d6b66172b2d28e59c56ee864ee9df202b76799c4506a214eb7">
</branch>
<dependencies>
<dep package="glib"/>
<dep package="cairo"/>
</dependencies>
<after>
<dep package="gobject-introspection"/>
<dep package="meta-gtk-osx-freetype"/>
<dep package="meta-gtk-osx-bootstrap"/>
</after>
</autotools>
<autotools id="atk" autogen-sh="configure">
<branch module="atk/2.20/atk-2.20.0.tar.xz" version="2.20.0"
hash="sha256:493a50f6c4a025f588d380a551ec277e070b28a82e63ef8e3c06b3ee7c1238f0"/>
<dependencies>
</dependencies>
<after>
<dep package="glib"/>
<dep package="meta-gtk-osx-bootstrap"/>
<dep package="gobject-introspection"/>
</after>
</autotools>
<autotools id="gdk-pixbuf" autogen-sh="configure">
<branch module="gdk-pixbuf/2.34/gdk-pixbuf-2.34.0.tar.xz" version="2.34.0"
hash="sha256:d55e5b383ee219bd0e23bf6ed4427d56a7db5379729a6e3e0a0e0eba9a8d8879"/>
<after>
<dep package="pango"/>
<dep package="gobject-introspection"/>
</after>
</autotools>
<autotools id="gtk+" autogen-sh="autoreconf"
autogenargs="--with-gdktarget=quartz --enable-quartz-relocation --disable-introspection">
<branch module="gtk+/2.24/gtk+-2.24.30.tar.xz" version="2.24.30"
hash="sha256:0d15cec3b6d55c60eac205b1f3ba81a1ed4eadd9d0f8e7c508bc7065d0c4ca50">
<!--patch file="https://git.gnome.org/browse/gtk-osx/plain/patches/0004-Bug-571582-GtkSelection-implementation-for-quartz.patch" strip="1"/-->
<patch file="https://git.gnome.org/browse/gtk-osx/plain/patches/0008-Implement-GtkDragSourceOwner-pasteboardChangedOwner.patch" strip="1"/>
<patch file="https://git.gnome.org/browse/gtk-osx/plain/patches/0006-Bug-658722-Drag-and-Drop-sometimes-stops-working.patch" strip="1"/>
<patch file="https://git.gnome.org/browse/gtk-osx/plain/patches/gtk+-2-m4-creation.patch" strip="1"/>
</branch>
<dependencies>
<dep package="glib"/>
<dep package="pango"/>
<dep package="atk"/>
<dep package="gdk-pixbuf"/>
<dep package="gobject-introspection"/>
</dependencies>
<after>
<dep package="meta-gtk-osx-bootstrap"/>
</after>
</autotools>
<autotools id="gtk+-3.14" autogen-sh="autogen.sh"
autogenargs="--enable-quartz-backend --enable-quartz-relocation">
<branch module="gtk+/3.14/gtk+-3.14.15.tar.xz" version="3.14.15"
hash="sha256:3ac87659112ced9e5ee5bd55d055faa881aafd040f26ca40b0d8ba0fa6509c83">
<patch file="https://git.gnome.org/browse/gtk-osx/plain/patches/0001-Bug-707945-GTK2-Quartz-typeahead-find-in-GtkTreeView.patch" strip="1"/>
<!-- https://bugzilla.gnome.org/show_bug.cgi?id=763779 -->
<patch file="https://git.gnome.org/browse/gtk-osx/plain/patches/gtk-quartz-fix-pixelated-image-surfaces-in-retina-hidpi-.patch" strip="1"/>
</branch>
<dependencies>
<dep package="glib"/>
<dep package="pango"/>
<dep package="atk"/>
<dep package="cairo"/>
<dep package="gdk-pixbuf"/>
<dep package="gobject-introspection"/>
</dependencies>
<after>
<dep package="meta-gtk-osx-bootstrap"/>
</after>
</autotools>
<autotools id="gtk+-3.0" autogen-sh="autogen.sh"
autogenargs="--enable-quartz-backend --enable-quartz-relocation">
<branch module="gtk+/3.20/gtk+-3.20.3.tar.xz" version="3.20.3"
hash="sha256:3834f3bf23b260b3e5ebfea41102e2026a8af29e36c3620edf4a5cf05e82f694">
</branch>
<dependencies>
<dep package="glib"/>
<dep package="pango"/>
<dep package="atk"/>
<dep package="gdk-pixbuf"/>
<dep package="gobject-introspection"/>
<dep package="libepoxy"/>
</dependencies>
<after>
<dep package="meta-gtk-osx-bootstrap"/>
</after>
</autotools>
<autotools id="pixman" autogenargs="--disable-gtk --disable-mmx"
autogen-sh="configure">
<branch version="0.34.0" module="pixman-0.34.0.tar.gz"
repo="cairographics"
hash="sha1:a1b1683c1a55acce9d928fea1ab6ceb79142ddc7"/>
<after>
<dep package="meta-gtk-osx-bootstrap"/>
</after>
</autotools>
<!-- Cairo will automatically enable freetype and fontconfig if
meta-gtk-osx-freetype is built, so packages which require
cairoft or cairofc should have meta-gtk-osx-freetype as a
dependency. -->
<autotools id="cairo" autogen-sh="configure"
autogenargs="--enable-pdf --enable-quartz --disable-xlib --without-x">
<branch module="cairo-1.14.6.tar.xz" version="1.14.6"
repo="cairographics"
hash="sha1:0a59324e6cbe031b5b898ff8b9e2ffceb9d114f5">
</branch>
<dependencies>
<dep package="pixman"/>
</dependencies>
<after>
<dep package="meta-gtk-osx-bootstrap"/>
<dep package="meta-gtk-osx-freetype"/>
</after>
</autotools>
<autotools id="gtk-mac-integration" autogen-sh="configure"
autogenargs="--disable-python">
<branch module="gtk-mac-integration/2.0/gtk-mac-integration-2.0.8.tar.xz"
version="2.0.8"
hash="sha256:74fce9dbc5efe4e3d07a20b24796be1b1d6c3ac10a0ee6b1f1d685c809071b79">
</branch>
<dependencies>
</dependencies>
<after>
<dep package="gtk+"/>
<dep package="gtk+-3.0"/>
<dep package="meta-gtk-osx-bootstrap"/>
</after>
</autotools>
</moduleset>