cairo 1.8.3-x86-mingw32 → 1.8.4-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.
- data/NEWS +14 -0
- data/Rakefile +2 -2
- data/ext/cairo/rb_cairo.c +1 -1
- data/extconf.rb +11 -11
- data/home/kou/work/ruby/rcairo.win32/vendor/local/bin/freetype6.dll +0 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/bin/libcairo-2.dll +0 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/bin/libfontconfig-1.dll +0 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/bin/libpng14-14.dll +0 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/bin/zlib1.dll +0 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/etc/fonts/fonts.conf +151 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/include/cairo/cairo-deprecated.h +138 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/include/cairo/cairo-features.h +20 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/include/cairo/cairo-ft.h +75 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/include/cairo/cairo-pdf.h +68 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/include/cairo/cairo-ps.h +114 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/include/cairo/cairo-svg.h +82 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/include/cairo/cairo-version.h +8 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/include/cairo/cairo-win32.h +112 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/include/cairo/cairo.h +2328 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/include/libpng14/png.h +2701 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/include/libpng14/pngconf.h +1525 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/include/png.h +2701 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/include/pngconf.h +1525 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/include/zconf.h +461 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/include/zlib.h +1589 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/cairo.def +278 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/cairo.lib +0 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/libcairo.dll.a +0 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/libpng.def +192 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/libpng.lib +0 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/libpng14.dll.a +0 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/libz.dll.a +0 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/pkgconfig/cairo-ft.pc +12 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/pkgconfig/cairo-pdf.pc +12 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/pkgconfig/cairo-png.pc +12 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/pkgconfig/cairo-ps.pc +12 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/pkgconfig/cairo-svg.pc +12 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/pkgconfig/cairo-win32-font.pc +12 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/pkgconfig/cairo-win32.pc +12 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/pkgconfig/cairo.pc +13 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/pkgconfig/libpng.pc +11 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/pkgconfig/libpng14.pc +11 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/zdll.lib +0 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/lib/zlib.def +67 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/manifest/cairo-dev_1.8.10-4_win32.mft +76 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/manifest/cairo_1.8.10-4_win32.mft +5 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/manifest/fontconfig_2.8.0-2_win32.mft +3 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/manifest/freetype_2.4.2-1_win32.mft +2 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/manifest/libpng-dev_1.4.3-1_win32.mft +15 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/manifest/libpng_1.4.3-1_win32.mft +2 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/manifest/zlib-dev_1.2.5-2_win32.mft +8 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/manifest/zlib_1.2.5-2_win32.mft +2 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/doc/cairo_1.8.10-4_win32/COPYING +32 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/doc/cairo_1.8.10-4_win32/COPYING-LGPL-2.1 +510 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/doc/cairo_1.8.10-4_win32/COPYING-MPL-1.1 +470 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/bindings-errors.html +132 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/bindings-fonts.html +63 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/bindings-memory.html +133 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/bindings-overloading.html +131 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/bindings-path.html +127 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/bindings-patterns.html +67 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/bindings-return-values.html +130 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/bindings-streams.html +102 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/bindings-surfaces.html +103 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-context.html +2643 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-drawing.html +57 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-error-status.html +360 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-font-face.html +408 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-font-options.html +678 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-fonts.html +63 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-ft-font.html +319 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-image-surface.html +473 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-matrix.html +596 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-paths.html +1274 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-pattern.html +1485 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-pdf-surface.html +238 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-png-functions.html +341 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-ps-surface.html +622 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-quartz-font.html +151 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-quartz-surface.html +219 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-scaled-font.html +1023 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-support.html +54 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-surface.html +1026 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-surfaces.html +69 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-svg-surface.html +321 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-text.html +1222 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-transformations.html +436 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-types.html +133 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-user-font.html +735 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-version-info.html +345 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-win32-font.html +358 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-win32-surface.html +312 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-xlib-surface.html +492 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo.devhelp +417 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo.devhelp2 +542 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/home.png +0 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/index-1.2.html +141 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/index-1.4.html +109 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/index-1.6.html +71 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/index-1.8.html +107 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/index-all.html +759 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/index.html +144 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/index.sgml +478 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/language-bindings.html +83 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/left.png +0 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/right.png +0 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/style.css +167 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/up.png +0 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/man/man3/libpng.3 +4455 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/man/man3/libpngpf.3 +808 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/share/man/man5/png.5 +74 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/src/tml/packaging/cairo_1.8.10-4_win32.log +920 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/src/tml/packaging/cairo_1.8.10-4_win32.sh +76 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/src/tml/packaging/libpng_1.4.3-1_win32.log +272 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/src/tml/packaging/libpng_1.4.3-1_win32.sh +71 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/src/tml/packaging/zlib_1.2.5-2_win32.log +42 -0
- data/home/kou/work/ruby/rcairo.win32/vendor/local/src/tml/packaging/zlib_1.2.5-2_win32.sh +189 -0
- data/lib/1.8/cairo.so +0 -0
- data/lib/1.9/cairo.so +0 -0
- data/tmp/{x86-mingw32 → i386-mingw32}/cairo/1.8.7/fake.rb +0 -0
- data/tmp/{x86-mingw32 → i386-mingw32}/cairo/1.8.7/mkmf.rb +0 -0
- data/tmp/{x86-mingw32 → i386-mingw32}/cairo/1.8.7/rbconfig.rb +0 -0
- data/tmp/{x86-mingw32 → i386-mingw32}/cairo/1.9.2/fake.rb +0 -0
- data/tmp/{x86-mingw32 → i386-mingw32}/cairo/1.9.2/mkmf.rb +0 -0
- data/tmp/{x86-mingw32 → i386-mingw32}/cairo/1.9.2/rbconfig.rb +1 -1
- metadata +126 -40
@@ -0,0 +1,189 @@
|
|
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
|
data/lib/1.8/cairo.so
CHANGED
Binary file
|
data/lib/1.9/cairo.so
CHANGED
Binary file
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -96,7 +96,7 @@ module RbConfig
|
|
96
96
|
CONFIG["CP"] = "cp"
|
97
97
|
CONFIG["RM"] = "rm -f"
|
98
98
|
CONFIG["CAPITARGET"] = "nodoc"
|
99
|
-
CONFIG["DOXYGEN"] = "
|
99
|
+
CONFIG["DOXYGEN"] = ""
|
100
100
|
CONFIG["DOT"] = ""
|
101
101
|
CONFIG["MAKEDIRS"] = "/bin/mkdir -p"
|
102
102
|
CONFIG["MKDIR_P"] = "/bin/mkdir -p"
|
metadata
CHANGED
@@ -1,13 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cairo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease: false
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 8
|
9
|
-
- 3
|
10
|
-
version: 1.8.3
|
4
|
+
version: 1.8.4
|
11
5
|
platform: x86-mingw32
|
12
6
|
authors:
|
13
7
|
- Evan Marin
|
@@ -18,25 +12,10 @@ autorequire:
|
|
18
12
|
bindir: bin
|
19
13
|
cert_chain: []
|
20
14
|
|
21
|
-
date: 2010-08-
|
15
|
+
date: 2010-08-27 00:00:00 +09:00
|
22
16
|
default_executable:
|
23
|
-
dependencies:
|
24
|
-
|
25
|
-
name: rubyforge
|
26
|
-
prerelease: false
|
27
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
28
|
-
none: false
|
29
|
-
requirements:
|
30
|
-
- - ">="
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
hash: 7
|
33
|
-
segments:
|
34
|
-
- 2
|
35
|
-
- 0
|
36
|
-
- 4
|
37
|
-
version: 2.0.4
|
38
|
-
type: :development
|
39
|
-
version_requirements: *id001
|
17
|
+
dependencies: []
|
18
|
+
|
40
19
|
description: Ruby bindings for cairo
|
41
20
|
email:
|
42
21
|
- cairo@cairographics.org
|
@@ -390,12 +369,125 @@ files:
|
|
390
369
|
- test/test_text_cluster.rb
|
391
370
|
- test/test_text_extents.rb
|
392
371
|
- test/test_text_to_glyphs_data.rb
|
393
|
-
- tmp/
|
394
|
-
- tmp/
|
395
|
-
- tmp/
|
396
|
-
- tmp/
|
397
|
-
- tmp/
|
398
|
-
- tmp/
|
372
|
+
- tmp/i386-mingw32/cairo/1.8.7/fake.rb
|
373
|
+
- tmp/i386-mingw32/cairo/1.8.7/mkmf.rb
|
374
|
+
- tmp/i386-mingw32/cairo/1.8.7/rbconfig.rb
|
375
|
+
- tmp/i386-mingw32/cairo/1.9.2/fake.rb
|
376
|
+
- tmp/i386-mingw32/cairo/1.9.2/mkmf.rb
|
377
|
+
- tmp/i386-mingw32/cairo/1.9.2/rbconfig.rb
|
378
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/bin/libpng14-14.dll
|
379
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/bin/freetype6.dll
|
380
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/bin/zlib1.dll
|
381
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/bin/libfontconfig-1.dll
|
382
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/bin/libcairo-2.dll
|
383
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/include/cairo/cairo-features.h
|
384
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/include/cairo/cairo.h
|
385
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/include/cairo/cairo-svg.h
|
386
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/include/cairo/cairo-version.h
|
387
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/include/cairo/cairo-deprecated.h
|
388
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/include/cairo/cairo-ps.h
|
389
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/include/cairo/cairo-pdf.h
|
390
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/include/cairo/cairo-win32.h
|
391
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/include/cairo/cairo-ft.h
|
392
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/include/zconf.h
|
393
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/include/zlib.h
|
394
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/include/png.h
|
395
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/include/pngconf.h
|
396
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/include/libpng14/png.h
|
397
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/include/libpng14/pngconf.h
|
398
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/src/tml/packaging/libpng_1.4.3-1_win32.sh
|
399
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/src/tml/packaging/cairo_1.8.10-4_win32.log
|
400
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/src/tml/packaging/zlib_1.2.5-2_win32.log
|
401
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/src/tml/packaging/zlib_1.2.5-2_win32.sh
|
402
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/src/tml/packaging/cairo_1.8.10-4_win32.sh
|
403
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/src/tml/packaging/libpng_1.4.3-1_win32.log
|
404
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/etc/fonts/fonts.conf
|
405
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/doc/cairo_1.8.10-4_win32/COPYING-LGPL-2.1
|
406
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/doc/cairo_1.8.10-4_win32/COPYING-MPL-1.1
|
407
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/doc/cairo_1.8.10-4_win32/COPYING
|
408
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/man/man3/libpngpf.3
|
409
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/man/man3/libpng.3
|
410
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/man/man5/png.5
|
411
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-matrix.html
|
412
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/language-bindings.html
|
413
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-ft-font.html
|
414
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-win32-surface.html
|
415
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-ps-surface.html
|
416
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/bindings-streams.html
|
417
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-context.html
|
418
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/right.png
|
419
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-png-functions.html
|
420
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-drawing.html
|
421
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/index.sgml
|
422
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-user-font.html
|
423
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/bindings-return-values.html
|
424
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-win32-font.html
|
425
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/bindings-patterns.html
|
426
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/index-1.2.html
|
427
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/bindings-fonts.html
|
428
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-types.html
|
429
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-text.html
|
430
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-svg-surface.html
|
431
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/style.css
|
432
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-surface.html
|
433
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-image-surface.html
|
434
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-quartz-surface.html
|
435
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-fonts.html
|
436
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-scaled-font.html
|
437
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-quartz-font.html
|
438
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo.devhelp
|
439
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/index-1.4.html
|
440
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-xlib-surface.html
|
441
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/home.png
|
442
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/left.png
|
443
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/up.png
|
444
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-support.html
|
445
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-version-info.html
|
446
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-pattern.html
|
447
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-paths.html
|
448
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-pdf-surface.html
|
449
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-transformations.html
|
450
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-error-status.html
|
451
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/bindings-path.html
|
452
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-surfaces.html
|
453
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/bindings-memory.html
|
454
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/bindings-overloading.html
|
455
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-font-options.html
|
456
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/index-1.8.html
|
457
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo-font-face.html
|
458
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/bindings-surfaces.html
|
459
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/index.html
|
460
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/bindings-errors.html
|
461
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/cairo.devhelp2
|
462
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/index-1.6.html
|
463
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/share/gtk-doc/html/cairo/index-all.html
|
464
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libcairo.dll.a
|
465
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/lib/cairo.def
|
466
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libpng14.dll.a
|
467
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/lib/cairo.lib
|
468
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libpng.def
|
469
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/lib/pkgconfig/cairo-png.pc
|
470
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/lib/pkgconfig/cairo-win32-font.pc
|
471
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/lib/pkgconfig/cairo.pc
|
472
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/lib/pkgconfig/cairo-pdf.pc
|
473
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/lib/pkgconfig/cairo-ft.pc
|
474
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/lib/pkgconfig/libpng.pc
|
475
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/lib/pkgconfig/cairo-ps.pc
|
476
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/lib/pkgconfig/cairo-win32.pc
|
477
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/lib/pkgconfig/libpng14.pc
|
478
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/lib/pkgconfig/cairo-svg.pc
|
479
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/lib/zdll.lib
|
480
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/lib/zlib.def
|
481
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libpng.lib
|
482
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libz.dll.a
|
483
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/manifest/freetype_2.4.2-1_win32.mft
|
484
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/manifest/zlib_1.2.5-2_win32.mft
|
485
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/manifest/zlib-dev_1.2.5-2_win32.mft
|
486
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/manifest/cairo-dev_1.8.10-4_win32.mft
|
487
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/manifest/cairo_1.8.10-4_win32.mft
|
488
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/manifest/fontconfig_2.8.0-2_win32.mft
|
489
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/manifest/libpng_1.4.3-1_win32.mft
|
490
|
+
- /home/kou/work/ruby/rcairo.win32/vendor/local/manifest/libpng-dev_1.4.3-1_win32.mft
|
399
491
|
- lib/1.8/cairo.so
|
400
492
|
- lib/1.9/cairo.so
|
401
493
|
has_rdoc: true
|
@@ -409,27 +501,21 @@ rdoc_options:
|
|
409
501
|
require_paths:
|
410
502
|
- lib
|
411
503
|
required_ruby_version: !ruby/object:Gem::Requirement
|
412
|
-
none: false
|
413
504
|
requirements:
|
414
505
|
- - ">="
|
415
506
|
- !ruby/object:Gem::Version
|
416
|
-
hash: 3
|
417
|
-
segments:
|
418
|
-
- 0
|
419
507
|
version: "0"
|
508
|
+
version:
|
420
509
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
421
|
-
none: false
|
422
510
|
requirements:
|
423
511
|
- - ">="
|
424
512
|
- !ruby/object:Gem::Version
|
425
|
-
hash: 3
|
426
|
-
segments:
|
427
|
-
- 0
|
428
513
|
version: "0"
|
514
|
+
version:
|
429
515
|
requirements: []
|
430
516
|
|
431
517
|
rubyforge_project: cairo
|
432
|
-
rubygems_version: 1.3.
|
518
|
+
rubygems_version: 1.3.5
|
433
519
|
signing_key:
|
434
520
|
specification_version: 3
|
435
521
|
summary: Ruby bindings for cairo
|