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.
Files changed (203) hide show
  1. checksums.yaml +7 -0
  2. data/README +1 -1
  3. data/Rakefile +9 -2
  4. data/lib/1.9/gdk_pixbuf2.so +0 -0
  5. data/lib/2.0/gdk_pixbuf2.so +0 -0
  6. data/lib/gdk_pixbuf2.rb +5 -0
  7. data/vendor/local/bin/gdk-pixbuf-csource.exe +0 -0
  8. data/vendor/local/bin/gdk-pixbuf-pixdata.exe +0 -0
  9. data/vendor/local/bin/gdk-pixbuf-query-loaders.exe +0 -0
  10. data/vendor/local/bin/libgdk_pixbuf-2.0-0.dll +0 -0
  11. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +3 -3
  12. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h +3 -0
  13. data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache +146 -7
  14. data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.a +0 -0
  15. data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll +0 -0
  16. data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll.a +0 -0
  17. data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.la +41 -0
  18. data/vendor/local/lib/gdk_pixbuf-2.0.def +1 -0
  19. data/vendor/local/lib/girepository-1.0/GdkPixbuf-2.0.typelib +0 -0
  20. data/vendor/local/lib/libgdk_pixbuf-2.0.dll.a +0 -0
  21. data/vendor/local/lib/libgdk_pixbuf-2.0.la +4 -4
  22. data/vendor/local/lib/pkgconfig/gdk-pixbuf-2.0.pc +1 -1
  23. data/vendor/local/share/gir-1.0/GdkPixbuf-2.0.gir +513 -485
  24. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html +119 -69
  25. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/annotation-glossary.html +34 -46
  26. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-12.html +10 -13
  27. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-14.html +13 -16
  28. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-2.html +17 -20
  29. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-26.html +13 -16
  30. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-28.html +11 -14
  31. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-30.html +35 -0
  32. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-4.html +17 -20
  33. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-6.html +15 -18
  34. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-8.html +10 -13
  35. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-deprecated.html +15 -18
  36. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-full.html +41 -40
  37. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Animations.html +97 -100
  38. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html +118 -121
  39. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-saving.html +119 -122
  40. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html +38 -41
  41. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Inline-data.html +50 -53
  42. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Module-Interface.html +74 -77
  43. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html +26 -29
  44. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Scaling.html +29 -32
  45. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html +53 -53
  46. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Utilities.html +29 -32
  47. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Versioning.html +15 -18
  48. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-X-Drawables-to-Pixbufs.html +15 -18
  49. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Xlib-Rendering.html +12 -15
  50. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-XlibRGB.html +20 -23
  51. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-csource.html +13 -13
  52. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-Xlib-initialization.html +12 -15
  53. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-from-drawables.html +10 -10
  54. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-rendering.html +10 -10
  55. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-query-loaders.html +12 -12
  56. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf.devhelp2 +3 -1
  57. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/home.png +0 -0
  58. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.html +6 -5
  59. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.sgml +6 -5
  60. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/left-insensitive.png +0 -0
  61. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/left.png +0 -0
  62. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/license.html +10 -10
  63. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/right-insensitive.png +0 -0
  64. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/right.png +0 -0
  65. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn01.html +10 -10
  66. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn02.html +10 -10
  67. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/style.css +71 -16
  68. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/up-insensitive.png +0 -0
  69. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/up.png +0 -0
  70. data/vendor/local/share/locale/af/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  71. data/vendor/local/share/locale/ang/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  72. data/vendor/local/share/locale/ar/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  73. data/vendor/local/share/locale/as/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  74. data/vendor/local/share/locale/ast/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  75. data/vendor/local/share/locale/az/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  76. data/vendor/local/share/locale/be/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  77. data/vendor/local/share/locale/be@latin/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  78. data/vendor/local/share/locale/bg/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  79. data/vendor/local/share/locale/bn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  80. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  81. data/vendor/local/share/locale/br/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  82. data/vendor/local/share/locale/bs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  83. data/vendor/local/share/locale/ca/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  84. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  85. data/vendor/local/share/locale/crh/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  86. data/vendor/local/share/locale/cs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  87. data/vendor/local/share/locale/csb/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  88. data/vendor/local/share/locale/cy/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  89. data/vendor/local/share/locale/da/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  90. data/vendor/local/share/locale/de/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  91. data/vendor/local/share/locale/dz/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  92. data/vendor/local/share/locale/el/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  93. data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  94. data/vendor/local/share/locale/en_CA/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  95. data/vendor/local/share/locale/en_GB/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  96. data/vendor/local/share/locale/eo/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  97. data/vendor/local/share/locale/es/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  98. data/vendor/local/share/locale/et/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  99. data/vendor/local/share/locale/eu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  100. data/vendor/local/share/locale/fa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  101. data/vendor/local/share/locale/fi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  102. data/vendor/local/share/locale/fr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  103. data/vendor/local/share/locale/ga/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  104. data/vendor/local/share/locale/gl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  105. data/vendor/local/share/locale/gu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  106. data/vendor/local/share/locale/he/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  107. data/vendor/local/share/locale/hi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  108. data/vendor/local/share/locale/hr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  109. data/vendor/local/share/locale/hu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  110. data/vendor/local/share/locale/hy/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  111. data/vendor/local/share/locale/ia/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  112. data/vendor/local/share/locale/id/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  113. data/vendor/local/share/locale/io/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  114. data/vendor/local/share/locale/is/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  115. data/vendor/local/share/locale/it/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  116. data/vendor/local/share/locale/ja/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  117. data/vendor/local/share/locale/ka/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  118. data/vendor/local/share/locale/km/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  119. data/vendor/local/share/locale/kn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  120. data/vendor/local/share/locale/ko/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  121. data/vendor/local/share/locale/ku/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  122. data/vendor/local/share/locale/li/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  123. data/vendor/local/share/locale/lt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  124. data/vendor/local/share/locale/lv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  125. data/vendor/local/share/locale/mai/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  126. data/vendor/local/share/locale/mi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  127. data/vendor/local/share/locale/mk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  128. data/vendor/local/share/locale/ml/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  129. data/vendor/local/share/locale/mn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  130. data/vendor/local/share/locale/mr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  131. data/vendor/local/share/locale/ms/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  132. data/vendor/local/share/locale/my/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  133. data/vendor/local/share/locale/nb/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  134. data/vendor/local/share/locale/nds/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  135. data/vendor/local/share/locale/ne/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  136. data/vendor/local/share/locale/nl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  137. data/vendor/local/share/locale/nn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  138. data/vendor/local/share/locale/nso/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  139. data/vendor/local/share/locale/oc/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  140. data/vendor/local/share/locale/or/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  141. data/vendor/local/share/locale/pa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  142. data/vendor/local/share/locale/pl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  143. data/vendor/local/share/locale/ps/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  144. data/vendor/local/share/locale/pt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  145. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  146. data/vendor/local/share/locale/ro/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  147. data/vendor/local/share/locale/ru/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  148. data/vendor/local/share/locale/si/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  149. data/vendor/local/share/locale/sk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  150. data/vendor/local/share/locale/sl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  151. data/vendor/local/share/locale/sq/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  152. data/vendor/local/share/locale/sr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  153. data/vendor/local/share/locale/sr@ije/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  154. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  155. data/vendor/local/share/locale/sv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  156. data/vendor/local/share/locale/ta/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  157. data/vendor/local/share/locale/te/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  158. data/vendor/local/share/locale/tg/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  159. data/vendor/local/share/locale/th/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  160. data/vendor/local/share/locale/tk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  161. data/vendor/local/share/locale/tr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  162. data/vendor/local/share/locale/tt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  163. data/vendor/local/share/locale/ug/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  164. data/vendor/local/share/locale/uk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  165. data/vendor/local/share/locale/uz/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  166. data/vendor/local/share/locale/uz@cyrillic/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  167. data/vendor/local/share/locale/vi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  168. data/vendor/local/share/locale/wa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  169. data/vendor/local/share/locale/xh/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  170. data/vendor/local/share/locale/yi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  171. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  172. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  173. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  174. data/vendor/local/share/man/man1/gdk-pixbuf-csource.1 +1 -1
  175. data/vendor/local/share/man/man1/gdk-pixbuf-query-loaders.1 +1 -1
  176. metadata +32 -41
  177. data/vendor/local/bin/libpng14-14.dll +0 -0
  178. data/vendor/local/bin/zlib1.dll +0 -0
  179. data/vendor/local/include/libpng14/png.h +0 -2737
  180. data/vendor/local/include/libpng14/pngconf.h +0 -1552
  181. data/vendor/local/include/png.h +0 -2737
  182. data/vendor/local/include/pngconf.h +0 -1552
  183. data/vendor/local/include/zconf.h +0 -461
  184. data/vendor/local/include/zlib.h +0 -1589
  185. data/vendor/local/lib/libpng.def +0 -192
  186. data/vendor/local/lib/libpng.lib +0 -0
  187. data/vendor/local/lib/libpng14.dll.a +0 -0
  188. data/vendor/local/lib/libz.dll.a +0 -0
  189. data/vendor/local/lib/pkgconfig/libpng.pc +0 -11
  190. data/vendor/local/lib/pkgconfig/libpng14.pc +0 -11
  191. data/vendor/local/lib/zdll.lib +0 -0
  192. data/vendor/local/lib/zlib.def +0 -67
  193. data/vendor/local/manifest/libpng-dev_1.4.12-1_win32.mft +0 -15
  194. data/vendor/local/manifest/libpng_1.4.12-1_win32.mft +0 -2
  195. data/vendor/local/manifest/zlib-dev_1.2.5-2_win32.mft +0 -8
  196. data/vendor/local/manifest/zlib_1.2.5-2_win32.mft +0 -2
  197. data/vendor/local/share/man/man3/libpng.3 +0 -4605
  198. data/vendor/local/share/man/man3/libpngpf.3 +0 -802
  199. data/vendor/local/share/man/man5/png.5 +0 -74
  200. data/vendor/local/src/dieterv/packaging/libpng_1.4.12-1_win32.log +0 -283
  201. data/vendor/local/src/dieterv/packaging/libpng_1.4.12-1_win32.sh +0 -71
  202. data/vendor/local/src/tml/packaging/zlib_1.2.5-2_win32.log +0 -42
  203. 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