--- camlbz2-0.6.0.orig/debian/changelog +++ camlbz2-0.6.0/debian/changelog @@ -0,0 +1,72 @@ +camlbz2 (0.6.0-6build3) precise; urgency=low + + * Rebuild for OCaml 3.12.1. + + -- Colin Watson Sat, 19 Nov 2011 00:39:45 +0000 + +camlbz2 (0.6.0-6build2) oneiric; urgency=low + + * Rebuild to pick up ocaml fixes on armel. + + -- Adam Conrad Wed, 24 Aug 2011 16:26:28 -0600 + +camlbz2 (0.6.0-6build1) oneiric; urgency=low + + * Rebuild for OCaml 3.12.0. + + -- Colin Watson Mon, 16 May 2011 20:30:24 +0100 + +camlbz2 (0.6.0-6) unstable; urgency=low + + * Add dependency to libbz2-ocaml-dev (Closes: #603939) + * Add myself to Uploaders, and remove Stefano + + -- Stéphane Glondu Thu, 18 Nov 2010 23:06:25 +0100 + +camlbz2 (0.6.0-5) unstable; urgency=low + + * Rebuild with the good git branch and add 'debian-branch = build' in + debian/gbp.conf to avoid future mistake (Closes: #561710) + + -- Sylvain Le Gall Sat, 19 Dec 2009 22:40:58 +0000 + +camlbz2 (0.6.0-4) unstable; urgency=low + + [ Stefano Zacchiroli ] + * debian/copyright: + - bump copyright years + - reference versioned file under /usr/share/common-licenses/ + + [ Sylvain Le Gall ] + * Use dh-ocaml 0.9.1 features + * Upgrade Standards-Version to 3.8.3 (section ocaml) + * Install API documentation + * Use only clean target, distclean remove too much source file + * Add debian/gbp.conf to always use pristine-tar + + -- Sylvain Le Gall Sat, 19 Dec 2009 12:26:13 +0100 + +camlbz2 (0.6.0-3) unstable; urgency=low + + * uploading to unstable + * debian/control: bump build-dep on findlib, to ensure buildability in + unstable + * debian/rules: use ocaml.mk as a CDBS "rules" snippet, bump build-dep + on dh-ocaml to the minimum version implementing this + + -- Stefano Zacchiroli Wed, 25 Feb 2009 11:07:42 +0100 + +camlbz2 (0.6.0-2) experimental; urgency=low + + * Rebuild against OCaml 3.11 + * debian/rules: rely on the topgit makefile snippet instead of + implementing by hand the "tg-export" target. Patch README.source with + the relevant information + + -- Stefano Zacchiroli Tue, 10 Feb 2009 13:03:33 +0100 + +camlbz2 (0.6.0-1) experimental; urgency=low + + * Initial release (Closes: #504991) + + -- Stefano Zacchiroli Sun, 09 Nov 2008 00:36:01 +0100 --- camlbz2-0.6.0.orig/debian/rules +++ camlbz2-0.6.0/debian/rules @@ -0,0 +1,21 @@ +#!/usr/bin/make -f +include /usr/share/cdbs/1/rules/ocaml.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk +-include /usr/share/topgit/tg2quilt.mk + +LIB_NAME = bz2 +DLL_PKG_NAME = lib$(LIB_NAME)-ocaml +DEV_PKG_NAME = lib$(LIB_NAME)-ocaml-dev +DEST_DIR = $(CURDIR)/debian/$(DEV_PKG_NAME)$(OCAML_STDLIB_DIR) +DLL_DEST_DIR = $(CURDIR)/debian/$(DLL_PKG_NAME)$(OCAML_DLL_DIR) +QUILT_PATCH_DIR ?= debian/patches # can be removed once #513952 gets fixed + +DEB_MAKE_BUILD_TARGET = all +DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(DEST_DIR) +DEB_MAKE_CLEAN_TARGET = clean + +binary-install/$(DEV_PKG_NAME):: + mkdir -p $(DLL_DEST_DIR) + mv $(DEST_DIR)/bz2/*.so $(DLL_DEST_DIR) --- camlbz2-0.6.0.orig/debian/watch +++ camlbz2-0.6.0/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://forge.ocamlcore.org/frs/?group_id=63 \ + .*/camlbz2-([\d\.]*)\.tar\.gz --- camlbz2-0.6.0.orig/debian/clean +++ camlbz2-0.6.0/debian/clean @@ -0,0 +1,4 @@ +.depend +Makefile +config.log +config.status --- camlbz2-0.6.0.orig/debian/README.source +++ camlbz2-0.6.0/debian/README.source @@ -0,0 +1,14 @@ +Building camlbz2 Debian package +------------------------------- + +This source package uses quilt to apply and remove its patches. Please +refer to `/usr/share/doc/quilt/README.source' for information about +how to use quilt for source packages. + +The quilt series is generated from the Git repository, using TopGit +(from the `topgit' Debian package). This process is documented in +`/usr/share/doc/topgit/HOWTO-tg2quilt.gz'. + +The branch layout is those described in the aforementioned document. + + -- Stefano Zacchiroli Mon, 10 Feb 2009 13:09:42 +0100 --- camlbz2-0.6.0.orig/debian/compat +++ camlbz2-0.6.0/debian/compat @@ -0,0 +1 @@ +7 --- camlbz2-0.6.0.orig/debian/libbz2-ocaml-dev.doc-base +++ camlbz2-0.6.0/debian/libbz2-ocaml-dev.doc-base @@ -0,0 +1,8 @@ +Document: libbz2-ocaml-dev-ocamldoc-api-reference +Title: Camlbz2 API Reference +Abstract: API reference manual for libbz2-ocaml-dev +Section: Programming/OCaml + +Format: HTML +Index: /usr/share/doc/libbz2-ocaml-dev/doc/index.html +Files: /usr/share/doc/libbz2-ocaml-dev/doc/* --- camlbz2-0.6.0.orig/debian/gbp.conf +++ camlbz2-0.6.0/debian/gbp.conf @@ -0,0 +1,3 @@ +[DEFAULT] +pristine-tar = True +debian-branch = build --- camlbz2-0.6.0.orig/debian/control +++ camlbz2-0.6.0/debian/control @@ -0,0 +1,66 @@ +Source: camlbz2 +Section: ocaml +Priority: optional +Maintainer: Debian OCaml Maintainers +Uploaders: + Stéphane Glondu , + Sylvain Le Gall +Build-Depends: + debhelper (>> 7), + ocaml-nox (>= 3.11), + ocaml-findlib (>= 1.2.4), + libbz2-dev, + dh-ocaml (>= 0.9.1), + quilt, + cdbs +Standards-Version: 3.8.3 +Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/camlbz2.git +Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/camlbz2.git +Homepage: http://camlbz2.forge.ocamlcore.org + +Package: libbz2-ocaml-dev +Architecture: any +Depends: + libbz2-dev, + libbz2-ocaml (= ${binary:Version}), + ocaml-findlib, + ${ocaml:Depends}, + ${shlibs:Depends}, + ${misc:Depends} +Provides: ${ocaml:Provides} +Description: OCaml bindings for the bzip2 compression library + CamlBZ2 provides OCaml bindings for libbz2 (AKA bzip2), a popular + compression library which typically compresses better (i.e., smaller + resulting files) than gzip. + . + Using CamlBZ2 you can read and write compressed "files", where files + can be anything offering an in_channel/out_channel abstraction + (files, sockets, ...). + . + Also, with CamlBZ2 you can compress and decompress strings in memory + using the bzip2 compression algorithm. + . + This package contains all the development stuff you need to use + CamlBZ2 in your programs. + +Package: libbz2-ocaml +Architecture: any +Depends: + ${ocaml:Depends}, + ${shlibs:Depends}, + ${misc:Depends} +Provides: + ${ocaml:Provides} +Description: OCaml bindings for the bzip2 compression library + CamlBZ2 provides OCaml bindings for libbz2 (AKA bzip2), a popular + compression library which typically compresses better (i.e., smaller + resulting files) than gzip. + . + Using CamlBZ2 you can read and write compressed "files", where files + can be anything offering an in_channel/out_channel abstraction + (files, sockets, ...). + . + Also, with CamlBZ2 you can compress and decompress strings in memory + using the bzip2 compression algorithm. + . + This package contains only the shared runtime stub libraries. --- camlbz2-0.6.0.orig/debian/libbz2-ocaml-dev.docs +++ camlbz2-0.6.0/debian/libbz2-ocaml-dev.docs @@ -0,0 +1,4 @@ +BUGS +README +ROADMAP +doc/ --- camlbz2-0.6.0.orig/debian/copyright +++ camlbz2-0.6.0/debian/copyright @@ -0,0 +1,38 @@ +This package was debianized by Stefano Zacchiroli on +Sat, 08 Nov 2008 16:53:04 +0100 + +It was downloaded from + +Files: * +Copyright: © 2000-2005 Olivier Andrieu + © 2008-2009 Stefano Zacchiroli +License: LGPL-2.1 | other + As a special exception to the GNU Library General Public License, + you may link, statically or dynamically, a "work that uses the + Library" with a publicly distributed version of the Library to + produce an executable file containing portions of the Library, and + distribute that executable file under terms of your choice, without + any of the additional requirements listed in clause 6 of the GNU + Library General Public License. By "a publicly distributed version + of the Library", we mean either the unmodified Library as distributed + by INRIA, or a modified version of the Library that is distributed + under the conditions defined in clause 3 of the GNU Library General + Public License. This exception does not however invalidate any other + reasons why the executable file might be covered by the GNU Library + General Public License. + +CamlBZ2 is distributed under the terms of the GNU Lesser General +Public License version 2.1, with the special exception to it reported +above. + +The full text of the GNU Lessere General Public License version 2.1 +can be found in `/usr/share/common-licenses/LGPL-2.1'. + +Files: debian/* +Copyright: © 2008 Stefano Zacchiroli +License: GPL-3+ + + The Debian packaging is copyright Stefano Zacchiroli, and licensed + under the GNU General Public License (version 3 or above), see + `/usr/share/common-licenses/GPL-3' for the full text. + --- camlbz2-0.6.0.orig/debian/patches/series +++ camlbz2-0.6.0/debian/patches/series @@ -0,0 +1 @@ +fixes/make.diff -p1 --- camlbz2-0.6.0.orig/debian/patches/fixes/make.diff +++ camlbz2-0.6.0/debian/patches/fixes/make.diff @@ -0,0 +1,55 @@ +From: Stefano Zacchiroli +Subject: [PATCH] fixes/debian-build + +Various build-process fixes to for Debian packaging + +- proper distclean vs maintainer-clean target distinction +- install without failing when ocamlopt is not available + +Signed-off-by: Stefano Zacchiroli + +--- + Makefile.in | 13 ++++++++----- + 1 files changed, 8 insertions(+), 5 deletions(-) + +diff --git a/Makefile.in b/Makefile.in +index 4df223d..125f476 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -19,8 +19,8 @@ NAME := camlbz2 + SHORTNAME := bz2 + VERSION := 0.6.0 + +-INSTALLFILES := $(SHORTNAME).cmi $(SHORTNAME).cmx $(SHORTNAME).mli \ +- $(SHORTNAME).a $(SHORTNAME).cma $(SHORTNAME).cmxa \ ++INSTALLFILES := \ ++ $(SHORTNAME).cmi $(SHORTNAME).mli $(SHORTNAME).cma \ + dll$(NAME).so lib$(NAME).a + + DISTSRC := $(SHORTNAME).ml $(SHORTNAME).mli \ +@@ -35,6 +35,7 @@ DESTDIR = + ifndef OCAMLOPT + all : stub lib + else ++INSTALLFILES += $(SHORTNAME).cmx $(SHORTNAME).cmxa $(SHORTNAME).a + all : stub lib libopt + endif + +@@ -86,10 +87,12 @@ findlib-install: all + $(SHORTNAME) META $(INSTALLFILES) + + clean: +- rm -f *.cm* *.a *.so *.o *.opt test test.opt ++ rm -f *.cm* *.a *.so *.o *.opt test test.opt .depend + distclean: clean +- rm -rf .depend Makefile aclocal.m4 autom4te.cache/ doc/ +- rm -f config.log config.status configure ++ rm -f config.log config.status Makefile ++maintainer-clean: distclean ++ rm -rf aclocal.m4 doc/ ++ rm -f aclocal.m4 configure + + ifdef OCAMLDOC + doc : doc/index.html +-- +tg: (b462450..) fixes/make (depends on: upstream)