debian 0.4.0-1 packaging changes

Original commit message from CVS:
debian 0.4.0-1 packaging changes
This commit is contained in:
David I. Lehn 2002-08-09 09:20:58 +00:00
parent 8cffde6638
commit 1fa7ea2912
17 changed files with 55 additions and 73 deletions

View file

@ -12,7 +12,7 @@ GStreamer core is split into the following packages:
gstreamer-doc documentation gstreamer-doc documentation
gstreamer-tools useful tools gstreamer-tools useful tools
gstreamer-core core plugins gstreamer-core core plugins
gstreamer-lib-core core lib plugins gstreamer-core-libs core lib plugins
gstreamer-lib-core-dev development files for core lib plugins gstreamer-core-libs-dev development files for core lib plugins
David I. Lehn <dlehn@vt.edu> Fri, 19 Jan 2001 19:13:06 -0500 David I. Lehn <dlehn@vt.edu> Fri, 19 Jan 2001 19:13:06 -0500

20
debian/changelog vendored
View file

@ -1,3 +1,23 @@
gstreamer (0.4.0-1) unstable; urgency=low
* New upstream
* Update library package: libgstreamer0.3.4 -> libgstreamer0.4.0
* Add automake Python support to find python binary to run devhelp doc
helper script. This touches -every- Makefile.in and since the package
diff will already be large just use automake 1.6 instead of 1.5 as used
upstream. Sorry.
* Update config.{guess,sub}
* Temporarily comment out figures from manual so it builds
* Apply CVS patch for s/&percnt;/%/ in XML docs
* Added devhelp support
* Added gst-feedback to gstreamer-tools
* Break stuff: blindly reanme gstreamer-lib-core{-dev} to
gstreamer-core-libs{-dev}. Hard to chose naming as these are half-plugins
and half-linkable libs. Picking a scheme that also works with
gstreamer-plugins-* packages. Still looking for a better solution...
-- David I. Lehn <dlehn@vt.edu> Tue, 16 Jul 2002 02:20:40 -0400
gstreamer (0.3.4-1) unstable; urgency=low gstreamer (0.3.4-1) unstable; urgency=low
* New upstream * New upstream

18
debian/control vendored
View file

@ -2,16 +2,14 @@ Source: gstreamer
Section: libs Section: libs
Priority: optional Priority: optional
Maintainer: David I. Lehn <dlehn@vt.edu> Maintainer: David I. Lehn <dlehn@vt.edu>
Build-Depends: debhelper (>= 3.0.0), libxml2-dev (>= 2.4.16), zlib1g-dev (>= 1:1.1.4), libglib2.0-dev (>= 2.0.1), pkg-config (>= 0.11.0), libpopt-dev, bison, flex Build-Depends: debhelper (>= 3.0.0), libxml2-dev (>= 2.4.16), zlib1g-dev (>= 1:1.1.4), libglib2.0-dev (>= 2.0.4), pkg-config (>= 0.11.0), libpopt-dev, bison, flex
Build-Depends-Indep: debhelper (>= 3.0.0), gtk-doc-tools (>= 0.4), jade (>= 1.2.1), transfig (>= 3.2.3.c), docbook-utils (>= 0.6.9), xsltproc (>= 1.0.6), gs Build-Depends-Indep: debhelper (>= 3.0.0), gtk-doc-tools (>= 0.4), jade (>= 1.2.1), transfig (>= 3.2.3.c), docbook-utils (>= 0.6.9), xsltproc (>= 1.0.6), gs, python (>= 2.1)
Standards-Version: 3.5.6 Standards-Version: 3.5.6
Package: libgstreamer0.3.4 Package: libgstreamer0.4.0
Architecture: [alpha arm hppa i386 mips mipsel powerpc sparc] Architecture: [alpha arm hppa i386 mips mipsel powerpc sparc]
Section: libs Section: libs
Depends: ${shlibs:Depends} Depends: ${shlibs:Depends}
Conflicts: libgstreamer0.3.3
Replaces: libgstreamer0.3.3
Suggests: gstreamer-core, gstreamer-misc Suggests: gstreamer-core, gstreamer-misc
Description: Core GStreamer shared library Description: Core GStreamer shared library
Core GStreamer shared library Core GStreamer shared library
@ -19,7 +17,7 @@ Description: Core GStreamer shared library
Package: libgstreamer-dev Package: libgstreamer-dev
Architecture: any Architecture: any
Section: devel Section: devel
Depends: libgstreamer0.3.4 (= ${Source-Version}), libc6-dev, pkg-config, libpopt-dev, libglib2.0-dev Depends: libgstreamer0.4.0 (= ${Source-Version}), libc6-dev, pkg-config, libpopt-dev, libglib2.0-dev
Recommends: gstreamer-doc (= ${Source-Version}) Recommends: gstreamer-doc (= ${Source-Version})
Description: GStreamer development libraries and headers Description: GStreamer development libraries and headers
GStreamer development libraries and headers GStreamer development libraries and headers
@ -77,7 +75,7 @@ Description: Core element and library plugins for GStreamer
* standard scheduler * standard scheduler
* type detection support * type detection support
Package: gstreamer-lib-core Package: gstreamer-core-libs
Architecture: any Architecture: any
Section: libs Section: libs
Depends: ${shlibs:Depends} Depends: ${shlibs:Depends}
@ -88,10 +86,10 @@ Description: Core library plugins for GStreamer
* putbits * putbits
* getbits * getbits
Package: gstreamer-lib-core-dev Package: gstreamer-core-libs-dev
Architecture: any Architecture: any
Section: devel Section: devel
Depends: gstreamer-lib-core Depends: gstreamer-core-libs
Description: Development files for core library plugins for GStreamer Description: Development files for core library plugins for GStreamer
Development files for core library plugins for GStreamer Development files for core library plugins for GStreamer
Includes headers for library plugins from gstreamer-lib-core Includes headers for library plugins from gstreamer-core-libs

4
debian/gstreamer-core-libs-dev.files vendored Normal file
View file

@ -0,0 +1,4 @@
usr/include/gstreamer-*/gst/bytestream
usr/include/gstreamer-*/gst/control
usr/include/gstreamer-*/gst/getbits
usr/include/gstreamer-*/gst/putbits

View file

@ -1,7 +1,8 @@
usr/lib/gst/libgstautoplugcache.so usr/lib/gst/libgstautoplugcache.so
usr/lib/gst/libgstautoplugger.so usr/lib/gst/libgstautoplugger.so
usr/lib/gst/libgstbasicscheduler.so usr/lib/gst/libgstbasicscheduler.so
usr/lib/gst/libgstfastscheduler.so usr/lib/gst/libgstfastbasicscheduler.so
usr/lib/gst/libgstfaststandardscheduler.so
usr/lib/gst/libgststandardscheduler.so usr/lib/gst/libgststandardscheduler.so
usr/lib/gst/libgstelements.so usr/lib/gst/libgstelements.so
usr/lib/gst/libgstspider.so usr/lib/gst/libgstspider.so

View file

@ -3,8 +3,8 @@
set -e set -e
if [ "$1" = "configure" ]; then if [ "$1" = "configure" ]; then
gst-register --gst-mask=0 || true gst-register --gst-mask=0 > /dev/null || true
gst-compprep --gst-mask=0 || true gst-compprep --gst-mask=0 > /dev/null || true
fi fi
#DEBHELPER# #DEBHELPER#

View file

@ -3,8 +3,8 @@
set -e set -e
if [ "$1" = "remove" ]; then if [ "$1" = "remove" ]; then
gst-register --gst-mask=0 || true gst-register --gst-mask=0 > /dev/null || true
gst-compprep --gst-mask=0 || true gst-compprep --gst-mask=0 > /dev/null || true
fi fi
#DEBHELPER# #DEBHELPER#

View file

@ -1 +1,2 @@
usr/share/doc/gstreamer-doc usr/share/doc/gstreamer-doc
usr/share/devhelp/specs

2
debian/gstreamer-doc.links vendored Normal file
View file

@ -0,0 +1,2 @@
/usr/share/doc/gstreamer-doc/gstreamer /usr/share/devhelp/books/gstreamer
/usr/share/doc/gstreamer-doc/gstreamer-libs /usr/share/devhelp/books/gstreamer-libs

View file

@ -1,4 +0,0 @@
usr/include/gst/bytestream
usr/include/gst/control
usr/include/gst/getbits
usr/include/gst/putbits

View file

@ -3,8 +3,8 @@
set -e set -e
if [ "$1" = "configure" ]; then if [ "$1" = "configure" ]; then
gst-register --gst-mask=0 || true gst-register --gst-mask=0 > /dev/null || true
gst-compprep --gst-mask=0 || true gst-compprep --gst-mask=0 > /dev/null || true
fi fi
#DEBHELPER# #DEBHELPER#

View file

@ -1,4 +1,5 @@
usr/bin/gst-complete usr/bin/gst-complete
usr/bin/gst-feedback
usr/bin/gst-inspect usr/bin/gst-inspect
usr/bin/gst-launch usr/bin/gst-launch
usr/bin/gst-xmllaunch usr/bin/gst-xmllaunch

View file

@ -1,4 +1,5 @@
debian/gstreamer/usr/share/man/man1/gst-complete.1 debian/gstreamer/usr/share/man/man1/gst-complete.1
debian/gstreamer/usr/share/man/man1/gst-feedback.1
debian/gstreamer/usr/share/man/man1/gst-inspect.1 debian/gstreamer/usr/share/man/man1/gst-inspect.1
debian/gstreamer/usr/share/man/man1/gst-launch.1 debian/gstreamer/usr/share/man/man1/gst-launch.1
debian/gstreamer/usr/share/man/man1/gst-xmllaunch.1 debian/gstreamer/usr/share/man/man1/gst-xmllaunch.1

View file

@ -1,3 +1,3 @@
usr/include/gst/*.h usr/include/gstreamer-*/gst/*.h
usr/lib/pkgconfig usr/lib/pkgconfig
usr/lib/libgstreamer.{a,la,so} usr/lib/libgstreamer.{a,la,so}

56
debian/rules vendored
View file

@ -1,15 +1,7 @@
#!/usr/bin/make -f #!/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 #export DH_VERBOSE=1
# This is the debhelper compatability version to use.
export DH_COMPAT=3 export DH_COMPAT=3
# This has to be exported to make some magic below work.
export DH_OPTIONS export DH_OPTIONS
export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
@ -38,28 +30,19 @@ configure-stamp:
--with-html-dir=\$${prefix}/share/doc/gstreamer-doc \ --with-html-dir=\$${prefix}/share/doc/gstreamer-doc \
--sysconfdir=/etc \ --sysconfdir=/etc \
--with-configdir=/etc/gstreamer \ --with-configdir=/etc/gstreamer \
--enable-glib2 \
--disable-plugin-builddir \ --disable-plugin-builddir \
--disable-tests \ --disable-tests \
--disable-examples \ --disable-examples \
--enable-docs-build \ --enable-docs-build \
--disable-plugin-docs \
--enable-DEBUG \ --enable-DEBUG \
--enable-debug --enable-debug
# FIXME reenable when build is less painful
#--enable-docs-build \
#--disable-plugin-docs \
touch configure-stamp touch configure-stamp
build: configure-stamp build-stamp build: configure-stamp build-stamp
build-stamp: build-stamp:
dh_testdir dh_testdir
# Add here commands to compile the package.
# FIXME missing upstream, diff doesn't include these 0 byte files:
touch docs/fwg/base.css docs/manual/base.css
$(MAKE) $(MAKE)
touch build-stamp touch build-stamp
@ -75,12 +58,6 @@ clean:
dh_clean dh_clean
# FIXME some extra clean up
rm -rf debian/gstreamer
find . -name \*.stamp | xargs rm || true
find . -name Makefile | grep -v omega | xargs rm || true
install: DH_OPTIONS= install: DH_OPTIONS=
install: build install: build
dh_testdir dh_testdir
@ -101,13 +78,17 @@ install: build
-cp -r docs/fwg/gst-plugin-writers-guide \ -cp -r docs/fwg/gst-plugin-writers-guide \
docs/manual/gstreamer-manual \ docs/manual/gstreamer-manual \
debian/gstreamer/usr/share/doc/gstreamer-doc debian/gstreamer/usr/share/doc/gstreamer-doc
# devhelp files not installed by default
mkdir -p debian/gstreamer/usr/share/devhelp/specs
-cp docs/devhelp/*.devhelp debian/gstreamer/usr/share/devhelp/specs
# -doc lintian overrides # -doc lintian overrides
mkdir -p debian/gstreamer-doc/usr/share/lintian/overrides/ mkdir -p debian/gstreamer-doc/usr/share/lintian/overrides/
cp -a debian/gstreamer-doc.lintian debian/gstreamer-doc/usr/share/lintian/overrides/gstreamer-doc cp -a debian/gstreamer-doc.lintian debian/gstreamer-doc/usr/share/lintian/overrides/gstreamer-doc
dh_movefiles --sourcedir=debian/gstreamer dh_movefiles --sourcedir=debian/gstreamer
# Build architecture-independent files here. # Build architecture-independent files here.
# Pass -i to all debhelper commands in this target to reduce clutter. # Pass -i to all debhelper commands in this target to reduce clutter.
binary-indep: DH_OPTIONS=-i binary-indep: DH_OPTIONS=-i
@ -115,28 +96,16 @@ binary-indep: build install
# Need this version of debhelper for DH_OPTIONS to work. # Need this version of debhelper for DH_OPTIONS to work.
dh_testdir dh_testdir
dh_testroot dh_testroot
# dh_installdebconf
dh_installdocs -A debian/README.Debian dh_installdocs -A debian/README.Debian
dh_installexamples dh_installexamples
dh_installmenu dh_installmenu
# dh_installemacsen
# dh_installpam
# dh_installinit
# dh_installcron
dh_installman dh_installman
# dh_installinfo
# dh_undocumented
dh_installchangelogs dh_installchangelogs
dh_strip dh_strip
# dh_link dh_link
dh_compress dh_compress
dh_fixperms dh_fixperms
# You may want to make some executables suid here.
# dh_suidregister
# dh_makeshlibs
dh_installdeb dh_installdeb
# dh_perl
# dh_shlibdeps
dh_gencontrol dh_gencontrol
dh_md5sums dh_md5sums
dh_builddeb dh_builddeb
@ -148,28 +117,17 @@ binary-arch: build install
# Need this version of debhelper for DH_OPTIONS to work. # Need this version of debhelper for DH_OPTIONS to work.
dh_testdir dh_testdir
dh_testroot dh_testroot
# dh_installdebconf
dh_installdocs -A debian/README.Debian dh_installdocs -A debian/README.Debian
dh_installexamples dh_installexamples
dh_installmenu dh_installmenu
# dh_installemacsen
# dh_installpam
# dh_installinit
# dh_installcron
dh_installman dh_installman
# dh_installinfo
# dh_undocumented
dh_installchangelogs dh_installchangelogs
dh_strip dh_strip
# dh_link
dh_compress dh_compress
dh_fixperms dh_fixperms
# You may want to make some executables suid here.
# dh_suidregister
dh_makeshlibs dh_makeshlibs
dh_installdeb dh_installdeb
# dh_perl dh_shlibdeps -l`pwd`/debian/libgstreamer0.4.0/usr/lib
dh_shlibdeps -l`pwd`/debian/libgstreamer0.3.4/usr/lib
dh_gencontrol dh_gencontrol
dh_md5sums dh_md5sums
dh_builddeb dh_builddeb