Index: multimedia/libdriv/gst10-plugins-bad.xml
===================================================================
--- multimedia/libdriv/gst10-plugins-bad.xml	(revision ac38e9dcc56be5d8809db3492da7b3380a64b944)
+++ multimedia/libdriv/gst10-plugins-bad.xml	(revision d19fb652e4f2c107e8e45aba6b934fc06c0a6d6e)
@@ -8,8 +8,8 @@
            "&gstreamer-dl;/gst-plugins-bad/gst-plugins-bad-&gst10-plugins-bad-version;.tar.xz">
   <!ENTITY gst10-plugins-bad-download-ftp  " ">
-  <!ENTITY gst10-plugins-bad-md5sum        "e0bb39412cf4a48fe0397bcf3a7cd451">
-  <!ENTITY gst10-plugins-bad-size          "3.6 MB">
-  <!ENTITY gst10-plugins-bad-buildsize     "153 MB">
-  <!ENTITY gst10-plugins-bad-time          "1.1 SBU (additional 1.1 SBU to run the test suite)">
+  <!ENTITY gst10-plugins-bad-md5sum        "4857adcafe41e4b9b8805cf88303bd55">
+  <!ENTITY gst10-plugins-bad-size          "4.1 MB">
+  <!ENTITY gst10-plugins-bad-buildsize     "217 MB (with tests)">
+  <!ENTITY gst10-plugins-bad-time          "2.5 SBU (with tests)">
 ]>
 
@@ -39,7 +39,5 @@
     </para>
 
-    &lfs77_checked;
-
-    &gst-compat;
+    &lfs78_checked;
 
     <bridgehead renderas="sect3">Package Information</bridgehead>
@@ -76,5 +74,5 @@
       </listitem>
     </itemizedlist>
-
+<!--
     <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     <itemizedlist spacing="compact">
@@ -85,5 +83,5 @@
         </para>
       </listitem>
-    </itemizedlist>
+    </itemizedlist>-->
 
     <bridgehead renderas="sect3">GStreamer Bad Plug-ins Dependencies</bridgehead>
@@ -100,5 +98,6 @@
     <para role="recommended">
       <xref linkend="libdvdread"/>,
-      <xref linkend="libdvdnav"/>, and
+      <xref linkend="libdvdnav"/>,
+      <xref linkend="llvm"/>, and
       <xref linkend="soundtouch"/>
     </para>
@@ -106,9 +105,8 @@
     <bridgehead renderas="sect4">Optional</bridgehead>
     <para role="optional">
-      <xref linkend="clutter"/>,
+      <xref linkend="bluez"/>,
       <xref linkend="curl"/>,
       <xref linkend="faac"/>,
       <xref linkend="faad2"/>,
-      <xref linkend="glu"/>,
       <xref linkend="gnutls"/>,
       <xref linkend="gtk-doc"/>,
@@ -119,9 +117,5 @@
       <xref linkend="libgcrypt"/>,
       <xref linkend="libmpeg2"/>,
-      <xref linkend="libpng"/>,
-      <xref linkend="librsvg"/>,
-      <xref linkend="libusb"/>,
       <xref linkend="libvdpau"/>,
-      <xref linkend="libwebp"/>,
       <xref linkend="mesalib"/>,
       <xref linkend="mpg123"/>,
@@ -129,41 +123,20 @@
       <xref linkend="openjpeg"/> or
       <xref linkend="openjpeg2"/>,
-      <xref linkend="opus"/>,
-      <xref linkend="sbc"/>,
       <xref linkend="sdl"/>,
       <xref linkend="valgrind"/>,
       <xref linkend="xorg7-lib"/>,
-      <xref linkend="wayland"/>,
-      <ulink url="http://acoustid.org/chromaprint/">Chromaprint</ulink>,
-      <ulink url="http://directfb.org/">DirectFB</ulink>,
       <ulink url="http://www.speech.cs.cmu.edu/flite/">Flite</ulink>,
       <ulink url="http://code.google.com/p/game-music-emu/">Game Music Emu</ulink>,
       <ulink url="http://www.quut.com/gsm/">GSM</ulink>,
-      <ulink url="http://www.videolan.org/developers/libdca.html">libdca</ulink>,
-      <ulink url="http://code.google.com/p/libkate/">libkate</ulink>,
       <ulink url="http://sourceforge.net/projects/farsight/files/libmimic/">libmimic</ulink>,
       <ulink url="http://sourceforge.net/projects/libmms/">libmms</ulink>,
-      <ulink url="http://modplug-xmms.sourceforge.net/">libmodplug</ulink>,
       <ulink url="http://code.google.com/p/musicip-libofa/">libofa</ulink>,
-      <ulink url="http://www.libssh2.org/">libssh2</ulink>,
       <ulink url="http://sourceforge.net/projects/mjpeg/">MJPEG Tools</ulink>,
-      <ulink url="http://www.musepack.net/">MusePack</ulink>,
       <ulink url="http://kcat.strangesoft.net/openal.html">OpenAL</ulink>,
-      <ulink url="http://code.entropywave.com/orc/">ORC</ulink>,
-      <ulink url="http://rtmpdump.mplayerhq.hu/download/">RTMPDUMP</ulink>,
-      <ulink url="http://diracvideo.org/download/schroedinger/">Schroedinger</ulink>,
+      <ulink url="http://gstreamer.freedesktop.org/src/orc/">Orc</ulink>,
       <ulink url="http://sourceforge.net/projects/opencore-amr/files/vo-aacenc/">VO AAC</ulink>,
       <ulink url="http://sourceforge.net/projects/opencore-amr/files/vo-amrwbenc/">VO AMRWB</ulink>,
-      <ulink url="http://sourceforge.net/projects/wildmidi/">WildMidi</ulink>, and
+      <ulink url="http://wayland.freedesktop.org/">Wayland</ulink>, and
       <ulink url="http://sourceforge.net/projects/zbar/">ZBAR</ulink>
-      <!-- Not ported
-      <xref linkend="libsndfile"/>,
-      <xref linkend="sdl"/>,
-      <xref linkend="xvid"/>,
-      <ulink url="http://sourceforge.net/projects/dirac/">Dirac</ulink>
-      <ulink url="http://www.ladspa.org/">LADSPA SDK</ulink>
-      <ulink url="http://sourceforge.net/projects/libdc1394/">libdc1394</ulink>
-      <ulink url="http://sourceforge.net/projects/nas/">NAS</ulink>
-      <ulink url="http://sourceforge.net/projects/zapping/">ZVBI</ulink> -->
     </para>
 
@@ -176,11 +149,18 @@
     <title>Installation of GStreamer Bad Plug-ins</title>
 
+    <note><para>If you need a plugin for a given dependency, that dependency
+      needs to be installed before this application.
+    </para></note>
+
     <para>
       If you have installed <xref linkend="openjpeg2"/> and wish to use it with
       <application>GStreamer Bad Plug-ins</application>, apply the following
-      patch:
-    </para>
-
-<screen><userinput>patch -Np1 -i ../gst-plugins-bad-&gst10-plugins-bad-version;-openjpeg21-1.patch</userinput></screen>
+      sed commnds:
+    </para>
+
+<screen><userinput>sed -e '/openjpeg-2/ s/0/1/' \
+    -i configure ext/openjpeg/gstopenjpeg.h &amp;&amp;
+sed -e '/user_data (/ s/mstream/&amp;, NULL/' \
+    -i ext/openjpeg/gstopenjpeg{enc,dec}.c  &amp;&amp;</userinput></screen>
 
     <para>
@@ -191,11 +171,10 @@
 <screen><userinput>./configure --prefix=/usr \
             --with-package-name="GStreamer Bad Plugins &gst10-plugins-bad-version; BLFS" \
-            --with-package-origin="http://www.linuxfromscratch.org/blfs/view/&blfs-version;/" &amp;&amp;
+            --with-package-origin="http://www.linuxfromscratch.org/blfs/view/svn/" &amp;&amp;
 make</userinput></screen>
 
     <para>
-      To test the results, issue: <command>make check</command>. One test
-      (camerabin) needs hardware with a camera. A couple of tests need a
-      terminal emulator in a graphical session.
+      To test the results, issue: <command>make check</command>. Several tests
+      need a terminal emulator in a graphical session.
     </para>
 
@@ -220,8 +199,14 @@
         </seg>
         <seg>
-          libgstbadbase-1.0.so, libgstbadvideo-1.0.so,
-          libgstbasecamerabinsrc-1.0.so, libgstcodecparsers-1.0.so,
-          libgstgl-1.0.so, libgstinsertbin-1.0.so, libgstmpegts-1.0.so,
-          libgstphotography-1.0.so, libgsturidownloader-1.0.so and
+          libgstadaptivedemux-1.0.so,
+          libgstbadbase-1.0.so,
+          libgstbadvideo-1.0.so,
+          libgstbasecamerabinsrc-1.0.so,
+          libgstcodecparsers-1.0.so,
+          libgstgl-1.0.so,
+          libgstinsertbin-1.0.so,
+          libgstmpegts-1.0.so,
+          libgstphotography-1.0.so,
+          libgsturidownloader-1.0.so, and
           several plugins under /usr/lib/gstreamer-1.0
         </seg>
@@ -229,5 +214,6 @@
           /usr/include/gstreamer-1.0/gst/{basecamerabinsrc,codecparsers,gl},
           /usr/include/gstreamer-1.0/gst/{insertbin,interfaces,mpegts},
-          /usr/include/gstreamer-1.0/gst/uridownloader, and
+          /usr/include/gstreamer-1.0/gst/uridownloader,
+          /usr/lib/gstreamer-1.0/include, and
           /usr/share/gtk-doc/html/gst-plugins-bad-{libs,plugins}-1.0
         </seg>
