summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2007-10-18 19:26:10 +0000
committerHans de Graaff <graaff@gentoo.org>2007-10-18 19:26:10 +0000
commitfb8bc4a6b96bdb651269dda17fdabd1f7cd2de60 (patch)
tree1662b5521d132848903d626485ea2a9b7c51ba38 /dev-ruby
parentfix var quoting. (diff)
downloadgentoo-2-fb8bc4a6b96bdb651269dda17fdabd1f7cd2de60.tar.gz
gentoo-2-fb8bc4a6b96bdb651269dda17fdabd1f7cd2de60.tar.bz2
gentoo-2-fb8bc4a6b96bdb651269dda17fdabd1f7cd2de60.zip
Fix bug with glib 2.14 API
(Portage version: 2.1.3.9)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/ruby-glib2/ChangeLog8
-rw-r--r--dev-ruby/ruby-glib2/files/digest-ruby-glib2-0.16.0-r13
-rw-r--r--dev-ruby/ruby-glib2/files/ruby-glib2-0.16.0-glib-2.14.patch26
-rw-r--r--dev-ruby/ruby-glib2/ruby-glib2-0.16.0-r1.ebuild13
4 files changed, 49 insertions, 1 deletions
diff --git a/dev-ruby/ruby-glib2/ChangeLog b/dev-ruby/ruby-glib2/ChangeLog
index 5ca81c655b3e..6ceacf6287cc 100644
--- a/dev-ruby/ruby-glib2/ChangeLog
+++ b/dev-ruby/ruby-glib2/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/ruby-glib2
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-glib2/ChangeLog,v 1.43 2007/05/21 11:04:25 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-glib2/ChangeLog,v 1.44 2007/10/18 19:26:09 graaff Exp $
+
+*ruby-glib2-0.16.0-r1 (18 Oct 2007)
+
+ 18 Oct 2007; Hans de Graaff <graaff@gentoo.org>
+ +files/ruby-glib2-0.16.0-glib-2.14.patch, +ruby-glib2-0.16.0-r1.ebuild:
+ Fix problem with new glib-2.14 API, bug 194303.
21 May 2007; Raúl Porcel <armin76@gentoo.org> ruby-glib2-0.16.0.ebuild:
alpha stable wrt #169094
diff --git a/dev-ruby/ruby-glib2/files/digest-ruby-glib2-0.16.0-r1 b/dev-ruby/ruby-glib2/files/digest-ruby-glib2-0.16.0-r1
new file mode 100644
index 000000000000..3a3870dfc695
--- /dev/null
+++ b/dev-ruby/ruby-glib2/files/digest-ruby-glib2-0.16.0-r1
@@ -0,0 +1,3 @@
+MD5 b3b4f81ef0fe2ce6b3f965bb7c6d3686 ruby-gnome2-all-0.16.0.tar.gz 1208856
+RMD160 c83c7cdcf633ad5cc213180f641a6c8f18002a9c ruby-gnome2-all-0.16.0.tar.gz 1208856
+SHA256 0910f08c5224bc39aad66c46b506e5c97e260475ede6b427d5365a9ef2d69ad4 ruby-gnome2-all-0.16.0.tar.gz 1208856
diff --git a/dev-ruby/ruby-glib2/files/ruby-glib2-0.16.0-glib-2.14.patch b/dev-ruby/ruby-glib2/files/ruby-glib2-0.16.0-glib-2.14.patch
new file mode 100644
index 000000000000..7e3e1205f86d
--- /dev/null
+++ b/dev-ruby/ruby-glib2/files/ruby-glib2-0.16.0-glib-2.14.patch
@@ -0,0 +1,26 @@
+Found patch at
+http://www.redhat.com/archives/fedora-extras-commits/2007-August/msg02211.html
+
+Fixes compatibility issue for glib-2.14
+
+--- ruby-gnome2-all-0.16.0/glib/src/rbglib_maincontext.c.glib2_14 2006-12-29 22:17:28.000000000 +0900
++++ ruby-gnome2-all-0.16.0/glib/src/rbglib_maincontext.c 2007-08-09 23:05:28.000000000 +0900
+@@ -343,7 +343,7 @@
+ info->callback = func;
+ id = g_timeout_add_seconds(NUM2UINT(interval),
+ (GSourceFunc)invoke_source_func,
+- (gpointer)info, g_free);
++ (gpointer)info);
+ info->id = id;
+ rb_id = UINT2NUM(id);
+ G_RELATIVE2(mGLibSource, func, id__callbacks__, rb_id);
+--- ruby-gnome2-all-0.16.0/glib/src/rbglib_unicode.c.glib2_14 2006-12-29 22:17:28.000000000 +0900
++++ ruby-gnome2-all-0.16.0/glib/src/rbglib_unicode.c 2007-08-09 23:35:54.000000000 +0900
+@@ -140,6 +140,6 @@
+ rbglib_m_unichar_get_script(VALUE self, VALUE unichar)
+ {
+ return GENUM2RVAL(g_unichar_get_script(NUM2UINT(unichar)),
+- G_TYPE_UNICODE_SCRIPT_TYPE);
++ G_TYPE_UNICODE_SCRIPT);
+ }
+ #endif
diff --git a/dev-ruby/ruby-glib2/ruby-glib2-0.16.0-r1.ebuild b/dev-ruby/ruby-glib2/ruby-glib2-0.16.0-r1.ebuild
new file mode 100644
index 000000000000..44bbdd7bae35
--- /dev/null
+++ b/dev-ruby/ruby-glib2/ruby-glib2-0.16.0-r1.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-glib2/ruby-glib2-0.16.0-r1.ebuild,v 1.1 2007/10/18 19:26:09 graaff Exp $
+
+inherit ruby ruby-gnome2 eutils
+
+DESCRIPTION="Ruby Glib2 bindings"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
+IUSE=""
+USE_RUBY="ruby18 ruby19"
+DEPEND=">=dev-libs/glib-2"
+
+PATCHES="${FILESDIR}/ruby-glib2-0.16.0-glib-2.14.patch"