gtk-osx-network.modules 10.3 KB
Newer Older
1
2
3
4
5
6
7
8
<?xml version="1.0"?>
<!DOCTYPE moduleset SYSTEM "moduleset.dtd">
<?xml-stylesheet type="text/xsl" href="moduleset.xsl"?>
<moduleset>
  <repository name="ftp.gnome.org" type="tarball" default="yes"
              href="http://ftp.gnome.org/pub/GNOME/sources/"/>
  <repository name="openssl" type="tarball"
              href="https://www.openssl.org/source/"/>
John Ralls's avatar
John Ralls committed
9
10
  <repository name="ftp.gnu.org" type="tarball"
              href="https://ftp.gnu.org/gnu/"/>
11
12
  <repository name="sourceforge" type="tarball"
              href="http://downloads.sourceforge.net/sourceforge/"/>
John Ralls's avatar
John Ralls committed
13
  <repository name='gnupg.org' type='tarball' href="https://gnupg.org/ftp/" />
14
15
16
17
  <repository name="webm" type="tarball"
              href="http://downloads.webmproject.org/releases/"/>
  <repository name="webkit.org" type="tarball"
              href="http://www.webkitgtk.org/releases/"/>
18
  <repository type="tarball" name="github-tarball" href="https://github.com/"/>
John Ralls's avatar
John Ralls committed
19
  <repository type="tarball" name="zlib" href="https://www.zlib.net/"/>
20
21
22
23
24
25
26
27
28
29
30

  <!-- Builds latest stable version of WebKitGTK for GTK 3.x -->
  <metamodule id="meta-gtk-osx-webkit-gtk3">
    <dependencies>
      <dep package="meta-gtk-osx-gtk3"/>
      <dep package="webkit2gtk3"/>
    </dependencies>
  </metamodule>

  <!-- of the many arguments such as prefix and libdir that jhbuild might pass
  to configure, openssl only understands prefix, and only with =. -->
31
  <autotools id="openssl" autogen-sh="Configure" autogenargs="shared "
32
33
             autogen-template="%(srcdir)s/%(autogen-sh)s --prefix=%(prefix)s --openssldir=%(prefix)s/etc/ssl %(autogenargs)s"
             makeinstallargs="install_sw" supports-non-srcdir-builds="no">
John Ralls's avatar
John Ralls committed
34
35
    <branch module="openssl-1.1.1n.tar.gz" version="1.1.1n" repo="openssl"
            hash="sha256:40dceb51a4f6a5275bde0e6bf20ef4b91bfc32ed57c0552e2e8e15463372b17a"/>
36
37
38
  </autotools>

  <!-- Rudely demands TeX to build documentation -->
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
  <!-- 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. -->
  <if condition-set="arm64">
    <autotools id="libnettle" autogen-sh="configure"
               autogenargs="--disable-documentation --disable-assembler">
      <branch repo="ftp.gnu.org" version="3.7.2"
              module="nettle/nettle-3.7.2.tar.gz"
              hash="sha256:8d2a604ef1cde4cd5fb77e422531ea25ad064679ff0adf956e78b3352e0ef162">
      </branch>
      <dependencies>
        <dep package="gmp"/>
        <dep package="openssl"/>
      </dependencies>
    </autotools>
  </if>
  <if condition-unset="arm64">
    <autotools id="libnettle" autogen-sh="configure"
               autogenargs="--disable-documentation">
      <branch repo="ftp.gnu.org" version="3.7.2"
              module="nettle/nettle-3.7.2.tar.gz"
              hash="sha256:8d2a604ef1cde4cd5fb77e422531ea25ad064679ff0adf956e78b3352e0ef162">
      </branch>
      <dependencies>
        <dep package="gmp"/>
        <dep package="openssl"/>
      </dependencies>
    </autotools>
  </if>
66

67
68
69
70
71
72
  <autotools id="libtasn1" autogen-sh="configure">
    <branch repo="ftp.gnu.org" version="4.17.0"
            module="libtasn1/libtasn1-4.17.0.tar.gz"
            hash="sha256:ece7551cea7922b8e10d7ebc70bc2248d1fdd73351646a2d6a8d68a9421c45a5">
      <patch file="libtasn1-inline-fix.patch" strip="1"/>
    </branch>
73
74
75
76
  </autotools>

  <autotools id="zlib" autogen-sh="configure" skip-autogen="never"
             supports-non-srcdir-builds="no">
John Ralls's avatar
John Ralls committed
77
78
79
    <branch repo="zlib" version="1.2.12"
            module="zlib-1.2.12.tar.xz"
            hash="sha256:7db46b8d7726232a621befaab4a1c870f00a90805511c0e0090441dac57def18"/>
John Ralls's avatar
John Ralls committed
80
81
82
83
84
85
86
87
88
  </autotools>

  <autotools id="p11-kit" autogen-sh="configure"
             autogenargs="--without-trust-paths">
    <branch repo="github-tarball" version="0.23.22"
            module="p11-glue/p11-kit/releases/download/0.23.22/p11-kit-0.23.22.tar.xz"
            hash="sha256:8a8f40153dd5a3f8e7c03e641f8db400133fb2a6a9ab2aee1b6d0cb0495ec6b6">
    </branch>
    <dependencies>
89
      <dep package="libffi"/>
John Ralls's avatar
John Ralls committed
90
91
      <dep package="libtasn1"/>
    </dependencies>
92
93
  </autotools>

94
95
96
  <if condition-unset="pre-Mavericks">
    <autotools id="gnutls" autogen-sh="autoreconf"
               autogenargs="--disable-gtk-doc-html --with-included-unistring">
97
98
      <branch repo="gnupg.org" version="3.7.3"
              module="gcrypt/gnutls/v3.7/gnutls-3.7.3.tar.xz">
99
100
101
102
103
104
      </branch>
      <dependencies>
        <dep package="libnettle"/>
        <dep package="libtasn1"/>
        <dep package="zlib"/>
        <dep package="p11-kit"/>
105
        <dep package="libgcrypt"/>
106
107
108
      </dependencies>
    </autotools>
  </if>
109

John Ralls's avatar
John Ralls committed
110
111
112
113
114
115
116
117
118
119
120
121
  <autotools id="libgpg-error" autogen-sh="autoreconf"
             autogenargs="--disable-doc">
    <branch repo="gnupg.org" version="1.42"
            module="gcrypt/libgpg-error/libgpg-error-1.42.tar.bz2"
            hash="sha256:fc07e70f6c615f8c4f590a8e37a9b8dd2e2ca1e9408f8e60459c67452b925e23">
    </branch>
  </autotools>

 <autotools id="libgcrypt" autogen-sh="configure">
    <branch repo="gnupg.org" version="1.9.2"
            module="gcrypt/libgcrypt/libgcrypt-1.9.2.tar.bz2"
            hash="sha256:b2c10d091513b271e47177274607b1ffba3d95b188bbfa8797f948aec9053c5a"/>
122
123
124
    <dependencies>
      <dep package="libgpg-error"/>
    </dependencies>
125
126
  </autotools>

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
  <autotools id="gpg" autogen-sh='configure'>
    <branch repo="gnupg.org" version="2.2.27"
            module="gcrypt/gnupg/gnupg-2.2.27.tar.bz2"
            />
    <dependencies>
      <dep package="libgpg-error"/>
      <dep package="libgcrypt"/>
    </dependencies>
  </autotools>
  
  <meson id="libsecret" mesonargs="-Dvapi=disabled -Dgtk_doc=disabled">
    <branch version="0.20.4"
            module="libsecret/0.20/libsecret-0.20.4.tar.xz"
            />
    <dependencies>
      <dep package="glib"/>
      <dep package="libgcrypt"/>
    </dependencies>
  </meson>

  <meson id="gcr">
    <branch version="3.38"
            module="gcr/3.38/gcr-3.38.1.tar.xz"
            />
    <dependencies>
      <dep package="p11-kit"/>
      <dep package="gpg"/>
      <dep package="libsecret"/>
      <dep package="glib"/>
    </dependencies>
  </meson>
  
  <autotools id="gnome-keyring"
             autogenargs="--disable-pam --without-root-certs">
    <branch module="gnome-keyring/40/gnome-keyring-40.0.tar.xz"
            version="40.0"
            />
    <dependencies>
      <dep package="libgcrypt"/>
      <dep package="gcr"/>
    </dependencies>
  </autotools>

John Ralls's avatar
John Ralls committed
170
  <meson id="glib-networking" mesonargs="-Dopenssl=enabled">
171
172
173
    <branch module="glib-networking/2.68/glib-networking-2.68.0.tar.xz"
            version="2.68.0"
            hash="sha256:0b235e85ad26b3c0d12255d0963c460e5a639c4722f78e2a03e969e224b29f6e"/>
174
    <dependencies>
175
176
177
      <if condition-unset="pre-Mavericks">
        <dep package="gnutls"/>
      </if>
Alex Samorukov's avatar
Alex Samorukov committed
178
      <dep package="glib"/>
179
    </dependencies>
180
  </meson>
181

182
  <autotools id="libpsl" autogen-sh='configure'>
Antoine Martin's avatar
Antoine Martin committed
183
    <branch repo="github-tarball" version="0.21.0"
John Ralls's avatar
John Ralls committed
184
185
            module="rockdaboot/libpsl/releases/download/0.21.1/libpsl-0.21.1.tar.gz"
            hash="sha256:ac6ce1e1fbd4d0254c4ddb9d37f1fa99dec83619c1253328155206b896210d4c"/>
186
  </autotools>
187

188
  <meson id="libsoup" mesonargs="-Dvapi=disabled">
John Ralls's avatar
John Ralls committed
189
190
    <branch module="libsoup/2.72/libsoup-2.72.0.tar.xz" version="2.72.0"
            hash="sha256:170c3f8446b0f65f8e4b93603349172b1085fb8917c181d10962f02bb85f5387">
Alex Samorukov's avatar
Alex Samorukov committed
191
    </branch>
192
    <dependencies>
193
194
      <dep package="libpsl"/>
      <dep package="python3"/>
195
196
197
      <dep package="glib"/>
      <dep package="glib-networking"/>
      <dep package="sqlite"/>
198
      <dep package="vala"/>
199
    </dependencies>
200
  </meson>
201

Alex Samorukov's avatar
Alex Samorukov committed
202
  <autotools id="libwebp" autogen-sh="configure"  autogenargs="--enable-libwebpmux --enable-libwebpdecoder">
John Ralls's avatar
John Ralls committed
203
204
    <branch repo="webm" module="webp/libwebp-1.2.0.tar.gz" version="1.2.0"
            hash="sha256:2fc8bbde9f97f2ab403c0224fb9ca62b2e6852cbc519e91ceaa7c153ffd88a0c"/>
205
206
207
208
  </autotools>


  <!-- This is the stable release of WebKitGTK, for GTK 3.x. Use it if you need
209
      the WebKit2 API.
210
211
    ENABLE_MINIBROWSER: This is enabled because it's an easy test of whether the
      library is working correctly: run "jhbuild run MiniBrowser".
212
    USE_SYSTEMD: macOS doesn't have systemd.
213
214
215
    ENABLE_VIDEO, ENABLE_WEB_AUDIO: Requires gstreamer. If you want video and
      audio, fix this in your .jhbuildrc-custom. You may need some extra
      patches, this is untested.
216
217
218
    ENABLE_CREDENTIAL_STORAGE: Requires libsecret. No module for this.
    ENABLE_GEOLOCATION: Requires geoclue. No module for this.
    ENABLE_GRAPHICS_CONTEXT_GL: Known to not work with quartz.
John Ralls's avatar
John Ralls committed
219
    ENABLE_GAMEPAD: Requires an extra dependency, libmannette.
220
221
222
223
224
225
226
    USE_LIBNOTIFY: Requires libnotify. No module for this.
    USE_LIBHYPHEN: Requires libhyphen. No module for this.
    USE_LIBSECRET: Requires libsecret. No module for this.
    ENABLE_TOUCH_EVENTS: Seems not to be needed.
    USE_OPENJPEG: Requires openjpeg. No module for this.
    USE_WOFF2: Requires Woff2. No module for this
    USE_WPE_RENDERER: For embedded systems, not Macs.  -->
227
  <cmake id="webkit2gtk3"
John Ralls's avatar
John Ralls committed
228
229
230
         cmakeargs='-DPORT=GTK -DENABLE_X11_TARGET=OFF -DENABLE_QUARTZ_TARGET=ON -DENABLE_MINIBROWSER=ON -DENABLE_INTROSPECTION=ON  -DUSE_SYSTEMD=OFF -DENABLE_VIDEO=OFF -DENABLE_WEB_AUDIO=OFF -DENABLE_GEOLOCATION=OFF -DUSE_LIBNOTIFY=OFF -DUSE_LIBHYPHEN=OFF -DUSE_LIBSECRET=OFF -DENABLE_TOUCH_EVENTS=OFF  -DUSE_OPENJPEG=OFF -DUSE_WOFF2=OFF -DUSE_WPE_RENDERER=OFF -DENABLE_GRAPHICS_CONTEXT_GL=OFF -DENABLE_GAMEPAD=OFF -DUSE_APPLE_ICU=NO -DCMAKE_CXX_FLAGS="-stdlib=libc++" -DCMAKE_MACOSX_RPATH=OFF'>
    <branch repo="webkit.org" module="webkitgtk-2.32.0.tar.xz" version="2.32.0"
            hash="sha256:9d7df4dae9ada2394257565acc2a68ace9308c4c61c3fcc00111dc1f11076bf0">
231
      <patch file="WebKit2Gtk3-2.32.0-cumulative.patch" strip="1"/>
232
233
      <patch file="WebKit2Gtk3-2.30.1-Disable-AUDIT_TOKEN-for-Gtk-builds.patch" strip="1"/>
      <patch file="WebKit2Gtk3-2.30.1-Fix-Socket-signal-defines-for-Darwin-and-maybe-BSD.patch" strip="1"/>
John Ralls's avatar
John Ralls committed
234
      <patch file="WebKit2Gtk3-2.32.0-color-components-correct-math-header.patch" strip="1"/>
235
236
237
238
239
240
    </branch>
    <dependencies>
      <dep package="libwebp"/>
      <dep package="enchant"/>
      <dep package="icu"/>
      <dep package="libsoup"/>
241
      <dep package="libgcrypt"/>
John Ralls's avatar
John Ralls committed
242
      <dep package="meta-gtk-osx-gtk3"/>
243
244
    </dependencies>
    <after>
John Ralls's avatar
John Ralls committed
245
      <dep package="meta-gtk-osx-gstreamer"/>
246
247
    </after>
  </cmake>
John Ralls's avatar
John Ralls committed
248
 
249
</moduleset>