cairo-gobject 4.0.2 → 4.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/ext/cairo-gobject/extconf.rb +36 -0
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c8ddde5a6ff684ea597c262561b9cb34f9a73afb627cbba3270990d46847619a
4
- data.tar.gz: 57caf5c57c5944d75bd3d63d6c9c580c21f0d144c8c8bc1d2dcff9527bdab2b2
3
+ metadata.gz: c794d26c7e0c7b74209a8ceb2d6d2d08daca476e207e92cd4ab23e2d53603fc5
4
+ data.tar.gz: 8e5117caf9ff2a8f7952d1625973e8bbd159b62dc95f9240b9e5e50b11f910aa
5
5
  SHA512:
6
- metadata.gz: 3e62aa1d5c2467d9559f62b76250574645d496252ed2788625b5ffd119ea31399b9aea1eb365e17eecfb69d0bb3457e00ee5337817c449298b36e8559c96b3b3
7
- data.tar.gz: 269027c0fa8a2c54351993117d3cb90fcea79167f038eee9bbc5e6f043905a3995e7400973bb2f2c52164a3a82119fc594110ab710efce65370a035abf4fadd7
6
+ metadata.gz: 4e8cdd8754de316608985586951795c3d406473a5834a6900f547c3d2957b2eaeb449515fcf5a9ec31ff593e4d5914a06b261c64a36fb2b558c5dec5c17a154e
7
+ data.tar.gz: 1a2ac469c1dce276f81e223a15b81f5026ebeed19655ee14a1247ffe7f763038af551342a6e88ee67bb8cc46942d7598b0102c51590e5d2f11414c8d8eda642b
@@ -68,6 +68,42 @@ create_pkg_config_file("Ruby/CairoGObject",
68
68
  ensure_objs
69
69
 
70
70
  $defs << "-DRUBY_CAIRO_GOBJECT_COMPILATION"
71
+ case RUBY_PLATFORM
72
+ when /darwin/
73
+ symbols_in_external_bundles = [
74
+ "_rb_cCairo_Context",
75
+ "_rb_cCairo_Device",
76
+ "_rb_cCairo_FontFace",
77
+ "_rb_cCairo_FontOptions",
78
+ "_rb_cCairo_Pattern",
79
+ "_rb_cCairo_Region",
80
+ "_rb_cCairo_ScaledFont",
81
+ "_rb_cCairo_Surface",
82
+ "_rb_cairo_context_from_ruby_object",
83
+ "_rb_cairo_context_to_ruby_object",
84
+ "_rb_cairo_device_from_ruby_object",
85
+ "_rb_cairo_device_to_ruby_object",
86
+ "_rb_cairo_font_face_from_ruby_object",
87
+ "_rb_cairo_font_face_to_ruby_object",
88
+ "_rb_cairo_font_options_from_ruby_object",
89
+ "_rb_cairo_font_options_to_ruby_object",
90
+ "_rb_cairo_pattern_from_ruby_object",
91
+ "_rb_cairo_pattern_to_ruby_object",
92
+ "_rb_cairo_region_from_ruby_object",
93
+ "_rb_cairo_region_to_ruby_object",
94
+ "_rb_cairo_scaled_font_from_ruby_object",
95
+ "_rb_cairo_scaled_font_to_ruby_object",
96
+ "_rb_cairo_surface_from_ruby_object",
97
+ "_rb_cairo_surface_to_ruby_object",
98
+ "_rbgobj_convert_define",
99
+ "_rbgobj_define_class",
100
+ "_rbgobj_gtype_new",
101
+ "_rbgobj_make_boxed",
102
+ ]
103
+ symbols_in_external_bundles.each do |symbol|
104
+ $DLDFLAGS << " -Wl,-U,#{symbol}"
105
+ end
106
+ end
71
107
  create_makefile(module_name)
72
108
 
73
109
  pkg_config_dir = with_config("pkg-config-dir")
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: 4.0.2
4
+ version: 4.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Ruby-GNOME Project Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-05 00:00:00.000000000 Z
11
+ date: 2022-12-09 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: 4.0.2
33
+ version: 4.0.4
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: 4.0.2
40
+ version: 4.0.4
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: []