[audacious] Explicitly link with gmodule-2.0.pc libs for missing libs. Generic plugin API/ABI bumped to 37, also
Michael Schwendt
mschwendt at fedoraproject.org
Sat Dec 24 08:55:23 UTC 2011
commit 4d15fc598775116d9f70a11581b856b690c10968
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date: Sat Dec 24 09:55:18 2011 +0100
Explicitly link with gmodule-2.0.pc libs for missing libs.
Generic plugin API/ABI bumped to 37, also the minimum.
libmowgli not used anymore.
Upgrade to 3.2-alpha1.
audacious-3.2-alpha1-gmodule-pkgconfig.patch | 11 +++++++++++
audacious.spec | 7 +++++++
2 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/audacious-3.2-alpha1-gmodule-pkgconfig.patch b/audacious-3.2-alpha1-gmodule-pkgconfig.patch
new file mode 100644
index 0000000..8745299
--- /dev/null
+++ b/audacious-3.2-alpha1-gmodule-pkgconfig.patch
@@ -0,0 +1,11 @@
+diff -Nur audacious-3.2-alpha1-orig/src/audacious/Makefile audacious-3.2-alpha1/src/audacious/Makefile
+--- audacious-3.2-alpha1-orig/src/audacious/Makefile 2011-12-19 21:43:44.000000000 +0100
++++ audacious-3.2-alpha1/src/audacious/Makefile 2011-12-24 09:53:13.356974535 +0100
+@@ -121,6 +121,7 @@
+ ${LIBINTL} \
+ ${EGGSM_LIBS} \
+ ${GLIB_LIBS} \
++ `pkg-config --libs gmodule-2.0` \
+ ${GTHREAD_LIBS} \
+ ${GTK_LIBS} \
+ ${DBUS_LIBS} \
diff --git a/audacious.spec b/audacious.spec
index ea7dda1..3e13d4f 100644
--- a/audacious.spec
+++ b/audacious.spec
@@ -17,6 +17,10 @@ Group: Applications/Multimedia
Source0: http://distfiles.atheme.org/audacious-%{tar_ver}.tar.bz2
+# /usr/bin/ld: pluginenum.o: undefined reference to symbol 'g_module_close'
+# /usr/bin/ld: note: 'g_module_close' is defined in DSO /lib64/libgmodule-2.0.so.0
+Patch0: audacious-3.2-alpha1-gmodule-pkgconfig.patch
+
BuildRequires: gettext
BuildRequires: gtk3-devel
BuildRequires: libguess-devel >= 1.1
@@ -93,6 +97,8 @@ api=$(grep '[ ]*#define[ ]*_AUD_PLUGIN_VERSION[ ]\+' src/audacious/plugin.h | se
api_min=$(grep '[ ]*#define[ ]*_AUD_PLUGIN_VERSION_MIN' src/audacious/plugin.h | sed 's!.*_AUD_PLUGIN_VERSION_MIN[ ]*\([0-9]\+\).*!\1!')
[ "${api_min}" == "%{aud_plugin_api_min}" ] || exit -1
+%patch0 -p1 -b .gmodule-pkgconfig
+
sed -i '\,^.SILENT:,d' buildsys.mk.in
@@ -174,6 +180,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
* Fri Dec 23 2011 Michael Schwendt <mschwendt at fedoraproject.org> - 3.2-0.1.alpha1
+- Explicitly link with gmodule-2.0.pc libs for missing libs.
- Generic plugin API/ABI bumped to 37, also the minimum.
- libmowgli not used anymore.
- Upgrade to 3.2-alpha1.
More information about the scm-commits
mailing list