--- libogg-1.2.0~dfsg.orig/debian/rules
+++ libogg-1.2.0~dfsg/debian/rules
@@ -0,0 +1,84 @@
+#! /usr/bin/make -f
+
+NUM_CPUS = $(shell getconf _NPROCESSORS_ONLN 2>/dev/null)
+PARALLEL = $(subst parallel=,,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+NJOBS = -j$(or $(PARALLEL),$(NUM_CPUS),1)
+
+
+export DH_OPTIONS
+
+# Keep dpkg-buildpackage the hell out of messing with our compile flags,
+# we should trust upstream to know better than it what to use here.
+# We do append -g for release builds though, for the detached -dbg package.
+CPPFLAGS =
+CFLAGS = -g
+CXXFLAGS = -g
+LDFLAGS =
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS = -Wall -g -O0
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+ INSTALL_PROGRAM += -s
+endif
+
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+objdir = objs
+
+
+clean:
+ dh_testdir
+ dh_testroot
+ $(RM) build-stamp install-stamp
+ $(RM) -r $(objdir)
+ dh_clean
+
+
+$(objdir)/config.status: configure
+ dh_testdir
+ mkdir -p $(objdir)
+ cd $(objdir) && ../configure --host=$(DEB_HOST_GNU_TYPE) \
+ --build=$(DEB_BUILD_GNU_TYPE) \
+ --enable-static \
+ --prefix=/usr
+
+build: build-stamp
+build-stamp: $(objdir)/config.status
+ dh_testdir
+ $(MAKE) $(NJOBS) -C $(objdir)
+ touch $@
+
+
+install: install-stamp
+install-stamp:
+ dh_testdir
+ $(MAKE) -C $(objdir) install DESTDIR=$(CURDIR)/debian/tmp
+ touch $@
+
+
+binary: binary-arch
+
+binary-arch: DH_OPTIONS = -a
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_install --sourcedir=debian/tmp
+ dh_installdocs
+ dh_installchangelogs CHANGES
+ dh_strip --dbg-package=libogg-dbg
+ dh_compress
+ dh_fixperms
+ dh_makeshlibs -V -- -c4
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary-indep:
+
+
+.PHONY: clean build install binary binary-arch binary-indep
--- libogg-1.2.0~dfsg.orig/debian/control
+++ libogg-1.2.0~dfsg/debian/control
@@ -0,0 +1,34 @@
+Source: libogg
+Section: libs
+Priority: optional
+Maintainer: Ron Lee <ron@debian.org>
+Build-Depends: debhelper(>=5)
+Standards-Version: 3.8.4.0
+Homepage: http://xiph.org/ogg/
+Vcs-Git: git://git.debian.org/users/ron/libogg.git
+Vcs-Browser: http://git.debian.org/?p=users/ron/libogg.git;a=summary
+
+Package: libogg0
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}
+Description: Ogg bitstream library
+ Libogg is a library for manipulating ogg bitstreams. It handles
+ both making ogg bitstreams and getting packets from ogg bitstreams.
+
+Package: libogg-dev
+Architecture: any
+Section: libdevel
+Depends: libogg0 (= ${binary:Version})
+Description: Ogg bitstream library development files
+ The libogg-dev package contains the header files and documentation
+ needed to develop applications with libogg.
+
+Package: libogg-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends: libogg0 (= ${binary:Version})
+Description: debugging symbols for libogg
+ This package provides the detached debug symbols for libogg.
+
--- libogg-1.2.0~dfsg.orig/debian/libogg0.symbols
+++ libogg-1.2.0~dfsg/debian/libogg0.symbols
@@ -0,0 +1,72 @@
+libogg.so.0 libogg0 #MINVER#
+ ogg_packet_clear@Base 1.0rc3
+ ogg_page_bos@Base 1.0rc3
+ ogg_page_checksum_set@Base 1.0rc3
+ ogg_page_continued@Base 1.0rc3
+ ogg_page_eos@Base 1.0rc3
+ ogg_page_granulepos@Base 1.0rc3
+ ogg_page_packets@Base 1.0rc3
+ ogg_page_pageno@Base 1.0rc3
+ ogg_page_serialno@Base 1.0rc3
+ ogg_page_version@Base 1.0rc3
+ ogg_stream_check@Base 1.1.4~dfsg
+ ogg_stream_clear@Base 1.0rc3
+ ogg_stream_destroy@Base 1.0rc3
+ ogg_stream_eos@Base 1.0rc3
+ ogg_stream_flush@Base 1.0rc3
+ ogg_stream_init@Base 1.0rc3
+ ogg_stream_iovecin@Base 1.1.4~dfsg
+ ogg_stream_packetin@Base 1.0rc3
+ ogg_stream_packetout@Base 1.0rc3
+ ogg_stream_packetpeek@Base 1.0rc3
+ ogg_stream_pagein@Base 1.0rc3
+ ogg_stream_pageout@Base 1.0rc3
+ ogg_stream_reset@Base 1.0rc3
+ ogg_stream_reset_serialno@Base 1.1.0
+ ogg_sync_buffer@Base 1.0rc3
+ ogg_sync_check@Base 1.1.4~dfsg
+ ogg_sync_clear@Base 1.0rc3
+ ogg_sync_destroy@Base 1.0rc3
+ ogg_sync_init@Base 1.0rc3
+ ogg_sync_pageout@Base 1.0rc3
+ ogg_sync_pageseek@Base 1.0rc3
+ ogg_sync_reset@Base 1.0rc3
+ ogg_sync_wrote@Base 1.0rc3
+ oggpackB_adv1@Base 1.1.0
+ oggpackB_adv@Base 1.1.0
+ oggpackB_bits@Base 1.1.0
+ oggpackB_bytes@Base 1.1.0
+ oggpackB_get_buffer@Base 1.1.0
+ oggpackB_look1@Base 1.1.0
+ oggpackB_look@Base 1.1.0
+ oggpackB_read1@Base 1.1.0
+ oggpackB_read@Base 1.1.0
+ oggpackB_readinit@Base 1.1.0
+ oggpackB_reset@Base 1.1.0
+ oggpackB_write@Base 1.1.0
+ oggpackB_writealign@Base 1.1.0
+ oggpackB_writecheck@Base 1.1.4~dfsg
+ oggpackB_writeclear@Base 1.1.0
+ oggpackB_writecopy@Base 1.1.0
+ oggpackB_writeinit@Base 1.1.0
+ oggpackB_writetrunc@Base 1.1.0
+ oggpack_adv1@Base 1.0rc3
+ oggpack_adv@Base 1.0rc3
+#DEPRECATED: 1.1.0# oggpack_adv_huff@Base 1.0rc3
+ oggpack_bits@Base 1.0rc3
+ oggpack_bytes@Base 1.0rc3
+ oggpack_get_buffer@Base 1.0rc3
+ oggpack_look1@Base 1.0rc3
+ oggpack_look@Base 1.0rc3
+#DEPRECATED: 1.1.0# oggpack_look_huff@Base 1.0rc3
+ oggpack_read1@Base 1.0rc3
+ oggpack_read@Base 1.0rc3
+ oggpack_readinit@Base 1.0rc3
+ oggpack_reset@Base 1.0rc3
+ oggpack_write@Base 1.0rc3
+ oggpack_writealign@Base 1.1.0
+ oggpack_writecheck@Base 1.1.4~dfsg
+ oggpack_writeclear@Base 1.0rc3
+ oggpack_writecopy@Base 1.1.0
+ oggpack_writeinit@Base 1.0rc3
+ oggpack_writetrunc@Base 1.1.0
--- libogg-1.2.0~dfsg.orig/debian/compat
+++ libogg-1.2.0~dfsg/debian/compat
@@ -0,0 +1 @@
+5
--- libogg-1.2.0~dfsg.orig/debian/changelog
+++ libogg-1.2.0~dfsg/debian/changelog
@@ -0,0 +1,181 @@
+libogg (1.2.0~dfsg-1) unstable; urgency=low
+
+ * Alter default flushing behavior to span less often and use larger page
+ sizes when packet sizes are large.
+ * Documentation updates.
+ * Closes: #575675 (wish for new upstream release)
+
+ -- Ron Lee <ron@debian.org> Sat, 10 Apr 2010 23:23:54 +0930
+
+libogg (1.1.4~dfsg-2) unstable; urgency=low
+
+ * Add a -dbg package. Closes: #516663
+ * Keep dpkg-buildpackage out of our build flags. There is no reason to think
+ that it knows any better than upstream how hard or what should be optimised
+ in this package.
+
+ -- Ron Lee <ron@debian.org> Sat, 19 Dec 2009 08:12:06 +1030
+
+libogg (1.1.4~dfsg-1) unstable; urgency=low
+
+ * New upstream release.
+ * Adopt this package, with the blessing of Clint. Thanks.
+ * Enable parallel builds, and automatically fork to the number of CPUs
+ present unless told otherwise.
+ * Don't mangle config.{sub,guess} at build time, leave the package source
+ dir pristine as it was first packed. But update them to the current
+ versions now. Drop the dependency on autotools-dev.
+ * Support nostrip in DEB_BUILD_OPTIONS
+ * Clean out a bunch of dh_* goop that we aren't actually using.
+ * Simplify the *.install, drop the .la
+ * Drop the dependency on quilt. For the tiny little patches we are carrying
+ it's overkill and better done in git anyhow. Most of them should be passed
+ upstream, and the RFC's we'll hopefully have relicenced soon and will be
+ able to drop those too.
+
+ -- Ron Lee <ron@debian.org> Sun, 02 Aug 2009 10:00:26 +0930
+
+libogg (1.1.3-5) unstable; urgency=low
+
+ * Remove myself from Uploaders.
+
+ -- Clint Adams <schizo@debian.org> Fri, 27 Feb 2009 20:15:55 -0500
+
+libogg (1.1.3-4) unstable; urgency=low
+
+ * Bump to Standards-Version 3.8.0.
+ * Refresh external_rfc_links.diff to -p ab. closes: #485255.
+ * Add doc_links.diff from Martin Pitt to fix HTML link to ogg/ subdir.
+ closes: #463164.
+
+ -- Clint Adams <schizo@debian.org> Mon, 09 Jun 2008 20:38:54 -0400
+
+libogg (1.1.3-3) unstable; urgency=low
+
+ * Use dpkg-gensymbols, generating symbol files from packages in
+ snapshot.debian.net since Mole only offers symbols for the last version.
+
+ * Misc changes to debian/control:
+ + add Vcs-Bzr header.
+ + remove Christopher from Uploaders.
+ + do not make libogg-dev Depend: on libc6-dev.
+ + use ${binary:Version} instead of ${Source-Version}.
+
+ * Other changes:
+ + bump debian/compat to 5.
+ + use /usr/share/quilt/quilt.make.
+ + remove emacs cruft from changelog.
+ + bump Standards-Version to 3.7.3 (no changes needed).
+
+ -- Adeodato Simó <dato@net.com.org.es> Thu, 27 Dec 2007 12:56:00 +0100
+
+libogg (1.1.3-2) unstable; urgency=low
+
+ * Unbreak shlibs (bad argument to dh_makeshlibs; stick to plain -V).
+
+ * Install CHANGES from tarball as upstream changelog.
+
+ -- Adeodato Simó <dato@net.com.org.es> Fri, 20 Jan 2006 02:56:23 +0100
+
+libogg (1.1.3-1) unstable; urgency=low
+
+ * Switch maintenance to the Debian Xiph.org Maintainers (alioth/pkg-xiph).
+
+ * New upstream release packaged. (Closes: #342577)
+
+ As noted in README.Debian-source, the files rfc3533.txt and rfc3534.txt
+ have been removed from the doc/ subdirectory for their non-free license.
+
+ * Move HTML documentation from /usr/share/doc/libogg-dev itself to an html/
+ subdirectory of it. As it happens, this closes: #300680.
+
+ * Update debian/control:
+ + drop unnecessary build-dependencies on gawk and devscripts.
+ + drop version restriction on debhelper build-dependency, since it's
+ already satisfied with stable.
+
+ * Overhaul debian/rules, and switch to quilt for patch management. (This
+ closes: #347418, FTBFS with the previous rules file and the new make.)
+
+ * Add debian/compat file, instead of exporting DH_COMPAT.
+
+ * debian/patches:
+ + external_rfc_links.diff: patch HTML documentation to reference external
+ RFCs instead of local copies, and doc/Makefile.* not to install them,
+ since these are not present in the Debian repacked tarball.
+
+ * Update download URL in debian/copyright.
+
+ * Add debian/watch file.
+
+ * Bumped Standards-Version to 3.6.2 (no changes required).
+
+ * Drop useless/empty libao2/README.Debian.
+
+ -- Adeodato Simó <dato@net.com.org.es> Wed, 18 Jan 2006 04:08:36 +0100
+
+libogg (1.1.2-1) unstable; urgency=low
+
+ * New upstream.
+
+ -- Christopher L Cheney <ccheney@debian.org> Thu, 17 Mar 2005 21:00:00 -0600
+
+libogg (1.1.0-1) unstable; urgency=low
+
+ * New upstream.
+
+ -- Christopher L Cheney <ccheney@debian.org> Sun, 7 Dec 2003 22:00:00 -0600
+
+libogg (1.0.0-1) unstable; urgency=low
+
+ * New upstream.
+
+ -- Christopher L Cheney <ccheney@debian.org> Fri, 19 Jul 2002 09:00:00 -0500
+
+libogg (1.0rc3-1) unstable; urgency=low
+
+ * New upstream.
+ * added autotools target (config.* updater) to rules
+
+ -- Christopher L Cheney <ccheney@debian.org> Mon, 24 Dec 2001 11:00:00 -0600
+
+libogg (1.0rc2-1) unstable; urgency=low
+
+ * New upstream.
+
+ -- Christopher L Cheney <ccheney@debian.org> Sun, 12 Aug 2001 22:00:00 -0500
+
+libogg (1.0rc1-1) unstable; urgency=low
+
+ * New upstream.
+ * Updated config.* files (Closes: #94816)
+ * Changed clean to distclean.
+
+ -- Christopher L Cheney <ccheney@debian.org> Sun, 17 Jun 2001 20:00:00 -0500
+
+libogg (1.0beta4-1) unstable; urgency=low
+
+ * New upstream.
+
+ -- Christopher L Cheney <ccheney@debian.org> Mon, 26 Feb 2001 08:00:00 -0600
+
+libogg (1.0beta3-3) unstable; urgency=low
+
+ * Fixed Sections.
+ * Updated to Standards-Version to 3.5.1.0
+
+ -- Christopher L Cheney <ccheney@debian.org> Sat, 17 Feb 2001 18:00:47 -0600
+
+libogg (1.0beta3-2) unstable; urgency=low
+
+ * Fixed package description (closes: #78387)
+ * Fixed development library package name.
+
+ -- Christopher L Cheney <ccheney@debian.org> Sat, 3 Feb 2001 13:11:35 -0600
+
+libogg (1.0beta3-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Christopher L Cheney <ccheney@debian.org> Sun, 29 Oct 2000 01:11:57 -0500
+
--- libogg-1.2.0~dfsg.orig/debian/libogg0.install
+++ libogg-1.2.0~dfsg/debian/libogg0.install
@@ -0,0 +1 @@
+usr/lib/libogg.so.*
--- libogg-1.2.0~dfsg.orig/debian/copyright
+++ libogg-1.2.0~dfsg/debian/copyright
@@ -0,0 +1,36 @@
+This package was debianized by Christopher L Cheney <ccheney@debian.org> on
+Sun, 29 Oct 2000 01:11:57 -0500.
+
+It was downloaded from http://www.xiph.org/downloads/
+
+Upstream Author: Christopher Montgomery <monty@xiph.org>
+
+Copyright (c) 2002-2004, Xiph.org Foundation
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+- Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+
+- Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+- Neither the name of the Xiph.Org Foundation nor the names of its
+contributors may be used to endorse or promote products derived from
+this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
+CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
--- libogg-1.2.0~dfsg.orig/debian/libogg-dev.install
+++ libogg-1.2.0~dfsg/debian/libogg-dev.install
@@ -0,0 +1,6 @@
+usr/include/*
+usr/lib/libogg.a
+usr/lib/libogg.so
+usr/lib/pkgconfig/ogg.pc
+usr/share/aclocal/ogg.m4
+usr/share/doc/libogg-*/* usr/share/doc/libogg-dev/html