cairo 1.12.5 → 1.12.6

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 (4) hide show
  1. data/NEWS +16 -0
  2. data/Rakefile +23 -1
  3. data/ext/cairo/rb_cairo.h +1 -1
  4. metadata +2 -2
data/NEWS CHANGED
@@ -1,3 +1,19 @@
1
+ Release 1.12.6 (2013-05-24) Kouhei Sutou <kou@cozmixng.org>
2
+ ===========================================================
3
+
4
+ Improvements
5
+ ------------
6
+
7
+ * Supported Windows XP again.
8
+ [ruby-list:49392][Reported by 5.5]
9
+ [ruby-list:49401][Researched by myokoym]
10
+
11
+ Thanks
12
+ ------
13
+
14
+ * 5.5
15
+ * myokoym
16
+
1
17
  Release 1.12.5 (2013-05-18) Kouhei Sutou <kou@cozmixng.org>
2
18
  ===========================================================
3
19
 
data/Rakefile CHANGED
@@ -109,7 +109,9 @@ class Package < Struct.new(:name,
109
109
  class Windows < Struct.new(:builder,
110
110
  :build_host,
111
111
  :configure_args,
112
- :built_file)
112
+ :built_file,
113
+ :patches,
114
+ :need_autoreconf)
113
115
  def initialize(parameters)
114
116
  super()
115
117
  parameters.each do |key, value|
@@ -124,6 +126,14 @@ class Package < Struct.new(:name,
124
126
  def configure_args
125
127
  super || []
126
128
  end
129
+
130
+ def patches
131
+ super || []
132
+ end
133
+
134
+ def need_autoreconf?
135
+ need_autoreconf
136
+ end
127
137
  end
128
138
  end
129
139
 
@@ -225,6 +235,10 @@ class WindowsTask
225
235
  Dir.chdir(package_build_dir.to_s) do
226
236
  sh("tar", "xf", archive_path.to_s)
227
237
  Dir.chdir(package.base_name.to_s) do
238
+ package.windows.patches.each do |patch|
239
+ sh("patch", "-p1", "--input", (patches_dir + patch).to_s)
240
+ end
241
+ sh("autoreconf", "--install") if package.windows.need_autoreconf?
228
242
  custom_builder = package.windows.builder
229
243
  if custom_builder
230
244
  custom_builder.build(package, install_dir)
@@ -308,6 +322,10 @@ class WindowsTask
308
322
  download_dir + package.archive_path
309
323
  end
310
324
 
325
+ def patches_dir
326
+ @base_dir + "patches"
327
+ end
328
+
311
329
  def ruby_gnome2_dir
312
330
  @base_dir.parent + "ruby-gnome2.win32"
313
331
  end
@@ -391,6 +409,10 @@ windows_task = WindowsTask.new(spec) do |task|
391
409
  "--enable-libxml2",
392
410
  "--disable-docs",
393
411
  ],
412
+ :patches => [
413
+ "fontconfig-2.10.92-disable-mktemp-s.diff",
414
+ ],
415
+ :need_autoreconf => true,
394
416
  },
395
417
  },
396
418
  {
@@ -73,7 +73,7 @@ RB_CAIRO_BEGIN_DECLS
73
73
 
74
74
  #define RB_CAIRO_VERSION_MAJOR 1
75
75
  #define RB_CAIRO_VERSION_MINOR 12
76
- #define RB_CAIRO_VERSION_MICRO 5
76
+ #define RB_CAIRO_VERSION_MICRO 6
77
77
 
78
78
  RB_CAIRO_VAR VALUE rb_mCairo;
79
79
  RB_CAIRO_VAR VALUE rb_cCairo_Context;
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.5
4
+ version: 1.12.6
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: 2013-05-18 00:00:00.000000000 Z
12
+ date: 2013-05-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pkg-config