Initial Debian packaging.
authorDavid I. Lehn <dlehn@users.sourceforge.net>
Wed, 21 Feb 2001 22:32:57 +0000 (22:32 +0000)
committerDavid I. Lehn <dlehn@users.sourceforge.net>
Wed, 21 Feb 2001 22:32:57 +0000 (22:32 +0000)
Original commit message from CVS:
Initial Debian packaging.

32 files changed:
debian/.gitignore [new file with mode: 0644]
debian/README.Debian [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/gsteditor.files [new file with mode: 0644]
debian/gsteditor.menu [new file with mode: 0644]
debian/gstmediaplay.files [new file with mode: 0644]
debian/gstmediaplay.menu [new file with mode: 0644]
debian/gstreamer-cdparanoia.files [new file with mode: 0644]
debian/gstreamer-common.files [new file with mode: 0644]
debian/gstreamer-doc.files [new file with mode: 0644]
debian/gstreamer-elements.files [new file with mode: 0644]
debian/gstreamer-esd.files [new file with mode: 0644]
debian/gstreamer-lame.files [new file with mode: 0644]
debian/gstreamer-mpg123.files [new file with mode: 0644]
debian/gstreamer-plugin-template.postinst [new file with mode: 0644]
debian/gstreamer-plugin-template.prerm [new file with mode: 0644]
debian/gstreamer-runtime.files [new file with mode: 0644]
debian/gstreamer-runtime.postinst [new file with mode: 0644]
debian/gstreamer-tools.files [new file with mode: 0644]
debian/gstreamer-vorbis.files [new file with mode: 0644]
debian/libgst-dev.files [new file with mode: 0644]
debian/libgst0.files [new file with mode: 0644]
debian/libgst0.postinst [new file with mode: 0644]
debian/libgsteditor-dev.files [new file with mode: 0644]
debian/libgsteditor0.files [new file with mode: 0644]
debian/libgsteditor0.postinst [new file with mode: 0644]
debian/libgstmediaplay-dev.files [new file with mode: 0644]
debian/libgstmediaplay0.files [new file with mode: 0644]
debian/libgstmediaplay0.postinst [new file with mode: 0644]
debian/rules [new file with mode: 0755]

diff --git a/debian/.gitignore b/debian/.gitignore
new file mode 100644 (file)
index 0000000..693edc0
--- /dev/null
@@ -0,0 +1,2 @@
+*.debhelper
+*substvars
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644 (file)
index 0000000..72064b5
--- /dev/null
@@ -0,0 +1,38 @@
+GStreamer for Debian
+----------------------
+This package contains the GStreamer distribution.
+
+More information can be found at http://gstreamer.net/
+
+GStreamer is split into a number of base packages:
+
+   libgst0              shared core libs
+   libgst-dev           development libs and headers
+   libgst-runtime       tools required by the libs (gstreamer-register)
+   gstreamer-doc        documentation
+   gstreamer-tools      useful tools
+
+recommended plugins:
+
+   gstreamer-elements   core plugins
+   gstreamer-common     many independent plugins
+
+optional plugins:
+
+   gstreamer-cdparanoia cdparanoia plugin
+   gstreamer-esd        ESD plugin
+   gstreamer-lame       LAME plugin
+   gstreamer-mpg123     mpg123 plugin
+   gstreamer-vorbis     Vorbis plugin
+
+and applications and their supporting libs:
+
+   libgstmediaplay0     media player libs
+   libgstmediaplay-dev  media player dev support
+   gstmediaplay         media player application
+
+   libgsteditor0        stream pipeline visual editor libs
+   libgsteditor-dev     stream pipeline visual editor dev support
+   gsteditor            stream pipeline visual editor application
+
+David I. Lehn <dlehn@vt.edu>  Fri, 19 Jan 2001 19:13:06 -0500
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..3eadd1e
--- /dev/null
@@ -0,0 +1,10 @@
+gstreamer (0.1.0-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- David I. Lehn <dlehn@vt.edu>  Mon, 15 Jan 2001 18:25:18 -0500
+
+Local variables:
+mode: debian-changelog
+add-log-mailing-address "dlehn@vt.edu"
+End:
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..3152cac
--- /dev/null
@@ -0,0 +1,143 @@
+Source: gstreamer
+Section: x11
+Priority: optional
+Maintainer: David I. Lehn <dlehn@vt.edu>
+Build-Depends: debhelper (>= 3.0.0), libxml-dev (>= 1.8.10), zlib1g-dev (>= 1:1.1.3), libghttp-dev (>= 1.0.6), libglib-dev (>= 1.2.8), libgtk1.2-dev (>= 1.2.8), libglade0-dev (>= 0.14), libglade-gnome0-dev (>= 0.14), libesd0-dev (>= 0.2.22), libcdparanoia0-dev (>= 3a9.7), libvorbis-dev (>= 1.0beta3), libgnome-dev (>= 1.2.11), libasound1-dev (>= 0.5.10), libghttp-dev (>= 1.0.9), libjpeg62-dev (>= 6b)
+Build-Depends-Indep: debhelper (>= 3.0.0), gtk-doc-tools (>= 0.4.0), jade (>= 1.2.1), transfig (>= 3.2.3.c)
+Standards-Version: 3.5.2.0
+
+Package: libgst0
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}
+Suggests: gstreamer-elements, gstreamer-common
+Description: Core GStreamer shared library
+ Core GStreamer shared library
+
+Package: libgst-dev
+Architecture: any
+Section: devel
+Depends: libgst0 (= ${Source-Version}), libc6-dev
+Recommends: gstreamer-doc (= ${Source-Version})
+Description: GStreamer development libraries and headers
+ GStreamer development libraries and headers
+
+Package: gstreamer-runtime
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}
+Description: gstreamer-register binary needed to manage plugin registry
+ gstreamer-register binary needed to manage plugin registry
+
+Package: gstreamer-doc
+Architecture: all
+Section: doc
+Recommends: libgst-dev (= ${Source-Version})
+Description: Core GStreamer documentation
+ Core GStreamer documentation
+
+Package: gstreamer-tools
+Architecture: any
+Section: x11
+Depends: ${shlibs:Depends}
+Suggests: gstreamer-common
+Description: Tools for use with GStreamer
+ Tools for use with GStreamer
+ .
+ gstreamer-inspect: query details of installed plugins
+ gstreamer-launch: command line pipeline generator
+
+Package: libgstmediaplay0
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}
+Description: GStreamer media player library
+ GStreamer media player library
+
+Package: libgstmediaplay-dev
+Architecture: any
+Section: devel
+Depends: libgstmediaplay0 (= ${Source-Version}), libc6-dev
+Description: GStreamer media player development library and header
+ GStreamer media player development library and header
+
+Package: gstmediaplay
+Architecture: any
+Section: x11
+Depends: ${shlibs:Depends}
+Suggests: gstreamer-common
+Description: GStreamer media player
+ GStreamer media player
+
+Package: libgsteditor0
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}
+Description: GStreamer editor library
+ GStreamer editor library
+
+Package: libgsteditor-dev
+Architecture: any
+Section: devel
+Depends: libgsteditor0 (= ${Source-Version}), libc6-dev
+Description: GStreamer editor development library and header
+ GStreamer editor development library and header
+
+Package: gsteditor
+Architecture: any
+Section: x11
+Depends: ${shlibs:Depends}
+Suggests: gstreamer-common
+Description: GStreamer editor
+ GStreamer editor
+
+Package: gstreamer-cdparanoia
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}, gstreamer-runtime
+Description: cdparanoia plugin for GStreamer
+ cdparanoia plugin for GStreamer
+
+Package: gstreamer-common
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}, gstreamer-runtime
+Description: Collection of GStreamer plugins
+ Collection of GStreamer plugins
+ .
+ These plugins have no special dependencies.
+
+Package: gstreamer-elements
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}, gstreamer-runtime
+Description: Core elements plugin for GStreamer
+ Core elements plugin for GStreamer
+
+Package: gstreamer-esd
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}, gstreamer-runtime
+Description: Enlightened Sound Daemon plugin for GStreamer
+ Enlightened Sound Daemon plugin for GStreamer
+
+Package: gstreamer-lame
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}, gstreamer-runtime
+Description: LAME plugin for GStreamer
+ LAME plugin for GStreamer
+
+Package: gstreamer-mpg123
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}, gstreamer-runtime
+Description: mpg123 plugin for GStreamer
+ mpg123 plugin for GStreamer
+
+Package: gstreamer-vorbis
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}, gstreamer-runtime
+Description: Vorbis plugin for GStreamer
+ Vorbis plugin for GStreamer
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..fa8250b
--- /dev/null
@@ -0,0 +1,29 @@
+This package was debianized by David I. Lehn <dlehn@vt.edu> on
+Mon, 15 Jan 2001 18:21:37 -0500.
+
+It was downloaded from http://gstreamer.net/
+
+Upstream Author(s):
+    Erik Walthinsen <omegahacker@users.sourceforge.net>
+    Wim Taymans <wim.taymans@chello.be>
+    Richard Boulton <richard@tartarus.org>
+
+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., 59 Temple Place, Suite 330, Boston, MA 02111-1307  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'.
+
diff --git a/debian/gsteditor.files b/debian/gsteditor.files
new file mode 100644 (file)
index 0000000..22e2d6e
--- /dev/null
@@ -0,0 +1,2 @@
+usr/bin/gsteditor
+usr/share/gsteditor
diff --git a/debian/gsteditor.menu b/debian/gsteditor.menu
new file mode 100644 (file)
index 0000000..c78b4d2
--- /dev/null
@@ -0,0 +1,5 @@
+?package(gsteditor): \
+  needs=X11 \
+  section=Apps/Viewers \
+  title="GStreamer Editor" \
+  command="/usr/bin/gsteditor"
diff --git a/debian/gstmediaplay.files b/debian/gstmediaplay.files
new file mode 100644 (file)
index 0000000..be0f4c8
--- /dev/null
@@ -0,0 +1,2 @@
+usr/bin/gstmediaplay
+usr/share/gstmediaplay
diff --git a/debian/gstmediaplay.menu b/debian/gstmediaplay.menu
new file mode 100644 (file)
index 0000000..904038c
--- /dev/null
@@ -0,0 +1,5 @@
+?package(gstmediaplay): \
+  needs=X11 \
+  section=Apps/Viewers \
+  title="GStreamer Media Player" \
+  command="/usr/bin/gstmediaplay"
diff --git a/debian/gstreamer-cdparanoia.files b/debian/gstreamer-cdparanoia.files
new file mode 100644 (file)
index 0000000..b347fa1
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/gst/libcdparanoia.*
diff --git a/debian/gstreamer-common.files b/debian/gstreamer-common.files
new file mode 100644 (file)
index 0000000..8463b80
--- /dev/null
@@ -0,0 +1,48 @@
+usr/lib/gst/libgstriff.*
+usr/lib/gst/libgstcolorspace.*
+usr/lib/gst/libgstgetbits.*
+usr/lib/gst/libgstparsewav.*
+usr/lib/gst/libgstputbits.*
+usr/lib/gst/libgstidct.*
+usr/lib/gst/libgsttypes.*
+usr/lib/gst/libgstvideoscale.*
+usr/lib/gst/libwinloader.*
+usr/lib/gst/libgstparseau.*
+usr/lib/gst/libmp3parse.*
+usr/lib/gst/libmp3types.*
+usr/lib/gst/libstereo.*
+usr/lib/gst/libvolume.*
+usr/lib/gst/libgstspectrum.*
+usr/lib/gst/libvumeter.*
+usr/lib/gst/libsynaesthesia.*
+usr/lib/gst/libsmoothwave.*
+usr/lib/gst/libmpeg2parse.*
+usr/lib/gst/libac3dec.*
+usr/lib/gst/libac3parse.*
+usr/lib/gst/libmpeg2play.*
+usr/lib/gst/libmpeg2dec.*
+usr/lib/gst/libmpeg2enc.*
+usr/lib/gst/libmpeg2subt.*
+usr/lib/gst/libmp2videoparse.*
+usr/lib/gst/libmpeg2types.*
+usr/lib/gst/libmpeg1parse.*
+usr/lib/gst/libmpeg_play.*
+usr/lib/gst/libmpeg1encoder.*
+usr/lib/gst/libsystem_encode.*
+usr/lib/gst/libmpegaudio.*
+usr/lib/gst/libmpeg1types.*
+usr/lib/gst/libvcdsrc.*
+usr/lib/gst/librtjpeg.*
+usr/lib/gst/libvideosink.*
+usr/lib/gst/libv4lsrc.*
+usr/lib/gst/libjpeg.*
+usr/lib/gst/libmp1videoparse.*
+usr/lib/gst/libvideoscale.*
+usr/lib/gst/libsmooth.*
+usr/lib/gst/libmedian.*
+usr/lib/gst/libgstladspa.*
+usr/lib/gst/libaudioscale.*
+usr/lib/gst/libwincodec.*
+usr/lib/gst/libaviencoder.*
+usr/lib/gst/libavidecoder.*
+usr/lib/gst/libdvdsrc.*
diff --git a/debian/gstreamer-doc.files b/debian/gstreamer-doc.files
new file mode 100644 (file)
index 0000000..c6ff275
--- /dev/null
@@ -0,0 +1 @@
+usr/share/gstreamer
diff --git a/debian/gstreamer-elements.files b/debian/gstreamer-elements.files
new file mode 100644 (file)
index 0000000..7a18765
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/gst/libgstelements.*
diff --git a/debian/gstreamer-esd.files b/debian/gstreamer-esd.files
new file mode 100644 (file)
index 0000000..dbfa96f
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/gst/libesdsink.*
diff --git a/debian/gstreamer-lame.files b/debian/gstreamer-lame.files
new file mode 100644 (file)
index 0000000..ab21a06
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/gst/libgstlame.*
diff --git a/debian/gstreamer-mpg123.files b/debian/gstreamer-mpg123.files
new file mode 100644 (file)
index 0000000..f360298
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/gst/libmpg123.*
diff --git a/debian/gstreamer-plugin-template.postinst b/debian/gstreamer-plugin-template.postinst
new file mode 100644 (file)
index 0000000..b3a2e18
--- /dev/null
@@ -0,0 +1,25 @@
+#! /bin/sh
+# template plugin postinst script
+
+set -e
+
+case "$1" in
+    configure)
+        # Update shared lib deps
+        gstreamer-register
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0
+
diff --git a/debian/gstreamer-plugin-template.prerm b/debian/gstreamer-plugin-template.prerm
new file mode 100644 (file)
index 0000000..4a58117
--- /dev/null
@@ -0,0 +1,23 @@
+#! /bin/sh
+# template plugin prerm script
+
+set -e
+
+case "$1" in
+    remove|upgrade|deconfigure)
+        # update the shared libs
+        gstreamer-register
+
+        ;;
+    failed-upgrade)
+        ;;
+    *)
+        echo "prerm called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0
+
diff --git a/debian/gstreamer-runtime.files b/debian/gstreamer-runtime.files
new file mode 100644 (file)
index 0000000..4a423fb
--- /dev/null
@@ -0,0 +1 @@
+usr/bin/gstreamer-register
diff --git a/debian/gstreamer-runtime.postinst b/debian/gstreamer-runtime.postinst
new file mode 100644 (file)
index 0000000..8e649c5
--- /dev/null
@@ -0,0 +1,47 @@
+#!/bin/sh
+# postinst script for gstreamer
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see /usr/share/doc/packaging-manual/
+#
+# quoting from the policy:
+#     Any necessary prompting should almost always be confined to the
+#     post-installation script, and should be protected with a conditional
+#     so that unnecessary prompting doesn't happen if a package's
+#     installation fails and the `postinst' is called with `abort-upgrade',
+#     `abort-remove' or `abort-deconfigure'.
+
+case "$1" in
+    configure)
+        gstreamer-register
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
diff --git a/debian/gstreamer-tools.files b/debian/gstreamer-tools.files
new file mode 100644 (file)
index 0000000..5e029a3
--- /dev/null
@@ -0,0 +1,2 @@
+usr/bin/gstreamer-inspect
+usr/bin/gstreamer-launch
diff --git a/debian/gstreamer-vorbis.files b/debian/gstreamer-vorbis.files
new file mode 100644 (file)
index 0000000..416b741
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/gst/libgstvorbis.*
diff --git a/debian/libgst-dev.files b/debian/libgst-dev.files
new file mode 100644 (file)
index 0000000..6d0eba8
--- /dev/null
@@ -0,0 +1,6 @@
+usr/include
+usr/share/aclocal
+usr/bin/gstreamer-config
+usr/lib/libgst.la
+usr/lib/libgst.so
+usr/lib/gst/libgstelements.la
diff --git a/debian/libgst0.files b/debian/libgst0.files
new file mode 100644 (file)
index 0000000..1f4bb43
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/libgst.so.*
diff --git a/debian/libgst0.postinst b/debian/libgst0.postinst
new file mode 100644 (file)
index 0000000..6a6aff9
--- /dev/null
@@ -0,0 +1,47 @@
+#!/bin/sh
+# postinst script for gstreamer
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see /usr/share/doc/packaging-manual/
+#
+# quoting from the policy:
+#     Any necessary prompting should almost always be confined to the
+#     post-installation script, and should be protected with a conditional
+#     so that unnecessary prompting doesn't happen if a package's
+#     installation fails and the `postinst' is called with `abort-upgrade',
+#     `abort-remove' or `abort-deconfigure'.
+
+case "$1" in
+    configure)
+        ldconfig
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
diff --git a/debian/libgsteditor-dev.files b/debian/libgsteditor-dev.files
new file mode 100644 (file)
index 0000000..0e4c1bc
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib/libgsteditor.la
+usr/lib/libgsteditor.so
diff --git a/debian/libgsteditor0.files b/debian/libgsteditor0.files
new file mode 100644 (file)
index 0000000..f220031
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/libgsteditor.so.*
diff --git a/debian/libgsteditor0.postinst b/debian/libgsteditor0.postinst
new file mode 100644 (file)
index 0000000..6a6aff9
--- /dev/null
@@ -0,0 +1,47 @@
+#!/bin/sh
+# postinst script for gstreamer
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see /usr/share/doc/packaging-manual/
+#
+# quoting from the policy:
+#     Any necessary prompting should almost always be confined to the
+#     post-installation script, and should be protected with a conditional
+#     so that unnecessary prompting doesn't happen if a package's
+#     installation fails and the `postinst' is called with `abort-upgrade',
+#     `abort-remove' or `abort-deconfigure'.
+
+case "$1" in
+    configure)
+        ldconfig
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
diff --git a/debian/libgstmediaplay-dev.files b/debian/libgstmediaplay-dev.files
new file mode 100644 (file)
index 0000000..b6c11f6
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib/libgstmediaplay.la
+usr/lib/libgstmediaplay.so
diff --git a/debian/libgstmediaplay0.files b/debian/libgstmediaplay0.files
new file mode 100644 (file)
index 0000000..763c8fc
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/libgstmediaplay.so.*
diff --git a/debian/libgstmediaplay0.postinst b/debian/libgstmediaplay0.postinst
new file mode 100644 (file)
index 0000000..6a6aff9
--- /dev/null
@@ -0,0 +1,47 @@
+#!/bin/sh
+# postinst script for gstreamer
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see /usr/share/doc/packaging-manual/
+#
+# quoting from the policy:
+#     Any necessary prompting should almost always be confined to the
+#     post-installation script, and should be protected with a conditional
+#     so that unnecessary prompting doesn't happen if a package's
+#     installation fails and the `postinst' is called with `abort-upgrade',
+#     `abort-remove' or `abort-deconfigure'.
+
+case "$1" in
+    configure)
+        ldconfig
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..8d7db81
--- /dev/null
@@ -0,0 +1,146 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper. 
+# GNU copyright 1997 by Joey Hess.
+#
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+export DH_COMPAT=2
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+# The plugins are basically the same.
+# Link special names to a template file.
+# still need "*.files" to be done by hand
+
+PLUGINS=cdparanoia common elements esd lame mpg123 vorbis
+
+setup-links:
+       for i in $(PLUGINS); do \
+               ln -fs debian/gstreamer-plugin-template.postinst \
+                       debian/gstreamer-$$i.postinst; \
+               ln -fs debian/gstreamer-plugin-template.prerm \
+                       debian/gstreamer-$$i.prerm; \
+       done
+
+configure: configure-stamp
+configure-stamp:
+       dh_testdir
+       # Add here commands to configure the package.
+       ./autogen.sh \
+       --prefix=/usr \
+       --mandir=\$${prefix}/share/man \
+       --infodir=\$${prefix}/share/info \
+       --with-configdir=/etc/gstreamer \
+       --disable-plugin-srcdir \
+       --enable-docs-build
+
+       touch configure-stamp
+
+build: configure-stamp build-stamp
+build-stamp:
+       dh_testdir
+
+       # Add here commands to compile the package.
+       $(MAKE)
+
+       touch build-stamp
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp configure-stamp
+
+       # Add here commands to clean up after the build process.
+       -$(MAKE) distclean
+
+       dh_clean
+
+       for i in $(PLUGINS); do \
+               rm -f debian/gstreamer-$$i.postinst; \
+               rm -f debian/gstreamer-$$i.prerm; \
+       done
+
+install: DH_OPTIONS=
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+       dh_installdirs
+
+       # Add here commands to install the package into debian/gstreamer.
+       $(MAKE) install prefix=$(CURDIR)/debian/gstreamer/usr
+
+       dh_movefiles --sourcedir=debian/gstreamer
+
+# Build architecture-independent files here.
+# Pass -i to all debhelper commands in this target to reduce clutter.
+binary-indep: DH_OPTIONS=-i
+binary-indep: build install
+# Need this version of debhelper for DH_OPTIONS to work.
+       dh_testdir
+       dh_testroot
+#      dh_installdebconf
+       dh_installdocs
+       dh_installexamples
+       dh_installmenu
+#      dh_installemacsen
+#      dh_installpam
+#      dh_installinit
+#      dh_installcron
+#      dh_installmanpages
+#      dh_installinfo
+#      dh_undocumented
+       dh_installchangelogs ChangeLog
+       dh_strip
+#      dh_link
+       dh_compress
+       dh_fixperms
+# You may want to make some executables suid here.
+#      dh_suidregister
+       dh_installdeb
+#      dh_makeshlibs
+#      dh_perl
+#      dh_shlibdeps
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+# Build architecture-dependent files here.
+# Pass -a to all debhelper commands in this target to reduce clutter.
+binary-arch: DH_OPTIONS=-a
+binary-arch: build install setup-links
+# Need this version of debhelper for DH_OPTIONS to work.
+       dh_testdir
+       dh_testroot
+#      dh_installdebconf
+       dh_installdocs
+       dh_installexamples
+       dh_installmenu
+#      dh_installemacsen
+#      dh_installpam
+#      dh_installinit
+#      dh_installcron
+#      dh_installmanpages
+#      dh_installinfo
+       dh_undocumented
+       dh_installchangelogs ChangeLog
+       dh_strip
+#      dh_link
+       dh_compress
+       dh_fixperms
+# You may want to make some executables suid here.
+#      dh_suidregister
+       dh_installdeb
+       dh_makeshlibs
+#      dh_perl
+       dh_shlibdeps -l`pwd`/debian/libgst0/usr/lib:`pwd`/debian/libgstmediaplay0/usr/lib:`pwd`/debian/libgsteditor0/usr/lib
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure