summaryrefslogtreecommitdiff
path: root/meta-pkgs
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2014-01-14 12:01:51 +0000
committerobache <obache@pkgsrc.org>2014-01-14 12:01:51 +0000
commit82d9a97a13fb125277fe640a3f002b7fcdcd337d (patch)
tree3bb1a5f6e3e8f8bb85af1b3006f392bda648d882 /meta-pkgs
parentdd14bfb17dc5d08f68f3abbf50e15cbed5f22e38 (diff)
downloadpkgsrc-82d9a97a13fb125277fe640a3f002b7fcdcd337d.tar.gz
== Ruby-GNOME2 2.1.0: 2013-12-29
Ruby 2.1.0 support release! === Changes ==== All * Improvements * Set license information to gem. * Fixes * [windows] Added missing binaries for Ruby 2.1.0. [GitHub#123] [Patch by Masafumi Yokoyama] ==== Ruby/GDK3 * Improvements * [windows] Bundled hicolor-icon-theme. It may fix a problem that Windows theme is not applied. [ruby-gnome2-devel-en] [Reported by Regis d'Aubarede] === Thanks * Masafumi Yokoyama * Regis d'Aubarede == Ruby-GNOME2 2.0.3: 2013-12-29 It is RC release for 2.1.0. === Changes ==== All * Improvements * Removed Ruby 1.8 from supported Ruby in READMEs. [GitHub#166] [Reported by Markus Heiler] [Patch by Masafumi Yokoyama] * Supported Ruby 2.1.0. [GitHub#181] [cosmo0920][Masafumi Yokoyama] * Made rcairo optional to required because we dropped old GTK+ that doesn't use cairo. (Cairo isn't used library such as GLib doesn't require rcairo. But Ruby/GLib2 requires rcairo on Windows because it uses zlib bundled in rcairo.) [GitHub#193] [cosmo0920] * Updated LGPL 2.1 files. [GitHub#196] [Reported by ktdreyer] * Supported tests on Travis CI. [Masafumi Yokoyama][cosmo0920] * Supported rake-compiler 0.9.1. ==== Ruby/GLib2 * Improvements * Set UTF-8 encoding to exception message. * Added GLib::GetText.bindtextdomain. * Dropped GLib < 2.12 because CentOS 5 has GLib 2.12.3. [GitHub#190] [cosmo0920] * Added GValue#to_s. * [windows] Updated bundled GLib to 2.38.2 from 2.36.2. ==== Ruby/GObjectIntrospection * Improvements * Supported GList return type. * Supported freeing UTF-8 return type. * Supported freeing array return type. * Supported NULL as array return value. * Supported freeing GObject return value. * Supported freeing structure return value. * Supported NULL character for gint8 array. * Fixes * Fixed type conversion from VALUE to GType. [GitHub#186] [Patch by Hiroyuki Tanaka] ==== Ruby/ATK * Improvements * Dropped ATK < 1.12 support because CentOS 5 has GTK+ 1.12.2. [GitHub#191] [cosmo0920] * [windows] Updated bundled ATK to 2.10.0 from 2.8.0. ==== Ruby/Pango * Improvements * Supported cairo 1.6. [GitHub#172] [Patch by Grant Schoep] * Dropped Pango < 1.14 support because CentOS 5 has GTK+ 1.14.9. [GitHub#192] [cosmo0920] * Added Pango::Layout#height=. [GitHub#210] [Patch by Vasily Fedoseyev] * Added Pango::Layout#ellipsized?. [GitHub#210] [Patch by Vasily Fedoseyev] * [windows] Updated bundled Pango to 1.36.1 from 1.34.1. ==== Ruby/GdkPixbuf2 * Improvements * [windows] Added rcairo dependency on Windows for using libpng and zlib bundled in rcairo. * [windows] Updated bundled gdk-pixbuf to 2.30.2 from 2.28.1. ==== Ruby/GTK2 * Improvements * Dropped GTK+ < 2.10 support because CentOS 5 has GTK+ 2.10.4. [GitHub#182] [Patch by cosmo0920] * [windows] Updated bundled GTK+ to 2.24.22 from 2.24.18. ==== Ruby/GDK3 * Improvements * [test] Made more stable. [GitHub#178] [Reported by mtasaka] * Added Gdk::Device#ungrab. [cosmo0920] * Added Gdk::DeviceManager. [cosmo0920] * Added Gdk::Device#get_position. [cosmo0920] * Added Gdk::Device#warp. [cosmo0920] * Added Gdk::Device#grab. [cosmo0920] * Added Gdk::Window#get_device_position. [cosmo0920] * [windows] Updated bundled GTK+ to 3.10.6 from 3.8.2. ==== Ruby/GTK3 * Improvements * [sample] Updated for GTK+ 3. [Masafumi Yokoyama] * Removed Gtk::BindingSet#add_path. * Added Gtk.show_uri. * Fixes * Fixed a bug that Gtk::ActionGroup#add_radio_actions always fails. [ruby-gnome2-devel-ja] [Reported by S. Kitagawa] ==== Ruby/GStreamer * Improvements * Supported calling module functions of Gst module such as Gst.version before calling Gst.init. * Added Gst::Registry#plugins. * Added Gst::Registry#get_features. * Added Gst::ElementFactory#long_name. * Added Gst::ElementFactory#klass. * Added Gst::ElementFactory#author. * Added Gst::ElementFactory#static_pad_templates. * Added Gst::Caps#structures. * Added Gst::Structure#fields. * Gst::Element#flags returns flag object instead of raw integer value. Use Gst::Element#flags_raw for raw integer value. * Gst::PluginFeature#rank returns Gst::Rank instead of raw integer value. Use Gst::PluginFeature#rank for raw integer value. * Supported GstValueList. * [windows] Updated bundled GStreamer to 1.2.1 from 1.0.7. ==== Ruby/Clutter * Improvements * [sample] Updated for Clutter 1.12 or later. [Patch by Kentaro Fukuchi] * [windows] Updated bundled Clutter to 1.16.2 from 1.14.4. ==== Ruby/ClutterGStreamer * Improvements * [sample] Added. [Masafumi Yokoyama] * Fixed a typo in sample. [Reported by Toyo Abe] * [windows] Updated bundled Clutter-GStreamer to 2.0.8 from 2.0.2. ==== Ruby/Poppler * Improvements * Dropped Popper < 0.12 because CentOS has Poppler 0.12.4. [GitHub#212] [cosmo0920] * [windows] Bundled Poppler 0.24.4. ==== Ruby/RSVG * Improvements * [windows] Bundled librsvg 2.40.1. ==== Ruby/GtkSourceView3 * Improvements * Supported auto GtkSourceView install on OS X. [GitHub#177] [Masafumi Yokoyama] * [windows] Updated bundled GtkSourceView to 3.10.1 from 3.8.1. ==== Ruby/GooCanvas * Improvements * [sample] Followed changes caused by migrating to Ruby/GObjectIntrospection. [Masafumi Yokoyama] * Updated FSF address. [GitHub#201] [Reported by ktdreyer] * Fixes * Fixed wrong dependency. [ruby-gnomde2-devel-ja] [Reported by Masafumi Yokoyama] === Thanks * Kentaro Fukuchi * S. Kitagawa * Markus Heiler * Masafumi Yokoyama * Grant Schoep * Toyo Abe * mtasaka * cosmo0920 * Hiroyuki Tanaka * ktdreyer
Diffstat (limited to 'meta-pkgs')
-rw-r--r--meta-pkgs/ruby-gnome2/Makefile3
-rw-r--r--meta-pkgs/ruby-gnome2/Makefile.common5
-rw-r--r--meta-pkgs/ruby-gnome2/distinfo15
-rw-r--r--meta-pkgs/ruby-gnome2/patches/patch-glib2_ext_glib2_rbglib.c40
-rw-r--r--meta-pkgs/ruby-gnome2/patches/patch-glib2_ext_glib2_rbglib__utils.c15
-rw-r--r--meta-pkgs/ruby-gnome2/patches/patch-glib2_ext_glib2_rbgobj__object.c24
-rw-r--r--meta-pkgs/ruby-gnome2/patches/patch-glib2_ext_glib2_rbgobject.c42
-rw-r--r--meta-pkgs/ruby-gnome2/patches/patch-glib2_ext_glib2_rbgutil.c28
-rw-r--r--meta-pkgs/ruby-gnome2/patches/patch-gobject-introspection_ext_gobject-introspection_rb-gi-function-info.c15
-rw-r--r--meta-pkgs/ruby-gnome2/patches/patch-gobject-introspection_ext_gobject-introspection_rb-gi-struct-info.c15
10 files changed, 8 insertions, 194 deletions
diff --git a/meta-pkgs/ruby-gnome2/Makefile b/meta-pkgs/ruby-gnome2/Makefile
index b81f9c84cfa..523bb2370af 100644
--- a/meta-pkgs/ruby-gnome2/Makefile
+++ b/meta-pkgs/ruby-gnome2/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.21 2014/01/05 09:21:11 obache Exp $
+# $NetBSD: Makefile,v 1.22 2014/01/14 12:01:51 obache Exp $
#
PKGNAME= ${RUBY_PKGPREFIX}-gnome2-${VERSION}
-PKGREVISION= 1
COMMENT= Set of Ruby language bindings for GNOME2
CATEGORIES= meta-pkgs gnome
diff --git a/meta-pkgs/ruby-gnome2/Makefile.common b/meta-pkgs/ruby-gnome2/Makefile.common
index e24d5c017ce..790d9f619a9 100644
--- a/meta-pkgs/ruby-gnome2/Makefile.common
+++ b/meta-pkgs/ruby-gnome2/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.38 2014/01/05 09:21:11 obache Exp $
+# $NetBSD: Makefile.common,v 1.39 2014/01/14 12:01:51 obache Exp $
#
# used by devel/ruby-gnome2-atk/Makefile
# used by devel/ruby-gnome2-gio/Makefile
@@ -34,9 +34,10 @@ MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://ruby-gnome2.sourceforge.jp/
LICENSE= gnu-lgpl-v2.1
-VERSION= 2.0.2
+VERSION= 2.1.0
USE_RUBY_EXTCONF?= yes
CONFIGURE_ENV+= RUBYOPT="-Ku"
+RUBY_VERSION_SUPPORTED= 193 200
INSTALL_TARGET= install
diff --git a/meta-pkgs/ruby-gnome2/distinfo b/meta-pkgs/ruby-gnome2/distinfo
index 6895fd857b5..fa3cd8bd03b 100644
--- a/meta-pkgs/ruby-gnome2/distinfo
+++ b/meta-pkgs/ruby-gnome2/distinfo
@@ -1,13 +1,6 @@
-$NetBSD: distinfo,v 1.38 2013/06/20 17:16:06 taca Exp $
+$NetBSD: distinfo,v 1.39 2014/01/14 12:01:51 obache Exp $
-SHA1 (ruby-gnome2-all-2.0.2.tar.gz) = 4713b11909fe6f52c3164cfe88eadeaeed261e93
-RMD160 (ruby-gnome2-all-2.0.2.tar.gz) = ad7781ab68ccca373d1e56050255f63417db0675
-Size (ruby-gnome2-all-2.0.2.tar.gz) = 1674872 bytes
-SHA1 (patch-glib2_ext_glib2_rbglib.c) = 96020dc24dae210fb0ae06aefce0810393af1f88
-SHA1 (patch-glib2_ext_glib2_rbglib__utils.c) = 85210204e6d2fe31f6dcf1f9d918856ab4d61d08
-SHA1 (patch-glib2_ext_glib2_rbgobj__object.c) = 9c4e6cbb21ff3d7c67cf2371ad832bffbe994a94
-SHA1 (patch-glib2_ext_glib2_rbgobject.c) = f7923f1b2dd01754322dc5cf5f96aa2c3d363c3b
-SHA1 (patch-glib2_ext_glib2_rbgutil.c) = b223b9f762b33f6e39b572f283ee6538e0d09a07
+SHA1 (ruby-gnome2-all-2.1.0.tar.gz) = 04d3c55c3be4368b15399369c9b61bbd0112f443
+RMD160 (ruby-gnome2-all-2.1.0.tar.gz) = b25cb398434b09af89f3fc156ba522cec9a7d4de
+Size (ruby-gnome2-all-2.1.0.tar.gz) = 1754946 bytes
SHA1 (patch-glib2_lib_mkmf-gnome2.rb) = 7ea9f2066aae905e64d8477f500245e3e3b5df9e
-SHA1 (patch-gobject-introspection_ext_gobject-introspection_rb-gi-function-info.c) = 088cecdecd7a2158dbd560f72660c13c42886c29
-SHA1 (patch-gobject-introspection_ext_gobject-introspection_rb-gi-struct-info.c) = d16351c0bdb4ad26a3c1ffb9c29478b0d0d45c10
diff --git a/meta-pkgs/ruby-gnome2/patches/patch-glib2_ext_glib2_rbglib.c b/meta-pkgs/ruby-gnome2/patches/patch-glib2_ext_glib2_rbglib.c
deleted file mode 100644
index f33df98f44d..00000000000
--- a/meta-pkgs/ruby-gnome2/patches/patch-glib2_ext_glib2_rbglib.c
+++ /dev/null
@@ -1,40 +0,0 @@
-$NetBSD: patch-glib2_ext_glib2_rbglib.c,v 1.1 2013/06/20 17:16:06 taca Exp $
-
-Ruby 1.8 compatibility.
-
---- glib2/ext/glib2/rbglib.c.orig 2013-05-08 15:01:55.000000000 +0000
-+++ glib2/ext/glib2/rbglib.c
-@@ -828,13 +828,13 @@ rbg_inspect (VALUE object)
- VALUE
- rbg_to_array (VALUE object)
- {
-- return rb_convert_type(object, RUBY_T_ARRAY, "Array", "to_ary");
-+ return rb_convert_type(object, T_ARRAY, "Array", "to_ary");
- }
-
- VALUE
- rbg_to_hash (VALUE object)
- {
-- return rb_convert_type(object, RUBY_T_HASH, "Hash", "to_hash");
-+ return rb_convert_type(object, T_HASH, "Hash", "to_hash");
- }
-
- VALUE
-@@ -843,7 +843,7 @@ rbg_check_array_type (VALUE object)
- #ifdef HAVE_RB_CHECK_ARRAY_TYPE
- return rb_check_array_type(object);
- #else
-- return rb_check_convert_type(object, RUBY_T_ARRAY, "Array", "to_ary");
-+ return rb_check_convert_type(object, T_ARRAY, "Array", "to_ary");
- #endif
- }
-
-@@ -853,7 +853,7 @@ rbg_check_hash_type (VALUE object)
- #ifdef HAVE_RB_CHECK_HASH_TYPE
- return rb_check_hash_type(object);
- #else
-- return rb_check_convert_type(object, RUBY_T_HASH, "Hash", "to_hash");
-+ return rb_check_convert_type(object, T_HASH, "Hash", "to_hash");
- #endif
- }
-
diff --git a/meta-pkgs/ruby-gnome2/patches/patch-glib2_ext_glib2_rbglib__utils.c b/meta-pkgs/ruby-gnome2/patches/patch-glib2_ext_glib2_rbglib__utils.c
deleted file mode 100644
index 5943cf059a4..00000000000
--- a/meta-pkgs/ruby-gnome2/patches/patch-glib2_ext_glib2_rbglib__utils.c
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-glib2_ext_glib2_rbglib__utils.c,v 1.1 2013/06/20 17:16:06 taca Exp $
-
-Ruby 1.8 compatibility.
-
---- glib2/ext/glib2/rbglib_utils.c.orig 2013-05-08 15:01:55.000000000 +0000
-+++ glib2/ext/glib2/rbglib_utils.c
-@@ -255,7 +255,7 @@ rg_s_parse_debug_string(G_GNUC_UNUSED VA
- VALUE ary;
- GDebugKey* gkeys;
-
-- Check_Type(keys, RUBY_T_HASH);
-+ Check_Type(keys, T_HASH);
- ary = rb_funcall(keys, rb_intern("to_a"), 0);
- nkeys = RARRAY_LEN(ary);
- gkeys = ALLOCA_N(GDebugKey, nkeys);
diff --git a/meta-pkgs/ruby-gnome2/patches/patch-glib2_ext_glib2_rbgobj__object.c b/meta-pkgs/ruby-gnome2/patches/patch-glib2_ext_glib2_rbgobj__object.c
deleted file mode 100644
index c4db5e127fa..00000000000
--- a/meta-pkgs/ruby-gnome2/patches/patch-glib2_ext_glib2_rbgobj__object.c
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-glib2_ext_glib2_rbgobj__object.c,v 1.1 2013/06/20 17:16:06 taca Exp $
-
-Ruby 1.8 compatibility.
-
---- glib2/ext/glib2/rbgobj_object.c.orig 2013-05-08 15:01:55.000000000 +0000
-+++ glib2/ext/glib2/rbgobj_object.c
-@@ -225,7 +225,7 @@ rg_s_new_bang(int argc, VALUE *argv, VAL
- rb_scan_args(argc, argv, "01", &params_hash);
-
- if (!NIL_P(params_hash))
-- Check_Type(params_hash, RUBY_T_HASH);
-+ Check_Type(params_hash, T_HASH);
-
- if (cinfo->klass != self)
- rb_raise(rb_eTypeError, "%s isn't registered class",
-@@ -635,7 +635,7 @@ rg_initialize(int argc, VALUE *argv, VAL
- rb_scan_args(argc, argv, "01", &params_hash);
-
- if (!NIL_P(params_hash))
-- Check_Type(params_hash, RUBY_T_HASH);
-+ Check_Type(params_hash, T_HASH);
-
- gobj = rbgobj_gobject_new(RVAL2GTYPE(self), params_hash);
-
diff --git a/meta-pkgs/ruby-gnome2/patches/patch-glib2_ext_glib2_rbgobject.c b/meta-pkgs/ruby-gnome2/patches/patch-glib2_ext_glib2_rbgobject.c
deleted file mode 100644
index 24f7a14732f..00000000000
--- a/meta-pkgs/ruby-gnome2/patches/patch-glib2_ext_glib2_rbgobject.c
+++ /dev/null
@@ -1,42 +0,0 @@
-$NetBSD: patch-glib2_ext_glib2_rbgobject.c,v 1.1 2013/06/20 17:16:06 taca Exp $
-
-Ruby 1.8 compatibility.
-
---- glib2/ext/glib2/rbgobject.c.orig 2013-05-08 15:01:55.000000000 +0000
-+++ glib2/ext/glib2/rbgobject.c
-@@ -182,7 +182,7 @@ rbgobj_add_relative(VALUE obj, VALUE rel
- if (RVAL2CBOOL(rb_ivar_defined(obj, id_relatives)))
- hash = rb_ivar_get(obj, id_relatives);
-
-- if (NIL_P(hash) || TYPE(hash) != RUBY_T_HASH) {
-+ if (NIL_P(hash) || TYPE(hash) != T_HASH) {
- hash = rb_hash_new();
- rb_ivar_set(obj, id_relatives, hash);
- }
-@@ -206,7 +206,7 @@ rbgobj_add_relative_removable(VALUE obj,
- if (RVAL2CBOOL(rb_ivar_defined(obj, obj_ivar_id)))
- hash = rb_ivar_get(obj, obj_ivar_id);
-
-- if (NIL_P(hash) || TYPE(hash) != RUBY_T_HASH) {
-+ if (NIL_P(hash) || TYPE(hash) != T_HASH) {
- hash = rb_hash_new();
- rb_ivar_set(obj, obj_ivar_id, hash);
- }
-@@ -221,7 +221,7 @@ rbgobj_get_relative_removable(VALUE obj,
- if (RVAL2CBOOL(rb_ivar_defined(obj, obj_ivar_id)))
- hash = rb_ivar_get(obj, obj_ivar_id);
-
-- if (NIL_P(hash) || TYPE(hash) != RUBY_T_HASH) {
-+ if (NIL_P(hash) || TYPE(hash) != T_HASH) {
- return Qnil;
- }
- return rb_hash_aref(hash, hash_key);
-@@ -235,7 +235,7 @@ rbgobj_remove_relative(VALUE obj, ID obj
- if (RVAL2CBOOL(rb_ivar_defined(obj, obj_ivar_id)))
- hash = rb_ivar_get(obj, obj_ivar_id);
-
-- if (NIL_P(hash) || TYPE(hash) != RUBY_T_HASH) {
-+ if (NIL_P(hash) || TYPE(hash) != T_HASH) {
- /* should not happen. */
- } else {
- rb_funcall(hash, id_delete, 1, hash_key);
diff --git a/meta-pkgs/ruby-gnome2/patches/patch-glib2_ext_glib2_rbgutil.c b/meta-pkgs/ruby-gnome2/patches/patch-glib2_ext_glib2_rbgutil.c
deleted file mode 100644
index ba66e7bd0ae..00000000000
--- a/meta-pkgs/ruby-gnome2/patches/patch-glib2_ext_glib2_rbgutil.c
+++ /dev/null
@@ -1,28 +0,0 @@
-$NetBSD: patch-glib2_ext_glib2_rbgutil.c,v 1.1 2013/06/20 17:16:06 taca Exp $
-
-Ruby 1.8 compatibility.
-
---- glib2/ext/glib2/rbgutil.c.orig 2013-05-26 03:25:49.000000000 +0000
-+++ glib2/ext/glib2/rbgutil.c
-@@ -62,7 +62,7 @@ rbgutil_set_properties(VALUE self, VALUE
- VALUE ary;
- GObject* obj;
-
-- Check_Type(hash, RUBY_T_HASH);
-+ Check_Type(hash, T_HASH);
- ary = rb_funcall(hash, id_to_a, 0);
- obj = RVAL2GOBJ(self);
-
-@@ -121,10 +121,10 @@ gboolean
- rbgutil_key_equal(VALUE rb_key, const char *key)
- {
- switch (TYPE(rb_key)) {
-- case RUBY_T_STRING:
-+ case T_STRING:
- return RVAL2CBOOL(rb_funcall(rb_key, id_equal, 1, rb_str_new_cstr(key)));
- break;
-- case RUBY_T_SYMBOL:
-+ case T_SYMBOL:
- return SYM2ID(rb_key) == rb_intern(key);
- break;
- default:
diff --git a/meta-pkgs/ruby-gnome2/patches/patch-gobject-introspection_ext_gobject-introspection_rb-gi-function-info.c b/meta-pkgs/ruby-gnome2/patches/patch-gobject-introspection_ext_gobject-introspection_rb-gi-function-info.c
deleted file mode 100644
index 07083fc0c75..00000000000
--- a/meta-pkgs/ruby-gnome2/patches/patch-gobject-introspection_ext_gobject-introspection_rb-gi-function-info.c
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-gobject-introspection_ext_gobject-introspection_rb-gi-function-info.c,v 1.1 2013/06/20 17:16:06 taca Exp $
-
-Ruby 1.8 compatibility.
-
---- gobject-introspection/ext/gobject-introspection/rb-gi-function-info.c.orig 2013-05-24 14:43:47.000000000 +0000
-+++ gobject-introspection/ext/gobject-introspection/rb-gi-function-info.c
-@@ -627,7 +627,7 @@ rb_gi_function_info_invoke_raw(GIFunctio
- gboolean unlock_gvl = FALSE;
- VALUE rb_receiver, rb_arguments, rb_unlock_gvl;
-
-- if (RB_TYPE_P(rb_options, RUBY_T_ARRAY)) {
-+ if (RB_TYPE_P(rb_options, T_ARRAY)) {
- rb_receiver = Qnil;
- rb_arguments = rb_options;
- rb_unlock_gvl = Qnil;
diff --git a/meta-pkgs/ruby-gnome2/patches/patch-gobject-introspection_ext_gobject-introspection_rb-gi-struct-info.c b/meta-pkgs/ruby-gnome2/patches/patch-gobject-introspection_ext_gobject-introspection_rb-gi-struct-info.c
deleted file mode 100644
index b8b33137b03..00000000000
--- a/meta-pkgs/ruby-gnome2/patches/patch-gobject-introspection_ext_gobject-introspection_rb-gi-struct-info.c
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-gobject-introspection_ext_gobject-introspection_rb-gi-struct-info.c,v 1.1 2013/06/20 17:16:06 taca Exp $
-
-Ruby 1.8 compatibility.
-
---- gobject-introspection/ext/gobject-introspection/rb-gi-struct-info.c.orig 2013-03-17 09:57:52.000000000 +0000
-+++ gobject-introspection/ext/gobject-introspection/rb-gi-struct-info.c
-@@ -119,7 +119,7 @@ rg_get_method(VALUE self, VALUE rb_n_or_
- GIFunctionInfo *function_info;
-
- info = SELF(self);
-- if (RB_TYPE_P(rb_n_or_name, RUBY_T_FIXNUM)) {
-+ if (RB_TYPE_P(rb_n_or_name, T_FIXNUM)) {
- gint n;
- n = NUM2INT(rb_n_or_name);
- function_info = g_struct_info_get_method(info, n);