cairo 1.12.2-x86-mingw32 → 1.12.3-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of cairo might be problematic. Click here for more details.

Files changed (90) hide show
  1. data/NEWS +48 -33
  2. data/README.rdoc +4 -1
  3. data/Rakefile +5 -9
  4. data/ext/cairo/depend +2 -1
  5. data/ext/cairo/extconf.rb +3 -1
  6. data/ext/cairo/rb_cairo.h +1 -1
  7. data/lib/1.8/cairo.so +0 -0
  8. data/lib/1.9/cairo.so +0 -0
  9. data/vendor/local/bin/freetype-config +2 -2
  10. data/vendor/local/bin/freetype6.dll +0 -0
  11. data/vendor/local/bin/libcairo-2.dll +0 -0
  12. data/vendor/local/bin/libcairo-gobject-2.dll +0 -0
  13. data/vendor/local/bin/libcairo-script-interpreter-2.dll +0 -0
  14. data/vendor/local/bin/libexpat-1.dll +0 -0
  15. data/vendor/local/bin/libpng14-14.dll +0 -0
  16. data/vendor/local/bin/xmlwf.exe +0 -0
  17. data/vendor/local/include/expat.h +36 -3
  18. data/vendor/local/include/freetype2/freetype/config/ftconfig.h +83 -15
  19. data/vendor/local/include/freetype2/freetype/config/ftheader.h +14 -1
  20. data/vendor/local/include/freetype2/freetype/config/ftoption.h +76 -4
  21. data/vendor/local/include/freetype2/freetype/config/ftstdlib.h +7 -6
  22. data/vendor/local/include/freetype2/freetype/freetype.h +98 -54
  23. data/vendor/local/include/freetype2/freetype/ftbbox.h +9 -1
  24. data/vendor/local/include/freetype2/freetype/ftbzip2.h +102 -0
  25. data/vendor/local/include/freetype2/freetype/ftcache.h +17 -2
  26. data/vendor/local/include/freetype2/freetype/ftchapters.h +1 -0
  27. data/vendor/local/include/freetype2/freetype/fterrdef.h +3 -2
  28. data/vendor/local/include/freetype2/freetype/fterrors.h +2 -1
  29. data/vendor/local/include/freetype2/freetype/ftgasp.h +11 -3
  30. data/vendor/local/include/freetype2/freetype/ftglyph.h +8 -1
  31. data/vendor/local/include/freetype2/freetype/ftimage.h +12 -0
  32. data/vendor/local/include/freetype2/freetype/ftmoderr.h +20 -19
  33. data/vendor/local/include/freetype2/freetype/ftoutln.h +25 -4
  34. data/vendor/local/include/freetype2/freetype/ftrender.h +8 -0
  35. data/vendor/local/include/freetype2/freetype/ftstroke.h +47 -12
  36. data/vendor/local/include/freetype2/freetype/ftsynth.h +4 -3
  37. data/vendor/local/include/freetype2/freetype/fttypes.h +2 -2
  38. data/vendor/local/include/freetype2/freetype/t1tables.h +160 -2
  39. data/vendor/local/include/freetype2/freetype/tttables.h +10 -5
  40. data/vendor/local/include/libpng14/png.h +310 -274
  41. data/vendor/local/include/libpng14/pngconf.h +82 -55
  42. data/vendor/local/include/png.h +310 -274
  43. data/vendor/local/include/pngconf.h +82 -55
  44. data/vendor/local/lib/cairo.lib +0 -0
  45. data/vendor/local/lib/expat.lib +0 -0
  46. data/vendor/local/lib/freetype.def +3 -0
  47. data/vendor/local/lib/freetype.lib +0 -0
  48. data/vendor/local/lib/libcairo-gobject.dll.a +0 -0
  49. data/vendor/local/lib/libcairo-script-interpreter.dll.a +0 -0
  50. data/vendor/local/lib/libcairo.dll.a +0 -0
  51. data/vendor/local/lib/libexpat.dll.a +0 -0
  52. data/vendor/local/lib/libfreetype.dll.a +0 -0
  53. data/vendor/local/lib/libpng.lib +0 -0
  54. data/vendor/local/lib/libpng14.dll.a +0 -0
  55. data/vendor/local/lib/pkgconfig/cairo.pc +2 -2
  56. data/vendor/local/lib/pkgconfig/freetype2.pc +2 -2
  57. data/vendor/local/lib/pkgconfig/libpng.pc +1 -1
  58. data/vendor/local/lib/pkgconfig/libpng14.pc +1 -1
  59. data/vendor/local/manifest/{cairo-dev_1.10.2-1_win32.mft → cairo-dev_1.10.2-2_win32.mft} +3 -3
  60. data/vendor/local/manifest/cairo_1.10.2-2_win32.mft +7 -0
  61. data/vendor/local/manifest/expat-dev_2.1.0-1_win32.mft +10 -0
  62. data/vendor/local/manifest/expat_2.1.0-1_win32.mft +2 -0
  63. data/vendor/local/manifest/{freetype-dev_2.4.2-1_win32.mft → freetype-dev_2.4.10-1_win32.mft} +4 -3
  64. data/vendor/local/manifest/freetype_2.4.10-1_win32.mft +2 -0
  65. data/vendor/local/manifest/{libpng-dev_1.4.3-1_win32.mft → libpng-dev_1.4.12-1_win32.mft} +3 -3
  66. data/vendor/local/manifest/libpng_1.4.12-1_win32.mft +2 -0
  67. data/vendor/local/share/doc/{cairo_1.10.2-1_win32 → cairo_1.10.2-2_win32}/COPYING +0 -0
  68. data/vendor/local/share/doc/{cairo_1.10.2-1_win32 → cairo_1.10.2-2_win32}/COPYING-LGPL-2.1 +0 -0
  69. data/vendor/local/share/doc/{cairo_1.10.2-1_win32 → cairo_1.10.2-2_win32}/COPYING-MPL-1.1 +0 -0
  70. data/vendor/local/{man → share/man}/man1/xmlwf.1 +0 -0
  71. data/vendor/local/share/man/man3/libpng.3 +288 -138
  72. data/vendor/local/share/man/man3/libpngpf.3 +5 -11
  73. data/vendor/local/share/man/man5/png.5 +2 -2
  74. data/vendor/local/src/{tml/packaging/cairo_1.10.2-1_win32.log → dieterv/packaging/cairo_1.10.2-2_win32.log} +346 -300
  75. data/vendor/local/src/dieterv/packaging/cairo_1.10.2-2_win32.sh +251 -0
  76. data/vendor/local/src/dieterv/packaging/expat_2.1.0-1_win32.log +181 -0
  77. data/vendor/local/src/{tml/packaging/expat_2.0.1-1_win32.sh → dieterv/packaging/expat_2.1.0-1_win32.sh} +20 -12
  78. data/vendor/local/src/dieterv/packaging/freetype_2.4.10-1_win32.log +363 -0
  79. data/vendor/local/src/{tml/packaging/freetype_2.4.2-1_win32.sh → dieterv/packaging/freetype_2.4.10-1_win32.sh} +10 -11
  80. data/vendor/local/src/{tml/packaging/libpng_1.4.3-1_win32.log → dieterv/packaging/libpng_1.4.12-1_win32.log} +132 -121
  81. data/vendor/local/src/{tml/packaging/libpng_1.4.3-1_win32.sh → dieterv/packaging/libpng_1.4.12-1_win32.sh} +10 -10
  82. metadata +31 -30
  83. data/vendor/local/manifest/cairo_1.10.2-1_win32.mft +0 -7
  84. data/vendor/local/manifest/expat-dev_2.0.1-1_win32.mft +0 -10
  85. data/vendor/local/manifest/expat_2.0.1-1_win32.mft +0 -2
  86. data/vendor/local/manifest/freetype_2.4.2-1_win32.mft +0 -2
  87. data/vendor/local/manifest/libpng_1.4.3-1_win32.mft +0 -2
  88. data/vendor/local/src/tml/packaging/cairo_1.10.2-1_win32.sh +0 -84
  89. data/vendor/local/src/tml/packaging/expat_2.0.1-1_win32.log +0 -188
  90. data/vendor/local/src/tml/packaging/freetype_2.4.2-1_win32.log +0 -364
@@ -0,0 +1,251 @@
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=cairo
6
+ VER=1.10.2
7
+ REV=2
8
+ ARCH=win32
9
+
10
+ THIS=${MOD}_${VER}-${REV}_${ARCH}
11
+
12
+ RUNZIP=${MOD}_${VER}-${REV}_${ARCH}.zip
13
+ DEVZIP=${MOD}-dev_${VER}-${REV}_${ARCH}.zip
14
+
15
+ HEX=`echo $THIS | md5sum | cut -d' ' -f1`
16
+ TARGET=/devel/target/$HEX
17
+
18
+ usedev
19
+ usewinsdk52
20
+
21
+ (
22
+
23
+ set -x
24
+
25
+ # Fix A1 format win32 surfaces, https://bugs.freedesktop.org/show_bug.cgi?id=42739
26
+ patch --verbose -p1 --fuzz=0 <<'EOF' &&
27
+ diff --git a/src/cairo-win32-surface.c b/src/cairo-win32-surface.c
28
+ index 660aaba..8ebd185 100644
29
+ --- a/src/cairo-win32-surface.c
30
+ +++ b/src/cairo-win32-surface.c
31
+ @@ -545,6 +545,79 @@ _cairo_win32_surface_get_subimage (cairo_win32_surface_t *surface,
32
+ return CAIRO_STATUS_SUCCESS;
33
+ }
34
+
35
+ +static const unsigned char mirror[256] = {
36
+ + 0x00, 0x80, 0x40, 0xc0, 0x20, 0xa0, 0x60, 0xe0,
37
+ + 0x10, 0x90, 0x50, 0xd0, 0x30, 0xb0, 0x70, 0xf0,
38
+ + 0x08, 0x88, 0x48, 0xc8, 0x28, 0xa8, 0x68, 0xe8,
39
+ + 0x18, 0x98, 0x58, 0xd8, 0x38, 0xb8, 0x78, 0xf8,
40
+ + 0x04, 0x84, 0x44, 0xc4, 0x24, 0xa4, 0x64, 0xe4,
41
+ + 0x14, 0x94, 0x54, 0xd4, 0x34, 0xb4, 0x74, 0xf4,
42
+ + 0x0c, 0x8c, 0x4c, 0xcc, 0x2c, 0xac, 0x6c, 0xec,
43
+ + 0x1c, 0x9c, 0x5c, 0xdc, 0x3c, 0xbc, 0x7c, 0xfc,
44
+ + 0x02, 0x82, 0x42, 0xc2, 0x22, 0xa2, 0x62, 0xe2,
45
+ + 0x12, 0x92, 0x52, 0xd2, 0x32, 0xb2, 0x72, 0xf2,
46
+ + 0x0a, 0x8a, 0x4a, 0xca, 0x2a, 0xaa, 0x6a, 0xea,
47
+ + 0x1a, 0x9a, 0x5a, 0xda, 0x3a, 0xba, 0x7a, 0xfa,
48
+ + 0x06, 0x86, 0x46, 0xc6, 0x26, 0xa6, 0x66, 0xe6,
49
+ + 0x16, 0x96, 0x56, 0xd6, 0x36, 0xb6, 0x76, 0xf6,
50
+ + 0x0e, 0x8e, 0x4e, 0xce, 0x2e, 0xae, 0x6e, 0xee,
51
+ + 0x1e, 0x9e, 0x5e, 0xde, 0x3e, 0xbe, 0x7e, 0xfe,
52
+ + 0x01, 0x81, 0x41, 0xc1, 0x21, 0xa1, 0x61, 0xe1,
53
+ + 0x11, 0x91, 0x51, 0xd1, 0x31, 0xb1, 0x71, 0xf1,
54
+ + 0x09, 0x89, 0x49, 0xc9, 0x29, 0xa9, 0x69, 0xe9,
55
+ + 0x19, 0x99, 0x59, 0xd9, 0x39, 0xb9, 0x79, 0xf9,
56
+ + 0x05, 0x85, 0x45, 0xc5, 0x25, 0xa5, 0x65, 0xe5,
57
+ + 0x15, 0x95, 0x55, 0xd5, 0x35, 0xb5, 0x75, 0xf5,
58
+ + 0x0d, 0x8d, 0x4d, 0xcd, 0x2d, 0xad, 0x6d, 0xed,
59
+ + 0x1d, 0x9d, 0x5d, 0xdd, 0x3d, 0xbd, 0x7d, 0xfd,
60
+ + 0x03, 0x83, 0x43, 0xc3, 0x23, 0xa3, 0x63, 0xe3,
61
+ + 0x13, 0x93, 0x53, 0xd3, 0x33, 0xb3, 0x73, 0xf3,
62
+ + 0x0b, 0x8b, 0x4b, 0xcb, 0x2b, 0xab, 0x6b, 0xeb,
63
+ + 0x1b, 0x9b, 0x5b, 0xdb, 0x3b, 0xbb, 0x7b, 0xfb,
64
+ + 0x07, 0x87, 0x47, 0xc7, 0x27, 0xa7, 0x67, 0xe7,
65
+ + 0x17, 0x97, 0x57, 0xd7, 0x37, 0xb7, 0x77, 0xf7,
66
+ + 0x0f, 0x8f, 0x4f, 0xcf, 0x2f, 0xaf, 0x6f, 0xef,
67
+ + 0x1f, 0x9f, 0x5f, 0xdf, 0x3f, 0xbf, 0x7f, 0xff
68
+ +};
69
+ +
70
+ +static void
71
+ +mirror_a1_bits (cairo_surface_t *image_surface)
72
+ +{
73
+ + int w, h, stride, x, y;
74
+ + unsigned char *data;
75
+ +
76
+ + h = cairo_image_surface_get_height (image_surface);
77
+ + stride = cairo_image_surface_get_stride (image_surface);
78
+ + data = cairo_image_surface_get_data (image_surface);
79
+ +
80
+ + for (y = 0; y < h; y++) {
81
+ + for (x = 0; x < stride; x++) {
82
+ + *data = mirror[*data];
83
+ + data++;
84
+ + }
85
+ + }
86
+ +}
87
+ +
88
+ +static cairo_bool_t
89
+ +_cairo_win32_surface_is_gdi_format (cairo_surface_t *image_surface)
90
+ +{
91
+ + return cairo_image_surface_get_format (image_surface) != CAIRO_FORMAT_A1;
92
+ +}
93
+ +
94
+ +static void
95
+ +_cairo_win32_surface_convert_from_gdi_format (cairo_surface_t *image_surface)
96
+ +{
97
+ + if (cairo_image_surface_get_format (image_surface) == CAIRO_FORMAT_A1)
98
+ + mirror_a1_bits (image_surface);
99
+ +}
100
+ +
101
+ +static void
102
+ +_cairo_win32_surface_convert_to_gdi_format (cairo_surface_t *image_surface)
103
+ +{
104
+ + if (cairo_image_surface_get_format (image_surface) == CAIRO_FORMAT_A1)
105
+ + mirror_a1_bits (image_surface);
106
+ +}
107
+ +
108
+ static cairo_status_t
109
+ _cairo_win32_surface_acquire_source_image (void *abstract_surface,
110
+ cairo_image_surface_t **image_out,
111
+ @@ -554,7 +627,7 @@ _cairo_win32_surface_acquire_source_image (void *abstract_sur
112
+ cairo_win32_surface_t *local;
113
+ cairo_status_t status;
114
+
115
+ - if (surface->image) {
116
+ + if (surface->image && _cairo_win32_surface_is_gdi_format (surface->image)) {
117
+ *image_out = (cairo_image_surface_t *)surface->image;
118
+ *image_extra = NULL;
119
+ return CAIRO_STATUS_SUCCESS;
120
+ @@ -566,6 +639,8 @@ _cairo_win32_surface_acquire_source_image (void *abstract_sur
121
+ if (status)
122
+ return status;
123
+
124
+ + _cairo_win32_surface_convert_from_gdi_format (local->image);
125
+ +
126
+ *image_out = (cairo_image_surface_t *)local->image;
127
+ *image_extra = local;
128
+ return CAIRO_STATUS_SUCCESS;
129
+ @@ -593,7 +668,7 @@ _cairo_win32_surface_acquire_dest_image (void *abstract_surfa
130
+ cairo_win32_surface_t *local = NULL;
131
+ cairo_status_t status;
132
+
133
+ - if (surface->image) {
134
+ + if (surface->image && _cairo_win32_surface_is_gdi_format (surface->image)) {
135
+ GdiFlush();
136
+
137
+ *image_out = (cairo_image_surface_t *) surface->image;
138
+ @@ -611,6 +686,8 @@ _cairo_win32_surface_acquire_dest_image (void *abstract_surfa
139
+ if (status)
140
+ return status;
141
+
142
+ + _cairo_win32_surface_convert_from_gdi_format (local->image);
143
+ +
144
+ *image_out = (cairo_image_surface_t *) local->image;
145
+ *image_extra = local;
146
+ *image_rect = *interest_rect;
147
+ @@ -630,6 +707,8 @@ _cairo_win32_surface_release_dest_image (void *abstract_surfa
148
+ if (!local)
149
+ return;
150
+
151
+ + _cairo_win32_surface_convert_from_gdi_format (local->image);
152
+ +
153
+ if (!BitBlt (surface->dc,
154
+ image_rect->x, image_rect->y,
155
+ image_rect->width, image_rect->height,
156
+ @@ -1313,7 +1392,7 @@ _cairo_win32_surface_composite (cairo_operator_t op,
157
+
158
+ UNSUPPORTED:
159
+ /* Fall back to image surface directly, if this is a DIB surface */
160
+ - if (dst->image) {
161
+ + if (dst->image && _cairo_win32_surface_is_gdi_format (dst->image)) {
162
+ GdiFlush();
163
+
164
+ return dst->image->backend->composite (op, pattern, mask_pattern,
165
+ EOF
166
+
167
+ # Reset clip region when writing fallback results , https://bugs.freedesktop.org/show_bug.cgi?id=42821
168
+ patch --verbose -p1 --fuzz=0 <<'EOF' &&
169
+ commit a02dd8ddc7dde30ba71e87ab5e90bf910b68da2b
170
+ Author: Alexander Larsson <alexl@redhat.com>
171
+ Date: Fri Nov 11 16:15:31 2011 +0100
172
+
173
+ win32: Reset clip in _cairo_win32_surface_release_dest_image
174
+
175
+ Without this we were using leftover clip regions from e.g. show_glyphs
176
+ which made the fallback drawing results disappear.
177
+
178
+ diff --git a/src/cairo-win32-surface.c b/src/cairo-win32-surface.c
179
+ index 660aaba..59305f1 100644
180
+ --- a/src/cairo-win32-surface.c
181
+ +++ b/src/cairo-win32-surface.c
182
+ @@ -707,6 +707,7 @@ _cairo_win32_surface_release_dest_image (void *abstract_surfa
183
+ if (!local)
184
+ return;
185
+
186
+ + _cairo_win32_surface_set_clip_region (surface, NULL);
187
+ _cairo_win32_surface_convert_from_gdi_format (local->image);
188
+
189
+ if (!BitBlt (surface->dc,
190
+ EOF
191
+
192
+ sed -e 's/need_relink=yes/need_relink=no # no way --tml/' <build/ltmain.sh >build/ltmain.temp && mv build/ltmain.temp build/ltmain.sh
193
+
194
+ # Avoid using "file" in libtool. Otherwise libtool won't create a
195
+ # shared library, and give the warning "Trying to link with static lib
196
+ # archive [...] But I can only do this if you have shared version of
197
+ # the library, which you do not appear to have." I know what I am
198
+ # doing, I do want to link with a static libpixman-1.
199
+
200
+ sed -e 's!file /!dont-want-to-use-file!' <configure >configure.temp && mv configure.temp configure
201
+
202
+ DEPS=`latest --arch=${ARCH} gettext-runtime glib pkg-config pixman libpng fontconfig freetype`
203
+
204
+ PKG_CONFIG_PATH=/dummy
205
+ for D in $DEPS; do
206
+ PATH=/devel/dist/${ARCH}/$D/bin:$PATH
207
+ PKG_CONFIG_PATH=/devel/dist/${ARCH}/$D/lib/pkgconfig:$PKG_CONFIG_PATH
208
+ done
209
+
210
+ GETTEXT_RUNTIME=`latest --arch=${ARCH} gettext-runtime`
211
+ ZLIB=`latest --arch=${ARCH} zlib`
212
+
213
+ png_REQUIRES=libpng \
214
+ CC='gcc -mms-bitfields -mthreads' \
215
+ CPPFLAGS="-I/devel/dist/${ARCH}/${ZLIB}/include" \
216
+ LDFLAGS="-L/devel/dist/${ARCH}/${GETTEXT_RUNTIME}/lib \
217
+ -L/devel/dist/${ARCH}/${ZLIB}/lib" \
218
+ CFLAGS=-O2 \
219
+ ./configure --disable-static --enable-ft=yes --prefix=/devel/target/$HEX &&
220
+
221
+ make -j3 zips &&
222
+
223
+ cp $MOD-$VER.zip /tmp/$RUNZIP &&
224
+ cp $MOD-dev-$VER.zip /tmp/$DEVZIP &&
225
+
226
+ cp -p src/cairo.def /devel/target/$HEX/lib &&
227
+
228
+ mkdir -p /devel/target/$HEX/share/doc/$THIS &&
229
+ cp -p COPYING COPYING-LGPL-2.1 COPYING-MPL-1.1 /devel/target/$HEX/share/doc/$THIS &&
230
+
231
+ cd /devel/target/$HEX &&
232
+
233
+ zip /tmp/$RUNZIP bin/libcairo-gobject-2.dll &&
234
+ zip /tmp/$RUNZIP bin/libcairo-script-interpreter-2.dll &&
235
+
236
+ zip /tmp/$DEVZIP lib/libcairo-gobject.dll.a &&
237
+ zip /tmp/$DEVZIP lib/libcairo-script-interpreter.dll.a &&
238
+
239
+ (cd lib && lib.exe -machine:X86 -def:cairo.def -out:cairo.lib) &&
240
+
241
+ zip /tmp/$DEVZIP lib/cairo.def lib/cairo.lib &&
242
+ zip -r -D /tmp/$RUNZIP share/doc/$THIS &&
243
+
244
+ # Don't depend on pixman
245
+ sed -e 's/ pixman-1 >= 0.18.4//' <lib/pkgconfig/cairo.pc >lib/pkgconfig/cairo.pc.temp && mv lib/pkgconfig/cairo.pc.temp lib/pkgconfig/cairo.pc &&
246
+ zip /tmp/$DEVZIP lib/pkgconfig/cairo.pc
247
+
248
+ ) 2>&1 | tee /devel/src/dieterv/packaging/$THIS.log &&
249
+
250
+ (cd /devel && zip /tmp/$DEVZIP src/dieterv/packaging/$THIS.{sh,log}) &&
251
+ manifestify /tmp/$RUNZIP /tmp/$DEVZIP
@@ -0,0 +1,181 @@
1
+ ++ sed -e 's/need_relink=yes/need_relink=no # no way --tml/'
2
+ ++ mv conftools/ltmain.temp conftools/ltmain.sh
3
+ ++ patch -p0
4
+ patching file Makefile.in
5
+ ++ CC='gcc -mthreads'
6
+ ++ LDFLAGS=-Wl,--enable-auto-image-base
7
+ ++ CFLAGS=-O2
8
+ ++ ./configure --prefix=/devel/target/194b81514e48f3c8b94a247610845982 --disable-static
9
+ checking build system type... i686-pc-mingw32
10
+ checking host system type... i686-pc-mingw32
11
+ checking for as... as
12
+ checking for dlltool... dlltool
13
+ checking for objdump... objdump
14
+ checking how to print strings... printf
15
+ checking for gcc... gcc -mthreads
16
+ checking whether the C compiler works... yes
17
+ checking for C compiler default output file name... a.exe
18
+ checking for suffix of executables... .exe
19
+ checking whether we are cross compiling... no
20
+ checking for suffix of object files... o
21
+ checking whether we are using the GNU C compiler... yes
22
+ checking whether gcc -mthreads accepts -g... yes
23
+ checking for gcc -mthreads option to accept ISO C89... none needed
24
+ checking for a sed that does not truncate output... /bin/sed
25
+ checking for grep that handles long lines and -e... /bin/grep
26
+ checking for egrep... /bin/grep -E
27
+ checking for fgrep... /bin/grep -F
28
+ checking for ld used by gcc -mthreads... c:/mingw/mingw32/bin/ld.exe
29
+ checking if the linker (c:/mingw/mingw32/bin/ld.exe) is GNU ld... yes
30
+ checking for BSD- or MS-compatible name lister (nm)... /mingw/bin/nm
31
+ checking the name lister (/mingw/bin/nm) interface... BSD nm
32
+ checking whether ln -s works... no, using cp -p
33
+ checking the maximum length of command line arguments... 8192
34
+ checking whether the shell understands some XSI constructs... yes
35
+ checking whether the shell understands "+="... yes
36
+ checking how to convert i686-pc-mingw32 file names to i686-pc-mingw32 format... func_convert_file_msys_to_w32
37
+ checking how to convert i686-pc-mingw32 file names to toolchain format... func_convert_file_msys_to_w32
38
+ checking for c:/mingw/mingw32/bin/ld.exe option to reload object files... -r
39
+ checking for objdump... (cached) objdump
40
+ checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
41
+ checking for dlltool... (cached) dlltool
42
+ checking how to associate runtime and link libraries... func_cygming_dll_for_implib
43
+ checking for ar... ar
44
+ checking for archiver @FILE support... @
45
+ checking for strip... strip
46
+ checking for ranlib... ranlib
47
+ checking for gawk... gawk
48
+ checking command to parse /mingw/bin/nm output from gcc -mthreads object... ok
49
+ checking for sysroot... no
50
+ checking for mt... no
51
+ checking if : is a manifest tool... no
52
+ checking how to run the C preprocessor... gcc -mthreads -E
53
+ checking for ANSI C header files... yes
54
+ checking for sys/types.h... yes
55
+ checking for sys/stat.h... yes
56
+ checking for stdlib.h... yes
57
+ checking for string.h... yes
58
+ checking for memory.h... yes
59
+ checking for strings.h... yes
60
+ checking for inttypes.h... yes
61
+ checking for stdint.h... yes
62
+ checking for unistd.h... yes
63
+ checking for dlfcn.h... no
64
+ checking for objdir... .libs
65
+ checking if gcc -mthreads supports -fno-rtti -fno-exceptions... no
66
+ checking for gcc -mthreads option to produce PIC... -DDLL_EXPORT -DPIC
67
+ checking if gcc -mthreads PIC flag -DDLL_EXPORT -DPIC works... yes
68
+ checking if gcc -mthreads static flag -static works... yes
69
+ checking if gcc -mthreads supports -c -o file.o... yes
70
+ checking if gcc -mthreads supports -c -o file.o... (cached) yes
71
+ checking whether the gcc -mthreads linker (c:/mingw/mingw32/bin/ld.exe) supports shared libraries... yes
72
+ checking whether -lc should be explicitly linked in... yes
73
+ checking dynamic linker characteristics... Win32 ld.exe
74
+ checking how to hardcode library paths into programs... immediate
75
+ checking whether stripping libraries is possible... yes
76
+ checking if libtool supports shared libraries... yes
77
+ checking whether to build shared libraries... yes
78
+ checking whether to build static libraries... no
79
+ checking for gcc... (cached) gcc -mthreads
80
+ checking whether we are using the GNU C compiler... (cached) yes
81
+ checking whether gcc -mthreads accepts -g... (cached) yes
82
+ checking for gcc -mthreads option to accept ISO C89... (cached) none needed
83
+ checking for g++... g++
84
+ checking whether we are using the GNU C++ compiler... yes
85
+ checking whether g++ accepts -g... yes
86
+ checking how to run the C++ preprocessor... g++ -E
87
+ checking for ld used by g++... c:/mingw/mingw32/bin/ld.exe
88
+ checking if the linker (c:/mingw/mingw32/bin/ld.exe) is GNU ld... yes
89
+ checking whether the g++ linker (c:/mingw/mingw32/bin/ld.exe) supports shared libraries... yes
90
+ checking for g++ option to produce PIC... -DDLL_EXPORT -DPIC
91
+ checking if g++ PIC flag -DDLL_EXPORT -DPIC works... yes
92
+ checking if g++ static flag -static works... yes
93
+ checking if g++ supports -c -o file.o... yes
94
+ checking if g++ supports -c -o file.o... (cached) yes
95
+ checking whether the g++ linker (c:/mingw/mingw32/bin/ld.exe) supports shared libraries... yes
96
+ checking dynamic linker characteristics... Win32 ld.exe
97
+ checking how to hardcode library paths into programs... immediate
98
+ checking for a BSD-compatible install... /bin/install -c
99
+ checking whether gcc -mthreads accepts -fexceptions... yes
100
+ checking for ANSI C header files... (cached) yes
101
+ checking whether byte ordering is bigendian... no
102
+ checking for an ANSI C-conforming const... yes
103
+ checking for size_t... yes
104
+ checking for memmove... yes
105
+ checking for bcopy... no
106
+ checking fcntl.h usability... yes
107
+ checking fcntl.h presence... yes
108
+ checking for fcntl.h... yes
109
+ checking for unistd.h... (cached) yes
110
+ checking for off_t... yes
111
+ checking for stdlib.h... (cached) yes
112
+ checking for unistd.h... (cached) yes
113
+ checking for sys/param.h... yes
114
+ checking for getpagesize... yes
115
+ checking for working mmap... no
116
+ checking for gcc -mthreads option to accept ISO C99... -std=gnu99
117
+ checking for gcc -mthreads -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
118
+ checking for an ANSI C99-conforming __func__... yes
119
+ configure: creating ./config.status
120
+ config.status: creating Makefile
121
+ config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting
122
+ config.status: creating expat.pc
123
+ config.status: creating expat_config.h
124
+ config.status: executing libtool commands
125
+ ++ make install
126
+ gcc -mthreads -std=gnu99 -I./lib -I. -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H -o xmlwf/xmlwf.o -c xmlwf/xmlwf.c
127
+ gcc -mthreads -std=gnu99 -I./lib -I. -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H -o xmlwf/xmlfile.o -c xmlwf/xmlfile.c
128
+ gcc -mthreads -std=gnu99 -I./lib -I. -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H -o xmlwf/codepage.o -c xmlwf/codepage.c
129
+ gcc -mthreads -std=gnu99 -I./lib -I. -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H -o xmlwf/readfilemap.o -c xmlwf/readfilemap.c
130
+ /bin/sh ./libtool --silent --mode=compile gcc -mthreads -std=gnu99 -I./lib -I. -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H -o lib/xmlparse.lo -c lib/xmlparse.c
131
+ /bin/sh ./libtool --silent --mode=compile gcc -mthreads -std=gnu99 -I./lib -I. -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H -o lib/xmltok.lo -c lib/xmltok.c
132
+ /bin/sh ./libtool --silent --mode=compile gcc -mthreads -std=gnu99 -I./lib -I. -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H -o lib/xmlrole.lo -c lib/xmlrole.c
133
+ /bin/sh ./libtool --silent --mode=link gcc -mthreads -std=gnu99 -I./lib -I. -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H -no-undefined -version-info 7:0:6 -rpath /devel/target/194b81514e48f3c8b94a247610845982/lib -Wl,--enable-auto-image-base -o libexpat.la -export-symbols lib/libexpat.def lib/xmlparse.lo lib/xmltok.lo lib/xmlrole.lo
134
+ Creating library file: .libs/libexpat.dll.a
135
+ /bin/sh ./libtool --silent --mode=link gcc -mthreads -std=gnu99 -I./lib -I. -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H -Wl,--enable-auto-image-base -o xmlwf/xmlwf.exe xmlwf/xmlwf.o xmlwf/xmlfile.o xmlwf/codepage.o xmlwf/readfilemap.o libexpat.la
136
+ /bin/sh ./conftools/mkinstalldirs /devel/target/194b81514e48f3c8b94a247610845982/lib /devel/target/194b81514e48f3c8b94a247610845982/include /devel/target/194b81514e48f3c8b94a247610845982/lib/pkgconfig
137
+ mkdir /devel/target/194b81514e48f3c8b94a247610845982
138
+ mkdir /devel/target/194b81514e48f3c8b94a247610845982/lib
139
+ mkdir /devel/target/194b81514e48f3c8b94a247610845982/include
140
+ mkdir /devel/target/194b81514e48f3c8b94a247610845982/lib/pkgconfig
141
+ /bin/sh ./libtool --mode=install /bin/install -c libexpat.la /devel/target/194b81514e48f3c8b94a247610845982/lib/libexpat.la
142
+ libtool: install: /bin/install -c .libs/libexpat.dll.a /devel/target/194b81514e48f3c8b94a247610845982/lib/libexpat.dll.a
143
+ libtool: install: base_file=`basename libexpat.la`
144
+ libtool: install: dlpath=`/bin/sh 2>&1 -c '. .libs/'libexpat.la'i; echo libexpat-1.dll'`
145
+ libtool: install: dldir=/devel/target/194b81514e48f3c8b94a247610845982/lib/`dirname ../bin/libexpat-1.dll`
146
+ libtool: install: test -d /devel/target/194b81514e48f3c8b94a247610845982/lib/../bin || mkdir -p /devel/target/194b81514e48f3c8b94a247610845982/lib/../bin
147
+ libtool: install: /bin/install -c .libs/libexpat-1.dll /devel/target/194b81514e48f3c8b94a247610845982/lib/../bin/libexpat-1.dll
148
+ libtool: install: chmod a+x /devel/target/194b81514e48f3c8b94a247610845982/lib/../bin/libexpat-1.dll
149
+ libtool: install: if test -n '' && test -n 'strip --strip-unneeded'; then eval 'strip --strip-unneeded /devel/target/194b81514e48f3c8b94a247610845982/lib/../bin/libexpat-1.dll' || exit 0; fi
150
+ libtool: install: /bin/install -c .libs/libexpat.lai /devel/target/194b81514e48f3c8b94a247610845982/lib/libexpat.la
151
+ for FN in ./lib/expat.h ./lib/expat_external.h ; do /bin/install -c -m 644 $FN /devel/target/194b81514e48f3c8b94a247610845982/include ; done
152
+ /bin/install -c -m 644 expat.pc /devel/target/194b81514e48f3c8b94a247610845982/lib/pkgconfig/expat.pc
153
+ /bin/sh ./conftools/mkinstalldirs /devel/target/194b81514e48f3c8b94a247610845982/bin /devel/target/194b81514e48f3c8b94a247610845982/share/man/man1
154
+ mkdir /devel/target/194b81514e48f3c8b94a247610845982/share
155
+ mkdir /devel/target/194b81514e48f3c8b94a247610845982/share/man
156
+ mkdir /devel/target/194b81514e48f3c8b94a247610845982/share/man/man1
157
+ /bin/sh ./libtool --mode=install /bin/install -c xmlwf/xmlwf.exe /devel/target/194b81514e48f3c8b94a247610845982/bin/xmlwf.exe
158
+ libtool: install: /bin/install -c xmlwf/.libs/xmlwf.exe /devel/target/194b81514e48f3c8b94a247610845982/bin/xmlwf.exe
159
+ /bin/install -c -m 644 ./doc/xmlwf.1 /devel/target/194b81514e48f3c8b94a247610845982/share/man/man1
160
+ ++ cp lib/libexpat.def /devel/target/194b81514e48f3c8b94a247610845982/lib
161
+ ++ cd /devel/target/194b81514e48f3c8b94a247610845982/lib
162
+ ++ lib.exe -machine:IX86 -def:libexpat.def -out:expat.lib
163
+ Microsoft (R) Library Manager Version 8.00.40310.39
164
+ Copyright (C) Microsoft Corporation. All rights reserved.
165
+
166
+ Creating library expat.lib and object expat.exp
167
+ ++ rm -f /tmp/expat_2.1.0-1_win32.zip /tmp/expat-dev_2.1.0-1_win32.zip
168
+ ++ cd /devel/target/194b81514e48f3c8b94a247610845982
169
+ ++ zip /tmp/expat_2.1.0-1_win32.zip bin/libexpat-1.dll
170
+ adding: bin/libexpat-1.dll (deflated 63%)
171
+ ++ zip /tmp/expat-dev_2.1.0-1_win32.zip bin/xmlwf.exe
172
+ adding: bin/xmlwf.exe (deflated 70%)
173
+ ++ zip -r -D /tmp/expat-dev_2.1.0-1_win32.zip include
174
+ adding: include/expat.h (deflated 74%)
175
+ adding: include/expat_external.h (deflated 58%)
176
+ ++ zip /tmp/expat-dev_2.1.0-1_win32.zip lib/libexpat.dll.a lib/libexpat.def lib/expat.lib
177
+ adding: lib/libexpat.dll.a (deflated 92%)
178
+ adding: lib/libexpat.def (deflated 66%)
179
+ adding: lib/expat.lib (deflated 84%)
180
+ ++ zip -r -D /tmp/expat-dev_2.1.0-1_win32.zip share
181
+ adding: share/man/man1/xmlwf.1 (deflated 57%)
@@ -3,7 +3,7 @@
3
3
  # usable unmodified by others, and is included only for reference.
4
4
 
5
5
  MOD=expat
6
- VER=2.0.1
6
+ VER=2.1.0
7
7
  REV=1
8
8
  ARCH=win32
9
9
 
@@ -16,10 +16,10 @@ DEVZIP=${MOD}-dev_${VER}-${REV}_${ARCH}.zip
16
16
  # just a hash value and not supposed to be relevant at end-user
17
17
  # machines.
18
18
  HEX=`echo $THIS | md5sum | cut -d' ' -f1`
19
- TARGET=c:/devel/target/$HEX
19
+ TARGET=/devel/target/$HEX
20
20
 
21
21
  usestable
22
- usemsvs6
22
+ usewinsdk52
23
23
 
24
24
  (
25
25
 
@@ -33,7 +33,16 @@ sed -e 's/need_relink=yes/need_relink=no # no way --tml/' <conftools/ltmain.sh >
33
33
  patch -p0 <<\EOF &&
34
34
  --- Makefile.in
35
35
  +++ Makefile.in
36
- @@ -117,7 +117,7 @@
36
+ @@ -79,7 +79,7 @@
37
+
38
+ install: xmlwf/xmlwf@EXEEXT@ installlib
39
+ $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir)
40
+ - $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) xmlwf/xmlwf@EXEEXT@ $(DESTDIR)$(bindir)/xmlwf
41
+ + $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) xmlwf/xmlwf@EXEEXT@ $(DESTDIR)$(bindir)/xmlwf@EXEEXT@
42
+ $(INSTALL_DATA) $(MANFILE) $(DESTDIR)$(man1dir)
43
+
44
+ installlib: $(LIBRARY) $(APIHEADER) expat.pc
45
+ @@ -121,7 +121,7 @@
37
46
  COMPILE = $(CC) $(INCLUDES) $(CFLAGS) $(DEFS) $(CPPFLAGS)
38
47
  CXXCOMPILE = $(CXX) $(INCLUDES) $(CXXFLAGS) $(DEFS) $(CPPFLAGS)
39
48
  LTCOMPILE = $(LIBTOOL) $(LTFLAGS) --mode=compile $(COMPILE)
@@ -44,25 +53,24 @@ patch -p0 <<\EOF &&
44
53
 
45
54
  EOF
46
55
 
47
- CC='gcc -mthreads' LDFLAGS='-Wl,--enable-auto-image-base' CFLAGS=-O2 ./configure --prefix=c:/devel/target/$HEX --disable-static &&
56
+ CC='gcc -mthreads' LDFLAGS='-Wl,--enable-auto-image-base' CFLAGS=-O2 ./configure --prefix=$TARGET --disable-static &&
48
57
 
49
58
  make install &&
50
59
 
51
- cp lib/libexpat.def /devel/target/$HEX/lib &&
52
-
53
- (cd /devel/target/$HEX/lib && lib.exe -machine:IX86 -def:libexpat.def -out:expat.lib) &&
60
+ cp lib/libexpat.def $TARGET/lib &&
61
+ (cd $TARGET/lib && lib.exe -machine:IX86 -def:libexpat.def -out:expat.lib) &&
54
62
 
55
63
  rm -f /tmp/$RUNZIP /tmp/$DEVZIP &&
56
64
 
57
- (cd /devel/target/$HEX &&
65
+ (cd $TARGET &&
58
66
  zip /tmp/$RUNZIP bin/libexpat-1.dll &&
59
67
  zip /tmp/$DEVZIP bin/xmlwf.exe &&
60
68
  zip -r -D /tmp/$DEVZIP include &&
61
69
  zip /tmp/$DEVZIP lib/{libexpat.dll.a,libexpat.def,expat.lib} &&
62
- zip -r -D /tmp/$DEVZIP man
70
+ zip -r -D /tmp/$DEVZIP share
63
71
  )
64
72
 
65
- ) 2>&1 | tee /devel/src/tml/packaging/$THIS.log
73
+ ) 2>&1 | tee /devel/src/dieterv/packaging/$THIS.log
66
74
 
67
- (cd /devel && zip /tmp/$DEVZIP src/tml/packaging/$THIS.{sh,log}) &&
75
+ (cd /devel && zip /tmp/$DEVZIP src/dieterv/packaging/$THIS.{sh,log}) &&
68
76
  manifestify /tmp/$RUNZIP /tmp/$DEVZIP