summaryrefslogtreecommitdiffstats
path: root/packaging/macos/modulesets/inkscape.modules
blob: 04763f4eef4d67b734554af6966a5923a2923d3d (plain)
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
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
<?xml version="1.0"?>
<!DOCTYPE moduleset SYSTEM "moduleset.dtd">
<?xml-stylesheet type="text/xsl" href="moduleset.xsl"?>
<moduleset>

  <repository name="boost"        type="tarball" href="https://boostorg.jfrog.io/artifactory/main/release/"/>
  <repository name="freedesktop"  type="tarball" href="https://gitlab.freedesktop.org/"/>
  <repository name="github"       type="tarball" href="https://github.com/"/>
  <repository name="gnome_web"    type="tarball" href="https://download.gnome.org/sources/"/>
  <repository name="gnome_gitlab" type="tarball" href="https://gitlab.gnome.org/GNOME/"/>
  <repository name="gnu"          type="tarball" href="http://ftp.halifax.rwth-aachen.de/gnu/"/>
  <repository name="libreoffice"  type="tarball" href="https://dev-www.libreoffice.org/src/"/>
  <repository name="poppler"      type="tarball" href="https://poppler.freedesktop.org/"/>
  <repository name="sourceforge"  type="tarball" href="https://netcologne.dl.sourceforge.net/project/"/>

  <include href="gtk-osx.modules"/>

  <!--  Boehm-Demers-Weiser Garbage Collector https://github.com/ivmai/bdwgc -->
  <autotools
    id="bdwgc"
    autogen-sh="configure">
    <branch
      module="ivmai/bdwgc/releases/download/v8.0.4/gc-8.0.4.tar.gz"
      version="8.0.4"
      hash="sha256:436a0ddc67b1ac0b0405b61a9675bca9e075c8156f4debd1d06f3a56c7cd289d"
      repo="github">
    </branch>
  </autotools>

  <!--  boost C++ libraries https://www.boost.org

        This is a hackish way of installing boost with JHBuild. Skipping
        installation means that JHBuild will (re-)install this everytime
        it gets pulled in.
  -->
  <autotools
    id="boost"
    autogen-sh="bootstrap.sh"
    autogenargs="--without-libraries=python"
    autogen-template="%(srcdir)s/%(autogen-sh)s --prefix=%(prefix)s %(autogenargs)s"
    makeargs="|| ./b2 -d0 install"
    skip-install="yes"
    supports-non-srcdir-builds="no">
    <branch
      module="1.76.0/source/boost_1_76_0.tar.bz2"
      version="1.76.0"
      hash="sha256:f0397ba6e982c4450f27bf32a2a83292aba035b827a5623a14636ea583318c41"
      repo="boost">
    </branch>
  </autotools>

  <!--  binary<->decimal routines for IEEE doubles https://github.com/google/double-conversion -->
  <cmake
    id="doubleconversion">
    <branch
      module="google/double-conversion/archive/v3.1.5.tar.gz"
      version="3.1.5"
      hash="sha256:a63ecb93182134ba4293fd5f22d6e08ca417caafa244afaa751cbfddf6415b13"
      repo="github"
      checkoutdir="doubleconversion-3.1.5"
      rename-tarball="doubleconversion-3.1.5.tar.gz">
    </branch>
  </cmake>

  <!--  cppunit test framework https://www.freedesktop.org/wiki/Software/cppunit/ -->
  <autotools
    id="cppunit"
    autogen-sh="configure">
    <branch
      module="cppunit-1.15.1.tar.gz"
      version="1.15.1"
      hash="sha256:89c5c6665337f56fd2db36bc3805a5619709d51fb136e51937072f63fcc717a7"
      repo="libreoffice">
    </branch>
  </autotools>

  <!--  Ghostscript https://www.ghostscript.com

        This has to be removed entirely for GPLv2+ compatibility.
  -->
  <autotools
    id="ghostscript"
    autogen-sh="configure"
    autogenargs="--without-tesseract --without-x">
    <branch
      module="ArtifexSoftware/ghostpdl-downloads/releases/download/gs9561/ghostscript-9.56.1.tar.xz"
      version="9.56.1"
      hash="sha256:d43406805650009b42c3d5f6dc535233454533c1e27c13a77dd1d462a056b8e4"
      repo="github">
      <patch
        file="ghostscript_configure_libtiff.patch"
        strip="1"/>
      <patch
        file="ghostscript_link_cupsimage.patch"
        strip="1"/>
    </branch>
  </autotools>

  <!--  Google Testing and Mocking Framework https://github.com/google/googletest -->
  <cmake
    id="googletest">
    <branch
      module="google/googletest/archive/release-1.12.1.tar.gz"
      version="1.12.1"
      hash="sha256:81964fe578e9bd7c94dfdb09c8e4d6e6759e19967e397dbea48d1c10e45d0df2"
      repo="github"
      checkoutdir="googletest-1.12.1"
      rename-tarball="googletest-1.12.1.tar.gz">
    </branch>
  </cmake>

  <!--  GNU Scientific Library https://www.gnu.org/software/gsl

        We stick to version 1.9 as this is the last one licensed under GPLv2.
  -->
  <autotools
    id="gsl"
    autogen-sh='configure CFLAGS="$CFLAGS -Wno-error=implicit-function-declaration"'
    autogen-template="%(srcdir)s/%(autogen-sh)s --prefix=%(prefix)s --infodir=%(prefix)s/share/info %(autogenargs)s">
    <branch
      module="gsl/gsl-1.9.tar.gz"
      version="1.9"
      hash="sha256:fcd1c6784997c2312d922d107fcb30462f5be4335ebdfa8e1e0e07568c962250"
      repo="gnu">
    </branch>
  </autotools>

  <!--  Spell checking for GTK https://wiki.gnome.org/Projects/gspell -->
  <autotools
    id="gspell">
    <branch
      module="gspell/1.11/gspell-1.11.1.tar.xz"
      version="1.11.1"
      hash="sha256:ef6aa4e3f711775158a7e241a5f809cf2426bc0e02c23a7d2b5c71fc3de00292"
      repo="gnome_web">
      <patch
        file="gspell-makefile_objc.patch"
        strip="1"/>
      <patch
        file="gspell-remove_gtkmacintegration.patch"
        strip="1"/>
    </branch>
    <dependencies>
      <dep package="enchant"/>
      <dep package="glib"/>
      <dep package="gtk+-3.0"/>
      <dep package="iso-codes"/>
      <dep package="vala"/>
    </dependencies>
  </autotools>

  <!--  GTK Mac Bundler https://gitlab.gnome.org/GNOME/gtk-mac-bundler

        This is a hackish way of installing GTK Mac Bundler with JHBuild.
        The patch supplies a mocked configure script that's only interested in
        taking the prefix and patching the Makefile accordingly. Skipping
        installation means that JHBuild will (re-)install this everytime
        it gets pulled in.
  -->
  <autotools
    id="gtkmacbundler"
    autogen-sh="configure"
    supports-non-srcdir-builds="no"
    makeargs="&amp;&amp; make install"
    skip-install="yes">
    <branch
      module="gtk-mac-bundler/-/archive/58d951c8/gtk-mac-bundler-58d951c8.tar.bz2"
      version="58d951c8"
      hash="sha256:4617a36dadb7fe9ad242bdd826819e78098a089ccb3c4a002eb7b105ea0ca97c"
      repo="gnome_gitlab"
      checkoutdir="gtk-mac-bundler_58d951c8"
      rename-tarball="gtk-mac-bundler_58d951c8.tar.bz2">
      <patch
        file="gtk-mac-bundler_configure.patch"
        strip="1"/>
    </branch>
  </autotools>

  <!--  ImageMagick 6 https://legacy.imagemagick.org -->
  <autotools
    id="imagemagick"
    autogen-sh="configure">
    <branch
      module="ImageMagick/ImageMagick6/archive/6.9.12-7.tar.gz"
      version="6.9.12-7"
      hash="sha256:6abbd6afe7130edba7652a49c03a699657d6a71cf631a3c82014a31c8f93996d"
      repo="github"
      checkoutdir="imagemagick-6.9.12-7"
      rename-tarball="imagemagick-6.9.12-7.tar.gz">
      <patch
        file="imagemagick_configure_pango.patch"
        strip="1"/>
    </branch>
    <dependencies>
      <dep package="pango"/>
    </dependencies>
  </autotools>

  <!--  Little cms color engine https://sourceforge.net/projects/lcms/ -->
  <autotools
    id="lcms"
    autogen-sh="configure">
    <branch
      module="lcms/lcms/2.12/lcms2-2.12.tar.gz"
      version="2.12"
      hash="sha256:18663985e864100455ac3e507625c438c3710354d85e5cbb7cd4043e11fe10f5"
      repo="sourceforge"/>
  </autotools>

  <!--  Reading/Writing CorelDRAW files https://github.com/LibreOffice/libcdr -->
  <autotools
    id="libcdr"
    autogen-sh="autoreconf">
    <branch
      module="LibreOffice/libcdr/archive/libcdr-0.1.7.tar.gz"
      version="0.1.7"
      hash="sha256:0cfd3304b6ecaaa37fc2fb7213f5e69ab05153152f49e8e91776cd4fc7c09e23"
      repo="github"
      checkoutdir="libcdr-0.1.7">
    </branch>
    <dependencies>
      <dep package="boost"/>
      <dep package="icu"/>
      <dep package="lcms"/>
      <dep package="librevenge"/>
      <dep package="zlib"/>
    </dependencies>
  </autotools>

  <!--  base library for document import filters https://sourceforge.net/p/libwpd/wiki/librevenge/ -->
  <autotools
    id="librevenge"
    autogen-sh="configure">
    <branch
      module="libwpd/librevenge/librevenge-0.0.4/librevenge-0.0.4.tar.gz"
      version="0.0.4"
      hash="sha256:a2718efd86000fe769cb6178478af0fd424a9128807361241facd2491bcb772f"
      repo="sourceforge">
    </branch>
    <dependencies>
      <dep package="cppunit"/>
    </dependencies>
  </autotools>

  <!--  Reading/Converting Visio files https://github.com/LibreOffice/libvisio -->
  <autotools
    id="libvisio"
    autogen-sh="autoreconf">
    <branch
      module="LibreOffice/libvisio/archive/libvisio-0.1.7.tar.gz"
      version="0.1.7"
      hash="sha256:68b8a0b45e39b6ba154fe79169f2887cc19f6ee2b82f287b4b625c70294aff27"
      repo="github"
      checkoutdir="libvisio-0.1.7">
    </branch>
    <dependencies>
      <dep package="boost"/>
      <dep package="icu"/>
      <dep package="librevenge"/>
      <dep package="libxml2"/>
      <dep package="zlib"/>
    </dependencies>
  </autotools>

  <metamodule
    id="meta-inkscape-dependencies">
    <dependencies>
      <dep package="bdwgc"/>
      <dep package="doubleconversion"/>
      <dep package="ghostscript"/>
      <dep package="googletest"/>
      <dep package="gspell"/>
      <dep package="gsl"/>
      <dep package="gspell"/>
      <dep package="imagemagick"/>
      <dep package="libcdr"/>
      <dep package="libsoup"/>
      <dep package="libvisio"/>
      <dep package="libwebp"/>
      <dep package="openjpeg"/>
      <dep package="openmp"/>
      <dep package="poppler"/>
      <dep package="potrace"/>
    </dependencies>
  </metamodule>

  <!--  OpenJPEG https://github.com/uclouvain/openjpeg -->
  <cmake
    id="openjpeg">
    <branch
      module="uclouvain/openjpeg/archive/v2.4.0.tar.gz"
      version="2.4.0"
      hash="sha256:8702ba68b442657f11aaeb2b338443ca8d5fb95b0d845757968a7be31ef7f16d"
      repo="github"
      checkoutdir="openjpeg-2.4.0"
      rename-tarball="openjpeg-2.4.0.tar.gz">
    </branch>
    <dependencies>
      <dep package="lcms"/>
      <dep package="libpng"/>
      <dep package="libtiff"/>
    </dependencies>
  </cmake>

  <!--  OpenMP https://github.com/llvm/llvm-project -->
  <cmake
    id="openmp">
    <branch
      module="llvm/llvm-project/releases/download/llvmorg-12.0.1/openmp-12.0.1.src.tar.xz"
      version="12.0.1"
      hash="sha256:60fe79440eaa9ebf583a6ea7f81501310388c02754dbe7dc210776014d06b091"
      repo="github"
      checkoutdir="openmp-12.0.1">
    </branch>
  </cmake>

  <!--  Poppler https://poppler.freedesktop.org -->
  <cmake
    id="poppler"
    cmakeargs="-DENABLE_UNSTABLE_API_ABI_HEADERS=ON -DENABLE_GOBJECT_INTROSPECTION=OFF">
    <branch
      module="poppler-21.06.1.tar.xz"
      version="21.06.1"
      hash="sha256:86b09e5a02de40081a3916ef8711c5128eaf4b1fc59d5f87d0ec66f04f595db4"
      repo="poppler">
    </branch>
    <dependencies>
      <dep package="cmake"/>
      <dep package="glib"/>
      <dep package="gtk+-3.0"/>
      <dep package="gdk-pixbuf"/>
     </dependencies>
  </cmake>

  <!--  Potrace http://potrace.sourceforge.net -->
  <autotools
    id="potrace"
    autogen-sh="configure"
    autogenargs="--with-libpotrace">
    <branch
      module="potrace/1.16/potrace-1.16.tar.gz"
      version="1.16"
      hash="sha256:be8248a17dedd6ccbaab2fcc45835bb0502d062e40fbded3bc56028ce5eb7acc"
      repo="sourceforge">
    </branch>
  </autotools>

  <!--  Rust https://www.rust-lang.org

        Rust has a custom setup routine (rustup) which is wrapped into
        a cmake file introduced by that patch below.
  -->
  <cmake
    id="rust"
    cmakeargs="-DVERSION=1.59.0"
    supports-non-srcdir-builds="no"
    use-ninja="no">
    <branch
      module="rust-lang/rustup/archive/1.24.3.tar.gz"
      version="1.24.3"
      hash="sha256:24a8cede4ccbbf45ab7b8de141d92f47d1881bb546b3b9180d5a51dc0622d0f6"
      repo="github"
      checkoutdir="rustup-1.24.3"
      rename-tarball="rustup-1.24.3.tar.gz">
      <patch
        file="rust_cmake_install.patch"
        strip="1"/>
    </branch>
  </cmake>

</moduleset>