cairo-gobject 4.0.3 → 4.0.5

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: 939369f3fe06a97370424a24a0e00604b3536021377bc55f9ac369733c10b2e0
4
- data.tar.gz: bd218aef5c2e7b3059b4eb749ad38911335f2e9f10ed9f1ab6e4e2d0d3a4a96f
3
+ metadata.gz: 61eab54ba5724021765516929982f1107ef4abb760d327da38938ff8d9b7fb1a
4
+ data.tar.gz: e277ebd220041a008665a80c4b9ddae897a8a3258d0161b84db9923b7618c974
5
5
  SHA512:
6
- metadata.gz: 886e5e434007cbc36bda5d9b7cadc00aa34489d79d9271661398c450a027a0aed7480cce8502445b0db424468a23aedf05f497cb86237f507ecce7c81100f637
7
- data.tar.gz: 169ff564315b52949bd3b7f645ee203be153ecb34deece04f2ca45f6f89d1c45493bcb66a8a8051c2c885f76a551cbc7b057fbcf8e4c548be630f832b4a9c474
6
+ metadata.gz: badaa6aaa058b50b5bc0cd1ed071dcc9889a54828495900d9b3c34e031ae368cad9a1daf3e562025b168462380ce8c60ddb803cbaa055b51ade8d43ac96d8601
7
+ data.tar.gz: 4b7adb7b7bb22e389895330a21a354db38c5513930563300ca033e9917e21feadae4183d97c61cd4f1e57885a6104ca9234b719a079a0691ed91a7a5b91dc61e
@@ -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.3
4
+ version: 4.0.5
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-13 00:00:00.000000000 Z
11
+ date: 2022-12-12 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.3
33
+ version: 4.0.5
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.3
40
+ version: 4.0.5
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: []