-
Notifications
You must be signed in to change notification settings - Fork 14
/
vips.modules
1090 lines (928 loc) · 25.9 KB
/
vips.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
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
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?>
<!DOCTYPE moduleset SYSTEM "moduleset.dtd">
<?xml-stylesheet type="text/xsl" href="moduleset.xsl"?>
<moduleset>
<!-- git repos -->
<repository type="git" name="git.gnome.org" default="yes"
href="git://git.gnome.org/"/>
<repository type="git" name="git.freedesktop.org"
href="git://anongit.freedesktop.org/"/>
<repository type="git" name="gstreamer.freedesktop.org"
href="git://anongit.freedesktop.org/gstreamer/"/>
<repository type="git" name="telepathy.freedesktop.org"
href="git://anongit.freedesktop.org/telepathy/"/>
<repository type="git" name="wayland.freedesktop.org"
href="git://anongit.freedesktop.org/git/wayland"/>
<repository type="git" name="xorg.freedesktop.org"
href="git://anongit.freedesktop.org/git/xorg"/>
<repository type="git" name="github.com"
href="git://github.com/"/>
<repository type="bzr" name="research.operationaldynamics.com"
href="http://research.operationaldynamics.com/bzr"/>
<repository type="git" name="linuxwacom.git.sourceforge.net"
href="git://linuxwacom.git.sourceforge.net/"/>
<repository type="git" name="quvi"
href="git://repo.or.cz/"/>
<!-- tarball repos -->
<repository type="tarball" name="cairo.org"
href="http://cairographics.org/"/>
<repository type="tarball" name="iso-codes"
href="http://pkg-isocodes.alioth.debian.org/downloads/"/>
<repository type="tarball" name="sourceforge.net"
href="http://sourceforge.net/projects/"/>
<repository type="tarball" name="webkitgtk.org"
href="http://webkitgtk.org/releases/"/>
<repository type="tarball" name="freedesktop.org"
href="http://freedesktop.org/software/"/>
<repository type="tarball" name="people.freedesktop.org"
href="http://people.freedesktop.org/"/>
<repository type="tarball" name="icon-theme.freedesktop.org"
href="http://icon-theme.freedesktop.org/releases/"/>
<repository type="tarball" name="nice.freedesktop.org"
href="http://nice.freedesktop.org/releases/"/>
<repository type="tarball" name="libpwquality"
href="https://fedorahosted.org/releases/l/i/libpwquality/"/>
<repository type="tarball" name="ftp.mozilla.org"
href="http://ftp.mozilla.org/"/>
<repository type="tarball" name="kernel.org"
href="http://www.kernel.org"/>
<repository type="tarball" name="ftp.gnu.org"
href="http://ftp.gnu.org/gnu/"/>
<repository type="tarball" name="libndp"
href="http://libndp.org/files/"/>
<repository type="tarball" name="mir"
href="https://launchpad.net/mir/"/>
<repository type="tarball" name="xorg-tar"
href="http://xorg.freedesktop.org/"/>
<repository type="tarball" name="github-tar"
href="https://github.com/"/>
<repository type="tarball" name="libxkbcommon"
href="http://xkbcommon.org/download/"/>
<repository type="tarball" name="poppler.freedesktop.org"
href="http://poppler.freedesktop.org/"/>
<repository
type="tarball"
name="checkout"
href="file:///home/john/GIT/build-win64/8.4/checkout/"
/>
<repository
type="tarball"
name="tiff"
href="http://download.osgeo.org/libtiff/"
/>
<repository
type="tarball"
name="cairo"
href="http://www.cairographics.org/releases/"
/>
<repository
type="tarball"
name="vips"
href="https://github.com/jcupitt/libvips/releases/download/"
/>
<repository
type="tarball"
name="sourceware"
href="ftp://sourceware.org/pub/"
/>
<repository
type="tarball"
name="hdf5"
href="http://www.hdfgroup.org/ftp/HDF5/current/src/"
/>
<repository
type="tarball"
name="orc"
href="https://gstreamer.freedesktop.org/src/orc/"
/>
<repository
type="tarball"
name="cam"
href="ftp://ftp.csx.cam.ac.uk/pub/software/programming/"
/>
<repository
type="tarball"
name="graphviz"
href="http://www.graphviz.org/pub/graphviz/stable/SOURCES/"
/>
<repository
type="tarball"
name="cfitsio"
href="http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/"
/>
<repository
type="tarball"
name="fcgi"
href="http://www.fastcgi.com/dist/"
/>
<repository
type="tarball"
name="fftw"
href="http://www.fftw.org/"
/>
<repository
type="tarball"
name="sourceforge"
href="http://downloads.sourceforge.net/sourceforge/"
/>
<repository
type="tarball"
name="nongnu"
href="http://download.savannah.nongnu.org/releases/"
/>
<repository
type="tarball"
name="magick"
href="ftp://ftp.imagemagick.org/pub/ImageMagick/releases/"
/>
<repository
type="tarball"
name="jpeg"
href="http://www.ijg.org/files/"
/>
<repository
type="tarball"
name="github"
href="http://github.com/"
/>
<repository
type="tarball"
name="openjpeg"
href="https://github.com/uclouvain/openjpeg/archive/"
/>
<repository
type="tarball"
name="webp"
href="http://downloads.webmproject.org/releases/webp/"
/>
<repository
type="tarball"
name="gnu"
href="ftp://ftp.gnu.org/pub/gnu/"
/>
<repository
type="tarball"
name="gnome"
href="http://ftp.gnome.org/pub/GNOME/sources/"
/>
<repository
type="tarball"
name="sqlite3"
href="http://www.sqlite.org/"
/>
<repository
type="tarball"
name="xmlsoft"
href="ftp://xmlsoft.org/"
/>
<repository
type="tarball"
name="zlib"
href="https://zlib.net/"
/>
<!-- the zlib configure is a bit basic and does not support
cross-compiling, so use cmake
zlib will make libzlib.dll, but we want libz.dll so we must
patch CMakeLists.txt
-->
<cmake id="zlib"
cmakeargs="-D CMAKE_TOOLCHAIN_FILE=$BASEDIR/Toolchain-x86_64-w64-mingw32.cmake"
use-ninja="False"
>
<branch
repo="zlib"
module="zlib-1.2.11.tar.gz"
version="1.2.11"
>
<patch file="patches/zlib-name.patch" strip="1"/>
</branch>
</cmake>
<autotools id="libiconv"
autogen-sh="configure"
>
<branch
repo="gnu"
module="libiconv/libiconv-1.15.tar.gz"
version="1.15"
/>
</autotools>
<autotools id="gettext"
autogen-sh="configure"
autogenargs="--disable-java --disable-native-java --disable-csharp --enable-static --enable-threads=win32 --without-emacs --disable-openmp --without-cvs --without-git --with-included-libcroco --with-included-libunistring --with-included-libxml --with-included-glib"
>
<branch
repo="gnu"
module="gettext/gettext-0.19.8.tar.xz"
version="0.19.8"
/>
<dependencies>
<dep package="libiconv"/>
</dependencies>
</autotools>
<autotools id="expat"
autogen-sh="configure"
>
<branch
repo="sourceforge"
module="expat/expat-2.2.5.tar.bz2"
version="2.2.5"
/>
<dependencies>
<dep package="gettext"/>
<dep package="zlib"/>
</dependencies>
</autotools>
<autotools id="freetype"
autogen-sh="configure"
autogenargs="--enable-static"
>
<branch
repo="nongnu"
module="freetype/freetype-2.9.tar.gz"
version="2.9"
/>
<dependencies>
<dep package="gettext"/>
<dep package="expat"/>
</dependencies>
</autotools>
<!-- icu will pull in standard linux headers, which we don't want
-->
<autotools id="harfbuzz"
autogen-sh="configure"
autogenargs="--with-icu=no"
>
<branch
repo="freedesktop.org"
module="harfbuzz/release/harfbuzz-1.7.6.tar.bz2"
version="1.7.6"
/>
<dependencies>
<dep package="gettext"/>
<dep package="expat"/>
<dep package="freetype"/>
<dep package="cairo"/>
<dep package="fontconfig"/>
</dependencies>
</autotools>
<!-- I had a go, but it seems a little immature still and fails with a
range of errors
-->
<autotools id="fribidi"
>
<branch
repo="github"
module="fribidi/fribidi/archive/v1.0.1.tar.gz"
version="1.0.1"
checkoutdir="fribidi-1.0.1"
/>
<dependencies>
</dependencies>
</autotools>
<autotools id="fontconfig"
autogen-sh="configure"
>
<branch
repo="freedesktop.org"
module="fontconfig/release/fontconfig-2.12.6.tar.gz"
version="2.12.6"
/>
<dependencies>
<dep package="gettext"/>
<dep package="libpng"/>
<dep package="expat"/>
<dep package="freetype"/>
</dependencies>
</autotools>
<!-- no longer needed by libvips, but some of the deps need it
-->
<autotools id="libxml2"
autogen-sh="configure"
autogenargs="--without-python">
>
<branch
repo="xmlsoft"
module="libxml2/libxml2-2.9.8.tar.gz"
version="2.9.8"
/>
<dependencies>
<dep package="gettext"/>
</dependencies>
</autotools>
<!-- The latest libpng v1.6.34 doesn't play nicely with cairo so I've only
pushed it as far as v1.6.30
-->
<autotools id="libpng"
autogen-sh="configure"
>
<branch
repo="sourceforge"
module="libpng/libpng-1.6.30.tar.gz"
version="1.6.30"
/>
<dependencies>
<dep package="zlib"/>
<dep package="gettext"/>
</dependencies>
</autotools>
<!-- giflib does not automatically open binary when cross-compiling
-->
<autotools id="giflib"
autogen-sh="configure"
makeargs="CFLAGS=-D_OPEN_BINARY"
>
<branch
repo="sourceforge"
module="giflib/giflib-5.1.4.tar.gz"
version="5.1.4"
/>
<dependencies>
<dep package="zlib"/>
<dep package="gettext"/>
</dependencies>
</autotools>
<autotools id="libcroco" supports-non-srcdir-builds="no">
<pkg-config>libcroco-0.6.pc</pkg-config>
<branch
repo="gnome"
module="libcroco/0.6/libcroco-0.6.12.tar.xz"
version="0.6.12">
</branch>
<dependencies>
<dep package="glib"/>
<dep package="libxml2"/>
</dependencies>
</autotools>
<!-- librsvg v2.40.20 has a small memory leak, v2.42.0+ requires
Rust toolchain
-->
<autotools id="librsvg"
supports-non-srcdir-builds="no"
autogenargs="--disable-introspection --disable-pixbuf-loader">
>
<branch
repo="gnome"
module="librsvg/2.40/librsvg-2.40.19.tar.xz"
version="2.40.19">
</branch>
<dependencies>
<dep package="glib"/>
<dep package="gdk-pixbuf"/>
<dep package="libcroco"/>
<dep package="pango"/>
</dependencies>
</autotools>
<!-- here's one for poppler 0.62, but it fails cross-compiling with a
mysterious c++ link error, probably the same thing that affects
current openjpeg, see below
<cmake id="poppler"
cmakeargs="-D CMAKE_TOOLCHAIN_FILE=$BASEDIR/Toolchain-x86_64-w64-mingw32.cmake -D FONT_CONFIGURATION=win32 -D ENABLE_XPDF_HEADERS=OFF -D ENABLE_SPLASH=OFF -D ENABLE_GLIB=ON -D ENABLE_UTILS=OFF -D ENABLE_CPP=OFF"
use-ninja="False"
>
<pkg-config>poppler-glib.pc</pkg-config>
<branch repo="poppler.freedesktop.org"
module="poppler-0.62.0.tar.xz"
version="0.62.0"
/>
<dependencies>
<dep package="cairo"/>
<dep package="openjpeg"/>
<dep package="glib"/>
</dependencies>
<after>
<dep package="gdk-pixbuf"/>
</after>
</cmake>
-->
<autotools id="poppler"
autogenargs="--with-font-configuration=win32 --disable-xpdf-headers --disable-splash-output --enable-poppler-glib --disable-gtk-test --disable-utils --disable-poppler-cpp"
makeargs="POPPLER_GLIB_DISABLE_DEPRECATED="
>
<pkg-config>poppler-glib.pc</pkg-config>
<branch repo="poppler.freedesktop.org"
module="poppler-0.46.0.tar.xz"
version="0.46.0"
/>
<dependencies>
<dep package="cairo"/>
<dep package="openjpeg"/>
<dep package="glib"/>
</dependencies>
<after>
<dep package="gdk-pixbuf"/>
</after>
</autotools>
<autotools id="fftw3"
autogen-sh="configure"
autogenargs="--disable-static --enable-shared --disable-threads"
>
<branch
repo="fftw"
module="fftw-3.3.7.tar.gz"
version="3.3.7"
/>
<dependencies>
<dep package="gettext"/>
</dependencies>
</autotools>
<autotools id="lcms"
autogen-sh="configure"
>
<branch
repo="sourceforge"
module="lcms/lcms2-2.9.tar.gz"
version="2.9"
/>
<dependencies>
<dep package="zlib"/>
<dep package="gettext"/>
</dependencies>
</autotools>
<!-- needed by openslide
BASEDIR is set for us by build.sh
2.1.1 works
2.3 fails with a mysterious c++ error
-->
<cmake id="openjpeg"
cmakeargs="-D BUILD_PKGCONFIG_FILES=ON -D CMAKE_TOOLCHAIN_FILE=$BASEDIR/Toolchain-x86_64-w64-mingw32.cmake"
use-ninja="False"
>
<branch
repo="openjpeg"
module="v2.1.1.tar.gz"
checkoutdir="openjpeg-2.1"
version="2.1"
/>
<dependencies>
<dep package="lcms"/>
<dep package="tiff"/>
</dependencies>
</cmake>
<!-- starting with openslide-3.4.0, sqlite3 is a requirement.
-->
<autotools id="sqlite3"
autogen-sh="configure"
>
<branch
repo="sqlite3"
module="2018/sqlite-autoconf-3220000.tar.gz"
version="3.22.0"
/>
<dependencies>
<dep package="gettext"/>
</dependencies>
</autotools>
<autotools id="openslide"
autogen-sh="configure"
>
<branch
repo="github"
module="openslide/openslide/releases/download/v3.4.1/openslide-3.4.1.tar.gz"
version="3.4.1"
>
</branch>
<dependencies>
<dep package="zlib"/>
<dep package="cairo"/>
<dep package="gdk-pixbuf"/>
<dep package="openjpeg"/>
<dep package="sqlite3"/>
</dependencies>
</autotools>
<!-- the turbo one is 2x to 4x faster
the patch changes the "typedef int boolean" that libjpeg-turbo
provides, it conflicts with some standard Windows headers and causes
compile errors later
without-turbojpeg turns off a library we don't use (we just use the
libjpeg API)
-->
<autotools id="libjpeg-turbo"
autogen-sh="configure --without-turbojpeg"
>
<branch
repo="sourceforge"
module="libjpeg-turbo/1.5.3/libjpeg-turbo-1.5.3.tar.gz"
version="1.5.3"
>
<patch file="patches/libjpeg-turbo-bool.patch" strip="1"/>
</branch>
<dependencies>
<dep package="zlib"/>
<dep package="gettext"/>
</dependencies>
</autotools>
<!-- The patch sanity checks the shutter speed and stops pow(2, -inf), which
causes an uncaught math exception on mingw
-->
<autotools id="libexif"
autogen-sh="configure"
>
<branch
repo="sourceforge"
module="libexif/libexif-0.6.21.tar.gz"
version="0.6.21"
>
<patch file="patches/libexif-0.6-shutter.patch" strip="1"/>
</branch>
<dependencies>
<dep package="zlib"/>
<dep package="gettext"/>
</dependencies>
</autotools>
<!-- tiff 4.0.3 fails to build a C++ DLL with:
i686-w64-mingw32-g++: error: unrecognized option
'-enable-auto-image-base'
disable the C++ API for now, we don't use it anyway
-->
<autotools id="tiff"
autogen-sh="configure"
autogenargs="--disable-cxx"
>
<branch
repo="tiff"
module="tiff-4.0.9.tar.gz"
version="4.0.9"
>
</branch>
<dependencies>
<dep package="zlib"/>
<dep package="libjpeg-turbo"/>
</dependencies>
</autotools>
<!-- libMagick++.dll fails to link due to some exception problem, disable it
disable largefile support, we rely on vips for that and ImageMagick's
detection does not work when cross-compiling
disable openmp, ubuntu 14.04 mingw has a broken libgomp
6.8.9-10 works
6.9.3-10 fails with a winsock link error
6.9.9-37 fails since it does not link against -lws2_32
7.x is much slower (though libvips does support it)
since we are forced to use a very old version, don't use vips + IM on
Windows if you are at all concerned about security :(
-->
<autotools id="imagemagick"
autogen-sh="configure"
autogenargs="--without-threads --without-x --with-modules=no --with-openexr=no --without-gvc --without-lqr --without-magick-plus-plus --disable-largefile --without-rsvg --disable-openmp"
>
<branch
repo="magick"
module="ImageMagick-6.8.9-10.tar.xz"
version="6.8.9"
/>
<dependencies>
<dep package="lcms"/>
<dep package="fftw3"/>
<dep package="tiff"/>
<dep package="libjpeg-turbo"/>
</dependencies>
</autotools>
<!-- build vips with orc and you get segv if you try to use it, not tried
to track down why, leave it off now for
-->
<autotools id="orc-0.4"
autogen-sh="configure"
>
<branch
repo="orc"
module="orc-0.4.28.tar.xz"
version="0.4.28"
/>
<dependencies>
<dep package="gettext"/>
</dependencies>
</autotools>
<!-- cfitsio can't make a .dll with mingw ... only include it in nip2 builds
where we don't care about making a libvips.dll
-->
<autotools id="cfitsio"
autogen-sh="configure"
autogenargs="--disable-hera --without-gsiftp"
>
<branch
repo="cfitsio"
module="cfitsio3430.tar.gz"
version="3.43"
checkoutdir="cfitsio"
>
</branch>
<dependencies>
<dep package="zlib"/>
<dep package="gettext"/>
</dependencies>
</autotools>
<autotools id="webp"
autogen-sh="configure"
autogenargs="--enable-libwebpmux --enable-libwebpdemux"
>
<branch
repo="webp"
module="libwebp-0.6.1.tar.gz"
version="0.6.1"
>
</branch>
<dependencies>
<dep package="libpng"/>
<dep package="libjpeg-turbo"/>
<dep package="giflib"/>
<dep package="tiff"/>
<dep package="gettext"/>
</dependencies>
</autotools>
<autotools id="libffi">
<branch
repo="sourceware"
module="libffi/libffi-3.2.1.tar.gz"
version="3.2.1"
>
</branch>
<dependencies>
<dep package="gettext"/>
</dependencies>
</autotools>
<!-- don't do any of doc stuff
-->
<!-- glib 2.55.0 is available but the g_stat refactoring is slightly buggy
https://github.com/GNOME/glib/commit/53bd6a359f2c48e7729f89902097c892c8aa6fea
-->
<autotools id="glib"
autogenargs="--with-pcre=internal"
>
<branch
repo="gnome"
module="glib/2.54/glib-2.54.2.tar.xz"
version="2.54.2"
>
</branch>
<dependencies>
<dep package="zlib"/>
<dep package="libffi"/>
<dep package="gettext"/>
</dependencies>
</autotools>
<autotools id="pixman"
autogen-sh="configure"
>
<branch
repo="cairo"
module="pixman-0.34.0.tar.gz"
version="0.34.0"
>
</branch>
<dependencies>
<dep package="zlib"/>
<dep package="gettext"/>
</dependencies>
</autotools>
<!-- 1.14.4 fails to build in a cross-compiler
openslide needs the pdf backend
node canvas needs a cairo with SVG support, so don't disable-svg
-->
<autotools id="cairo"
autogenargs="--disable-gl --disable-xlib --disable-xcb --enable-win32 --without-x --disable-ps --disable-script"
>
<branch
repo="cairo"
module="cairo-1.14.12.tar.xz"
version="1.14.12"
>
</branch>
<dependencies>
<dep package="fontconfig"/>
<dep package="freetype"/>
<dep package="glib"/>
<dep package="pixman"/>
<dep package="libpng"/>
</dependencies>
</autotools>
<!-- pango 1.41 uses fribidi, which does not yet cross-compile well
-->
<autotools id="pango"
autogenargs="--with-cairo --disable-introspection"
>
<branch
repo="gnome"
module="pango/1.40/pango-1.40.14.tar.xz"
version="1.40.14"
>
</branch>
<dependencies>
<dep package="glib"/>
<dep package="cairo"/>
<dep package="freetype"/>
<dep package="harfbuzz"/>
</dependencies>
</autotools>
<!-- don't build from git ... it does some introspection to build the test
suite build files, which won't work in cross-compiler mode
disable run-time loading of modules .. it's difficult when cross-compiling
2.36.6 fails to build with an error in the thumbnailer
-->
<autotools id="gdk-pixbuf"
autogenargs="--disable-introspection --disable-installed-tests --disable-always-build-tests --disable-glibtest --disable-modules --with-included-loaders 'png,jpeg'"
>
<branch
repo="gnome"
module="gdk-pixbuf/2.36/gdk-pixbuf-2.36.0.tar.xz"
version="2.36.0"
>
</branch>
<dependencies>
<dep package="glib"/>
<dep package="libjpeg-turbo"/>
<dep package="tiff"/>
<dep package="libpng"/>
</dependencies>
</autotools>
<autotools id="libgsf"
autogen-sh="configure"
autogenargs="--without-gdk-pixbuf"
>
<branch
repo="gnome"
module="libgsf/1.14/libgsf-1.14.42.tar.xz"
version="1.14.42">
</branch>
<dependencies>
<dep package="glib"/>
</dependencies>
</autotools>
<!-- openexr has a range of problems cross-compiling
the first thing it does it build a couple of small programs to generate
some headers, but of course they need to be compiled with the
non-cross-compiler argh
it also becomes very confused re. threading
-->
<autotools id="ilmbase"
autogen-sh="configure"
>
<branch
repo="nongnu"
module="openexr/ilmbase-2.2.1.tar.gz"
version="2.2.1"
/>
<dependencies>
<dep package="gettext"/>
</dependencies>
</autotools>
<autotools id="openexr"
autogen-sh="configure"
>
<branch
repo="nongnu"
module="openexr/openexr-2.2.1.tar.gz"
version="2.2.1"
/>
<dependencies>
<dep package="ilmbase"/>
</dependencies>
</autotools>
<!-- sadly hdf5 does not like cross-compiling
-->
<autotools id="hdf5"
autogen-sh="configure"
>
<branch
repo="hdf5"
module="hdf5-1.10.1.tar.gz"
version="1.10.1"
/>
<dependencies>
<dep package="gettext"/>
</dependencies>
</autotools>
<!-- use matio without hdf5, see above
1.5.6 works
1.5.8 and 1.5.11 fail to build in a cross-compiler
-->
<autotools id="matio"
autogen-sh="configure"
autogenargs="--disable-static"
>
<branch
repo="sourceforge"
module="matio/matio-1.5.6.tar.gz"
version="1.5.6"
/>
<dependencies>
<dep package="gettext"/>
<dep package="zlib"/>
</dependencies>
</autotools>
<!-- cfitsio cannot make a .dll with mingw, only include it if you must
have it
the transform patch is some non-LGPL code we paste into binaries
introspection won't work cross-platform since we can't easily run our
objects ... fix this by including the typelibs in the dist later
use -O3 to turn on the auto vectorizer, this gives a useful speedup in
7.38 and later
orc causes an immediate segv, not tried to diagnose yet
<dep package="orc-0.4"/>
-->
<autotools id="libvips-all"
autogen-sh="configure"
autogenargs="--enable-debug=no --without-OpenEXR --disable-introspection "
makeargs="CFLAGS=-O3 CXXFLAGS=-O3"
>
<branch
repo="vips"
module="v8.6.3/vips-8.6.3.tar.gz"
version="8.6.3"
>
</branch>
<dependencies>
<dep package="matio"/>
<dep package="webp"/>
<dep package="librsvg"/>
<dep package="giflib"/>
<dep package="poppler"/>
<dep package="glib"/>
<dep package="pango"/>
<dep package="fftw3"/>
<dep package="libgsf"/>
<dep package="libjpeg-turbo"/>
<dep package="tiff"/>
<dep package="openslide"/>
<dep package="lcms"/>
<dep package="libexif"/>
<dep package="imagemagick"/>
<dep package="libpng"/>
</dependencies>
</autotools>
<!-- libvips with a set of deps for web use
don't include support for less-used file formats in an attempt to