--- ocaml-vorbis-0.4.0.orig/debian/control
+++ ocaml-vorbis-0.4.0/debian/control
@@ -0,0 +1,41 @@
+Source: ocaml-vorbis
+Section: devel
+Priority: optional
+Maintainer: Liquidsoap Debian Packaging <savonet-debian@lists.sourceforge.net>
+Uploaders: Samuel Mimram <smimram@debian.org>, Romain Beauxis <toots@rastageeks.org>
+Build-Depends: debhelper (>> 4.0.0), dpkg-dev (>= 1.13.19), pkg-config, libvorbis-dev, ocaml-nox (>= 3.10.1), ocaml-findlib (>= 1.2.1-4~bpo40+3), libogg-ocaml-dev (>= 0.1.1-1)
+Standards-Version: 3.7.3
+Homepage: http://savonet.sourceforge.net/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-ocaml-maint/trunk/packages/ocaml-vorbis
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-vorbis/trunk/
+
+Package: libvorbis-ocaml
+Section: libs
+Architecture: any
+Depends: ocaml-base-nox-${F:OCamlABI}, ${shlibs:Depends}
+Description: OCaml bindings for vorbis library
+ This OCaml library interfaces the vorbis C library. It can be used to
+ decode from or encode to the Ogg Vorbis compressed audio format as well
+ as to get informations about an Ogg Vorbis file.
+ .
+ Ogg Vorbis is a fully open, non-proprietary, patent-and-royalty-free,
+ general-purpose compressed audio format for audio and music at fixed
+ and variable bitrates from 16 to 128 kbps/channel.
+ .
+ This package contains only the shared runtime stub libraries.
+
+Package: libvorbis-ocaml-dev
+Section: libdevel
+Architecture: any
+Depends: ocaml-nox-${F:OCamlABI}, libvorbis-dev, libvorbis-ocaml (= ${binary:Version}), libogg-ocaml-dev
+Description: OCaml bindings for the vorbis library
+ This OCaml library interfaces the vorbis C library. It can be used to
+ decode from or encode to the Ogg Vorbis compressed audio format as well
+ as to get informations about an Ogg Vorbis file.
+ .
+ Ogg Vorbis is a fully open, non-proprietary, patent-and-royalty-free,
+ general-purpose compressed audio format for audio and music at fixed
+ and variable bitrates from 16 to 128 kbps/channel.
+ .
+ This package contains all the development stuff you need to use ocaml-vorbis
+ in your programs.
--- ocaml-vorbis-0.4.0.orig/debian/rules
+++ ocaml-vorbis-0.4.0/debian/rules
@@ -0,0 +1,79 @@
+#!/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
+
+OCAMLABI := $(shell ocamlc -version)
+OFILES := $(patsubst %.in,%,$(wildcard debian/*.in))
+
+DESTDIR = $(CURDIR)/debian/tmp/$(shell ocamlc -where)
+CFLAGS = -Wall -g -fPIC
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+        CFLAGS += -O0
+else
+        CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+        INSTALL_PROGRAM += -s
+endif
+
+ocamlinit:
+	for f in $(OFILES); do sed -e 's/@OCamlABI@/$(OCAMLABI)/g' $$f.in > $$f; done
+
+config.status: configure
+	dh_testdir
+	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+
+build: ocamlinit build-stamp
+build-stamp: config.status
+	dh_testdir
+
+	$(MAKE)
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+
+	[ ! -f Makefile ] || $(MAKE) distclean
+	rm -f config.log config.status
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	mkdir -p $(DESTDIR)
+	$(MAKE) install OCAMLFIND_DESTDIR=$(DESTDIR) OCAMLFIND_LDCONF=ignore
+	$(MAKE) doc
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs CHANGES
+	dh_installdocs
+	dh_installexamples
+	dh_install --sourcedir=debian/tmp --list-missing
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol -- -VF:OCamlABI="$(OCAMLABI)"
+	dh_md5sums
+	dh_builddeb
+
+binary-indep:
+
+binary: binary-arch
+.PHONY: build clean binary-indep binary-arch binary install ocamlinit
--- ocaml-vorbis-0.4.0.orig/debian/watch
+++ ocaml-vorbis-0.4.0/debian/watch
@@ -0,0 +1,3 @@
+version=3
+
+http://sf.net/savonet/ocaml-vorbis-([0-9\.]*)\.tar\.gz debian uupdate
--- ocaml-vorbis-0.4.0.orig/debian/libvorbis-ocaml-dev.docs
+++ ocaml-vorbis-0.4.0/debian/libvorbis-ocaml-dev.docs
@@ -0,0 +1,2 @@
+README
+doc/html
--- ocaml-vorbis-0.4.0.orig/debian/libvorbis-ocaml.install.in
+++ ocaml-vorbis-0.4.0/debian/libvorbis-ocaml.install.in
@@ -0,0 +1 @@
+usr/lib/ocaml/@OCamlABI@/vorbis/dllvorbis_stubs.so	usr/lib/ocaml/@OCamlABI@/stublibs/
--- ocaml-vorbis-0.4.0.orig/debian/svn-deblayout
+++ ocaml-vorbis-0.4.0/debian/svn-deblayout
@@ -0,0 +1,3 @@
+origDir=../upstream
+origUrl=svn+ssh://svn.debian.org/svn/pkg-ocaml-maint/trunk/packages/ocaml-vorbis/upstream
+tagsUrl=svn+ssh://svn.debian.org/svn/pkg-ocaml-maint/tags/packages/ocaml-vorbis
--- ocaml-vorbis-0.4.0.orig/debian/changelog
+++ ocaml-vorbis-0.4.0/debian/changelog
@@ -0,0 +1,144 @@
+ocaml-vorbis (0.4.0-3~bpo40+2) etch-backports; urgency=low
+
+  * Tightened build dependencies 
+
+ -- Romain Beauxis <toots@rastageeks.org>  Thu, 15 May 2008 02:55:57 +0200
+
+ocaml-vorbis (0.4.0-3~bpo40+1) etch-backports; urgency=low
+
+  * Rebuild for etch-backports.
+
+ -- Romain Beauxis <toots@rastageeks.org>  Fri, 04 Apr 2008 15:33:20 +0100
+
+ocaml-vorbis (0.4.0-3) unstable; urgency=low
+
+  * Changed maintainers to liquidsoap packaging team
+  * Updated standards to 3.7.3 (no changes)
+  * Added Homepage: to description
+  * Updated copyright file
+  * Removed unused dpatch
+
+ -- Romain Beauxis <toots@rastageeks.org>  Tue, 11 Dec 2007 02:19:28 +0100
+
+ocaml-vorbis (0.4.0-2) unstable; urgency=low
+
+  * Upload to unstable.
+  * Added a dependency from libvorbis-ocaml-dev to libogg-ocaml-dev.
+
+ -- Samuel Mimram <smimram@debian.org>  Sat, 17 Nov 2007 17:39:35 +0000
+
+ocaml-vorbis (0.4.0-1) experimental; urgency=low
+
+  * New upstream release.
+  * Removed link.dpatch, integrated upstream.
+
+ -- Samuel Mimram <smimram@debian.org>  Mon, 12 Nov 2007 23:08:39 +0000
+
+ocaml-vorbis (0.3.1-3) unstable; urgency=low
+
+  * Corrected link.dpatch, closes: #442961.
+
+ -- Samuel Mimram <smimram@debian.org>  Tue, 18 Sep 2007 21:54:19 +0000
+
+ocaml-vorbis (0.3.1-2) unstable; urgency=low
+
+  * Rebuild with OCaml 3.10.
+  * Using dpatch to handle patches.
+  * Added link.dpatch to correctly link shared library, closes: #433055.
+
+ -- Samuel Mimram <smimram@debian.org>  Sat, 08 Sep 2007 13:35:42 +0200
+
+ocaml-vorbis (0.3.1-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Samuel Mimram <smimram@debian.org>  Fri, 22 Jun 2007 19:41:44 +0200
+
+ocaml-vorbis (0.3.0-2) unstable; urgency=low
+
+  * Upload to unstable.
+
+ -- Samuel Mimram <smimram@debian.org>  Wed, 11 Apr 2007 16:57:23 +0200
+
+ocaml-vorbis (0.3.0-1) experimental; urgency=low
+
+  * New upstream release.
+
+ -- Samuel Mimram <smimram@debian.org>  Fri, 16 Mar 2007 18:27:53 +0100
+
+ocaml-vorbis (0.2.3-2) unstable; urgency=low
+
+  * Added a missing build-dependency on pkg-config.
+
+ -- Samuel Mimram <smimram@debian.org>  Mon, 20 Nov 2006 23:06:55 +0000
+
+ocaml-vorbis (0.2.3-1) unstable; urgency=low
+
+  * Messed up the last upload: this package shouldn't be native.
+
+ -- Samuel Mimram <smimram@debian.org>  Mon, 20 Nov 2006 20:57:40 +0100
+
+ocaml-vorbis (0.2.3) unstable; urgency=low
+
+  * New upstream release.
+  * Made the package binNMU-safe.
+
+ -- Samuel Mimram <smimram@debian.org>  Mon, 20 Nov 2006 20:50:46 +0100
+
+ocaml-vorbis (0.2.2-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Samuel Mimram <smimram@debian.org>  Fri,  7 Jul 2006 08:42:54 +0000
+
+ocaml-vorbis (0.2.1-3) unstable; urgency=low
+
+  * Rebuild with OCaml 3.09.2.
+  * Updated standards version to 3.7.2, no changes needed.
+
+ -- Samuel Mimram <smimram@debian.org>  Thu, 18 May 2006 22:40:15 +0000
+
+ocaml-vorbis (0.2.1-2) unstable; urgency=low
+
+  * Rebuild with OCaml 3.09.1.
+  * Correctly handling OCaml's ABI stuff in package.
+
+ -- Samuel Mimram <smimram@debian.org>  Sun,  8 Jan 2006 18:14:07 +0100
+
+ocaml-vorbis (0.2.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Updated to OCaml 3.09.0.
+  * No longer hardcoding OCaml's ABI in debian/* files.
+  * Updated watch file.
+
+ -- Samuel Mimram <smimram@debian.org>  Tue, 15 Nov 2005 22:09:58 +0100
+
+ocaml-vorbis (0.2.0-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Samuel Mimram <smimram@debian.org>  Thu, 21 Apr 2005 20:36:16 +0200
+
+ocaml-vorbis (0.1.1-3) unstable; urgency=medium
+
+  * Rebuilding with OCaml 3.08.3.
+  * Updated my email.
+
+ -- Samuel Mimram <smimram@debian.org>  Tue, 22 Mar 2005 17:10:53 +0100
+
+ocaml-vorbis (0.1.1-2) unstable; urgency=low
+
+  * Added -fPIC to the CFLAGS.
+  * Added a watch file.
+  * The -dev does not need to depend on ocaml-findlib.
+  * Removed dependency to libogg-dev which was redundant.
+  * Test for a native compiler is handled by the configure.
+
+ -- Samuel Mimram <samuel.mimram@ens-lyon.org>  Sun,  8 Aug 2004 18:34:16 +0200
+
+ocaml-vorbis (0.1.1-1) unstable; urgency=low
+
+  * Initial release, closes: #256933.
+
+ -- Samuel Mimram <samuel.mimram@ens-lyon.org>  Wed, 30 Jun 2004 00:32:02 +0200
--- ocaml-vorbis-0.4.0.orig/debian/compat
+++ ocaml-vorbis-0.4.0/debian/compat
@@ -0,0 +1 @@
+4
--- ocaml-vorbis-0.4.0.orig/debian/libvorbis-ocaml-dev.install.in
+++ ocaml-vorbis-0.4.0/debian/libvorbis-ocaml-dev.install.in
@@ -0,0 +1,4 @@
+usr/lib/ocaml/@OCamlABI@/vorbis/META
+usr/lib/ocaml/@OCamlABI@/vorbis/*.a
+usr/lib/ocaml/@OCamlABI@/vorbis/*.cm*
+usr/lib/ocaml/@OCamlABI@/vorbis/*.ml*
--- ocaml-vorbis-0.4.0.orig/debian/libvorbis-ocaml-dev.examples
+++ ocaml-vorbis-0.4.0/debian/libvorbis-ocaml-dev.examples
@@ -0,0 +1 @@
+examples/*
--- ocaml-vorbis-0.4.0.orig/debian/libvorbis-ocaml-dev.doc-base
+++ ocaml-vorbis-0.4.0/debian/libvorbis-ocaml-dev.doc-base
@@ -0,0 +1,9 @@
+Document: libvorbis-ocaml-dev
+Title: OCaml Vorbis module documentation
+Author: Samuel Mimram
+Abstract: Documentation of the Vorbis module
+Section: Apps/Programming
+
+Format: HTML
+Index: /usr/share/doc/libvorbis-ocaml-dev/html/index.html
+Files: /usr/share/doc/libvorbis-ocaml-dev/html/*
--- ocaml-vorbis-0.4.0.orig/debian/copyright
+++ ocaml-vorbis-0.4.0/debian/copyright
@@ -0,0 +1,15 @@
+This package was debianized by Samuel Mimram <samuel.mimram@ens-lyon.org> on
+Sun,  2 Nov 2003 20:18:05 +0100.
+
+It was downloaded from http://savonet.sourceforge.net/
+
+Upstream Authors: the Savonet Team <savonet-devl@lists.sourceforge.net>
+
+Copyright (c) 2003-2007 the Savonet Team.
+
+The ocaml-vorbis library is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License
+(GPL) as published by the Free Software Foundation; either version
+2 of the License, or (at your option) any later version.
+
+The license text is contained in /usr/share/common-licenses/GPL.
