debian/0000755000000000000000000000000012247302130007160 5ustar debian/control0000644000000000000000000000356512173756661010620 0ustar Source: extlib Section: ocaml Priority: optional Maintainer: Debian OCaml Maintainers Uploaders: Stéphane Glondu , Lifeng Sun Build-Depends: ocaml-nox (>= 4.00.1), ocaml-findlib (>= 1.3.2), debhelper (>= 8), cdbs, dh-ocaml (>= 0.9) Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-ocaml-maint/packages/extlib.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ocaml-maint/packages/extlib.git Homepage: http://code.google.com/p/ocaml-extlib/ Package: libextlib-ocaml-dev Architecture: any Depends: ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${ocaml:Provides} Recommends: ocaml-findlib Description: extended standard library for OCaml ExtLib is a project aiming at providing a complete - yet small - standard library for the OCaml programming language. . The purpose of this library is to add new functions to OCaml Standard Library modules, to modify some functions in order to get better performances or more safety (tail-recursive) but also to provide new modules which should be useful for the average OCaml programmer. . ExtLib contains modules implementing: enumeration over abstract collection of elements, efficient bit sets, dynamic arrays, references on lists, Unicode characters and UTF-8 encoded strings, additional and improved functions for hashtables, strings, lists and option types. Package: libextlib-ocaml Architecture: any Depends: ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${ocaml:Provides} Replaces: libextlib-ocaml-dev (<< 1.5.1-4) Breaks: libextlib-ocaml-dev (<< 1.5.1-4) Description: extended standard library for OCaml (plugins) ExtLib is a project aiming at providing a complete - yet small - standard library for the OCaml programming language. . This package contains plugins needed by plugins using ExtLib. debian/source/0000755000000000000000000000000011622265147010474 5ustar debian/source/format0000644000000000000000000000001411622265147011702 0ustar 3.0 (quilt) debian/docs0000644000000000000000000000001311622264222010032 0ustar README.txt debian/copyright0000644000000000000000000000364612173756661011150 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: extlib Upstream-Contact: Nicolas Cannasse Source: http://sourceforge.net/projects/ocaml-lib/ Files: * Copyright: 1996-2003 Nicolas Cannasse 2003 Brian Hurt 2002, 2003 Yamagata Yoriyuki 1996-2003 Xavier Leroy 1996-2003 Markus Mottl 2004 Bardur Arantsson 2004 Jesse Guardiani 2005 Richard W.M. Jones License: LGPL-2+ | other The Library is distributed under the terms of the GNU Library General Public License version 2 (found in /usr/share/common-licenses/LGPL-2 on debian systems). . As a special exception to the GNU Library General Public License, you may link, statically or dynamically, a "work that uses the Library" with a publicly distributed version of the Library to produce an executable file containing portions of the Library, and distribute that executable file under terms of your choice, without any of the additional requirements listed in clause 6 of the GNU Library General Public License. By "a publicly distributed version of the Library", we mean either the unmodified Library, or a modified version of the Library that is distributed under the conditions defined in clause 3 of the GNU Library General Public License. This exception does not however invalidate any other reasons why the executable file might be covered by the GNU Library General Public License. . On Debian systems, the complete text of the GNU Library General Public License can be found in `/usr/share/common-licenses/LGPL-2'. Files: debian/* Copyright: Stefano Zacchiroli License: GPL-2+ On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. debian/watch0000644000000000000000000000012011622264222010207 0ustar version=3 http://code.google.com/p/ocaml-extlib/ .*/?files/extlib-(.*)\.tar\.gz debian/compat0000644000000000000000000000000211622265147010372 0ustar 8 debian/rules0000755000000000000000000000123111622265147010251 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/ocaml.mk PKGNAME = libextlib-ocaml-dev OCAML_OCAMLDOC_PACKAGES = $(OCAML_LIBDEV_PACKAGES) PKGDIR = $(CURDIR)/debian/tmp DESTDIR = $(PKGDIR)$(OCAML_STDLIB_DIR)/extlib DOCDIR = $(PKGDIR)/usr/share/doc/$(PKGNAME)/ common-build-arch:: mkdir -p $(DESTDIR)/ $(DOCDIR)/ if [ -x /usr/bin/ocamlopt ]; then \ ocaml install.ml -d $(DESTDIR)/ -b -n -nodoc; \ ocamlopt -shared -linkall -o $(DESTDIR)/extLib.cmxs -I $(DESTDIR) $(DESTDIR)/extLib.cmxa; \ else \ ocaml install.ml -d $(DESTDIR)/ -b -nodoc; \ fi cp -a extLib.ml *.mli $(DESTDIR)/ cp -a META $(DESTDIR)/META debian/gbp.conf0000644000000000000000000000003611622264222010603 0ustar [DEFAULT] pristine-tar = True debian/libextlib-ocaml-dev.ocamldoc0000644000000000000000000000007511622264222014515 0ustar # This file must not be empty to be represented in .diff.gz! debian/libextlib-ocaml.install.in0000644000000000000000000000013711622264222014232 0ustar @OCamlStdlibDir@/extlib/META @OCamlStdlibDir@/extlib/*.cma OPT: @OCamlStdlibDir@/extlib/*.cmxs debian/changelog0000644000000000000000000002255512247302130011043 0ustar extlib (1.5.4-2) unstable; urgency=low * Upload to unstable -- Stéphane Glondu Tue, 03 Dec 2013 08:12:23 +0100 extlib (1.5.4-1) experimental; urgency=low [ Mehdi Dogguy ] * Update patch 0001-Compile-ocaml-objects-with-debugging-information.patch to build native library with debugging symbols too (Closes: #649862) [ Lifeng Sun ] * New upstream release. (Closes: #663905, #596622) * Bump Standards-Version to 3.9.4. * debian/control: canonical VCS-* fields. * debian/copyright: switch to dep5 format. * Add myself to Uploaders. -- Lifeng Sun Wed, 24 Jul 2013 17:21:35 +0800 extlib (1.5.2-1) unstable; urgency=low * New upstream release * Remove Stefano from Uploaders * Switch source package format to 3.0 (quilt) * Bump Standards-Version to 3.9.2 * Bump debhelper compat level to 8 -- Stéphane Glondu Mon, 15 Aug 2011 20:52:15 +0200 extlib (1.5.1-5) unstable; urgency=low * Switch packaging to dh-ocaml 0.9 -- Stéphane Glondu Fri, 30 Oct 2009 18:19:25 +0100 extlib (1.5.1-4) unstable; urgency=low * Build and install native plugin * Add README.source * debian/control: - add myself to Uploaders - move to section ocaml - add binary package libextlib-ocaml - update Standards-Version to 3.8.3 -- Stéphane Glondu Mon, 31 Aug 2009 18:39:52 +0200 extlib (1.5.1-3) unstable; urgency=low * uploading to unstable * debian/control: - bump build-deps to avoid spurious build failures in unstable * remove obsolete debian/svn-deblayout (we now use git) * debian/rules: use ocaml.mk as a CDBS "rules" snippet, bump dh-ocaml build-dep to the minimum version implementing it -- Stefano Zacchiroli Thu, 26 Feb 2009 23:24:05 +0100 extlib (1.5.1-2) experimental; urgency=low * rebuild with OCaml 3.11 * debian/control: - bump Standards-Version (no changes required) - add build-dep on dh-ocaml (which now ships the CDBS class) - strengthen deps to OCaml (to ensure proper build in experimental) - rely on debhelper 7 (bump deps and debian/compat accordingly) * make Vcs-* fields point to the new git repository -- Stefano Zacchiroli Sun, 01 Feb 2009 18:49:41 +0100 extlib (1.5.1-1) unstable; urgency=low * new upstream release, reflecting project relocation (closes: #458257) - update debian/watch to point to the new download url - update Homepage field in debian/control * fix vcs-svn field to point just above the debian/ dir * rename upstream/ with tarballs/ and shorten debian/svn-deblayout accordingly - update debian/patches/00dpatch.conf to point to ../tarballs/ * refresh patch build_with_debug_info to match new upstream -- Stefano Zacchiroli Mon, 07 Jan 2008 22:07:50 +0100 extlib (1.5-10) unstable; urgency=low * promote Homepage to a real debian/control field * update standards-version, no changes needed * setting me as an uploader, d-o-m as the maintainer -- Stefano Zacchiroli Fri, 28 Dec 2007 20:24:47 +0100 extlib (1.5-9) unstable; urgency=low * debian/rules - use CDBS support to generated ocamldoc documentation * debian/patches - remove no longer needed patch 03_install (was only useful to tune ocamldoc generation) * debian/*.doc-base - remove doc-base entry for ocamldoc API reference, now it will be automatically generated during build -- Stefano Zacchiroli Tue, 04 Sep 2007 10:02:33 +0200 extlib (1.5-8) experimental; urgency=low * rebuild against 3.10 * bump debhelper dep and compatibility to 5 -- Stefano Zacchiroli Thu, 12 Jul 2007 15:41:38 +0200 extlib (1.5-7) unstable; urgency=low * compile objects with debugging information, patch from Ivan Jager (Closes: #415194) -- Stefano Zacchiroli Mon, 09 Apr 2007 15:29:33 +0200 extlib (1.5-6) unstable; urgency=low * debian/rules - switched to cdbs * debian/control - bumped build dependency on ocaml-nox to >= 3.09.2-7 since we now rely on the ocaml.mk cdbs class - added build dependency on cdbs -- Stefano Zacchiroli Sat, 4 Nov 2006 09:34:17 +0100 extlib (1.5-5) unstable; urgency=low * debian/rules - avoid to create debian/control from debian/control.in on ocamlinit * debian/control.in - file removed, no longer needed -- Stefano Zacchiroli Wed, 6 Sep 2006 09:44:06 +0200 extlib (1.5-4) unstable; urgency=low * Upload to unstable. -- Stefano Zacchiroli Tue, 16 May 2006 20:09:50 +0000 extlib (1.5-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 23:51:32 +0000 extlib (1.5-2) unstable; urgency=low * debian/patches/03_install.dpatch - bugfix: invoke ocamldoc to generate html documentation -- Stefano Zacchiroli Mon, 20 Feb 2006 12:33:04 -0500 extlib (1.5-1) unstable; urgency=low * New upstream release (closes: #353734) * debian/patches/03_install.dpatch - new patch to avoid installing unexistent .css file * debian/control - added homepage to long description * debian/copyright - updated wrt current authors and maintainers * debian/* - comsetic changes here and there * debian/watch - added watch file -- Stefano Zacchiroli Mon, 20 Feb 2006 11:34:46 -0500 extlib (1.4-5) unstable; urgency=low * Rebuilt against OCaml 3.09.1, bumped deps accordingly. -- Stefano Zacchiroli Sat, 7 Jan 2006 11:51:10 +0100 extlib (1.4-4) unstable; urgency=low * debian/rules - more precise mv statement due to more restrictive coreutils, fixes FTBFS (closes: #340879). Thanks to Roland Stigge for the patch. -- Stefano Zacchiroli Sat, 26 Nov 2005 18:52:47 +0100 extlib (1.4-3) unstable; urgency=low * Rebuilt with ocaml 3.09 (closes: #338098) * debian/control - bumped standards version * debian/* - no longer hardcoding of ocaml abi -- Stefano Zacchiroli Thu, 10 Nov 2005 09:19:59 +0000 extlib (1.4-2) unstable; urgency=low * Changed doc-base section to Apps/Programming (closes: #310760). -- Stefano Zacchiroli Thu, 26 May 2005 22:38:18 +0200 extlib (1.4-1) unstable; urgency=low * New upstream release -- Stefano Zacchiroli Fri, 25 Mar 2005 12:48:35 +0100 extlib (1.3-3) unstable; urgency=low * Rebuilt against ocaml 3.08.3 -- Stefano Zacchiroli Thu, 24 Mar 2005 22:21:37 +0100 extlib (1.3-2) unstable; urgency=low * debian/rules - install .ml/.mli files using cp -a to avoid .mli having timestamps greater than corresponding .cmi (Closes: Bug#283122) -- Stefano Zacchiroli Fri, 26 Nov 2004 23:45:27 +0100 extlib (1.3-1) unstable; urgency=low * New upstream release -- Stefano Zacchiroli Tue, 26 Oct 2004 11:12:23 +0200 extlib (1.2-2) unstable; urgency=medium * debian/patches/17_ocamldbi_compat - patched dbi.{ml,mli} so that they are compatible with those shipped with latest ocamldbi. This patch is basically the diff between extlib release 1.2 and current extlib CVS. -- Stefano Zacchiroli Thu, 5 Aug 2004 11:21:03 +0200 extlib (1.2-1) unstable; urgency=low * New upstream release - ocaml 3.08 porting - IO module: simplified and added binary files support - added Unzip module (ocaml implementation of zlib inflate) * debian/patches - removed old patches for META version and ocaml 3.08 porting -- Stefano Zacchiroli Mon, 2 Aug 2004 11:59:46 +0200 extlib (1.1-4) unstable; urgency=low * rebuilt with ocaml 3.08 * debian/control - bumped ocaml deps to 3.08 - bumped standards-version to 3.6.1.1 - changed ocaml deps to ocaml-nox * debian/patches/13_ocaml_308.dpatch - added patch for s/create_string/caml_create_string/ -- Stefano Zacchiroli Mon, 26 Jul 2004 16:09:53 +0200 extlib (1.1-3) unstable; urgency=low * debian/rules - fixed ocamldoc documentation creation ("-doc" switch) -- Stefano Zacchiroli Tue, 25 May 2004 01:43:07 +0200 extlib (1.1-2) unstable; urgency=low * debian/rules - fixed typo which makes build process fail on non-native archs -- Stefano Zacchiroli Mon, 24 May 2004 09:40:32 +0200 extlib (1.1-1) unstable; urgency=low * New upstream release -- Stefano Zacchiroli Sun, 23 May 2004 21:46:27 +0200 extlib (1.0b-3) unstable; urgency=low * Applied patch from Nicolas Cannasse which fixes a segfault of Std.input_list -- Stefano Zacchiroli Sat, 20 Dec 2003 14:49:57 +0100 extlib (1.0b-2) unstable; urgency=low * debian/rules - bugfix: invoke install.ml with the right parameter on bytecode-only architecture (fix build failure on all that archs) * debian/control - bumped Standards-Version to 3.6.1.0 - qualified ocaml-findlib dependencies with >= 0.8-5 -- Stefano Zacchiroli Wed, 15 Oct 2003 10:45:01 +0200 extlib (1.0b-1) unstable; urgency=low * Initial Release (Closes: Bug#213127). -- Stefano Zacchiroli Fri, 3 Oct 2003 23:55:57 +0200 debian/patches/0000755000000000000000000000000012173716635010630 5ustar debian/patches/0001-Compile-ocaml-objects-with-debugging-information.patch0000644000000000000000000000217312173716520023560 0ustar From: Stefano Zacchiroli Date: Mon, 15 Aug 2011 20:42:10 +0200 Subject: Compile ocaml objects with debugging information --- install.ml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install.ml b/install.ml index 193f683..85396a8 100644 --- a/install.ml +++ b/install.ml @@ -160,13 +160,13 @@ let install() = if !autodoc && not (Sys.file_exists doc_dir) then run (sprintf "mkdir %s" doc_dir); run (sprintf "ocamlc -c %s" (m_list ".mli")); if !autobyte then begin - List.iter (fun m -> run (sprintf "ocamlc -c %s.ml" m)) modules; + List.iter (fun m -> run (sprintf "ocamlc -g -c %s.ml" m)) modules; run (sprintf "ocamlc -a -o extLib.cma %s extLib.ml" (m_list ".cmo")); List.iter (fun m -> remove (m ^ ".cmo")) modules; remove "extLib.cmo"; end; if !autonative then begin - List.iter (fun m -> run (sprintf "ocamlopt -c %s.ml" m)) modules; + List.iter (fun m -> run (sprintf "ocamlopt -g -c %s.ml" m)) modules; run (sprintf "ocamlopt -a -o extLib.cmxa %s extLib.ml" (m_list ".cmx")); List.iter (fun m -> remove (m ^ obj_ext)) modules; remove ("extLib" ^ obj_ext); -- debian/patches/series0000644000000000000000000000007411622265147012041 0ustar 0001-Compile-ocaml-objects-with-debugging-information.patch debian/libextlib-ocaml-dev.install.in0000644000000000000000000000024411622264222015005 0ustar @OCamlStdlibDir@/extlib/*.cmi @OCamlStdlibDir@/extlib/*.ml* OPT: @OCamlStdlibDir@/extlib/*.a OPT: @OCamlStdlibDir@/extlib/*.cmx OPT: @OCamlStdlibDir@/extlib/*.cmxa