--- lablgtk2-2.6.0.orig/debian/patches/no_rsvg_gz.dpatch +++ lablgtk2-2.6.0/debian/patches/no_rsvg_gz.dpatch @@ -0,0 +1,21 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## no_rsvg_gz.dpatch by Julien Cristau +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: librsvg doesn't have a rsvg-gz.h header anymore, and +## DP: rsvg_handle_new_gz isn't necessary (svgz files are detected +## DP: automatically). So don't build a binding for this function. + +@DPATCH@ +diff -urNad lablgtk2-2.6.0~/config.make.in lablgtk2-2.6.0/config.make.in +--- lablgtk2-2.6.0~/config.make.in 2005-06-02 02:20:18.000000000 +0200 ++++ lablgtk2-2.6.0/config.make.in 2006-02-09 19:09:26.000000000 +0100 +@@ -18,7 +18,7 @@ + USE_GL=@USE_GTKGL@ + USE_GLADE=@USE_GLADE@ + USE_RSVG=@USE_RSVG@ +-HAVE_SVGZ=@HAVE_SVGZ@ ++HAVE_SVGZ= + USE_GNOMECANVAS=@USE_GNOMECANVAS@ + USE_GNOMEUI=@USE_GNOMEUI@ + USE_PANEL=@USE_PANEL@ --- lablgtk2-2.6.0.orig/debian/patches/00list +++ lablgtk2-2.6.0/debian/patches/00list @@ -0,0 +1 @@ +no_rsvg_gz --- lablgtk2-2.6.0.orig/debian/control +++ lablgtk2-2.6.0/debian/control @@ -0,0 +1,74 @@ +Source: lablgtk2 +Section: libdevel +Priority: optional +Maintainer: Debian OCaml Maintainers +Uploaders: Sven Luther , Samuel Mimram , Stefano Zacchiroli +Build-Depends: debhelper (>> 3.0.0), ocaml (>= 3.09.2), libncurses5-dev, debhelper, libgtk2.0-dev, libgtkgl2.0-dev, libglade2-dev, liblablgl-ocaml-dev (>= 1.02-1), librsvg2-dev, libgnomecanvas2-dev, libgtkspell-dev, libgnomeui-dev, libpanel-applet2-dev, dpatch +Standards-Version: 3.7.2 + +Package: liblablgtk2-ocaml +Section: libs +Architecture: any +Depends: ocaml-base-${F:OCamlABI}, ${shlibs:Depends} +Description: runtime libraries for OCaml bindings for Gtk+ version 2 + lablgtk2 contains bindings for gtk+ 2.x and OCaml. + . + This package include only the dynamic libraries needed for running dynamic + bytecode executables. + +Package: liblablgtk2-gl-ocaml +Section: libs +Architecture: any +Depends: liblablgtk2-ocaml (= ${Source-Version}), ${shlibs:Depends} +Replaces: liblablgtk2-ocaml (<= 2.6.0-5) +Description: runtime libraries for OCaml bindings to GtkGL + lablgtk2 contains bindings for gtk+ 2.x and Objective Caml. + . + This package include only the dynamic libraries needed for running dynamic + bytecode executables using GtkGL functionalities. + +Package: liblablgtk2-gnome-ocaml +Section: libs +Architecture: any +Depends: liblablgtk2-ocaml (= ${Source-Version}), ${shlibs:Depends} +Replaces: liblablgtk2-ocaml (<= 2.4.0+2005.02.18-1) +Description: runtime libraries for OCaml bindings to Gnome + lablgtk2 contains bindings for gtk+ 2.x and Objective Caml. + . + This package include only the dynamic libraries needed for running dynamic + bytecode executables using gnome functionalities (panel-applet, gnomeui, + gnome-canvas, rsvg). + +Package: liblablgtk2-ocaml-dev +Section: libdevel +Architecture: any +Suggests: liblablgtk2-gl-ocaml-dev, liblablgtk2-gnome-ocaml-dev +Depends: liblablgtk2-ocaml (= ${Source-Version}), ocaml-${F:OCamlABI}, libgtk2.0-dev, libglade2-dev, libgtkspell-dev +Conflicts: findlib (<< 1.0.2) +Description: OCaml bindings to Gtk+ version 2 + lablgtk2 contains bindings for gtk+ 2.x and OCaml. + . + This package contains the development files of lablgtk. + +Package: liblablgtk2-gl-ocaml-dev +Section: libdevel +Architecture: any +Suggests: liblablgtk2-gnome-ocaml-dev +Depends: liblablgtk2-ocaml-dev (= ${Source-Version}), liblablgtk2-gl-ocaml (= ${Source-Version}), ocaml-${F:OCamlABI}, libgtkgl2.0-dev, liblablgl-ocaml-dev (>= 1.02-1) +Replaces: liblablgtk2-ocaml-dev (<= 2.6.0-5) +Description: OCaml bindings to GtkGL + lablgtk2 contains bindings for gtk+ 2.x and OCaml. + . + This package contains the development files of lablgtk for libraries using + GtkGL. + +Package: liblablgtk2-gnome-ocaml-dev +Section: libdevel +Architecture: any +Depends: liblablgtk2-ocaml-dev (= ${Source-Version}), liblablgtk2-gnome-ocaml (= ${Source-Version}), ocaml-${F:OCamlABI}, librsvg2-dev, libgnomecanvas2-dev, libgnomeui-dev, libpanel-applet2-dev +Replaces: liblablgtk2-ocaml-dev (<= 2.4.0+2005.02.18-1) +Description: OCaml bindings to Gnome + lablgtk2 contains bindings for gtk+ 2.x and Objective Caml. + . + This package contains the development files of lablgtk for libraries using + gnome functionalities (panel-applet, gnomeui, gnome-canvas, rsvg). --- lablgtk2-2.6.0.orig/debian/compat +++ lablgtk2-2.6.0/debian/compat @@ -0,0 +1 @@ +4 --- lablgtk2-2.6.0.orig/debian/liblablgtk2-gl-ocaml-dev.docs +++ lablgtk2-2.6.0/debian/liblablgtk2-gl-ocaml-dev.docs @@ -0,0 +1 @@ +README --- lablgtk2-2.6.0.orig/debian/liblablgtk2-ocaml-dev.docs +++ lablgtk2-2.6.0/debian/liblablgtk2-ocaml-dev.docs @@ -0,0 +1 @@ +README --- lablgtk2-2.6.0.orig/debian/META +++ lablgtk2-2.6.0/debian/META @@ -0,0 +1,27 @@ +version="2.6.0" +requires(mt) = "threads" +requires(mt,mt_vm) = "threads.vm" +requires(mt,mt_posix) = "threads.posix" +directory="+lablgtk2" +archive(byte) = "lablgtk.cma" +archive(native) = "lablgtk.cmxa" +archive(byte,mt) += "gtkThread.cmo" +archive(native,mt) += "gtkThread.cmx" + +package "init" ( + requires = "lablgtk2" + archive(byte) = "gtkInit.cmo" + archive(native) = "gtkInit.cmx" +) + +package "glade" ( + requires = "lablgtk2" + archive(byte) = "lablglade.cma" + archive(native) = "lablglade.cmxa" +) + +package "gtkspell" ( + requires = "lablgtk2" + archive(byte) = "lablgtkspell.cma" + archive(native) = "lablgtkspell.cmxa" +) --- lablgtk2-2.6.0.orig/debian/META.lablgtk2-gnome +++ lablgtk2-2.6.0/debian/META.lablgtk2-gnome @@ -0,0 +1,24 @@ +version="2.6.0" +directory="+lablgtk2" +requires = "lablgtk2" + +package "gnomecanvas" ( + archive(byte) = "lablgnomecanvas.cma" + archive(native) = "lablgnomecanvas.cmxa" +) + +package "gnomeui" ( + archive(byte) = "lablgnomeui.cma" + archive(native) = "lablgnomeui.cmxa" +) + +package "panel" ( + archive(byte) = "lablpanel.cma" + archive(native) = "lablpanel.cmxa" +) + +package "rsvg" ( + archive(byte) = "lablrsvg.cma" + archive(native) = "lablrsvg.cmxa" +) + --- lablgtk2-2.6.0.orig/debian/META.lablgtk2-gl +++ lablgtk2-2.6.0/debian/META.lablgtk2-gl @@ -0,0 +1,9 @@ +version="2.6.0" +directory="+lablgtk2" +requires = "lablgtk2" + +package "gtkgl" ( + requires = "lablgtk2 lablgl" + archive(byte) = "lablgtkgl.cma" + archive(native) = "lablgtkgl.cmxa" +) --- lablgtk2-2.6.0.orig/debian/changelog +++ lablgtk2-2.6.0/debian/changelog @@ -0,0 +1,376 @@ +lablgtk2 (2.6.0-7) unstable; urgency=low + + * Removed unnecessary build dependency on xlibs|xlib6g, closes: #374664. + + -- Samuel Mimram Wed, 21 Jun 2006 07:46:07 +0000 + +lablgtk2 (2.6.0-6) unstable; urgency=low + + * Split back the opengl-specific parts of the package in + liblablgtk2-gl-ocaml(-dev), closes: #365317. + * rpaths shouldn't be generated anymore so we don't need to remove them + anymore. + + -- Samuel Mimram Fri, 16 Jun 2006 08:20:07 +0000 + +lablgtk2 (2.6.0-5) unstable; urgency=low + + * Rebuilt against ocaml 3.09.2 (bumped deps accordingly). + * debian/control + - bumped Standards-Version to 3.7.2 (no changes needed). + * debian/* + - ported .in handling to the more "standard" way, avoiding the risk of + (re-)generating debian/control during the build. + - removed -gl stuff in order to avoid the NEW queue for now, we will split + the opengl specific parts later. + + -- Stefano Zacchiroli Wed, 17 May 2006 00:32:44 +0000 + +lablgtk2 (2.6.0-4) unstable; urgency=low + + * Split opengl-specific parts of the package in liblablgtk2-gl-ocaml(-dev), + closes: #365317. + * Removed the outdated README.Debian. + * Updated standards version to 3.7.2, no changes needed. + + -- Samuel Mimram Wed, 10 May 2006 11:23:21 +0000 + +lablgtk2 (2.6.0-3) unstable; urgency=low + + [ Samuel Mimram ] + * Removing rpath from dlllabgtk2.so and others, closes: #351722. + + [ Julien Cristau ] + * no_rsvg_gz.dpatch: new patch to disable checking for rsvg_handle_new_gz, + which is useless in newer librsvg versions because svgz support is now + builtin (see #348920). + + -- Samuel Mimram Thu, 9 Feb 2006 18:41:15 +0000 + +lablgtk2 (2.6.0-2) unstable; urgency=low + + * Rebuilt against OCaml 3.09.1, bumped deps accordingly. + + -- Stefano Zacchiroli Sun, 8 Jan 2006 01:15:50 +0100 + +lablgtk2 (2.6.0-1) unstable; urgency=low + + [ Samuel Mimram ] + + * Rebuild with OCaml 3.09.0. + * No longer hardcoding OCaml's ABI in debian/* files (thanks Sven Luther). + * Updated standards version to 3.6.2, no changes needed. + + [ Stefano Zacchiroli ] + + * New upstream release + * debian/META* + - bumped versions + * debian/control.in + - bumped lablgl deps to the minimum version rebuilt with OCaml 3.09.0 + + -- Debian OCaml Maintainers Wed, 16 Nov 2005 23:50:37 +0100 + +lablgtk2 (2.4.0+2005.06.13-1) unstable; urgency=low + + * New upstream CVS snapshot. + + -- Stefano Zacchiroli Mon, 13 Jun 2005 15:08:48 +0200 + +lablgtk2 (2.4.0+2005.02.18-3) unstable; urgency=low + + * Put wildcards in liblablgtk2-gnome-ocaml-dev.files in order not to install + native files if they are not present, closes: #308567. + + -- Samuel Mimram Wed, 11 May 2005 13:50:00 +0200 + +lablgtk2 (2.4.0+2005.02.18-2) unstable; urgency=low + + * Split the gnome bindings apart to avoid heavy dependencies on gnome libs. + * Using chrpath to remove the rpath from dlllablgnomeui.so and + dlllablpanel.so. + * Updated Standards-Version to 3.6.1.1. + + -- Samuel Mimram Sun, 8 May 2005 16:09:00 +0200 + +lablgtk2 (2.4.0+2005.02.18-1) unstable; urgency=low + + * Rebuilt against ocaml 3.08.3. + * New upstream CVS snapshot. + + -- Sven Luther Tue, 22 Mar 2005 09:08:31 +0100 + +lablgtk2 (2.4.0+2004.11.19-3) unstable; urgency=low + + * Added GnomeUI and Panel-Applet support. This should make the package build + again, closes: #253712. + + -- Samuel Mimram Fri, 14 Jan 2005 20:17:31 +0100 + +lablgtk2 (2.4.0+2004.11.19-2) unstable; urgency=low + + * Changed the maintainer to Debian OCaml Maintainers. + * Added GtkSpell support. + * Installing gnomeDruid.cmi in liblablgtk2-ocaml-dev since it is needed by + lablgtk2-doc. + + -- Samuel Mimram Thu, 13 Jan 2005 22:40:54 +0100 + +lablgtk2 (2.4.0+2004.11.19-1) unstable; urgency=low + + * New upstream CVS snapshot. + + -- Sven Luther Sat, 27 Nov 2004 18:18:54 +0100 + +lablgtk2 (2.4.0-2) unstable; urgency=medium + + * Added gdkPixbuf patch from Christophe Pourbaix + and Olivier Andrieu . (Closes: #263239) + + -- Sven Luther Tue, 3 Aug 2004 22:06:24 +0200 + +lablgtk2 (2.4.0-1) unstable; urgency=low + + * New upstream release. + * Build for ocaml 3.08. + + -- Sven Luther Thu, 15 Jul 2004 15:39:06 +0200 + +lablgtk2 (2.2.0+20040113-2) unstable; urgency=low + + * Forgot the findlib < 1.02 Conflict for updated META files. + + -- Sven Luther Fri, 30 Jan 2004 14:03:21 +0100 + +lablgtk2 (2.2.0+20040113-1) unstable; urgency=low + + * New upstream CVS snapshot. + * Added new findlib 1.0.2 META file from Stefano. + + -- Sven Luther Fri, 16 Jan 2004 12:17:24 +0100 + +lablgtk2 (2.2.0-2) unstable; urgency=low + + * Since ocaml now is version 3.07+2, modified debian/rules to use ocamlc + -where instead of ocamlc -version. (Closes: #216526) + + -- Sven Luther Mon, 20 Oct 2003 09:34:38 +0200 + +lablgtk2 (2.2.0-1) unstable; urgency=low + + * New upstream release. + * Dpatchification. + * Still kept the patch for the button labels, it didn't make it upstream in + time. + + -- Sven Luther Fri, 10 Oct 2003 15:16:36 +0200 + +lablgtk2 (0.beta.20030828-3) unstable; urgency=low + + * Added Button label methods. + + -- Sven Luther Thu, 9 Oct 2003 14:41:27 +0200 + +lablgtk2 (0.beta.20030828-2) unstable; urgency=low + + * Applied notebook fix patch from Olivier Andrieu. + + -- Sven Luther Tue, 7 Oct 2003 17:06:23 +0200 + +lablgtk2 (0.beta.20030828-1) unstable; urgency=low + + * New upstream release + * Rebuilt for ocaml 3.07. + + -- Sven Luther Wed, 1 Oct 2003 17:01:51 +0200 + +lablgtk2 (0.beta.20030423-2) unstable; urgency=low + + * Modified sections. liblablgtk2-ocaml is section libs, + liblablgkt2-ocaml-dev is libdevel. + * Fixed description type. (Closes: #184926) + + -- Sven Luther Wed, 23 Apr 2003 10:29:20 +0200 + +lablgtk2 (0.beta.20030423-1) unstable; urgency=low + + * New upstream release. + + -- Sven Luther Wed, 23 Apr 2003 09:49:45 +0200 + +lablgtk2 (0.beta.20030314-1) unstable; urgency=low + + * New upstream release. This is a beta version, and the API should now have + stabilized, so it is ok to begin using it for serious work, and adapt the + other libraries to it (hint: like camlimages2). + + -- Sven Luther Fri, 14 Mar 2003 10:04:36 +0100 + +lablgtk2 (0.alpha.20030221-1) unstable; urgency=low + + * New upstream alpha snapshot of the gtk2 bindings. + + -- Sven Luther Sat, 08 Mar 2003 11:10:20 +0100 + +lablgtk2 (0.alpha.20030210b-3) unstable; urgency=low + + * Added librsvg support, thanks to Olivier Andrieu for providing the patch. + + -- Sven Luther Wed, 12 Feb 2003 08:57:06 +0100 + +lablgtk2 (0.alpha.20030210b-2) unstable; urgency=low + + * Now build depend and depend on liblablgl-ocaml-dev (>=0.99-3). This will + pull in the libgl-dev and libglu-dev build-dependency which where missing + for the last upload. + + -- Sven Luther Tue, 11 Feb 2003 13:22:27 +0100 + +lablgtk2 (0.alpha.20030210b-1) unstable; urgency=low + + * New upstream alpha snapshot of the gtk2 bindings, now include glade and + opengl bindings. + + -- Sven Luther Mon, 10 Feb 2003 14:31:01 +0100 + +lablgtk2 (0.alpha.20030210-1) unstable; urgency=low + + * New upstream alpha snapshot of the gtk2 bindings. + + -- Sven Luther Mon, 10 Feb 2003 10:17:09 +0100 + +lablgtk2 (0.alpha-1) unstable; urgency=low + + * Initial Release of the gtk2 bindings. + + -- Sven Luther Fri, 27 Dec 2002 10:39:52 +0100 + +lablgtk (1.2.5-6+20021031) unstable; urgency=low + + * Applied the 31 november 2002 cvs patch. + (Closes: #172026) + + -- Sven Luther Sun, 15 Dec 2002 14:56:47 +0100 + +lablgtk (1.2.5-5) unstable; urgency=low + + * Rebuild for ocaml 3.06-13. + + -- Sven Luther Sat, 14 Dec 2002 23:24:26 +0100 + +lablgtk (1.2.5-4) unstable; urgency=low + + * Changed Build-depends. + + -- Sven Luther Mon, 30 Sep 2002 18:11:32 +0200 + +lablgtk (1.2.5-3) unstable; urgency=low + + * Updated findlibs META file (again). + + -- Sven Luther Mon, 16 Sep 2002 10:39:09 +0200 + +lablgtk (1.2.5-2) unstable; urgency=low + + * Updated findlib META file. (Closes: #160780) + * Added libjpeg62-dev Build-depends. (Closes: #158184) + + -- Sven Luther Sun, 15 Sep 2002 13:42:37 +0200 + +lablgtk (1.2.5-1) unstable; urgency=low + + * New upstream release. + * Built for Ocaml 3.06. (Closes: #155753, #157155) + + -- Sven Luther Wed, 21 Aug 2002 21:10:05 +0200 + +lablgtk (1.2.3-2) unstable; urgency=low + + * New package split with the new shared library scheme. + + -- Sven Luther Fri, 22 Feb 2002 18:23:40 +0100 + +lablgtk (1.2.3-1) unstable; urgency=low + + * New upstream release for ocaml 3.04. + * Added ocaml-runtime package. + + -- Sven Luther Thu, 20 Dec 2001 11:25:13 +0100 + +lablgtk (1.2.1-3) unstable; urgency=low + + * Added versionned build dependencies, to (hopefully) get out of the current + mess where lablgl was built with ocaml 3.01 instead of ocaml 3.02 on arm + and sparc, and as thus, the lablgtk build using ocaml 3.02 failed. + + -- Sven Luther Tue, 6 Nov 2001 13:46:52 +0100 + +lablgtk (1.2.1-2) unstable; urgency=low + + * Changed description field, to ease translation and make it clearer. + * rebuilt with a fixed version of gtkglarea5 (closes: 112924). + + -- Sven Luther Mon, 24 Sep 2001 15:20:04 +0200 + +lablgtk (1.2.1-1) unstable; urgency=low + + * New upstream release. + * Built against ocaml 3.02. + * built with gnome and glade support. + + -- Sven Luther Fri, 10 Aug 2001 15:12:14 +0200 + +lablgtk (1.2.0-3) unstable; urgency=low + + * Added a libgl-dev build dependency. + + -- Sven Luther Fri, 20 Apr 2001 15:25:01 +0200 + +lablgtk (1.2.0-2) unstable; urgency=low + + * Rebuilt against gtkglarea5. + + -- Sven Luther Thu, 5 Apr 2001 15:34:36 +0200 + +lablgtk (1.2.0-1) unstable; urgency=low + + * New upstream release. + + -- Sven Luther Fri, 16 Mar 2001 11:44:12 +0100 + +lablgtk (1.00.2001.02.13-1) unstable; urgency=low + + * New upstream release. + + -- Sven Luther Thu, 15 Feb 2001 17:58:26 +0100 + +lablgtk (1.00.2000.12.20-1) unstable; urgency=low + + * New upstream release. + + -- Sven Luther Thu, 11 Jan 2001 13:49:25 +0100 + +lablgtk (1.00.2000.11.29-3) unstable; urgency=low + + * Implemented missing file_selection_complete method. + + -- Sven Luther Mon, 18 Dec 2000 13:13:36 +0100 + +lablgtk (1.00.2000.11.29-2) unstable; urgency=low + + * Included missing .h files for widget developpers. + + -- Sven Luther Fri, 8 Dec 2000 12:50:30 +0100 + +lablgtk (1.00.2000.11.29-1) unstable; urgency=low + + * New upstream release. + + -- Sven Luther Tue, 5 Dec 2000 14:19:39 +0100 + +lablgtk (1.00.2000.08.29-1) unstable; urgency=low + + * Initial Release. + + -- Sven Luther Sun, 3 Dec 2000 12:06:26 +0100 + --- lablgtk2-2.6.0.orig/debian/copyright +++ lablgtk2-2.6.0/debian/copyright @@ -0,0 +1,24 @@ +This package was debianized by Sven LUTHER on +Sun, 3 Dec 2000 12:06:26 +0100. + +It was downloaded from : + http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/lablgtk2-alpha.tar.gz + +Upstream Authors : + Jacques Garrigue + Benjamin Monate + For lablgtk1: + Hubert Fauque + Jun Furuse + Koji Kagawa + For the librsvg bindings: + Olivier Andrieu + +Copyright: + +LablGtk is distributed under the terms the LGPL licence, which can be +found in the /usr/share/common-licenses/LGPL file on debian systems. + +Notice that this version includes binding for the librsvg, a SVG-files +render. Since librsvg is licenced under the GPL, linking to it via the +lablrsvg puts the resulting work under the GPL also. --- lablgtk2-2.6.0.orig/debian/liblablgtk2-ocaml.dirs.in +++ lablgtk2-2.6.0/debian/liblablgtk2-ocaml.dirs.in @@ -0,0 +1 @@ +usr/lib/ocaml/@OCamlABI@/stublibs --- lablgtk2-2.6.0.orig/debian/liblablgtk2-gl-ocaml.dirs.in +++ lablgtk2-2.6.0/debian/liblablgtk2-gl-ocaml.dirs.in @@ -0,0 +1 @@ +usr/lib/ocaml/@OCamlABI@/stublibs --- lablgtk2-2.6.0.orig/debian/rules +++ lablgtk2-2.6.0/debian/rules @@ -0,0 +1,112 @@ +#!/usr/bin/make -f +# 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 + +OCAMLABI := $(shell ocamlc -version) +OFILES := $(patsubst %.in,%,$(shell ls debian/*.in)) +OCAML_LIBDIR := $(shell ocamlc -where) + +DESTDIR = $(CURDIR)/debian/tmp + +# We want to use dpatch. +include /usr/share/dpatch/dpatch.make +PACKAGE = lablgtk + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +ocamlinit: + for f in $(OFILES); do sed -e 's/@OCamlABI@/$(OCAMLABI)/g' $$f.in > $$f; done + +configure: configure-stamp +configure-stamp: ocamlinit + dh_testdir + + ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \ + --with-gl --with-glade --with-rsvg --with-gnomecanvas --with-gtkspell --with-gnomeui --with-panel + + touch configure-stamp + + +build: build-stamp +build-stamp: patch-stamp configure-stamp + dh_testdir + + $(MAKE) depend + $(MAKE) + if [ -x /usr/bin/ocamlopt ]; then \ + $(MAKE) opt; \ + fi + + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + -$(MAKE) clean + + dh_clean config.make + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) install DESTDIR=$(DESTDIR) + + # Install METAs + cp debian/META $(CURDIR)/debian/liblablgtk2-ocaml-dev/$(OCAML_LIBDIR)/lablgtk2 + cp debian/META.lablgtk2-gl $(CURDIR)/debian/liblablgtk2-gl-ocaml-dev/$(OCAML_LIBDIR)/lablgtk2 + cp debian/META.lablgtk2-gnome $(CURDIR)/debian/liblablgtk2-gnome-ocaml-dev/$(OCAML_LIBDIR)/METAS + + # This file is needed by lablgtk2-doc + cp src/gnomeDruid.cmi $(CURDIR)/debian/liblablgtk2-gnome-ocaml-dev/$(OCAML_LIBDIR)/lablgtk2 + + # Examples + cp -r examples/GL/* $(CURDIR)/debian/liblablgtk2-gl-ocaml-dev/usr/share/doc/liblablgtk2-gl-ocaml-dev/examples/ + cp -r examples/rsvg examples/panel examples/canvas $(CURDIR)/debian/liblablgtk2-gnome-ocaml-dev/usr/share/doc/liblablgtk2-gnome-ocaml-dev/examples/ + + # Lintian override + install -m 644 debian/liblablgtk2-ocaml-dev.override $(CURDIR)/debian/liblablgtk2-ocaml-dev/usr/share/lintian/overrides/liblablgtk2-ocaml-dev + +# 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 -s + dh_testroot -s + +# dh_installdebconf -s + dh_installdocs -s + dh_installexamples -s --exclude='.cvsignore' --exclude='rsvg' --exclude='panel' --exclude='canvas' --exclude='GL' + dh_installmenu -s + dh_movefiles -s + dh_install -s --sourcedir=$(DESTDIR) --list-missing + dh_installman -s + dh_installinfo -s + dh_installchangelogs CHANGES -s + dh_link -s + dh_strip -s + dh_compress -s + dh_fixperms -s + dh_makeshlibs -s + dh_installdeb -s + dh_shlibdeps -s + dh_gencontrol -s -- -VF:OCamlABI="$(OCAMLABI)" + dh_md5sums -s + dh_builddeb -s + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- lablgtk2-2.6.0.orig/debian/liblablgtk2-gl-ocaml.files.in +++ lablgtk2-2.6.0/debian/liblablgtk2-gl-ocaml.files.in @@ -0,0 +1 @@ +usr/lib/ocaml/@OCamlABI@/stublibs/dlllablgtkgl2.so --- lablgtk2-2.6.0.orig/debian/liblablgtk2-gnome-ocaml-dev.docs +++ lablgtk2-2.6.0/debian/liblablgtk2-gnome-ocaml-dev.docs @@ -0,0 +1 @@ +README --- lablgtk2-2.6.0.orig/debian/liblablgtk2-gnome-ocaml.dirs.in +++ lablgtk2-2.6.0/debian/liblablgtk2-gnome-ocaml.dirs.in @@ -0,0 +1 @@ +usr/lib/ocaml/@OCamlABI@/stublibs --- lablgtk2-2.6.0.orig/debian/svn-deblayout +++ lablgtk2-2.6.0/debian/svn-deblayout @@ -0,0 +1,3 @@ +origDir=../upstream +origUrl=svn+ssh://svn.debian.org/svn/pkg-ocaml-maint/trunk/packages/lablgtk/upstream +tagsUrl=svn+ssh://svn.debian.org/svn/pkg-ocaml-maint/tags/packages/lablgtk --- lablgtk2-2.6.0.orig/debian/liblablgtk2-gnome-ocaml.files.in +++ lablgtk2-2.6.0/debian/liblablgtk2-gnome-ocaml.files.in @@ -0,0 +1,4 @@ +usr/lib/ocaml/@OCamlABI@/stublibs/dlllablgnomecanvas.so +usr/lib/ocaml/@OCamlABI@/stublibs/dlllablgnomeui.so +usr/lib/ocaml/@OCamlABI@/stublibs/dlllablpanel.so +usr/lib/ocaml/@OCamlABI@/stublibs/dlllablrsvg.so --- lablgtk2-2.6.0.orig/debian/liblablgtk2-ocaml.install.in +++ lablgtk2-2.6.0/debian/liblablgtk2-ocaml.install.in @@ -0,0 +1 @@ +usr/lib/ocaml/@OCamlABI@/stublibs --- lablgtk2-2.6.0.orig/debian/liblablgtk2-gl-ocaml-dev.files.in +++ lablgtk2-2.6.0/debian/liblablgtk2-gl-ocaml-dev.files.in @@ -0,0 +1,3 @@ +usr/lib/ocaml/@OCamlABI@/lablgtk2/glGtk.* +usr/lib/ocaml/@OCamlABI@/lablgtk2/lablgtkgl.* +usr/lib/ocaml/@OCamlABI@/lablgtk2/liblablgtkgl2* --- lablgtk2-2.6.0.orig/debian/liblablgtk2-gl-ocaml-dev.dirs.in +++ lablgtk2-2.6.0/debian/liblablgtk2-gl-ocaml-dev.dirs.in @@ -0,0 +1,3 @@ +usr/lib/ocaml/@OCamlABI@/METAS +usr/lib/ocaml/@OCamlABI@/lablgtk2 +usr/share/doc/liblablgtk2-gl-ocaml-dev/examples --- lablgtk2-2.6.0.orig/debian/liblablgtk2-ocaml-dev.dirs.in +++ lablgtk2-2.6.0/debian/liblablgtk2-ocaml-dev.dirs.in @@ -0,0 +1,4 @@ +usr/bin +usr/lib/ocaml/@OCamlABI@/lablgtk2 +usr/lib/ocaml/@OCamlABI@/lablgtkgl2 +usr/share/lintian/overrides --- lablgtk2-2.6.0.orig/debian/liblablgtk2-gnome-ocaml-dev.dirs.in +++ lablgtk2-2.6.0/debian/liblablgtk2-gnome-ocaml-dev.dirs.in @@ -0,0 +1,3 @@ +usr/lib/ocaml/@OCamlABI@/METAS +usr/lib/ocaml/@OCamlABI@/lablgtk2 +usr/share/doc/liblablgtk2-gnome-ocaml-dev/examples --- lablgtk2-2.6.0.orig/debian/liblablgtk2-gnome-ocaml-dev.files.in +++ lablgtk2-2.6.0/debian/liblablgtk2-gnome-ocaml-dev.files.in @@ -0,0 +1,16 @@ +usr/lib/ocaml/@OCamlABI@/lablgtk2/rsvg.* +usr/lib/ocaml/@OCamlABI@/lablgtk2/gnomeCanvas.* +usr/lib/ocaml/@OCamlABI@/lablgtk2/gnoCanvas.* +usr/lib/ocaml/@OCamlABI@/lablgtk2/gnomeDruid.* +usr/lib/ocaml/@OCamlABI@/lablgtk2/gnoDruid.* +usr/lib/ocaml/@OCamlABI@/lablgtk2/panel.* +usr/lib/ocaml/@OCamlABI@/lablgtk2/lablgnomecanvas.* +usr/lib/ocaml/@OCamlABI@/lablgtk2/lablgnomeui.* +usr/lib/ocaml/@OCamlABI@/lablgtk2/lablpanel.* +usr/lib/ocaml/@OCamlABI@/lablgtk2/lablrsvg.* +usr/lib/ocaml/@OCamlABI@/lablgtk2/liblablgnomecanvas.* +usr/lib/ocaml/@OCamlABI@/lablgtk2/liblablgnomeui.* +usr/lib/ocaml/@OCamlABI@/lablgtk2/liblablpanel.* +usr/lib/ocaml/@OCamlABI@/lablgtk2/liblablrsvg.* +usr/lib/ocaml/@OCamlABI@/lablgtk2/gnomeui_tags.h +usr/lib/ocaml/@OCamlABI@/lablgtk2/panel_tags.h --- lablgtk2-2.6.0.orig/debian/liblablgtk2-ocaml-dev.install.in +++ lablgtk2-2.6.0/debian/liblablgtk2-ocaml-dev.install.in @@ -0,0 +1,13 @@ +usr/bin/* +usr/lib/ocaml/@OCamlABI@/lablgtk2/*.mli +usr/lib/ocaml/@OCamlABI@/lablgtk2/*.ml +usr/lib/ocaml/@OCamlABI@/lablgtk2/*.cmi +usr/lib/ocaml/@OCamlABI@/lablgtk2/*.cma +usr/lib/ocaml/@OCamlABI@/lablgtk2/*.cmo +usr/lib/ocaml/@OCamlABI@/lablgtk2/*.cmx +usr/lib/ocaml/@OCamlABI@/lablgtk2/*.cmxa +usr/lib/ocaml/@OCamlABI@/lablgtk2/*.a +usr/lib/ocaml/@OCamlABI@/lablgtk2/*.h +usr/lib/ocaml/@OCamlABI@/lablgtk2/*.o +usr/lib/ocaml/@OCamlABI@/lablgtk2/varcc +usr/lib/ocaml/@OCamlABI@/lablgtk2/propcc --- lablgtk2-2.6.0.orig/debian/liblablgtk2-ocaml.docs +++ lablgtk2-2.6.0/debian/liblablgtk2-ocaml.docs @@ -0,0 +1,2 @@ +README +CHANGES --- lablgtk2-2.6.0.orig/debian/liblablgtk2-gl-ocaml.docs +++ lablgtk2-2.6.0/debian/liblablgtk2-gl-ocaml.docs @@ -0,0 +1 @@ +README --- lablgtk2-2.6.0.orig/debian/liblablgtk2-ocaml-dev.examples +++ lablgtk2-2.6.0/debian/liblablgtk2-ocaml-dev.examples @@ -0,0 +1 @@ +examples/* --- lablgtk2-2.6.0.orig/debian/liblablgtk2-ocaml-dev.override +++ lablgtk2-2.6.0/debian/liblablgtk2-ocaml-dev.override @@ -0,0 +1,3 @@ +liblablgtk2-ocaml-dev: binary-without-manpage lablgladecc2 +liblablgtk2-ocaml-dev: binary-without-manpage lablgtk2 +liblablgtk2-ocaml-dev: binary-without-manpage gdk-pixbuf-mlsource --- lablgtk2-2.6.0.orig/debian/liblablgtk2-gnome-ocaml.docs +++ lablgtk2-2.6.0/debian/liblablgtk2-gnome-ocaml.docs @@ -0,0 +1 @@ +README