--- gst-plugins-bad0.10-0.10.11.orig/debian/build-deps
+++ gst-plugins-bad0.10-0.10.11/debian/build-deps
@@ -0,0 +1,44 @@
+autotools-dev
+cdbs (>= 0.4.32)
+debhelper (>= 5)
+@GST_EXTRA_BUILD_DEPENDS@
+@GST_LIB_DEV_DEP@
+gstreamer0.10-plugins-base
+gstreamer-tools (>= 0.10.14)
+gtk-doc-tools
+ladspa-sdk
+libass-dev (>= 0.9.4)
+libbz2-dev
+libcelt-dev (>= 0.4.0)
+libdca-dev
+libdirectfb-dev (>= 0.9.25)
+libdvdnav-dev (>= 0.1.7)
+libexempi-dev
+libexif-dev (>= 0.6.16)
+libfaad-dev
+libglade2-dev (>= 2.6.0)
+libgmyth-dev (>= 0.4)
+libgsm1-dev
+libgstreamer-plugins-base0.10-dev (>= 0.10.22)
+libgtk2.0-dev (>= 2.2.0)
+libiptcdata0-dev (>= 1.0.2)
+libjack0.100.0-dev (>= 0.99.10)
+libjasper-dev
+liblrdf0-dev
+libmms-dev (>= 0.4)
+libmodplug-dev
+libmpcdec-dev
+libmusicbrainz4-dev (>= 2.1.0)
+libneon27-gnutls-dev (>= 0.26.0)
+libofa0-dev (>= 0.9.3)
+liboil0.3-dev (>= 0.3.8)
+libopenspc-dev [i386]
+libsdl1.2-dev
+libsndfile1-dev (>= 1.0.16)
+libsoundtouch1-dev
+libssl-dev
+libwildmidi-dev
+libx11-dev
+lsb-release
+pkg-config (>= 0.11.0)
+type-handling (>= 0.2.14)
--- gst-plugins-bad0.10-0.10.11.orig/debian/gstreamer-plugins-bad-doc.install
+++ gst-plugins-bad0.10-0.10.11/debian/gstreamer-plugins-bad-doc.install
@@ -0,0 +1 @@
+debian/tmp/usr/share/gtk-doc
--- gst-plugins-bad0.10-0.10.11.orig/debian/gstreamer-faac.install
+++ gst-plugins-bad0.10-0.10.11/debian/gstreamer-faac.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstfaac.so
--- gst-plugins-bad0.10-0.10.11.orig/debian/changelog
+++ gst-plugins-bad0.10-0.10.11/debian/changelog
@@ -0,0 +1,602 @@
+gst-plugins-bad0.10 (0.10.11-2ubuntu1moblin1) moblin-jaunty; urgency=low
+
+  * debian/gstreamer-plugins-bad.install: Remove several plugins required
+    for farsight.  They are moving to the -good package.  Patch from 
+    Karmic.
+
+ -- Michael Terry <michael.terry@canonical.com>  Mon, 14 Sep 2009 10:44:51 -0400
+
+gst-plugins-bad0.10 (0.10.11-2ubuntu1) jaunty; urgency=low
+
+  * Merge from debian unstable(LP: #144254, #260765, #322716)
+    remaining change:
+    - debian/patches/03_fix_ftbfs_with_latest_libcelt.patch:
+      Patch to fix FTBFS with latest libcelt in Ubuntu.
+
+ -- Didier Roche <didrocks@ubuntu.com>  Wed, 08 Apr 2009 18:21:10 +0200
+
+gst-plugins-bad0.10 (0.10.11-2) unstable; urgency=low
+
+  * Upload to unstable, now that the DirectFB transition is done.
+  * debian/build-deps.in:
+    + Build depend on liblrdf0-dev for the LADSPA plugin to enable support
+      for reading RDF files for informations about LADSPA plugins.
+
+ -- Sebastian Dröge <slomo@debian.org>  Mon, 30 Mar 2009 14:41:32 +0200
+
+gst-plugins-bad0.10 (0.10.11-1) experimental; urgency=low
+
+  [ Sebastian Dröge ]
+  * New upstream release, 'A precious stone'.
+
+  [ Fabian Greffrath ]
+  * debian/extra:
+    + Added XB-GStreamer-* fields for the extra packages.
+  * debian/rules:
+    + Run debian/extra with sh (it has no execute permissions).
+  * debian/build-deps, debian/control, debian/rules:
+    + Order, wrap and indent Build-Depends; this will improve interdiffs for
+      packages that provide the extra plugins.
+
+  [ Sebastian Dröge ]
+  * Upload to experimental to prevent blocking the ffmpeg/etc transition.
+
+ -- Sebastian Dröge <slomo@debian.org>  Thu, 26 Mar 2009 07:36:33 +0100
+
+gst-plugins-bad0.10 (0.10.10.3-1) unstable; urgency=low
+
+  * New upstream pre-release.
+
+ -- Sebastian Dröge <slomo@debian.org>  Sat, 14 Mar 2009 19:49:34 +0100
+
+gst-plugins-bad0.10 (0.10.10.2-1) unstable; urgency=low
+
+  * New upstream pre-release:
+    + debian/patches/01_bpmdetect-stack-overflow.patch:
+      - Dropped, merged upstream.
+    + debian/build-deps.in:
+      - Update gst-plugins-base build dependency to >= 0.10.22.
+      - Update library build dependencies according to configure.ac.
+    + debian/control.in,
+      debian/gstreamer-plugins-bad.install:
+      - This release now contains all plugins from gst-plugins-farsight
+        and thus replaces files of it.
+      - Add new plugins: assrender, autoconvert, dtmf, liveadder,
+        rtpmux, siren, valve, xdgmime.
+      - Remove filter plugin, it's obsoleted by audioiirfilter from
+        gst-plugins-good.
+      - Remove twolame plugin, it was moved to gst-plugins-ugly.
+
+ -- Sebastian Dröge <slomo@debian.org>  Tue, 10 Mar 2009 08:23:48 +0100
+
+gst-plugins-bad0.10 (0.10.10-3) unstable; urgency=low
+
+  * debian/patches/01_bpmdetect-stack-overflow.patch:
+    + Patch from upstream GIT to fix stack overflow in the bpmdetect
+      plugin.
+  * debian/patches/02_no-Werror.patch,
+    debian/rules:
+    + Pass -Wno-error via C(XX)FLAGS instead of patching configure.
+  * debian/build-deps.in:
+    + Build depend on libdca-dev instead of libdts-dev, which is the
+      successor. libdts-dev is still necessary for the dts.h header.
+
+ -- Sebastian Dröge <slomo@debian.org>  Mon, 23 Feb 2009 12:14:32 +0100
+
+gst-plugins-bad0.10 (0.10.10-2) unstable; urgency=low
+
+  * Upload to unstable.
+
+ -- Sebastian Dröge <slomo@debian.org>  Sun, 15 Feb 2009 20:12:00 +0100
+
+gst-plugins-bad0.10 (0.10.10-1) experimental; urgency=low
+
+  * New upstream release, 'Keep the dogies rollin'':
+    + debian/rules:
+      - Update GStreamer build dependencies.
+
+ -- Sebastian Dröge <slomo@debian.org>  Tue, 20 Jan 2009 09:12:34 +0100
+
+gst-plugins-bad0.10 (0.10.9.3-1) experimental; urgency=low
+
+  * New upstream pre-release:
+    + debian/patches/01_ladspa-modules.patch:
+      - Dropped, merged upstream.
+
+ -- Sebastian Dröge <slomo@debian.org>  Sun, 11 Jan 2009 21:31:03 +0100
+
+gst-plugins-bad0.10 (0.10.9.2-1) experimental; urgency=low
+
+  * New upstream pre-release:
+    + A lot DVD nagivation fixes (Closes: #506573).
+    + debian/patches/01_ladspa-modules.patch:
+      - Add plugin dependency for the LADSPA modules to make sure
+        that the plugin is updated when new LADSPA modules are installed.
+    + debian/build-deps.in,
+      debian/rules:
+      - Update build dependencies.
+    + debian/gstreamer-plugins-bad.install:
+      - Add new plugins.
+      - Remove speexresample (it's in gst-plugins-base as audioresample now).
+
+ -- Sebastian Dröge <slomo@debian.org>  Thu, 08 Jan 2009 07:59:36 +0100
+
+gst-plugins-bad0.10 (0.10.9-1) experimental; urgency=low
+
+  * New upstream release, 'Matters Of Fact'.
+
+ -- Sebastian Dröge <slomo@debian.org>  Sat, 25 Oct 2008 09:39:49 +0200
+
+gst-plugins-bad0.10 (0.10.8.4-1) experimental; urgency=low
+
+  * New upstream pre-release.
+
+ -- Sebastian Dröge <slomo@debian.org>  Wed, 22 Oct 2008 11:20:04 +0200
+
+gst-plugins-bad0.10 (0.10.8.3-1) experimental; urgency=low
+
+  * New upstream pre-release:
+    + debian/gstreamer-plugins-bad.install:
+      - Add apexsink plugin.
+
+ -- Sebastian Dröge <slomo@debian.org>  Sat, 18 Oct 2008 10:23:50 +0200
+
+gst-plugins-bad0.10 (0.10.8.2-1) experimental; urgency=low
+
+  * New upstream pre-release:
+    + Some Midi playback fixes (Closes: #489170).
+    + debian/patches/03_resindvd-update.patch:
+      - Dropped, merged upstream.
+    + debian/rules:
+      - Build depend on gstreamer >= 0.10.21.
+    + debian/build-deps.in:
+      - Build depend on openssl.
+      - Build depend on CELT.
+      - Build depend on Jasper2k.
+      - Build depend on TwoLAME.
+    + debian/gstreamer-plugins-bad.install:
+      - Add aiffparse, celt, dccp, jp2k, mpegdemux, mpegtsmux, pcapparse,
+        scaletempo and twolame plugins (Closes: #482970).
+    + debian/control.in:
+      - Conflict with gstreamer0.10-fluendo-mpegdemux and
+        gstreamer0.10-fluendo-mpegmux as the mpegdemux and mpegtsmux plugins
+        from gst-plugins-bad are their successors.
+
+ -- Sebastian Dröge <slomo@debian.org>  Sat, 11 Oct 2008 15:48:19 +0200
+
+gst-plugins-bad0.10 (0.10.8-3) experimental; urgency=low
+
+  * debian/patches/03_resindvd-update.patch:
+    + Update the resindvd plugin from latest CVS to get some important
+      bugfixes.
+
+ -- Sebastian Dröge <slomo@debian.org>  Sat, 11 Oct 2008 12:59:59 +0200
+
+gst-plugins-bad0.10 (0.10.8-2) experimental; urgency=low
+
+  * debian/rules,
+    debian/control.in:
+    + Use the new automatic plugin installation infrastructure.
+  * debian/control.in:
+    + Wrap control fields.
+    + Depend on gstreamer0.10-plugins-base as some plugins need it.
+
+ -- Sebastian Dröge <slomo@debian.org>  Fri, 15 Aug 2008 18:43:04 +0200
+
+gst-plugins-bad0.10 (0.10.8-1) experimental; urgency=low
+
+  * New upstream release, 'Vapour Trails'.
+
+ -- Sebastian Dröge <slomo@debian.org>  Fri, 01 Aug 2008 11:33:33 +0200
+
+gst-plugins-bad0.10 (0.10.7.3-1) experimental; urgency=low
+
+  * New upstream pre-release:
+    + debian/patches/03_resindvd-configure.patch,
+      debian/patches/04_ladspa-linking.patch,
+      debian/patches/05_resindvd-missing-header.patch:
+      - Dropped, merged upstream.
+
+ -- Sebastian Dröge <slomo@debian.org>  Sat, 26 Jul 2008 12:35:24 +0200
+
+gst-plugins-bad0.10 (0.10.7.2-1) experimental; urgency=low
+
+  * New upstream pre-release:
+    + debian/gstreamer-plugins-bad.install:
+      - Remove replaygain and interleave plugins.
+      - Add deinterlace2 plugin.
+    + debian/gstreamer-plugins-bad.install,
+      debian/build-deps.in:
+      - Add resindvd plugin.
+    + debian/rules,
+      debian/build-deps.in:
+      - Update gstreamer and gst-plugins-base build dependency.
+    + debian/patches/02_wildmidi-config.patch,
+      debian/patches/03_rtspsession_rtcp_bye.patch,
+      debian/patches/04_mpeg4videoparse.patch:
+      - Dropped, merged upstream.
+    + Ported to the new libmpcdec API (Closes: #476380).
+    + Fixes playback of certain mms streams (Closes: #467268).
+  * debian/patches/03_resindvd-configure.patch:
+    + Fix configure check for the resindvd plugin.
+  * debian/patches/04_ladspa-linking.patch:
+    + Link ladspa with -ldl to prevent unresolved symbols.
+  * debian/patches/05_resindvd-missing-header.patch:
+    + Add missing header file.
+  * debian/control.in:
+    + Update Standards-Version to 3.8.0, no additional changes needed.
+
+ -- Sebastian Dröge <slomo@debian.org>  Sun, 20 Jul 2008 12:07:37 +0200
+
+gst-plugins-bad0.10 (0.10.7-2) unstable; urgency=low
+
+  * debian/patches/03_rtspsession_rtcp_bye.patch
+    + Added. Send RTCP BYE on EOS (From upstream CVS)
+  * debian/control: Add myself to uploaders
+  * debian/patches/04_mpeg4videoparse.patch
+    + Added. mpeg4videoparse update from CVS
+  * debian/rules: Append extra_plugins entries to debian/control instead of
+    truncating it (Patch from Mike Massonnet) (Closes: #481034)
+
+ -- Sjoerd Simons <sjoerd@debian.org>  Sun, 01 Jun 2008 16:08:37 +0200
+
+gst-plugins-bad0.10 (0.10.7-1) unstable; urgency=low
+
+  * New upstream release, 'House of Cards'.
+
+ -- Sebastian Dröge <slomo@debian.org>  Thu, 24 Apr 2008 07:42:15 +0200
+
+gst-plugins-bad0.10 (0.10.6.4-1) experimental; urgency=low
+
+  * New upstream pre-release.
+
+ -- Sebastian Dröge <slomo@debian.org>  Tue, 22 Apr 2008 10:29:25 +0200
+
+gst-plugins-bad0.10 (0.10.6.3-1) experimental; urgency=low
+
+  * New upstream pre-release:
+    + debian/patches/01_timidity-missing-header.patch:
+      - Dropped, merged upstream.
+
+ -- Sebastian Dröge <slomo@debian.org>  Fri, 18 Apr 2008 10:36:44 +0200
+
+gst-plugins-bad0.10 (0.10.6.2-2) experimental; urgency=low
+
+  * debian/patches/02_no-Werror.patch:
+    + Don't build with -Werror to fix FTBFS on some architectures.
+
+ -- Sebastian Dröge <slomo@debian.org>  Tue, 15 Apr 2008 05:29:54 +0200
+
+gst-plugins-bad0.10 (0.10.6.2-1) experimental; urgency=low
+
+  * New upstream pre-release:
+    + debian/build-deps.in,
+      debian/rules:
+      - Update build dependencies.
+    + debian/rules,
+      debian/gstreamer-plugins-bad.install:
+      - Ship new dc1394, ofa, oss4audio, subenc plugins.
+      - Drop souphttpsrc plugin which moved to gst-plugins-good.
+    + debian/patches/01_wildmidi-build.patch,
+      debian/patches/03_soup-icecast.patch,
+      debian/patches/04_soup-primary-rank.patch,
+      debian/patches/05_soup-no-dav.patch,
+      debian/patches/06_neon-28.patch,
+      debian/patches/10_fix-faad-header-check.patch
+      debian/patches/75_build_docs_without_python_xml.patch,
+      debian/patches/80_unit-tests.patch:
+      - Dropped, merged upstream.
+    + debian/patches/02_wildmidi-config.patch:
+      - Updated for the new version.
+    + debian/patches/01_timidity-missing-header.patch:
+      - Add missing timidity header file.
+
+ -- Sebastian Dröge <slomo@debian.org>  Mon, 14 Apr 2008 12:10:32 +0200
+
+gst-plugins-bad0.10 (0.10.6-7) unstable; urgency=low
+
+  * debian/patches/06_neon-28.patch:
+    + Fix build with neon 0.28.
+  * debian/build-deps.in:
+    + Use neon-gnutls instead of plain neon.
+
+ -- Sebastian Dröge <slomo@debian.org>  Tue, 01 Apr 2008 13:19:03 +0200
+
+gst-plugins-bad0.10 (0.10.6-6) unstable; urgency=low
+
+  * debian/patches/03_soup-icecast.patch:
+    + Set correct caps on the srcpad if we have an icecast server. Fixes
+      glitches/crackling (Closes: #472135).
+  * debian/patches/04_soup-primary-rank.patch:
+    + Give souphttpsrc RANK_PRIMARY so it's used always as HTTP source if
+      available.
+  * debian/patches/05_soup-no-dav.patch:
+    + Don't use soup for dav/davs. This is better handled by GIO and GnomeVFS
+      as they provide authentication.
+
+ -- Sebastian Dröge <slomo@debian.org>  Sat, 22 Mar 2008 19:30:07 +0100
+
+gst-plugins-bad0.10 (0.10.6-5) unstable; urgency=low
+
+  * debian/build-deps.in,
+    debian/gstreamer-plugins-bad.install:
+    + Include the soup HTTP plugin.
+  * debian/build-deps.in:
+    + Drop python-xml build dependency for real now.
+
+ -- Sebastian Dröge <slomo@debian.org>  Tue, 11 Mar 2008 05:31:11 +0100
+
+gst-plugins-bad0.10 (0.10.6-4) unstable; urgency=low
+
+  * debian/patches/75_build_docs_without_python_xml.patch:
+    + Added. Build documentation using xml.dom.minidom instead of pyxml. Patch
+      by Sebastian Dröge.
+  * debian/control: Drop build-depend on python-xml
+  * debian/patches/10_fix-faad-header-check.patch:
+    + Added. Fix faad header check to match the check faad2 does. Fixes
+      playback of various streams.
+
+ -- Sjoerd Simons <sjoerd@debian.org>  Sat, 08 Mar 2008 19:59:00 +0100
+
+gst-plugins-bad0.10 (0.10.6-3) unstable; urgency=low
+
+  * debian/extra,
+    debian/gstreamer-amrwb.install,
+    debian/gstreamer-mpeg2enc.install,
+    debian/README.Debian:
+    + Patch by Fabian Greffrath to add support for an amrwb and mpeg2enc
+      package and making the use of MPEG more conform (Closes: #467439).
+  * debian/build-deps.in,
+    debian/gstreamer-plugins-bad.install:
+    + Add the gmyth plugin.
+
+ -- Sebastian Dröge <slomo@debian.org>  Tue, 26 Feb 2008 08:35:54 +0100
+
+gst-plugins-bad0.10 (0.10.6-2) unstable; urgency=low
+
+  * debian/extra:
+    + Update for new xvid package names in Debian Multimedia and Debian
+      Unofficial Thanks to Fabian Greffrath (Closes: #466861).
+      Also add support for x264 and do some small cleanup.
+  * debian/rules:
+    + SPC is only available on Linux-i386, enable it as such. Fixes
+      FTBFS on kfreebsd-i386.
+  * debian/build-deps.in,
+    debian/patches/01_wildmidi-build.patch,
+    debian/patches/02_wildmidi-config.patch,
+    debian/gstreamer-plugins-bad.install:
+    + Enable the wildmidi plugin and change the config file path to our
+      default (Closes: #346455).
+
+ -- Sebastian Dröge <slomo@debian.org>  Mon, 25 Feb 2008 07:03:11 +0100
+
+gst-plugins-bad0.10 (0.10.6-1) unstable; urgency=low
+
+  * New upstream release, "A Big Deep Breath":
+    + debian/patches/01_linking-fixes.patch:
+      - Dropped, merged upstream.
+  * debian/rules,
+    debian/build-deps.in,
+    debian/gstreamer-plugins-bad.install:
+    + Enable the alsaspdif, libcdaudio, dvb, fbdev and vcd plugins
+      only on Linux architectures to try to fix FTBFS on kfreebsd.
+
+ -- Sebastian Dröge <slomo@debian.org>  Thu, 21 Feb 2008 13:34:46 +0100
+
+gst-plugins-bad0.10 (0.10.5.4-1) experimental; urgency=low
+
+  * New upstream pre-release.
+  * debian/control.in:
+    + Add Replaces for gstreamer0.10-plugins-bad-multiverse (<< 0.10.5-2) to
+      keep the Ubuntu delta lower and don't break Debian installation with
+      some Ubuntu packages.
+  * debian/patches/99_ltmain_as-needed.patch,
+    debian/rules:
+    + Add -Wl,-z,defs -Wl,-O1 -Wl,--as-needed to LDFLAGS to remove some
+      unnecessary dependencies on various packages.
+  * debian/patches/01_linking-fixes.patch:
+    + Link the tta plugin with libm.
+
+ -- Sebastian Dröge <slomo@debian.org>  Tue, 19 Feb 2008 06:55:50 +0100
+
+gst-plugins-bad0.10 (0.10.5.3-1) experimental; urgency=low
+
+  * New upstream pre-release.
+  * debian/build-deps.in:
+    + Build depend on gstreamer0.10-plugins-base for the unit tests.
+  * debian/patches/80_unit-tests.patch:
+    + Disable some elements for the generic/states unit test.
+
+ -- Sebastian Dröge <slomo@debian.org>  Thu, 14 Feb 2008 13:18:33 +0100
+
+gst-plugins-bad0.10 (0.10.5.2-1) experimental; urgency=low
+
+  [ Emilio Pozuelo Monfort ]
+  * debian/rules:
+    - Decide the package name and url depending on the distribution.
+  * debian/build-deps.in:
+    - Build-Depend on lsb-release.
+
+  [ Sebastian Dröge ]
+  * New upstream pre-release:
+    + Fixes FTBFS if built twice in a row (Closes: #424399).
+    + Adds support for VCD playback (Closes: #454599).
+    + Fixes conflict between Fluendo mpeg demuxer and
+      DTS decoder (Closes: #448411).
+    + debian/build-deps.in,
+      debian/control.in:
+      - Update liboil and gstreamer build dependencies.
+      - Add and update a few build dependencies.
+    + debian/gstreamer-plugins-bad.install:
+      - Add dvdspu, festival, flv, mpegtsparse, mpeg4videoparse, rawparse,
+        sdp, selector, speexresample, stereo, fbdev, metadata, vcd plugins. 
+      - Remove equalizer, multifile, spectrum, switch, videoparse, xingheader
+        plugins. These have moved to other places now.
+      - Sort everything alphabetically.
+    + debian/control.in,
+      debian/build-deps.in,
+      debian/rules:
+      - Drop the OpenGL plugin. This will go to a new source package named
+        gst-plugins-gl once we have mesa >= 7.1 somewhere.
+  * debian/rules:
+    + Run the unit test suite but don't fail the build on failures.
+  * debian/control.in:
+    + Update Standards-Version to 3.7.3, no additional changes needed.
+
+ -- Sebastian Dröge <slomo@debian.org>  Sat, 09 Feb 2008 14:04:01 +0100
+
+gst-plugins-bad0.10 (0.10.5-5) unstable; urgency=low
+
+  * debian/rules:
+    + Fix GST_REGISTRY envirnment variable setting (Closes: #452568).
+
+ -- Sebastian Dröge <slomo@debian.org>  Sat, 24 Nov 2007 20:02:13 +0100
+
+gst-plugins-bad0.10 (0.10.5-4) unstable; urgency=low
+
+  * debian/rules:
+      + Set GST_REGISTRY before the dh_gstscancodecs call to save the registry
+        somewhere on buildds without writable home and speed things up a bit.
+  * debian/build-deps.in:
+      + Remove check from build dependencies. This is only an indirect build
+        dependency that is already satisfied by libgstreamer0.10-dev. configure
+        only checks for libgstcheck, not check.
+   * debian/build-deps.in,
+     debian/gstreamer-plugins-bad.install:
+     + Enable the DirectFB video sink plugin.
+
+ -- Sebastian Dröge <slomo@debian.org>  Wed, 19 Sep 2007 15:44:46 +0200
+
+gst-plugins-bad0.10 (0.10.5-3) unstable; urgency=low
+
+  * debian/control.in,
+    debian/rules,
+    debian/gstreamer-plugins-bad.install:
+    + Move docs, SDL and GL to a separate package.
+    + Create a package with debug symbols.
+  * debian/rules:
+    + Call dh_gstscancodecs.
+  * debian/control:
+    + Replace Source-Version with binary:Version to make lintian happy.
+
+ -- Sebastian Dröge <slomo@debian.org>  Thu, 30 Aug 2007 20:22:35 +0200
+
+gst-plugins-bad0.10 (0.10.5-2) unstable; urgency=low
+
+  * debian/build-deps.in:
+    + Drop swfdec build dependency. The plugin doesn't work with 0.5.
+
+ -- Sebastian Dröge <slomo@debian.org>  Thu, 30 Aug 2007 10:10:49 +0200
+
+gst-plugins-bad0.10 (0.10.5-1) unstable; urgency=medium
+
+  * Change Maintainer to pkg-gstreamer, add myself to Uploaders and use
+    "standard" GStreamer packaging, used for all the other plugin packages too.
+  * New upstream version (Closes: #429727):
+    + Fixes remaining use of deprecated function (Closes: #436353).
+    + Somewhat fixes FTBFS caused by deprecation warnings by not compiling
+      with -Werror (Closes: #424559).
+  * debian/build-deps.in:
+    + Build depend on new enough GStreamer (Closes: #433495).
+  * debian/gstreamer-plugins-bad.install,
+    debian/build-deps.in:
+    + Ship the GSM plugin (Closes: #429594).
+    + Ship the dtsdec plugins (Closes: #428742).
+    + Ship the ladspa plugin (Closes: #429527).
+  * debian/rules,
+    debian/gstreamer-plugins-bad.install,
+    debian/build-deps.in:
+    + Ship the SPC plugin on i386 (Closes: #430045).
+  * debian/control.in:
+    + Fix typo in package description (Closes: #436664).
+  * debian/gstreamer-plugins-bad.install:
+    + Don't ship the libgstapp library as it still randomly changes
+      API and ABI until it is moved to gst-plugins-good at some point.
+    + Don't ship completely unneeded .a files for the plugins.
+  * debian/changelog:
+    + Urgency medium because of RC bugfixes.
+
+ -- Sebastian Dröge <slomo@debian.org>  Sun, 19 Aug 2007 14:41:31 +0200
+
+gst-plugins-bad0.10 (0.10.4+cvs2007.04.30) unstable; urgency=low
+
+  * Get a CVS version which contains the relevant FAAD patches.
+  * Enable FAAD support. (Closes: #399438, #399042, #327163, #403093)
+
+ -- Joe Wreschnig <piman@debian.org>  Mon, 30 Apr 2007 21:42:39 -0700
+
+gst-plugins-bad0.10 (0.10.4-2) unstable; urgency=low
+
+  * Disable spcdec for now, as it's i386-only. (Closes: #420444)
+
+ -- Joe Wreschnig <piman@debian.org>  Sun, 22 Apr 2007 11:58:24 -0700
+
+gst-plugins-bad0.10 (0.10.4-1) unstable; urgency=low
+
+  * New upstream version. (Closes: #419904)
+  * Remove patch added in 0.10.3-3.1, as it was merged upstream.
+    Thanks to Loic Minier for the fast response and NMU. (Closes: #408213)
+  * debian/control: Explain why the modules are "bad". (Closes: #387970)
+  * Enable sdlvideosink/sdlaudiosink. (Closes: #404493)
+  * Enable jacksink. (Closes: #407679)
+  * Enable dvbsrc. (Closes: #418381)
+  * Enable spcdec.
+
+ -- Joe Wreschnig <piman@debian.org>  Sat, 21 Apr 2007 17:11:17 -0700
+
+gst-plugins-bad0.10 (0.10.3-3.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * SECURITY: buffer overflow.
+  * Fix potential buffer overflow in gst/modplug/libmodplug/sndfile.cpp;
+    CVE-2006-4192; GNOME #385788; from upstream CVS / next upstream release;
+    closes: #407956.
+
+ -- Loic Minier <lool@dooz.org>  Mon, 22 Jan 2007 16:05:35 +0100
+
+gst-plugins-bad0.10 (0.10.3-3) unstable; urgency=low
+
+  * debian/rules:
+    * Enable v4l2src. (Closes: #379867)
+    * Force disabling of MusicBrainz.
+    * Allow FAAD=enable environment variable to override build options.
+  * README.Debian: Explain how to get FAAD support.
+
+ -- Joe Wreschnig <piman@debian.org>  Mon, 31 Jul 2006 16:38:12 -0500
+
+gst-plugins-bad0.10 (0.10.3-2) unstable; urgency=low
+
+  * Build-Depend on zlib1g-dev. (Closes: #379752)
+
+ -- Joe Wreschnig <piman@debian.org>  Tue, 25 Jul 2006 11:46:05 -0500
+
+gst-plugins-bad0.10 (0.10.3-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/rules: Disable experimental and libneon modules.
+  * debian/control: Build-Dep on liboil3-dev.
+  * debian/copyright: Add copyrights for new modules.
+
+ -- Joe Wreschnig <piman@debian.org>  Thu, 22 Jun 2006 18:46:04 -0500
+
+gst-plugins-bad0.10 (0.10.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Build-Depend on python for building docs.
+
+ -- Joe Wreschnig <piman@debian.org>  Tue, 21 Feb 2006 16:04:33 -0600
+
+gst-plugins-bad0.10 (0.10.0+cvs20060214-2) unstable; urgency=low
+
+  * Update debian/copyright.
+  * Explicitly disable more modules.
+  * Build and include documentation.
+
+ -- Joe Wreschnig <piman@debian.org>  Wed, 15 Feb 2006 12:24:20 -0600
+
+gst-plugins-bad0.10 (0.10.0+cvs20060214-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Joe Wreschnig <piman@debian.org>  Tue, 14 Feb 2006 13:22:33 -0600
+
--- gst-plugins-bad0.10-0.10.11.orig/debian/control
+++ gst-plugins-bad0.10-0.10.11/debian/control
@@ -0,0 +1,148 @@
+Source: gst-plugins-bad0.10
+Section: libs
+Priority: extra
+Maintainer: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com>
+XSBC-Original-Maintainer: Maintainers of GStreamer packages <pkg-gstreamer-maintainers@lists.alioth.debian.org>
+Uploaders: Sebastian Dröge <slomo@debian.org>,
+           Sjoerd Simons <sjoerd@debian.org>
+Build-Depends: autotools-dev,
+               cdbs (>= 0.4.32),
+               debhelper (>= 5),
+               libasound2-dev (>= 0.9.1) [alpha amd64 arm armeb armel avr32 hppa i386 i686 ia64 lpia m32r m68k mips mipsel powerpc ppc64 s390 s390x sh3 sh3eb sh4 sh4eb sparc],
+               libcdaudio-dev [alpha amd64 arm armeb armel avr32 hppa i386 i686 ia64 lpia m32r m68k mips mipsel powerpc ppc64 s390 s390x sh3 sh3eb sh4 sh4eb sparc],
+               libdc1394-22-dev (>= 2.0.0) [alpha amd64 arm armeb armel avr32 hppa i386 i686 ia64 lpia m32r m68k mips mipsel powerpc ppc64 s390 s390x sh3 sh3eb sh4 sh4eb sparc],
+               libgstreamer0.10-dev (>= 0.10.22),
+               gstreamer0.10-plugins-base,
+               gstreamer-tools (>= 0.10.14),
+               gtk-doc-tools,
+               ladspa-sdk,
+               libass-dev (>= 0.9.4),
+               libbz2-dev,
+               libcelt-dev (>= 0.4.0),
+               libdca-dev,
+               libdirectfb-dev (>= 0.9.25),
+               libdvdnav-dev (>= 0.1.7),
+               libexempi-dev,
+               libexif-dev (>= 0.6.16),
+               libfaad-dev,
+               libglade2-dev (>= 2.6.0),
+               libgmyth-dev (>= 0.4),
+               libgsm1-dev,
+               libgstreamer-plugins-base0.10-dev (>= 0.10.22),
+               libgtk2.0-dev (>= 2.2.0),
+               libiptcdata0-dev (>= 1.0.2),
+               libjack0.100.0-dev (>= 0.99.10),
+               libjasper-dev,
+               liblrdf0-dev,
+               libmms-dev (>= 0.4),
+               libmodplug-dev,
+               libmpcdec-dev,
+               libmusicbrainz4-dev (>= 2.1.0),
+               libneon27-gnutls-dev (>= 0.26.0),
+               libofa0-dev (>= 0.9.3),
+               liboil0.3-dev (>= 0.3.8),
+               libopenspc-dev [i386],
+               libsdl1.2-dev,
+               libsndfile1-dev (>= 1.0.16),
+               libsoundtouch1-dev,
+               libssl-dev,
+               libwildmidi-dev,
+               libx11-dev,
+               lsb-release,
+               pkg-config (>= 0.11.0),
+               type-handling (>= 0.2.14)
+Standards-Version: 3.8.0
+
+Package: gstreamer0.10-plugins-bad-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Replaces: gstreamer0.10-plugins-bad (<< 0.10.5-3)
+Description: GStreamer documentation for plugins from the "bad" set
+ GStreamer is a streaming media framework, based on graphs of filters
+ which operate on media data.  Applications using this library can do
+ anything from real-time sound processing to playing videos, and just
+ about anything else media-related.  Its plugin-based architecture means
+ that new data types or processing capabilities can be added simply by
+ installing new plug-ins.
+ .
+ GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par compared
+ to the rest. They might be close to being good quality, but they're missing
+ something - be it a good code review, some documentation, a set of tests, a
+ real live maintainer, or some actual wide use.
+ .
+ This package contains the documentation for plugins from the "bad" set.
+ 
+Package: gstreamer0.10-plugins-bad
+Architecture: any
+Section: libs
+Depends: ${misc:Depends},
+         ${shlibs:Depends},
+         gstreamer0.10-plugins-base	 
+Replaces: gstreamer0.10-plugins-bad-multiverse (<< 0.10.5-2),
+          gstreamer0.10-plugins-farsight
+Conflicts: gstreamer0.10-fluendo-mpegdemux,
+           gstreamer0.10-fluendo-mpegmux
+XB-GStreamer-Version: ${gstreamer:Version}
+XB-GStreamer-Elements: ${gstreamer:Elements}
+XB-GStreamer-URI-Sources: ${gstreamer:URISources}
+XB-GStreamer-URI-Sinks: ${gstreamer:URISinks}
+XB-GStreamer-Encoders: ${gstreamer:Encoders}
+XB-GStreamer-Decoders: ${gstreamer:Decoders}
+Provides: ${gstreamer:Provides}
+Description: GStreamer plugins from the "bad" set
+ GStreamer is a streaming media framework, based on graphs of filters
+ which operate on media data.  Applications using this library can do
+ anything from real-time sound processing to playing videos, and just
+ about anything else media-related.  Its plugin-based architecture means
+ that new data types or processing capabilities can be added simply by
+ installing new plug-ins.
+ .
+ GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par compared
+ to the rest. They might be close to being good quality, but they're missing
+ something - be it a good code review, some documentation, a set of tests, a
+ real live maintainer, or some actual wide use.
+
+Package: gstreamer0.10-sdl
+Architecture: any
+Section: libs
+Depends: ${misc:Depends},
+         ${shlibs:Depends}
+Replaces: gstreamer0.10-plugins-bad (<< 0.10.5-3)
+XB-GStreamer-Version: ${gstreamer:Version}
+XB-GStreamer-Elements: ${gstreamer:Elements}
+XB-GStreamer-URI-Sources: ${gstreamer:URISources}
+XB-GStreamer-URI-Sinks: ${gstreamer:URISinks}
+XB-GStreamer-Encoders: ${gstreamer:Encoders}
+XB-GStreamer-Decoders: ${gstreamer:Decoders}
+Provides: ${gstreamer:Provides}
+Description: GStreamer plugin for SDL output
+ GStreamer is a streaming media framework, based on graphs of filters
+ which operate on media data.  Applications using this library can do
+ anything from real-time sound processing to playing videos, and just
+ about anything else media-related.  Its plugin-based architecture means
+ that new data types or processing capabilities can be added simply by
+ installing new plug-ins.
+ .
+ This package contains the GStreamer plugin for SDL, the Simple
+ DirectMedia Layer.
+
+Package: gstreamer0.10-plugins-bad-dbg
+Architecture: any
+Section: libdevel
+Priority: extra
+Depends: gstreamer0.10-plugins-bad (= ${binary:Version}),
+         gstreamer0.10-sdl (= ${binary:Version})
+Description: GStreamer plugins from the "bad" set
+ GStreamer is a streaming media framework, based on graphs of filters
+ which operate on media data.  Applications using this library can do
+ anything from real-time sound processing to playing videos, and just
+ about anything else media-related.  Its plugin-based architecture means
+ that new data types or processing capabilities can be added simply by
+ installing new plug-ins.
+ .
+ This package contains unstripped shared libraries. It is provided primarily
+ to provide a backtrace with names in a debugger, this makes it somewhat
+ easier to interpret core dumps. The libraries are installed in
+ /usr/lib/debug and are automatically used by gdb.
+
--- gst-plugins-bad0.10-0.10.11.orig/debian/watch
+++ gst-plugins-bad0.10-0.10.11/debian/watch
@@ -0,0 +1,2 @@
+version=2
+http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-(0\.10\..*)\.tar\.gz
--- gst-plugins-bad0.10-0.10.11.orig/debian/gstreamer-sdl.install
+++ gst-plugins-bad0.10-0.10.11/debian/gstreamer-sdl.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstsdl.so
--- gst-plugins-bad0.10-0.10.11.orig/debian/compat
+++ gst-plugins-bad0.10-0.10.11/debian/compat
@@ -0,0 +1 @@
+5
--- gst-plugins-bad0.10-0.10.11.orig/debian/gstreamer-mpeg2enc.install
+++ gst-plugins-bad0.10-0.10.11/debian/gstreamer-mpeg2enc.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstmpeg2enc.so
--- gst-plugins-bad0.10-0.10.11.orig/debian/control.in
+++ gst-plugins-bad0.10-0.10.11/debian/control.in
@@ -0,0 +1,103 @@
+Source: gst-plugins-bad@GST_ABI@
+Section: libs
+Priority: extra
+Maintainer: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com>
+XSBC-Original-Maintainer: Maintainers of GStreamer packages <pkg-gstreamer-maintainers@lists.alioth.debian.org>
+Uploaders: Sebastian Dröge <slomo@debian.org>,
+           Sjoerd Simons <sjoerd@debian.org>
+Build-Depends: BUILDDEPS
+Standards-Version: 3.8.0
+
+Package: @GST_PKGNAME@-plugins-bad-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Replaces: gstreamer0.10-plugins-bad (<< 0.10.5-3)
+Description: GStreamer documentation for plugins from the "bad" set
+ GStreamer is a streaming media framework, based on graphs of filters
+ which operate on media data.  Applications using this library can do
+ anything from real-time sound processing to playing videos, and just
+ about anything else media-related.  Its plugin-based architecture means
+ that new data types or processing capabilities can be added simply by
+ installing new plug-ins.
+ .
+ GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par compared
+ to the rest. They might be close to being good quality, but they're missing
+ something - be it a good code review, some documentation, a set of tests, a
+ real live maintainer, or some actual wide use.
+ .
+ This package contains the documentation for plugins from the "bad" set.
+ 
+Package: @GST_PKGNAME@-plugins-bad
+Architecture: any
+Section: libs
+Depends: ${misc:Depends},
+         ${shlibs:Depends},
+         gstreamer0.10-plugins-base	 
+Replaces: gstreamer0.10-plugins-bad-multiverse (<< 0.10.5-2),
+          gstreamer0.10-plugins-farsight
+Conflicts: gstreamer0.10-fluendo-mpegdemux,
+           gstreamer0.10-fluendo-mpegmux
+XB-GStreamer-Version: ${gstreamer:Version}
+XB-GStreamer-Elements: ${gstreamer:Elements}
+XB-GStreamer-URI-Sources: ${gstreamer:URISources}
+XB-GStreamer-URI-Sinks: ${gstreamer:URISinks}
+XB-GStreamer-Encoders: ${gstreamer:Encoders}
+XB-GStreamer-Decoders: ${gstreamer:Decoders}
+Provides: ${gstreamer:Provides}
+Description: GStreamer plugins from the "bad" set
+ GStreamer is a streaming media framework, based on graphs of filters
+ which operate on media data.  Applications using this library can do
+ anything from real-time sound processing to playing videos, and just
+ about anything else media-related.  Its plugin-based architecture means
+ that new data types or processing capabilities can be added simply by
+ installing new plug-ins.
+ .
+ GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par compared
+ to the rest. They might be close to being good quality, but they're missing
+ something - be it a good code review, some documentation, a set of tests, a
+ real live maintainer, or some actual wide use.
+
+Package: @GST_PKGNAME@-sdl
+Architecture: any
+Section: libs
+Depends: ${misc:Depends},
+         ${shlibs:Depends}
+Replaces: gstreamer0.10-plugins-bad (<< 0.10.5-3)
+XB-GStreamer-Version: ${gstreamer:Version}
+XB-GStreamer-Elements: ${gstreamer:Elements}
+XB-GStreamer-URI-Sources: ${gstreamer:URISources}
+XB-GStreamer-URI-Sinks: ${gstreamer:URISinks}
+XB-GStreamer-Encoders: ${gstreamer:Encoders}
+XB-GStreamer-Decoders: ${gstreamer:Decoders}
+Provides: ${gstreamer:Provides}
+Description: GStreamer plugin for SDL output
+ GStreamer is a streaming media framework, based on graphs of filters
+ which operate on media data.  Applications using this library can do
+ anything from real-time sound processing to playing videos, and just
+ about anything else media-related.  Its plugin-based architecture means
+ that new data types or processing capabilities can be added simply by
+ installing new plug-ins.
+ .
+ This package contains the GStreamer plugin for SDL, the Simple
+ DirectMedia Layer.
+
+Package: @GST_PKGNAME@-plugins-bad-dbg
+Architecture: any
+Section: libdevel
+Priority: extra
+Depends: @GST_PKGNAME@-plugins-bad (= ${binary:Version}),
+         @GST_PKGNAME@-sdl (= ${binary:Version})
+Description: GStreamer plugins from the "bad" set
+ GStreamer is a streaming media framework, based on graphs of filters
+ which operate on media data.  Applications using this library can do
+ anything from real-time sound processing to playing videos, and just
+ about anything else media-related.  Its plugin-based architecture means
+ that new data types or processing capabilities can be added simply by
+ installing new plug-ins.
+ .
+ This package contains unstripped shared libraries. It is provided primarily
+ to provide a backtrace with names in a debugger, this makes it somewhat
+ easier to interpret core dumps. The libraries are installed in
+ /usr/lib/debug and are automatically used by gdb.
+
--- gst-plugins-bad0.10-0.10.11.orig/debian/gstreamer-x264.install
+++ gst-plugins-bad0.10-0.10.11/debian/gstreamer-x264.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstx264.so
--- gst-plugins-bad0.10-0.10.11.orig/debian/maint
+++ gst-plugins-bad0.10-0.10.11/debian/maint
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+
+missing:
+	make -f debian/rules list-missing
+
+missing-so:
+	make -f debian/rules list-missing | grep so$$ | cut -c 2-
+
+missing-libs:
+	for i in `make -f debian/rules list-missing | grep so$$ | cut -c 2-`; do echo "=== $$i ==="; ldd debian/tmp/$$i; echo; done
+
+.PHONY: missing missing-so missing-libs
+
--- gst-plugins-bad0.10-0.10.11.orig/debian/copyright
+++ gst-plugins-bad0.10-0.10.11/debian/copyright
@@ -0,0 +1,31 @@
+This package was debianized by David I. Lehn <dlehn@debian.org> on
+Mon, 15 Jan 2001 18:21:37 -0500.
+
+It was downloaded from http://gstreamer.net/
+
+Upstream Authors:
+
+    Erik Walthinsen <omegahacker@users.sourceforge.net>
+    Wim Taymans <wim.taymans@chello.be>
+    Richard Boulton <richard@tartarus.org>
+    and many more...
+
+Copyright:
+
+    This package is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2 of the License, or (at your option) any later version.
+
+    This package is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this package; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian GNU/Linux systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
+
--- gst-plugins-bad0.10-0.10.11.orig/debian/gstreamer-plugins-bad.install
+++ gst-plugins-bad0.10-0.10.11/debian/gstreamer-plugins-bad.install
@@ -0,0 +1,71 @@
+@alsa_spdif@
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstaacparse.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstaiffparse.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstamrparse.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstapexsink.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstassrender.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstbayer.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstbz2.so
+@cdaudio@
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstcdxaparse.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstcelt.so
+@dc1394@
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstdccp.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstdeinterlace.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstdeinterlace2.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstdfbvideosink.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstdtsdec.so
+@dvb@
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstdvdspu.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstfaad.so
+@fbdev@
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstfestival.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstflv.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstfreeze.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstmythtvsrc.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstgsm.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgsth264parse.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstjack.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstjp2k.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstladspa.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstlegacyresample.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstmetadata.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstmms.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstmodplug.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstmpeg4videoparse.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstmpegdemux.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstmpegtsmux.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstmpegvideoparse.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstmusepack.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstmve.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstmxf.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstneonhttpsrc.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstnsf.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstnuvdemux.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstofa.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstoss4audio.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstqtmux.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstpcapparse.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstrawparse.so
+@real@
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstrfbsrc.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstscaletempoplugin.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstsdpelem.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstselector.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstsiren.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstsndfile.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstsoundtouch.so
+@spc@
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstspeed.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgststereo.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstsubenc.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgsttrm.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgsttta.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstvideosignal.so
+@vcd@
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstvmnc.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstwildmidi.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstxdgmime.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgsty4menc.so
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libresindvd.so
+debian/tmp/usr/share/locale
--- gst-plugins-bad0.10-0.10.11.orig/debian/README.Debian
+++ gst-plugins-bad0.10-0.10.11/debian/README.Debian
@@ -0,0 +1,87 @@
+Gstreamer for Debian
+====================
+This package contains the GStreamer plugin distribution.
+
+More information can be found at http://gstreamer.net/
+
+As of GStreamer plugins version 0.8.0 all packages are versioned and
+parallel installable with other releases with other major.minor
+versions.  For example, 0.8.x series is versioned as 0.8 and parallel
+installable with both unversioned 0.6.x series and future 0.9.x and
+beyond.  The version part is represented as VER below.
+
+GStreamer plugins are split into a number of packages:
+
+plugins without external dependencies:
+
+   gstreamerVER-plugins-bad     many independent plugins
+
+documentation:
+
+   gstreamerVER-plugins-bad-doc		html documentation
+
+
+Notes
+=====
+
+ChangeLog
+---------
+
+The upstream ChangeLog is not included in all the plugin packages due to its
+large size.  Please see upstream sources if you are interested in detailed
+source changes.
+
+Unofficial plugin packages
+--------------------------
+
+Various plugins in the upstream source are not yet packaged or not officially
+supported.  This is most likely due to:
+
+  * upstream considers them too unstable
+  * libraries they depend on are not are yet in Debian or are poorly supported
+
+To build additional unofficial plugin packages:
+
+  * Get the source and Debian diff (for example, "apt-get source gst-plugins")
+  * Add new package name to the EXTRA_PLUGINS variable in debian/rules
+  * Add appropriate dependency and control info to debian/extra
+  * Add a .install file for the package
+  * Rebuild
+
+Currently available untested and unsupported info has been added for:
+  * gstreamer-amrwb
+  * gstreamer-faac
+  * gstreamer-mpeg2enc
+  * gstreamer-x264
+  * gstreamer-xvid
+
+mp3 encoding plugins are NOT officially packaged.  Specifically, the LAME
+plugin is NOT packaged due to Debian not including the LAME libraries.
+Please see the following links for more information:
+
+  http://www.debian.org/devel/wnpp/unable-to-package
+  http://lists.debian.org/debian-devel-0006/msg01213.html
+  http://www.mp3dev.org/
+
+Ogg Vorbis provides a good alternative to mp3s.  Try the
+gstreamer-vorbis package.  For more information:
+
+  http://www.vorbis.com/
+
+
+External tools support
+----------------------
+
+Your favorite codec isn't wrapped as a plugin?  External programs can be
+used to process streams.  Take a look at "pipefilter" element or try
+something like this (untested):
+
+  $ mkfifo fifo
+  $ gst-launch myaudiosrc ! filesink location=fifo &
+  $ cat fifo | my_encoder > output_file
+
+
+David I. Lehn <dlehn@debian.org>  Tue, 23 Mar 2004 04:38:37 -0500
+
+update:
+Sebastien Bacher <seb128@debian.org>  Wed, 14 Dec 2005 17:00:21 +0100
--- gst-plugins-bad0.10-0.10.11.orig/debian/HACKING.Debian
+++ gst-plugins-bad0.10-0.10.11/debian/HACKING.Debian
@@ -0,0 +1,100 @@
+Hacking GStreamer for Debian
+============================
+
+An addition to the README.Debian that has Debian package hacking notes.
+
+Everything should now be versioned.
+
+- To update dependencies edit debian/build-deps.in
+
+- To rebuild package files from .in files:
+
+  debian/rules maint
+
+- After a version update to check for missing files run:
+
+  debian/maint missing
+  debian/maint missing-libs
+  debian/maint missing-so
+
+- To update package files edit gstreamer-foo then rebuild package files.  This
+  will generate the gstreamerX.Y-foo file.  Also update debian/rules and
+  debian/control.in as needed.
+
+- The packaging tries to stay close of upstream choice. gstreamerX.Y-misc has
+  most of the files, extra packages are made for the sinks and by group of 
+  depends (gnome, x, ...)
+
+- Provide gstreamerX.Y-videosink and gstreamerX.Y-audiosink as needed.
+
+- All interfaces and generic libraries go in libgstreamer-plugins, libraries
+  with external dependencies have their own package such as libgstreamer-gconf.
+
+- Applications go in gstreamerX.Y-plugins-base-apps
+
+
+File listing
+------------
+
+build-deps:
+  - generated from "build-deps.in" abd "extra deps" in "rules
+    debian/build-deps:":
+    * "build-deps.in" lists build-depends for Debian main packages
+    * "extra deps" is a shell script outputting additional build-depends
+      if you are building additional plugins
+  - serves generation with "control.in" and "mk.control" of "control" in
+    "rules debian/control::"
+build-deps.in:
+  - lists build-depends for Debian main packages
+  - serves generation with "extra deps" of "build-deps" in "rules
+    debian/build-deps:"
+changelog: handled classically
+compat: handled classically
+control:
+  - generated for "rules maint"
+  - generated from "control.in" and "build-deps" in "rules debian/control::":
+    * "build-deps" lists build-depends to be inserted in "control
+      Build-Depends:"
+    * "control.in" serves of template for package descriptions of Debian main
+      packages and makes use of special stanzas enclosed in "@" such as
+      "@GST_ABI" which are replaced via sed in "rules debian/control::"
+    * "extra deps" is a shell script outputting additional binary packages
+      if you are building additional plugins
+control.in:
+  - serves generation of "control" in "rules debian/control::" via "mk.control"
+    called in "rules debian/control::"
+  - template for package descriptions of Debian main packages and makes use of
+    special stanzas enclosed in "@" such as "@GST_ABI" which are replaced via
+    sed in "rules debian/control::"
+copyright: handled classically
+extra:
+  - serves the generation of build-deps of additional packages not in Debian
+    main in "rules debian/build-deps:"
+  - serves the generation of additional binary packages if you are building
+    additional plugins in "rules debian/control::"
+gstreamer-$plugin.install:
+  - serves the generation of $gst_pkgname-$plugin.install (for example
+    gstreamer-alsa.install serves the generation of gstreamerX.Y-alsa.install) in
+    "rules pre-build::" via dynamic "@"-enclosed variables replacement
+  - some plugins are handled specially and some special variables are available
+gstreamer-plugins-base-apps.install: this isn't really a plugin, but the
+                                    gstreamerX.Y-plugins-base-apps package
+gstreamer-plugins-base-apps.manpages: man pages for the gstreamerX.Y-plugins-base-apps
+                                package
+HACKING.Debian: this file
+libgstreamer-plugins-base-dev.install libgstreamer-plugins-base.install: handled similarly has gstreamerX.Y-plugins-base-apps
+maint: makefile wrapping some targets of "rules" with some sh filtering
+mk.control:
+  - Perl script serving the generation of "control" which reads "build-deps"
+    and "control.in", and replaces the "BUILDDEPS" stanza with the build-deps
+patches: handled classically
+README.Debian: handled classically
+rules: handled classically, with special targets "maint:", and
+       "debian/build-deps:"
+watch: handled classically
+
+This file is the initial work of:
+David I. Lehn <dlehn@debian.org>  Tue, 13 Apr 2004 21:28:55 -0400
+and had some additions by:
+Loic Minier <lool@dooz.org>  Sun, 19 Jun 2005 19:04:58 +0200
+Sebastien Bacher <seb128@debian.org>  Wed, 14 Dec 2005 17:00:21 +0100
--- gst-plugins-bad0.10-0.10.11.orig/debian/build-deps.in
+++ gst-plugins-bad0.10-0.10.11/debian/build-deps.in
@@ -0,0 +1,44 @@
+@GST_LIB_DEV_DEP@
+@GST_EXTRA_BUILD_DEPENDS@
+libgstreamer-plugins-base0.10-dev (>= 0.10.22)
+gstreamer-tools (>= 0.10.14)
+autotools-dev
+cdbs (>= 0.4.32)
+type-handling (>= 0.2.14)
+debhelper (>= 5)
+pkg-config (>= 0.11.0)
+gtk-doc-tools
+liboil0.3-dev (>= 0.3.8)
+libbz2-dev
+libdca-dev
+libgsm1-dev
+libmms-dev (>= 0.4)
+libmpcdec-dev
+libsdl1.2-dev
+libsoundtouch1-dev
+libneon27-gnutls-dev (>= 0.26.0)
+libmusicbrainz4-dev (>= 2.1.0)
+libgtk2.0-dev (>= 2.2.0)
+libjack0.100.0-dev (>= 0.99.10)
+ladspa-sdk
+libsndfile1-dev (>= 1.0.16)
+libfaad-dev
+libopenspc-dev [i386]
+libdirectfb-dev (>= 0.9.25)
+lsb-release
+libglade2-dev (>= 2.6.0)
+libexif-dev (>= 0.6.16)
+libexempi-dev
+libiptcdata0-dev (>= 1.0.2)
+libwildmidi-dev
+libgmyth-dev (>= 0.4)
+gstreamer0.10-plugins-base
+libofa0-dev (>= 0.9.3)
+libdvdnav-dev (>= 0.1.7)
+libssl-dev
+libcelt-dev (>= 0.4.0)
+libjasper-dev
+libx11-dev
+libass-dev (>= 0.9.4)
+libmodplug-dev
+liblrdf0-dev
--- gst-plugins-bad0.10-0.10.11.orig/debian/gstreamer-xvid.install
+++ gst-plugins-bad0.10-0.10.11/debian/gstreamer-xvid.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstxvid.so
--- gst-plugins-bad0.10-0.10.11.orig/debian/gstreamer-amrwb.install
+++ gst-plugins-bad0.10-0.10.11/debian/gstreamer-amrwb.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstamrwb.so
--- gst-plugins-bad0.10-0.10.11.orig/debian/extra
+++ gst-plugins-bad0.10-0.10.11/debian/extra
@@ -0,0 +1,146 @@
+#!/bin/sh
+
+if [ $# -lt 2 ]; then
+   echo "usage: $1 deps|control plugin"
+   exit 1
+fi
+
+case $1 in
+  deps)
+    case $2 in
+      amrwb)
+        echo "libamrwb-dev | amrwb-dev"
+        ;;
+      faac)
+        echo "libfaac-dev"
+        ;;
+      mpeg2enc)
+        echo "libmjpegtools-dev | mjpegtools-dev"
+        ;;
+      x264)
+        echo "libx264-dev"
+        ;;
+      xvid)
+        echo "libxvidcore-dev | libxvidcore4-dev"
+        ;;
+      *)
+        echo "ERROR invalid plugin: add your plugin to debian/extra"
+        exit 1
+        ;;
+    esac ;;
+
+  control)
+    case $2 in
+      amrwb)
+cat << EOF
+Package: @GST_PKGNAME@-amrwb
+Architecture: any
+Section: libs
+Depends: \${shlibs:Depends}, @GST_LIB@
+XB-GStreamer-Version: \${gstreamer:Version}
+XB-GStreamer-Elements: \${gstreamer:Elements}
+XB-GStreamer-URI-Sources: \${gstreamer:URISources}
+XB-GStreamer-URI-Sinks: \${gstreamer:URISinks}
+XB-GStreamer-Encoders: \${gstreamer:Encoders}
+XB-GStreamer-Decoders: \${gstreamer:Decoders}
+Provides: \${gstreamer:Provides}
+Description: amrwb plugin for GStreamer
+ This GStreamer plugin uses amrwb to encode audio stream into an Adaptive
+ Multi-Rate - Wideband (AMR-WB) speech codec compressed audio stream.
+ .
+  amrwb Homepage: http://www.penguin.cz/~utx/amr
+
+EOF
+;;
+      faac)
+cat << EOF
+Package: @GST_PKGNAME@-faac
+Architecture: any
+Section: libs
+Depends: \${shlibs:Depends}, @GST_LIB@
+XB-GStreamer-Version: \${gstreamer:Version}
+XB-GStreamer-Elements: \${gstreamer:Elements}
+XB-GStreamer-URI-Sources: \${gstreamer:URISources}
+XB-GStreamer-URI-Sinks: \${gstreamer:URISinks}
+XB-GStreamer-Encoders: \${gstreamer:Encoders}
+XB-GStreamer-Decoders: \${gstreamer:Decoders}
+Provides: \${gstreamer:Provides}
+Description: FAAC plugin for GStreamer
+ This GStreamer plugin uses FAAC to encode audio stream into a AAC
+ compressed audio stream.  This is commonly known as the "mp4" format.
+ .
+  FAAC Homepage: http://www.audiocoding.com/
+
+EOF
+;;
+      mpeg2enc)
+cat << EOF
+Package: @GST_PKGNAME@-mpeg2enc
+Architecture: any
+Section: libs
+Depends: \${shlibs:Depends}, @GST_LIB@
+XB-GStreamer-Version: \${gstreamer:Version}
+XB-GStreamer-Elements: \${gstreamer:Elements}
+XB-GStreamer-URI-Sources: \${gstreamer:URISources}
+XB-GStreamer-URI-Sinks: \${gstreamer:URISinks}
+XB-GStreamer-Encoders: \${gstreamer:Encoders}
+XB-GStreamer-Decoders: \${gstreamer:Decoders}
+Provides: \${gstreamer:Provides}
+Description: MJPEG Tools plugin for GStreamer
+ This GStreamer plugin uses MJPEG Tools to encode video stream into a MPEG-2
+ compressed video stream.
+ .
+  MJPEG Tools Homepage: http://mjpeg.sourceforge.net/
+
+EOF
+;;
+      x264)
+cat << EOF
+Package: @GST_PKGNAME@-x264
+Architecture: any
+Section: libs
+Depends: \${shlibs:Depends}, @GST_LIB@
+XB-GStreamer-Version: \${gstreamer:Version}
+XB-GStreamer-Elements: \${gstreamer:Elements}
+XB-GStreamer-URI-Sources: \${gstreamer:URISources}
+XB-GStreamer-URI-Sinks: \${gstreamer:URISinks}
+XB-GStreamer-Encoders: \${gstreamer:Encoders}
+XB-GStreamer-Decoders: \${gstreamer:Decoders}
+Provides: \${gstreamer:Provides}
+Description: x264 plugin for GStreamer
+ This GStreamer plugin uses x264 to encode video stream into a H.264
+ compressed video stream.
+ .
+  x264 Homepage: http://www.videolan.org/developers/x264.html
+
+EOF
+;;
+      xvid)
+cat << EOF
+Package: @GST_PKGNAME@-xvid
+Architecture: any
+Section: libs
+Depends: \${shlibs:Depends}, @GST_LIB@
+XB-GStreamer-Version: \${gstreamer:Version}
+XB-GStreamer-Elements: \${gstreamer:Elements}
+XB-GStreamer-URI-Sources: \${gstreamer:URISources}
+XB-GStreamer-URI-Sinks: \${gstreamer:URISinks}
+XB-GStreamer-Encoders: \${gstreamer:Encoders}
+XB-GStreamer-Decoders: \${gstreamer:Decoders}
+Provides: \${gstreamer:Provides}
+Description: Xvid plugin for GStreamer
+ This GStreamer plugin uses Xvid to encode video stream into a MPEG-4
+ compressed video stream.  This is commonly known as the "divx" format.
+ .
+  Xvid Homepage: http://www.xvid.org/
+
+EOF
+;;
+      *)
+        echo "ERROR invalid plugin: add your plugin to debian/extra"
+        exit 1
+        ;;
+    esac ;;
+  *) echo "ERROR use deps or control" ;;
+esac
+
--- gst-plugins-bad0.10-0.10.11.orig/debian/TODO.Debian
+++ gst-plugins-bad0.10-0.10.11/debian/TODO.Debian
@@ -0,0 +1,14 @@
+
+WIP:
+- document adding a plugin (depends: in control, var in debian/rules...)
+  thoroughly
+  
+- add neon and directfb plugin when the required versions are in unstable
+
+- sort out things of gstreamer0.10-plugins-bad
+
+- fix Depends in gstreamer0.10-plugins with non-linux Depends (alsa...)?
+
+- add *.la to -dev packages
+
+- install changelog and symlinks
--- gst-plugins-bad0.10-0.10.11.orig/debian/rules
+++ gst-plugins-bad0.10-0.10.11/debian/rules
@@ -0,0 +1,196 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/class/gnome.mk
+include /usr/share/cdbs/1/rules/utils.mk
+
+CFLAGS += -Wno-error
+CXXFLAGS += -Wno-error
+LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
+DEB_MAKE_CHECK_TARGET = check || true
+
+# this is for compatibility with dpkg-dev < 1.13.5, see
+# <http://lists.debian.org/debian-devel-announce/2005/06/msg00010.html>
+DEB_HOST_ARCH_CPU := $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU 2>/dev/null)
+DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null)
+
+# Take account of old dpkg-architecture output.
+ifeq ($(DEB_HOST_ARCH_CPU),)
+  DEB_HOST_ARCH_CPU := $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)
+  ifeq ($(DEB_HOST_ARCH_CPU),x86_64)
+    DEB_HOST_ARCH_CPU := amd64
+  endif
+endif
+ifeq ($(DEB_HOST_ARCH_OS),)
+  DEB_HOST_ARCH_OS := $(subst -gnu,,$(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM))
+  ifeq ($(DEB_HOST_ARCH_OS),gnu)
+    DEB_HOST_ARCH_OS := hurd
+  endif
+endif
+# end of compatibility block
+
+# debian package version
+version=$(shell dpkg-parsechangelog | grep ^Version: | cut -d ' ' -f 2)
+# upstream version
+gst_version=$(shell echo $(version) | cut -d '-' -f 1)
+gst_major=0
+gst_minor=10
+gst_abi=$(gst_major).$(gst_minor)
+# gstreamer library package names
+gst_lib=libgstreamer$(gst_abi)-0
+gst_lib_dev=libgstreamer$(gst_abi)-dev
+# what gstreamer version is needed
+gst_lib_dev_dep=$(gst_lib_dev) (>= 0.10.22)
+
+gst_pkgname=gstreamer$(gst_abi)
+gst_deb_abi=$(gst_abi)-0
+
+gst_extra_build_depends =
+gst_extra_build_depends += libasound2-dev (>= 0.9.1) [@linux@]
+gst_extra_build_depends += , libcdaudio-dev [@linux@]
+gst_extra_build_depends += , libdc1394-22-dev (>= 2.0.0) [@linux@]
+
+# The plugins are basically the same.
+# Link special names to a template file.
+# still need "*.install" to be done by hand
+# 
+# EXTRA_PLUGINS: See debian/README.Debian for docs
+EXTRA_PLUGINS +=
+
+PLUGINS += sdl plugins-bad $(EXTRA_PLUGINS)
+ifeq ($(DEB_HOST_ARCH_OS),linux)
+PLUGINS +=
+endif
+VERSIONIZE= \
+	plugins-bad-doc.install \
+
+#debug package
+DEB_DH_STRIP_ARGS := --dbg-package=$(gst_pkgname)-plugins-bad-dbg
+
+# enable the real and spc plugin on x86
+ifeq ($(DEB_HOST_ARCH_CPU), i386)
+real = debian/tmp/usr/lib/gstreamer-$(gst_abi)/libgstreal.so
+ifeq ($(DEB_HOST_ARCH_OS),linux)
+spc = debian/tmp/usr/lib/gstreamer-$(gst_abi)/libgstspc.so
+endif
+endif
+
+ifeq ($(DEB_HOST_ARCH_OS),linux)
+alsa_spdif = debian/tmp/usr/lib/gstreamer-$(gst_abi)/libgstalsaspdif.so
+dvb = debian/tmp/usr/lib/gstreamer-$(gst_abi)/libgstdvb.so
+fbdev = debian/tmp/usr/lib/gstreamer-$(gst_abi)/libgstfbdevsink.so
+vcd = debian/tmp/usr/lib/gstreamer-$(gst_abi)/libgstvcdsrc.so
+cdaudio = debian/tmp/usr/lib/gstreamer-$(gst_abi)/libgstcdaudio.so
+dc1394 = debian/tmp/usr/lib/gstreamer-$(gst_abi)/libgstdc1394.so
+endif
+
+# Let's decide the package name and url depending on the distribution
+DISTRO = "$(shell lsb_release -si)"
+
+GST_PACKAGE_NAME := "GStreamer Bad Plugins (unknown Debian derivative)"
+GST_PACKAGE_ORIGIN="http://packages.qa.debian.org/gst-plugins-bad$(gst_abi)"
+
+ifeq ($(DISTRO),"Debian")
+GST_PACKAGE_NAME := "GStreamer Bad Plugins (Debian)"
+GST_PACKAGE_ORIGIN="http://packages.qa.debian.org/gst-plugins-bad$(gst_abi)"
+endif
+
+ifeq ($(DISTRO),"Ubuntu")
+GST_PACKAGE_NAME := "GStreamer Bad Plugins (Ubuntu)"
+GST_PACKAGE_ORIGIN="https://launchpad.net/distros/ubuntu/+source/gst-plugins-bad$(gst_abi)"
+endif
+
+
+# setup links for packages
+pre-build::
+	for p in $(PLUGINS); do \
+		rm -f debian/$(gst_pkgname)-$$p.install; \
+		cat debian/gstreamer-$$p.install | \
+			sed 's,@real@,$(real),g' | \
+			sed 's,@alsa_spdif@,$(alsa_spdif),g' | \
+			sed 's,@dvb@,$(dvb),g' | \
+			sed 's,@fbdev@,$(fbdev),g' | \
+			sed 's,@vcd@,$(vcd),g' | \
+			sed 's,@spc@,$(spc),g' | \
+			sed 's,@dc1394@,$(dc1394),g' | \
+			sed 's,@cdaudio@,$(cdaudio),g' | \
+			sed 's/@GST_ABI@/$(gst_abi)/g' \
+			> debian/$(gst_pkgname)-$$p.install; \
+	done
+
+	for f in $(VERSIONIZE); do \
+		cat debian/gstreamer-$$f | \
+			sed 's/@GST_ABI@/$(gst_abi)/g' \
+			> debian/$(gst_pkgname)-$$f; \
+	done
+
+maint: debian/control
+
+debian/build-deps: debian/build-deps.in debian/rules
+	cat $< > $@
+	for plugin in $(EXTRA_PLUGINS) ; do \
+		sh debian/extra deps $$plugin >> $@; \
+	done
+	sort $@ -o $@
+
+debian/control:: debian/control.in debian/build-deps debian/mk.control debian/rules
+	perl debian/mk.control | \
+		sed 's/@GST_VERSION@/$(gst_version)/g' | \
+		sed 's/@GST_ABI@/$(gst_abi)/g' | \
+		sed 's/@GST_PKGNAME@/$(gst_pkgname)/g' | \
+		sed 's/@GST_LIB@/$(gst_lib)/g' | \
+		sed 's/@GST_LIB_DEV@/$(gst_lib_dev)/g' | \
+		sed 's/@GST_LIB_DEV_DEP@/$(gst_lib_dev_dep)/g' | \
+		sed "s/@GST_EXTRA_BUILD_DEPENDS@/$(gst_extra_build_depends)/g" | \
+		sed '/^Build-Depends\(-Indep\)\?/s/\ *,\ */,\n               /g' | \
+		sed "s/@linux@/`type-handling any linux-gnu`/g" > $@
+
+	for plugin in $(EXTRA_PLUGINS) ; do \
+		sh debian/extra control $$plugin | \
+			sed 's/@GST_ABI@/$(gst_abi)/g' | \
+			sed 's/@GST_PKGNAME@/$(gst_pkgname)/g' | \
+			sed 's/@GST_LIB@/$(gst_lib)/g' | \
+			sed 's/@GST_LIB_DEV@/$(gst_lib_dev)/g' | \
+			sed 's/@GST_LIB_DEV_DEP@/$(gst_lib_dev_dep)/g' | \
+			sed 's/@GST_PLUGINS_LIB@/$(gst_plugins_lib)/g' | \
+			sed 's/@GST_PLUGINS_LIB_DEV@/$(gst_plugins_lib_dev)/g' | \
+			sed 's/@GST_PLUGINS_LIB_DEV_DEP@/$(gst_plugins_lib_dev_dep)/g' | \
+			sed 's/@GST_GCONF_LIB@/$(gst_gconf_lib)/g' | \
+			sed 's/@GST_GCONF_LIB_DEV@/$(gst_gconf_lib_dev)/g' | \
+			sed 's/@GST_GCONF_LIB_DEV_DEP@/$(gst_gconf_lib_dev_dep)/g' >> $@; \
+	done
+
+
+DEB_CONFIGURE_EXTRA_FLAGS += \
+	--disable-examples \
+	--enable-DEBUG \
+	--enable-debug \
+	--enable-experimental \
+	--with-package-name=$(GST_PACKAGE_NAME) \
+	--with-package-origin=$(GST_PACKAGE_ORIGIN) \
+
+# only build the docs on arches which can
+ifeq (,$(findstring $(DEB_HOST_ARCH),m68k arm))
+DEB_CONFIGURE_EXTRA_FLAGS += --enable-gtk-doc
+endif
+
+common-binary-fixup-arch::
+	dh_gstscancodecs
+
+clean::
+	# get rid of the sym links
+	for i in $(PLUGINS); do \
+		rm -f debian/$(gst_pkgname)-$$i.install; \
+		rm -f debian/$(gst_pkgname)-$$i.preinst; \
+	done
+	for f in $(VERSIONIZE); do \
+		rm -f debian/$(gst_pkgname)-$$f; \
+	done
+
+DEB_INSTALL_DOCS_ALL += debian/README.Debian NEWS
+
+# Disable inclusion of large upstream ChangeLog
+DEB_INSTALL_CHANGELOGS_ALL :=
+
+.PHONY: maint
--- gst-plugins-bad0.10-0.10.11.orig/debian/mk.control
+++ gst-plugins-bad0.10-0.10.11/debian/mk.control
@@ -0,0 +1,16 @@
+#!/usr/bin/perl -w
+
+open BUILDDEPS, "debian/build-deps";
+@builddeplist = <BUILDDEPS>;
+close BUILDDEPS;
+
+chomp(@builddeplist);
+$builddeps = join(", ", @builddeplist);
+
+open CONTROLIN, "debian/control.in";
+
+while(<CONTROLIN>){
+        s/BUILDDEPS/$builddeps/;
+        print;
+}
+
--- gst-plugins-bad0.10-0.10.11.orig/debian/patches/99_ltmain_as-needed.patch
+++ gst-plugins-bad0.10-0.10.11/debian/patches/99_ltmain_as-needed.patch
@@ -0,0 +1,30 @@
+--- ltmain.sh.old	2007-10-09 07:38:25.000000000 +0200
++++ ltmain.sh	2007-10-09 07:39:25.000000000 +0200
+@@ -1794,6 +1794,11 @@
+ 	arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
+ 	;;
+ 
++      -Wl,--as-needed)
++	deplibs="$deplibs $arg"
++	continue
++	;;
++
+       -Wl,*)
+ 	args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
+ 	arg=
+@@ -2137,6 +2142,15 @@
+ 	lib=
+ 	found=no
+ 	case $deplib in
++	-Wl,--as-needed)
++	  if test "$linkmode,$pass" = "prog,link"; then
++	    compile_deplibs="$deplib $compile_deplibs"
++	    finalize_deplibs="$deplib $finalize_deplibs"
++	  else
++	    deplibs="$deplib $deplibs"
++	  fi
++	  continue
++	  ;;
+ 	-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
+ 	  if test "$linkmode,$pass" = "prog,link"; then
+ 	    compile_deplibs="$deplib $compile_deplibs"
--- gst-plugins-bad0.10-0.10.11.orig/debian/patches/03_fix_ftbfs_with_latest_libcelt.patch
+++ gst-plugins-bad0.10-0.10.11/debian/patches/03_fix_ftbfs_with_latest_libcelt.patch
@@ -0,0 +1,12 @@
+diff -Nur -x '*.orig' -x '*~' gst-plugins-bad0.10-0.10.10/ext/celt/gstceltenc.c gst-plugins-bad0.10-0.10.10.new/ext/celt/gstceltenc.c
+--- gst-plugins-bad0.10-0.10.10/ext/celt/gstceltenc.c	2009-01-06 16:26:02.000000000 +0530
++++ gst-plugins-bad0.10-0.10.10.new/ext/celt/gstceltenc.c	2009-02-25 22:16:29.000000000 +0530
+@@ -739,7 +739,7 @@
+     GST_DEBUG_OBJECT (enc, "encoding %d samples (%d bytes)", frame_size, bytes);
+ 
+     outsize =
+-        celt_encode (enc->state, data, GST_BUFFER_DATA (outbuf),
++        celt_encode (enc->state, data, NULL, GST_BUFFER_DATA (outbuf),
+         bytes_per_packet);
+ 
+     g_free (data);
