debian/0000755000000000000000000000000012247170076007174 5ustar debian/libfindlib-ocaml-dev.docs0000644000000000000000000000003412247167312014005 0ustar doc/guide-html doc/ref-html debian/libfindlib-ocaml-dev.doc-base.refman0000644000000000000000000000050612247167312016005 0ustar Document: ocaml-findlib-reference Title: OCaml findlib Reference Manual Author: Gerd Stolpmann Abstract: Reference Manual for OCaml findlib, a module manager for OCaml Section: Programming/OCaml Format: HTML Index: /usr/share/doc/libfindlib-ocaml-dev/ref-html/index.html Files: /usr/share/doc/libfindlib-ocaml-dev/ref-html/* debian/changelog0000644000000000000000000005175112247167362011063 0ustar findlib (1.4-2) unstable; urgency=low * Upload to unstable -- Stéphane Glondu Mon, 02 Dec 2013 21:34:58 +0100 findlib (1.4-1) experimental; urgency=low * New upstream release * Update Vcs-* * Bump Standards-Version to 3.9.4 -- Stéphane Glondu Thu, 11 Jul 2013 11:46:23 +0200 findlib (1.3.3-1) experimental; urgency=low * New upstream release -- Stéphane Glondu Sun, 25 Nov 2012 14:38:51 +0100 findlib (1.3.2-1) experimental; urgency=low * New upstream release - incompatible with 3.x versions of OCaml shipped by Debian -- Stéphane Glondu Thu, 21 Jun 2012 19:18:38 +0200 findlib (1.3.1-1) unstable; urgency=low * New upstream release - documentation sources are now included in the official upstream tarball, repackaging is no longer needed * Update debian/copyright -- Stéphane Glondu Tue, 05 Jun 2012 11:24:23 +0200 findlib (1.2.8+debian-1) unstable; urgency=low * New upstream release * Switch debian/copyright to format 1.0 * Bump Standards-Version to 3.9.3 -- Stéphane Glondu Tue, 28 Feb 2012 08:50:01 +0100 findlib (1.2.7+debian-1) unstable; urgency=low * New upstream release * Add myself to Uploaders * Add patches: - Make Camlp4 depend on Dynlink on every arch (Closes: #630490) - Use a relative path in META.camlp4 (Closes: #628021) - Disable graphics and labltk when unavailable (Closes: #605695) -- Nicolas Dandrimont Mon, 27 Jun 2011 22:45:07 +0200 findlib (1.2.6+debian-2) unstable; urgency=low * Updated 0002-Extra-configuration-search-path.patch to allow overriding Debian-specific configuration variables in findlib's main configuration. This issue appear when using for instance mingw32-ocaml where the main configuration file changed but Debian-specific settings override it. -- Romain Beauxis Mon, 04 Apr 2011 20:06:47 -0500 findlib (1.2.6+debian-1) unstable; urgency=low * New upstream release * Make ocaml-findlib depend only on libfindlib-ocaml * Switch source package format to 3.0 (quilt) * Rewrite debian/rules using dh with overrides * Bump Standards-Version to 3.9.1 * Bump debhelper compat level to 8 * Remove Stefano from Uploaders -- Stéphane Glondu Sat, 12 Feb 2011 12:04:41 +0100 findlib (1.2.5+debian-1) unstable; urgency=low [ Stéphane Glondu ] * New upstream release: - remove install_missing_cmi.dpatch (merged upstream) - repackage upstream with documentation sources: + add explanations to README.source + take it into account in debian/watch * Add new binary packages: - ocaml-findlib: keep there executables not depending on X - ocaml-findlib-wizard: make_wizard (which depends on X) - libfindlib-ocaml{,-dev}: the remaining files, dispatched as usual * debian/control: - build-depends on ocaml-nox (>= 3.11.1-3~) - update e-mail addresses - move to section ocaml - update Standards-Version to 3.8.3 * Update debian/copyright [ Mehdi Dogguy ] * Add myself to uploaders * Use dh_ocaml in the build process - Modify debian/control accordingly * Build-depend on dh-ocaml 0.9 -- Stéphane Glondu Sat, 26 Sep 2009 10:14:54 +0200 findlib (1.2.4-2) unstable; urgency=low * add back "directory" directive to site_lib_metas patch, fixes FTBFS of reverse dependent packages which need the "num" findlib package (revert "simplify site_lib_metas" change in -1) -- Stefano Zacchiroli Sat, 28 Feb 2009 23:33:44 +0100 findlib (1.2.4-1) unstable; urgency=low [ Stephane Glondu ] * New Upstream Version * Update patches: - remove natdynlink (merged upstream) - simplify site_lib_metas - update install_missing_cmi * Remove versioned dependencies on ocaml * Bump debhelper compatibility to 7 (no changes) [ Stefano Zacchiroli ] * uploading to unstable - bump ocaml build-dep to (>= 3.11) to entail proper dep-waits * debian/rules: invoke ocaml.mk as a "rules" snippet * debian/control: version build-dep on dh-ocaml to 0.4.1 (to avoid the "remove heading white spaces" bug for debian/patches/*.in) * debian/svn-deblayout: remove no longer needed SVN setting * debian/source.lintian-overrides: fix typo in the tag name (which inhibited the override to work) -- Stefano Zacchiroli Tue, 24 Feb 2009 13:54:26 +0100 findlib (1.2.3-1) experimental; urgency=low * New Upstream Version * Add README.source * Update Standards-Version to 3.8.0 * Add myself to Uploaders * Update versioned dependencies to OCaml -- Stephane Glondu Fri, 05 Dec 2008 19:59:13 +0100 findlib (1.2.1-6) experimental; urgency=low [ Stefano Zacchiroli ] * make Vcs-* fields point to the new git repository [ Stephane Glondu ] * Add natdynlink.dpatch, to add dynlink.cmxa to META.dynlink, if available. [ Romain Beauxis ] * Added build-dep on dh-ocaml * Upload and build against ocaml 3.11 in experimental * Versioned ocaml-related build-dep to avoid confusion -- Romain Beauxis Fri, 28 Nov 2008 01:08:26 +0100 findlib (1.2.1-5) unstable; urgency=low [ Stephane Glondu ] * Update Homepage, fix watch file. [ Ralf Treinen ] * Changed doc-base section to Programming/OCaml -- Stefano Zacchiroli Wed, 04 Jun 2008 13:55:33 +0200 findlib (1.2.1-4.1) experimental; urgency=low * Rebuild with ocaml 3.10.2, NMU to experimental with maintainer's blessing. * Install docs into section Programming instead of Apps/Programming. -- Ralf Treinen Sat, 22 Mar 2008 20:23:22 +0100 findlib (1.2.1-4) unstable; urgency=low * fix vcs-svn field to point just above the debian/ dir * reword long description, also mentioning "ocamlfind" (Closes: #460669) * bump build dep to ocaml 3.10.1 -- Stefano Zacchiroli Sat, 09 Feb 2008 17:31:24 +0100 findlib (1.2.1-3) unstable; urgency=low * update standards-version, no changes needed * setting me as an uploader, d-o-m as the maintainer * avoid installing empty /usr/share/ocaml-findlib/, it will be created by packages shipping stuff there (fixes lintian warning) * avoid installing empty /usr/share/man/man3/ (fixes lintian warning) * add lintian override for missing stddirs.dpatch patch in 00list; the patch is automatically generated from stddirs.dpatch.in * debian/patches/install_missing_cmi.dpatch: new patch to install some missing .cmi-s (spotted by ocamldoc while generating the api reference) -- Stefano Zacchiroli Sat, 29 Dec 2007 12:17:21 +0100 findlib (1.2.1-2) unstable; urgency=low * added back parts of patch site_lib_metas.dpatch which are in fact still needed and fix loading of "num" and "num-top" packages (closes: #451901) -- Stefano Zacchiroli Mon, 19 Nov 2007 15:26:44 +0100 findlib (1.2.1-1) unstable; urgency=low * new upstream release (closes: #450933) - add support for CamlP4 3.10 (with improved META setting for it) - remove patches from debian/patches/: usr_bin_install.dpatch (integrated upstream), site_lib_metas.dpatch (no longer needed) * add Homepage field to debian/control * debian/rules: - remove a no longer needed hook for getting rid of 0-sized timestamps -- Stefano Zacchiroli Sat, 17 Nov 2007 17:49:47 +0100 findlib (1.1.2pl1-4) unstable; urgency=low * debian/control - bump dependency on ocaml-nox to 3.10.0-8 to ensure we build against a fixed version of the CDBS class wrt ocamldoc generation -- Stefano Zacchiroli Sun, 02 Sep 2007 23:15:33 +0200 findlib (1.1.2pl1-3) unstable; urgency=low * debian/control - add build-dep on camlp4, which is now in a separate package * debian/rules - enable creation of ocamldoc-generated API reference * bump debhelper compatibility level and dependency to 5 -- Stefano Zacchiroli Fri, 31 Aug 2007 11:59:09 +0200 findlib (1.1.2pl1-2) experimental; urgency=low * rebuilding against ocaml 3.10 and uploading to experimental * debian/watch - add watch file * debian/rules - ensure via OCAML_IN_FILES that stddirs.dpatch.in is instantiated at build-time * debian/patches/ - remove numbers from patch names: 00list is enough for the ordering - remove the non-.in version of stddirs.dpatch from the source package * debian/control - bump build-dep on ocaml to >= 3.10.0-4, as we need a fixed ocaml.mk CDBS class wrt dpatch -- Stefano Zacchiroli Wed, 04 Jul 2007 10:46:37 +0000 findlib (1.1.2pl1-1) unstable; urgency=low * new upstream release (closes: #389758) * debian/patches/13_usr_bin_install.dpatch - new patch for installing safe_camlp4 under $(prefix)/usr/bin -- Stefano Zacchiroli Sat, 11 Nov 2006 09:35:02 +0100 findlib (1.1.1-7) unstable; urgency=low * debian/rules - use the ocaml.mk cdbs class * debian/control - bumped ocaml-nox build dependency to >= 3.09.2-7 since we use ocaml.mk -- Stefano Zacchiroli Sat, 28 Oct 2006 18:07:40 +0200 findlib (1.1.1-6) unstable; urgency=low * debian/rules - removed no longer needed workaround for cdbs + dpatch - avoid to create debian/control from debian/control.in on ocamlinit * debian/control.in - file removed, no longer needed -- Stefano Zacchiroli Tue, 5 Sep 2006 22:45:17 +0200 findlib (1.1.1-5) unstable; urgency=low * debian/patches/17_stddirs.dpatch: - switched to .in form so that on 'ocamlinit' the patch is instantiated to the current version of the OCaml ABI (fixes wrong paths in /etc/ocamlfind.conf) -- Stefano Zacchiroli Fri, 16 Jun 2006 14:04:22 +0200 findlib (1.1.1-4) unstable; urgency=low * Upload to unstable. -- Stefano Zacchiroli Tue, 16 May 2006 19:46:14 +0000 findlib (1.1.1-3) experimental; urgency=low * Rebuilt against OCaml 3.09.2, bumped deps accordingly. * Bumped Standards-Version to 3.7.2 (no changes needed). -- Stefano Zacchiroli Thu, 11 May 2006 22:00:50 +0000 findlib (1.1.1-2) unstable; urgency=low * Rebuilt against OCaml 3.09.1, bumped deps accordingly. -- Stefano Zacchiroli Sat, 7 Jan 2006 11:29:15 +0100 findlib (1.1.1-1) unstable; urgency=low * new upstream release - integrated a patch of mine which fixes sourcing of additional configuration files. In Debian this broke the native compilers settings inherited by the ocaml-native-compilers package * avoid stripping /findlib/make_wizard on non-native archs -- Stefano Zacchiroli Sun, 27 Nov 2005 23:00:55 +0100 findlib (1.1-4) unstable; urgency=low * avoid stripping findlib executable on non-native archs, fixes FTBFS of dependent packages on non-native archs (thanks to Julien Cristau for the patch) (closes: #338932, #338935) -- Stefano Zacchiroli Mon, 14 Nov 2005 17:08:13 +0100 findlib (1.1-3) unstable; urgency=low * debian/* - use cdbs * removed ancient symlink /findlib/topfind -> ../topfind * debian/rules - removed old bugfix for missed install of num-top printers * debian/rules vs debian/patches/29_no_itest.dpatch - removed patch, avoid invoking ./itest in debian/rules is easier -- Stefano Zacchiroli Sat, 12 Nov 2005 13:06:42 +0100 findlib (1.1-2) unstable; urgency=low * debian/patches/29_no_itest.dpatch - disable itest at build ends, not really needed in debian, hangs on hppa -- Stefano Zacchiroli Thu, 10 Nov 2005 10:14:03 +0100 findlib (1.1-1) unstable; urgency=low * New usptream release * Rebuilt with ocaml 3.09 * debian/patches/23_include.dpatch - ported to this new upstream release * debian/{rules,*.in} - no more hardcoding of ocaml ABI version anywhere * debian/rules - findlib now detect at compile time if native code compilation is available, if so it adds ocamlc/opt/... definition to /etc/ocamlfind.conf. Grep-ed them away from debian configuration file since native code compilers are not installed everywhere -- Stefano Zacchiroli Tue, 8 Nov 2005 09:16:00 +0000 findlib (1.0.4-4) unstable; urgency=low * debian/patches/23_include.dpatch - added support for including configuration files stored in /usr/share/ocaml-findlib/ * debian/bash_completion/ocamlfind debian/ocamlfind.install - added ocamlfind bash completion for bash, it gets installed under /etc/bash_completion.d/ * debian/control - bumped Standards-Version -- Stefano Zacchiroli Thu, 1 Sep 2005 08:13:10 +0200 findlib (1.0.4-3) unstable; urgency=medium * rebuilt against ocaml 3.08.3, changed dependencies and destdir accordingly -- Stefano Zacchiroli 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 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 Mon, 26 Jul 2004 14:08:36 +0200 findlib (1.0.3-1) unstable; urgency=low * New upstream release -- Stefano Zacchiroli 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 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 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 /META to the findlib path * debian/rules - use dh_install - moved METAs from empty directories to META/ directory -- Stefano Zacchiroli Tue, 11 Nov 2003 15:56:24 +0100 findlib (0.8-5) unstable; urgency=low * Rebuilt with ocaml 3.07 -- Stefano Zacchiroli Wed, 1 Oct 2003 13:29:22 +0200 findlib (0.8-4) unstable; urgency=low * Rebuilt with ocaml 3.07beta2 -- Stefano Zacchiroli 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 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 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 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 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// * Changed "path" in ocamlfind.conf, now includes /usr/local/lib/ocaml// _and_ /usr/lib/ocaml, in this order -- Stefano Zacchiroli 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 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 Tue, 26 Mar 2002 14:05:36 +0100 findlib (0.6.2-3) unstable; urgency=low * Registered findlib with doc-base. -- Stefano Zacchiroli 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 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 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 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 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 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 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 Tue, 10 Apr 2001 12:56:15 +0200 findlib (0.5.1-1) unstable; urgency=low * New upstream release -- Stefano Zacchiroli Thu, 29 Mar 2001 15:50:21 +0200 findlib (0.5-1) unstable; urgency=low * Initial Release. -- Stefano Zacchiroli Wed, 28 Feb 2001 14:21:26 +0100 debian/compat0000644000000000000000000000000212247167312010371 0ustar 8 debian/source/0000755000000000000000000000000012247167312010473 5ustar debian/source/format0000644000000000000000000000001412247167312011701 0ustar 3.0 (quilt) debian/libfindlib-ocaml.install.in0000644000000000000000000000015512247167312014360 0ustar etc/ocamlfind.conf @OCamlStdlibDir@/METAS @OCamlStdlibDir@/findlib/META @OCamlStdlibDir@/findlib/findlib.cma debian/libfindlib-ocaml-dev.install.in0000644000000000000000000000041312247167312015131 0ustar @OCamlStdlibDir@/topfind @OCamlStdlibDir@/findlib/Makefile.config @OCamlStdlibDir@/findlib/findlib_top.cma @OCamlStdlibDir@/findlib/*.cmi @OCamlStdlibDir@/findlib/*.mli @OCamlStdlibDir@/num-top/* OPT: @OCamlStdlibDir@/findlib/*.a OPT: @OCamlStdlibDir@/findlib/*.cmxa debian/ocaml-findlib.docs0000644000000000000000000000003212247167312012540 0ustar doc/QUICKSTART doc/README debian/libfindlib-ocaml-dev.doc-base.guide0000644000000000000000000000047512247167312015637 0ustar 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: Programming/OCaml Format: HTML Index: /usr/share/doc/libfindlib-ocaml-dev/guide-html/index.html Files: /usr/share/doc/libfindlib-ocaml-dev/guide-html/* debian/ocaml-findlib-wizard.install.in0000644000000000000000000000004612247167312015166 0ustar @OCamlStdlibDir@/findlib/make_wizard* debian/ocaml-findlib.dirs0000644000000000000000000000000012247167312012544 0ustar debian/ocaml-findlib.install0000644000000000000000000000015012247167312013257 0ustar usr/bin/ocamlfind usr/bin/safe_camlp4 usr/share/man debian/bash_completion/* /etc/bash_completion.d/ debian/bash_completion/0000755000000000000000000000000012247167312012341 5ustar debian/bash_completion/ocamlfind0000644000000000000000000000434412247167312014225 0ustar # Debian GNU/Linux ocamlfind(1) completion # Copyright 2005 # Stefano Zacchiroli # License: GNU GPL v2 or later # inter function communication is achieved via the $_ocamlfind_reply environment # variable, it will be unset each time the completion is used have ocamlfind && _ocamlfind_add() { _ocamlfind_reply="$_ocamlfind_reply $1" } [ "$have" ] && _ocamlfind_flags() { local cmd res cmd="$1" res="$( ocamlfind $cmd --help 2>/dev/null | \ grep '^ -' | sed 's/ *//;s/ .*//' )" _ocamlfind_add "$res" } [ "$have" ] && _ocamlfind_packages() { local pkglist oldpkglist res oldpkglist="$1" pkglist=$( ocamlfind list | cut -f 1 -d' ' ) if echo "$oldpkglist" | grep -q ','; then oldpkglist=$(echo $oldpkglist | sed 's/\(.*,\).*/\1/') res="" for pkg in $pkglist; do res="$res $oldpkglist$pkg" done else res="$pkglist" fi _ocamlfind_add "$res" } [ "$have" ] && _ocamlfind() { local cmd cur prev COMPREPLY=() cmd=${COMP_WORDS[1]} cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]} _ocamlfind_reply="" if [ $COMP_CWORD -eq 1 ]; then _ocamlfind_add "query ocamlc ocamlcp ocamlmktop ocamlopt ocamldep \ ocamlbrowser ocamldoc install remove printconf list opt --help" # TODO missing "pkg/cmd arg ..." completion elif [ $COMP_CWORD -gt 1 ]; then [ "$prev" = "-package" ] || _ocamlfind_flags "$cmd" case "$cmd" in ocamlc|ocamlcp|ocamlmktop|ocamlopt|ocamldep|ocamldoc|opt) if [ "$prev" = "-package" ]; then _ocamlfind_packages "$cur" fi ;; esac case "$cmd" in ocamlc|ocamlcp) _ocamlfind_add "$( ls *.mli *.ml *.cmo *.cma *.c *.o *.a 2> /dev/null )" ;; ocamlopt|opt) _ocamlfind_add "$( ls *.mli *.ml *.cmx *.cmxa *.c *.o *.a 2> /dev/null )" ;; ocamlmktop) _ocamlfind_add "$( ls *.cmo *.cma *.o *.a 2> /dev/null )" ;; esac if [ "$cmd" = "query" ]; then _ocamlfind_packages ""; fi if [ "$cmd" = "printconf" -a $COMP_CWORD -eq 2 ]; then _ocamlfind_add "$( ocamlfind printconf --help | grep '|' | \ sed 's/.*(//;s/)//;s/|/ /g' )" fi fi COMPREPLY=( $(compgen -W "$_ocamlfind_reply" -- $cur) ) unset _ocamlfind_reply return 0 } [ "$have" ] && complete -F _ocamlfind ocamlfind # vim:set ft=sh: debian/libfindlib-ocaml-dev.links0000644000000000000000000000027212247167312014201 0ustar /usr/share/doc/libfindlib-ocaml-dev/ref-html /usr/share/doc/ocaml-findlib/ref-html /usr/share/doc/libfindlib-ocaml-dev/guide-html /usr/share/doc/ocaml-findlib/guide-html debian/watch0000644000000000000000000000022012247167312010216 0ustar version=3 opts=dversionmangle=s/\+debian\d*$//,uversionmangle=s/0\x3b/0/g \ http://download.camlcity.org/download/findlib-(\d+\..*)\.tar\.gz debian/copyright0000644000000000000000000001516312247167312011134 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Contact: Gerd Stolpmann Source: http://projects.camlcity.org/projects/findlib.html Files: * Copyright: 1999-2012, Gerd Stolpmann and others License: findlib Files: debian/* Copyright: 2001-2009, Stefano Zacchiroli 2009-2012, Stéphane Glondu License: findlib License: findlib 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. Files: tools/make-package-macosx Copyright: 2003, Inria License: ocaml The Compiler is distributed under the terms of the Q Public License version 1.0 with a change to choice of law (included below). . As a special exception to the Q Public Licence, you may develop application programs, reusable components and other software items that link with the original or modified versions of the Compiler and are not made available to the general public, without any of the additional requirements listed in clause 6c of the Q Public licence. . THE Q PUBLIC LICENSE version 1.0 . Copyright (C) 1999 Troll Tech AS, Norway. Everyone is permitted to copy and distribute this license document. . The intent of this license is to establish freedom to share and change the software regulated by this license under the open source model. . This license applies to any software containing a notice placed by the copyright holder saying that it may be distributed under the terms of the Q Public License version 1.0. Such software is herein referred to as the Software. This license covers modification and distribution of the Software, use of third-party application programs based on the Software, and development of free software which uses the Software. . Granted Rights . 1. You are granted the non-exclusive rights set forth in this license provided you agree to and comply with any and all conditions in this license. Whole or partial distribution of the Software, or software items that link with the Software, in any form signifies acceptance of this license. . 2. You may copy and distribute the Software in unmodified form provided that the entire package, including - but not restricted to - copyright, trademark notices and disclaimers, as released by the initial developer of the Software, is distributed. . 3. You may make modifications to the Software and distribute your modifications, in a form that is separate from the Software, such as patches. The following restrictions apply to modifications: . a. Modifications must not alter or remove any copyright notices in the Software. . b. When modifications to the Software are released under this license, a non-exclusive royalty-free right is granted to the initial developer of the Software to distribute your modification in future versions of the Software provided such versions remain available under these terms in addition to any other license(s) of the initial developer. . 4. You may distribute machine-executable forms of the Software or machine-executable forms of modified versions of the Software, provided that you meet these restrictions: . a. You must include this license document in the distribution. . b. You must ensure that all recipients of the machine-executable forms are also able to receive the complete machine-readable source code to the distributed Software, including all modifications, without any charge beyond the costs of data transfer, and place prominent notices in the distribution explaining this. . c. You must ensure that all modifications included in the machine-executable forms are available under the terms of this license. . 5. You may use the original or modified versions of the Software to compile, link and run application programs legally developed by you or by others. . 6. You may develop application programs, reusable components and other software items that link with the original or modified versions of the Software. These items, when distributed, are subject to the following requirements: . a. You must ensure that all recipients of machine-executable forms of these items are also able to receive and use the complete machine-readable source code to the items without any charge beyond the costs of data transfer. . b. You must explicitly license all recipients of your items to use and re-distribute original and modified versions of the items in both machine-executable and source code forms. The recipients must be able to do so without any charges whatsoever, and they must be able to re-distribute to anyone they choose. . c. If the items are not available to the general public, and the initial developer of the Software requests a copy of the items, then you must supply one. . Limitations of Liability . In no event shall the initial developers or copyright holders be liable for any damages whatsoever, including - but not restricted to - lost revenue or profits or other direct, indirect, special, incidental or consequential damages, even if they have been advised of the possibility of such damages, except to the extent invariable law, if any, provides otherwise. . No Warranty . The Software and this license document are provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. . Choice of Law . This license is governed by the Laws of France. debian/rules0000755000000000000000000000326312247167315010262 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 include /usr/share/ocaml/ocamlvars.mk %: dh $@ --with ocaml .PHONY: override_dh_auto_configure override_dh_auto_configure: ./configure \ -config /etc/ocamlfind.conf \ -bindir /usr/bin \ -sitelib $(OCAML_STDLIB_DIR) \ -mandir /usr/share/man \ -with-toolbox .PHONY: override_dh_auto_build override_dh_auto_build: $(MAKE) ifeq ($(OCAML_HAVE_OCAMLOPT),yes) $(MAKE) opt endif .PHONY: override_dh_auto_install override_dh_auto_install: $(MAKE) install prefix=$(CURDIR)/debian/tmp # rm ocamlc.opt and similar settings, they're not avail everywhere in debian grep -v \\.opt debian/tmp/etc/ocamlfind.conf > debian/ocamlfind.conf.new sed -i -e 's/@OCamlABI@/$(OCAML_ABI)/g' debian/ocamlfind.conf.new mv debian/ocamlfind.conf.new debian/tmp/etc/ocamlfind.conf # mv METAs from empty directories to the /META directory mkdir -p $(CURDIR)/debian/tmp$(OCAML_STDLIB_DIR)/METAS for p in `ls site-lib-src/`; do \ mv $(CURDIR)/debian/tmp$(OCAML_STDLIB_DIR)/$$p/META \ $(CURDIR)/debian/tmp$(OCAML_STDLIB_DIR)/METAS/META.$$p; \ rmdir $(CURDIR)/debian/tmp$(OCAML_STDLIB_DIR)/$$p/; \ done # rm empty man3 dir test -d $(CURDIR)/debian/tmp/usr/share/man/man3 && \ rmdir $(CURDIR)/debian/tmp/usr/share/man/man3 # do not strip executables on bytecode executables (is this still needed?) ifneq ($(OCAML_HAVE_OCAMLOPT),yes) .PHONY: override_dh_strip override_dh_strip: endif .PHONY: override_dh_auto_clean override_dh_auto_clean: if [ -f Makefile.config ]; then $(MAKE) clean; fi -find . -name META -delete -rm -f Makefile.config ocargs.log src/findlib/ocaml_args.ml -rm -Rf site-lib-src/camlp4/ debian/patches/0000755000000000000000000000000012247167315010625 5ustar debian/patches/0001-Change-standard-directories-to-conform-our-own-polic.patch0000644000000000000000000000150112247167312024304 0ustar From: Stefano Zacchiroli Date: Sat, 12 Feb 2011 10:17:31 +0100 Subject: Change standard directories to conform our own policy Patch upstream findlib.conf.in so that: - default "manual" installation dir is /usr/local/lib/ocaml/ - findlib path look first in /usr/local/lib... and then in the standard ocaml library: this permit local overrides of libraries Forwarded: not-needed Signed-off-by: Stephane Glondu --- findlib.conf.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/findlib.conf.in b/findlib.conf.in index 261d2c8..05f6c3d 100644 --- a/findlib.conf.in +++ b/findlib.conf.in @@ -1,2 +1,2 @@ -destdir="@SITELIB@" -path="@SITELIB@" +destdir="/usr/local/lib/ocaml/@OCamlABI@" +path="/usr/local/lib/ocaml/@OCamlABI@:@SITELIB@:@SITELIB@/METAS" -- debian/patches/0003-META.num-bugfix-moved-directory-directive-outside-co.patch0000644000000000000000000000233212247167312024170 0ustar From: Stefano Zacchiroli Date: Sat, 12 Feb 2011 10:23:55 +0100 Subject: META.num*: bugfix, moved "directory" directive outside "core" subpackage --- site-lib-src/num-top/META.in | 1 + site-lib-src/num/META.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/site-lib-src/num-top/META.in b/site-lib-src/num-top/META.in index 184d65f..1b18b74 100644 --- a/site-lib-src/num-top/META.in +++ b/site-lib-src/num-top/META.in @@ -3,5 +3,6 @@ dnl This file is input of the m4 macro processor. `requires = "num.core"' `version = "'findlib_version`"' `description = "Add-on for num inside toploops"' +`directory = "+num-top"' `archive(byte,toploop) = "num_top.cma"' diff --git a/site-lib-src/num/META.in b/site-lib-src/num/META.in index 16e1946..489bc8e 100644 --- a/site-lib-src/num/META.in +++ b/site-lib-src/num/META.in @@ -4,8 +4,8 @@ dnl This file is input of the m4 macro processor. `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"' -- debian/patches/0002-Extra-configuration-search-path.patch0000644000000000000000000000333412247167312020352 0ustar From: Stefano Zacchiroli Date: Sat, 12 Feb 2011 10:21:40 +0100 Subject: Extra configuration search path Support for an extra, debian-specific, dir where to look for configuration file snippets (namely /usr/share/ocaml-findlib/). Forwarded: not-needed Signed-off-by: Stephane Glondu --- src/findlib/findlib.ml | 9 ++++++++- src/findlib/findlib_config.mlp | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/findlib/findlib.ml b/src/findlib/findlib.ml index 8f99932..4f8fe9f 100644 --- a/src/findlib/findlib.ml +++ b/src/findlib/findlib.ml @@ -108,6 +108,8 @@ let init let configd_file = config_file ^ ".d" in + let extra_configd_file = Findlib_config.extra_configd_file in + let vars_of_file f = let ch = open_in f in try @@ -151,12 +153,17 @@ let init vars_of_file config_file else [] in + let extra_configd_vars = (* Debian specific *) + if Sys.file_exists extra_configd_file then + vars_of_dir extra_configd_file + else + [] in let configd_vars = if Sys.file_exists configd_file then vars_of_dir configd_file else [] in - let vars = config_vars @ configd_vars in + let vars = config_vars @ configd_vars @ extra_configd_vars in if vars <> [] then ( let found = ref false in let lookup name default = diff --git a/src/findlib/findlib_config.mlp b/src/findlib/findlib_config.mlp index 5b4ab69..09d0089 100644 --- a/src/findlib/findlib_config.mlp +++ b/src/findlib/findlib_config.mlp @@ -4,6 +4,7 @@ *) let config_file = "@CONFIGFILE@";; +let extra_configd_file = "/usr/share/ocaml-findlib/";; (* Debian specific *) let ocaml_stdlib = "@STDLIB@";; -- debian/patches/series0000644000000000000000000000052412247167312012040 0ustar 0001-Change-standard-directories-to-conform-our-own-polic.patch 0002-Extra-configuration-search-path.patch 0003-META.num-bugfix-moved-directory-directive-outside-co.patch 0004-Camlp4-depends-on-Dynlink-on-every-architecture.patch 0005-Do-not-use-an-absolute-path-in-META.camlp4.patch 0006-Disable-graphics-and-labltk-when-unavailable.patch debian/patches/0006-Disable-graphics-and-labltk-when-unavailable.patch0000644000000000000000000000220112247167312022611 0ustar From: Nicolas Dandrimont Date: Mon, 27 Jun 2011 22:41:54 +0200 Subject: Disable graphics and labltk when unavailable --- site-lib-src/graphics/META.in | 1 + site-lib-src/labltk/META.in | 1 + 2 files changed, 2 insertions(+) diff --git a/site-lib-src/graphics/META.in b/site-lib-src/graphics/META.in index 7fd5ec2..eacac66 100644 --- a/site-lib-src/graphics/META.in +++ b/site-lib-src/graphics/META.in @@ -1,6 +1,7 @@ dnl This file is input of the m4 macro processor. `# Specifications for the "graphics" library:' `requires = ""' +`exists_if = "graphics.cma"' `version = "[distributed with Ocaml]"' `description = "Portable drawing primitives"' `directory = "^"' diff --git a/site-lib-src/labltk/META.in b/site-lib-src/labltk/META.in index 29347bd..6819198 100644 --- a/site-lib-src/labltk/META.in +++ b/site-lib-src/labltk/META.in @@ -1,6 +1,7 @@ dnl This file is input of the m4 macro processor. `# Specifications for the "labltk" library:' `requires = ""' +`exists_if = "labltk.cma"' `version = "[distributed with Ocaml]"' `description = "The Tk windowing toolkit"' `directory = "+labltk"' -- debian/patches/0004-Camlp4-depends-on-Dynlink-on-every-architecture.patch0000644000000000000000000000203412247167315023230 0ustar From: Nicolas Dandrimont Date: Tue, 14 Jun 2011 15:21:31 +0200 Subject: Camlp4 depends on Dynlink on every architecture --- site-lib-src/camlp4.310/META.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site-lib-src/camlp4.310/META.in b/site-lib-src/camlp4.310/META.in index f54c775..e1f4d31 100644 --- a/site-lib-src/camlp4.310/META.in +++ b/site-lib-src/camlp4.310/META.in @@ -6,7 +6,7 @@ dnl This file is input of the m4 macro processor. `directory = "+camlp4"' `# For the toploop:' -`requires(byte,toploop) = "'camlp4_dynlink`"' +`requires(byte,toploop) = "dynlink"' `archive(byte,toploop,camlp4o) = "camlp4o.cma"' `archive(byte,toploop,camlp4r) = "camlp4r.cma"' @@ -16,7 +16,7 @@ dnl This file is input of the m4 macro processor. `preprocessor = "'camlp4_cmd`"' `package "lib" (' -` requires = "camlp4 'camlp4_dynlink`"' +` requires = "camlp4 dynlink"' ` version = "[distributed with Ocaml]"' ` description = "Camlp4 library"' ` archive(byte) = "camlp4lib.cma"' -- debian/patches/0005-Do-not-use-an-absolute-path-in-META.camlp4.patch0000644000000000000000000000124212247167315021632 0ustar From: Nicolas Dandrimont Date: Mon, 27 Jun 2011 21:55:16 +0200 Subject: Do not use an absolute path in META.camlp4 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index b4ff612..a71754b 100755 --- a/configure +++ b/configure @@ -423,7 +423,7 @@ fi # Check on camlp4: if in_path camlp4; then - camlp4_dir=`camlp4 -where | tr -d '\015'` + camlp4_dir=`camlp4 -where | tr -d '\015' | sed -s 's@/usr/lib/ocaml/@^@'` if [ ${use_cygpath} -gt 0 ]; then camlp4_dir=`echo x | env USE_CYGPATH=1 tools/patch x "$camlp4_dir"` # This makes camlp4_dir a windows path -- debian/gbp.conf0000644000000000000000000000003612247167324010614 0ustar [DEFAULT] pristine-tar = True debian/control0000644000000000000000000000764712247167315010617 0ustar Source: findlib Section: ocaml Priority: optional Maintainer: Debian OCaml Maintainers Uploaders: Mehdi Dogguy , Stéphane Glondu , Nicolas Dandrimont Build-Depends: debhelper (>= 8), ocaml-nox (>= 4.00.0~beta), ocaml, camlp4, m4, gawk | awk, dh-ocaml (>= 0.9~) Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-ocaml-maint/packages/findlib.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ocaml-maint/packages/findlib.git Homepage: http://projects.camlcity.org/projects/findlib.html Package: ocaml-findlib Architecture: any Depends: libfindlib-ocaml, ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends} Suggests: camlp4, ocaml-findlib-wizard Recommends: libfindlib-ocaml-dev Provides: ${ocaml:Provides} Description: management tool for OCaml libraries The "findlib" OCaml 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. . This package contains a tool (ocamlfind) that allows the user to enter queries on the command-line. In order to simplify compilation and linkage, there are new frontends, all driven by ocamlfind, for the various OCaml compilers that can directly deal with packages. Package: libfindlib-ocaml-dev Architecture: any Depends: ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends} Recommends: ocaml-findlib Provides: ${ocaml:Provides} Replaces: ocaml-findlib (<< 1.2.4-3) Breaks: ocaml-findlib (<< 1.2.4-3) Description: library for managing OCaml libraries (development files) The "findlib" OCaml 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. . This package contains development files needed to compile programs using findlib. Package: libfindlib-ocaml Architecture: any Depends: ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${ocaml:Provides} Replaces: ocaml-findlib (<< 1.2.4-3) Breaks: ocaml-findlib (<< 1.2.4-3) Description: library for managing OCaml libraries (runtime) The "findlib" OCaml 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. . This package contains files that are or may be needed at runtime by programs using findlib (META files and dynamically-loadable files). Package: ocaml-findlib-wizard Architecture: any Depends: ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${ocaml:Provides} Replaces: ocaml-findlib (<< 1.2.4-3) Breaks: ocaml-findlib (<< 1.2.4-3) Description: Makefile and META wizard for OCaml libraries This wizard helps you creating Makefiles and META files for simple OCaml library projects. It generates a Makefile, and the Makefile produces the META file. This generated build system is a starting point and can be later fine-tuned. debian/README.source0000644000000000000000000000116712247167312011357 0ustar Debian source package for Findlib ================================= Repackaging upstream sources ---------------------------- At least db2man (from the same author) is missing to compile the documentation from source, but the official upstream tarball already provides compiled documentation, without sources. For the Debian source package, upstream sources have been repackaged with the sources of the documentation, taken from SVN. The file tools/make-package-macosx has different copyright and license, and is useless to Debian; it has been removed. -- Stéphane Glondu , Sat, 12 Feb 2011 10:30:07 +0100