Update to Debian packaging files to 0.2.1-2

Original commit message from CVS:
Update to Debian packaging files to 0.2.1-2
This commit is contained in:
David I. Lehn 2001-07-20 06:52:18 +00:00
parent 23c9ad917a
commit f57bdad228
25 changed files with 224 additions and 261 deletions

12
debian/Makefile.am vendored
View file

@ -15,37 +15,39 @@ EXTRA_DIST = \
gstreamer-arts.files \
gstreamer-artsd.files \
gstreamer-audiofile.files \
gstreamer-avifile.files \
gstreamer-cdparanoia.files \
gstreamer-colorspace.files \
gstreamer-common.files \
gstreamer-doc.files \
gstreamer-elements.files \
gstreamer-esd.files \
gstreamer-festival.files \
gstreamer-flac.files \
gstreamer-gnomevfs.files \
gstreamer-gsm.files \
gstreamer-lame.files \
gstreamer-jpeg.files \
gstreamer-lame.files \
gstreamer-mad.files \
gstreamer-mpeg2dec.files \
gstreamer-mpg123.files \
gstreamer-oss.files \
gstreamer-plugin-template.postinst \
gstreamer-plugin-template.prerm \
gstreamer-plugin-template.postrm \
gstreamer-runtime.files \
gstreamer-runtime.manpages \
gstreamer-runtime.postinst \
gstreamer-runtime.postrm \
gstreamer-sdl.files \
gstreamer-tools.files \
gstreamer-tools.manpages \
gstreamer-vorbis.files \
gstreamer-x.files \
libgst-dev.files \
libgst-dev.manpages \
libgst0.files \
libgst0.postinst \
libgsteditor-dev.files \
libgsteditor0.files \
libgsteditor0.postinst \
libgstmediaplay-dev.files \
libgstmediaplay0.files \
libgstmediaplay0.postinst \
rules

29
debian/README.Debian vendored
View file

@ -8,7 +8,7 @@ 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-runtime tools required by the libs (gstreamer-register)
gstreamer-doc documentation
gstreamer-tools useful tools
@ -19,11 +19,28 @@ recommended plugins:
optional plugins:
gstreamer-cdparanoia cdparanoia plugin
gstreamer-esd ESD plugin
gstreamer-lame LAME plugin
gstreamer-mpg123 mpg123 plugin
gstreamer-vorbis Vorbis plugin
gstreamer-aa
gstreamer-alsa
gstreamer-arts
gstreamer-artsd
gstreamer-audiofile
gstreamer-avifile
gstreamer-cdparanoia
gstreamer-colorspace
gstreamer-esd
gstreamer-festival
gstreamer-flac
gstreamer-gnomevfs
gstreamer-gsm
gstreamer-jpeg
gstreamer-lame
gstreamer-mad
gstreamer-mpeg2dec
gstreamer-mpg123
gstreamer-oss
gstreamer-sdl
gstreamer-vorbis
gstreamer-x
and applications and their supporting libs:

56
debian/changelog vendored
View file

@ -1,3 +1,59 @@
gstreamer (0.2.1-2) unstable; urgency=low
* Fix lib deps: run debhelper tools in the right order
* Added arts dir to Makefile.am SUBDIRS so it builds again
* Changed libmpeg2dec to libgstmpeg2dec to avoid naming issues
when using -lmpeg2dec
* Updated system_encode/ with CVS segfaulter bug fix
-- David I. Lehn <dlehn@vt.edu> Thu, 19 Jul 2001 15:47:24 -0400
gstreamer (0.2.1-1) unstable; urgency=low
* New upstream 0.2.1: "Return of the Sedi Master"
* New plugin packages: -festival, -flac, -avifile, -x
* New plugins in -common: chart, deinterlace, udp
* Added some post-0.2.1 fixes for FLAC, build system, ALSA
-- David I. Lehn <dlehn@vt.edu> Thu, 28 Jun 2001 20:15:15 -0400
gstreamer (0.2.0-6) unstable; urgency=low
* Move -compprep to -runtime and call it same places as -register
* Do -register and -compprep in postrm instead of prerm
* Make -arts plugin actually build all the source (sent upstream)
* Purge of -runtime removes /etc/gstreamer
-- David I. Lehn <dlehn@vt.edu> Tue, 19 Jun 2001 13:09:32 -0400
gstreamer (0.2.0-5) unstable; urgency=low
* Added element package dependencies to libgstmediaplay0
-- David I. Lehn <dlehn@vt.edu> Mon, 18 Jun 2001 11:18:53 -0400
gstreamer (0.2.0-4) unstable; urgency=low
* Add --gst-mask=0 to -runtime.postinst
-- David I. Lehn <dlehn@vt.edu> Fri, 15 Jun 2001 11:47:24 -0400
gstreamer (0.2.0-3) unstable; urgency=low
* Fix the plugin control file symlink creation
* Add audiofile to Build-Depends
-- David I. Lehn <dlehn@vt.edu> Fri, 15 Jun 2001 05:22:28 -0400
gstreamer (0.2.0-2) unstable; urgency=low
* Fixed ALSA checks to not include -lasound in -every- link
* Update LAME plugin to use latest CVS API
* Removed OSS src/sink from -common.files (was in -oss too)
* Swapped -arts.files and -artsd.files contents
-- David I. Lehn <dlehn@vt.edu> Fri, 15 Jun 2001 04:02:21 -0400
gstreamer (0.2.0-1) unstable; urgency=low
* Added gstreamer-compprep manpage

80
debian/control vendored
View file

@ -2,9 +2,9 @@ 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), libglib1.2-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) | libasound2-dev (>= 0.9), libghttp-dev (>= 1.0.9), libjpeg62-dev (>= 6b), aalib1-dev (>= 1.4p4), libmad0-dev (>= 0.13.0b), hermes1-dev (>= 1.3.1), libarts-dev (>= 2.1.2), libgsm1-dev (>= 1.0.10), libgnome-vfs-dev (>= 1.0.1), libsdl1.1-dev (>= 1.1.8)
Build-Depends: debhelper (>= 3.0.0), libxml-dev (>= 1.8.10), zlib1g-dev (>= 1:1.1.3), libghttp-dev (>= 1.0.6), libglib1.2-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) | libasound2-dev (>= 0.9), libghttp-dev (>= 1.0.9), libjpeg62-dev (>= 6b), aalib1-dev (>= 1.4p4), libmad0-dev (>= 0.13.0b), hermes1-dev (>= 1.3.1), libarts-dev (>= 2.1.2), libgsm1-dev (>= 1.0.10), libgnome-vfs-dev (>= 1.0.1), libsdl1.2-dev (>= 1.2.1), libaudiofile-dev (>= 0.2.1), libavifile-dev (>= 0.6.0.20010622), festival-dev (>= 1.4.1p), libflac-dev (>= 0.10), libmpeg2-dev (>= 0.2.0), libmpeg2dec-dev (>= 0.2.0), pkg-config (>= 0.7.0)
Build-Depends-Indep: debhelper (>= 3.0.0), gtk-doc-tools (>= 0.4), jade (>= 1.2.1), transfig (>= 3.2.3.c)
Standards-Version: 3.5.2.0
Standards-Version: 3.5.0
Package: libgst0
Architecture: [alpha arm i386 powerpc sparc]
@ -26,8 +26,10 @@ Package: gstreamer-runtime
Architecture: any
Section: libs
Depends: ${shlibs:Depends}
Suggests: gstreamer-tools
Description: gstreamer-register binary needed to manage plugin registry
gstreamer-register binary needed to manage plugin registry
gstreamer-register: binary needed to manage plugin registry
gstreamer-compprep: register components for gstreamer-complete
Package: gstreamer-doc
Architecture: all
@ -46,13 +48,12 @@ Description: Tools for use with GStreamer
.
gstreamer-inspect: query details of installed plugins
gstreamer-launch: command line pipeline generator
gstreamer-compprep: register components for gstreamer-complete
gstreamer-complete: gstreamer-launch bash command line completion tool
Package: libgstmediaplay0
Architecture: any
Section: libs
Depends: ${shlibs:Depends}
Depends: ${shlibs:Depends}, gstreamer-elements, gstreamer-common, gstreamer-oss, gstreamer-colorspace, gstreamer-gnomevfs, gstreamer-x
Description: GStreamer media player library
GStreamer media player library
@ -61,13 +62,13 @@ 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
GStreamer media player development library and headers
Package: gstmediaplay
Architecture: any
Section: x11
Depends: ${shlibs:Depends}
Suggests: gstreamer-common
Suggests: gstreamer-avifile, gstreamer-mad, gstreamer-mpeg2dec, gstreamer-vorbis
Description: GStreamer media player
GStreamer media player
@ -96,12 +97,12 @@ Description: GStreamer editor
Package: gstreamer-all-plugins
Architecture: any
Section: libs
Depends: gstreamer-aa, gstreamer-alsa, gstreamer-arts, gstreamer-artsd, gstreamer-audiofile, gstreamer-cdparanoia, gstreamer-colorspace, gstreamer-common, gstreamer-elements, gstreamer-esd, gstreamer-gnomevfs, gstreamer-gsm, gstreamer-jpeg, gstreamer-lame, gstreamer-mad, gstreamer-mpeg2dec, gstreamer-mpg123, gstreamer-oss, gstreamer-sdl, gstreamer-vorbis
Depends: gstreamer-aa, gstreamer-alsa, gstreamer-arts, gstreamer-artsd, gstreamer-audiofile, gstreamer-avifile, gstreamer-cdparanoia, gstreamer-colorspace, gstreamer-common, gstreamer-elements, gstreamer-esd, gstreamer-festival, gstreamer-flac, gstreamer-gnomevfs, gstreamer-gsm, gstreamer-jpeg, gstreamer-lame, gstreamer-mad, gstreamer-mpeg2dec, gstreamer-mpg123, gstreamer-oss, gstreamer-sdl, gstreamer-vorbis, gstreamer-x
Description: Pseudo package for all GStreamer plugins
Pseudo package which depends on all current GStreamer plugin
packages.
.
WARNING: this package could bring in many sub-dependencies.
WARNING: This package depends on many other packages.
Package: gstreamer-aa
Architecture: any
@ -109,6 +110,8 @@ Section: libs
Depends: ${shlibs:Depends}, gstreamer-runtime (= ${Source-Version})
Description: AA-lib plugin for GStreamer
AA-lib plugin for GStreamer
.
http://aa-project.sourceforge.net/aalib/
Package: gstreamer-alsa
Architecture: any
@ -116,20 +119,26 @@ Section: libs
Depends: ${shlibs:Depends}, gstreamer-runtime (= ${Source-Version})
Description: ALSA plugin for GStreamer
ALSA plugin for GStreamer
.
http://www.alsa-project.org/
Package: gstreamer-arts
Architecture: any
Section: libs
Depends: ${shlibs:Depends}, gstreamer-runtime (= ${Source-Version})
Description: aRts plugin for GStreamer
aRts plugin for GStreamer
Analog Realtime Synthesizer (aRts) plugin for GStreamer
.
http://www.arts-projects.org/
Package: gstreamer-artsd
Architecture: any
Section: libs
Depends: ${shlibs:Depends}, gstreamer-runtime (= ${Source-Version})
Description: aRtsd plugin for GStreamer
aRtsd plugin for GStreamer
Analog Realtime Synthesizer daemon (aRtsd) plugin for GStreamer
.
http://www.arts-projects.org/
Package: gstreamer-audiofile
Architecture: any
@ -138,12 +147,23 @@ Depends: ${shlibs:Depends}, gstreamer-runtime (= ${Source-Version})
Description: AudioFile plugin for GStreamer
AudioFile plugin for GStreamer
Package: gstreamer-avifile
Architecture: any
Section: libs
Depends: ${shlibs:Depends}, gstreamer-runtime (= ${Source-Version})
Description: avifile plugin for GStreamer
avifile plugin for GStreamer
.
Allows the use of win32 codecs
Package: gstreamer-cdparanoia
Architecture: any
Section: libs
Depends: ${shlibs:Depends}, gstreamer-runtime (= ${Source-Version})
Description: cdparanoia plugin for GStreamer
cdparanoia plugin for GStreamer
.
http://www.xiph.org/paranoia/
Package: gstreamer-colorspace
Architecture: any
@ -157,7 +177,7 @@ Architecture: any
Section: libs
Depends: ${shlibs:Depends}, gstreamer-runtime (= ${Source-Version})
Description: Collection of GStreamer plugins
Collection of GStreamer plugins
Collection of various GStreamer plugins
.
These plugins have no special dependencies.
@ -167,6 +187,8 @@ Section: libs
Depends: ${shlibs:Depends}, gstreamer-runtime (= ${Source-Version})
Description: Core elements plugin for GStreamer
Core elements plugin for GStreamer
.
These plugins have no special dependencies.
Package: gstreamer-esd
Architecture: any
@ -175,6 +197,22 @@ Depends: ${shlibs:Depends}, gstreamer-runtime (= ${Source-Version})
Description: Enlightened Sound Daemon plugin for GStreamer
Enlightened Sound Daemon plugin for GStreamer
Package: gstreamer-festival
Architecture: any
Section: libs
Depends: ${shlibs:Depends}, gstreamer-runtime (= ${Source-Version})
Description: Festival speech synthesis plugin for GStreamer
Festival speech synthesis plugin for GStreamer
Package: gstreamer-flac
Architecture: any
Section: libs
Depends: ${shlibs:Depends}, gstreamer-runtime (= ${Source-Version})
Description: FLAC plugin for GStreamer
Free Lossless Audio Codec (FLAC) plugin for GStreamer
.
http://flac.sourceforge.net/
Package: gstreamer-gnomevfs
Architecture: any
Section: libs
@ -216,6 +254,8 @@ Section: libs
Depends: ${shlibs:Depends}, gstreamer-runtime (= ${Source-Version})
Description: mpeg2dec plugin for GStreamer
mpeg2dec plugin for GStreamer
.
http://www.linuxvideo.org/mpeg2dec/
Package: gstreamer-mpg123
Architecture: any
@ -237,6 +277,8 @@ Section: libs
Depends: ${shlibs:Depends}, gstreamer-runtime (= ${Source-Version})
Description: SDL videosink plugin for GStreamer
SDL videosink plugin for GStreamer
.
http://www.libsdl.org/
Package: gstreamer-vorbis
Architecture: any
@ -244,3 +286,17 @@ Section: libs
Depends: ${shlibs:Depends}, gstreamer-runtime (= ${Source-Version})
Description: Vorbis plugin for GStreamer
Vorbis plugin for GStreamer
.
http://www.vorbis.com/
Package: gstreamer-x
Architecture: any
Section: libs
Depends: ${shlibs:Depends}, gstreamer-runtime (= ${Source-Version})
Description: X videosink plugin for GStreamer
X videosink plugin for GStreamer
.
Has support for XVideo extension acceleration
.
http://www.x.org/
http://www.xfree86.org/

View file

@ -1 +1 @@
usr/lib/gst/libartsdsink.*
usr/lib/gst/libgst_arts.*

View file

@ -1 +1 @@
usr/lib/gst/libgst_arts.*
usr/lib/gst/libartsdsink.*

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

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

View file

@ -7,8 +7,11 @@ usr/lib/gst/libaviaudiodecoder.*
usr/lib/gst/libavidecoder.*
usr/lib/gst/libavidemux.*
usr/lib/gst/libaviencoder.*
usr/lib/gst/libavimux.*
usr/lib/gst/libavitypes.*
usr/lib/gst/libchart.*
usr/lib/gst/libcutter.*
usr/lib/gst/libdeinterlace.*
usr/lib/gst/libdvdsrc.*
usr/lib/gst/libflxdec.*
usr/lib/gst/libgstaudio.*
@ -18,7 +21,6 @@ usr/lib/gst/libgstcolorspace.*
usr/lib/gst/libgstgetbits.*
usr/lib/gst/libgstidct.*
usr/lib/gst/libgstladspa.*
usr/lib/gst/libgstossaudio.*
usr/lib/gst/libgstparseau.*
usr/lib/gst/libgstparsewav.*
usr/lib/gst/libgstputbits.*
@ -26,6 +28,7 @@ usr/lib/gst/libgstriff.*
usr/lib/gst/libgstspectrum.*
usr/lib/gst/libgsttypes.*
usr/lib/gst/libgstvideoscale.*
usr/lib/gst/libgstudp.*
usr/lib/gst/libintfloatconvert.*
usr/lib/gst/libjpeg.*
usr/lib/gst/liblavencode.*
@ -58,10 +61,6 @@ usr/lib/gst/libsystem_encode.*
usr/lib/gst/libv4lsrc.*
usr/lib/gst/libvcdsrc.*
usr/lib/gst/libvideoscale.*
usr/lib/gst/libvideosink.*
usr/lib/gst/libvolenv.*
usr/lib/gst/libvolume.*
usr/lib/gst/libvumeter.*
usr/lib/gst/libwincodec.*
usr/lib/gst/libwinloader.*
usr/lib/gst/libxvideosink.*

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

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

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

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

View file

@ -1 +1 @@
usr/lib/gst/libmpeg2dec.*
usr/lib/gst/libgstmpeg2dec.*

View file

@ -1,23 +1,11 @@
#! /bin/sh
# template plugin postinst script
#!/bin/sh
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
if [ "$1" = "configure" ]; then
gstreamer-register --gst-mask=0
gstreamer-compprep --gst-mask=0
fi
#DEBHELPER#

13
debian/gstreamer-plugin-template.postrm vendored Normal file
View file

@ -0,0 +1,13 @@
#!/bin/sh
set -e
if [ "$1" = "remove" ]; then
gstreamer-register --gst-mask=0
gstreamer-compprep --gst-mask=0
fi
#DEBHELPER#
exit 0

View file

@ -1,23 +0,0 @@
#! /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

View file

@ -1 +1,2 @@
usr/bin/gstreamer-register
usr/bin/gstreamer-compprep

View file

@ -1 +1,2 @@
debian/gstreamer/usr/share/man/man1/gstreamer-register.1
debian/gstreamer/usr/share/man/man1/gstreamer-compprep.1

View file

@ -1,47 +1,13 @@
#!/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.
if [ "$1" = "configure" ]; then
gstreamer-register --gst-mask=0
gstreamer-compprep --gst-mask=0
fi
#DEBHELPER#
exit 0

12
debian/gstreamer-runtime.postrm vendored Normal file
View file

@ -0,0 +1,12 @@
#!/bin/sh
set -e
if [ "$1" = "remove" ]; then
rm -rf /etc/gstreamer
fi
#DEBHELPER#
exit 0

View file

@ -1,4 +1,3 @@
usr/bin/gstreamer-inspect
usr/bin/gstreamer-launch
usr/bin/gstreamer-complete
usr/bin/gstreamer-compprep

View file

@ -1,4 +1,3 @@
debian/gstreamer/usr/share/man/man1/gstreamer-complete.1
debian/gstreamer/usr/share/man/man1/gstreamer-compprep.1
debian/gstreamer/usr/share/man/man1/gstreamer-inspect.1
debian/gstreamer/usr/share/man/man1/gstreamer-launch.1

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

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

View file

@ -1,47 +0,0 @@
#!/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

View file

@ -1,47 +0,0 @@
#!/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

View file

@ -1,47 +0,0 @@
#!/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

32
debian/rules vendored
View file

@ -16,14 +16,16 @@ export DH_OPTIONS
# Link special names to a template file.
# still need "*.files" to be done by hand
PLUGINS=aa alsa arts artsd audiofile cdparanoia colorspace common elements esd gnomevfs gsm jpeg lame mad mpeg2dec mpg123 oss sdl vorbis
PLUGINS=aa alsa arts artsd audiofile avifile cdparanoia colorspace common elements esd festival flac gnomevfs gsm jpeg lame mad mpeg2dec mpg123 oss sdl vorbis x
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; \
(cd debian; \
ln -fs gstreamer-plugin-template.postinst \
gstreamer-$$i.postinst; \
ln -fs gstreamer-plugin-template.postrm \
gstreamer-$$i.postrm; \
) \
done
configure: configure-stamp
@ -31,11 +33,14 @@ configure-stamp:
dh_testdir
# Add here commands to configure the package.
./configure \
--host=$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) \
--prefix=/usr \
--mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
--sysconfdir=/etc \
--with-configdir=/etc/gstreamer \
--disable-plugin-srcdir \
--with-win32-libdir=/usr/lib/win32 \
--disable-plugin-builddir \
--disable-tests \
--disable-examples \
--enable-docs-build \
@ -65,9 +70,18 @@ clean:
rm -rf debian/gstreamer
for i in $(PLUGINS); do \
rm -f debian/gstreamer-$$i.postinst; \
rm -f debian/gstreamer-$$i.prerm; \
rm -f debian/gstreamer-$$i.postrm; \
done
# FIXME
rm -rf \
docs/gst/gstreamer-decl-list.txt \
docs/gst/gstreamer-decl.txt \
docs/gst/gstreamer.html \
docs/libs/tmpl \
docs/plugins/gstreamer-plugins.types
find . -name Makefile | grep -v omega | xargs rm || true
install: DH_OPTIONS=
install: build
dh_testdir
@ -105,8 +119,8 @@ binary-indep: build install
dh_fixperms
# You may want to make some executables suid here.
# dh_suidregister
dh_installdeb
# dh_makeshlibs
dh_installdeb
# dh_perl
# dh_shlibdeps
dh_gencontrol
@ -138,8 +152,8 @@ binary-arch: build install setup-links
dh_fixperms
# You may want to make some executables suid here.
# dh_suidregister
dh_installdeb
dh_makeshlibs
dh_installdeb
# dh_perl
dh_shlibdeps -l`pwd`/debian/libgst0/usr/lib:`pwd`/debian/libgstmediaplay0/usr/lib:`pwd`/debian/libgsteditor0/usr/lib
dh_gencontrol