Package: gstreamer0.10-plugins-farsight
Version: 0.12.1-1
Severity: normal
Tags: patch

*** Please type your report below this line ***
The rtppayloads element from gst-plugins-farsight has unresolved
symbols, due to https://bugs.freedesktop.org/show_bug.cgi?id=11398 .
A simple test:
---------------------------------
[EMAIL PROTECTED]:~$ gst-inspect-0.10 rtppayloads

(gst-inspect-0.10:5924): GStreamer-WARNING **: Failed to load plugin
'/usr/lib/gstreamer-0.10/libgstrtppayloads.so':
/usr/lib/gstreamer-0.10/libgstrtppayloads.so: undefined symbol:
gst_rtp_g729_pay_plugin_init
No such element or plugin 'rtppayloads'
----------------------------------

The attached patch fixes the build.

-- System Information:
Debian Release: lenny/sid
 APT prefers unstable
 APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.21-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gstreamer0.10-plugins-farsight depends on:
ii  libc6                   2.5-11           GNU C Library: Shared
libraries
ii  libgcc1                 1:4.2-20070609-1 GCC support library
ii  libglib2.0-0            2.12.12-1        The GLib library of C
routines
ii  libgsm1                 1.0.10-13        Shared libraries for GSM
speech co
ii  libgstreamer-plugins-ba 0.10.13-2        GStreamer libraries from
the "base
ii  libgstreamer0.10-0      0.10.13-2        Core GStreamer libraries
and eleme
ii  libjinglebase0.3-0      0.3.11-1         Libjingle base library
ii  libjinglep2p0.3-0       0.3.11-1         Libjingle p2p
ii  libjinglexmllite0.3-0   0.3.11-1         Libjingle XMLLite library
ii  libjinglexmpp0.3-0      0.3.11-1         Libjingle XMPP library
ii  libstdc++6              4.2-20070609-1   The GNU Standard C++
Library v3
ii  libxml2                 2.6.29.dfsg-1    GNOME XML library

Versions of packages gstreamer0.10-plugins-farsight recommends:
ii  gstreamer0.10-ffmpeg          0.10.2-2   FFmpeg plugin for GStreamer

-- no debconf information
diff -urN gst-plugins-farsight-0.12.1/debian/patches/99_autoconf_g729_conditional.patch gst-plugins-farsight-0.12.1-new/debian/patches/99_autoconf_g729_conditional.patch
--- gst-plugins-farsight-0.12.1/debian/patches/99_autoconf_g729_conditional.patch	1970-01-01 10:00:00.000000000 +1000
+++ gst-plugins-farsight-0.12.1-new/debian/patches/99_autoconf_g729_conditional.patch	2007-06-28 16:16:01.000000000 +1000
@@ -0,0 +1,31 @@
+diff -Nur gst-plugins-farsight-0.12.1/configure gst-plugins-farsight-0.12.1.new/configure
+--- gst-plugins-farsight-0.12.1/configure	2007-05-04 00:24:35.000000000 +1000
++++ gst-plugins-farsight-0.12.1.new/configure	2007-06-27 17:58:24.000000000 +1000
+@@ -24859,11 +24859,13 @@
+   ENABLE_G729_FALSE=
+ fi
+ 
++if test x$ENABLE_G729 = xyes; then
+ 
+ cat >>confdefs.h <<\_ACEOF
+ #define ENABLE_G729
+ _ACEOF
+ 
++fi
+ 
+ ac_config_files="$ac_config_files Makefile ext/Makefile ext/jrtp/Makefile ext/mimic/Makefile ext/gsm/Makefile ext/jpeg2000/Makefile ext/jasper/Makefile ext/ice/Makefile ext/gconf/Makefile gst/Makefile gst/rtppayloads/Makefile gst/rtpdtmf/Makefile gst/rtpmux/Makefile gst/rtpdemux/Makefile gst/rtpssrcdemux/Makefile gst/rtpjitterbuffer/Makefile gst/network-simulator/Makefile tests/Makefile m4/Makefile"
+ 
+diff -Nur gst-plugins-farsight-0.12.1/configure.ac gst-plugins-farsight-0.12.1.new/configure.ac
+--- gst-plugins-farsight-0.12.1/configure.ac	2007-05-04 00:24:24.000000000 +1000
++++ gst-plugins-farsight-0.12.1.new/configure.ac	2007-05-04 00:24:00.000000000 +1000
+@@ -336,7 +336,9 @@
+ 
+ AC_MSG_RESULT(Checking for --enable-g729... $g729)
+ AM_CONDITIONAL(ENABLE_G729, test "x$g729" != "xno")
+-AC_DEFINE(ENABLE_G729, , [Compile the G729 payloader and depayloader])
++if test x$ENABLE_G729 = xyes; then
++  AC_DEFINE(ENABLE_G729, , [Compile the G729 payloader and depayloader])
++fi
+ 
+ AC_OUTPUT(Makefile \
+ ext/Makefile \
diff -urN gst-plugins-farsight-0.12.1/debian/rules gst-plugins-farsight-0.12.1-new/debian/rules
--- gst-plugins-farsight-0.12.1/debian/rules	2007-06-28 16:19:18.000000000 +1000
+++ gst-plugins-farsight-0.12.1-new/debian/rules	2007-06-28 16:17:16.000000000 +1000
@@ -9,5 +9,9 @@
 include /usr/share/cdbs/1/rules/utils.mk
 common-binary-post-install-arch:: list-missing
 
+#Touch autotools files to prevent autotools trying to regenerate them
+post-patches:: apply-patches
+	touch -t 200705040024 configure.ac aclocal.m4 config.h.in Makefile.in
+
 binary-post-install/gstreamer0.10-plugins-farsight::
 	rm -rf debian/*/usr/lib/gstreamer-0.10/*.la

Reply via email to