gdk_pixbuf2 2.0.2-x86-mingw32 → 2.0.3-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README +1 -1
- data/Rakefile +9 -2
- data/lib/1.9/gdk_pixbuf2.so +0 -0
- data/lib/2.0/gdk_pixbuf2.so +0 -0
- data/lib/gdk_pixbuf2.rb +5 -0
- data/vendor/local/bin/gdk-pixbuf-csource.exe +0 -0
- data/vendor/local/bin/gdk-pixbuf-pixdata.exe +0 -0
- data/vendor/local/bin/gdk-pixbuf-query-loaders.exe +0 -0
- data/vendor/local/bin/libgdk_pixbuf-2.0-0.dll +0 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +3 -3
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h +3 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache +146 -7
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.la +41 -0
- data/vendor/local/lib/gdk_pixbuf-2.0.def +1 -0
- data/vendor/local/lib/girepository-1.0/GdkPixbuf-2.0.typelib +0 -0
- data/vendor/local/lib/libgdk_pixbuf-2.0.dll.a +0 -0
- data/vendor/local/lib/libgdk_pixbuf-2.0.la +4 -4
- data/vendor/local/lib/pkgconfig/gdk-pixbuf-2.0.pc +1 -1
- data/vendor/local/share/gir-1.0/GdkPixbuf-2.0.gir +513 -485
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html +119 -69
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/annotation-glossary.html +34 -46
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-12.html +10 -13
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-14.html +13 -16
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-2.html +17 -20
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-26.html +13 -16
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-28.html +11 -14
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-30.html +35 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-4.html +17 -20
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-6.html +15 -18
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-8.html +10 -13
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-deprecated.html +15 -18
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-full.html +41 -40
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Animations.html +97 -100
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html +118 -121
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-saving.html +119 -122
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html +38 -41
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Inline-data.html +50 -53
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Module-Interface.html +74 -77
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html +26 -29
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Scaling.html +29 -32
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html +53 -53
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Utilities.html +29 -32
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Versioning.html +15 -18
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-X-Drawables-to-Pixbufs.html +15 -18
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Xlib-Rendering.html +12 -15
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-XlibRGB.html +20 -23
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-csource.html +13 -13
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-Xlib-initialization.html +12 -15
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-from-drawables.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-rendering.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-query-loaders.html +12 -12
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf.devhelp2 +3 -1
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.html +6 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.sgml +6 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/license.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn01.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn02.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/style.css +71 -16
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/up.png +0 -0
- data/vendor/local/share/locale/af/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ang/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/br/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/crh/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/csb/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ia/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/io/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/is/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ku/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/li/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/my/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nds/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nso/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sr@ije/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/uz/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/uz@cyrillic/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/man/man1/gdk-pixbuf-csource.1 +1 -1
- data/vendor/local/share/man/man1/gdk-pixbuf-query-loaders.1 +1 -1
- metadata +32 -41
- data/vendor/local/bin/libpng14-14.dll +0 -0
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/include/libpng14/png.h +0 -2737
- data/vendor/local/include/libpng14/pngconf.h +0 -1552
- data/vendor/local/include/png.h +0 -2737
- data/vendor/local/include/pngconf.h +0 -1552
- data/vendor/local/include/zconf.h +0 -461
- data/vendor/local/include/zlib.h +0 -1589
- data/vendor/local/lib/libpng.def +0 -192
- data/vendor/local/lib/libpng.lib +0 -0
- data/vendor/local/lib/libpng14.dll.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/libpng.pc +0 -11
- data/vendor/local/lib/pkgconfig/libpng14.pc +0 -11
- data/vendor/local/lib/zdll.lib +0 -0
- data/vendor/local/lib/zlib.def +0 -67
- data/vendor/local/manifest/libpng-dev_1.4.12-1_win32.mft +0 -15
- data/vendor/local/manifest/libpng_1.4.12-1_win32.mft +0 -2
- data/vendor/local/manifest/zlib-dev_1.2.5-2_win32.mft +0 -8
- data/vendor/local/manifest/zlib_1.2.5-2_win32.mft +0 -2
- data/vendor/local/share/man/man3/libpng.3 +0 -4605
- data/vendor/local/share/man/man3/libpngpf.3 +0 -802
- data/vendor/local/share/man/man5/png.5 +0 -74
- data/vendor/local/src/dieterv/packaging/libpng_1.4.12-1_win32.log +0 -283
- data/vendor/local/src/dieterv/packaging/libpng_1.4.12-1_win32.sh +0 -71
- data/vendor/local/src/tml/packaging/zlib_1.2.5-2_win32.log +0 -42
- data/vendor/local/src/tml/packaging/zlib_1.2.5-2_win32.sh +0 -189
@@ -1,189 +0,0 @@
|
|
1
|
-
# This is a shell script that calls functions and scripts from
|
2
|
-
# tml@iki.fi's personal work environment. It is not expected to be
|
3
|
-
# usable unmodified by others, and is included only for reference.
|
4
|
-
|
5
|
-
MOD=zlib
|
6
|
-
VER=1.2.5
|
7
|
-
REV=2
|
8
|
-
ARCH=win32
|
9
|
-
|
10
|
-
THIS=${MOD}_${VER}-${REV}_${ARCH}
|
11
|
-
|
12
|
-
RUNZIP=${THIS}.zip
|
13
|
-
DEVZIP=${MOD}-dev_${VER}-${REV}_${ARCH}.zip
|
14
|
-
|
15
|
-
HEX=`echo $THIS | md5sum | cut -d' ' -f1`
|
16
|
-
TARGET=c:/devel/target/$HEX
|
17
|
-
|
18
|
-
usedev
|
19
|
-
|
20
|
-
(
|
21
|
-
|
22
|
-
set -x
|
23
|
-
|
24
|
-
UPSTREAM_ZIP=/c/tmp/downloads/zlib125-dll.zip
|
25
|
-
T=/tmp/zlib-$$
|
26
|
-
|
27
|
-
rm -rf $T &&
|
28
|
-
|
29
|
-
mkdir -p $TARGET/{bin,include,lib} $T &&
|
30
|
-
|
31
|
-
cd $T
|
32
|
-
unzip $UPSTREAM_ZIP &&
|
33
|
-
|
34
|
-
dos2unix include/zlib.h &&
|
35
|
-
dos2unix include/zconf.h &&
|
36
|
-
|
37
|
-
patch -p0 <<'EOF'
|
38
|
-
--- include/zlib.h
|
39
|
-
+++ include/zlib.h
|
40
|
-
@@ -1556,44 +1556,20 @@
|
41
|
-
inflateBackInit_((strm), (windowBits), (window), \
|
42
|
-
ZLIB_VERSION, sizeof(z_stream))
|
43
|
-
|
44
|
-
+/* LFS conventions have no meaning on Windows. Looking for feature
|
45
|
-
+ * macros like _LARGEFILE64_SOURCE or _FILE_OFFSET_BITS on Windows is
|
46
|
-
+ * wrong. So make sure any such macros misguidedly defined by the
|
47
|
-
+ * user have no effect. Windows has large file support, but the
|
48
|
-
+ * official zlib DLL has not been built to provide the 64-bit offset
|
49
|
-
+ * APIs, sigh. So we have just patched out the 64-bit offset API
|
50
|
-
+ * from this header file.
|
51
|
-
+ */
|
52
|
-
-/* provide 64-bit offset functions if _LARGEFILE64_SOURCE defined, and/or
|
53
|
-
- * change the regular functions to 64 bits if _FILE_OFFSET_BITS is 64 (if
|
54
|
-
- * both are true, the application gets the *64 functions, and the regular
|
55
|
-
- * functions are changed to 64 bits) -- in case these are set on systems
|
56
|
-
- * without large file support, _LFS64_LARGEFILE must also be true
|
57
|
-
- */
|
58
|
-
-#if defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0
|
59
|
-
- ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *));
|
60
|
-
- ZEXTERN z_off64_t ZEXPORT gzseek64 OF((gzFile, z_off64_t, int));
|
61
|
-
- ZEXTERN z_off64_t ZEXPORT gztell64 OF((gzFile));
|
62
|
-
- ZEXTERN z_off64_t ZEXPORT gzoffset64 OF((gzFile));
|
63
|
-
- ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off64_t));
|
64
|
-
- ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off64_t));
|
65
|
-
-#endif
|
66
|
-
-
|
67
|
-
-#if !defined(ZLIB_INTERNAL) && _FILE_OFFSET_BITS-0 == 64 && _LFS64_LARGEFILE-0
|
68
|
-
-# define gzopen gzopen64
|
69
|
-
-# define gzseek gzseek64
|
70
|
-
-# define gztell gztell64
|
71
|
-
-# define gzoffset gzoffset64
|
72
|
-
-# define adler32_combine adler32_combine64
|
73
|
-
-# define crc32_combine crc32_combine64
|
74
|
-
-# ifdef _LARGEFILE64_SOURCE
|
75
|
-
- ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *));
|
76
|
-
- ZEXTERN z_off_t ZEXPORT gzseek64 OF((gzFile, z_off_t, int));
|
77
|
-
- ZEXTERN z_off_t ZEXPORT gztell64 OF((gzFile));
|
78
|
-
- ZEXTERN z_off_t ZEXPORT gzoffset64 OF((gzFile));
|
79
|
-
- ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off_t));
|
80
|
-
- ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off_t));
|
81
|
-
-# endif
|
82
|
-
-#else
|
83
|
-
ZEXTERN gzFile ZEXPORT gzopen OF((const char *, const char *));
|
84
|
-
ZEXTERN z_off_t ZEXPORT gzseek OF((gzFile, z_off_t, int));
|
85
|
-
ZEXTERN z_off_t ZEXPORT gztell OF((gzFile));
|
86
|
-
ZEXTERN z_off_t ZEXPORT gzoffset OF((gzFile));
|
87
|
-
ZEXTERN uLong ZEXPORT adler32_combine OF((uLong, uLong, z_off_t));
|
88
|
-
ZEXTERN uLong ZEXPORT crc32_combine OF((uLong, uLong, z_off_t));
|
89
|
-
-#endif
|
90
|
-
|
91
|
-
/* hack for buggy compilers */
|
92
|
-
#if !defined(ZUTIL_H) && !defined(NO_DUMMY_DECL)
|
93
|
-
--- include/zconf.h
|
94
|
-
+++ include/zconf.h
|
95
|
-
@@ -270,7 +270,31 @@
|
96
|
-
# endif
|
97
|
-
#endif
|
98
|
-
|
99
|
-
+/* When a specific build of zlib is done on Windows, it is either a
|
100
|
-
+ * DLL or not. That build should have a specific corresponding zconf.h
|
101
|
-
+ * distributed. The zconf.h thus knows a priori whether the
|
102
|
-
+ * corresponding library was built as a DLL or not. Requiring the
|
103
|
-
+ * library user to define ZLIB_DLL when compiling his code, intending
|
104
|
-
+ * to link against the import library for such a DLL build, is
|
105
|
-
+ * silly. Instead just unconditionally define ZLIB_DLL here as the
|
106
|
-
+ * official Windows build of zlib is a DLL, period.
|
107
|
-
+ *
|
108
|
-
+ * Similarly, when a specific build of zlib is done on (32-bit)
|
109
|
-
+ * Windows, it either uses the WINAPI calling convention or not. A
|
110
|
-
+ * user of a prebuilt library can not choose later. So it is pointless
|
111
|
-
+ * to require the user to define ZLIB_WINAPI when compiling. Instead,
|
112
|
-
+ * just have a specific copy of this zconf.h that corresponds to that
|
113
|
-
+ * build of zlib. For the case of the official build, it doe not use WINAPI,
|
114
|
-
+ * so ignore any attempt by a misguided user to use it.
|
115
|
-
+ */
|
116
|
-
+
|
117
|
-
+#undef ZLIB_DLL
|
118
|
-
+#define ZLIB_DLL 1
|
119
|
-
+
|
120
|
-
+#undef ZLIB_WINAPI
|
121
|
-
+
|
122
|
-
#if defined(WINDOWS) || defined(WIN32)
|
123
|
-
+ /* NOTE: Bogus. See above comment about ZLIB_DLL */
|
124
|
-
/* If building or using zlib as a DLL, define ZLIB_DLL.
|
125
|
-
* This is not mandatory, but it offers a little performance increase.
|
126
|
-
*/
|
127
|
-
@@ -283,6 +307,8 @@
|
128
|
-
# endif
|
129
|
-
# endif
|
130
|
-
# endif /* ZLIB_DLL */
|
131
|
-
+
|
132
|
-
+ /* NOTE: Bogus. See above comment about ZLIB_WINAPI */
|
133
|
-
/* If building or using zlib with the WINAPI/WINAPIV calling convention,
|
134
|
-
* define ZLIB_WINAPI.
|
135
|
-
* Caution: the standard ZLIB1.DLL is NOT compiled using ZLIB_WINAPI.
|
136
|
-
@@ -364,17 +390,24 @@
|
137
|
-
# include <sys/types.h> /* for off_t */
|
138
|
-
#endif
|
139
|
-
|
140
|
-
+/* LFS conventions have no meaning on Windows. Looking for feature
|
141
|
-
+ * macros like _LARGEFILE64_SOURCE or _FILE_OFFSET_BITS on Windows is
|
142
|
-
+ * wrong. So make sure any such macros misguidedly defined by the user
|
143
|
-
+ * have no effect. Windows has large file support, but the official zlib
|
144
|
-
+ * DLL has not been built to provide the 64-bit offset APIs, sigh.
|
145
|
-
+ */
|
146
|
-
+
|
147
|
-
/* a little trick to accommodate both "#define _LARGEFILE64_SOURCE" and
|
148
|
-
* "#define _LARGEFILE64_SOURCE 1" as requesting 64-bit operations, (even
|
149
|
-
* though the former does not conform to the LFS document), but considering
|
150
|
-
* both "#undef _LARGEFILE64_SOURCE" and "#define _LARGEFILE64_SOURCE 0" as
|
151
|
-
* equivalently requesting no 64-bit operations
|
152
|
-
*/
|
153
|
-
-#if -_LARGEFILE64_SOURCE - -1 == 1
|
154
|
-
+#if !defined(_WIN32) && -_LARGEFILE64_SOURCE - -1 == 1
|
155
|
-
# undef _LARGEFILE64_SOURCE
|
156
|
-
#endif
|
157
|
-
|
158
|
-
-#if defined(Z_HAVE_UNISTD_H) || defined(_LARGEFILE64_SOURCE)
|
159
|
-
+#if !defined(_WIN32) && (defined(Z_HAVE_UNISTD_H) || defined(_LARGEFILE64_SOURCE))
|
160
|
-
# include <unistd.h> /* for SEEK_* and off_t */
|
161
|
-
# ifdef VMS
|
162
|
-
# include <unixio.h> /* for off_t */
|
163
|
-
@@ -394,7 +426,7 @@
|
164
|
-
# define z_off_t long
|
165
|
-
#endif
|
166
|
-
|
167
|
-
-#if defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0
|
168
|
-
+#if !defined(_WIN32) && (defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0)
|
169
|
-
# define z_off64_t off64_t
|
170
|
-
#else
|
171
|
-
# define z_off64_t z_off_t
|
172
|
-
EOF
|
173
|
-
|
174
|
-
pexports zlib1.dll >zlib.def &&
|
175
|
-
dlltool --input-def zlib.def --dllname zlib1.dll --output-lib libz.dll.a &&
|
176
|
-
cp zlib1.dll $TARGET/bin &&
|
177
|
-
cp lib/zdll.lib libz.dll.a zlib.def $TARGET/lib &&
|
178
|
-
cp include/zlib.h include/zconf.h $TARGET/include &&
|
179
|
-
|
180
|
-
rm -f /tmp/$RUNZIP /tmp/$DEVZIP &&
|
181
|
-
(cd /devel/target/$HEX &&
|
182
|
-
zip /tmp/$RUNZIP bin/zlib1.dll &&
|
183
|
-
zip -r -D /tmp/$DEVZIP lib include
|
184
|
-
)
|
185
|
-
|
186
|
-
) 2>&1 | tee /devel/src/tml/packaging/$THIS.log
|
187
|
-
|
188
|
-
(cd /devel && zip /tmp/$DEVZIP src/tml/packaging/$THIS.{sh,log}) &&
|
189
|
-
manifestify /tmp/$RUNZIP /tmp/$DEVZIP
|