debian/0000755000000000000000000000000012256060701007165 5ustar debian/changelog0000644000000000000000000000347312256060701011046 0ustar gd4o (1.0~alpha5-8build1) trusty; urgency=medium * Rebuild for ocaml-4.01. -- Matthias Klose Mon, 23 Dec 2013 16:16:02 +0000 gd4o (1.0~alpha5-8) unstable; urgency=low * Really fix #709853 -- Romain Beauxis Wed, 15 May 2013 10:19:47 -0500 gd4o (1.0~alpha5-7) unstable; urgency=low * Added BreaksL libgd-gd2-noxpm-ocaml (<< 1.0~alpha5-6~) to libgd-ocaml-dev. Closes: #709858 * Added debian/tmp/usr/lib/ocaml to libgd-ocaml.dirs Closes: #709853 -- Romain Beauxis Wed, 15 May 2013 09:19:41 -0500 gd4o (1.0~alpha5-6) unstable; urgency=low * Rebuild against new libgd. * Replace xpm/noxpm packages with dummy transitional packages. * Bump standards version to 3.9.4 -- Romain Beauxis Tue, 14 May 2013 19:49:38 -0500 gd4o (1.0~alpha5-5) unstable; urgency=low * Team upload * Build-Depend on libpng-dev instead of libpng12-dev (Closes: #662342) -- Stéphane Glondu Mon, 05 Mar 2012 21:28:19 +0100 gd4o (1.0~alpha5-4) unstable; urgency=low * Disable native build on archs without ocaml native compiler. -- Romain Beauxis Wed, 12 Oct 2011 02:11:37 +0200 gd4o (1.0~alpha5-3) unstable; urgency=low * Also build native library. -- Romain Beauxis Wed, 12 Oct 2011 01:12:02 +0200 gd4o (1.0~alpha5-2) unstable; urgency=low * Patched Makefile to pass -fPIC to CFLAGS. * Added patch to support flags given through make invocation. * Added explicit build-deps on libs referenced in Makefile. -- Romain Beauxis Tue, 11 Oct 2011 18:51:33 +0200 gd4o (1.0~alpha5-1) unstable; urgency=low * Initial upload to sid (Closes: #644824) -- Romain Beauxis Sun, 09 Oct 2011 15:40:04 +0200 debian/libgd-ocaml.install.in0000644000000000000000000000005212144555630013337 0ustar @OCamlStdlibDir@/gd/dll*.so @OCamlDllDir@ debian/rules0000755000000000000000000000074612144723601010255 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 DESTDIR = $(CURDIR)/debian/tmp/$(OCAML_STDLIB_DIR) # Do not compile dynlink files for now.. DEB_MAKE_BUILD_TARGET := OCAML_DYNLINK="" all DEB_MAKE_INSTALL_TARGET := install OCAMLFIND_DESTDIR=$(DESTDIR) OCAMLFIND_LDCONF=ignore ifeq ($(OCAML_HAVE_OCAMLOPT),yes) DEB_MAKE_BUILD_TARGET += opt endif makebuilddir:: mkdir -p $(DESTDIR) debian/libgd-ocaml-dev.install.in0000644000000000000000000000014512144555630014116 0ustar @OCamlStdlibDir@/gd/META @OCamlStdlibDir@/gd/*.cm* @OCamlStdlibDir@/gd/*.ml* @OCamlStdlibDir@/gd/*.a debian/control0000644000000000000000000000505612144714510010576 0ustar Source: gd4o Section: ocaml Priority: optional Maintainer: Debian OCaml Maintainers Uploaders: Samuel Mimram , Romain Beauxis Build-Depends: cdbs (>= 0.4.72~), debhelper, dh-buildinfo, ocaml-nox, dh-ocaml (>= 0.9), libgd-dev, ocaml-findlib (>= 1.2.4), pkg-config Standards-Version: 3.9.4 Homepage: http://matt.gushee.net/software/gd4o/ Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/gd4o.git Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/gd4o.git Package: libgd-ocaml Architecture: any Depends: ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${ocaml:Provides} Breaks: libgd-gd2-noxpm-ocaml (<< 1.0~alpha5-6~) Description: OCaml interface to the GD library -- runtime files This package provides an interface to the GD library for OCaml programmers. . GD is a graphics library. It allows your code to quickly draw images complete with lines, arcs, text, multiple colours, cut and paste from other images, flood fills, and write out the result as a PNG file. This is particularly useful in World Wide Web applications, where PNG is one of the formats accepted for inline images by most browsers. . This package contains only the shared runtime stub libraries. Package: libgd-ocaml-dev Architecture: any Depends: ${ocaml:Depends}, libgd-dev, libgd-ocaml (= ${binary:Version}), ocaml-findlib, ${misc:Depends} Provides: ${ocaml:Provides} Description: OCaml interface to the GD library -- developpement files This package provides an interface to the GD library for OCaml programmers. . GD is a graphics library. It allows your code to quickly draw images complete with lines, arcs, text, multiple colours, cut and paste from other images, flood fills, and write out the result as a PNG file. This is particularly useful in World Wide Web applications, where PNG is one of the formats accepted for inline images by most browsers. . This package contains all the development stuff you need to develop OCaml programs which use this module. Package: libgd-gd2-noxpm-ocaml Architecture: all Depends: libgd-ocaml Description: OCaml interface to the GD library -- transitional package This is a transitional dummy package to install libgd-gd2-noxpm-ocaml. It can safely be removed. Package: libgd-gd2-noxpm-ocaml-dev Architecture: all Depends: libgd-ocaml-dev Description: OCaml interface to the GD library -- transitional package This is a transitional dummy package to install libgd-gd2-noxpm-ocaml-dev. It can safely be removed. debian/libgd-ocaml-dev.docs0000644000000000000000000000001312144555630012765 0ustar README doc debian/copyright0000644000000000000000000000245412144555630011133 0ustar This package was debianized by Romain Beauxis on Sun, 09 Oct 2011 15:40:04 +0200 It was downloaded from Upstream Author: Matt Gushee Copyright © 2002 by Shawn Wagner Copyright © 2003 by Matthew C. Gushee License: This library 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 (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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. The Debian packaging is © 2011, Romain Beauxis and is licensed under the GPL, see `/usr/share/common-licenses/GPL-3'. debian/source/0000755000000000000000000000000012144555630010473 5ustar debian/source/format0000644000000000000000000000001412144555630011701 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000015012144555630010220 0ustar version=3 opts=uversionmangle=s/^([\d.]+)a([\d.]+)$/$1~alpha$2/ \ http://sf.net/gd4o/gd4o-(.+)\.tar\.gz debian/patches/0000755000000000000000000000000012144555630010622 5ustar debian/patches/support_custom_cflags.patch0000644000000000000000000000102512144555630016266 0ustar Index: gdo/Makefile =================================================================== --- gdo.orig/Makefile 2011-10-11 18:47:57.013045759 +0200 +++ gdo/Makefile 2011-10-11 18:56:41.173056205 +0200 @@ -26,8 +26,8 @@ ifdef FT2_LIB FT2_FLAG = -DHAVE_FREETYPE endif -CFLAGS = $(CINCLUDES) -fPIC -W -Wall -Wno-unused \ - $(JPEG_FLAG) $(FT2_FLAG) $(SAFETY_FLAG) +override CFLAGS += $(CINCLUDES) -fPIC -W -Wall -Wno-unused \ + $(JPEG_FLAG) $(FT2_FLAG) $(SAFETY_FLAG) OCAMLCFLAGS=-labels -unsafe OCAMLOPTFLAGS=-labels -inline 2 debian/patches/series0000644000000000000000000000006512144555630012040 0ustar add_fpic_to_cflags.patch support_custom_cflags.patch debian/patches/add_fpic_to_cflags.patch0000644000000000000000000000066612144555630015425 0ustar Index: gdo/Makefile =================================================================== --- gdo.orig/Makefile 2011-10-09 15:50:53.760602651 +0200 +++ gdo/Makefile 2011-10-11 18:47:57.013045759 +0200 @@ -26,7 +26,7 @@ ifdef FT2_LIB FT2_FLAG = -DHAVE_FREETYPE endif -CFLAGS = $(CINCLUDES) -W -Wall -Wno-unused \ +CFLAGS = $(CINCLUDES) -fPIC -W -Wall -Wno-unused \ $(JPEG_FLAG) $(FT2_FLAG) $(SAFETY_FLAG) OCAMLCFLAGS=-labels -unsafe debian/compat0000644000000000000000000000000212144555630010371 0ustar 7