cairo 1.15.9 → 1.15.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ffe2015411b6f8596221ee25cbab4b10c0d7c63e
4
- data.tar.gz: ec47b23e02310bb52c3f2e9b1c715f0daabe4458
3
+ metadata.gz: e98d253ecf1026eae9b0e632d7da4e96eb8c1b56
4
+ data.tar.gz: 168a50409bfc3cca15329ea0352652b3bbbc9b32
5
5
  SHA512:
6
- metadata.gz: 585166feb480e97329db7e8e0570ff6b144f8aa341594b76deb87b4570bfe5c6308edd479cfe5917a5ccfc2d1a16209fe5068f5f9cf7c6a57d3b06b1c235fd10
7
- data.tar.gz: c3f958f8f7e84dbac5eb0d6c9fedd129e838433676f30922c22e1dbb92daf8de5879abc8ccb5389f87d97b92d8b4755f4a41e97984af1ffbbbc7ab0e028e7b0e
6
+ metadata.gz: b59c0c32c42824aad114dc98078e99079d1919607d708e3435e4397a063199be01d2a10e0d734635724e6cc8688f478a877338d7b76895adf04fa73d9c638632
7
+ data.tar.gz: eee06bf5b91c207838c2ba8c2c285a3f523275d75afbc2c9cc7c16f11a139938c4f7354a324c43ab3eb65d8a238681ab62c76eb8c15b820e44f90a3f094a7c52
data/NEWS CHANGED
@@ -1,3 +1,23 @@
1
+ Release 1.15.10 (2017-10-15) Kouhei Sutou <kou@cozmixng.org>
2
+ ============================================================
3
+
4
+ Improvements
5
+ ------------
6
+
7
+ * Windows: Ensure setting PATH environment variable.
8
+
9
+ * Added cairo 1.15.8 support.
10
+
11
+ * Windows: Updated bundled libraries:
12
+
13
+ * libpng: 1.6.29 -> 1.6.32
14
+
15
+ * freetype: 2.9.4 -> 2.9.6
16
+
17
+ * fontconfig: 2.12.1 -> 2.12.4
18
+
19
+ * cairo: 1.15.4 -> 1.15.8
20
+
1
21
  Release 1.15.9 (2017-06-03) Kouhei Sutou <kou@cozmixng.org>
2
22
  ===========================================================
3
23
 
data/Rakefile CHANGED
@@ -444,6 +444,8 @@ end
444
444
 
445
445
  windows_task = WindowsTask.new(spec) do |task|
446
446
  zlib_version = "1.2.11"
447
+ libpng_version = "1.6.32"
448
+ freetype_version = "2.8.1"
447
449
  task.packages = [
448
450
  {
449
451
  # We should use the same version as Ruby Installer.
@@ -458,16 +460,16 @@ windows_task = WindowsTask.new(spec) do |task|
458
460
  },
459
461
  {
460
462
  :name => "libpng",
461
- :version => "1.6.29",
462
- :download_base_url => "https://downloads.sourceforge.net/project/libpng/libpng16/1.6.29",
463
+ :version => libpng_version,
464
+ :download_base_url => "https://downloads.sourceforge.net/project/libpng/libpng16/#{libpng_version}",
463
465
  :windows => {
464
466
  :built_file => "bin/libpng16-16.dll",
465
467
  },
466
468
  },
467
469
  {
468
470
  :name => "freetype",
469
- :version => "2.7.1",
470
- :download_base_url => "https://downloads.sourceforge.net/project/freetype/freetype2/2.7.1",
471
+ :version => freetype_version,
472
+ :download_base_url => "https://downloads.sourceforge.net/project/freetype/freetype2/#{freetype_version}",
471
473
  :compression_method => "bz2",
472
474
  :windows => {
473
475
  :built_file => "bin/libfreetype-7.dll",
@@ -475,7 +477,7 @@ windows_task = WindowsTask.new(spec) do |task|
475
477
  },
476
478
  {
477
479
  :name => "libxml2",
478
- :version => "2.9.4",
480
+ :version => "2.9.6",
479
481
  :download_base_url => "ftp://xmlsoft.org/libxml2",
480
482
  :compression_method => "gz",
481
483
  :windows => {
@@ -487,7 +489,7 @@ windows_task = WindowsTask.new(spec) do |task|
487
489
  },
488
490
  {
489
491
  :name => "fontconfig",
490
- :version => "2.12.1",
492
+ :version => "2.12.4",
491
493
  :download_base_url => "https://www.freedesktop.org/software/fontconfig/release",
492
494
  :compression_method => "bz2",
493
495
  :windows => {
@@ -509,7 +511,7 @@ windows_task = WindowsTask.new(spec) do |task|
509
511
  },
510
512
  {
511
513
  :name => "cairo",
512
- :version => "1.15.4",
514
+ :version => "1.15.8",
513
515
  :download_site => :cairo_snapshots,
514
516
  :windows => {
515
517
  :built_file => "bin/libcairo-2.dll",
@@ -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 15
76
- #define RB_CAIRO_VERSION_MICRO 9
76
+ #define RB_CAIRO_VERSION_MICRO 10
77
77
 
78
78
  RB_CAIRO_VAR VALUE rb_mCairo;
79
79
  RB_CAIRO_VAR VALUE rb_cCairo_Context;
@@ -9,12 +9,12 @@ if /mingw|mswin|mswin32/ =~ RUBY_PLATFORM
9
9
  begin
10
10
  require "ruby_installer/runtime"
11
11
  rescue LoadError
12
- ENV["PATH"] = %w(bin lib).collect do |dir|
13
- "#{base_dir}\\#{dir};"
14
- end.join("") + ENV["PATH"]
15
12
  else
16
13
  RubyInstaller::Runtime.add_dll_directory("#{base_dir}\\bin")
17
14
  end
15
+ ENV["PATH"] = %w(bin lib).collect do |dir|
16
+ "#{base_dir}\\#{dir};"
17
+ end.join("") + ENV["PATH"]
18
18
  else
19
19
  require "rbconfig"
20
20
  ENV["PATH"] = %w(bin lib).collect do |dir|
@@ -11,12 +11,16 @@ module CairoTestUtils
11
11
  end
12
12
  end
13
13
 
14
- def only_win32
15
- omit("Only for Win32 platform") unless win32
14
+ def only_windows
15
+ omit("Only for Windows platform") unless windows?
16
16
  end
17
17
 
18
- def win32?
19
- /cygwin|mingw|mswin32|bccwin32/.match(RUBY_PLATFORM) ? true : false
18
+ def only_not_windows
19
+ omit("Only for not Windows platform") if windows?
20
+ end
21
+
22
+ def windows?
23
+ /cygwin|mingw|mswin|bccwin/ === RUBY_PLATFORM
20
24
  end
21
25
 
22
26
  def quartz?
@@ -74,7 +74,7 @@ class ContextTest < Test::Unit::TestCase
74
74
  face = context.font_face
75
75
  default_font_family = ""
76
76
  default_font_family = "Helvetica" if quartz?
77
- default_font_family = "Arial" if win32?
77
+ default_font_family = "Arial" if windows?
78
78
  assert_equal([default_font_family,
79
79
  Cairo::FONT_SLANT_NORMAL,
80
80
  Cairo::FONT_WEIGHT_NORMAL],
@@ -55,7 +55,7 @@ class FontFaceTest < Test::Unit::TestCase
55
55
  face = Cairo::ToyFontFace.new
56
56
  default_font_family = ""
57
57
  default_font_family = "Helvetica" if quartz?
58
- default_font_family = "Arial" if win32?
58
+ default_font_family = "Arial" if windows?
59
59
  assert_equal([default_font_family,
60
60
  Cairo::FONT_SLANT_NORMAL,
61
61
  Cairo::FONT_WEIGHT_NORMAL],
@@ -6,6 +6,7 @@ class RecordingSurfaceTest < Test::Unit::TestCase
6
6
  end
7
7
 
8
8
  def test_new
9
+ only_not_windows
9
10
  only_cairo_version(1, 12, 0)
10
11
  surface = Cairo::RecordingSurface.new(10, 20, 300, 400)
11
12
  assert_equal([0.0, 0.0, 0.0, 0.0], surface.ink_extents)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cairo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.15.9
4
+ version: 1.15.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-03 00:00:00.000000000 Z
11
+ date: 2017-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pkg-config
@@ -213,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
213
213
  version: '0'
214
214
  requirements: []
215
215
  rubyforge_project:
216
- rubygems_version: 2.5.2
216
+ rubygems_version: 2.5.2.1
217
217
  signing_key:
218
218
  specification_version: 4
219
219
  summary: Ruby bindings for cairo