cairo-gobject 3.1.1-x86-mingw32 → 3.1.2-x86-mingw32

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
  SHA1:
3
- metadata.gz: 4f7fc52a9e4f8086d075d39b634ed10c9f289f25
4
- data.tar.gz: 669a695b068997ff41336ef1a91a81030de93d5b
3
+ metadata.gz: fed91e1b2f66951e5e87edb180cf493ca43b4443
4
+ data.tar.gz: d0cd1ff6f0484be97319ff35ec4496c30bc0a69c
5
5
  SHA512:
6
- metadata.gz: b4589dc70cdab39dd136b9813d5f9af0238e660b540c02d200dd2de43b4cb1c2236563966a57cc284f39c5236df7b9429153669cbc961b7c6a2f44c9085d5cd1
7
- data.tar.gz: 558d95d3164e350a25049e2e5b98390c21104c1101e2f472ab9558364adcde6205d09a25a800c95f234ed8df9ff4a42ffd31afe031bc87a703db9cc872bb7f98
6
+ metadata.gz: 89fe336fe2506b2deb3aa26c21db0a9c1938434715a52555c3072f6c19194100a0ab3b4aea9b782f00616c8a7e411114f864b30012148a31faac7dd7cdd06d6b
7
+ data.tar.gz: d71378edfc36701352f3c7f1739bee1f2463a685a42e5d2be723073f1769b3e8b641e92324b1f003d053057278669491017c73d5d2c528aae1e6b957d43ba9c2
@@ -61,10 +61,10 @@ end
61
61
  setup_windows(module_name, base_dir)
62
62
 
63
63
  unless required_pkg_config_package(package_id,
64
- :altlinux => "libcairo-devel",
64
+ :alt_linux => "libcairo-devel",
65
65
  :debian => "libcairo2-dev",
66
66
  :fedora => "cairo-gobject-devel",
67
- :arch => "cairo",
67
+ :arch_linux => "cairo",
68
68
  :homebrew => "cairo")
69
69
  exit(false)
70
70
  end
@@ -22,7 +22,12 @@
22
22
 
23
23
  #define RG_TARGET_NAMESPACE rb_mCairoGObject
24
24
 
25
- #define DEFINE_CONVERSION(prefix, gtype, rb_klass, RVAL2CR, CR2RVAL) \
25
+ #define DEFINE_CONVERSION(prefix, \
26
+ gtype, \
27
+ rb_klass, \
28
+ cr_copy_func, \
29
+ RVAL2CR, \
30
+ CR2RVAL) \
26
31
  static gpointer \
27
32
  prefix ## _robj2instance(VALUE rb_object, \
28
33
  G_GNUC_UNUSED gpointer user_data) \
@@ -47,7 +52,7 @@ static VALUE \
47
52
  prefix ## _instance2robj(gpointer cr_object, \
48
53
  G_GNUC_UNUSED gpointer user_data) \
49
54
  { \
50
- return CR2RVAL(cr_object); \
55
+ return CR2RVAL(cr_copy_func(cr_object)); \
51
56
  } \
52
57
  \
53
58
  static void \
@@ -65,21 +70,26 @@ define_ ## prefix ## _conversion(void) \
65
70
  }
66
71
 
67
72
  DEFINE_CONVERSION(context, CAIRO_GOBJECT_TYPE_CONTEXT, rb_cCairo_Context,
68
- RVAL2CRCONTEXT, CRCONTEXT2RVAL)
73
+ cairo_reference, RVAL2CRCONTEXT, CRCONTEXT2RVAL)
69
74
  DEFINE_CONVERSION(device, CAIRO_GOBJECT_TYPE_DEVICE, rb_cCairo_Device,
70
- RVAL2CRDEVICE, CRDEVICE2RVAL)
75
+ cairo_device_reference, RVAL2CRDEVICE, CRDEVICE2RVAL)
71
76
  DEFINE_CONVERSION(pattern, CAIRO_GOBJECT_TYPE_PATTERN, rb_cCairo_Pattern,
72
- RVAL2CRPATTERN, CRPATTERN2RVAL)
77
+ cairo_pattern_reference, RVAL2CRPATTERN, CRPATTERN2RVAL)
73
78
  DEFINE_CONVERSION(surface, CAIRO_GOBJECT_TYPE_SURFACE, rb_cCairo_Surface,
74
- RVAL2CRSURFACE, CRSURFACE2RVAL)
79
+ cairo_surface_reference, RVAL2CRSURFACE, CRSURFACE2RVAL)
75
80
  DEFINE_CONVERSION(scaled_font, CAIRO_GOBJECT_TYPE_SCALED_FONT,
76
- rb_cCairo_ScaledFont, RVAL2CRSCALEDFONT, CRSCALEDFONT2RVAL)
81
+ rb_cCairo_ScaledFont,
82
+ cairo_scaled_font_reference,
83
+ RVAL2CRSCALEDFONT, CRSCALEDFONT2RVAL)
77
84
  DEFINE_CONVERSION(font_face, CAIRO_GOBJECT_TYPE_FONT_FACE, rb_cCairo_FontFace,
85
+ cairo_font_face_reference,
78
86
  RVAL2CRFONTFACE, CRFONTFACE2RVAL)
79
87
  DEFINE_CONVERSION(font_options, CAIRO_GOBJECT_TYPE_FONT_OPTIONS,
80
- rb_cCairo_FontOptions, RVAL2CRFONTOPTIONS, CRFONTOPTIONS2RVAL)
88
+ rb_cCairo_FontOptions,
89
+ cairo_font_options_copy,
90
+ RVAL2CRFONTOPTIONS, CRFONTOPTIONS2RVAL)
81
91
  DEFINE_CONVERSION(region, CAIRO_GOBJECT_TYPE_REGION, rb_cCairo_Region,
82
- RVAL2CRREGION, CRREGION2RVAL)
92
+ cairo_region_reference, RVAL2CRREGION, CRREGION2RVAL)
83
93
 
84
94
  void
85
95
  Init_cairo_gobject(void)
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cairo-gobject
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 3.1.2
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - The Ruby-GNOME2 Project Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-26 00:00:00.000000000 Z
11
+ date: 2017-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cairo
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.1.1
33
+ version: 3.1.2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 3.1.1
40
+ version: 3.1.2
41
41
  description: Ruby/CairoGObject is a Ruby binding of cairo-gobject.
42
42
  email: ruby-gnome2-devel-en@lists.sourceforge.net
43
43
  executables: []
@@ -83,7 +83,7 @@ files:
83
83
  - test/test_cairotextclusterflags.rb
84
84
  homepage: http://ruby-gnome2.sourceforge.jp/
85
85
  licenses:
86
- - LGPLv2.1+
86
+ - LGPL-2.1+
87
87
  metadata: {}
88
88
  post_install_message:
89
89
  rdoc_options: []