Package: drip
Followup-For: Bug #304109

an motu hopeful has proposed a patch to the package, which persumably
fixes the segfault (this bug). Could you please comment on it if it is
acceptable? 


-- System Information:
Debian Release: testing/unstable
  APT prefers dapper
  APT policy: (500, 'dapper')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-14-686
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
diff -u drip-0.8.3.2+0.9.0-rc3/debian/rules drip-0.8.3.2+0.9.0-rc3/debian/rules
--- drip-0.8.3.2+0.9.0-rc3/debian/rules
+++ drip-0.8.3.2+0.9.0-rc3/debian/rules
@@ -5,6 +5,10 @@
 
 DEB_AUTO_UPDATE_AUTOCONF := 2.50
 
+# libtool,ltmain.sh are outdated in original tar
+# so we must update them
+DEB_AUTO_UPDATE_LIBTOOL := pre
+
 binary/drip:: install/drip
        # libao shared objects are in the libao0 separate package
        rm -f $(CURDIR)/debian/drip/usr/lib/libao.*
diff -u drip-0.8.3.2+0.9.0-rc3/debian/changelog 
drip-0.8.3.2+0.9.0-rc3/debian/changelog
--- drip-0.8.3.2+0.9.0-rc3/debian/changelog
+++ drip-0.8.3.2+0.9.0-rc3/debian/changelog
@@ -1,3 +1,11 @@
+drip (0.8.3.2+0.9.0-rc3-7ubuntu4) dapper; urgency=low
+
+  * Now debian/rules updates libtool to fix missing .so extension bug.
+  * Dirty hack to not have drip linked with both glib-1.2 and glib-2.0
+    (closes: Malone #28557)
+
+ -- Yann Rouillard <[EMAIL PROTECTED]>  Sun, 29 Jan 2006 15:13:30 +0100
+
 drip (0.8.3.2+0.9.0-rc3-7ubuntu3) dapper; urgency=low
 
   * Architecture: i386 to match PaS
only in patch2:
unchanged:
--- drip-0.8.3.2+0.9.0-rc3.orig/debian/patches/glib2_nolink.diff
+++ drip-0.8.3.2+0.9.0-rc3/debian/patches/glib2_nolink.diff
@@ -0,0 +1,12 @@
+--- drip-0.9.0rc3/encoder/Makefile.am.orig     2006-01-29 15:26:41.000000000 
+0100
++++ drip-0.9.0rc3/encoder/Makefile.am  2006-01-29 15:27:46.000000000 +0100
+@@ -1,5 +1,9 @@
+ SHELL=/bin/sh
+ 
++# Dirty hack to have our fake libaviplay.la used
++# so we can remove glib-2.0 reference
++AM_LDFLAGS = -L../../../debian
++
+ DEBUG_C = $(COMPILE_DEBUG)
+ DEBUG_L = -DNONE
+ OPTIM_C = $(COMPILE_OPTIM)
only in patch2:
unchanged:
--- drip-0.8.3.2+0.9.0-rc3.orig/debian/libaviplay.la
+++ drip-0.8.3.2+0.9.0-rc3/debian/libaviplay.la
@@ -0,0 +1,24 @@
+# libaviplay.la - a libtool library file
+# Generated by ltmain.sh - GNU libtool 1.5.22 Debian 1.5.22-2 (1.1220.2.365 
2005/12/18 22:14:06)
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# The name that we can dlopen(3).
+
+# This is a dirty hack to avoid having drip linked with glib-2.0 since it's 
already linked
+# to glib-1.2.
+# drip is linked to glib-2.0 because it's linked to a static library which 
need aviplay, 
+# Libtool knows that aviplay need glib-2.0 hence the unwanted linking.
+# So we use this fake libaviplay.la which just remove any glib-2.0 reference 
from the
+# dependancy list. 
+# There will be no linking problem since drip is dynamically linked to aviplay.
+
+if [ -f /usr/lib/libaviplay.la ]; then
+       . /usr/lib/libaviplay.la
+fi
+
+# We remove any reference to glib-2.0 libraries
+for _LIB in libgmodule-2.0 libgthread-2.0 libglib-2.0; do
+       dependency_libs=" `echo $dependency_libs | sed -e "s/[^ 
]*\/*${_LIB}\.la//"`"
+done

Reply via email to