Initial Debian packaging.

Original commit message from CVS:
Initial Debian packaging.
This commit is contained in:
David I. Lehn 2001-02-21 22:32:57 +00:00
parent 608eaa3d42
commit d85de350b9
32 changed files with 689 additions and 0 deletions

2
debian/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
*.debhelper
*substvars

38
debian/README.Debian vendored Normal file
View file

@ -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

10
debian/changelog vendored Normal file
View file

@ -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:

143
debian/control vendored Normal file
View file

@ -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

29
debian/copyright vendored Normal file
View file

@ -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'.

2
debian/gsteditor.files vendored Normal file
View file

@ -0,0 +1,2 @@
usr/bin/gsteditor
usr/share/gsteditor

5
debian/gsteditor.menu vendored Normal file
View file

@ -0,0 +1,5 @@
?package(gsteditor): \
needs=X11 \
section=Apps/Viewers \
title="GStreamer Editor" \
command="/usr/bin/gsteditor"

2
debian/gstmediaplay.files vendored Normal file
View file

@ -0,0 +1,2 @@
usr/bin/gstmediaplay
usr/share/gstmediaplay

5
debian/gstmediaplay.menu vendored Normal file
View file

@ -0,0 +1,5 @@
?package(gstmediaplay): \
needs=X11 \
section=Apps/Viewers \
title="GStreamer Media Player" \
command="/usr/bin/gstmediaplay"

1
debian/gstreamer-cdparanoia.files vendored Normal file
View file

@ -0,0 +1 @@
usr/lib/gst/libcdparanoia.*

48
debian/gstreamer-common.files vendored Normal file
View file

@ -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.*

1
debian/gstreamer-doc.files vendored Normal file
View file

@ -0,0 +1 @@
usr/share/gstreamer

1
debian/gstreamer-elements.files vendored Normal file
View file

@ -0,0 +1 @@
usr/lib/gst/libgstelements.*

1
debian/gstreamer-esd.files vendored Normal file
View file

@ -0,0 +1 @@
usr/lib/gst/libesdsink.*

1
debian/gstreamer-lame.files vendored Normal file
View file

@ -0,0 +1 @@
usr/lib/gst/libgstlame.*

1
debian/gstreamer-mpg123.files vendored Normal file
View file

@ -0,0 +1 @@
usr/lib/gst/libmpg123.*

View file

@ -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

23
debian/gstreamer-plugin-template.prerm vendored Normal file
View file

@ -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

1
debian/gstreamer-runtime.files vendored Normal file
View file

@ -0,0 +1 @@
usr/bin/gstreamer-register

47
debian/gstreamer-runtime.postinst vendored Normal file
View file

@ -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

2
debian/gstreamer-tools.files vendored Normal file
View file

@ -0,0 +1,2 @@
usr/bin/gstreamer-inspect
usr/bin/gstreamer-launch

1
debian/gstreamer-vorbis.files vendored Normal file
View file

@ -0,0 +1 @@
usr/lib/gst/libgstvorbis.*

6
debian/libgst-dev.files vendored Normal file
View file

@ -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

1
debian/libgst0.files vendored Normal file
View file

@ -0,0 +1 @@
usr/lib/libgst.so.*

47
debian/libgst0.postinst vendored Normal file
View file

@ -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

2
debian/libgsteditor-dev.files vendored Normal file
View file

@ -0,0 +1,2 @@
usr/lib/libgsteditor.la
usr/lib/libgsteditor.so

1
debian/libgsteditor0.files vendored Normal file
View file

@ -0,0 +1 @@
usr/lib/libgsteditor.so.*

47
debian/libgsteditor0.postinst vendored Normal file
View file

@ -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

2
debian/libgstmediaplay-dev.files vendored Normal file
View file

@ -0,0 +1,2 @@
usr/lib/libgstmediaplay.la
usr/lib/libgstmediaplay.so

1
debian/libgstmediaplay0.files vendored Normal file
View file

@ -0,0 +1 @@
usr/lib/libgstmediaplay.so.*

47
debian/libgstmediaplay0.postinst vendored Normal file
View file

@ -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

146
debian/rules vendored Executable file
View file

@ -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