[rubygem-gobject-introspection] add missing patches

Mamoru TASAKA mtasaka at fedoraproject.org
Mon Apr 14 05:59:28 UTC 2014


commit 4b52e01b3a765b1d91bd8c37bb9ee9c2cd9073c9
Author: Mamoru TASAKA <mtasaka at fedoraproject.org>
Date:   Mon Apr 14 14:59:12 2014 +0900

    add missing patches

 ...gobject-introspection-2.2.0-gi140-sigflag.patch |   39 ++++++++++++++++++++
 1 files changed, 39 insertions(+), 0 deletions(-)
---
diff --git a/rubygem-gobject-introspection-2.2.0-gi140-sigflag.patch b/rubygem-gobject-introspection-2.2.0-gi140-sigflag.patch
new file mode 100644
index 0000000..9296cea
--- /dev/null
+++ b/rubygem-gobject-introspection-2.2.0-gi140-sigflag.patch
@@ -0,0 +1,39 @@
+From c1bb0bf41767fa32d10108c856ed461da48b9e12 Mon Sep 17 00:00:00 2001
+From: Kouhei Sutou <kou at clear-code.com>
+Date: Sat, 12 Apr 2014 11:19:27 +0900
+Subject: [PATCH] gi test: fix wrong expected value
+
+https://developer.gnome.org/gio/stable/GApplication.html#GApplication-startup
+says the "startup" signal's flags are "Run First".
+
+It requires GObject Introspection 1.40.0 or later because older
+GObject Intrpsection has a bug. See also:
+
+  * https://bugzilla.gnome.org/show_bug.cgi?id=709462
+  * https://git.gnome.org/browse/gobject-introspection/commit/?id=f6770c808203d4d3eb9a30e5c4bc896f990cae34
+
+GitHub: #229
+
+Reported by cosmo. Thanks!!!
+---
+ gobject-introspection/test/test-signal-info.rb | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/gobject-introspection/test/test-signal-info.rb b/gobject-introspection/test/test-signal-info.rb
+index e114acd..ec03923 100644
+--- a/gobject-introspection/test/test-signal-info.rb
++++ b/gobject-introspection/test/test-signal-info.rb
+@@ -25,8 +25,8 @@ def setup
+   end
+ 
+   def test_flags
+-    require_version(1, 39, 0)
+-    assert_equal(GLib::SignalFlags::RUN_LAST,
++    require_version(1, 40, 0)
++    assert_equal(GLib::SignalFlags::RUN_FIRST,
+                  @info.flags)
+   end
+ 
+-- 
+1.9.1
+


More information about the scm-commits mailing list