[Pkg-ocaml-maint-commits] r1152 - in packages/ocamldbi: . trunk trunk/debian
Richard Jones
rwmj-guest@costa.debian.org
Thu, 31 Mar 2005 13:44:42 +0000
Author: rwmj-guest
Date: 2005-03-31 13:44:40 +0000 (Thu, 31 Mar 2005)
New Revision: 1152
Added:
packages/ocamldbi/trunk/
packages/ocamldbi/trunk/debian/
packages/ocamldbi/trunk/debian/README.Debian
packages/ocamldbi/trunk/debian/changelog
packages/ocamldbi/trunk/debian/compat
packages/ocamldbi/trunk/debian/control
packages/ocamldbi/trunk/debian/copyright
packages/ocamldbi/trunk/debian/docs
packages/ocamldbi/trunk/debian/libdbi-ocaml-dev.doc-base
packages/ocamldbi/trunk/debian/libdbi-ocaml-dev.files
packages/ocamldbi/trunk/debian/rules
packages/ocamldbi/trunk/ocamldbi_0.9.11.orig.tar.gz
Log:
New upstream release (0.9.11).
Added: packages/ocamldbi/trunk/debian/README.Debian
===================================================================
--- packages/ocamldbi/trunk/debian/README.Debian 2005-03-30 23:46:11 UTC (rev 1151)
+++ packages/ocamldbi/trunk/debian/README.Debian 2005-03-31 13:44:40 UTC (rev 1152)
@@ -0,0 +1,32 @@
+Debian README for OcamlDBI
+--------------------------
+
+To compile OcamlDBI-using files to bytecode:
+
+ocamlfind ocamlc -package dbi dbi.cma -package pcre pcre.cma \
+ -package postgres postgres.cma dbi_postgres.cmo \
+ -package mysql mysql.cma dbi_mysql.cmo \
+ -package perl perl4caml.cma dbi_perl.cmo \
+ /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a
+ *.ml
+
+To compile OcamlDBI-using files to native code:
+
+ocamlfind ocamlopt -package dbi dbi.cmx -package pcre pcre.cmxa \
+ -package postgres postgres.cmxa dbi_postgres.cmx \
+ -package mysql mysql.cmxa dbi_mysql.cmx \
+ -package perl perl4caml.cmxa dbi_perl.cmx \
+ /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a \
+ *.ml
+
+Note: you'll need to make sure that, even if you use the Factory method for
+database, that the particular driver you need is linked into your final
+executable. For instance:
+
+module DB = Dbi_postgres;;
+
+...
+ Dbi.Factory.connect "postgres" ~host:"foo" .....
+
+
+-- John Goerzen
Added: packages/ocamldbi/trunk/debian/changelog
===================================================================
--- packages/ocamldbi/trunk/debian/changelog 2005-03-30 23:46:11 UTC (rev 1151)
+++ packages/ocamldbi/trunk/debian/changelog 2005-03-31 13:44:40 UTC (rev 1152)
@@ -0,0 +1,85 @@
+ocamldbi (0.9.11-1) unstable; urgency=low
+
+ * New upstream release 0.9.11.
+
+ -- Richard W.M. Jones <rich@annexia.org> Thu, 31 Mar 2005 14:39:48 +0100
+
+ocamldbi (0.9.10-2) unstable; urgency=medium
+
+ * Dropped support for perl4caml for now; it's broken on several archs
+ and creating trouble for sarge.
+
+ -- John Goerzen <jgoerzen@complete.org> Fri, 10 Dec 2004 14:59:38 -0600
+
+ocamldbi (0.9.10-1) unstable; urgency=low
+
+ * NMU with maintainer permission
+ * New upstream release
+ - ships new META (Closes: Bug#276458)
+
+ -- Stefano Zacchiroli <zack@debian.org> Mon, 25 Oct 2004 22:19:25 +0200
+
+ocamldbi (0.9.9-2) unstable; urgency=high
+
+ * Make dep on sqlite versioned. Closes: #246859. But I don't know why.
+
+ -- John Goerzen <jgoerzen@complete.org> Wed, 11 Aug 2004 10:54:20 -0500
+
+ocamldbi (0.9.9-1) unstable; urgency=medium
+
+ * New upstream release 0.9.9.
+ * Now supports PostgreSQL driver.
+
+ -- John Goerzen <jgoerzen@complete.org> Wed, 4 Aug 2004 12:54:09 -0500
+
+ocamldbi (0.9.8-1) unstable; urgency=medium
+
+ * New upstream release 0.9.8. Examples and debian/ removed upstream.
+ * Note: linking semantics have changed. See updated examples in
+ README.Debian.
+
+ -- John Goerzen <jgoerzen@complete.org> Wed, 4 Aug 2004 09:45:49 -0500
+
+ocamldbi (0.9.3.cvs.58-1) unstable; urgency=low
+
+ * New upstream release.
+ * Rebuilt for OCaml 3.08.
+ * No longer build OCamlODBC driver; upstream doesn't support it well.
+
+ -- John Goerzen <jgoerzen@complete.org> Wed, 28 Jul 2004 13:39:41 -0500
+
+ocamldbi (0.9.3.cvs.55-2) unstable; urgency=low
+
+ * Fixed upstream Makefile to generate docs for dbi.mli.
+
+ -- John Goerzen <jgoerzen@complete.org> Wed, 5 May 2004 08:58:30 -0500
+
+ocamldbi (0.9.3.cvs.55-1) unstable; urgency=low
+
+ * New upstream release.
+ * New feature: SQLite support. Enabled now that OCaml SQLite has
+ been accepted into Debian.
+
+ -- John Goerzen <jgoerzen@complete.org> Mon, 3 May 2004 13:25:18 -0500
+
+ocamldbi (0.9.3.cvs.52-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- John Goerzen <jgoerzen@complete.org> Thu, 18 Mar 2004 08:49:47 -0600
+
+ocamldbi (0.9.0.cvs.7-1) unstable; urgency=low
+
+ * Initial Debian release. Closes: #234947.
+ * Thanks to the upstream author, Richard W.M. Jones <rich@annexia.org>
+ for the initial debian/ files for this package, which I have taken
+ and modified for the initial upload to Debian.
+
+ -- John Goerzen <jgoerzen@complete.org> Thu, 26 Feb 2004 16:36:32 -0600
+
+ocamldbi (0.9.0-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Richard W.M. Jones <rich@annexia.org> Sat, 1 Nov 2003 12:41:34 +0000
+
Added: packages/ocamldbi/trunk/debian/compat
===================================================================
--- packages/ocamldbi/trunk/debian/compat 2005-03-30 23:46:11 UTC (rev 1151)
+++ packages/ocamldbi/trunk/debian/compat 2005-03-31 13:44:40 UTC (rev 1152)
@@ -0,0 +1 @@
+4
Added: packages/ocamldbi/trunk/debian/control
===================================================================
--- packages/ocamldbi/trunk/debian/control 2005-03-30 23:46:11 UTC (rev 1151)
+++ packages/ocamldbi/trunk/debian/control 2005-03-31 13:44:40 UTC (rev 1152)
@@ -0,0 +1,24 @@
+Source: ocamldbi
+Priority: optional
+Maintainer: John Goerzen <jgoerzen@complete.org>
+Build-Depends: debhelper (>= 4.0.0), libpcre-ocaml-dev, libpgsql-ocaml-dev (>= 20040120-2), ocaml-findlib, ocaml-nox (>= 3.08), libmysql-ocaml-dev (>= 1.0.3-1),libocamlodbc-ocaml-dev (>= 2.7-1), libsqlite-ocaml-dev (>= 0.3.5.arch.4-3), libpostgresql-ocaml-dev (>= 1.3.3-2)
+Standards-Version: 3.6.0
+
+Package: libdbi-ocaml-dev
+Section: devel
+Architecture: any
+Depends: libdbi-ocaml (= ${Source-Version}), libpcre-ocaml-dev, ocaml-findlib, ocaml-nox (>= 3.08), libperl4caml-ocaml-dev (>= 0.3.7-1), libpgsql-ocaml-dev (>= 20040120-3), libmysql-ocaml-dev (>= 1.0.3-1), libocamlodbc-ocaml-dev (>= 2.7-1), libsqlite-ocaml-dev (>= 0.3.5.arch.4-3), libpostgresql-ocaml-dev (>= 1.3.3-2), ${shlibs:Depends}, ${misc:Depends}
+Description: Database Independent Interface (DBI) for Objective CAML, development files
+ Database Independent Interface (DBI) for Objective CAML provides a
+ consistent and simple interface for accessing databases.
+ .
+ This package contains development interfaces, and documentation.
+
+Package: libdbi-ocaml
+Section: libs
+Architecture: any
+Depends: libpcre-ocaml, ocaml-base-nox
+Suggests: libperl4caml-ocaml, libpgsql-ocaml-dev, libmysql-ocaml-dev, libsqlite-ocaml-dev, libpostgresql-ocaml-dev
+Description: Database Independent Interface (DBI) for Objective CAML, bytecode runtime files
+ Database Independent Interface (DBI) for Objective CAML provides a
+ consistent and simple interface for accessing databases.
Added: packages/ocamldbi/trunk/debian/copyright
===================================================================
--- packages/ocamldbi/trunk/debian/copyright 2005-03-30 23:46:11 UTC (rev 1151)
+++ packages/ocamldbi/trunk/debian/copyright 2005-03-31 13:44:40 UTC (rev 1152)
@@ -0,0 +1,26 @@
+This package was debianized by Richard W.M. Jones <rich@annexia.org> on
+Sat, 1 Nov 2003 12:41:34 +0000.
+
+Upstream Author: Richard W.M. Jones <rich@annexia.org>
+Download location: http://savannah.nongnu.org/download/modcaml/
+
+Copyright: Copyright (C) 2003 Merjis Ltd.
+
+This library is free software; you can redistribute it and/or
+modify it under the terms of the GNU Library General Public
+License as published by the Free Software Foundation; either
+version 2 of the License, or (at your option) any later version.
+
+This library 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
+Library General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this library; see the file COPYING. If not, write to
+the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA.
+
+Debian GNU/Linux users may find the GNU Library General Public License in
+/usr/share/common-licenses/LGPL-2.
+
Added: packages/ocamldbi/trunk/debian/docs
===================================================================
--- packages/ocamldbi/trunk/debian/docs 2005-03-30 23:46:11 UTC (rev 1151)
+++ packages/ocamldbi/trunk/debian/docs 2005-03-31 13:44:40 UTC (rev 1152)
@@ -0,0 +1,5 @@
+AUTHORS
+FAQ
+README
+TODO
+html
Added: packages/ocamldbi/trunk/debian/libdbi-ocaml-dev.doc-base
===================================================================
--- packages/ocamldbi/trunk/debian/libdbi-ocaml-dev.doc-base 2005-03-30 23:46:11 UTC (rev 1151)
+++ packages/ocamldbi/trunk/debian/libdbi-ocaml-dev.doc-base 2005-03-31 13:44:40 UTC (rev 1152)
@@ -0,0 +1,10 @@
+Document: ocamldbi
+Title: OCamlDBI API Manual
+Author: Richard W.M. Jones <rich@annexia.org>
+Abstract: Descriptions of the API for OcamlDBI, a multi-database
+ interface for OCAML.
+Section: devel
+
+Format: HTML
+Index: /usr/share/doc/libdbi-ocaml-dev/html/index.html
+Files: /usr/share/doc/libdbi-ocaml-dev/html/*.html
Added: packages/ocamldbi/trunk/debian/libdbi-ocaml-dev.files
===================================================================
--- packages/ocamldbi/trunk/debian/libdbi-ocaml-dev.files 2005-03-30 23:46:11 UTC (rev 1151)
+++ packages/ocamldbi/trunk/debian/libdbi-ocaml-dev.files 2005-03-31 13:44:40 UTC (rev 1152)
@@ -0,0 +1,4 @@
+usr/lib/ocaml/*/dbi/*.mli
+usr/lib/ocaml/*/dbi/*.cmi
+usr/lib/ocaml/*/dbi/*.cmx
+usr/lib/ocaml/*/dbi/*.o
Added: packages/ocamldbi/trunk/debian/rules
===================================================================
--- packages/ocamldbi/trunk/debian/rules 2005-03-30 23:46:11 UTC (rev 1151)
+++ packages/ocamldbi/trunk/debian/rules 2005-03-31 13:44:40 UTC (rev 1152)
@@ -0,0 +1,92 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# 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
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ touch configure-stamp
+
+build: build-stamp
+MAKEARGS := BUILD_OPT=`test \! -x /usr/bin/ocamlopt; echo $$?` \
+ HAVE_MYSQL=1 HAVE_CAMLTEMPLATE=0 HAVE_PERL4CAML=0 \
+ HAVE_POSTGRES=1 HAVE_POSTGRESQL=1 HAVE_OCAMLODBC=0 \
+ HAVE_SQLITE=1
+build-stamp: configure-stamp
+ dh_testdir
+
+ $(MAKE) $(MAKEARGS) dep
+ $(MAKE) $(MAKEARGS)
+
+ #-mkdir html
+ #ocamldoc -html -d html *.mli
+ touch build-stamp
+
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ -$(MAKE) clean
+ -rm -rf html
+ -rm *.cm* .depend
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ $(MAKE) install $(MAKEARGS) \
+ DESTDIR=$(CURDIR)/debian/libdbi-ocaml
+
+ # Fix up documentation.
+ rm -rf debian/libdbi-ocaml/usr/share/doc/ocamldbi*
+
+ # Move the remaining development files across.
+ dh_movefiles -plibdbi-ocaml-dev --sourcedir=debian/libdbi-ocaml
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ #dh_installexamples examples/*
+ -rm -vrf `find debian/tmp -name .arch-ids`
+# dh_install
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_perl
+# dh_python
+# dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
Property changes on: packages/ocamldbi/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: packages/ocamldbi/trunk/ocamldbi_0.9.11.orig.tar.gz
===================================================================
(Binary files differ)
Property changes on: packages/ocamldbi/trunk/ocamldbi_0.9.11.orig.tar.gz
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream