Preliminary attempt at creating a debian/ subdir to build various Debian
authoromnic <omnic@xiph.org>
Wed, 28 Jun 2000 06:27:12 +0000 (06:27 +0000)
committeromnic <omnic@xiph.org>
Wed, 28 Jun 2000 06:27:12 +0000 (06:27 +0000)
packages from CVS.

Michael.

svn path=/trunk/vorbis/; revision=508

14 files changed:
debian/README.examples [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/dirs [new file with mode: 0644]
debian/docs [new file with mode: 0644]
debian/examples [new file with mode: 0644]
debian/ogg123.dirs [new file with mode: 0644]
debian/ogg123.docs [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/vorbize.dirs [new file with mode: 0644]
debian/vorbize.docs [new file with mode: 0644]
debian/xmms-vorbis.dirs [new file with mode: 0644]
debian/xmms-vorbis.docs [new file with mode: 0644]

diff --git a/debian/README.examples b/debian/README.examples
new file mode 100644 (file)
index 0000000..8ad70b8
--- /dev/null
@@ -0,0 +1,7 @@
+Example tools using vorbis.
+
+The examples/ directory contains some example source files to build tools
+using the vorbis codec. the makefile is only included to show how they are
+compiled. it will *not* work.
+
+ -- Michael Beattie <mickyb@es.co.nz>, Mon, 26 Jun 2000 18:59:56 +1200
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..3cb60cc
--- /dev/null
@@ -0,0 +1,9 @@
+vorbis (0.0-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Michael Beattie <mickyb@es.co.nz>  Mon, 26 Jun 2000 18:59:56 +1200
+
+Local variables:
+mode: debian-changelog
+End:
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..9b27829
--- /dev/null
@@ -0,0 +1,64 @@
+Source: vorbis
+Section: sound
+Priority: optional
+Maintainer: Michael Beattie <mickyb@es.co.nz>
+Standards-Version: 3.0.1
+
+Package: libvorbis-dev
+Architecture: any
+Description: The OGG Vorbis lossy audio compression codec.
+ This Package contains the development library's and header files for
+ Ogg Vorbis.
+ .
+ Ogg Vorbis is a fully Open, non-proprietary, patent-and-royalty-free,
+ general-purpose compressed audio format for high quality (44.1-48.0kHz,
+ 16+ bit, polyphonic) audio and music at fixed and variable bitrates
+ from 16 to 128 kbps/channel. This places Vorbis in the same class as
+ audio representations including MPEG-1 audio layer 3, MPEG-4
+ audio (AAC and TwinVQ), and PAC.
+
+Package: xmms-vorbis
+Architecture: i386
+Depends: ${shlibs:Depends}, xmms
+Suggests: vorbize
+Description: An xmms plugin to play Ogg Vorbis files.
+ This Package contains a plugin for xmms to play files encoded using the
+ Ogg Vorbis lossy audio compression codec.
+ .
+ Ogg Vorbis is a fully Open, non-proprietary, patent-and-royalty-free,
+ general-purpose compressed audio format for high quality (44.1-48.0kHz,
+ 16+ bit, polyphonic) audio and music at fixed and variable bitrates
+ from 16 to 128 kbps/channel. This places Vorbis in the same class as
+ audio representations including MPEG-1 audio layer 3, MPEG-4
+ audio (AAC and TwinVQ), and PAC.
+
+Package: ogg123
+Architecture: any
+Depends: ${shlibs:Depends}
+Suggests: vorbize
+Description: A player for Ogg Vorbis files.
+ This Package contains a commandline player for files encoded using the
+ Ogg Vorbis lossy audio compression codec.
+ .
+ Ogg Vorbis is a fully Open, non-proprietary, patent-and-royalty-free,
+ general-purpose compressed audio format for high quality (44.1-48.0kHz,
+ 16+ bit, polyphonic) audio and music at fixed and variable bitrates
+ from 16 to 128 kbps/channel. This places Vorbis in the same class as
+ audio representations including MPEG-1 audio layer 3, MPEG-4
+ audio (AAC and TwinVQ), and PAC.
+
+Package: vorbize
+Architecture: any
+Depends: ${shlibs:Depends}
+Suggests: ogg123 | xmms-vorbis, mpg123
+Provides: mp3tovorbis
+Description: An encoder for the Ogg Vorbis lossy audio compression codec.
+ This Package contains the vorbis encoder, and an mp3tovorbis script,
+ which you can use to convert your .mp3 files to .ogg
+ .
+ Ogg Vorbis is a fully Open, non-proprietary, patent-and-royalty-free,
+ general-purpose compressed audio format for high quality (44.1-48.0kHz,
+ 16+ bit, polyphonic) audio and music at fixed and variable bitrates
+ from 16 to 128 kbps/channel. This places Vorbis in the same class as
+ audio representations including MPEG-1 audio layer 3, MPEG-4
+ audio (AAC and TwinVQ), and PAC.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..d02da05
--- /dev/null
@@ -0,0 +1,24 @@
+This package was debianized by Michael Beattie <mickyb@es.co.nz> on
+Mon, 26 Jun 2000 18:59:56 +1200.
+
+It was downloaded from http://www.xiph.org/ogg/vorbis/ (via CVS)
+
+Upstream Author(s): Monty <monty@xiph.org>
+
+Copyright:
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; version 2 dated June, 1991.
+
+   This program 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 General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program;  if not, write to the Free Software
+   Foundation, Inc., 675 Mass Ave., Cambridge, MA 02139, USA.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in /usr/doc/copyright/GPL'.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644 (file)
index 0000000..0d97de5
--- /dev/null
@@ -0,0 +1,3 @@
+usr/lib
+usr/include/vorbis/book
+usr/share/doc/libvorbis-dev/html
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..a7d3a85
--- /dev/null
@@ -0,0 +1,3 @@
+README
+todo.txt
+debian/README.examples
diff --git a/debian/examples b/debian/examples
new file mode 100644 (file)
index 0000000..a1adfae
--- /dev/null
@@ -0,0 +1,6 @@
+examples/Makefile
+examples/chaining_example.c
+examples/decoder_example.c
+examples/encoder_example.c
+examples/seeking_test.c
+examples/vorbisfile_example.c
diff --git a/debian/ogg123.dirs b/debian/ogg123.dirs
new file mode 100644 (file)
index 0000000..e772481
--- /dev/null
@@ -0,0 +1 @@
+usr/bin
diff --git a/debian/ogg123.docs b/debian/ogg123.docs
new file mode 100644 (file)
index 0000000..8f7da82
--- /dev/null
@@ -0,0 +1 @@
+vorbis-tools/README
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..0b32a9f
--- /dev/null
@@ -0,0 +1,168 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper. 
+# GNU copyright 1997 by Joey Hess.
+# Modified for Ogg Vorbis, 2000 by Michael Beattie
+
+# Uncomment this to turn on verbose mode. 
+#export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+export DH_COMPAT=1
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+build: build-stamp
+build-stamp:
+       dh_testdir
+
+       ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+       # Add here commands to compile the package.
+       $(MAKE)
+       cd vorbis-tools && $(MAKE) && $(MAKE) ogg123
+       cd xmms && $(MAKE)
+
+       touch build-stamp
+
+EXTRA_CLEAN= vorbis-tools cmdline xmms vq huff kmpg
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp 
+
+       # Add here commands to clean up after the build process.
+       -$(MAKE) distclean
+       -@for dir in $(EXTRA_CLEAN); do (cd $$dir && $(MAKE) $(MFLAGS) distclean) || exit 1; done
+
+       dh_clean
+
+
+# Build architecture-independent files here.
+binary-arch: libvorbis-dev ogg123 vorbize xmms-vorbis
+
+libvorbis-dev: DH_OPTIONS=-plibvorbis-dev
+libvorbis-dev: build
+       # Need this version of debhelper for DH_OPTIONS to work.
+       dh_testversion 1.1.17
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+       dh_installdirs
+
+       -cp -a include/vorbis/*.h `pwd`/debian/tmp/usr/include/vorbis/
+       -cp -a include/vorbis/book/*.vqh `pwd`/debian/tmp/usr/include/vorbis/book/
+       -cp lib/*.a `pwd`/debian/tmp/usr/lib/
+
+       -cp docs/*.html docs/*.png `pwd`/debian/tmp/usr/share/doc/libvorbis-dev/html/
+
+       dh_installdocs
+       dh_installexamples
+       dh_installmanpages
+#      dh_installinfo
+#      dh_undocumented
+       dh_installchangelogs 
+       dh_strip
+       dh_link
+       dh_compress
+       dh_fixperms
+       dh_installdeb
+#      dh_makeshlibs
+#      dh_shlibdeps
+       dh_gencontrol -u -isp
+       dh_md5sums
+       dh_builddeb
+
+
+
+ogg123: DH_OPTIONS=-pogg123
+ogg123: build
+       # Need this version of debhelper for DH_OPTIONS to work.
+       dh_testversion 1.1.17
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+       dh_installdirs
+
+       install -m 755 vorbis-tools/ogg123 `pwd`/debian/ogg123/usr/bin/
+
+       dh_installdocs
+#      dh_installmenu
+       dh_installmanpages
+#      dh_installinfo
+       dh_undocumented ogg123.1
+       dh_installchangelogs vorbis-tools/Changelog
+       dh_strip
+       dh_link
+       dh_compress
+       dh_fixperms
+       dh_installdeb
+#      dh_makeshlibs
+       dh_shlibdeps
+       dh_gencontrol -u -isp
+       dh_md5sums
+       dh_builddeb
+
+
+
+vorbize: DH_OPTIONS=-pvorbize
+vorbize: build
+       # Need this version of debhelper for DH_OPTIONS to work.
+       dh_testversion 1.1.17
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+       dh_installdirs
+
+       install -m 755 vorbis-tools/vorbize `pwd`/debian/vorbize/usr/bin/
+       install -m 755 vorbis-tools/mp3tovorbis `pwd`/debian/vorbize/usr/bin/
+
+       dh_installdocs
+#      dh_installmenu
+       dh_installmanpages
+#      dh_installinfo
+       dh_undocumented vorbise.1 mp3tovorbis.1
+       dh_installchangelogs vorbis-tools/Changelog
+       dh_strip
+       dh_link
+       dh_compress
+       dh_fixperms
+       dh_installdeb
+#      dh_makeshlibs
+       dh_shlibdeps
+       dh_gencontrol -u -isp
+       dh_md5sums
+       dh_builddeb
+
+
+
+xmms-vorbis: DH_OPTIONS=-pxmms-vorbis
+xmms-vorbis: build install
+       # Need this version of debhelper for DH_OPTIONS to work.
+       dh_testversion 1.1.17
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+       dh_installdirs
+
+       install -m 644 xmms/libvorbis.so `pwd`/debian/xmms-vorbis/usr/lib/xmms/Input/
+
+       dh_installdocs
+       dh_installchangelogs 
+       dh_strip
+       dh_link
+       dh_compress
+       dh_fixperms
+       dh_installdeb
+#
+       dh_shlibdeps
+       dh_gencontrol -u -isp
+       dh_md5sums
+       dh_builddeb
+
+
+# Build architecture-dependent files here.
+binary-indep:
+
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
diff --git a/debian/vorbize.dirs b/debian/vorbize.dirs
new file mode 100644 (file)
index 0000000..e772481
--- /dev/null
@@ -0,0 +1 @@
+usr/bin
diff --git a/debian/vorbize.docs b/debian/vorbize.docs
new file mode 100644 (file)
index 0000000..843d905
--- /dev/null
@@ -0,0 +1 @@
+vorbis-tools/README
\ No newline at end of file
diff --git a/debian/xmms-vorbis.dirs b/debian/xmms-vorbis.dirs
new file mode 100644 (file)
index 0000000..d382c88
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/xmms/Input
diff --git a/debian/xmms-vorbis.docs b/debian/xmms-vorbis.docs
new file mode 100644 (file)
index 0000000..f160f1d
--- /dev/null
@@ -0,0 +1 @@
+xmms/README