summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerkan Kaba <serkan@gentoo.org>2011-01-07 05:10:33 +0000
committerSerkan Kaba <serkan@gentoo.org>2011-01-07 05:10:33 +0000
commit66f22126c0251cb40f3e3efdfebf72a1d9aef79b (patch)
tree10e615507b430e5cb7f21ae6e9da16d01029b476 /media-sound/gnomad
parentsys-kernel/genkernel: Add 99999er ebuild for experimental branch (diff)
downloadgentoo-2-66f22126c0251cb40f3e3efdfebf72a1d9aef79b.tar.gz
gentoo-2-66f22126c0251cb40f3e3efdfebf72a1d9aef79b.tar.bz2
gentoo-2-66f22126c0251cb40f3e3efdfebf72a1d9aef79b.zip
Revbump to fix GTK Critical errors wrt bug #349419. Bug report and patch by Rick Warner <rick@sapphire.no-ip.com>
(Portage version: 2.2.0_alpha13/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/gnomad')
-rw-r--r--media-sound/gnomad/ChangeLog11
-rw-r--r--media-sound/gnomad/files/gnomad-2.9.4-fix-gtk-widget-destroy.diff22
-rw-r--r--media-sound/gnomad/gnomad-2.9.4-r1.ebuild47
3 files changed, 78 insertions, 2 deletions
diff --git a/media-sound/gnomad/ChangeLog b/media-sound/gnomad/ChangeLog
index 5eb1b20b38a1..1a9c1307c86c 100644
--- a/media-sound/gnomad/ChangeLog
+++ b/media-sound/gnomad/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-sound/gnomad
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/gnomad/ChangeLog,v 1.36 2009/05/14 19:57:36 maekke Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gnomad/ChangeLog,v 1.37 2011/01/07 05:10:33 serkan Exp $
+
+*gnomad-2.9.4-r1 (07 Jan 2011)
+
+ 07 Jan 2011; Serkan Kaba <serkan@gentoo.org> +gnomad-2.9.4-r1.ebuild,
+ +files/gnomad-2.9.4-fix-gtk-widget-destroy.diff:
+ Revbump to fix GTK Critical errors wrt bug #349419. Bug report and patch by
+ Rick Warner <rick@sapphire.no-ip.com>
14 May 2009; Markus Meier <maekke@gentoo.org> gnomad-2.9.4.ebuild:
amd64/x86 stable, bug #269411
diff --git a/media-sound/gnomad/files/gnomad-2.9.4-fix-gtk-widget-destroy.diff b/media-sound/gnomad/files/gnomad-2.9.4-fix-gtk-widget-destroy.diff
new file mode 100644
index 000000000000..2e3369b1e705
--- /dev/null
+++ b/media-sound/gnomad/files/gnomad-2.9.4-fix-gtk-widget-destroy.diff
@@ -0,0 +1,22 @@
+--- src/filesystem.c.orig 2009-01-22 17:29:16.000000000 -0500
++++ src/filesystem.c 2010-12-22 16:00:44.000000000 -0500
+@@ -633,6 +633,10 @@
+ return metalist;
+ }
+
++void my_gtk_widget_destroy(GtkWidget *widget) {
++ if (GTK_IS_WIDGET(widget)) gtk_widget_destroy(widget);
++}
++
+ static gpointer dirfill_thread(gpointer thread_args)
+ {
+ dirfill_thread_arg_t *args = (dirfill_thread_arg_t *) thread_args;
+@@ -653,7 +657,7 @@
+ metarg->metalist = metalist;
+ g_idle_add(update_metadata,metarg);
+
+- g_idle_add((GSourceFunc) gtk_widget_destroy, args->dialog);
++ g_idle_add((GSourceFunc) my_gtk_widget_destroy, args->dialog);
+ g_free(args->path);
+ g_free(args);
+ return NULL;
diff --git a/media-sound/gnomad/gnomad-2.9.4-r1.ebuild b/media-sound/gnomad/gnomad-2.9.4-r1.ebuild
new file mode 100644
index 000000000000..450c463b28a5
--- /dev/null
+++ b/media-sound/gnomad/gnomad-2.9.4-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gnomad/gnomad-2.9.4-r1.ebuild,v 1.1 2011/01/07 05:10:33 serkan Exp $
+
+EAPI=2
+GCONF_DEBUG=no
+inherit flag-o-matic gnome2
+
+MY_P=${PN}2-${PV}
+
+DESCRIPTION="A GNOME2 frontend for Creative Players (Zen, JukeBox, etc ...)"
+HOMEPAGE="http://gnomad2.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}2/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="nls"
+
+RDEPEND="sys-apps/hal
+ dev-libs/dbus-glib
+ >=x11-libs/gtk+-2.6:2
+ >=media-libs/libnjb-2.2.4
+ >=media-libs/libmtp-0.3
+ >=media-libs/taglib-1.5
+ >=media-libs/libid3tag-0.15.1b"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ nls? ( sys-devel/gettext
+ dev-util/intltool )"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-fix-gtk-widget-destroy.diff
+}
+
+pkg_setup() {
+ G2CONF+=" $(use_enable nls)"
+ DOCS="AUTHORS ChangeLog NEWS README TODO"
+}
+
+src_configure() {
+ strip-flags
+ replace-flags -O3 -O2
+ gnome2_src_configure
+}