tags 559821 + patch
# Needs at least the plugins.cpp modifications from the patch at
# 476378, otherwise will not build.
block 559821 with 476378
thanks
Here is a patch to build against the system libltdl, which should fix
this bug. --without-included-ltdl is not strictly needed, as the
package will link against the system library if found, but it's good
to have it as an extra safety check.
Please also consider fixing #476378. libmpc is in squeeze already,
and your package now builds without the Musepack plugin, which is
unfortunate for all apps using the library. libmpcdec is likely to be
removed for squeeze.
--- libtunepimp-0.5.3.orig/configure.in
+++ libtunepimp-0.5.3/configure.in
@@ -33,12 +33,9 @@
dnl Checks for programs.
AC_PREREQ(2.52)
AC_PROG_CC
-AC_LIBLTDL_CONVENIENCE
-AC_SUBST(INCLTDL)
-AC_SUBST(LIBLTDL)
-AC_LIBTOOL_DLOPEN
-AC_PROG_LIBTOOL
-AC_SUBST(LIBTOOL_DEPS)
+LT_CONFIG_LTDL_DIR([libltdl])
+LT_INIT([dlopen])
+LTDL_INIT
PREFIX="${prefix}"
AC_SUBST(PREFIX)
AC_PROG_CXX
@@ -287,7 +284,6 @@
AC_DEFINE_UNQUOTED(PREFIX, "${prefix}", "PREFIX")
AS_AC_EXPAND(LIBDIR, $libdir)
AC_DEFINE_UNQUOTED(PLUGIN_DIR, "$LIBDIR/tunepimp/plugins", "PLUGIN_DIR")
-AC_CONFIG_SUBDIRS(libltdl)
AC_OUTPUT(
Makefile
lib/Makefile
--- libtunepimp-0.5.3.orig/debian/rules
+++ libtunepimp-0.5.3/debian/rules
@@ -26,7 +26,7 @@
endif
./configure --host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE) \
- --prefix=/usr \
+ --prefix=/usr --without-included-ltdl \
CFLAGS="$(CFLAGS)"
build: build-stamp
--- libtunepimp-0.5.3.orig/debian/control
+++ libtunepimp-0.5.3/debian/control
@@ -2,7 +2,7 @@
Priority: optional
Maintainer: Adam Cécile (Le_Vert) <[email protected]>
Uploaders: Robert Jordens <[email protected]>
-Build-Depends: debhelper (>= 5.0.37.2), autotools-dev, zlib1g-dev,
libofa0-dev, libexpat1-dev | libexpat-dev, libcurl4-gnutls-dev,
libmusicbrainz4-dev | libmusicbrainz-dev, libtag1-dev, libmpcdec-dev,
libmad0-dev, libogg-dev, libvorbis-dev, libflac-dev, python-all, python-support
(>= 0.4), doxygen, dpatch
+Build-Depends: debhelper (>= 5.0.37.2), autotools-dev, zlib1g-dev,
libofa0-dev, libexpat1-dev | libexpat-dev, libcurl4-gnutls-dev,
libmusicbrainz4-dev | libmusicbrainz-dev, libtag1-dev, libmpcdec-dev,
libmad0-dev, libogg-dev, libvorbis-dev, libflac-dev, python-all, python-support
(>= 0.4), doxygen, dpatch, libltdl-dev
Standards-Version: 3.7.3
Section: libs
Homepage: http://musicbrainz.org/doc/libtunepimp