cairo 1.17.11 → 1.17.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 888a10b53eb1842a70ada5267e0e8c32e8cb5a2644b5f77a65af76d72d0bb0f5
4
- data.tar.gz: f7d757baff1374ffb9018317a52c09d46ea243b53ad76e8d435f720a8a43f04c
3
+ metadata.gz: d92fe9f3f501e0697b28a0333ffd7fb0092bdba01bb05b769c73832f7cce7e68
4
+ data.tar.gz: 847ac62409088512f6081ff870462e13ad461ae9123633932ae7cee5b396104a
5
5
  SHA512:
6
- metadata.gz: d7c591e23560a4b0df0e2e22f85db8d2b2b6691aa57f8ba3fb17474cdfe8b7043c0c86171363709817630bcaeb07cf54ca28376e10940abecc1220d7cd2c6c07
7
- data.tar.gz: '008c94570cd8a75e1f98f12771263bc5bc9d239d5f4edc542c18cd318a2378a2887a099e6f93619fbd34488b72cb42fe700f664b11a318ad1dc33b5afea03d1b'
6
+ metadata.gz: 8362e6879ae182d2c30ffc3eaca7c9ac5338ffeea2b819aec5d73717d1784de12c4a3bb009e19993d939f3e1b6caf5932c04bf8f524fa854b27965f7533805a0
7
+ data.tar.gz: 4d1705b59fc4d56917a34d1a7c1ce1eabac8f0d17ff0e9f8439d0321b4c4b71358da457e6427aaa4e30a7d2821b600bbef0901dc088b79bf9044a46280dd858e
data/NEWS CHANGED
@@ -1,3 +1,24 @@
1
+ Release 1.17.13 (2023-12-18) Sutou Kouhei <kou@cozmixng.org>
2
+ ============================================================
3
+
4
+ Improvements
5
+ ------------
6
+
7
+ * Added support for Alpine Linux.
8
+
9
+ Release 1.17.12 (2023-06-17) Sutou Kouhei <kou@cozmixng.org>
10
+ ============================================================
11
+
12
+ Improvements
13
+ ------------
14
+
15
+ * Added support for Gentoo Linux.
16
+
17
+ Fixes
18
+ -----
19
+
20
+ * Fixed ALT Linux dependencies.
21
+
1
22
  Release 1.17.11 (2023-06-16) Sutou Kouhei <kou@cozmixng.org>
2
23
  ============================================================
3
24
 
data/ext/cairo/extconf.rb CHANGED
@@ -48,7 +48,15 @@ def required_pkg_config_package(package_info, native_package_info=nil)
48
48
  end
49
49
 
50
50
  unless required_pkg_config_package([package, major, minor, micro],
51
- :alt_linux => "libcairo-devel",
51
+ :alpine_linux => "cairo-dev",
52
+ :alt_linux => [
53
+ "bzlib-devel",
54
+ "libXdmcp-devel",
55
+ "libbrotli-devel",
56
+ "libcairo-devel",
57
+ "libexpat-devel",
58
+ "libpixman-devel",
59
+ ],
52
60
  :arch_linux => "cairo",
53
61
  :conda => [
54
62
  "cairo",
@@ -58,6 +66,7 @@ unless required_pkg_config_package([package, major, minor, micro],
58
66
  "xorg-xproto",
59
67
  ],
60
68
  :debian => "libcairo2-dev",
69
+ :gentoo_linux => "cairo",
61
70
  :homebrew => "cairo",
62
71
  :macports => "cairo",
63
72
  :msys2 => "cairo",
data/ext/cairo/rb_cairo.h CHANGED
@@ -65,7 +65,7 @@ RB_CAIRO_BEGIN_DECLS
65
65
 
66
66
  #define RB_CAIRO_VERSION_MAJOR 1
67
67
  #define RB_CAIRO_VERSION_MINOR 17
68
- #define RB_CAIRO_VERSION_MICRO 11
68
+ #define RB_CAIRO_VERSION_MICRO 13
69
69
 
70
70
  RB_CAIRO_VAR VALUE rb_mCairo;
71
71
  RB_CAIRO_VAR VALUE rb_cCairo_Context;
@@ -9,24 +9,26 @@ class TeeSurfaceTest < Test::Unit::TestCase
9
9
  def test_new
10
10
  output1 = StringIO.new
11
11
  device1 = Cairo::ScriptDevice.new(output1)
12
- surface1 = Cairo::ScriptSurface.new(device1, 100, 200)
13
- output2 = StringIO.new
14
- device2 = Cairo::ScriptDevice.new(output2)
15
- surface2 = Cairo::ScriptSurface.new(device2, 100, 200)
16
-
17
- surface = Cairo::TeeSurface.new(surface1)
18
- surface << surface2
19
- Cairo::Context.create(surface) do |context|
20
- context.move_to(15, 30)
21
- context.line_to(80, 100)
22
- context.stroke
23
- end
24
- assert_equal(<<-EOS, output1.string)
12
+ Cairo::ScriptSurface.create(device1, 100, 200) do |surface1|
13
+ output2 = StringIO.new
14
+ device2 = Cairo::ScriptDevice.new(output2)
15
+ Cairo::ScriptSurface.create(device2, 100, 200) do |surface2|
16
+ Cairo::TeeSurface.create(surface1) do |surface|
17
+ surface << surface2
18
+ Cairo::Context.create(surface) do |context|
19
+ context.move_to(15, 30)
20
+ context.line_to(80, 100)
21
+ context.stroke
22
+ end
23
+ assert_equal(<<-SCRIPT, output1.string)
25
24
  %!CairoScript
26
25
  << /content //COLOR_ALPHA /width 100 /height 200 >> surface context
27
26
  n 15 30 m 80 100 l
28
27
  stroke+
29
- EOS
30
- assert_equal(output1.string, output2.string)
28
+ SCRIPT
29
+ assert_equal(output1.string, output2.string)
30
+ end
31
+ end
32
+ end
31
33
  end
32
34
  end
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.17.11
4
+ version: 1.17.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-16 00:00:00.000000000 Z
11
+ date: 2023-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: native-package-installer
@@ -235,7 +235,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
235
235
  version: '0'
236
236
  requirements:
237
237
  - cairo >= 1.2.0
238
- rubygems_version: 3.5.0.dev
238
+ rubygems_version: 3.5.1
239
239
  signing_key:
240
240
  specification_version: 4
241
241
  summary: Ruby bindings for cairo