cairo 1.12.3 → 1.12.4
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 +8 -0
- data/ext/cairo/extconf.rb +21 -21
- data/ext/cairo/rb_cairo.h +1 -1
- metadata +64 -64
data/NEWS
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
Release 1.12.4 (2013-03-11) Kouhei Sutou <kou@cozmixng.org>
|
2
|
+
===========================================================
|
3
|
+
|
4
|
+
Improvements
|
5
|
+
------------
|
6
|
+
|
7
|
+
* Added Windows binary for Ruby 2.0.0.
|
8
|
+
|
1
9
|
Release 1.12.3 (2012-12-04) Kouhei Sutou <kou@cozmixng.org>
|
2
10
|
===========================================================
|
3
11
|
|
data/ext/cairo/extconf.rb
CHANGED
@@ -47,27 +47,6 @@ checking_for(checking_message("Win32 OS")) do
|
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
50
|
-
checking_for(checking_message("Mac OS X")) do
|
51
|
-
case RUBY_PLATFORM
|
52
|
-
when /darwin/
|
53
|
-
if have_macro("CAIRO_HAS_QUARTZ_SURFACE", ["cairo.h"])
|
54
|
-
checking_for("RubyCocoa") do
|
55
|
-
begin
|
56
|
-
require 'osx/cocoa'
|
57
|
-
$defs << "-DHAVE_RUBY_COCOA"
|
58
|
-
$DLDFLAGS << " -Wl,-framework,RubyCocoa"
|
59
|
-
true
|
60
|
-
rescue LoadError
|
61
|
-
false
|
62
|
-
end
|
63
|
-
end
|
64
|
-
end
|
65
|
-
true
|
66
|
-
else
|
67
|
-
false
|
68
|
-
end
|
69
|
-
end
|
70
|
-
|
71
50
|
def package_platform
|
72
51
|
if File.exist?("/etc/debian_version")
|
73
52
|
:debian
|
@@ -192,6 +171,27 @@ unless required_pkg_config_package([package, major, minor, micro],
|
|
192
171
|
exit(false)
|
193
172
|
end
|
194
173
|
|
174
|
+
checking_for(checking_message("Mac OS X")) do
|
175
|
+
case RUBY_PLATFORM
|
176
|
+
when /darwin/
|
177
|
+
if have_macro("CAIRO_HAS_QUARTZ_SURFACE", ["cairo.h"])
|
178
|
+
checking_for("RubyCocoa") do
|
179
|
+
begin
|
180
|
+
require 'osx/cocoa'
|
181
|
+
$defs << "-DHAVE_RUBY_COCOA"
|
182
|
+
$DLDFLAGS << " -Wl,-framework,RubyCocoa"
|
183
|
+
true
|
184
|
+
rescue LoadError
|
185
|
+
false
|
186
|
+
end
|
187
|
+
end
|
188
|
+
end
|
189
|
+
true
|
190
|
+
else
|
191
|
+
false
|
192
|
+
end
|
193
|
+
end
|
194
|
+
|
195
195
|
$defs << "-DRB_CAIRO_COMPILATION"
|
196
196
|
|
197
197
|
have_header("ruby/st.h") unless have_macro("HAVE_RUBY_ST_H", "ruby.h")
|
data/ext/cairo/rb_cairo.h
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cairo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.12.
|
4
|
+
version: 1.12.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-03-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: pkg-config
|
@@ -108,80 +108,80 @@ files:
|
|
108
108
|
- README.rdoc
|
109
109
|
- ext/cairo/extconf.rb
|
110
110
|
- Rakefile
|
111
|
-
- lib/cairo
|
112
|
-
- lib/cairo/pattern.rb
|
113
|
-
- lib/cairo/papers.rb
|
111
|
+
- lib/cairo.rb
|
114
112
|
- lib/cairo/point.rb
|
115
|
-
- lib/cairo/
|
113
|
+
- lib/cairo/surface.rb
|
114
|
+
- lib/cairo/paper.rb
|
115
|
+
- lib/cairo/pattern.rb
|
116
|
+
- lib/cairo/constants.rb
|
116
117
|
- lib/cairo/device.rb
|
117
|
-
- lib/cairo/
|
118
|
-
- lib/cairo/
|
118
|
+
- lib/cairo/papers.rb
|
119
|
+
- lib/cairo/color.rb
|
119
120
|
- lib/cairo/context/rectangle.rb
|
120
|
-
- lib/cairo/context/color.rb
|
121
|
-
- lib/cairo/context/blur.rb
|
122
121
|
- lib/cairo/context/triangle.rb
|
122
|
+
- lib/cairo/context/circle.rb
|
123
|
+
- lib/cairo/context/blur.rb
|
124
|
+
- lib/cairo/context/color.rb
|
123
125
|
- lib/cairo/context/path.rb
|
126
|
+
- lib/cairo/colors.rb
|
124
127
|
- lib/cairo/path.rb
|
125
|
-
- lib/cairo/
|
126
|
-
- lib/cairo/constants.rb
|
127
|
-
- lib/cairo/paper.rb
|
128
|
-
- lib/cairo.rb
|
129
|
-
- samples/pac-tee.rb
|
130
|
-
- samples/agg/aa_test.rb
|
128
|
+
- lib/cairo/context.rb
|
131
129
|
- samples/pac-nomralize.rb
|
130
|
+
- samples/png.rb
|
132
131
|
- samples/text2.rb
|
132
|
+
- samples/agg/aa_test.rb
|
133
133
|
- samples/scalable.rb
|
134
|
+
- samples/text-on-path.rb
|
134
135
|
- samples/blur.rb
|
135
|
-
- samples/
|
136
|
+
- samples/pac-tee.rb
|
136
137
|
- samples/pac.rb
|
137
|
-
- samples/text-on-path.rb
|
138
138
|
- ext/cairo/cairo.def
|
139
139
|
- ext/cairo/depend
|
140
|
-
- ext/cairo/
|
141
|
-
- ext/cairo/rb_cairo_constants.c
|
142
|
-
- ext/cairo/rb_cairo_pattern.c
|
143
|
-
- ext/cairo/rb_cairo_exception.c
|
144
|
-
- ext/cairo/rb_cairo_font_options.c
|
145
|
-
- ext/cairo/rb_cairo_text_cluster.c
|
146
|
-
- ext/cairo/rb_cairo_text_extents.c
|
140
|
+
- ext/cairo/rb_cairo_surface.c
|
147
141
|
- ext/cairo/rb_cairo_device.c
|
148
|
-
- ext/cairo/rb_cairo_font_face.c
|
149
|
-
- ext/cairo/rb_cairo_scaled_font.c
|
150
142
|
- ext/cairo/rb_cairo_context.c
|
151
143
|
- ext/cairo/rb_cairo_glyph.c
|
152
|
-
- ext/cairo/
|
153
|
-
- ext/cairo/
|
144
|
+
- ext/cairo/rb_cairo_font_face.c
|
145
|
+
- ext/cairo/rb_cairo_region.c
|
146
|
+
- ext/cairo/rb_cairo_text_cluster.c
|
154
147
|
- ext/cairo/rb_cairo_path.c
|
155
|
-
- ext/cairo/
|
148
|
+
- ext/cairo/rb_cairo_exception.c
|
149
|
+
- ext/cairo/rb_cairo_pattern.c
|
156
150
|
- ext/cairo/rb_cairo_matrix.c
|
157
|
-
- ext/cairo/
|
151
|
+
- ext/cairo/rb_cairo_font_extents.c
|
152
|
+
- ext/cairo/rb_cairo_io.c
|
153
|
+
- ext/cairo/rb_cairo_scaled_font.c
|
154
|
+
- ext/cairo/rb_cairo_text_extents.c
|
158
155
|
- ext/cairo/rb_cairo.c
|
159
|
-
- ext/cairo/
|
156
|
+
- ext/cairo/rb_cairo_private.c
|
157
|
+
- ext/cairo/rb_cairo_constants.c
|
158
|
+
- ext/cairo/rb_cairo_font_options.c
|
160
159
|
- ext/cairo/rb_cairo.h
|
161
160
|
- ext/cairo/rb_cairo_private.h
|
162
|
-
-
|
163
|
-
- test/test_scaled_font.rb
|
164
|
-
- test/test_recording_surface.rb
|
165
|
-
- test/test_text_to_glyphs_data.rb
|
166
|
-
- test/test_font_extents.rb
|
167
|
-
- test/test_tee_surface.rb
|
168
|
-
- test/test_text_extents.rb
|
169
|
-
- test/test_paper.rb
|
170
|
-
- test/test_context.rb
|
161
|
+
- ext/cairo/rb_cairo_io.h
|
171
162
|
- test/cairo-test-utils.rb
|
163
|
+
- test/test_constants.rb
|
172
164
|
- test/test_xml_device.rb
|
173
|
-
- test/
|
174
|
-
- test/run-test.rb
|
165
|
+
- test/test_recording_surface.rb
|
175
166
|
- test/test_script_surface.rb
|
176
|
-
- test/
|
167
|
+
- test/test_raster_source_pattern.rb
|
168
|
+
- test/test_scaled_font.rb
|
169
|
+
- test/test_tee_surface.rb
|
170
|
+
- test/test_text_extents.rb
|
171
|
+
- test/test_exception.rb
|
172
|
+
- test/test_surface.rb
|
177
173
|
- test/test_font_face.rb
|
174
|
+
- test/test_font_options.rb
|
175
|
+
- test/test_text_to_glyphs_data.rb
|
178
176
|
- test/test_script_device.rb
|
179
177
|
- test/test_xml_surface.rb
|
180
|
-
- test/
|
181
|
-
- test/
|
178
|
+
- test/test_region.rb
|
179
|
+
- test/test_context.rb
|
182
180
|
- test/test_color.rb
|
183
|
-
- test/
|
184
|
-
- test/
|
181
|
+
- test/test_paper.rb
|
182
|
+
- test/run-test.rb
|
183
|
+
- test/test_text_cluster.rb
|
184
|
+
- test/test_font_extents.rb
|
185
185
|
homepage: http://cairographics.org/rcairo
|
186
186
|
licenses:
|
187
187
|
- Ruby's
|
@@ -208,27 +208,27 @@ signing_key:
|
|
208
208
|
specification_version: 3
|
209
209
|
summary: Ruby bindings for cairo
|
210
210
|
test_files:
|
211
|
-
- test/test_surface.rb
|
212
|
-
- test/test_scaled_font.rb
|
213
|
-
- test/test_recording_surface.rb
|
214
|
-
- test/test_text_to_glyphs_data.rb
|
215
|
-
- test/test_font_extents.rb
|
216
|
-
- test/test_tee_surface.rb
|
217
|
-
- test/test_text_extents.rb
|
218
|
-
- test/test_paper.rb
|
219
|
-
- test/test_context.rb
|
220
211
|
- test/cairo-test-utils.rb
|
212
|
+
- test/test_constants.rb
|
221
213
|
- test/test_xml_device.rb
|
222
|
-
- test/
|
223
|
-
- test/run-test.rb
|
214
|
+
- test/test_recording_surface.rb
|
224
215
|
- test/test_script_surface.rb
|
225
|
-
- test/
|
216
|
+
- test/test_raster_source_pattern.rb
|
217
|
+
- test/test_scaled_font.rb
|
218
|
+
- test/test_tee_surface.rb
|
219
|
+
- test/test_text_extents.rb
|
220
|
+
- test/test_exception.rb
|
221
|
+
- test/test_surface.rb
|
226
222
|
- test/test_font_face.rb
|
223
|
+
- test/test_font_options.rb
|
224
|
+
- test/test_text_to_glyphs_data.rb
|
227
225
|
- test/test_script_device.rb
|
228
226
|
- test/test_xml_surface.rb
|
229
|
-
- test/
|
230
|
-
- test/
|
227
|
+
- test/test_region.rb
|
228
|
+
- test/test_context.rb
|
231
229
|
- test/test_color.rb
|
232
|
-
- test/
|
233
|
-
- test/
|
230
|
+
- test/test_paper.rb
|
231
|
+
- test/run-test.rb
|
232
|
+
- test/test_text_cluster.rb
|
233
|
+
- test/test_font_extents.rb
|
234
234
|
has_rdoc:
|