Ainsi parlait Goetz Waschk :
> Am Montag, 21. Mai 2001, 16:13:07 Uhr MET, schrieb Guillaume Rousse:
> > [guillaume@agathe guillaume]$ xmms
> > /usr/lib/xmms/Input/libcdread.so: undefined symbol: playlist_position
>
> That's the result of changes in xmms-1.2.5 pre1. The variable
> playlist_position has been declared as static, so plugin modules cannot
> access it anymore. The solution would be to patch xmms or to wait for a
> different solution in a newer xmms-cdread version (which is not in sight as
> of xmms-cdread-0.11b)
Here is a xmms source patch that solves the issue as well as a rpm spec
patch :
--- xmms/playlist.c Thu May 10 22:07:55 2001
+++ xmms/playlist.c.new Mon May 21 23:48:47 2001
@@ -27,7 +27,7 @@
static gboolean playlist_get_info_scan_active = FALSE,
playlist_get_info_going = FALSE;
static pthread_t playlist_get_info_thread;
pthread_mutex_t playlist_mutex = PTHREAD_MUTEX_INITIALIZER;
-static PlaylistEntry *playlist_position;
+PlaylistEntry *playlist_position;
extern PlayList_List *playlistwin_list;
extern Vis *mainwin_vis;
--- xmms.spec Wed May 16 15:33:19 2001
+++ xmms.spec.new Mon May 21 23:41:53 2001
@@ -7,7 +7,7 @@
Name: xmms
Summary: The Sound player with the WinAmp GUI
Version: 1.2.5
-Release: 0.pre1.3mdk
+Release: 0.pre1.4mdk
License: GPL
Group: Sound
Icon: xmms-logo.xpm
@@ -51,11 +51,14 @@
Patch50: xmms-1.2.5-pre1-3dse-11pre1.patch.bz2
Patch51: xmms-3dse-niqueluisarace.patch.bz2
+# xmms-cdread patch by Guillaume Rousse <[EMAIL PROTECTED]>
+Patch99: xmms-1.2.5-make-xmms-cdread-works-again.patch.bz2
+
Packager: Guillaume Cottenceau <[EMAIL PROTECTED]>
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: gnome-core-devel libglib-devel libgtk+-devel libxml-devel
libvorbis-devel libogg-devel
BuildRequires: db1-devel libmikmod-devel XFree86-devel XFree86-static-libs
libesound-devel
-BuildRequires: gettext ORBit-devel gnome-libs-devel
+BuildRequires: gettext ORBit-devel gnome-libs-devel autoconf automake
Requires: %{lib_name} = %{version}-%{release}
Obsoletes: x11amp
@@ -165,6 +168,7 @@
%patch17 -p0
%patch50 -p1
%patch51 -p1
+%patch99 -p0
# Dadou - 1.2.4-12mdk - GC have change some things without make tests. So,
this
# patch now need to be applied in last
@@ -337,6 +341,10 @@
%endif
%changelog
+* Mon May 21 2001 Guillaume Rousse <[EMAIL PROTECTED]>
1.2.5-0.pre1.4mdk
+- make xmms-cdread works again
+- added autoconf and automake to buildrequires
+
* Wed May 16 2001 Guillaume Cottenceau <[EMAIL PROTECTED]>
1.2.5-0.pre1.3mdk
- add a strict require to the lib package since author doesn't seem to be
willing to comply to standard soname naming policy
--
Guillaume Rousse <[EMAIL PROTECTED]>
GPG keys http://www.univ-reunion.fr/~grousse/gpgkeys.html