rsvg2 1.0.3-x86-mingw32 → 1.1.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,68 @@
1
+ /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
+ /*
3
+ * Copyright (C) 2011 Ruby-GNOME2 Project Team
4
+ * Copyright (C) 2005-2006 Ruby-GNOME2 Project Team
5
+ * Copyright (C) 2004 Kouhei Sutou <kou@cozmixng.org>
6
+ *
7
+ * This library is free software; you can redistribute it and/or
8
+ * modify it under the terms of the GNU Lesser General Public
9
+ * License as published by the Free Software Foundation; either
10
+ * version 2.1 of the License, or (at your option) any later version.
11
+ *
12
+ * This library is distributed in the hope that it will be useful,
13
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
+ * Lesser General Public License for more details.
16
+ *
17
+ * You should have received a copy of the GNU Lesser General Public
18
+ * License along with this library; if not, write to the Free Software
19
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
20
+ * MA 02110-1301 USA
21
+ */
22
+
23
+ #ifndef RSVG2_H
24
+ #define RSVG2_H
25
+
26
+ #ifdef __cplusplus
27
+ extern "C" {
28
+ #endif /* __cplusplus */
29
+
30
+ #include <ruby.h>
31
+
32
+ #include <rbglib.h>
33
+ #include <rbgobject.h>
34
+
35
+ #ifdef HAVE_LIBRSVG_RSVG_GZ_H
36
+ # include <librsvg/rsvg-gz.h>
37
+ #else
38
+ # include <librsvg/rsvg.h>
39
+ #endif
40
+
41
+ #ifdef HAVE_RB_CAIRO_H
42
+ # include <rb_cairo.h>
43
+ # include <librsvg/rsvg-cairo.h>
44
+ #endif
45
+
46
+ #ifdef HAVE_LIBRSVG_LIBRSVG_ENUM_TYPES_H
47
+ # include <librsvg/librsvg-enum-types.h>
48
+ #else
49
+ # include "librsvg-enum-types.h"
50
+ #endif
51
+
52
+ #include <librsvg/librsvg-features.h>
53
+
54
+ #define LIBRSVG_CHECK_VERSION(major, minor, micro) \
55
+ (LIBRSVG_MAJOR_VERSION > (major) || \
56
+ (LIBRSVG_MAJOR_VERSION == (major) && LIBRSVG_MINOR_VERSION > (minor)) || \
57
+ (LIBRSVG_MAJOR_VERSION == (major) && LIBRSVG_MINOR_VERSION == (minor) && \
58
+ LIBRSVG_MICRO_VERSION >= (micro)))
59
+
60
+
61
+ G_GNUC_INTERNAL void Init_rsvg_handle(VALUE mRSVG);
62
+ G_GNUC_INTERNAL void Init_rsvg_dimensiondata(VALUE mRSVG);
63
+
64
+ #ifdef __cplusplus
65
+ }
66
+ #endif
67
+
68
+ #endif
Binary file
Binary file
metadata CHANGED
@@ -1,21 +1,21 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rsvg2
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
+ - 1
8
9
  - 0
9
- - 3
10
- version: 1.0.3
10
+ version: 1.1.0
11
11
  platform: x86-mingw32
12
12
  authors:
13
- - The Ruby-GNOME2 Proejct Team
13
+ - The Ruby-GNOME2 Project Team
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-09-18 00:00:00 Z
18
+ date: 2012-01-05 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: cairo
@@ -41,12 +41,12 @@ dependencies:
41
41
  requirements:
42
42
  - - ">="
43
43
  - !ruby/object:Gem::Version
44
- hash: 17
44
+ hash: 19
45
45
  segments:
46
46
  - 1
47
+ - 1
47
48
  - 0
48
- - 3
49
- version: 1.0.3
49
+ version: 1.1.0
50
50
  type: :runtime
51
51
  version_requirements: *id002
52
52
  description: Ruby/RSVG is a Ruby binding of librsvg-2.x.
@@ -58,15 +58,17 @@ extensions: []
58
58
  extra_rdoc_files: []
59
59
 
60
60
  files:
61
- - ChangeLog
62
61
  - README
63
62
  - Rakefile
64
63
  - extconf.rb
65
64
  - lib/rsvg2.rb
65
+ - ext/rsvg2/rbrsvghandle.c
66
+ - ext/rsvg2/rsvg2.h
66
67
  - ext/rsvg2/extconf.rb
67
68
  - ext/rsvg2/rsvg2.def
68
69
  - ext/rsvg2/depend
69
70
  - ext/rsvg2/rbrsvg.c
71
+ - ext/rsvg2/rbrsvgdimensiondata.c
70
72
  - sample/svg2.rb
71
73
  - sample/svg-viewer.rb
72
74
  - lib/1.8/rsvg2.so
@@ -420,7 +422,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
420
422
  requirements: []
421
423
 
422
424
  rubyforge_project:
423
- rubygems_version: 1.7.2
425
+ rubygems_version: 1.8.12
424
426
  signing_key:
425
427
  specification_version: 3
426
428
  summary: Ruby/RSVG is a Ruby binding of librsvg-2.x.
data/ChangeLog DELETED
@@ -1,209 +0,0 @@
1
- 2011-01-30 Kouhei Sutou <kou@cozmixng.org>
2
-
3
- * Rakefile, ext/rsvg2/extconf.rb: share depended packages vendor/local/.
4
-
5
- 2011-01-22 Masaaki Aoyagi
6
-
7
- * Rakefile: change to use gnome2-raketask.rb.
8
-
9
- 2010-11-01 Kouhei Sutou <kou@clear-code.com>
10
-
11
- * Rakefile: add missing libxml dependency.
12
-
13
- 2010-09-29 Kouhei Sutou <kou@cozmixng.org>
14
-
15
- * Rakefile: fix dependencies.
16
-
17
- * Rakefile: add missing gdk-pixbuf dependency.
18
-
19
- * Rakefile: add missing libcroco dependency.
20
- Reported by U.Nakamura. Thanks!!!
21
-
22
- 2010-09-26 Kouhei Sutou <kou@cozmixng.org>
23
-
24
- * ext/rsvg2/rbrsvg.c: also check rb_cairo.h availability.
25
- [#3075617] Cann't compile rsvg.
26
- Reported by O01eg. Thanks!!!
27
-
28
- 2010-09-23 Kouhei Sutou <kou@cozmixng.org>
29
-
30
- * Rakefile: don't add .zip into gem.
31
-
32
- * lib/rsvg2.rb: support bundled Windows DLL.
33
-
34
- * ./: make buildable with rake-compiler.
35
-
36
- 2010-09-22 Kouhei Sutou <kou@cozmixng.org>
37
-
38
- * src/: -> ext/rsvg2/.
39
-
40
- * src/lib/: -> lib/.
41
-
42
- 2008-11-06 Kouhei Sutou <kou@cozmixng.org>
43
-
44
- * extconf.rb: add missing librsvg/rsvg-cairo.h check.
45
- Reported by James Healy. Thanks!!!
46
-
47
- 2008-09-13 Kouhei Sutou <kou@cozmixng.org>
48
-
49
- * extconf.rb: use check_cairo.
50
-
51
- 2008-06-11 Kouhei Sutou <kou@cozmixng.org>
52
-
53
- * extconf.rb: include librsvg/rsvg.h in have_func test.
54
-
55
- 2008-04-13 Kouhei Sutou <kou@cozmixng.org>
56
-
57
- * extconf.rb: fix rcairo's source path.
58
-
59
- 2007-07-13 Guillaume Cottenceau
60
-
61
- * src/rbrsvg.c: replace RTEST uses by RVAL2CBOOL
62
-
63
- 2007-06-16 Kouhei Sutou <kou@cozmixng.org>
64
-
65
- * src/rbrsvg.c: used RSTRING_LEN instead of RSTRING()->len to
66
- support ruby 1.9.
67
-
68
- 2006-12-10 Kouhei Sutou <kou@cozmixng.org>
69
-
70
- * src/rbrsvg.c (RSVG::DimensionData#to_ary): defined as alias of
71
- #to_a.
72
-
73
- 2006-12-05 Kouhei Sutou <kou@cozmixng.org>
74
-
75
- * extconf.rb: used glib_mkenums.
76
-
77
- 2006-11-03 Kouhei Sutou <kou@cozmixng.org>
78
-
79
- * sample/svg-viewer.rb: added new sample.
80
-
81
- 2006-07-01 Kouhei Sutou <kou@cozmixng.org>
82
-
83
- * src/rbrsvg.c (rb_rsvg_pixbuf_from_file_at_zoom_ex): fixed a
84
- memory leak.
85
-
86
- 2006-07-01 Masao Mutoh <mutoh@highway.ne.jp>
87
-
88
- * src/rbrsvg.c (rb_rsvg_pixbuf_from_file_at_max_size_ex): Fix a
89
- compilation problem.
90
-
91
- 2006-06-17 Masao Mutoh <mutoh@highway.ne.jp>
92
-
93
- * sample/rsvg2.rb: added header part.
94
-
95
- 2006-06-07 Kouhei Sutou <kou@cozmixng.org>
96
-
97
- * src/rbrsvg.c: fixed memory leak bugs related GdkPixbuf.
98
-
99
- 2006-05-12 Kouhei Sutou <kou@cozmixng.org>
100
-
101
- * src/rbrsvg.c (rb_rsvg_handle_initialize): use G_INITIALIZE if
102
- available.
103
-
104
- 2006-05-08 Kouhei Sutou <kou@cozmixng.org>
105
-
106
- * src/rbrsvg.c (Init_rsvg2): Don't use
107
- librsvg_{major,minor,micro}_version because they became to local
108
- variable.
109
-
110
- 2006-03-22 Kouhei Sutou <kou@cozmixng.org>
111
-
112
- * src/rbrsvg.c: hid rsvg_init() and rsvg_term() from Ruby.
113
- * src/lib/rsvg2.rb: ditto.
114
-
115
- * sample/svg2.rb:
116
- - added workaround of rsvg_handle_new_from()'s bug.
117
- - fixed typo.
118
-
119
- 2006-03-17 Kouhei Sutou <kou@cozmixng.org>
120
-
121
- * src/rbrsvg.c: Supported 2.14.
122
- * src/lib/rsvg2.rb: ditto.
123
- * extconf.rb: ditto.
124
-
125
- * sample/svg2.rb: Added an example with cairo.
126
-
127
- * README:
128
- - Fixed format.
129
- - Updated copying.
130
-
131
- 2006-01-19 Kouhei Sutou <kou@cozmixng.org>
132
-
133
- * src/rbrsvg.c: Added RSVG::BINDING_VERSION, RBRSVG_MAJOR_VERSION,
134
- RBRSVG_MINOR_VERSION, RBRSVG_MICRO_VERSION.
135
-
136
- 2005-10-10 Kouhei Sutou <kou@cozmixng.org>
137
-
138
- * src/rbrsvg.c:
139
- - Added RSVG::VERSION, RSVG::MAJOR_VERSION, RSVG::MINOR_VERSION
140
- and RSVG::MICRO_VERSION.
141
- - Revised copyright information.
142
- - Fixed indentation.
143
-
144
- 2005-09-30 Kouhei Sutou <kou@cozmixng.org>
145
-
146
- * src/rbrsvg.c: Support 2.9, 2.11 and 2.12.
147
- * src/lib/rsvg2.rb: ditto.
148
-
149
- 2005-07-24 Masao Mutoh <mutoh@highway.ne.jp>
150
-
151
- * src/rbrsvg.c: Fix compiling warnings.
152
-
153
- 2005-07-17 Kouhei Sutou <kou@cozmixng.org>
154
-
155
- * extconf.rb: check system has librsvg/rsvg-gz.h header or not.
156
-
157
- * src/rbrsvg.c: include librsvg/rsvg.h instead of
158
- librsvg/rsvg-gz.h if librsvg/rsvg-gz.h is not exist.
159
-
160
- * src/rbrsvg.c (rb_rsvg_handle_new): use rsvg_handle_new for
161
- fallback if librsvg/rsvg-gz.h is not exist and we are required
162
- gz handling.
163
-
164
- 2005-06-13 Kouhei Sutou <kou@cozmixng.org>
165
-
166
- * src/rbrsvg.c: fixed macro name. (HAVE_LIBRSVG_LIBRSVG_ENUM_TYPES_H)
167
-
168
- 2005-06-12 Kouhei Sutou <kou@cozmixng.org>
169
-
170
- * extconf.rb: added librsvg/ prefix to "#{enum_type_prefix}.h".
171
-
172
- 2005-06-11 Kouhei Sutou <kou@cozmixng.org>
173
-
174
- * src/rbrsvg.c: removed `_ex' suffix.
175
-
176
- 2005-03-09 Kouhei Sutou <kou@cozmixng.org>
177
-
178
- * README: fixed dependencies.
179
-
180
- 2005-03-05 Masao Mutoh <mutoh@highway.ne.jp>
181
-
182
- * extconf.rb: extconf.rb uses PKGConfig.cflags_only_I instead of
183
- calling pkg-config directly.
184
-
185
- 2005-02-23 Kouhei Sutou <kou@cozmixng.org>
186
-
187
- * extconf.rb (mkenums): added dummy $makefile_created setup code
188
- for inhibiting failed message of mkmf.rb in ruby 1.9.
189
-
190
- 2005-01-30 Masao Mutoh <mutoh@highway.ne.jp>
191
-
192
- * extconf.rb: Follow mkmf-gnome2.rb changes.
193
-
194
- 2004-11-21 Kouhei Sutou <kou@cozmixng.org>
195
-
196
- * extconf.rb: added librsvg-enum-types.{c,h} generation code.
197
-
198
- * src/rbrsvg.c: used G_DEF_ERROR and RAISE_GERROR.
199
-
200
- 2004-11-14 Masao Mutoh <mutoh@highway.ne.jp>
201
-
202
- * src/rbrsvg.c: Fixed warnings under rsvg-2.6.x.
203
-
204
- 2004-11-13 Kouhei Sutou <kou@cozmixng.org>
205
-
206
- * README: Fixed requirements.
207
-
208
- * rsvg: imported.
209
-