cairo 1.12.5-x86-mingw32 → 1.12.6-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 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
  {
data/ext/cairo/rb_cairo.h CHANGED
@@ -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;
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,155 @@
1
+ <?xml version="1.0"?>
2
+ <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3
+ <!-- /etc/fonts/fonts.conf file to configure system font access -->
4
+ <fontconfig>
5
+
6
+ <!--
7
+ DO NOT EDIT THIS FILE.
8
+ IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED.
9
+ LOCAL CHANGES BELONG IN 'local.conf'.
10
+
11
+ The intent of this standard configuration file is to be adequate for
12
+ most environments. If you have a reasonably normal environment and
13
+ have found problems with this configuration, they are probably
14
+ things that others will also want fixed. Please submit any
15
+ problems to the fontconfig bugzilla system located at fontconfig.org
16
+
17
+ Note that the normal 'make install' procedure for fontconfig is to
18
+ replace any existing fonts.conf file with the new version. Place
19
+ any local customizations in local.conf which this file references.
20
+
21
+ Keith Packard
22
+ -->
23
+
24
+ <!-- Font directory list -->
25
+
26
+ <dir>WINDOWSFONTDIR</dir>
27
+
28
+ <dir prefix="xdg">fonts</dir>
29
+ <!-- the following element will be removed in the future -->
30
+ <dir>~/.fonts</dir>
31
+
32
+ <!--
33
+ Accept deprecated 'mono' alias, replacing it with 'monospace'
34
+ -->
35
+ <match target="pattern">
36
+ <test qual="any" name="family">
37
+ <string>mono</string>
38
+ </test>
39
+ <edit name="family" mode="assign" binding="same">
40
+ <string>monospace</string>
41
+ </edit>
42
+ </match>
43
+
44
+ <!--
45
+ Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
46
+ -->
47
+ <match target="pattern">
48
+ <test qual="any" name="family">
49
+ <string>sans serif</string>
50
+ </test>
51
+ <edit name="family" mode="assign" binding="same">
52
+ <string>sans-serif</string>
53
+ </edit>
54
+ </match>
55
+
56
+ <!--
57
+ Accept deprecated 'sans' alias, replacing it with 'sans-serif'
58
+ -->
59
+ <match target="pattern">
60
+ <test qual="any" name="family">
61
+ <string>sans</string>
62
+ </test>
63
+ <edit name="family" mode="assign" binding="same">
64
+ <string>sans-serif</string>
65
+ </edit>
66
+ </match>
67
+
68
+ <!--
69
+ Load local system customization file
70
+ -->
71
+ <include ignore_missing="yes">/home/kou/work/ruby/rcairo.win32/vendor/local/etc/fonts/conf.d</include>
72
+
73
+ <!-- Font cache directory list -->
74
+
75
+ <cachedir>WINDOWSTEMPDIR_FONTCONFIG_CACHE</cachedir>
76
+ <cachedir prefix="xdg">fontconfig</cachedir>
77
+ <!-- the following element will be removed in the future -->
78
+ <cachedir>~/.fontconfig</cachedir>
79
+
80
+ <config>
81
+ <!--
82
+ These are the default Unicode chars that are expected to be blank
83
+ in fonts. All other blank chars are assumed to be broken and
84
+ won't appear in the resulting charsets
85
+ -->
86
+ <blank>
87
+ <int>0x0020</int> <!-- SPACE -->
88
+ <int>0x00A0</int> <!-- NO-BREAK SPACE -->
89
+ <int>0x00AD</int> <!-- SOFT HYPHEN -->
90
+ <int>0x034F</int> <!-- COMBINING GRAPHEME JOINER -->
91
+ <int>0x0600</int> <!-- ARABIC NUMBER SIGN -->
92
+ <int>0x0601</int> <!-- ARABIC SIGN SANAH -->
93
+ <int>0x0602</int> <!-- ARABIC FOOTNOTE MARKER -->
94
+ <int>0x0603</int> <!-- ARABIC SIGN SAFHA -->
95
+ <int>0x06DD</int> <!-- ARABIC END OF AYAH -->
96
+ <int>0x070F</int> <!-- SYRIAC ABBREVIATION MARK -->
97
+ <int>0x115F</int> <!-- HANGUL CHOSEONG FILLER -->
98
+ <int>0x1160</int> <!-- HANGUL JUNGSEONG FILLER -->
99
+ <int>0x1680</int> <!-- OGHAM SPACE MARK -->
100
+ <int>0x17B4</int> <!-- KHMER VOWEL INHERENT AQ -->
101
+ <int>0x17B5</int> <!-- KHMER VOWEL INHERENT AA -->
102
+ <int>0x180E</int> <!-- MONGOLIAN VOWEL SEPARATOR -->
103
+ <int>0x2000</int> <!-- EN QUAD -->
104
+ <int>0x2001</int> <!-- EM QUAD -->
105
+ <int>0x2002</int> <!-- EN SPACE -->
106
+ <int>0x2003</int> <!-- EM SPACE -->
107
+ <int>0x2004</int> <!-- THREE-PER-EM SPACE -->
108
+ <int>0x2005</int> <!-- FOUR-PER-EM SPACE -->
109
+ <int>0x2006</int> <!-- SIX-PER-EM SPACE -->
110
+ <int>0x2007</int> <!-- FIGURE SPACE -->
111
+ <int>0x2008</int> <!-- PUNCTUATION SPACE -->
112
+ <int>0x2009</int> <!-- THIN SPACE -->
113
+ <int>0x200A</int> <!-- HAIR SPACE -->
114
+ <int>0x200B</int> <!-- ZERO WIDTH SPACE -->
115
+ <int>0x200C</int> <!-- ZERO WIDTH NON-JOINER -->
116
+ <int>0x200D</int> <!-- ZERO WIDTH JOINER -->
117
+ <int>0x200E</int> <!-- LEFT-TO-RIGHT MARK -->
118
+ <int>0x200F</int> <!-- RIGHT-TO-LEFT MARK -->
119
+ <int>0x2028</int> <!-- LINE SEPARATOR -->
120
+ <int>0x2029</int> <!-- PARAGRAPH SEPARATOR -->
121
+ <int>0x202A</int> <!-- LEFT-TO-RIGHT EMBEDDING -->
122
+ <int>0x202B</int> <!-- RIGHT-TO-LEFT EMBEDDING -->
123
+ <int>0x202C</int> <!-- POP DIRECTIONAL FORMATTING -->
124
+ <int>0x202D</int> <!-- LEFT-TO-RIGHT OVERRIDE -->
125
+ <int>0x202E</int> <!-- RIGHT-TO-LEFT OVERRIDE -->
126
+ <int>0x202F</int> <!-- NARROW NO-BREAK SPACE -->
127
+ <int>0x205F</int> <!-- MEDIUM MATHEMATICAL SPACE -->
128
+ <int>0x2060</int> <!-- WORD JOINER -->
129
+ <int>0x2061</int> <!-- FUNCTION APPLICATION -->
130
+ <int>0x2062</int> <!-- INVISIBLE TIMES -->
131
+ <int>0x2063</int> <!-- INVISIBLE SEPARATOR -->
132
+ <int>0x206A</int> <!-- INHIBIT SYMMETRIC SWAPPING -->
133
+ <int>0x206B</int> <!-- ACTIVATE SYMMETRIC SWAPPING -->
134
+ <int>0x206C</int> <!-- INHIBIT ARABIC FORM SHAPING -->
135
+ <int>0x206D</int> <!-- ACTIVATE ARABIC FORM SHAPING -->
136
+ <int>0x206E</int> <!-- NATIONAL DIGIT SHAPES -->
137
+ <int>0x206F</int> <!-- NOMINAL DIGIT SHAPES -->
138
+ <int>0x2800</int> <!-- BRAILLE PATTERN BLANK -->
139
+ <int>0x3000</int> <!-- IDEOGRAPHIC SPACE -->
140
+ <int>0x3164</int> <!-- HANGUL FILLER -->
141
+ <int>0xFEFF</int> <!-- ZERO WIDTH NO-BREAK SPACE -->
142
+ <int>0xFFA0</int> <!-- HALFWIDTH HANGUL FILLER -->
143
+ <int>0xFFF9</int> <!-- INTERLINEAR ANNOTATION ANCHOR -->
144
+ <int>0xFFFA</int> <!-- INTERLINEAR ANNOTATION SEPARATOR -->
145
+ <int>0xFFFB</int> <!-- INTERLINEAR ANNOTATION TERMINATOR -->
146
+ </blank>
147
+ <!--
148
+ Rescan configuration every 30 seconds when FcFontSetList is called
149
+ -->
150
+ <rescan>
151
+ <int>30</int>
152
+ </rescan>
153
+ </config>
154
+
155
+ </fontconfig>
Binary file
Binary file
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: x86-mingw32
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
@@ -223,6 +223,7 @@ files:
223
223
  - vendor/local/etc/fonts/conf.d/90-synthetic.conf
224
224
  - vendor/local/etc/fonts/conf.d/README
225
225
  - vendor/local/etc/fonts/fonts.conf
226
+ - vendor/local/etc/fonts/fonts.conf.bak
226
227
  - vendor/local/include/cairo/cairo-deprecated.h
227
228
  - vendor/local/include/cairo/cairo-features.h
228
229
  - vendor/local/include/cairo/cairo-ft.h