debian/0000755000000000000000000000000012273756733007205 5ustar debian/watch0000644000000000000000000000014012167746725010233 0ustar version=3 http://forge.ocamlcore.org/frs/?group_id=262 /frs/download.php/.*/pgocaml-([^-]+).tgz debian/libpgocaml-ocaml-dev.ocamldoc0000644000000000000000000000006312167746725014667 0ustar -package unix,batteries,pcre,calendar,csv,findlib debian/README.source0000644000000000000000000000113612167746725011367 0ustar PG'OCaml 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.5) package. Please refer to the appendix about Git in the Debian OCaml Packaging Policy (from the same package). -- Guillaume Yziquel , Mon, 22 Feb 2009 13:33:39 +0100 debian/rules0000755000000000000000000000147712167754212010266 0ustar #!/usr/bin/make -f include /usr/share/ocaml/ocamlvars.mk DESTDIR=$(CURDIR)/debian/tmp export OCAMLFIND_DESTDIR=$(DESTDIR)/$(OCAML_STDLIB_DIR) export OCAMLFIND_LDCONF=ignore %: dh $@ --with ocaml .PHONY: override_dh_auto_configure override_dh_auto_configure: ocaml setup.ml -configure --prefix /usr --destdir '$(DESTDIR)' --docdir /usr/share/doc/libpgocaml-ocaml-dev/html .PHONY: override_dh_auto_build override_dh_auto_build: ocaml setup.ml -build ocaml setup.ml -doc .PHONY: override_dh_auto_test override_dh_auto_test: ocaml setup.ml -test .PHONY: override_dh_auto_install override_dh_auto_install: mkdir -p '$(OCAMLFIND_DESTDIR)' ocaml setup.ml -install .PHONY: override_dh_auto_clean override_dh_auto_clean: ocaml setup.ml -distclean .PHONY: override_dh_install override_dh_install: dh_install --fail-missing debian/libpgocaml-ocaml.install.in0000644000000000000000000000017012167771335014377 0ustar @OCamlStdlibDir@/pgocaml/META @OCamlStdlibDir@/pgocaml/pgocaml.cma DYN: @OCamlStdlibDir@/pgocaml/pgocaml.cmxs debian/README.Debian0000644000000000000000000000076212167746725011255 0ustar PG'OCaml for Debian ------------------------ OBTAINING UPSTREAM SOURCE: The project homepage can be found at http://pgocaml.berlios.de/. MORE DOCUMENTATION: You can, or should, have a look at the other text files distributed withing this tarball. You should also definitely have a look at the following documentation from Dario Texeira: http://www.dse.nl/~dario/projects/pgoctut/pgoctut.pdf -- Guillaume Yziquel Thu, 12 Feb 2009 20:43:59 +0100 debian/copyright0000644000000000000000000000343712167746725011151 0ustar Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat Upstream-Name: PG'OCaml Upstream-Maintainer: Richard W.M. Jones Upstream-Source: http://developer.berlios.de/projects/pgocaml/ Packaged-By: Guillaume Yziquel Packaged-Date: Thu, 02 Jun 2009 17:13:41 +0100 Upstream-author: Richard W.M. Jones Original-Source-Location: http://developer.berlios.de/projects/pgocaml/ Files: * Copyright: (C) Copyright 2006 Richard W.M. Jones, Merjis Ltd. 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 Red Hat, or a modified version of the Library that is distributed under the conditions defined in clause 2 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. . On Debian GNU/Linux systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. Files: debian/* Copyright: (C) Copyright 2009 Guillaume Yziquel License: GPL-2+ On Debian GNU/Linux systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/GPL'. debian/libpgocaml-ocaml-dev.install.in0000644000000000000000000000035212167754212015150 0ustar @OCamlStdlibDir@/pgocaml/*.ml* OPT: @OCamlStdlibDir@/pgocaml/*.a OPT: @OCamlStdlibDir@/pgocaml/*.cmx OPT: @OCamlStdlibDir@/pgocaml/*.cmxa @OCamlStdlibDir@/pgocaml/*.cmi @OCamlStdlibDir@/pgocaml/pa_* /usr/share/doc debian/source/0000755000000000000000000000000012167746725010507 5ustar debian/source/format0000644000000000000000000000001412167746725011715 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212167754212010373 0ustar 9 debian/control0000644000000000000000000000514312167754544010613 0ustar Source: pgocaml Section: ocaml Priority: optional Maintainer: Debian OCaml Maintainers Uploaders: Guillaume Yziquel , Mehdi Dogguy Build-Depends: debhelper (>= 9), quilt, dh-ocaml (>= 0.9), ocaml-nox (>=3.11), camlp4 (>=3.11), ocaml-findlib, libbatteries-ocaml-dev (>= 2), libpcre-ocaml-dev, libcsv-ocaml-dev, libfindlib-ocaml-dev, libcalendar-ocaml-dev (>= 2) Standards-Version: 3.9.3 Homepage: http://pgocaml.forge.ocamlcore.org/ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ocaml-maint/packages/pgocaml.git Vcs-Git: git://anonscm.debian.org/pkg-ocaml-maint/packages/pgocaml.git Package: libpgocaml-ocaml-dev Architecture: any Depends: libpgocaml-ocaml (= ${binary:Version}), libbatteries-ocaml-dev, libpcre-ocaml-dev, libcsv-ocaml-dev, libcalendar-ocaml-dev (>= 2), ${ocaml:Depends}, ${misc:Depends}, ${shlibs:Depends} Provides: ${ocaml:Provides} Recommends: ocaml-findlib Suggests: postgresql (>= 7.4) Description: OCaml type-safe bindings for PostgreSQL (development) PG'OCaml provides an interface to PostgreSQL databases for OCaml applications. It uses Camlp4 to extend the OCaml syntax, enabling one to directly embed SQL statements inside the OCaml code. Moreover, it uses the describe feature of PostgreSQL to obtain type information about the database. This allows PG'OCaml to check at compile-time if the program is indeed consistent with the database structure. This type-safe database access is the primary advantage that PG'OCaml has over other PostgreSQL bindings for OCaml. . This package contains development files for PG'OCaml. Package: libpgocaml-ocaml Architecture: any Depends: libpcre-ocaml, libcalendar-ocaml (>= 2), ${ocaml:Depends}, ${misc:Depends}, ${shlibs:Depends} Provides: ${ocaml:Provides} Recommends: ocaml-findlib Suggests: postgresql (>= 7.4) Breaks: libpgocaml-ocaml-dev (<< 1.3-3) Replaces: libpgocaml-ocaml-dev (<< 1.3-3) Description: OCaml type-safe bindings for PostgreSQL (runtime) PG'OCaml provides an interface to PostgreSQL databases for OCaml applications. It uses Camlp4 to extend the OCaml syntax, enabling one to directly embed SQL statements inside the OCaml code. Moreover, it uses the describe feature of PostgreSQL to obtain type information about the database. This allows PG'OCaml to check at compile-time if the program is indeed consistent with the database structure. This type-safe database access is the primary advantage that PG'OCaml has over other PostgreSQL bindings for OCaml. . This package contains dynamically loadable plugins for PG'OCaml. debian/gbp.conf0000644000000000000000000000003612167746725010625 0ustar [DEFAULT] pristine-tar = True debian/changelog0000644000000000000000000000661612273756733011070 0ustar pgocaml (1.7.1-2build2) trusty; urgency=medium * Rebuild for new OCaml ABIs. -- Colin Watson Mon, 03 Feb 2014 18:20:11 +0000 pgocaml (1.7.1-2build1) trusty; urgency=medium * Rebuild for ocaml-4.01. -- Matthias Klose Mon, 23 Dec 2013 22:23:09 +0000 pgocaml (1.7.1-2) unstable; urgency=low * Team upload * Fix FTBFS on !natdynlink -- Stéphane Glondu Fri, 12 Jul 2013 14:13:37 +0200 pgocaml (1.7.1-1) unstable; urgency=low [ Stéphane Glondu ] * Team upload * New upstream release - remove obsolete patches - build-depend on libbatteries-ocaml-dev >= 2 * Update Vcs-* * Switch packaging to dh 9 * Remove obsolete DM-Upload-Allowed field [ Sylvain Le Gall ] * Remove Sylvain Le Gall from uploaders -- Stéphane Glondu Fri, 12 Jul 2013 12:26:39 +0200 pgocaml (1.5-2) unstable; urgency=low * Use USE_BATTERIES=yes for bytecode architectures too. -- Mehdi Dogguy Wed, 06 Jun 2012 17:53:30 +0200 pgocaml (1.5-1) unstable; urgency=low [ Sylvain Le Gall ] * New upstream version. * Use batteries to replace extlib (Closes: #670474) * Drop patch 05_support_hex_format, applied upstream. [ Mehdi Dogguy ] * Bump Standards-Version to 3.9.3, no changes needed. * Findlib is needed to link pgocaml provided binaries - add libfindlib-ocaml-dev to Build-Depends - add patch 05_makefile_findlib * Update packages list needed to generate the documentation - update list in libpgocaml-ocaml-dev.ocamldoc -- Mehdi Dogguy Wed, 06 Jun 2012 15:09:50 +0200 pgocaml (1.4-2) unstable; urgency=low * PG'OCaml moved to forge.ocamlcore.org - update Homepage field - update debian/watch file * Bump Standards-Version to 3.9.2, no changes needed. * Add support for hex format introduced in Postgresql 9.0 (Closes: #640134) by cherry-picking a patch from upstream's subversion repository. * Turn a Conflicts into a Break to fix conflicts-with-version * Fix duplicate-short-description libpgocaml-ocaml-dev libpgocaml-ocaml * Convert to 3.0 (quilt) source format -- Mehdi Dogguy Wed, 04 Jan 2012 21:06:13 +0100 pgocaml (1.4-1) unstable; urgency=low * New upstream release. * Switched patch system from dpatch to quilt. * Adapted patches to new upstream. * Removed the .cmx and .cmi files of the profiler from the package. * Bumped Standards Version to 3.8.4. -- Guillaume Yziquel Mon, 22 Feb 2010 14:44:46 +0100 pgocaml (1.3-3) unstable; urgency=low * Do not install META and pgocaml.cma in libpgocaml-ocaml-dev (Closes: #556419). * Make libpgocaml-ocaml Conflicts/Replaces with libpgocaml-ocaml-dev to be sure that the conflicting files get removed before installing libpgocaml-ocaml. -- Mehdi Dogguy Mon, 16 Nov 2009 09:32:24 +0100 pgocaml (1.3-2) unstable; urgency=low [ Sylvain Le Gall ] * Update to dh-ocaml 0.9 * Use CDBS rules (Closes: #549151) * Use dh_ocamldoc * Use depends/provides * Non-ocamlopt archs excluded - yziquel (Closes: #541682) [ Mehdi Dogguy ] * Add myself to uploaders -- Mehdi Dogguy Fri, 13 Nov 2009 12:07:34 +0100 pgocaml (1.3-1) unstable; urgency=low * Initial release (Closes: #516629) -- Guillaume Yziquel Thu, 07 Jun 2009 00:26:42 +0100