glib2 2.2.2-x86-mingw32 → 2.2.3-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/glib2/extconf.rb +1 -1
- data/ext/glib2/rbglib.h +1 -1
- data/ext/glib2/rbglib_maincontext.c +2 -2
- data/lib/2.0/glib2.so +0 -0
- data/lib/2.1/glib2.so +0 -0
- data/lib/mkmf-gnome2.rb +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c00ead1509b3cedcfc7a69ae6822007d9673c6bd
|
4
|
+
data.tar.gz: efa937c359a4dc40d12ac75539dd63b25e94f4ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ff53d80984367bf27fcb648c783c3927fb557ec157089bf7b8b56d963370dfe34fc7df49ade6574f0fb764359116f02e8082bd7a753d9d923525dfbc94d1caf
|
7
|
+
data.tar.gz: a5956895b3d2483c4a1650df2eb89e38a80bb569d561e6b9949b434e09d1adbe87decd0e608709a365892854c0a76b50000f01822e5b25e91808a96eb7366aa0
|
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("
|
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
@@ -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
|
74
|
-
|
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/2.0/glib2.so
CHANGED
Binary file
|
data/lib/2.1/glib2.so
CHANGED
Binary file
|
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.
|
4
|
+
version: 2.2.3
|
5
5
|
platform: x86-mingw32
|
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-
|
11
|
+
date: 2014-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pkg-config
|