glib2 2.2.2 → 2.2.3

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
  SHA1:
3
- metadata.gz: 5f8d9545fe87678cf0d4db62a81e168fc2fffa17
4
- data.tar.gz: 15a6ca125195b394b9668f94538d7162fc8827aa
3
+ metadata.gz: 114b557fb08132d104a3765fceeec5914924df1a
4
+ data.tar.gz: d39ae609531346125c74ae73c5b748d99f6c4ff6
5
5
  SHA512:
6
- metadata.gz: 5ea40da0e9ef889e0589e951cfb6386ba8bd34045aca82d2e2d887fc14ec56804b960e94e94c9add2f497af25e27210ce8a05f556a9cb36a8333f7c9181903c2
7
- data.tar.gz: 8ef475502ac5183a7b18366ee1406d3edd3d660e7373627bbecef7624b5fbd5f81096891e4cec8c5bd1697b80a68437b25a715f39a9a2e06254389a9f14870fa
6
+ metadata.gz: 343d92c6362402568c548d5e3ea98f516dcfc806765adcae43d9f0005422d54171f05a5163409c220d96ab142e9cf2a2e5f57aaea4f6b25d1d6bf79ba351bd4f
7
+ data.tar.gz: 213fc9d53598e24a4b372faf191baa282568fe0420c0e9acd613135662873c2a5c429b0c16a95a963299be86150d3df6912ebc645d64bf4c5c21f310183face4
data/ext/glib2/extconf.rb CHANGED
@@ -42,7 +42,7 @@ have_func("rb_errinfo", ruby_header)
42
42
  have_func("rb_sourcefile", ruby_header)
43
43
  have_func("rb_sourceline", ruby_header)
44
44
  have_func("ruby_set_current_source", ruby_header)
45
- have_func("rb_thread_call_without_gvl2", ruby_header)
45
+ have_func("rb_thread_call_without_gvl", ruby_header)
46
46
  have_func("ruby_native_thread_p", ruby_header)
47
47
  have_func("rb_thread_call_with_gvl", ruby_header)
48
48
  have_func("rb_str_new_cstr", ruby_header)
data/ext/glib2/rbglib.h CHANGED
@@ -36,7 +36,7 @@ extern "C" {
36
36
 
37
37
  #define RBGLIB_MAJOR_VERSION 2
38
38
  #define RBGLIB_MINOR_VERSION 2
39
- #define RBGLIB_MICRO_VERSION 2
39
+ #define RBGLIB_MICRO_VERSION 3
40
40
 
41
41
  #ifndef RSTRING_PTR
42
42
  # define RSTRING_PTR(s) (RSTRING(s)->ptr)
@@ -70,8 +70,8 @@ rg_poll(GPollFD *ufds, guint nfsd, gint timeout)
70
70
  info.result = 0;
71
71
 
72
72
  g_static_private_set(&rg_polling_key, GINT_TO_POINTER(TRUE), NULL);
73
- #ifdef HAVE_RB_THREAD_CALL_WITHOUT_GVL2
74
- rb_thread_call_without_gvl2(rg_poll_in_blocking, &info, RUBY_UBF_IO, NULL);
73
+ #ifdef HAVE_RB_THREAD_CALL_WITHOUT_GVL
74
+ rb_thread_call_without_gvl(rg_poll_in_blocking, &info, RUBY_UBF_IO, NULL);
75
75
  #else
76
76
  rb_thread_blocking_region(rg_poll_in_blocking, &info, RUBY_UBF_IO, NULL);
77
77
  #endif
data/lib/mkmf-gnome2.rb CHANGED
@@ -478,6 +478,8 @@ def package_platform
478
478
  :fedora
479
479
  elsif File.exist?("/etc/redhat-release")
480
480
  :redhat
481
+ elsif File.exist?("/etc/SuSE-release")
482
+ :suse
481
483
  elsif find_executable("brew")
482
484
  :homebrew
483
485
  elsif find_executable("port")
@@ -495,6 +497,7 @@ def normalize_native_package_info(native_package_info)
495
497
  native_package_info ||= {}
496
498
  native_package_info = native_package_info.dup
497
499
  native_package_info[:fedora] ||= native_package_info[:redhat]
500
+ native_package_info[:suse] ||= native_package_info[:fedora]
498
501
  native_package_info
499
502
  end
500
503
 
@@ -512,6 +515,8 @@ def install_missing_native_package(native_package_info)
512
515
  install_command = "apt-get install -V -y #{package_command_line}"
513
516
  when :fedora, :redhat
514
517
  install_command = "yum install -y #{package_command_line}"
518
+ when :suse
519
+ install_command = "zypper --non-interactive install #{package_command_line}"
515
520
  when :homebrew
516
521
  need_super_user_priviledge = false
517
522
  install_command = "brew install #{package_command_line}"
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: 2.2.2
4
+ version: 2.2.3
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: 2014-10-12 00:00:00.000000000 Z
11
+ date: 2014-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pkg-config