Package: xmms
Version: 1.2.10+cvs20050209-2
Severity: important
Tags: patch

Hello,


The current version of xmms fails to build on GNU/kFreeBSD, because of
outdated libtool.

As you are using a dpatch system, I am sending attached a new dpatch
instead of giving you the procedure to update libtool. Could you please
add it in your next upload?

However it would also be nice if you can ask upstream to update
libtool, here is the procedure:

for xmms (root directory of the package):
- remove libtool file from acinclude.m4, it has nothing to do here
- run 'libtoolize -c -f'
- run 'aclocal-1.8'
- run 'autoconf2.50'

for libxmms/:
- remove libtool file from acinclude.m4, it has nothing to do here
- run 'libtoolize -c -f'
- run 'aclocal-1.9'
- run 'autoconf2.50'

Thanks for your cooperation,
Aurelien 


-- System Information:
Debian Release: testing/unstable
Architecture: kfreebsd-i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: GNU/kFreeBSD 5.3-17
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
diff -u xmms-1.2.10+cvs20050209/debian/control 
xmms-1.2.10+cvs20050209/debian/control
--- xmms-1.2.10+cvs20050209/debian/control
+++ xmms-1.2.10+cvs20050209/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Josip Rodin <[EMAIL PROTECTED]>
 Uploaders: Christopher Martin <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.2.30), dpatch, libsm-dev, libice-dev, 
libxi-dev, libxext-dev, libx11-dev, libglib1.2-dev, libgtk1.2-dev, 
libaudiofile-dev, libesd0-dev, libmikmod2-dev, xlibmesa-gl-dev | libgl-dev, 
libxml-dev, libogg-dev, libvorbis-dev (>= 1.0.1-1), libssl-dev, gettext, 
libasound2-dev [alpha arm hppa i386 ia64 m68k mips mipsel powerpc s390 s390x 
sh3 sh3eb sh4 sh4eb sparc sparc64 amd64], type-handling (>= 0.2.1)
+Build-Depends: debhelper (>= 4.2.30), dpatch, libsm-dev, libice-dev, 
libxi-dev, libxext-dev, libx11-dev, libglib1.2-dev, libgtk1.2-dev, 
libaudiofile-dev, libesd0-dev, libmikmod2-dev, xlibmesa-gl-dev | libgl-dev, 
libxml-dev, libogg-dev, libvorbis-dev (>= 1.0.1-1), libssl-dev, gettext, 
libasound2-dev [i386 ia64 alpha amd64 arm hppa m32r m68k mips mipsel powerpc 
ppc64 s390 s390x sh3 sh3eb sh4 sh4eb sparc], type-handling (>= 0.2.1)
 Standards-Version: 3.6.1
 
 Package: xmms
diff -u xmms-1.2.10+cvs20050209/debian/changelog 
xmms-1.2.10+cvs20050209/debian/changelog
--- xmms-1.2.10+cvs20050209/debian/changelog
+++ xmms-1.2.10+cvs20050209/debian/changelog
@@ -1,3 +1,9 @@
+xmms (1.2.10+cvs20050209-2+libtool) unreleased; urgency=low
+
+  * Libtool update. 
+
+ -- Aurelien Jarno <[EMAIL PROTECTED]>  Mon, 25 Jul 2005 19:26:52 +0200
+
 xmms (1.2.10+cvs20050209-2) unstable; urgency=low
 
   * Upload to unstable.
diff -u xmms-1.2.10+cvs20050209/debian/patches/00list 
xmms-1.2.10+cvs20050209/debian/patches/00list
--- xmms-1.2.10+cvs20050209/debian/patches/00list
+++ xmms-1.2.10+cvs20050209/debian/patches/00list
@@ -29,2 +29,3 @@
 51_race_cond
+98_libtool
 99_autoreconf
only in patch2:
unchanged:
--- xmms-1.2.10+cvs20050209.orig/debian/patches/98_libtool
+++ xmms-1.2.10+cvs20050209/debian/patches/98_libtool
@@ -0,0 +1,172 @@
+#! /bin/sh -e
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Comments USER and ACCESS entries in rscsi file.
+
+if [ $# -ne 1 ]; then
+    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+    exit 1
+fi
+case "$1" in
+    -patch) patch -f --no-backup-if-mismatch -p1 < $0;;
+    -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;;
+    *)
+        echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+        exit 1;;
+esac
+
+exit 0
+
[EMAIL PROTECTED]@
+--- xmms-1.2.10+cvs20050209.orig/configure
++++ xmms-1.2.10+cvs20050209/configure
+@@ -4283,7 +4283,7 @@
+   esac
+   ;;
+ 
+-freebsd*)
++freebsd* | kfreebsd*-gnu)
+   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+     case $host_cpu in
+     i*86 )
+@@ -6792,7 +6792,7 @@
+     ;;
+ 
+   # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+-  freebsd*)
++  freebsd* | kfreebsd*-gnu)
+     archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
+     hardcode_libdir_flag_spec='-R$libdir'
+     hardcode_direct=yes
+@@ -7266,6 +7266,17 @@
+   dynamic_linker=no
+   ;;
+ 
++kfreebsd-gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix 
${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  ;;
++
+ freebsd*)
+   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+   version_type=freebsd-$objformat
+--- xmms-1.2.10+cvs20050209.orig/acinclude.m4
++++ xmms-1.2.10+cvs20050209/acinclude.m4
+@@ -2519,7 +2519,7 @@
+     ;;
+ 
+   # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+-  freebsd*)
++  freebsd* | kfreebsd*-gnu)
+     archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
+     hardcode_libdir_flag_spec='-R$libdir'
+     hardcode_direct=yes
+@@ -2986,6 +2986,17 @@
+   dynamic_linker=no
+   ;;
+ 
++kfreebsd-gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix 
${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  ;;
++
+ freebsd*)
+   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+   version_type=freebsd-$objformat
+@@ -4257,7 +4268,7 @@
+   esac
+   ;;
+ 
+-freebsd*)
++freebsd* | kfreebsd*-gnu)
+   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+     case $host_cpu in
+     i*86 )
+--- xmms-1.2.10+cvs20050209.orig/libxmms/configure
++++ xmms-1.2.10+cvs20050209/libxmms/configure
+@@ -3623,7 +3623,7 @@
+   esac
+   ;;
+ 
+-freebsd*)
++freebsd* | kfreebsd*-gnu)
+   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+     case $host_cpu in
+     i*86 )
+@@ -6133,7 +6133,7 @@
+     ;;
+ 
+   # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+-  freebsd*)
++  freebsd* | kfreebsd*-gnu)
+     archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
+     hardcode_libdir_flag_spec='-R$libdir'
+     hardcode_direct=yes
+@@ -6607,6 +6607,17 @@
+   dynamic_linker=no
+   ;;
+ 
++kfreebsd-gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix 
${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  ;;
++
+ freebsd*)
+   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+   version_type=freebsd-$objformat
+--- xmms-1.2.10+cvs20050209.orig/libxmms/acinclude.m4
++++ xmms-1.2.10+cvs20050209/libxmms/acinclude.m4
+@@ -1744,7 +1744,7 @@
+     ;;
+ 
+   # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+-  freebsd*)
++  freebsd* | kfreebsd*-gnu)
+     archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
+     hardcode_libdir_flag_spec='-R$libdir'
+     hardcode_direct=yes
+@@ -2211,6 +2211,17 @@
+   dynamic_linker=no
+   ;;
+ 
++kfreebsd-gnu*)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix 
${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  ;;
++
+ freebsd*)
+   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+   version_type=freebsd-$objformat
+@@ -3482,7 +3493,7 @@
+   esac
+   ;;
+ 
+-freebsd*)
++freebsd* | kfreebsd*-gnu)
+   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+     case $host_cpu in
+     i*86 )

Reply via email to