glib2 4.1.6 → 4.1.8

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: 5331e6475207502d9e0a2566b7728c09fd95ac83d821b62ea247406bfb47c789
4
- data.tar.gz: 7ff90ee993333fdd7b4375d0b29665d4f96219442e3bf487483d80874d70378e
3
+ metadata.gz: 32bb153df7eec57a1ecec843ba14d79967171d3bfad16b6b4befe068b0c77938
4
+ data.tar.gz: 27c566bf9eb8aa756ebffedf3518a24dda9e8ac31642affde27ea884a09335a0
5
5
  SHA512:
6
- metadata.gz: a40c45a76f008b275952f8d10804cc492849c498ee7e2ee2be60d70e22490ecb4051073d83a1435d176fcfea7df45885c80ba45443511aa45191b784bdbdaf3c
7
- data.tar.gz: f1ffa68a21cb316a092b43deb23b6cd9a851bdd6a56208875c4fc98b31cacf4572f329cf2635b5b596ab024a72910ef48b0e9419343b2a162932a53f6bf4634e
6
+ metadata.gz: 06dc6c9a9fc225a120d8dd1c53b60655bc2343187d35c4d5449f67eccccf4442613acecbcb3e45471282d052ab393ce1ce5e7b45d74559902db70254fd9bf4c6
7
+ data.tar.gz: 5a3dc57379d50e4db09f97930b28bbcd2b57bbdde1300969d8447537e3fdc6955e4c8696bd4b1c4143e89afb2272622ee05957af1b7ab73e8973d6bb8b984c18
data/ext/glib2/extconf.rb CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2002-2021 Ruby-GNOME Project Team
1
+ # Copyright (C) 2002-2023 Ruby-GNOME Project Team
2
2
  #
3
3
  # This library is free software; you can redistribute it and/or
4
4
  # modify it under the terms of the GNU Lesser General Public
@@ -29,6 +29,7 @@ require "mkmf-gnome"
29
29
  unless required_pkg_config_package([package_id, 2, 12, 0],
30
30
  :alt_linux => "glib2-devel",
31
31
  :arch_linux => "glib2",
32
+ :conda => "glib",
32
33
  :debian => "libglib2.0-dev",
33
34
  :gentoo_linux => "dev-libs/glib",
34
35
  :homebrew => "glib",
@@ -1,6 +1,6 @@
1
1
  /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
2
  /*
3
- * Copyright (C) 2015-2022 Ruby-GNOME Project Team
3
+ * Copyright (C) 2015-2023 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
@@ -115,7 +115,9 @@ static const rb_data_type_t rbg_variant_type = {
115
115
  },
116
116
  NULL,
117
117
  NULL,
118
- RUBY_TYPED_FREE_IMMEDIATELY,
118
+ RUBY_TYPED_FREE_IMMEDIATELY |
119
+ RUBY_TYPED_WB_PROTECTED |
120
+ RUBY_TYPED_FROZEN_SHAREABLE,
119
121
  };
120
122
 
121
123
  static VALUE
data/ext/glib2/rbglib.h CHANGED
@@ -33,7 +33,7 @@ G_BEGIN_DECLS
33
33
 
34
34
  #define RBGLIB_MAJOR_VERSION 4
35
35
  #define RBGLIB_MINOR_VERSION 1
36
- #define RBGLIB_MICRO_VERSION 6
36
+ #define RBGLIB_MICRO_VERSION 8
37
37
 
38
38
  #ifndef RB_ZALLOC
39
39
  # ifdef ZALLOC
@@ -217,7 +217,9 @@ static const rb_data_type_t rbg_closure_holder_type = {
217
217
  },
218
218
  NULL,
219
219
  NULL,
220
- RUBY_TYPED_FREE_IMMEDIATELY | RUBY_TYPED_FROZEN_SHAREABLE,
220
+ RUBY_TYPED_FREE_IMMEDIATELY |
221
+ RUBY_TYPED_WB_PROTECTED |
222
+ RUBY_TYPED_FROZEN_SHAREABLE,
221
223
  };
222
224
 
223
225
  static GClosure *
@@ -114,7 +114,9 @@ static const rb_data_type_t rg_glib_enum_type = {
114
114
  },
115
115
  NULL,
116
116
  NULL,
117
- RUBY_TYPED_FREE_IMMEDIATELY | RUBY_TYPED_FROZEN_SHAREABLE,
117
+ RUBY_TYPED_FREE_IMMEDIATELY |
118
+ RUBY_TYPED_WB_PROTECTED |
119
+ RUBY_TYPED_FROZEN_SHAREABLE,
118
120
  };
119
121
 
120
122
  static enum_holder *
@@ -83,7 +83,9 @@ static const rb_data_type_t rg_glib_flags_type = {
83
83
  },
84
84
  NULL,
85
85
  NULL,
86
- RUBY_TYPED_FREE_IMMEDIATELY | RUBY_TYPED_FROZEN_SHAREABLE,
86
+ RUBY_TYPED_FREE_IMMEDIATELY |
87
+ RUBY_TYPED_WB_PROTECTED |
88
+ RUBY_TYPED_FROZEN_SHAREABLE,
87
89
  };
88
90
 
89
91
  static flags_holder*
@@ -37,7 +37,9 @@ static const rb_data_type_t rg_glib_signal_type = {
37
37
  },
38
38
  NULL,
39
39
  NULL,
40
- RUBY_TYPED_FREE_IMMEDIATELY | RUBY_TYPED_FROZEN_SHAREABLE,
40
+ RUBY_TYPED_FREE_IMMEDIATELY |
41
+ RUBY_TYPED_WB_PROTECTED |
42
+ RUBY_TYPED_FROZEN_SHAREABLE,
41
43
  };
42
44
 
43
45
  static VALUE
@@ -30,7 +30,9 @@ static const rb_data_type_t rbg_pointer_type = {
30
30
  },
31
31
  NULL,
32
32
  NULL,
33
- RUBY_TYPED_FREE_IMMEDIATELY,
33
+ RUBY_TYPED_FREE_IMMEDIATELY |
34
+ RUBY_TYPED_WB_PROTECTED |
35
+ RUBY_TYPED_FROZEN_SHAREABLE,
34
36
  };
35
37
 
36
38
  VALUE
data/lib/mkmf-gnome.rb CHANGED
@@ -431,7 +431,7 @@ def glib_mkenums(prefix, files, g_type_prefix, include_files, options={})
431
431
  end
432
432
 
433
433
  def check_cairo(options={})
434
- rcairo_source_dir = options[:rcairo_source_dir]
434
+ rcairo_source_dir = options[:rcairo_source_dir] || ENV["RCAIRO_SOURCE_DIR"]
435
435
  if rcairo_source_dir.nil?
436
436
  rcairo_source_base_dir = "rcairo"
437
437
  top_dir = options[:top_dir]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glib2
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.6
4
+ version: 4.1.8
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: 2023-05-21 00:00:00.000000000 Z
11
+ date: 2023-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pkg-config