diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000000000000000000000000000000000000..15eb4552f8ac4c5e4d1946049ee7b8a4a90c358d --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,6 @@ +ao for Debian +---------------------- + +<possible notes regarding this package - if none, delete this file> + + -- Chris Cheney <ccheney@debian.org>, Sun, 29 Oct 2000 00:39:24 -0500 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000000000000000000000000000000000000..441637c28b59fc49eb43d8a43cbda66f67ef8ec7 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,10 @@ +ao (0.5.0-1) unstable; urgency=low + + * Initial Release. + + -- Chris Cheney <ccheney@debian.org> Sun, 29 Oct 2000 00:39:24 -0500 + +Local variables: +mode: debian-changelog +add-log-mailing-address "ccheney@debian.org" +End: diff --git a/debian/control b/debian/control new file mode 100644 index 0000000000000000000000000000000000000000..a565df95a20f390edd6869c1d3f1da3b070f2d1a --- /dev/null +++ b/debian/control @@ -0,0 +1,20 @@ +Source: ao +Section: devel +Priority: optional +Maintainer: Chris Cheney <ccheney@debian.org> +Build-Depends: debhelper +Standards-Version: 3.1.1 + +Package: libao-dev +Architecture: any +Depends: libao (= ${Source-Version}), libc6-dev +Description: Cross Platform Audio Output Library Development + The libao-devel package contains the header files and documentation + needed to develop applications with libao. + +Package: libao +Architecture: any +Depends: ${shlibs:Depends} +Description: Cross Platform Audio Output Library + Libao is a cross platform audio output library. It currently supports + ESD, OSS, Solaris, and IRIX. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000000000000000000000000000000000000..410d6f62dc49a16f9ae7f7835901a6939a48837e --- /dev/null +++ b/debian/copyright @@ -0,0 +1,16 @@ +This package was debianized by Chris Cheney <ccheney@debian.org> on +Sun, 29 Oct 2000 00:39:24 -0500. + +It was downloaded from http://www.xiph.org/ogg/vorbis/download/ + +Upstream Author(s): Stan Seibert <indigo@aztec.asu.edu> + +Copyright: + +Originally Copyright (C) Aaron Holtzman - May 1999 +Changes Copyright (C) Stan Seibert - July 2000 + +You are free to distribute this software under the terms of the GNU +General Public License. On Debian systems, the complete text of the +GNU General Public License can be found in +/usr/share/common-licenses/GPL file. diff --git a/debian/libao-dev.dirs b/debian/libao-dev.dirs new file mode 100644 index 0000000000000000000000000000000000000000..7504337e6be66a5432f27a584e1a04a9390e304d --- /dev/null +++ b/debian/libao-dev.dirs @@ -0,0 +1,4 @@ +usr/lib +usr/lib/ao +usr/include +usr/include/ao diff --git a/debian/libao-dev.docs b/debian/libao-dev.docs new file mode 100644 index 0000000000000000000000000000000000000000..3f6d8213b775cbcdef231631e059945ab8b8953a --- /dev/null +++ b/debian/libao-dev.docs @@ -0,0 +1,6 @@ +README +TODO +doc/API +doc/DRIVERS +doc/USAGE +doc/WANTED diff --git a/debian/libao-dev.files b/debian/libao-dev.files new file mode 100644 index 0000000000000000000000000000000000000000..e24e7058e463c5d057672f5f3ffb8785c3a11886 --- /dev/null +++ b/debian/libao-dev.files @@ -0,0 +1,6 @@ +usr/bin/ao-config +usr/include/ao/*.h +usr/lib/*.so +usr/lib/*.la +usr/lib/ao/*.la +usr/share/aclocal/ao.m4 diff --git a/debian/libao-dev.postinst b/debian/libao-dev.postinst new file mode 100644 index 0000000000000000000000000000000000000000..3283283526c38909f38fd2deed3f25e1253c029f --- /dev/null +++ b/debian/libao-dev.postinst @@ -0,0 +1,47 @@ +#! /bin/sh +# postinst script for libao +# +# 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) + + ;; + + 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/libao-dev.postrm b/debian/libao-dev.postrm new file mode 100644 index 0000000000000000000000000000000000000000..dc09d2f951f8c94c3140859b3bd93be213392bf7 --- /dev/null +++ b/debian/libao-dev.postrm @@ -0,0 +1,36 @@ +#! /bin/sh +# postrm script for libao +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postrm> `remove' +# * <postrm> `purge' +# * <old-postrm> `upgrade' <new-version> +# * <new-postrm> `failed-upgrade' <old-version> +# * <new-postrm> `abort-install' +# * <new-postrm> `abort-install' <old-version> +# * <new-postrm> `abort-upgrade' <old-version> +# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> +# for details, see /usr/share/doc/packaging-manual/ + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 0 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + + diff --git a/debian/libao-dev.preinst b/debian/libao-dev.preinst new file mode 100644 index 0000000000000000000000000000000000000000..1e76e2640016e50f4cc21ee995029be009e2a3f3 --- /dev/null +++ b/debian/libao-dev.preinst @@ -0,0 +1,42 @@ +#! /bin/sh +# preinst script for libao +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <new-preinst> `install' +# * <new-preinst> `install' <old-version> +# * <new-preinst> `upgrade' <old-version> +# * <old-preinst> `abort-upgrade' <new-version> +# +# For details see /usr/share/doc/packaging-manual/ + +case "$1" in + install|upgrade) +# if [ "$1" = "upgrade" ] +# then +# start-stop-daemon --stop --quiet --oknodo \ +# --pidfile /var/run/libao.pid \ +# --exec /usr/sbin/libao 2>/dev/null || true +# fi + ;; + + abort-upgrade) + ;; + + *) + echo "preinst 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/libao-dev.prerm b/debian/libao-dev.prerm new file mode 100644 index 0000000000000000000000000000000000000000..1f6bc691ff5ef8436e53a0fb24b3afcd2d5ce178 --- /dev/null +++ b/debian/libao-dev.prerm @@ -0,0 +1,37 @@ +#! /bin/sh +# prerm script for libao +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <prerm> `remove' +# * <old-prerm> `upgrade' <new-version> +# * <new-prerm> `failed-upgrade' <old-version> +# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> +# * <deconfigured's-prerm> `deconfigure' `in-favour' +# <package-being-installed> <version> `removing' +# <conflicting-package> <version> +# for details, see /usr/share/doc/packaging-manual/ + +case "$1" in + remove|upgrade|deconfigure) +# install-info --quiet --remove /usr/info/libao.info.gz + ;; + failed-upgrade) + ;; + *) + echo "prerm 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/libao-dev.undocumented b/debian/libao-dev.undocumented new file mode 100644 index 0000000000000000000000000000000000000000..3fd7b70384063279ada11d0ad08ea5d9b082c2a0 --- /dev/null +++ b/debian/libao-dev.undocumented @@ -0,0 +1 @@ +ao-config.1 diff --git a/debian/libao.dirs b/debian/libao.dirs new file mode 100644 index 0000000000000000000000000000000000000000..ca32fe894e713af784f72cff0e80562daad20c2e --- /dev/null +++ b/debian/libao.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/lib/ao diff --git a/debian/libao.files b/debian/libao.files new file mode 100644 index 0000000000000000000000000000000000000000..54ebcd2220bcbf54bbddd228b449a69e4baa5ec5 --- /dev/null +++ b/debian/libao.files @@ -0,0 +1,2 @@ +usr/lib/*.so.* +usr/lib/ao/*.so diff --git a/debian/libao.postinst b/debian/libao.postinst new file mode 100644 index 0000000000000000000000000000000000000000..bc97dbee9d439c87aeed0c3c8a852706a5815ec4 --- /dev/null +++ b/debian/libao.postinst @@ -0,0 +1,47 @@ +#! /bin/sh +# postinst script for libao +# +# 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/libao.postrm b/debian/libao.postrm new file mode 100644 index 0000000000000000000000000000000000000000..dc09d2f951f8c94c3140859b3bd93be213392bf7 --- /dev/null +++ b/debian/libao.postrm @@ -0,0 +1,36 @@ +#! /bin/sh +# postrm script for libao +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postrm> `remove' +# * <postrm> `purge' +# * <old-postrm> `upgrade' <new-version> +# * <new-postrm> `failed-upgrade' <old-version> +# * <new-postrm> `abort-install' +# * <new-postrm> `abort-install' <old-version> +# * <new-postrm> `abort-upgrade' <old-version> +# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> +# for details, see /usr/share/doc/packaging-manual/ + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 0 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + + diff --git a/debian/libao.preinst b/debian/libao.preinst new file mode 100644 index 0000000000000000000000000000000000000000..1e76e2640016e50f4cc21ee995029be009e2a3f3 --- /dev/null +++ b/debian/libao.preinst @@ -0,0 +1,42 @@ +#! /bin/sh +# preinst script for libao +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <new-preinst> `install' +# * <new-preinst> `install' <old-version> +# * <new-preinst> `upgrade' <old-version> +# * <old-preinst> `abort-upgrade' <new-version> +# +# For details see /usr/share/doc/packaging-manual/ + +case "$1" in + install|upgrade) +# if [ "$1" = "upgrade" ] +# then +# start-stop-daemon --stop --quiet --oknodo \ +# --pidfile /var/run/libao.pid \ +# --exec /usr/sbin/libao 2>/dev/null || true +# fi + ;; + + abort-upgrade) + ;; + + *) + echo "preinst 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/libao.prerm b/debian/libao.prerm new file mode 100644 index 0000000000000000000000000000000000000000..1f6bc691ff5ef8436e53a0fb24b3afcd2d5ce178 --- /dev/null +++ b/debian/libao.prerm @@ -0,0 +1,37 @@ +#! /bin/sh +# prerm script for libao +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <prerm> `remove' +# * <old-prerm> `upgrade' <new-version> +# * <new-prerm> `failed-upgrade' <old-version> +# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> +# * <deconfigured's-prerm> `deconfigure' `in-favour' +# <package-being-installed> <version> `removing' +# <conflicting-package> <version> +# for details, see /usr/share/doc/packaging-manual/ + +case "$1" in + remove|upgrade|deconfigure) +# install-info --quiet --remove /usr/info/libao.info.gz + ;; + failed-upgrade) + ;; + *) + echo "prerm 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 index 0000000000000000000000000000000000000000..a3816950f5ea1b92fced71ac6e6500cfe6cc0980 --- /dev/null +++ b/debian/rules @@ -0,0 +1,104 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 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 + +# shared library versions, option 1 +version=0.0.0 +major=0 +#version=2.0.5 +#major=2 +# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so +#version=`ls src/.libs/lib*.so.* | \ +# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` +#major=`ls src/.libs/lib*.so.* | \ +# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + ./autogen.sh --prefix=/usr + + 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) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp. + $(MAKE) install DESTDIR=`pwd`/debian/tmp + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install +# dh_testversion + dh_testdir + dh_testroot + # + # build libao${major} package by moving files from libao-dev + # +# dh_movefiles -plibao$(major) \ +# usr/lib/libao.so.$(major) \ +# usr/lib/libao.so.$(version) + + dh_movefiles +# dh_installdebconf + dh_installdocs + dh_installexamples +# dh_installmenu +# dh_installemacsen +# dh_installpam +# dh_installinit +# dh_installcron + dh_installmanpages +# dh_installinfo + dh_undocumented + dh_installchangelogs CHANGES + dh_link + dh_strip + dh_compress + dh_fixperms + # You may want to make some executables suid here. +# dh_suidregister + dh_makeshlibs + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure