glib2 3.2.3 → 3.2.4

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: 784ddb8adf1fc70dfa670b2c7983a964fe78f2471044cf3be1a36f890a83b9fe
4
- data.tar.gz: 436aaa985d647fa6f84e718ce268886ba16844af1de4f67fa09b641dc52f5442
3
+ metadata.gz: 3e7c46f4eb5a10e1649d2b490cb2b833edae8e9ae5da9356b12e74989866f0a7
4
+ data.tar.gz: 14ed50ef75a95a8e7ecf5a68642ebfb42cb9a1d8099698c7e1c6f59652a5d9d3
5
5
  SHA512:
6
- metadata.gz: 3974445bfccd7619116f725f262137efd3930b4f5970c298ed21da1aac093184ea798416d08df3e02f5c16d9cbde4925b0919e5b8f132990062b83e64dd29325
7
- data.tar.gz: 175ae91fa3c511445cbc9fc638b644de0de221ce992c9d94979b98fdcbf4d72c84b60c813d9d032ca0e9598d1282b7c272de57bc42f72cd00951f936d2d4a08c
6
+ metadata.gz: 84c26c394a51846e36ecf67819123f025aff24f441e1866fb1468b33052b9971ff0fcdb1c318efca33d5fd4593eb1beb52d8c5ad8ad394b6ad30b3aa4c547ed6
7
+ data.tar.gz: 852ea6e2aeda7c5bb6ed596bf71bbb05de650e09391823f40451b6c8a66b64f1dd5edaebb681c151bdc3ec54d5c55cf63d1f18294446e4b44170f0e2911d74a7
@@ -36,7 +36,7 @@ extern "C" {
36
36
 
37
37
  #define RBGLIB_MAJOR_VERSION 3
38
38
  #define RBGLIB_MINOR_VERSION 2
39
- #define RBGLIB_MICRO_VERSION 3
39
+ #define RBGLIB_MICRO_VERSION 4
40
40
 
41
41
  #ifndef RB_ZALLOC
42
42
  # ifdef ZALLOC
@@ -431,7 +431,7 @@ rbgobj_define_class(GType gtype, const gchar *name, VALUE module,
431
431
 
432
432
  cinfo = (RGObjClassInfo *)rbgobj_class_info_lookup_by_gtype(gtype);
433
433
  if (cinfo) {
434
- if (!rb_const_defined(module, rb_intern(name))) {
434
+ if (!rb_const_defined_at(module, rb_intern(name))) {
435
435
  rb_define_const(module, name, cinfo->klass);
436
436
  rbgobj_class_info_fill_name(cinfo);
437
437
  }
@@ -327,11 +327,13 @@ module GNOME2
327
327
  :configure_args,
328
328
  :meson_args,
329
329
  :cmake_args,
330
+ :make_args,
330
331
  :cc_args,
331
332
  :patches,
332
333
  :built_file,
333
334
  :need_autogen,
334
335
  :need_autoreconf,
336
+ :force_to_disable_deplibs_check,
335
337
  :build_concurrently,
336
338
  :use_cc_environment_variable,
337
339
  :gobject_introspection_compiler_split_args,
@@ -371,6 +373,10 @@ module GNOME2
371
373
  super || []
372
374
  end
373
375
 
376
+ def make_args
377
+ super || []
378
+ end
379
+
374
380
  def patches
375
381
  super || []
376
382
  end
@@ -387,6 +393,14 @@ module GNOME2
387
393
  need_autoreconf.nil? ? false : need_autoreconf
388
394
  end
389
395
 
396
+ def force_to_disable_deplibs_check?
397
+ if force_to_disable_deplibs_check.nil?
398
+ false
399
+ else
400
+ force_to_disable_deplibs_check
401
+ end
402
+ end
403
+
390
404
  def build_concurrently?
391
405
  build_concurrently.nil? ? true : build_concurrently
392
406
  end
@@ -89,6 +89,10 @@ module GNOME2
89
89
  ["major", "minor", "micro"].collect {|type| versions[type]}.compact.join(".")
90
90
  end
91
91
 
92
+ def external_packages
93
+ @package.external_packages
94
+ end
95
+
92
96
  def external_packages=(packages)
93
97
  @package.external_packages = packages
94
98
  end
@@ -107,6 +107,7 @@ module GNOME2
107
107
  common_make_args << cc_env(package)
108
108
  end
109
109
  add_gobject_introspection_make_args(package, common_make_args)
110
+ common_make_args.concat(package.windows.make_args)
110
111
  build_make_args = common_make_args.dup
111
112
  install_make_args = common_make_args.dup
112
113
  if package.windows.build_concurrently?
@@ -194,6 +195,13 @@ module GNOME2
194
195
  # "--target=#{@package.windows.build_host}",
195
196
  # "--build=x86_64-pc-linux-gnu",
196
197
  *package.windows.configure_args) or exit(false)
198
+ if package.windows.force_to_disable_deplibs_check?
199
+ sh(env,
200
+ "sed",
201
+ "-i",
202
+ "-e", "s/valid_a_lib=false/valid_a_lib=:/g",
203
+ "libtool")
204
+ end
197
205
  end
198
206
 
199
207
  def meson(env, package, source_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: 3.2.3
4
+ version: 3.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Ruby-GNOME2 Project Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-03 00:00:00.000000000 Z
11
+ date: 2018-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pkg-config