diff options
author | Daniel Gryniewicz <dang@gentoo.org> | 2009-06-03 14:28:41 +0000 |
---|---|---|
committer | Daniel Gryniewicz <dang@gentoo.org> | 2009-06-03 14:28:41 +0000 |
commit | b6360f1e0efe021a3c66acd998491315adbf2217 (patch) | |
tree | 0e23c1df65f032f9029050eae1b9b2981db259eb /media-sound/rhythmbox | |
parent | Marking keduca-3.5.10 ppc64 for bug 271889 (diff) | |
download | gentoo-2-b6360f1e0efe021a3c66acd998491315adbf2217.tar.gz gentoo-2-b6360f1e0efe021a3c66acd998491315adbf2217.tar.bz2 gentoo-2-b6360f1e0efe021a3c66acd998491315adbf2217.zip |
Fix plugin linking. Bug #272203
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/rhythmbox')
-rw-r--r-- | media-sound/rhythmbox/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/rhythmbox/files/rhythmbox-0.12.2-link-fixes.patch | 146 | ||||
-rw-r--r-- | media-sound/rhythmbox/rhythmbox-0.12.2-r1.ebuild (renamed from media-sound/rhythmbox/rhythmbox-0.12.2.ebuild) | 8 |
3 files changed, 159 insertions, 3 deletions
diff --git a/media-sound/rhythmbox/ChangeLog b/media-sound/rhythmbox/ChangeLog index 35533e4b0c8a..8fd1477206d5 100644 --- a/media-sound/rhythmbox/ChangeLog +++ b/media-sound/rhythmbox/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/rhythmbox # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/rhythmbox/ChangeLog,v 1.150 2009/05/31 16:47:38 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/rhythmbox/ChangeLog,v 1.151 2009/06/03 14:28:40 dang Exp $ + +*rhythmbox-0.12.2-r1 (03 Jun 2009) + + 03 Jun 2009; Daniel Gryniewicz <dang@gentoo.org> -rhythmbox-0.12.2.ebuild, + +rhythmbox-0.12.2-r1.ebuild, +files/rhythmbox-0.12.2-link-fixes.patch: + Fix plugin linking. Bug #272203 *rhythmbox-0.12.2 (31 May 2009) diff --git a/media-sound/rhythmbox/files/rhythmbox-0.12.2-link-fixes.patch b/media-sound/rhythmbox/files/rhythmbox-0.12.2-link-fixes.patch new file mode 100644 index 000000000000..9cf9673f64fe --- /dev/null +++ b/media-sound/rhythmbox/files/rhythmbox-0.12.2-link-fixes.patch @@ -0,0 +1,146 @@ +From 02159da160b33f0e411ec502f59213b12d445c73 Mon Sep 17 00:00:00 2001 +From: Jonathan Matthew <jonathan@d14n.org> +Date: Mon, 1 Jun 2009 10:21:11 +1000 +Subject: [PATCH] fix a variety of plugin linking problems + +All C plugins need to be linked against librhythmbox-core as well as any +other libraries they need. +--- + plugins/daap/Makefile.am | 1 + + plugins/generic-player/Makefile.am | 3 ++- + plugins/iradio/Makefile.am | 4 +++- + plugins/lirc/Makefile.am | 2 ++ + plugins/mtpdevice/Makefile.am | 4 ++-- + plugins/power-manager/Makefile.am | 2 ++ + plugins/sample/Makefile.am | 2 ++ + plugins/status-icon/Makefile.am | 5 ++++- + plugins/visualizer/Makefile.am | 1 + + 9 files changed, 19 insertions(+), 5 deletions(-) + +diff --git a/plugins/daap/Makefile.am b/plugins/daap/Makefile.am +index a446f99..4c8fe7d 100644 +--- a/plugins/daap/Makefile.am ++++ b/plugins/daap/Makefile.am +@@ -33,6 +33,7 @@ libdaap_la_SOURCES = \ + libdaap_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) + libdaap_la_LIBTOOLFLAGS = --tag=disable-static + libdaap_la_LIBADD = \ ++ $(top_builddir)/corelib/librhythmbox-core.la \ + $(DBUS_LIBS) \ + $(MDNS_LIBS) + +diff --git a/plugins/generic-player/Makefile.am b/plugins/generic-player/Makefile.am +index 113240d..f7e7f45 100644 +--- a/plugins/generic-player/Makefile.am ++++ b/plugins/generic-player/Makefile.am +@@ -18,8 +18,9 @@ endif + + libgeneric_player_la_LIBTOOLFLAGS = --tag=disable-static + libgeneric_player_la_LDFLAGS = \ ++ $(top_builddir)/corelib/librhythmbox-core.la \ + $(TOTEM_PLPARSER_LIBS) \ +- $(HAL_LIBS) \ ++ $(HAL_LIBS) \ + $(PLUGIN_LIBTOOL_FLAGS) + + INCLUDES = \ +diff --git a/plugins/iradio/Makefile.am b/plugins/iradio/Makefile.am +index 2fc6399..3cce0a1 100644 +--- a/plugins/iradio/Makefile.am ++++ b/plugins/iradio/Makefile.am +@@ -15,7 +15,9 @@ libiradio_la_SOURCES = \ + libiradio_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) + libiradio_la_LIBTOOLFLAGS = --tag=disable-static + libiradio_la_LIBADD = \ +- $(top_builddir)/corelib/librhythmbox-core.la ++ $(top_builddir)/corelib/librhythmbox-core.la \ ++ $(TOTEM_PLPARSER_LIBS) \ ++ $(NULL) + + INCLUDES = \ + -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \ +diff --git a/plugins/lirc/Makefile.am b/plugins/lirc/Makefile.am +index 2c85a4a..daea54a 100644 +--- a/plugins/lirc/Makefile.am ++++ b/plugins/lirc/Makefile.am +@@ -7,6 +7,8 @@ librblirc_la_SOURCES = \ + librblirc_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) -llirc_client + librblirc_la_LIBTOOLFLAGS = --tag=disable-static + ++librblirc_la_LIBADD = $(top_builddir)/corelib/librhythmbox-core.la ++ + configdir = $(PLUGINDIR)/rblirc + config_DATA = rhythmbox_lirc_default + +diff --git a/plugins/mtpdevice/Makefile.am b/plugins/mtpdevice/Makefile.am +index 57188a0..6e6e4de 100644 +--- a/plugins/mtpdevice/Makefile.am ++++ b/plugins/mtpdevice/Makefile.am +@@ -10,8 +10,8 @@ libmtpdevice_la_SOURCES = \ + + libmtpdevice_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) + libmtpdevice_la_LIBTOOLFLAGS = --tag=disable-static +-libmtpdevice_la_LIBADD = \ +- $(top_builddir)/lib/librb.la \ ++libmtpdevice_la_LIBADD = \ ++ $(top_builddir)/corelib/librhythmbox-core.la \ + $(HAL_LIBS) \ + $(MTP_LIBS) + +diff --git a/plugins/power-manager/Makefile.am b/plugins/power-manager/Makefile.am +index 8dbba4f..11c090a 100644 +--- a/plugins/power-manager/Makefile.am ++++ b/plugins/power-manager/Makefile.am +@@ -7,6 +7,8 @@ libpower_manager_la_SOURCES = \ + libpower_manager_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) + libpower_manager_la_LIBTOOLFLAGS = --tag=disable-static + ++libpower_manager_la_LIBADD = $(top_builddir)/corelib/librhythmbox-core.la ++ + INCLUDES = \ + -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \ + -DG_LOG_DOMAIN=\"Rhythmbox\" \ +diff --git a/plugins/sample/Makefile.am b/plugins/sample/Makefile.am +index c90cc4f..9ee5d58 100644 +--- a/plugins/sample/Makefile.am ++++ b/plugins/sample/Makefile.am +@@ -7,6 +7,8 @@ libsample_la_SOURCES = \ + + libsample_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) + ++libsample_la_LIBADD = $(top_builddir)/corelib/librhythmbox-core.la ++ + INCLUDES = \ + -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \ + -DG_LOG_DOMAIN=\"Rhythmbox\" \ +diff --git a/plugins/status-icon/Makefile.am b/plugins/status-icon/Makefile.am +index a52c3ce..d52dffd 100644 +--- a/plugins/status-icon/Makefile.am ++++ b/plugins/status-icon/Makefile.am +@@ -25,7 +25,10 @@ libstatus_icon_la_SOURCES = \ + libstatus_icon_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) + libstatus_icon_la_LIBTOOLFLAGS = --tag=disable-static + +-libstatus_icon_la_LIBADD = $(RHYTHMBOX_LIBS) ++libstatus_icon_la_LIBADD = \ ++ $(top_builddir)/corelib/librhythmbox-core.la \ ++ $(NOTIFY_LIBS) \ ++ $(NULL) + + INCLUDES = \ + -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \ +diff --git a/plugins/visualizer/Makefile.am b/plugins/visualizer/Makefile.am +index ffd3d33..979ac0c 100644 +--- a/plugins/visualizer/Makefile.am ++++ b/plugins/visualizer/Makefile.am +@@ -12,6 +12,7 @@ libvisualizer_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) + libvisualizer_la_LIBTOOLFLAGS = --tag=disable-static + + libvisualizer_la_LIBADD = \ ++ $(top_builddir)/corelib/librhythmbox-core.la \ + -lgstinterfaces-0.10 \ + $(DBUS_LIBS) \ + $(RHYTHMBOX_LIBS) +-- +1.6.3.1.257.gbd13 + diff --git a/media-sound/rhythmbox/rhythmbox-0.12.2.ebuild b/media-sound/rhythmbox/rhythmbox-0.12.2-r1.ebuild index dfb1ac27a2bd..4f7505d29c00 100644 --- a/media-sound/rhythmbox/rhythmbox-0.12.2.ebuild +++ b/media-sound/rhythmbox/rhythmbox-0.12.2-r1.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/rhythmbox/rhythmbox-0.12.2.ebuild,v 1.1 2009/05/31 16:47:38 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/rhythmbox/rhythmbox-0.12.2-r1.ebuild,v 1.1 2009/06/03 14:28:40 dang Exp $ EAPI="2" -inherit eutils gnome2 python multilib virtualx +inherit eutils gnome2 python multilib virtualx autotools DESCRIPTION="Music management and playback software for GNOME" HOMEPAGE="http://www.rhythmbox.org/" @@ -125,6 +125,10 @@ src_prepare() { # Fix intltoolize broken file, see upstream #577133 #sed "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" -i po/Makefile.in.in || die "sed failed" + + # Fix plugin linking. Bug #272203 + epatch "${FILESDIR}"/${P}-link-fixes.patch + eautoreconf } src_compile() { |