diff --git a/debian/Makefile.am b/debian/Makefile.am index 0f6d9ed663..95bb8d0867 100644 --- a/debian/Makefile.am +++ b/debian/Makefile.am @@ -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 diff --git a/debian/README.Debian b/debian/README.Debian index 72064b54c2..96407182ae 100644 --- a/debian/README.Debian +++ b/debian/README.Debian @@ -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: diff --git a/debian/changelog b/debian/changelog index 4902d8690f..d4166266f3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 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 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 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 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 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 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 Fri, 15 Jun 2001 04:02:21 -0400 + gstreamer (0.2.0-1) unstable; urgency=low * Added gstreamer-compprep manpage diff --git a/debian/control b/debian/control index 68f026f739..05d05621e6 100644 --- a/debian/control +++ b/debian/control @@ -2,9 +2,9 @@ Source: gstreamer Section: x11 Priority: optional Maintainer: David I. Lehn -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/ diff --git a/debian/gstreamer-arts.files b/debian/gstreamer-arts.files index 02dd469b35..450704b891 100644 --- a/debian/gstreamer-arts.files +++ b/debian/gstreamer-arts.files @@ -1 +1 @@ -usr/lib/gst/libartsdsink.* +usr/lib/gst/libgst_arts.* diff --git a/debian/gstreamer-artsd.files b/debian/gstreamer-artsd.files index 450704b891..02dd469b35 100644 --- a/debian/gstreamer-artsd.files +++ b/debian/gstreamer-artsd.files @@ -1 +1 @@ -usr/lib/gst/libgst_arts.* +usr/lib/gst/libartsdsink.* diff --git a/debian/gstreamer-avifile.files b/debian/gstreamer-avifile.files new file mode 100644 index 0000000000..f9535c64e3 --- /dev/null +++ b/debian/gstreamer-avifile.files @@ -0,0 +1 @@ +usr/lib/gst/libwincodec.* diff --git a/debian/gstreamer-common.files b/debian/gstreamer-common.files index 5081d6bfc7..41b016de5e 100644 --- a/debian/gstreamer-common.files +++ b/debian/gstreamer-common.files @@ -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.* diff --git a/debian/gstreamer-festival.files b/debian/gstreamer-festival.files new file mode 100644 index 0000000000..127f39fd2c --- /dev/null +++ b/debian/gstreamer-festival.files @@ -0,0 +1 @@ +usr/lib/gst/libgstfestival.* diff --git a/debian/gstreamer-flac.files b/debian/gstreamer-flac.files new file mode 100644 index 0000000000..06b032ff1f --- /dev/null +++ b/debian/gstreamer-flac.files @@ -0,0 +1 @@ +usr/lib/gst/libgstflac.* diff --git a/debian/gstreamer-mpeg2dec.files b/debian/gstreamer-mpeg2dec.files index 22a51b6fd3..e648f5cf1d 100644 --- a/debian/gstreamer-mpeg2dec.files +++ b/debian/gstreamer-mpeg2dec.files @@ -1 +1 @@ -usr/lib/gst/libmpeg2dec.* +usr/lib/gst/libgstmpeg2dec.* diff --git a/debian/gstreamer-plugin-template.postinst b/debian/gstreamer-plugin-template.postinst index b3a2e1807f..d1c4e4b602 100644 --- a/debian/gstreamer-plugin-template.postinst +++ b/debian/gstreamer-plugin-template.postinst @@ -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# diff --git a/debian/gstreamer-plugin-template.postrm b/debian/gstreamer-plugin-template.postrm new file mode 100644 index 0000000000..95f4dac0cf --- /dev/null +++ b/debian/gstreamer-plugin-template.postrm @@ -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 + diff --git a/debian/gstreamer-plugin-template.prerm b/debian/gstreamer-plugin-template.prerm deleted file mode 100644 index 4a581177ed..0000000000 --- a/debian/gstreamer-plugin-template.prerm +++ /dev/null @@ -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 - diff --git a/debian/gstreamer-runtime.files b/debian/gstreamer-runtime.files index 4a423fb75a..a471c04e4e 100644 --- a/debian/gstreamer-runtime.files +++ b/debian/gstreamer-runtime.files @@ -1 +1,2 @@ usr/bin/gstreamer-register +usr/bin/gstreamer-compprep diff --git a/debian/gstreamer-runtime.manpages b/debian/gstreamer-runtime.manpages index e8f16e780d..b27541d207 100644 --- a/debian/gstreamer-runtime.manpages +++ b/debian/gstreamer-runtime.manpages @@ -1 +1,2 @@ debian/gstreamer/usr/share/man/man1/gstreamer-register.1 +debian/gstreamer/usr/share/man/man1/gstreamer-compprep.1 diff --git a/debian/gstreamer-runtime.postinst b/debian/gstreamer-runtime.postinst index 8e649c5967..d1c4e4b602 100644 --- a/debian/gstreamer-runtime.postinst +++ b/debian/gstreamer-runtime.postinst @@ -1,47 +1,13 @@ #!/bin/sh -# postinst script for gstreamer -# -# see: dh_installdeb(1) set -e -# summary of how this script can be called: -# * `configure' -# * `abort-upgrade' -# * `abort-remove' `in-favour' -# -# * `abort-deconfigure' `in-favour' -# `removing' -# -# 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 - diff --git a/debian/gstreamer-runtime.postrm b/debian/gstreamer-runtime.postrm new file mode 100644 index 0000000000..591351d06a --- /dev/null +++ b/debian/gstreamer-runtime.postrm @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +if [ "$1" = "remove" ]; then + rm -rf /etc/gstreamer +fi + +#DEBHELPER# + +exit 0 + diff --git a/debian/gstreamer-tools.files b/debian/gstreamer-tools.files index 90104a2a6a..5597650d06 100644 --- a/debian/gstreamer-tools.files +++ b/debian/gstreamer-tools.files @@ -1,4 +1,3 @@ usr/bin/gstreamer-inspect usr/bin/gstreamer-launch usr/bin/gstreamer-complete -usr/bin/gstreamer-compprep diff --git a/debian/gstreamer-tools.manpages b/debian/gstreamer-tools.manpages index 5d97068e4c..b018accb63 100644 --- a/debian/gstreamer-tools.manpages +++ b/debian/gstreamer-tools.manpages @@ -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 diff --git a/debian/gstreamer-x.files b/debian/gstreamer-x.files new file mode 100644 index 0000000000..3174acf8ad --- /dev/null +++ b/debian/gstreamer-x.files @@ -0,0 +1 @@ +usr/lib/gst/libxvideosink.* diff --git a/debian/libgst0.postinst b/debian/libgst0.postinst deleted file mode 100644 index 6a6aff91d1..0000000000 --- a/debian/libgst0.postinst +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh -# postinst script for gstreamer -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `configure' -# * `abort-upgrade' -# * `abort-remove' `in-favour' -# -# * `abort-deconfigure' `in-favour' -# `removing' -# -# 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/libgsteditor0.postinst b/debian/libgsteditor0.postinst deleted file mode 100644 index 6a6aff91d1..0000000000 --- a/debian/libgsteditor0.postinst +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh -# postinst script for gstreamer -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `configure' -# * `abort-upgrade' -# * `abort-remove' `in-favour' -# -# * `abort-deconfigure' `in-favour' -# `removing' -# -# 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/libgstmediaplay0.postinst b/debian/libgstmediaplay0.postinst deleted file mode 100644 index 6a6aff91d1..0000000000 --- a/debian/libgstmediaplay0.postinst +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh -# postinst script for gstreamer -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `configure' -# * `abort-upgrade' -# * `abort-remove' `in-favour' -# -# * `abort-deconfigure' `in-favour' -# `removing' -# -# 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 index 86f7291149..046074aa4a 100755 --- a/debian/rules +++ b/debian/rules @@ -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