debian/0000755000000000000000000000000012256060670007172 5ustar debian/changelog0000644000000000000000000000535112256060670011050 0ustar camlpdf (0.5-1build4) trusty; urgency=medium * Rebuild for ocaml-4.01. -- Matthias Klose Mon, 23 Dec 2013 16:15:53 +0000 camlpdf (0.5-1build3) precise; urgency=low * Rebuild for OCaml 3.12.1. -- Colin Watson Sat, 19 Nov 2011 11:57:12 +0000 camlpdf (0.5-1build2) oneiric; urgency=low * Rebuild to pick up ocaml fixes on armel. -- Adam Conrad Wed, 24 Aug 2011 16:26:34 -0600 camlpdf (0.5-1build1) oneiric; urgency=low * Rebuild for OCaml 3.12.0. -- Colin Watson Tue, 17 May 2011 08:22:26 +0100 camlpdf (0.5-1) unstable; urgency=low [ Stéphane Glondu ] * New upstream release * Switch source package to format 3.0 (quilt) * Bump Standards-Version to 3.8.4 * Install .mli files [ Mehdi Dogguy ] * Install some examples in /usr/share/doc/libcamlpdf-ocaml-dev/examples/ (Closes: #549866). * Add myself to uploaders -- Stéphane Glondu Mon, 15 Mar 2010 14:37:29 +0100 camlpdf (0.4-4) unstable; urgency=low * Change makefile_fix.patch so that system libraries are not linked into cma (fixes FTBFS with new dh-ocaml) * Switch to dh-ocaml 0.9 * Don't install *.cmo -- Stéphane Glondu Tue, 29 Sep 2009 19:43:24 +0200 camlpdf (0.4-3) unstable; urgency=low * Add myself to Uploaders * Add missing dependency to zip in META * Add README.source * Update Standards-Version to 3.8.3 * Use ocaml.mk as a CDBS "rules" file * Add doc-base registration file -- Stéphane Glondu Wed, 26 Aug 2009 00:37:20 +0200 camlpdf (0.4-2) unstable; urgency=low * Removed unused modules io, istring and unzip. Thanks to Guillaume Yziquel for reporting and upstream for instructions on how to fix properly. Closes: #531360 * Changed section to non-free/ocaml. * Updated standards-version to 3.8.1 -- Romain Beauxis Tue, 02 Jun 2009 18:21:36 +0200 camlpdf (0.4-1) unstable; urgency=low [ Mehdi Dogguy ] * Fix watch file and debian/control: Update webpage link [ Romain Beauxis ] * New upstream release. * Updated packaging: + Use dh-ocaml + Bumped compat to 7 -- Romain Beauxis Mon, 09 Mar 2009 03:28:20 +0100 camlpdf (0.3-3) unstable; urgency=low * Fix FTBFS on non-native architectures (Closes: #492034) -- Stephane Glondu Wed, 23 Jul 2008 15:40:29 +0200 camlpdf (0.3-2) unstable; urgency=low * Enabled autobuild for non-free packages -- Romain Beauxis Tue, 08 Jul 2008 11:45:52 +0200 camlpdf (0.3-1) unstable; urgency=low * Initial upload to unstable (Closes: #485949) -- Romain Beauxis Thu, 12 Jun 2008 14:14:29 +0200 debian/META.in0000644000000000000000000000034611337227637010262 0ustar name="camlpdf" version="@VERSION@" description="OCaml library for reading, writing and manipulating Adobe portable document files." requires="unix bigarray str zip" archive(byte)="camlpdf.cma" archive(native)="camlpdf.cmxa" debian/libcamlpdf-ocaml-dev.doc-base0000644000000000000000000000045311337227637014544 0ustar Document: libcamlpdf-ocaml-dev-apiref Title: CamlPDF API reference Author: John Whitington Abstract: CamlPDF API reference (generated with ocamldoc) Section: Programming/OCaml Format: HTML Index: /usr/share/doc/libcamlpdf-ocaml-dev/html/index.html Files: /usr/share/doc/libcamlpdf-ocaml-dev/html/* debian/rules0000755000000000000000000000153411347433576010266 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/makefile.mk include /usr/share/cdbs/1/rules/ocaml.mk # In order to regenerate 'debian/control' : # DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean # Then check manually if everything's ok DESTDIR = $(CURDIR)/debian/tmp$(shell ocamlc -where) DEB_MAKE_INSTALL_TARGET := DEB_MAKE_CLEAN_TARGET := clean clean-doc DEB_MAKE_BUILD_TARGET := byte-code-library DEB_DH_COMPRESS_ARGS := -X.pdf ifeq ($(OCAML_HAVE_OCAMLOPT),yes) DEB_MAKE_BUILD_TARGET += native-code-library endif DEB_DH_INSTALL_SOURCEDIR := . CFLAGS += -fPIC build/libcamlpdf-ocaml-dev:: mkdir -p $(DESTDIR) make htdoc VERSION=$(DEB_NOEPOCH_VERSION); \ VERSION=$${VERSION%%-*}; \ sed -e "s#@VERSION@#$$VERSION#" < debian/META.in > debian/META clean:: rm -f debian/META debian/libcamlpdf-ocaml-dev.install.in0000644000000000000000000000115211347433575015140 0ustar debian/META @OCamlStdlibDir@/camlpdf *.mli @OCamlStdlibDir@/camlpdf *.cmi @OCamlStdlibDir@/camlpdf *.cma @OCamlStdlibDir@/camlpdf OPT: *.cmx* @OCamlStdlibDir@/camlpdf OPT: *.a @OCamlStdlibDir@/camlpdf pdfmerge.ml usr/share/doc/libcamlpdf-ocaml-dev/examples pdfhello.ml usr/share/doc/libcamlpdf-ocaml-dev/examples pdfdecomp.ml usr/share/doc/libcamlpdf-ocaml-dev/examples pdfdraft.ml usr/share/doc/libcamlpdf-ocaml-dev/examples pdftest.ml usr/share/doc/libcamlpdf-ocaml-dev/examples pdfdecrypt.ml usr/share/doc/libcamlpdf-ocaml-dev/examples debian/gbp.conf0000644000000000000000000000006211347433575010617 0ustar [DEFAULT] pristine-tar = True compression = bzip2 debian/control0000644000000000000000000000225511347433575010611 0ustar Source: camlpdf Section: non-free/ocaml Priority: optional Maintainer: Debian OCaml Maintainers Uploaders: Romain Beauxis , Mehdi Dogguy , Stéphane Glondu Build-Depends: cdbs (>= 0.4.53), debhelper (>= 7.0.1), ocaml-nox, patchutils (>= 0.2.25), ocaml-findlib (>= 1.2.5), libzip-ocaml-dev (>= 1.04-6~), dh-ocaml (>= 0.9) Standards-Version: 3.8.4 XS-Autobuild: yes Homepage: http://www.coherentgraphics.co.uk/camlpdf.html Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/camlpdf.git Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/camlpdf.git Package: libcamlpdf-ocaml-dev Architecture: any Depends: ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${ocaml:Provides} Recommends: ocaml-findlib Description: library for reading, writing and manipulating PDF files and data CamlPDF consists of a set of low level modules for representing, reading and writing the basic structure of PDF, together with an initial attempt at a higher level API. . This package contains all the development stuff you need to develop OCaml programs which use camlpdf. debian/copyright0000644000000000000000000000427311347433575011143 0ustar This package was debianized by Romain Beauxis on Thu, 12 Jun 2008 14:14:29 +0200. It was downloaded from Upstream Author: John Whitington Copyright: Copyright © 2006-2010, Coherent Graphics Ltd and Xara Group Limited. License: START OF LICENCE Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: o Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. o Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. o Neither the name of Coherent Graphics Limited nor Xara Group Limited nor the names of their contributors may be used to endorse or promote products derived from this software without specific prior written permission. o The code, in source or binary form, must not contribute to development for, nor form part of, any product or service of the following firms: Adobe Inc, Corel Corporation, Serif (Europe) Limited. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. END OF LICENCE This license allows automatic building of the module. The Debian packaging is © 2008, Romain Beauxis and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. debian/source/0000755000000000000000000000000011347433576010503 5ustar debian/source/format0000644000000000000000000000001411347434141011676 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000013011337227637010224 0ustar version=3 http://www.coherentgraphics.co.uk/ocaml-libraries.html camlpdf-(.+)\.tar\.bz2 debian/patches/0000755000000000000000000000000011337227637010630 5ustar debian/patches/series0000644000000000000000000000004711337227637012046 0ustar makefile_fix.patch remove_custom.patch debian/patches/remove_custom.patch0000644000000000000000000000076611337227637014551 0ustar Force linking in standard mode (might be unnecessary here since the compilation of the C code has been disabled, but..) Index: camlpdf/makefile =================================================================== --- camlpdf.orig/makefile 2009-06-02 18:34:18.000000000 +0200 +++ camlpdf/makefile 2009-06-02 18:35:15.000000000 +0200 @@ -28,6 +28,9 @@ RESULT = camlpdf +# Avoid custom binary +NO_CUSTOM = yes + TRASH = tl prog.tex camlpdf.tex camlpdf.aux camlpdf.log camlpdf.toc # ML Libraries debian/patches/makefile_fix.patch0000644000000000000000000000216511337227637014300 0ustar * Remove unused modules (avoid name clashes) * Build on packaged zlib * Don't link system libraries into resulting cma Index: camlpdf/makefile =================================================================== --- camlpdf.orig/makefile 2009-06-02 18:17:24.000000000 +0200 +++ camlpdf/makefile 2009-06-02 18:19:12.000000000 +0200 @@ -3,13 +3,8 @@ # and dllcamlpdf_stubs.so, libcamlpdf_stubs.a or similar # OCaml and C source and interface files. Order matters. SOURCES = utility.ml utility.mli \ - istring.ml istring.mli \ - io.ml io.mli \ - unzip.ml unzip.mli \ pdfio.ml pdfio.mli \ cgenlex.ml cgenlex.mli \ - zlib.ml zlib.mli \ - zlibstubs.c \ transform.ml transform.mli \ units.ml units.mli \ paper.ml paper.mli \ @@ -36,7 +31,7 @@ TRASH = tl prog.tex camlpdf.tex camlpdf.aux camlpdf.log camlpdf.toc # ML Libraries -LIBS = unix bigarray str +LIBS = CLIBS = z @@ -44,6 +39,8 @@ #OCAMLNCFLAGS = -g #OCAMLBCFLAGS = -g #CAMLLDFLAGS = -g +OCAMLFLAGS=-I $(shell ocamlfind query zip) +OCAMLLDFLAGS=-I $(shell ocamlfind query zip) #Uncomment if you have these compilers #OCAMLOPT = ocamlopt.opt debian/compat0000644000000000000000000000000211337227637010377 0ustar 7 debian/libcamlpdf-ocaml-dev.doc-base.intro0000644000000000000000000000041611347433575015676 0ustar Document: camlpdf-intro Title: An Introduction to PDF with CamlPDF Author: John Whitington Abstract: This is a very brief introduction to the CamlPDF library. Section: Programming/OCaml Format: PDF Files: /usr/share/doc/libcamlpdf-ocaml-dev/introduction_to_camlpdf.pdf debian/control.in0000644000000000000000000000211011337227637011203 0ustar Source: camlpdf Section: non-free/ocaml Priority: optional Maintainer: Debian OCaml Maintainers Uploaders: Romain Beauxis , Stéphane Glondu Build-Depends: @cdbs@, ocaml-findlib (>= 1.2.5), libzip-ocaml-dev (>= 1.04-6~), dh-ocaml (>= 0.9) Standards-Version: 3.8.3 XS-Autobuild: yes Homepage: http://www.coherentgraphics.co.uk/camlpdf.html Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/camlpdf.git Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/camlpdf.git Package: libcamlpdf-ocaml-dev Architecture: any Depends: ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${ocaml:Provides} Recommends: ocaml-findlib Description: library for reading, writing and manipulating PDF files and data CamlPDF consists of a set of low level modules for representing, reading and writing the basic structure of PDF, together with an initial attempt at a higher level API. . This package contains all the development stuff you need to develop OCaml programs which use camlpdf. debian/libcamlpdf-ocaml-dev.docs0000644000000000000000000000006411347433575014016 0ustar README introduction_to_camlpdf.pdf doc/camlpdf/html