--- cairo-ocaml-20090223.orig/debian/META +++ cairo-ocaml-20090223/debian/META @@ -0,0 +1,11 @@ +name = "cairo-ocaml" +description = "Bindings to the cairo library." +archive(byte) = "cairo.cma" +archive(native) = "cairo.cmxa" +requires = "bigarray" + +package "lablgtk2" ( + requires = "cairo lablgtk2" + archive(byte) = "cairo_lablgtk.cma" + archive(native) = "cairo_lablgtk.cmxa" +) --- cairo-ocaml-20090223.orig/debian/changelog +++ cairo-ocaml-20090223/debian/changelog @@ -0,0 +1,103 @@ +cairo-ocaml (20090223-1) unstable; urgency=low + + [ Stefano Zacchiroli ] + * fix vcs-svn field to point just above the debian/ dir + + [ Samuel Mimram ] + * New CVS snapshot. + * Build with OCaml 3.11. + * Remove fun_names.dpatch, integrated upstream. + * Switch packaging to git + * Use dh-ocaml. + * Update compat to 7. + * Update standards version to 3.8.0. + + -- Samuel Mimram Mon, 02 Mar 2009 21:08:17 +0100 + +cairo-ocaml (20070908-1) unstable; urgency=low + + * New CVS snapshot. + * Fixes the FTBFS, closes: #441162. + * Removed matrix_out.dpatch, integrated upstream. + * Build with OCaml 3.10. + + -- Samuel Mimram Sat, 08 Sep 2007 00:25:22 +0200 + +cairo-ocaml (20070306-3) unstable; urgency=low + + * Added fun_names.dpatch to correct the names of some binding functions + (thanks Chris King), closes: #433583. + * Don't ignore errors on make clean. + + -- Samuel Mimram Wed, 18 Jul 2007 09:51:13 +0200 + +cairo-ocaml (20070306-2) unstable; urgency=low + + * Added matrix_out.dpatch to correcly build on archs without ALIGN_DOUBLE. + + -- Samuel Mimram Thu, 19 Apr 2007 12:36:57 +0200 + +cairo-ocaml (20070306-1) unstable; urgency=low + + * New CVS snapshot. + * Added missing dependency on bigarray in the META. + * Made the package binNMU safe. + + -- Samuel Mimram Tue, 6 Mar 2007 23:38:39 +0100 + +cairo-ocaml (20060517-1) unstable; urgency=low + + * New upstream release. + * Updated standards version to 3.7.2, no changes needed. + + -- Samuel Mimram Fri, 19 May 2006 08:08:34 +0000 + +cairo-ocaml (20060107-1) unstable; urgency=low + + * New CVS snapshot. + * Correctly handling OCaml ABI in package, closes: #347997. + + -- Samuel Mimram Sat, 21 Jan 2006 12:45:24 +0100 + +cairo-ocaml (20051120-1) unstable; urgency=low + + * New CVS snapshot. + * No longer hardcoding OCaml's ABI in control. + * Removed not_aligned_double.dpatch, integrated upstream. + + -- Samuel Mimram Sun, 20 Nov 2005 12:45:42 +0100 + +cairo-ocaml (20050918-5) unstable; urgency=low + + * The code breakage on archs where ARCH_ALIGN_DOUBLE is not defined was + deeper than I thought. The not_align_double.dpatch patch was tested and + should really solve the FTBS. + + -- Samuel Mimram Fri, 7 Oct 2005 21:32:22 +0200 + +cairo-ocaml (20050918-4) unstable; urgency=low + + * Updated caml_stat.dpatch to correct a mission semicolon. + + -- Samuel Mimram Fri, 30 Sep 2005 23:31:38 +0200 + +cairo-ocaml (20050918-3) unstable; urgency=low + + * Using dpatch to handle patches. + * Added caml_stat patch to solve the FTBFS on sparc. + + -- Samuel Mimram Fri, 30 Sep 2005 18:29:11 +0200 + +cairo-ocaml (20050918-2) unstable; urgency=low + + * Make configure executable to solve the FTBFS. + * libcairo-ocaml-dev depends on liblablgtk2-ocaml-dev. + * Added a META. + + -- Samuel Mimram Thu, 29 Sep 2005 00:54:06 +0200 + +cairo-ocaml (20050918-1) unstable; urgency=low + + * Initial release, closes: #329004. + + -- Samuel Mimram Sun, 18 Sep 2005 17:09:47 +0200 --- cairo-ocaml-20090223.orig/debian/compat +++ cairo-ocaml-20090223/debian/compat @@ -0,0 +1 @@ +7 --- cairo-ocaml-20090223.orig/debian/control +++ cairo-ocaml-20090223/debian/control @@ -0,0 +1,53 @@ +Source: cairo-ocaml +Section: devel +Priority: optional +Maintainer: Samuel Mimram +Build-Depends: debhelper (>= 7), dpkg-dev (>= 1.13.19), dpatch, automake1.9, autoconf, ocaml-findlib (>= 1.2.4), dh-ocaml, ocaml-nox (>= 3.11), libcairo2-dev (>= 1.2), liblablgtk2-ocaml-dev (>= 2.12.0) +Standards-Version: 3.8.0 +Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/cairo-ocaml.git +Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/cairo-ocaml.git + +Package: libcairo-ocaml +Section: libs +Architecture: any +Depends: ocaml-base-nox-${F:OCamlABI}, ${shlibs:Depends} +Description: OCaml bindings for Cairo + Cairo is a multi-platform library providing anti-aliased + vector-based rendering for multiple target backends. Paths consist + of line segments and cubic splines and can be rendered at any width + with various join and cap styles. All colors may be specified with + optional translucence (opacity/alpha) and combined using the + extended Porter/Duff compositing algebra as found in the X Render + Extension. + . + Cairo exports a stateful rendering API similar in spirit to the path + construction, text, and painting operators of PostScript, (with the + significant addition of translucence in the imaging model). When + complete, the API is intended to support the complete imaging model of + PDF 1.4. + . + This package contains only the shared runtime stub libraries. + +Package: libcairo-ocaml-dev +Section: libdevel +Architecture: any +Depends: ocaml-nox-${F:OCamlABI}, libcairo2-dev, liblablgtk2-ocaml-dev, libcairo-ocaml (= ${binary:Version}) +Suggests: ocaml-findlib +Description: OCaml bindings for Cairo + Cairo is a multi-platform library providing anti-aliased + vector-based rendering for multiple target backends. Paths consist + of line segments and cubic splines and can be rendered at any width + with various join and cap styles. All colors may be specified with + optional translucence (opacity/alpha) and combined using the + extended Porter/Duff compositing algebra as found in the X Render + Extension. + . + Cairo exports a stateful rendering API similar in spirit to the path + construction, text, and painting operators of PostScript, (with the + significant addition of translucence in the imaging model). When + complete, the API is intended to support the complete imaging model of + PDF 1.4. + . + This package contains all the development stuff you need to use Cairo in + your OCaml programs. The folowing backends are supported: PostScript, + PDF, PNG, In-memory images and X11. --- cairo-ocaml-20090223.orig/debian/copyright +++ cairo-ocaml-20090223/debian/copyright @@ -0,0 +1,27 @@ +This package was debianized by Samuel Mimram on +Sun, 18 Sep 2005 20:27:15 +0200 + +It was downloaded from http://cairographics.org/cairo_2docaml + +Upstream Author: Olivier Andrieu + +Copyright (C) 2003-2005 Olivier Andrieu. + +License: + + This package 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 of the License, or (at your option) any later version. + + This package 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. + + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. --- cairo-ocaml-20090223.orig/debian/dirs.in +++ cairo-ocaml-20090223/debian/dirs.in @@ -0,0 +1 @@ +@OCamlStdlibDir@/cairo --- cairo-ocaml-20090223.orig/debian/gbp.conf +++ cairo-ocaml-20090223/debian/gbp.conf @@ -0,0 +1,2 @@ +[DEFAULT] +pristine-tar = True --- cairo-ocaml-20090223.orig/debian/libcairo-ocaml-dev.docs +++ cairo-ocaml-20090223/debian/libcairo-ocaml-dev.docs @@ -0,0 +1,2 @@ +README +doc/html --- cairo-ocaml-20090223.orig/debian/libcairo-ocaml-dev.install.in +++ cairo-ocaml-20090223/debian/libcairo-ocaml-dev.install.in @@ -0,0 +1,3 @@ +@OCamlStdlibDir@/cairo/*.a +@OCamlStdlibDir@/cairo/*.cm* +@OCamlStdlibDir@/cairo/*.ml* --- cairo-ocaml-20090223.orig/debian/libcairo-ocaml.install.in +++ cairo-ocaml-20090223/debian/libcairo-ocaml.install.in @@ -0,0 +1 @@ +@OCamlStdlibDir@/cairo/*.so @OCamlDllDir@ --- cairo-ocaml-20090223.orig/debian/rules +++ cairo-ocaml-20090223/debian/rules @@ -0,0 +1,89 @@ +#!/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 + +include /usr/share/ocaml/ocamlvars.mk +include /usr/share/ocaml/ocamlinit.mk +include /usr/share/dpatch/dpatch.make + +DESTDIR = $(CURDIR)/debian/tmp + +NOW := `date +"%Y%m%d"` + +orig-tarball: + CVSROOT=":pserver:anoncvs@cvs.cairographics.org:/cvs/cairo" cvs co cairo-ocaml + mv cairo-ocaml cairo-ocaml-$(NOW) + cd cairo-ocaml-$(NOW); rm -rf $$(find . -name CVS) $$(find . -name .cvsignore) + tar zcvf cairo-ocaml_$(NOW).orig.tar.gz cairo-ocaml-$(NOW) + rm -rf cairo-ocaml-$(NOW) + +configure: + aclocal -I support + autoconf + +config.status: configure + dh_testdir + chmod +x configure + ./configure --with-gtk + +build: ocamlinit patch-stamp build-stamp +build-stamp: config.status + dh_testdir + + $(MAKE) all +ifneq ($(OCAML_OPT_ARCH),) + $(MAKE) opt +endif + $(MAKE) doc + + touch build-stamp + +clean: unpatch ocamlinit-clean + dh_testdir + dh_testroot + rm -f build-stamp + + [ ! -f config.make ] || $(MAKE) clean + $(RM) -f aclocal.m4 config.{log,make,status} configure + $(RM) -rf doc + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + mkdir -p $(DESTDIR) + $(MAKE) install DESTDIR=$(DESTDIR) + mkdir -p debian/libcairo-ocaml-dev/$(OCAML_STDLIB_DIR)/cairo/ + cp debian/META debian/libcairo-ocaml-dev/$(OCAML_STDLIB_DIR)/cairo/ + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_installman + dh_install --sourcedir=debian/tmp --list-missing + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol -- -VF:OCamlABI="$(OCAML_ABI)" + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install ocamlinit