gtk3 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/gtk3/extconf.rb +31 -1
  3. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 90f7209eae8e1d673f84bd6c6d9957f99c597d182b0b08255e4e8b5cc8930dda
4
- data.tar.gz: 8ada54a79a833c9f2eed40a0cd32b79eef0a31c23d76974031db38b033ad0c6c
3
+ metadata.gz: b2f550b8f271e674e1e34e95ac3df5e91110732ff2e52a57c17ccbd789deaf98
4
+ data.tar.gz: a4a065b9e32f7b9f785780fd1d274c15a1965ed770ff7be63b9fedbc3852b680
5
5
  SHA512:
6
- metadata.gz: a90ca3ac0226ae488434ebdc371b79de07c21b814f12a969b90127abd3d1cc5748daa28782d640c61540345e43b63072b4eae1f468a3be1941f041cc720ec2fe
7
- data.tar.gz: 80b8f53b07f08bd3eece53bd48ec1c0ee28b80ebb1c88848ee0e76b30fc9d4b47bd3659b336a3584bdb5f92e873a86c04f83c699068d72dcfbdb25d839195bbf
6
+ metadata.gz: 30c05015571a92018198b4abec598627063717958a305dd7178339d917f9f6e9cf123a0acff382dc10c3d9e0b3554c9e033bc1e26f0dbeba2f8f1ba4e9df46c7
7
+ data.tar.gz: e873b4c4b41415fd402e031cab8efedac7d0e3ef6ba09f88896ed9ae5a6c719582fc773ba05772fd5a929c2a46d0810c8288dc45b87fcf29f15e45df781c332f
data/ext/gtk3/extconf.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  #
3
- # Copyright (C) 2015-2019 Ruby-GNOME Project Team
3
+ # Copyright (C) 2015-2022 Ruby-GNOME Project Team
4
4
  #
5
5
  # This library is free software; you can redistribute it and/or
6
6
  # modify it under the terms of the GNU Lesser General Public
@@ -80,6 +80,36 @@ end
80
80
  create_pkg_config_file("Ruby/GTK3", package_id)
81
81
 
82
82
  $defs << "-DRUBY_GTK3_COMPILATION"
83
+ case RUBY_PLATFORM
84
+ when /darwin/
85
+ symbols_in_external_bundles = [
86
+ "_rb_gi_callback_data_get_rb_callback",
87
+ "_rb_gi_callback_register_finder",
88
+ "_rb_gi_struct_new_raw",
89
+ "_rbg_check_array_type",
90
+ "_rbg_cstr2rval",
91
+ "_rbg_define_private_method",
92
+ "_rbg_define_singleton_method",
93
+ "_rbg_rval2cstr",
94
+ "_rbg_rval_inspect",
95
+ "_rbg_strv2rval",
96
+ "_rbgobj_boxed_not_copy_obj",
97
+ "_rbgobj_gc_mark_gvalue",
98
+ "_rbgobj_gc_mark_instance",
99
+ "_rbgobj_gvalue_to_rvalue",
100
+ "_rbgobj_instance_from_ruby_object",
101
+ "_rbgobj_lookup_class",
102
+ "_rbgobj_make_boxed",
103
+ "_rbgobj_make_flags",
104
+ "_rbgobj_register_mark_func",
105
+ "_rbgobj_ruby_object_from_instance",
106
+ "_rbgobj_rvalue_to_gvalue",
107
+ "_rbgobj_set_signal_call_func",
108
+ ]
109
+ symbols_in_external_bundles.each do |symbol|
110
+ $DLDFLAGS << " -Wl,-U,#{symbol}"
111
+ end
112
+ end
83
113
  create_makefile(module_name)
84
114
 
85
115
  pkg_config_dir = with_config("pkg-config-dir")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gtk3
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: atk
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 4.0.3
19
+ version: 4.0.5
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 4.0.3
26
+ version: 4.0.5
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: gdk3
29
29
  requirement: !ruby/object:Gem::Requirement
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/GTK3 is a Ruby binding of GTK+-3.x.
42
42
  email: ruby-gnome2-devel-en@lists.sourceforge.net
43
43
  executables: []