[Pkg-ocaml-maint-commits] r1728 - in trunk/packages: . findlib
findlib/trunk findlib/trunk/debian
findlib/trunk/debian/patches findlib/upstream
Stefano Zacchiroli
zack at costa.debian.org
Thu Sep 1 06:05:52 UTC 2005
Author: zack
Date: 2005-09-01 06:05:51 +0000 (Thu, 01 Sep 2005)
New Revision: 1728
Added:
trunk/packages/findlib/
trunk/packages/findlib/branches/
trunk/packages/findlib/build-area/
trunk/packages/findlib/trunk/
trunk/packages/findlib/trunk/debian/
trunk/packages/findlib/trunk/debian/changelog
trunk/packages/findlib/trunk/debian/compat
trunk/packages/findlib/trunk/debian/control
trunk/packages/findlib/trunk/debian/copyright
trunk/packages/findlib/trunk/debian/docs
trunk/packages/findlib/trunk/debian/ocaml-findlib.dirs
trunk/packages/findlib/trunk/debian/ocaml-findlib.doc-base.guide
trunk/packages/findlib/trunk/debian/ocaml-findlib.doc-base.refman
trunk/packages/findlib/trunk/debian/ocaml-findlib.install
trunk/packages/findlib/trunk/debian/patches/
trunk/packages/findlib/trunk/debian/patches/00list
trunk/packages/findlib/trunk/debian/patches/17_stddirs.dpatch
trunk/packages/findlib/trunk/debian/patches/19_site_lib_metas.dpatch
trunk/packages/findlib/trunk/debian/rules
trunk/packages/findlib/trunk/debian/svn-deblayout
trunk/packages/findlib/upstream/
trunk/packages/findlib/upstream/findlib_1.0.4.orig.tar.gz
Log:
check-in of findlib package into the svn
Property changes on: trunk/packages/findlib/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
+ 1
Added: trunk/packages/findlib/trunk/debian/changelog
===================================================================
--- trunk/packages/findlib/trunk/debian/changelog 2005-09-01 06:03:16 UTC (rev 1727)
+++ trunk/packages/findlib/trunk/debian/changelog 2005-09-01 06:05:51 UTC (rev 1728)
@@ -0,0 +1,254 @@
+findlib (1.0.4-3) unstable; urgency=medium
+
+ * rebuilt against ocaml 3.08.3, changed dependencies and destdir
+ accordingly
+
+ -- Stefano Zacchiroli <zack at debian.org> Tue, 22 Mar 2005 02:29:19 +0100
+
+findlib (1.0.4-2) unstable; urgency=low
+
+ * depends on ocaml-nox-3.08 instead of ocaml-3.08
+
+ -- Stefano Zacchiroli <zack at debian.org> Tue, 27 Jul 2004 14:27:46 +0200
+
+findlib (1.0.4-1) unstable; urgency=low
+
+ * New upstream release
+ * Rebuilt with/for ocaml 3.08 (Closes: Bug#261427)
+ * debian/control
+ - bumped ocaml deps
+ - removed no longer needed dep on libnums
+ - bumped standards-version to 3.6.1.1
+ - changed awk dep to "gawk | awk"
+ * debian/patches/17_stddirs.dpatch, debian/ocaml-findlib.dirs
+ - ported to ocaml 3.08
+
+ -- Stefano Zacchiroli <zack at debian.org> Mon, 26 Jul 2004 14:08:36 +0200
+
+findlib (1.0.3-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Stefano Zacchiroli <zack at debian.org> Fri, 30 Jan 2004 18:13:35 +0100
+
+findlib (1.0.2-1) unstable; urgency=low
+
+ * New upstream release
+ - added support for subpackages
+ - improved META files' language
+ - new ocamldoc documentation
+ * debian/patches
+ - added site_lib_metas which fixes a bug in META.num and use a
+ relative path in META.camlp4 instead of an absolute one
+ - removed ancient "skip_comments" patch
+ - removed ancient "num_top" patch
+ * debian/control
+ - ships also ocamlfind's toolbox
+ * debian/rules
+ - uses /usr/bin/ocamlopt to decide whether to strip ocamlfind or not
+ - bugfix: ships also num-top's META
+ * Shipped some new documentation from doc/ dir
+ * Better cleanup when invoking "debian/rules clean"
+ * Added build dependency on libnums-ocaml-dev | ocaml (>= 3.08)
+ (Closes: Bug#224871
+ Please note that this dependency should close the bug, but is not
+ yet fullfillable by the autobuilders since ocaml-nums is still in
+ the NEW queue waiting for manual processing by the ftp masters.
+ Please be patient or download manually the ocaml-nums package from
+ Sven Luther's (ocaml-nums maintainer) page at
+ http://people.debian.org/~luther/ocaml)
+
+ -- Stefano Zacchiroli <zack at debian.org> Sun, 11 Jan 2004 15:27:26 +0100
+
+findlib (0.9-2) unstable; urgency=low
+
+ * Renamed META directory to /usr/lib/ocaml/3.07/METAS
+
+ -- Stefano Zacchiroli <zack at debian.org> Fri, 21 Nov 2003 09:37:02 +0100
+
+findlib (0.9-1) unstable; urgency=low
+
+ * New upstream release
+ * debian/patches/00list
+ - removed num_top patch since it was accepted upstream (removed
+ therefore also README.Debian, no longer needed)
+ * Removed debconf template about libdir transition because it's
+ annoying and not really useful
+ (removed debian/{templates,postinst,preinst,config} and some
+ dependencies)
+ * debian/control
+ - bumped standards version to 3.6.1.0
+ * debian/patches/17_stddirs.dpatch
+ - added <ocaml_libdir>/META to the findlib path
+ * debian/rules
+ - use dh_install
+ - moved METAs from empty directories to META/ directory
+
+ -- Stefano Zacchiroli <zack at debian.org> Tue, 11 Nov 2003 15:56:24 +0100
+
+findlib (0.8-5) unstable; urgency=low
+
+ * Rebuilt with ocaml 3.07
+
+ -- Stefano Zacchiroli <zack at debian.org> Wed, 1 Oct 2003 13:29:22 +0200
+
+findlib (0.8-4) unstable; urgency=low
+
+ * Rebuilt with ocaml 3.07beta2
+
+ -- Stefano Zacchiroli <zack at debian.org> Mon, 22 Sep 2003 16:43:30 +0200
+
+findlib (0.8-3) unstable; urgency=low
+
+ * Apply changes other than the "debian/" directory using dpatch
+ * Added homemade patch that installs printers for types defined in the
+ "num" library and load them then "num" library is loaded in the
+ toplevel using findlib's #require directive
+ * Added debian/README.Debian mentioning the above patch
+ * debian/control
+ - added Build-Dependency on dpatch
+ - bumped Standards-Version to 3.5.10
+ - added Dependency on ${misc:Depends} variable
+ - s/modules/libraries/ in Description field
+ * debian/rules
+ - moved DH_COMPAT value to debian/compat
+ - added dpatch support (included dpatch.make; added patch-stamp,
+ patch, clean1, unpatch targets)
+ - aesthetic changes
+ - better test before dh_stripping
+
+ -- Stefano Zacchiroli <zack at debian.org> Mon, 7 Jul 2003 22:29:39 +0200
+
+findlib (0.8-2) unstable; urgency=low
+
+ * Libdir transition to /usr/lib/ocaml/3.06
+ * Added debconf note about upgrading /etc/ocamlfind.conf
+ * Changed depends and build depends to ocaml-3.06-1
+ * Bumped Standards-Version to 3.5.8
+ * Removed useless binary-indep target
+
+ -- Stefano Zacchiroli <zack at debian.org> Mon, 16 Dec 2002 11:34:29 +0100
+
+findlib (0.8-1) unstable; urgency=low
+
+ * New upstream release
+ * Added NAME section to manpages (Closes: Bug#159578)
+ * Better test for presence of ocamlopt compiler
+
+ -- Stefano Zacchiroli <zack at debian.org> Wed, 25 Sep 2002 10:30:51 +0200
+
+findlib (0.7.2-2) unstable; urgency=low
+
+ * Remove some *.cm[io] files never removed by upstream Makefiles
+ directly from debian/rules "clean" target
+
+ -- Stefano Zacchiroli <zack at debian.org> Thu, 29 Aug 2002 11:36:34 +0200
+
+findlib (0.7.2-1) unstable; urgency=low
+
+ * New upstream release
+ * Changed deps and build-deps to ocaml-3.06
+ * Switched to debhelper 4
+ * Rebuilt with ocaml 3.06
+ * Fixed broken symlink /usr/lib/ocaml/findlib/topfind
+ (Closes: Bug#155010)
+ * Suppressed spurious warnings for comments in /usr/lib/ocaml/ld.conf
+ (Closes: Bug#155704)
+ * Changed "destdir" in ocamlfind.conf, now defaults to
+ /usr/local/lib/ocaml/<ocaml-version>/
+ * Changed "path" in ocamlfind.conf, now includes
+ /usr/local/lib/ocaml/<ocaml-version>/ _and_ /usr/lib/ocaml, in this
+ order
+
+ -- Stefano Zacchiroli <zack at debian.org> Mon, 26 Aug 2002 13:45:45 +0200
+
+findlib (0.7.1-1) unstable; urgency=low
+
+ * New upstream release
+ * Swtiched from dh_installmanpages to dh_installman
+ * Adopted upstream script name to load findlib in toploop
+ (from now on s/#use ocamlfind;;/#use topfind/)
+ * Switched to debhelper 4
+ * Removed useless debian/conffiles (ocamlfind.conf resides in /etc)
+
+ -- Stefano Zacchiroli <zack at debian.org> Sun, 7 Jul 2002 12:13:05 +0200
+
+findlib (0.6.2-4) unstable; urgency=low
+
+ * Respelled a warning message that may be misinterpreted.
+ (Closes: Bug#139707, Bug#139708).
+
+ -- Stefano Zacchiroli <zack at debian.org> Tue, 26 Mar 2002 14:05:36 +0100
+
+findlib (0.6.2-3) unstable; urgency=low
+
+ * Registered findlib with doc-base.
+
+ -- Stefano Zacchiroli <zack at debian.org> Tue, 26 Mar 2002 13:22:28 +0100
+
+findlib (0.6.2-2) unstable; urgency=low
+
+ * Now build depends on ocaml >= 3.04-3, hopefully will compile also on
+ ia64 and powerpc
+
+ -- Stefano Zacchiroli <zack at debian.org> Fri, 11 Jan 2002 08:08:51 +0100
+
+findlib (0.6.2-1) unstable; urgency=low
+
+ * New upstream release
+ * Built with ocaml 3.04
+
+ -- Stefano Zacchiroli <zack at debian.org> Sun, 16 Dec 2001 22:06:53 +0100
+
+findlib (0.5.4-1) unstable; urgency=low
+
+ * New upstream release
+ * Fixed bug in ocamlmktop option. (closes: Bug#111051)
+
+ -- Stefano Zacchiroli <zack at debian.org> Tue, 4 Sep 2001 21:49:09 +0200
+
+findlib (0.5.1-5) unstable; urgency=low
+
+ * Rebuilt with ocaml 3.02
+ * Fixed serious problem that cause ocamlfind not to work on
+ architecture that does not have a native code compiler. Stripping of
+ "ocamlfind" executable is now done only if "ocamlfind" is a native
+ code executable. (closes: Bug#96254, Bug#104703, Bug#104710)
+
+ -- Stefano Zacchiroli <zack at debian.org> Tue, 21 Aug 2001 14:36:15 +0200
+
+findlib (0.5.1-4) unstable; urgency=low
+
+ * Marked /etc/ocamlfind.conf as a configuration file (closes: Bug#103679)
+
+ -- Stefano Zacchiroli <zack at debian.org> Fri, 6 Jul 2001 18:58:12 +0200
+
+findlib (0.5.1-3) unstable; urgency=low
+
+ * Added findlib manual in HTML format (closes: Bug#102900).
+
+ -- Stefano Zacchiroli <zack at debian.org> Sat, 30 Jun 2001 23:58:44 +0200
+
+findlib (0.5.1-2) unstable; urgency=low
+
+ * DH_COMPAT = 2 for backward compatibility with potato
+ * Optionally building of native code, for platform that does not have
+ native code compiler (like m68k) (closes: Bug# 93376).
+
+ -- Stefano Zacchiroli <zack at debian.org> Tue, 10 Apr 2001 12:56:15 +0200
+
+findlib (0.5.1-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Stefano Zacchiroli <zack at debian.org> Thu, 29 Mar 2001 15:50:21 +0200
+
+findlib (0.5-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Stefano Zacchiroli <zack at debian.org> Wed, 28 Feb 2001 14:21:26 +0100
+
+Local variables:
+mode: debian-changelog
+End:
Added: trunk/packages/findlib/trunk/debian/compat
===================================================================
--- trunk/packages/findlib/trunk/debian/compat 2005-09-01 06:03:16 UTC (rev 1727)
+++ trunk/packages/findlib/trunk/debian/compat 2005-09-01 06:05:51 UTC (rev 1728)
@@ -0,0 +1 @@
+4
Added: trunk/packages/findlib/trunk/debian/control
===================================================================
--- trunk/packages/findlib/trunk/debian/control 2005-09-01 06:03:16 UTC (rev 1727)
+++ trunk/packages/findlib/trunk/debian/control 2005-09-01 06:05:51 UTC (rev 1728)
@@ -0,0 +1,24 @@
+Source: findlib
+Section: devel
+Priority: optional
+Maintainer: Stefano Zacchiroli <zack at debian.org>
+Build-Depends: debhelper (>> 4.0.0), ocaml-3.08.3, m4, gawk | awk, dpatch
+Standards-Version: 3.6.1.1
+
+Package: ocaml-findlib
+Section: devel
+Architecture: any
+Depends: ocaml-nox-3.08.3, ${shlibs:Depends}, ${misc:Depends}
+Description: Management tool for OCaml programming language libraries
+ The "findlib" library provides a scheme to manage reusable software
+ components (packages), and includes tools that support this
+ scheme. Packages are collections of OCaml modules for which
+ metainformation can be stored. The packages are kept in the filesystem
+ hierarchy, but with strict directory structure. The library contains
+ functions to look the directory up that stores a package, to query
+ metainformation about a package, and to retrieve dependency
+ information about multiple packages. There is also a tool that allows
+ the user to enter queries on the command-line. In order to simplify
+ compilation and linkage, there are new frontends of the various OCaml
+ compilers that can directly deal with packages.
+
Added: trunk/packages/findlib/trunk/debian/copyright
===================================================================
--- trunk/packages/findlib/trunk/debian/copyright 2005-09-01 06:03:16 UTC (rev 1727)
+++ trunk/packages/findlib/trunk/debian/copyright 2005-09-01 06:05:51 UTC (rev 1728)
@@ -0,0 +1,30 @@
+This package was debianized by Stefano Zacchiroli <zack at debian.org> on
+Wed, 28 Feb 2001 14:21:26 +0100.
+
+Author: Gerd Stolpmann <gerd at gerd-stolpmann.de>
+
+Copyright:
+
+ Copyright 1999 by Gerd Stolpmann
+
+ The package "findlib" is copyright by Gerd Stolpmann.
+
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this document and the "findlib" software (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+
+ The Software is provided ``as is'', without warranty of any kind, express
+ or implied, including but not limited to the warranties of
+ merchantability, fitness for a particular purpose and noninfringement.
+ In no event shall Gerd Stolpmann be liable for any claim, damages or
+ other liability, whether in an action of contract, tort or otherwise,
+ arising from, out of or in connection with the Software or the use or
+ other dealings in the software.
+
Added: trunk/packages/findlib/trunk/debian/docs
===================================================================
--- trunk/packages/findlib/trunk/debian/docs 2005-09-01 06:03:16 UTC (rev 1727)
+++ trunk/packages/findlib/trunk/debian/docs 2005-09-01 06:05:51 UTC (rev 1728)
@@ -0,0 +1,4 @@
+doc/guide-html
+doc/QUICKSTART
+doc/README
+doc/ref-html
Added: trunk/packages/findlib/trunk/debian/ocaml-findlib.dirs
===================================================================
--- trunk/packages/findlib/trunk/debian/ocaml-findlib.dirs 2005-09-01 06:03:16 UTC (rev 1727)
+++ trunk/packages/findlib/trunk/debian/ocaml-findlib.dirs 2005-09-01 06:05:51 UTC (rev 1728)
@@ -0,0 +1 @@
+usr/lib/ocaml/3.08.3/METAS
Added: trunk/packages/findlib/trunk/debian/ocaml-findlib.doc-base.guide
===================================================================
--- trunk/packages/findlib/trunk/debian/ocaml-findlib.doc-base.guide 2005-09-01 06:03:16 UTC (rev 1727)
+++ trunk/packages/findlib/trunk/debian/ocaml-findlib.doc-base.guide 2005-09-01 06:05:51 UTC (rev 1728)
@@ -0,0 +1,9 @@
+Document: ocaml-findlib-guide
+Title: OCaml findlib User's Guide
+Author: Gerd Stolpmann
+Abstract: User manual for OCaml findlib, a module manager for OCaml
+Section: Apps/Programming
+
+Format: HTML
+Index: /usr/share/doc/ocaml-findlib/guide-html/index.html
+Files: /usr/share/doc/ocaml-findlib/guide-html/*
Added: trunk/packages/findlib/trunk/debian/ocaml-findlib.doc-base.refman
===================================================================
--- trunk/packages/findlib/trunk/debian/ocaml-findlib.doc-base.refman 2005-09-01 06:03:16 UTC (rev 1727)
+++ trunk/packages/findlib/trunk/debian/ocaml-findlib.doc-base.refman 2005-09-01 06:05:51 UTC (rev 1728)
@@ -0,0 +1,9 @@
+Document: ocaml-findlib-reference
+Title: OCaml findlib Reference Manual
+Author: Gerd Stolpmann
+Abstract: Reference Manual for OCaml findlib, a module manager for OCaml
+Section: Apps/Programming
+
+Format: HTML
+Index: /usr/share/doc/ocaml-findlib/ref-html/index.html
+Files: /usr/share/doc/ocaml-findlib/ref-html/*
Added: trunk/packages/findlib/trunk/debian/ocaml-findlib.install
===================================================================
--- trunk/packages/findlib/trunk/debian/ocaml-findlib.install 2005-09-01 06:03:16 UTC (rev 1727)
+++ trunk/packages/findlib/trunk/debian/ocaml-findlib.install 2005-09-01 06:05:51 UTC (rev 1728)
@@ -0,0 +1 @@
+debian/tmp/* /
Added: trunk/packages/findlib/trunk/debian/patches/00list
===================================================================
--- trunk/packages/findlib/trunk/debian/patches/00list 2005-09-01 06:03:16 UTC (rev 1727)
+++ trunk/packages/findlib/trunk/debian/patches/00list 2005-09-01 06:05:51 UTC (rev 1728)
@@ -0,0 +1,2 @@
+17_stddirs
+19_site_lib_metas
Added: trunk/packages/findlib/trunk/debian/patches/17_stddirs.dpatch
===================================================================
--- trunk/packages/findlib/trunk/debian/patches/17_stddirs.dpatch 2005-09-01 06:03:16 UTC (rev 1727)
+++ trunk/packages/findlib/trunk/debian/patches/17_stddirs.dpatch 2005-09-01 06:05:51 UTC (rev 1728)
@@ -0,0 +1,33 @@
+#! /bin/sh -e
+## 17_stddirs.dpatch by Stefano Zacchiroli <zack at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Patch upstream findlib.conf.in so that:
+## DP: - default "manual" installation dir is /usr/local/lib/ocaml/3.08
+## DP: - findlib path look first in /usr/local/lib... and then in the
+## DP: standard ocaml library this permit local overrides of libraries
+
+[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
+patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
+
+if [ $# -ne 1 ]; then
+ echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+ exit 1
+fi
+case "$1" in
+ -patch) patch $patch_opts -p1 < $0;;
+ -unpatch) patch $patch_opts -E -p1 -R < $0;;
+ *)
+ echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+ exit 1;;
+esac
+
+exit 0
+ at DPATCH@
+--- findlib-0.8.orig/findlib.conf.in
++++ findlib-0.8/findlib.conf.in
+@@ -1,2 +1,2 @@
+-destdir="@SITELIB@"
+-path="@SITELIB@"
++destdir="/usr/local/lib/ocaml/3.08.3"
++path="/usr/local/lib/ocaml/3.08.3:@SITELIB@:@SITELIB@/METAS"
Added: trunk/packages/findlib/trunk/debian/patches/19_site_lib_metas.dpatch
===================================================================
--- trunk/packages/findlib/trunk/debian/patches/19_site_lib_metas.dpatch 2005-09-01 06:03:16 UTC (rev 1727)
+++ trunk/packages/findlib/trunk/debian/patches/19_site_lib_metas.dpatch 2005-09-01 06:05:51 UTC (rev 1728)
@@ -0,0 +1,61 @@
+#!/bin/sh -e
+## 19_site_lib_metas.dpatch by Stefano Zacchiroli <zack at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: META.camlp4: uses +camlp4 dir instead of an absolute path
+## DP: META.num: bugfix, moved "directory" directive outside "core" subpackage
+
+if [ $# -ne 1 ]; then
+ echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+ exit 1
+fi
+
+[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
+patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
+
+case "$1" in
+ -patch) patch $patch_opts -p1 < $0;;
+ -unpatch) patch $patch_opts -p1 -R < $0;;
+ *)
+ echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+ exit 1;;
+esac
+
+exit 0
+
+ at DPATCH@
+diff -urNad /home/zack/dati/debian/packages/findlib/findlib-1.0.2/site-lib-src/camlp4/META.in findlib-1.0.2/site-lib-src/camlp4/META.in
+--- /home/zack/dati/debian/packages/findlib/findlib-1.0.2/site-lib-src/camlp4/META.in 2004-01-11 16:05:51.000000000 +0100
++++ findlib-1.0.2/site-lib-src/camlp4/META.in 2004-01-11 16:05:52.000000000 +0100
+@@ -3,7 +3,7 @@
+ `requires = ""'
+ `version = "[distributed with Ocaml]"'
+ `description = "Base for Camlp4 syntax extensions"'
+-`directory = "'camlp4_dir`"'
++`directory = "+camlp4"'
+
+ `# For the toploop:'
+ `archive(byte,toploop,camlp4o) = "camlp4o.cma"'
+diff -urNad /home/zack/dati/debian/packages/findlib/findlib-1.0.2/site-lib-src/num/META.in findlib-1.0.2/site-lib-src/num/META.in
+--- /home/zack/dati/debian/packages/findlib/findlib-1.0.2/site-lib-src/num/META.in 2004-01-11 16:05:51.000000000 +0100
++++ findlib-1.0.2/site-lib-src/num/META.in 2004-01-11 16:05:52.000000000 +0100
+@@ -4,8 +4,8 @@
+ `requires(toploop) = "num.core,num-top"'
+ `version = "[distributed with Ocaml]"'
+ `description = "Arbitrary-precision rational arithmetic"'
++`directory = "^"'
+ `package "core" ('
+-` directory = "^"'
+ ` version = "[internal]"'
+ ` browse_interfaces = "'interfaces`"'
+ ` archive(byte) = "nums.cma"'
+diff -urNad /home/zack/dati/debian/packages/findlib/findlib-1.0.2/site-lib-src/num-top/META.in findlib-1.0.2/site-lib-src/num-top/META.in
+--- /home/zack/dati/debian/packages/findlib/findlib-1.0.2/site-lib-src/num-top/META.in 2004-01-11 16:05:51.000000000 +0100
++++ findlib-1.0.2/site-lib-src/num-top/META.in 2004-01-11 16:05:52.000000000 +0100
+@@ -3,5 +3,6 @@
+ `requires = "num.core"'
+ `version = "'findlib_version`"'
+ `description = "Add-on for num inside toploops"'
++`directory = "+num-top"'
+ `archive(byte,toploop) = "num_top.cma"'
+
Added: trunk/packages/findlib/trunk/debian/rules
===================================================================
--- trunk/packages/findlib/trunk/debian/rules 2005-09-01 06:03:16 UTC (rev 1727)
+++ trunk/packages/findlib/trunk/debian/rules 2005-09-01 06:05:51 UTC (rev 1728)
@@ -0,0 +1,92 @@
+#!/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
+
+include /usr/share/dpatch/dpatch.make
+
+OCAML_LIB_DIR := $(shell ocamlc -where)
+FINDLIB_METAS := $(shell ls site-lib-src/)
+METAS_DIR = METAS
+
+configure: configure-stamp
+configure-stamp: patch-stamp
+ dh_testdir
+
+ ./configure \
+ -config /etc/ocamlfind.conf \
+ -bindir /usr/bin \
+ -sitelib $(OCAML_LIB_DIR) \
+ -mandir /usr/share/man \
+ -with-toolbox
+
+ touch configure-stamp
+
+build: configure-stamp build-stamp
+build-stamp:
+ dh_testdir
+
+ $(MAKE) all
+ if [ -x /usr/bin/ocamlopt ]; then $(MAKE) opt; else true; fi
+ ./itest
+
+ touch build-stamp
+
+clean: patch clean1 unpatch
+clean1:
+ dh_testdir
+ dh_testroot
+
+ rm -f build-stamp configure-stamp
+ -$(MAKE) clean
+ rm -f Makefile.config depend config/*.cm[io]
+ rm -f site-lib-src/{bigarray,camlp4,dbm,dynlink,graphics,labltk,num,num-top,stdlib,str,threads,unix}/META
+ rm -f src/findlib/{META,fl_metascanner.ml,depend}
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ $(MAKE) install prefix=$(CURDIR)/debian/tmp
+ ln -fs "../topfind" $(CURDIR)/debian/tmp$(OCAML_LIB_DIR)/findlib/topfind
+ dh_install
+ # mv METAs from empty directories to the /META directory
+ for p in $(FINDLIB_METAS); do \
+ mv \
+ $(CURDIR)/debian/ocaml-findlib$(OCAML_LIB_DIR)/$$p/META \
+ $(CURDIR)/debian/ocaml-findlib$(OCAML_LIB_DIR)/$(METAS_DIR)/META.$$p; \
+ rmdir $(CURDIR)/debian/ocaml-findlib$(OCAML_LIB_DIR)/$$p; \
+ done
+ # bugfix: install num_top_printers.cmi
+ test -f \
+ $(CURDIR)/debian/ocaml-findlib$(OCAML_LIB_DIR)/num-top/num_top_printers.cmi || \
+ cp num_top_printers.cmi $(CURDIR)/debian/ocaml-findlib$(OCAML_LIB_DIR)/num-top/
+
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installdocs
+ # remove 0 size file like TIMESTAMP
+ -find $(CURDIR)/debian/ocaml-findlib/usr/share/doc/ocaml-findlib/\
+ -size 0 -exec rm {} \;
+ dh_installman
+ dh_installinfo
+ dh_installchangelogs
+ dh_link
+ if [ -x /usr/bin/ocamlopt ]; then dh_strip; else true; fi
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-arch
+.PHONY: build clean binary-arch binary install configure
Property changes on: trunk/packages/findlib/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/packages/findlib/trunk/debian/svn-deblayout
===================================================================
--- trunk/packages/findlib/trunk/debian/svn-deblayout 2005-09-01 06:03:16 UTC (rev 1727)
+++ trunk/packages/findlib/trunk/debian/svn-deblayout 2005-09-01 06:05:51 UTC (rev 1728)
@@ -0,0 +1,3 @@
+origDir=../upstream
+origUrl=svn+ssh://svn.debian.org/svn/pkg-ocaml-maint/trunk/packages/findlib/upstream
+tagsUrl=svn+ssh://svn.debian.org/svn/pkg-ocaml-maint/tags/packages/findlib
Added: trunk/packages/findlib/upstream/findlib_1.0.4.orig.tar.gz
===================================================================
(Binary files differ)
Property changes on: trunk/packages/findlib/upstream/findlib_1.0.4.orig.tar.gz
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
More information about the Pkg-ocaml-maint-commits
mailing list