ocaml-sqlite3 (1.5.6-3) debian-dir only changes

Summary

 debian/README.source                                                           |   16 
 debian/changelog                                                               |  163 ++++++++++
 debian/clean                                                                   |    1 
 debian/compat                                                                  |    1 
 debian/control                                                                 |   57 +++
 debian/copyright                                                               |   32 +
 debian/gbp.conf                                                                |    2 
 debian/libsqlite3-ocaml-dev.doc-base                                           |    9 
 debian/libsqlite3-ocaml-dev.docs                                               |    1 
 debian/libsqlite3-ocaml-dev.install.in                                         |    5 
 debian/libsqlite3-ocaml.install.in                                             |    4 
 debian/patches/0001-Install-no-mktop.patch                                     |   33 ++
 debian/patches/0002-Do-native-test-only-if-sqlite3.cmxa-has-been-compile.patch |   37 ++
 debian/patches/series                                                          |    2 
 debian/rules                                                                   |   34 ++
 debian/watch                                                                   |    3 
 16 files changed, 400 insertions(+)

    
download this patch

Patch contents

--- ocaml-sqlite3-1.5.6.orig/debian/libsqlite3-ocaml-dev.doc-base
+++ ocaml-sqlite3-1.5.6/debian/libsqlite3-ocaml-dev.doc-base
@@ -0,0 +1,9 @@
+Document: libsqlite3-ocaml-dev
+Title: API for Sqlite 3.* databases
+Author: Christian Szegedy, Markus Mottl
+Abstract: Ocamldoc-generated documentation for OCaml sqlite3 bindings
+Section: Programming/OCaml
+
+Format: HTML
+Index: /usr/share/doc/libsqlite3-ocaml-dev/doc/index.html
+Files: /usr/share/doc/libsqlite3-ocaml-dev/doc/*.html
--- ocaml-sqlite3-1.5.6.orig/debian/README.source
+++ ocaml-sqlite3-1.5.6/debian/README.source
@@ -0,0 +1,16 @@
+ocaml-sqlite3 Debian source package
+===================================
+
+Patching upstream sources
+-------------------------
+
+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
+dom-{apply,save}-patches, from the dh-ocaml (>= 0.4.2) package. Please
+refer to the appendix about Git in the Debian OCaml Packaging Policy
+(from the same package).
+
+ -- Stephane Glondu <steph@glondu.net>, Tue, 30 Jun 2009 20:53:27 +0200
--- ocaml-sqlite3-1.5.6.orig/debian/libsqlite3-ocaml-dev.docs
+++ ocaml-sqlite3-1.5.6/debian/libsqlite3-ocaml-dev.docs
@@ -0,0 +1 @@
+doc
--- ocaml-sqlite3-1.5.6.orig/debian/changelog
+++ ocaml-sqlite3-1.5.6/debian/changelog
@@ -0,0 +1,163 @@
+ocaml-sqlite3 (1.5.6-3) unstable; urgency=low
+
+  * Add Do-native-test-only-if-sqlite3.cmxa-has-been-compile.patch
+    (fixes FTBFS on bytecode architectures)
+
+ -- Stéphane Glondu <glondu@debian.org>  Sun, 18 Oct 2009 15:35:03 +0200
+
+ocaml-sqlite3 (1.5.6-2) unstable; urgency=low
+
+  * New upstream release
+  * Switch packaging to dh-ocaml 0.9
+  * Convert debian/rules to dh
+  * debian/control:
+    - update my e-mail address and remove DMUA
+    - update Standards-Version to 3.8.3 (no changes)
+
+ -- Stéphane Glondu <glondu@debian.org>  Sun, 18 Oct 2009 02:42:10 +0200
+
+ocaml-sqlite3 (1.5.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Switch patches to quilt, and add README.source
+  * debian/control:
+    - update Standards-Version to 3.8.2
+    - add Homepage field
+  * Add versioned dependency on ocaml-findlib to ease OCaml 3.11.1
+    transition
+
+ -- Stephane Glondu <steph@glondu.net>  Tue, 30 Jun 2009 20:50:53 +0200
+
+ocaml-sqlite3 (1.4.0-2) unstable; urgency=low
+
+  [ Stefano Zacchiroli ]
+  * set archive section to "ocaml"
+
+  [ Stephane Glondu ]
+  * Move .cma and META to libsqlite3-ocaml, build .cmxs
+
+ -- Stephane Glondu <steph@glondu.net>  Mon, 18 May 2009 16:00:26 +0200
+
+ocaml-sqlite3 (1.4.0-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Samuel Mimram <smimram@debian.org>  Mon, 06 Apr 2009 19:45:35 +0200
+
+ocaml-sqlite3 (1.3.0-2) unstable; urgency=low
+
+  * Upload to unstable.
+
+ -- Samuel Mimram <smimram@debian.org>  Wed, 25 Feb 2009 10:01:43 +0100
+
+ocaml-sqlite3 (1.3.0-1) experimental; urgency=low
+
+  * New Upstream Version.
+  * Switch packaging to git.
+  * Build-depend on dh-ocaml and use predefined variables and ocamlinit in
+    rules.
+  * Update compat to 7.
+  * Update standards version to 3.8.0.
+
+ -- Samuel Mimram <smimram@debian.org>  Thu, 19 Feb 2009 08:56:13 +0100
+
+ocaml-sqlite3 (1.2.0-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Stephane Glondu <steph@glondu.net>  Mon, 02 Jun 2008 16:12:36 +0200
+
+ocaml-sqlite3 (1.0.3-1) unstable; urgency=low
+
+  [ Stephane Glondu ]
+  * Added DM-Upload-Allowed to debian/control.
+
+  [ Samuel Mimram ]
+  * New upstream release.
+
+ -- Samuel Mimram <smimram@debian.org>  Sat, 26 Apr 2008 16:18:55 +0200
+
+ocaml-sqlite3 (1.0.1-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Samuel Mimram <smimram@debian.org>  Sat, 05 Apr 2008 14:59:17 +0200
+
+ocaml-sqlite3 (1.0.0-1) unstable; urgency=low
+
+  [ Samuel Mimram ]
+  * New upstream release.
+  * Updated standards version to 3.7.3.
+
+  [ Stefano Zacchiroli ]
+  * fix vcs-svn field to point just above the debian/ dir
+
+  [ Stephane Glondu ]
+  * Added debian/libsqlite3-ocaml-dev.doc-base, closes: #464440.
+  * Raising priority to optional.
+  * Adding me to uploaders.
+
+ -- Samuel Mimram <smimram@debian.org>  Sun, 23 Mar 2008 13:22:08 +0100
+
+ocaml-sqlite3 (0.23.0-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Samuel Mimram <smimram@debian.org>  Sun, 16 Sep 2007 16:50:04 +0000
+
+ocaml-sqlite3 (0.22.0-1) unstable; urgency=low
+
+  * New upstream release.
+  * Build with OCaml 3.10.
+  * Tighten dependency on libsqlite3-dev.
+
+ -- Samuel Mimram <smimram@debian.org>  Sat, 08 Sep 2007 00:29:35 +0200
+
+ocaml-sqlite3 (0.21.0-1.1) experimental; urgency=low
+
+  * NMU with maintainer authorization
+  * rebuilt against ocaml 3.10.0
+
+ -- Enrico Tassi <gareuselesinge@debian.org>  Mon, 16 Jul 2007 14:29:11 +0200
+
+ocaml-sqlite3 (0.21.0-1) unstable; urgency=low
+
+  [ Enrico Tassi ]
+  * New upstream release.
+
+ -- Samuel Mimram <smimram@debian.org>  Thu, 21 Jun 2007 23:18:54 +0200
+
+ocaml-sqlite3 (0.16.0-2) unstable; urgency=low
+
+  * Updated install-no-mktop.dpatch in order to correctly install on
+    non-native archs, closes: #421052.
+
+ -- Samuel Mimram <smimram@debian.org>  Sun, 06 May 2007 14:07:31 +0200
+
+ocaml-sqlite3 (0.16.0-1) unstable; urgency=low
+
+  * New upstream release.
+  * Updated install-no-mktop.dpatch.
+
+ -- Samuel Mimram <smimram@debian.org>  Tue, 24 Apr 2007 23:33:27 +0200
+
+ocaml-sqlite3 (0.13.0-1) unstable; urgency=low
+
+  * Changed upstream, we are now using Markus Mottl's version. Updated
+    copyright and watch files.
+  * New upstream release, closes: #411365.
+
+ -- Samuel Mimram <smimram@debian.org>  Thu,  8 Mar 2007 22:42:23 +0100
+
+ocaml-sqlite3 (0.3.0-1) unstable; urgency=low
+
+  * New upstream release.
+  * Removed gc.dpatch and native-linking.dpatch, integrated upstream.
+
+ -- Samuel Mimram <smimram@debian.org>  Thu,  4 Jan 2007 17:11:10 +0000
+
+ocaml-sqlite3 (0.2.0-1) unstable; urgency=low
+
+  * Initial release, closes: #405008.
+
+ -- Samuel Mimram <smimram@debian.org>  Sat, 30 Dec 2006 14:21:42 +0100
--- ocaml-sqlite3-1.5.6.orig/debian/libsqlite3-ocaml-dev.install.in
+++ ocaml-sqlite3-1.5.6/debian/libsqlite3-ocaml-dev.install.in
@@ -0,0 +1,5 @@
+@OCamlStdlibDir@/sqlite3/*.cmi
+@OCamlStdlibDir@/sqlite3/*.ml*
+@OCamlStdlibDir@/sqlite3/*.a
+OPT: @OCamlStdlibDir@/sqlite3/*.cmx
+OPT: @OCamlStdlibDir@/sqlite3/*.cmxa
--- ocaml-sqlite3-1.5.6.orig/debian/copyright
+++ ocaml-sqlite3-1.5.6/debian/copyright
@@ -0,0 +1,32 @@
+This package was debianized by Samuel Mimram <smimram@debian.org> on
+Sat, 30 Dec 2006 14:21:42 +0100.
+
+It was downloaded from http://ocaml.info/home/ocaml_sources.html
+
+Upstream Authors: Christian Szegedy <csdontspam871@metamatix.org>
+                  Markus Mottl <markus.mottl@gmail.com>
+
+Copyright (C) 2005 Christian Szegedy <csdontspam871@metamatix.org>
+Copyright (C) 2007 Markus Mottl <markus.mottl@gmail.com>
+
+License:
+
+    Permission is hereby granted, free of charge, to any person
+    obtaining a copy of this software and associated documentation files
+    (the "Software"), to deal in the Software without restriction,
+    including without limitation the rights to use, copy, modify, merge,
+    publish, distribute, sublicense, and/or sell copies of the Software,
+    and to permit persons to whom the Software is furnished to do so,
+    subject to the following conditions:
+
+    The above copyright notice and this permission notice shall be
+    included in all copies or substantial portions of the Software.
+
+    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+    OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+    NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+    BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+    ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+    CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+    SOFTWARE.
--- ocaml-sqlite3-1.5.6.orig/debian/watch
+++ ocaml-sqlite3-1.5.6/debian/watch
@@ -0,0 +1,3 @@
+version=3
+
+http://www.ocaml.info/ocaml_sources/ ocaml-sqlite3-(.*)\.tar\.gz
--- ocaml-sqlite3-1.5.6.orig/debian/libsqlite3-ocaml.install.in
+++ ocaml-sqlite3-1.5.6/debian/libsqlite3-ocaml.install.in
@@ -0,0 +1,4 @@
+@OCamlDllDir@/*.so
+@OCamlStdlibDir@/sqlite3/sqlite3.cma
+@OCamlStdlibDir@/sqlite3/META
+OPT: sqlite3.cmxs @OCamlStdlibDir@/sqlite3
--- ocaml-sqlite3-1.5.6.orig/debian/control
+++ ocaml-sqlite3-1.5.6/debian/control
@@ -0,0 +1,57 @@
+Source: ocaml-sqlite3
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
+Uploaders:
+ Samuel Mimram <smimram@debian.org>,
+ Stéphane Glondu <glondu@debian.org>
+Build-Depends:
+ debhelper (>= 7.2.11~),
+ quilt (>= 0.46-7~),
+ ocaml-nox (>= 3.11.1-3~),
+ camlp4,
+ libsqlite3-dev (>= 3.3.9),
+ ocaml-findlib (>= 1.2.5),
+ dh-ocaml (>= 0.9)
+Standards-Version: 3.8.3
+Section: ocaml
+Homepage: http://ocaml.info/home/ocaml_sources.html#ocaml-sqlite3
+Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/ocaml-sqlite3.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/ocaml-sqlite3.git
+
+Package: libsqlite3-ocaml
+Architecture: any
+Depends:
+ ${ocaml:Depends},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Provides: ${ocaml:Provides}
+Replaces: libsqlite3-ocaml-dev (<< 1.4.0-2)
+Conflicts: libsqlite3-ocaml-dev (<< 1.4.0-2)
+Breaks: ocsigen (<< 1.2.2)
+Description: Embeddable SQL Database for OCaml Programs
+ This package provides an interface for the SQLite3 embeddable SQL
+ database. It allows your OCaml programs to use a SQL database without
+ depending on any external software; the resulting system can be
+ entirely self-contained.
+ .
+ This package provides the files necessary to run dynamically-linked
+ OCaml programs with SQLite3.
+
+Package: libsqlite3-ocaml-dev
+Architecture: any
+Depends:
+ libsqlite3-dev,
+ ${ocaml:Depends},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Provides: ${ocaml:Provides}
+Recommends: ocaml-findlib
+Breaks: ocsigen (<< 1.2.2)
+Description: Embeddable SQL Database for OCaml Programs
+ This package provides an interface for the SQLite3 embeddable SQL
+ database. It allows your OCaml programs to use a SQL database without
+ depending on any external software; the resulting system can be
+ entirely self-contained.
+ .
+ This package provides the files necessary to develop new applications that
+ use SQLite3 for OCaml.
--- ocaml-sqlite3-1.5.6.orig/debian/gbp.conf
+++ ocaml-sqlite3-1.5.6/debian/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+pristine-tar = True
--- ocaml-sqlite3-1.5.6.orig/debian/rules
+++ ocaml-sqlite3-1.5.6/debian/rules
@@ -0,0 +1,34 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/ocaml/ocamlvars.mk
+
+DESTDIR := $(CURDIR)/debian/tmp/$(OCAML_STDLIB_DIR)
+
+%:
+	dh --with quilt,ocaml $@
+
+.PHONY: override_dh_auto_configure
+override_dh_auto_configure:
+	dh_auto_configure -- LDFLAGS="-Wl,-z,defs"
+
+.PHONY: override_dh_auto_build
+override_dh_auto_build:
+	$(MAKE) bytecode docs
+ifneq ($(OCAML_OPT_ARCH),)
+	$(MAKE) opt
+	ocamlopt -I . -shared -linkall -o sqlite3.cmxs sqlite3.cmxa
+endif
+
+.PHONY: override_dh_auto_clean
+override_dh_auto_clean:
+	[ ! -f Makefile ] || $(MAKE) distclean
+
+.PHONY: override_dh_auto_install
+override_dh_auto_install:
+	mkdir -p $(CURDIR)/debian/tmp$(OCAML_DLL_DIR)
+	mkdir -p $(CURDIR)/debian/tmp/usr/bin
+	$(MAKE) prefix=$(CURDIR)/debian/tmp/usr install OCAMLFIND_DESTDIR=$(DESTDIR) OCAMLFIND_LDCONF=ignore
--- ocaml-sqlite3-1.5.6.orig/debian/compat
+++ ocaml-sqlite3-1.5.6/debian/compat
@@ -0,0 +1 @@
+7
--- ocaml-sqlite3-1.5.6.orig/debian/clean
+++ ocaml-sqlite3-1.5.6/debian/clean
@@ -0,0 +1 @@
+sqlite3.cmxs
--- ocaml-sqlite3-1.5.6.orig/debian/patches/series
+++ ocaml-sqlite3-1.5.6/debian/patches/series
@@ -0,0 +1,2 @@
+0001-Install-no-mktop.patch
+0002-Do-native-test-only-if-sqlite3.cmxa-has-been-compile.patch
--- ocaml-sqlite3-1.5.6.orig/debian/patches/0002-Do-native-test-only-if-sqlite3.cmxa-has-been-compile.patch
+++ ocaml-sqlite3-1.5.6/debian/patches/0002-Do-native-test-only-if-sqlite3.cmxa-has-been-compile.patch
@@ -0,0 +1,37 @@
+From: Stephane Glondu <steph@glondu.net>
+Date: Sun, 18 Oct 2009 15:27:11 +0200
+Subject: [PATCH] Do native test only if sqlite3.cmxa has been compiled
+
+Signed-off-by: Stephane Glondu <steph@glondu.net>
+---
+ Makefile.in   |    2 +-
+ test/Makefile |    2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index 9f0ef79..0e03f2c 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -32,7 +32,7 @@ bytecode: sqlite3.cma sqlite3top
+ 
+ opt: sqlite3.cmxa
+ 
+-test:	bytecode opt
++test:
+ 	@cd test && $(MAKE) all
+ 
+ clean:
+diff --git a/test/Makefile b/test/Makefile
+index 6f44141..4073644 100644
+--- a/test/Makefile
++++ b/test/Makefile
+@@ -5,7 +5,7 @@ TESTS = $(wildcard *.ml)
+ all: bytecode opt
+ 
+ bytecode: $(TESTS:%.ml=%.bc)
+-opt: $(TESTS:%.ml=%.exe)
++opt: $(if $(wildcard ../sqlite3.cmxa),$(TESTS:%.ml=%.exe),)
+ 
+ %.bc: %.ml
+ 	ocamlc -w Ae -warn-error Ae -I .. str.cma sqlite3.cma $< -o $@
+-- 
--- ocaml-sqlite3-1.5.6.orig/debian/patches/0001-Install-no-mktop.patch
+++ ocaml-sqlite3-1.5.6/debian/patches/0001-Install-no-mktop.patch
@@ -0,0 +1,33 @@
+From: Samuel Mimram <smimram@debian.org>
+Date: Tue, 30 Jun 2009 20:38:46 +0200
+Subject: [PATCH] Install no mktop
+
+Allow installation without building in native mode
+
+Signed-off-by: Samuel Mimram <smimram@debian.org>
+Signed-off-by: Stephane Glondu <steph@glondu.net>
+---
+ Makefile.in |    8 ++------
+ 1 files changed, 2 insertions(+), 6 deletions(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index 675324f..9f0ef79 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -42,13 +42,9 @@ clean:
+ distclean: clean
+ 	rm -rf autom4te.* config.* META Makefile doc
+ 
+-# install rebuilds sqlite3top to point to the findlib-managed dll and not the
+-# one in .
+-install: sqlite3.cma sqlite3.cmxa sqlite3top
++install: sqlite3.cma
+ 	[ -f *.so ] && SO_FILES=*.so; \
+-	ocamlfind install sqlite3 META sqlite3.cmi sqlite3.mli sqlite3.cma *.cmxa *.a *.cmx $$SO_FILES
+-	ocamlfind ocamlmktop -o sqlite3top -package "sqlite3" sqlite3.cma
+-	$(INSTALL) sqlite3top $(bindir)/sqlite3top
++	ocamlfind install sqlite3 META sqlite3.cmi sqlite3.mli sqlite3.cma $(wildcard *.cmxa *.a *.cmx) $$SO_FILES
+ 
+ remove: uninstall
+ uninstall:
+--