[Pkg-ocaml-maint-commits] r1134 - in packages/ocamlodbc: . trunk trunk/debian
Samuel Mimram
smimram-guest@costa.debian.org
Mon, 28 Mar 2005 20:03:18 +0000
Author: smimram-guest
Date: 2005-03-28 20:03:16 +0000 (Mon, 28 Mar 2005)
New Revision: 1134
Added:
packages/ocamlodbc/trunk/
packages/ocamlodbc/trunk/debian/
packages/ocamlodbc/trunk/debian/README.Debian
packages/ocamlodbc/trunk/debian/changelog
packages/ocamlodbc/trunk/debian/compat
packages/ocamlodbc/trunk/debian/control
packages/ocamlodbc/trunk/debian/copyright
packages/ocamlodbc/trunk/debian/dirs
packages/ocamlodbc/trunk/debian/libocamlodbc-ocaml-bin.files
packages/ocamlodbc/trunk/debian/libocamlodbc-ocaml-dev.doc-base
packages/ocamlodbc/trunk/debian/libocamlodbc-ocaml-dev.docs
packages/ocamlodbc/trunk/debian/libocamlodbc-ocaml-dev.files
packages/ocamlodbc/trunk/debian/rules
packages/ocamlodbc/trunk/ocamlodbc_2.8.orig.tar.gz
Removed:
packages/ocamlodbc/README
Log:
Importing John Goerzen's package.
Deleted: packages/ocamlodbc/README
===================================================================
--- packages/ocamlodbc/README 2005-03-28 19:50:41 UTC (rev 1133)
+++ packages/ocamlodbc/README 2005-03-28 20:03:16 UTC (rev 1134)
@@ -1,27 +0,0 @@
-John Goerzen maintains his OCaml packages in a tla repository using the
-tla-buildpackage system. If you would like to work on them, please
-reference the archive with:
-
-tla register-archive jgoerzen@complete.org--debian \
- http://arch.debian.org/arch/private/jgoerzen/debian
-tla get jgoerzen@complete.org--debian/configs--head--1.0 debian
-cd debian
-tla buildcfg debian/ocamlodbc/latest
- (ls configs/debian for a list of valid ocamlodbcs)
-
-** shortcut for experienced tla users **:
- tla get jgoerzen@complete.org--debian/ocamlodbc--debian--1.0 ocamlodbc
-
-Should you wish to help with the maintenance of these packages, that is,
-of course, encouraged. The usual mechanism for doing this with tla is
-not by granting write access to a repository, but rather by simply
-branching off the original repository. So, you'll want to just create
-your own branch off jgoerzen@complete.org--debian, hack it up, commit
-changes, etc; then e-mail jgoerzen@complete.org with your archive info
-or attach the changeset itself. tla can both branch and merge across
-repository lines, and so the full change history for your modifications
-will be preserved. Please consult the tla docs for more details.
-
-The Debian arch repository at http://arch.debian.org/ has a ViewARCH
-interface which you may find useful.
-
Added: packages/ocamlodbc/trunk/debian/README.Debian
===================================================================
--- packages/ocamlodbc/trunk/debian/README.Debian 2005-03-28 19:50:41 UTC (rev 1133)
+++ packages/ocamlodbc/trunk/debian/README.Debian 2005-03-28 20:03:16 UTC (rev 1134)
@@ -0,0 +1,16 @@
+ocamlodbc for Debian
+--------------------
+
+To build a file -- say the monitor example -- with bytecode:
+
+ocamlc ocamlodbc.cma monitor.ml -o monitor
+
+Or, natively:
+
+ocamlopt ocamlodbc.cmxa monitor.ml -o monitor
+
+Note that OcamlODBC does not presently provide a shared library, so even with
+the first option, you will get an ELF exetuable. So I suggest using the
+native mode if possible.
+
+ -- John Goerzen <jgoerzen@complete.org>, Wed, 25 Feb 2004 09:51:15 -0600
Added: packages/ocamlodbc/trunk/debian/changelog
===================================================================
--- packages/ocamlodbc/trunk/debian/changelog 2005-03-28 19:50:41 UTC (rev 1133)
+++ packages/ocamlodbc/trunk/debian/changelog 2005-03-28 20:03:16 UTC (rev 1134)
@@ -0,0 +1,21 @@
+ocamlodbc (2.8-1) unstable; urgency=low
+
+ * New upstream version.
+ * Updated to build with OCaml 3.08.
+
+ -- John Goerzen <jgoerzen@complete.org> Tue, 27 Jul 2004 09:07:41 -0500
+
+ocamlodbc (2.7-2) unstable; urgency=low
+
+ * Applied patch from Mike Furr <mfurr@debian.org> to fix the build
+ process on platforms that lack ocamlopt. Closes: #239833.
+ His patch also fixes a potential -fPIC problem.
+
+ -- John Goerzen <jgoerzen@complete.org> Wed, 21 Apr 2004 11:45:18 -0500
+
+ocamlodbc (2.7-1) unstable; urgency=low
+
+ * Initial Release. Closes: #234740.
+
+ -- John Goerzen <jgoerzen@complete.org> Wed, 25 Feb 2004 09:51:15 -0600
+
Added: packages/ocamlodbc/trunk/debian/compat
===================================================================
--- packages/ocamlodbc/trunk/debian/compat 2005-03-28 19:50:41 UTC (rev 1133)
+++ packages/ocamlodbc/trunk/debian/compat 2005-03-28 20:03:16 UTC (rev 1134)
@@ -0,0 +1 @@
+4
Added: packages/ocamlodbc/trunk/debian/control
===================================================================
--- packages/ocamlodbc/trunk/debian/control 2005-03-28 19:50:41 UTC (rev 1133)
+++ packages/ocamlodbc/trunk/debian/control 2005-03-28 20:03:16 UTC (rev 1134)
@@ -0,0 +1,26 @@
+Source: ocamlodbc
+Priority: optional
+Maintainer: John Goerzen <jgoerzen@complete.org>
+Build-Depends: debhelper (>= 4.0.0), unixodbc-dev, unixodbc-bin, ocaml (>= 3.08), ocaml-findlib (>= 1.0.3-1), liblablgtk-ocaml-dev
+Standards-Version: 3.6.0
+
+Package: libocamlodbc-ocaml-dev
+Section: libdevel
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ocaml (>= 3.08), unixodbc-dev
+Description: UnixODBC database bindings for OCaml, Development Files
+ This package provides UnixODBC database bindings for the OCaml language,
+ letting you access any of many different databases from within OCaml.
+ .
+ This package provides the development and documentation file.
+
+Package: libocamlodbc-ocaml-bin
+Section: misc
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: UnixODBC database bindings for OCaml, Biniki
+ This package provides UnixODBC database bindings for the OCaml language,
+ letting you access any of many different databases from within OCaml.
+ .
+ This package provides the graphical multi-database application
+ Biniki.
Added: packages/ocamlodbc/trunk/debian/copyright
===================================================================
--- packages/ocamlodbc/trunk/debian/copyright 2005-03-28 19:50:41 UTC (rev 1133)
+++ packages/ocamlodbc/trunk/debian/copyright 2005-03-28 20:03:16 UTC (rev 1134)
@@ -0,0 +1,38 @@
+This package was debianized by John Goerzen <jgoerzen@complete.org> on
+Wed, 25 Feb 2004 09:51:15 -0600.
+
+It was downloaded from
+http://download.gna.org/ocamlodbc/
+
+Upstream Author(s): Maxence Guesdon <Maxence.Guesdon@inria.fr>
+
+OCamlODBC:
+ Copyright (C) 2004 Institut National de Recherche en Informatique et
+ en Automatique. All rights reserved.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2.1 of the License, or
+ any later version.
+
+ This program 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 Lesser General Public License for more details.
+
+ OCamlODBC is under Lesser GPL. A copy of this licence can be found in the
+ file /usr/share/common-licenses/LGPL.
+
+Biniki:
+ Copyright (C) 2004 Institut National de Recherche en Informatique et
+ en Automatique. All rights reserved.
+
+ Biniki, the example which uses OCamlODBC, is under GPL. A copy of this
+ licence can be found in the file /usr/share/common-licenses/GPL.
+
+Examples:
+ Copyright (C) 2004 Institut National de Recherche en Informatique et
+ en Automatique. All rights reserved.
+
+ The examples (in directory Exemples) which use OCamlODBC, are under GPL. A
+ copy of this licence can be found in the file /usr/share/common-licenses/GPL.
Added: packages/ocamlodbc/trunk/debian/dirs
===================================================================
--- packages/ocamlodbc/trunk/debian/dirs 2005-03-28 19:50:41 UTC (rev 1133)
+++ packages/ocamlodbc/trunk/debian/dirs 2005-03-28 20:03:16 UTC (rev 1134)
@@ -0,0 +1 @@
+usr/bin
Added: packages/ocamlodbc/trunk/debian/libocamlodbc-ocaml-bin.files
===================================================================
--- packages/ocamlodbc/trunk/debian/libocamlodbc-ocaml-bin.files 2005-03-28 19:50:41 UTC (rev 1133)
+++ packages/ocamlodbc/trunk/debian/libocamlodbc-ocaml-bin.files 2005-03-28 20:03:16 UTC (rev 1134)
@@ -0,0 +1 @@
+usr/bin
Added: packages/ocamlodbc/trunk/debian/libocamlodbc-ocaml-dev.doc-base
===================================================================
--- packages/ocamlodbc/trunk/debian/libocamlodbc-ocaml-dev.doc-base 2005-03-28 19:50:41 UTC (rev 1133)
+++ packages/ocamlodbc/trunk/debian/libocamlodbc-ocaml-dev.doc-base 2005-03-28 20:03:16 UTC (rev 1134)
@@ -0,0 +1,10 @@
+Document: ocamlodbc
+Title: OCamlODBC API Manual
+Author: Maxence Guesdon <Maxence.Guesdon@inria.fr>
+Abstract: Descriptions of the API for OcamlODBC, an ODBC database
+ library for the OCaml language.
+Section: devel
+
+Format: HTML
+Index: /usr/share/doc/libocamlodbc-ocaml-dev/html/index.html
+Files: /usr/share/doc/libocamlodbc-ocaml-dev/html/*.html
Added: packages/ocamlodbc/trunk/debian/libocamlodbc-ocaml-dev.docs
===================================================================
--- packages/ocamlodbc/trunk/debian/libocamlodbc-ocaml-dev.docs 2005-03-28 19:50:41 UTC (rev 1133)
+++ packages/ocamlodbc/trunk/debian/libocamlodbc-ocaml-dev.docs 2005-03-28 20:03:16 UTC (rev 1134)
@@ -0,0 +1 @@
+html
Added: packages/ocamlodbc/trunk/debian/libocamlodbc-ocaml-dev.files
===================================================================
--- packages/ocamlodbc/trunk/debian/libocamlodbc-ocaml-dev.files 2005-03-28 19:50:41 UTC (rev 1133)
+++ packages/ocamlodbc/trunk/debian/libocamlodbc-ocaml-dev.files 2005-03-28 20:03:16 UTC (rev 1134)
@@ -0,0 +1 @@
+usr/lib/ocaml
Added: packages/ocamlodbc/trunk/debian/rules
===================================================================
--- packages/ocamlodbc/trunk/debian/rules 2005-03-28 19:50:41 UTC (rev 1133)
+++ packages/ocamlodbc/trunk/debian/rules 2005-03-28 20:03:16 UTC (rev 1134)
@@ -0,0 +1,130 @@
+#!/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
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+ INSTALL_PROGRAM += -s
+endif
+
+# shared library versions, option 1
+version=2.0.5
+major=2
+# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
+#version=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+#major=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+config.status: configure
+ dh_testdir
+ # Add here commands to configure the package.
+ CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+
+
+build: build-stamp
+build-stamp: config.status
+ dh_testdir
+
+ # Add here commands to compile the package.
+ $(MAKE) unixodbc
+ cd Biniki && make en
+ cd Biniki && make unixodbc
+ -mkdir html
+ ocamldoc -html -d html ocamlodbc.mli
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+
+ # Add here commands to clean up after the build process.
+ -$(MAKE) clean_all
+ -cd Biniki && $(MAKE) clean_all
+ -rm -f Biniki/biniki_messages.ml config.{log,status} master.Makefile
+ -rm -rf unixodbc html
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+ cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+ cp -f /usr/share/misc/config.guess config.guess
+endif
+
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ mkdir -p debian/tmp`ocamlc -where`
+ # Add here commands to install the package into debian/tmp
+ $(MAKE) install prefix=$(CURDIR)/debian/tmp/usr DESTDIR=$(CURDIR)/debian/tmp
+ mv -v debian/tmp/usr/lib/ocaml/*/ocamlodbc/unixodbc/* \
+ debian/tmp/usr/lib/ocaml/*
+ rmdir debian/tmp/usr/lib/ocaml/*/ocamlodbc/unixodbc
+ rmdir debian/tmp/usr/lib/ocaml/*/ocamlodbc
+ if [ -f Biniki/biniki.opt ]; then cp Biniki/biniki.opt \
+ debian/tmp/usr/bin/biniki; else \
+ cp Biniki/biniki debian/tmp/usr/bin; fi
+
+
+# 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_movefiles
+ dh_installchangelogs ChangeLog
+ dh_installdocs
+ dh_installexamples Exemples/*.ml
+# 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 -X biniki
+ 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
Property changes on: packages/ocamlodbc/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: packages/ocamlodbc/trunk/ocamlodbc_2.8.orig.tar.gz
===================================================================
(Binary files differ)
Property changes on: packages/ocamlodbc/trunk/ocamlodbc_2.8.orig.tar.gz
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream