[WPE] Enable web process sandbox
[WebKit-https.git] / Tools / wpe / jhbuild.modules
1 <?xml version="1.0"?>
2 <!DOCTYPE moduleset SYSTEM "moduleset.dtd">
3 <?xml-stylesheet type="text/xsl" href="moduleset.xsl"?>
4 <moduleset>
5
6   <include href="../gstreamer/jhbuild.modules"/>
7
8   <metamodule id="webkitwpe-testing-dependencies">
9     <dependencies>
10       <dep package="brotli"/>
11       <dep package="glib"/>
12       <dep package="libsoup"/>
13       <dep package="cairo"/>
14       <dep package="fonts"/>
15       <dep package="dicts"/>
16       <dep package="fontconfig"/>
17       <dep package="freetype6"/>
18       <dep package="harfbuzz"/>
19       <dep package="icu"/>
20       <dep package="webkit-gstreamer-testing-dependencies"/>
21       <dep package="woff2"/>
22       <dep package="libwpe"/>
23       <dep package="wpebackend-fdo"/>
24       <dep package="libgpg-error"/>
25       <dep package="libgcrypt"/>
26       <dep package="libepoxy"/>
27       <dep package="wayland-protocols"/>
28       <dep package="openjpeg"/>
29       <dep package="xdg-dbus-proxy"/>
30     </dependencies>
31   </metamodule>
32
33   <!-- Please use http/https to access repositories to be friendly to users stuck behind firewalls. -->
34   <repository type="tarball" name="sourceware.org-mirror"
35       href="http://mirrors.kernel.org/sources.redhat.com/"/>
36   <repository type="tarball" name="ftp.gnome.org"
37       href="http://ftp.gnome.org"/>
38   <repository type="tarball" name="cairographics.org"
39       href="http://cairographics.org"/>
40   <repository type="tarball" name="freedesktop.org"
41       href="http://www.freedesktop.org"/>
42   <repository type="tarball" name="wayland.freedesktop.org"
43       href="http://wayland.freedesktop.org"/>
44   <repository type="git" name="github.com"
45       href="https://github.com"/>
46   <repository type="tarball" name="github-tarball"
47       href="https://github.com/"/>
48   <repository type="tarball" name="savannah.gnu.org"
49       href="http://download.savannah.gnu.org/releases/"/>
50   <repository type="tarball" name="gnupg.org"
51       href="https://www.gnupg.org/ftp/gcrypt/"/>
52   <repository type="tarball" name="wpewebkit"
53       href="https://wpewebkit.org/releases/"/>
54   <repository type="tarball" name="webkitgtk-jhbuild-mirror"
55       href="http://webkitgtk.org/jhbuild_mirror/"/>
56
57   <cmake id="brotli">
58     <branch repo="github.com" module="google/brotli.git" checkoutdir="brotli" tag="v1.0.1"/>
59   </cmake>
60
61   <cmake id="woff2">
62     <branch repo="github.com" module="google/woff2.git" checkoutdir="woff2" tag="v1.0.2"/>
63     <dependencies>
64       <dep package="brotli"/>
65     </dependencies>
66   </cmake>
67
68   <autotools id="libffi" autogen-sh="configure">
69     <branch module="libffi/libffi-3.0.10.tar.gz" version="3.0.10"
70              repo="sourceware.org-mirror"
71              hash="sha256:f01eb9027e9eb56aeaeef636649877756d475d714ef8b47f627f65bc5f3b492f"/>
72   </autotools>
73
74   <meson id="glib"
75          mesonargs="-Dlibmount=false -Dselinux=false">
76     <dependencies>
77       <dep package="libffi"/>
78     </dependencies>
79     <branch module="/pub/GNOME/sources/glib/2.58/glib-${version}.tar.xz" version="2.58.1"
80             repo="ftp.gnome.org"
81             hash="sha256:97d6a9d926b6aa3dfaadad3077cfb43eec74432ab455dff14250c769d526d7d6">
82     </branch>
83   </meson>
84
85   <meson id="glib-networking">
86     <dependencies>
87       <dep package="glib"/>
88     </dependencies>
89     <branch module="/pub/GNOME/sources/glib-networking/2.58/glib-networking-${version}.tar.xz" version="2.58.0"
90             repo="ftp.gnome.org"
91             hash="sha256:bdfa0255e031b8ee003cc283002536b77ee76450105f1dc6ab066b9bf4330068"/>
92   </meson>
93
94   <autotools id="libpsl"
95              autogenargs="--enable-runtime=libicu --enable-builtin=libicu">
96     <dependencies>
97       <dep package="icu"/>
98     </dependencies>
99     <branch module="rockdaboot/libpsl/releases/download/libpsl-${version}/libpsl-${version}.tar.gz"
100             version="0.20.2"
101             repo="github-tarball"
102             hash="sha256:f8fd0aeb66252dfcc638f14d9be1e2362fdaf2ca86bde0444ff4d5cc961b560f"/>
103   </autotools>
104
105   <autotools id="libsoup"
106              autogen-sh="configure"
107              autogenargs="--disable-introspection">
108     <dependencies>
109       <dep package="glib-networking"/>
110       <dep package="libpsl"/>
111     </dependencies>
112     <branch module="/pub/GNOME/sources/libsoup/2.64/libsoup-${version}.tar.xz" version="2.64.2"
113             repo="ftp.gnome.org"
114             hash="sha256:75ddc194a5b1d6f25033bb9d355f04bfe5c03e0e1c71ed0774104457b3a786c6">
115     </branch>
116   </autotools>
117
118   <autotools id="fonts" supports-non-srcdir-builds="no"
119              skip-autogen="true">
120     <branch repo="github.com" module="WebKitGTK/webkitgtk-test-fonts.git" checkoutdir="webkitgtk-test-fonts" tag="0.0.8"/>
121   </autotools>
122
123   <autotools id="dicts" supports-non-srcdir-builds="no"
124              skip-autogen="true">
125     <branch repo="github.com" module="mrobinson/webkitgtk-test-dicts.git" checkoutdir="webkitgtk-test-dicts" tag="0.0.1"/>
126   </autotools>
127
128   <autotools id="freetype6" autogen-sh="configure"
129         autogenargs="--with-harfbuzz=no">
130     <branch module="freetype/freetype-2.9.1.tar.bz2" version="2.9.1"
131             repo="savannah.gnu.org"
132             hash="sha256:db8d87ea720ea9d5edc5388fc7a0497bb11ba9fe972245e0f7f4c7e8b1e1e84d"/>
133   </autotools>
134
135   <autotools id="fontconfig" autogen-sh="configure"
136              autogenargs="--disable-docs"
137              supports-non-srcdir-builds="no">
138     <dependencies>
139       <dep package="freetype6"/>
140     </dependencies>
141     <branch module="software/fontconfig/release/fontconfig-2.13.1.tar.bz2" version="2.13.1"
142             repo="freedesktop.org"
143             hash="sha256:f655dd2a986d7aa97e052261b36aa67b0a64989496361eca8d604e6414006741"/>
144   </autotools>
145
146   <autotools id="harfbuzz" autogen-sh="configure"
147         autogenargs="--with-cairo=no --with-glib=yes --with-freetype=yes --with-fontconfig=yes --with-icu=yes">
148     <dependencies>
149       <dep package="glib"/>
150       <dep package="freetype6"/>
151       <dep package="fontconfig"/>
152       <dep package="icu"/>
153     </dependencies>
154     <branch module="software/harfbuzz/release/harfbuzz-2.2.0.tar.bz2"
155             version="2.2.0"
156             checkoutdir="harfbuzz-2.2.0"
157             repo="freedesktop.org"
158             hash="sha256:b7ccfcbd56b970a709e8b9ea9fb46c922c606c2feef8f086fb6a8492e530f810"/>
159   </autotools>
160
161   <autotools id="icu"
162              autogen-sh="./source/configure"
163              autogenargs="--disable-samples --enable-weak-threads">
164     <branch module="icu4c-63_1-src.tgz" version="63.1" checkoutdir="icu"
165             repo="webkitgtk-jhbuild-mirror"
166             hash="sha256:05c490b69454fce5860b7e8e2821231674af0a11d7ef2febea9a32512998cb9d">
167       <patch file="icudata-stdlibs.patch" strip="1"/>
168     </branch>
169   </autotools>
170
171   <autotools id="pixman"
172              autogen-sh="configure"
173              autogenargs="--enable-gtk=no">
174     <branch module="releases/pixman-0.34.0.tar.gz" version="0.34.0"
175             repo="cairographics.org"
176             hash="sha1:a1b1683c1a55acce9d928fea1ab6ceb79142ddc7"/>
177   </autotools>
178
179   <autotools id="cairo"
180              autogen-sh="configure"
181              autogenargs="--enable-egl=yes --enable-glesv2">
182     <dependencies>
183       <dep package="glib"/>
184       <dep package="fontconfig"/>
185       <dep package="pixman"/>
186     </dependencies>
187     <branch module="releases/cairo-1.16.0.tar.xz" version="1.16.0"
188             repo="cairographics.org"
189             hash="sha1:00e81842ae5e81bb0343108884eb5205be0eac14">
190       <!-- See https://gitlab.freedesktop.org/cairo/cairo/merge_requests/5 -->
191       <patch file="cairo-ft-Use-FT_Done_MM_Var-instead-of-free-when-available.patch" strip="1"/>
192     </branch>
193   </autotools>
194
195   <cmake id="libwpe">
196       <branch repo="wpewebkit" module="libwpe-1.1.0.tar.xz" version="1.1.0"
197               hash="sha256:72e34ad754be11abd1a438cfe195d8d644c52105ab2b1c3b39dec6228bc776ce"/>
198   </cmake>
199
200   <cmake id="wpebackend-fdo">
201     <dependencies>
202       <dep package="libwpe"/>
203       <dep package="glib"/>
204     </dependencies>
205     <branch repo="github.com" module="Igalia/wpebackend-fdo.git" checkoutdir="wpebackend-fdo"
206             tag="fa227dac7c6a133d62b35d7a6af0332582b64d4d"/>
207   </cmake>
208
209   <autotools id="libgpg-error" autogen-sh="configure">
210     <branch module="libgpg-error/libgpg-error-1.27.tar.bz2"
211             version="1.27"
212             repo="gnupg.org"
213             hash="sha256:4f93aac6fecb7da2b92871bb9ee33032be6a87b174f54abf8ddf0911a22d29d2">
214     </branch>
215   </autotools>
216
217   <autotools id="libgcrypt" autogen-sh="configure">
218     <branch module="libgcrypt/libgcrypt-${version}.tar.bz2"
219             version="1.8.4"
220             repo="gnupg.org"
221             hash="sha256:f638143a0672628fde0cad745e9b14deb85dffb175709cacc1f4fe24b93f2227">
222         <patch file="libgcrypt-use-only-dev-urandom-for-testing.patch" strip="1"/>
223     </branch>
224     <dependencies>
225       <dep package="libgpg-error"/>
226     </dependencies>
227   </autotools>
228
229   <autotools id="libepoxy" autogen-sh="configure">
230     <branch module="anholt/libepoxy/releases/download/1.4.3/libepoxy-1.4.3.tar.xz"
231             version="1.4.3" repo="github-tarball"/>
232   </autotools>
233
234   <autotools id="wayland-protocols" autogen-sh="configure">
235     <branch module="releases/wayland-protocols-${version}.tar.xz"
236             version="1.12"
237             repo="wayland.freedesktop.org"
238             hash="sha256:3b19e8a9e1e19474756a7069db23b90ca9b8ebb438448c6063b4a7fc89b7c8b2"/>
239   </autotools>
240
241   <meson id="graphene">
242     <branch repo="github.com"
243             module="ebassi/graphene.git"
244             tag="1.6.0"/>
245     <dependencies>
246       <dep package="glib"/>
247     </dependencies>
248   </meson>
249
250   <cmake id="openjpeg">
251     <branch repo="github-tarball"
252             module="uclouvain/openjpeg/archive/v${version}.tar.gz"
253             checkoutdir="openjpeg-${version}"
254             version="2.3.0"
255             hash="sha256:3dc787c1bb6023ba846c2a0d9b1f6e179f1cd255172bde9eb75b01f1e6c7d71a"/>
256   </cmake>
257
258   <distutils id="meson" python3="1">
259     <branch repo="github-tarball"
260             version="0.48.1"
261             module="mesonbuild/meson/releases/download/${version}/meson-${version}.tar.gz"
262             checkoutdir="meson-${version}"
263             hash="sha256:425d12edbb81498314926afa93a3eb2fca4ca6929cbe0f8abeb6ab45d1d9fa8f"/>
264     <dependencies>
265       <dep package="ninja"/>
266     </dependencies>
267   </distutils>
268
269   <autotools id="xdg-dbus-proxy" autogen-sh="configure">
270     <branch repo="github-tarball"
271             version="0.1.0"
272             module="flatpak/xdg-dbus-proxy/releases/download/${version}/xdg-dbus-proxy-${version}.tar.xz"
273             checkoutdir="xdg-dbus-proxy-${version}"
274             hash="sha256:9eefd30fe66940c8daf0e8ce6479307694814edb8b636caeb5aa6d6a46a4bc14"/>
275     <dependencies>
276       <dep package="glib"/>
277     </dependencies>
278   </autotools>
279
280 </moduleset>