cairo 1.17.12 → 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: cbe7d3fd18e664cdc8609e42c77c6bb057005cf048815a3f396d08e22bd990e0
4
- data.tar.gz: 3cd7c410c8e9b056499f284737d75907cd1929a988dd8019937dd456dd5845ae
3
+ metadata.gz: d92fe9f3f501e0697b28a0333ffd7fb0092bdba01bb05b769c73832f7cce7e68
4
+ data.tar.gz: 847ac62409088512f6081ff870462e13ad461ae9123633932ae7cee5b396104a
5
5
  SHA512:
6
- metadata.gz: 529c78783188bc319afe17bd1ab2b5a0555a63e3ca46f628c584b48f371935c4f69491f463214361bc0d3fbedaa2fb3fe6fe82058c41505a0fbb1bf4d5a03541
7
- data.tar.gz: 48735c80ada4753b8ee411f5eb33c3d38355573ba711e4939a003d926dc1f5a730374471b17f1636add3c63ee984f19dff74f4a57ec5be0f3ad9a137c680cc7f
6
+ metadata.gz: 8362e6879ae182d2c30ffc3eaca7c9ac5338ffeea2b819aec5d73717d1784de12c4a3bb009e19993d939f3e1b6caf5932c04bf8f524fa854b27965f7533805a0
7
+ data.tar.gz: 4d1705b59fc4d56917a34d1a7c1ce1eabac8f0d17ff0e9f8439d0321b4c4b71358da457e6427aaa4e30a7d2821b600bbef0901dc088b79bf9044a46280dd858e
data/NEWS CHANGED
@@ -1,3 +1,11 @@
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
+
1
9
  Release 1.17.12 (2023-06-17) Sutou Kouhei <kou@cozmixng.org>
2
10
  ============================================================
3
11
 
data/ext/cairo/extconf.rb CHANGED
@@ -48,6 +48,7 @@ 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
+ :alpine_linux => "cairo-dev",
51
52
  :alt_linux => [
52
53
  "bzlib-devel",
53
54
  "libXdmcp-devel",
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 12
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.12
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