Hi,

[ X-Debbugs-Cc added to mo...@xiph.org who was marked as upstream
author in debian/copyright. Monty, please see
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=537710 for full context. ]

I managed to link gstreamer0.10-plugins-bad against
libvorbisidec1. All I needed to do was to export all symbols that are
common to both libvorbisidec1.so and libvorbis.so so that
gstreamer0.10-plugins-bad is happy.

Should this be handled differently? If not, please consider the
following patch:


>From b66e63734ad0acde31304c89752b9496da7f07c5 Mon Sep 17 00:00:00 2001
From: Timo Juhani Lindfors <timo.lindf...@iki.fi>
Date: Tue, 18 Aug 2009 07:15:26 +0000
Subject: [PATCH] export all symbols common to both libvorbisidec1.so and 
libvorbis.so to support gstreamer0.10-plugins-bad

This list has been generated using

nm -a ./.libs/libvorbisidec.so | grep " t " > fixed_symbols
for float_symbol in $(nm -D /usr/lib/libvorbis.so | grep " T " | cut -d' ' 
-f3); do
    if grep -q "$float_symbol$" fixed_symbols; then
        echo -e "\t\t$float_symbol;";
    fi;
done
---
 Version_script.in |   41 +++++++++++++++++++++++++++++++++++++++++
 1 files changed, 41 insertions(+), 0 deletions(-)

diff --git a/Version_script.in b/Version_script.in
index 2eb1d87..cfc783d 100644
--- a/Version_script.in
+++ b/Version_script.in
@@ -44,6 +44,47 @@
                vorbis_comment_query_count;
                vorbis_comment_clear;
 
+               _book_maptype1_quantvals;
+               _book_unquantize;
+               _fini;
+               _ilog;
+               _init;
+               _make_words;
+               _vorbis_apply_window;
+               _vorbis_block_alloc;
+               _vorbis_block_ripcord;
+               mdct_backward;
+               res0_free_info;
+               res0_free_look;
+               res0_inverse;
+               res0_look;
+               res0_unpack;
+               res1_inverse;
+               res2_inverse;
+               vorbis_block_clear;
+               vorbis_block_init;
+               vorbis_book_clear;
+               vorbis_book_decode;
+               vorbis_book_decodev_add;
+               vorbis_book_decodev_set;
+               vorbis_book_decodevs_add;
+               vorbis_book_decodevv_add;
+               vorbis_book_init_decode;
+               vorbis_dsp_clear;
+               vorbis_lsp_to_curve;
+               vorbis_packet_blocksize;
+               vorbis_staticbook_clear;
+               vorbis_staticbook_destroy;
+               vorbis_staticbook_unpack;
+               vorbis_synthesis;
+               vorbis_synthesis_blockin;
+               vorbis_synthesis_headerin;
+               vorbis_synthesis_init;
+               vorbis_synthesis_pcmout;
+               vorbis_synthesis_read;
+               vorbis_synthesis_restart;
+               vorbis_window;
+
        local:
                *;
 };
-- 
1.6.3.3


best regards,
Timo Lindfors




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to