--- xstr-0.2.1.orig/debian/expand_stars.sh +++ xstr-0.2.1/debian/expand_stars.sh @@ -0,0 +1,3 @@ +#!/bin/bash +# expand '(*' to '(**' +sed 's/^\( *\)(\*\( [^\$=]\)/\1(**\2/' "$@" --- xstr-0.2.1.orig/debian/patches/00list +++ xstr-0.2.1/debian/patches/00list @@ -0,0 +1 @@ +build.dpatch --- xstr-0.2.1.orig/debian/patches/build.dpatch +++ xstr-0.2.1/debian/patches/build.dpatch @@ -0,0 +1,27 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_build.dpatch by Stefano Zacchiroli +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: enable installing to a target directory passed from debian/rules + +@DPATCH@ +diff -urNad trunk~/Makefile trunk/Makefile +--- trunk~/Makefile 2000-09-23 15:06:54.000000000 +0200 ++++ trunk/Makefile 2005-11-12 10:10:49.000000000 +0100 +@@ -17,6 +17,7 @@ + NAME = xstr + #REQUIRES = + UNSAFE = ++DESTDIR = + + # you may try this: (0% to 10% faster) + #UNSAFE = -unsafe +@@ -49,7 +50,7 @@ + .PHONY: install + install: all + { test ! -f $(XARCHIVE) || extra="*.cmxa *.a"; }; \ +- $(OCAMLFIND) install $(NAME) *.mli *.cmi *.cma META $$extra ++ $(OCAMLFIND) install -destdir $(DESTDIR) $(NAME) *.mli *.cmi *.cma META $$extra + + .PHONY: uninstall + uninstall: --- xstr-0.2.1.orig/debian/patches/00dpatch.conf +++ xstr-0.2.1/debian/patches/00dpatch.conf @@ -0,0 +1,2 @@ +conf_debianonly=1 +conf_origtargzpath=../upstream --- xstr-0.2.1.orig/debian/copyright +++ xstr-0.2.1/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by Stefano Zacchiroli on +Sat, 7 Apr 2001 01:01:51 +0200. + +It was downloaded from http://www.ocaml-programming.de + +Upstream Author: Gerd Stolpmann + +Copyright: + + Copyright 1999 by Gerd Stolpmann + + The package "xstr" is copyright by Gerd Stolpmann. + + Permission is hereby granted, free of charge, to any person obtaining + a copy of the "xstr" 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. --- xstr-0.2.1.orig/debian/watch +++ xstr-0.2.1/debian/watch @@ -0,0 +1,7 @@ +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +http://www.ocaml-programming.de/packages/xstr-(.*)\.tar\.gz + --- xstr-0.2.1.orig/debian/docs +++ xstr-0.2.1/debian/docs @@ -0,0 +1,2 @@ +README +RELEASE --- xstr-0.2.1.orig/debian/control +++ xstr-0.2.1/debian/control @@ -0,0 +1,24 @@ +Source: xstr +Section: libdevel +Priority: optional +Maintainer: Debian OCaml Maintainers +Uploaders: Stefano Zacchiroli +Build-Depends: debhelper (>> 5.0.0), ocaml-nox (>= 3.10.0), ocaml-findlib (>= 1.1), cdbs, dpatch +Standards-Version: 3.7.3 +Vcs-Svn: svn://svn.debian.org/svn/pkg-ocaml-maint/trunk/packages/xstr/trunk +Vcs-Browser: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/xstr/trunk/ +Homepage: http://www.ocaml-programming.de/packages/ + +Package: libxstr-ocaml-dev +Architecture: any +Depends: ocaml-nox-${F:OCamlABI}, ocaml-findlib (>= 1.1), ${shlibs:Depends} +Description: OCaml library for frequent string operations + xstr is an OCaml library for string operations. + . + This package implements frequent string operations: searching, + replacing, splitting, matching. It is independent from the Str library, + and can replace Str in many cases. Unlike Str, xstr is thread-safe. + xstr does not implement regular expressions in general, but an + important subset. Some operations of xstr are performed as quickly as + by Str; if the string to be processed is small, xstr is often faster + than Str; if the string is big, xstr is up to half as fast than Str. --- xstr-0.2.1.orig/debian/compat +++ xstr-0.2.1/debian/compat @@ -0,0 +1 @@ +5 --- xstr-0.2.1.orig/debian/dirs.in +++ xstr-0.2.1/debian/dirs.in @@ -0,0 +1 @@ +usr/lib/ocaml/@OCamlABI@ --- xstr-0.2.1.orig/debian/rules +++ xstr-0.2.1/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/makefile.mk +include /usr/share/cdbs/1/rules/dpatch.mk +include /usr/share/cdbs/1/class/ocaml.mk + +PKGNAME = libxstr-ocaml-dev +OCAML_OCAMLDOC_PACKAGES = $(OCAML_LIBDEV_PACKAGES) +OCAML_OCAMLDOC_FLAGS += -pp $(CURDIR)/debian/expand_stars.sh +DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(CURDIR)/debian/$(PKGNAME)/$(OCAML_STDLIB_DIR) + +ifeq ($(OCAML_HAVE_OCAMLOPT),yes) +build/$(PKGNAME):: + $(MAKE) opt +endif +build/$(PKGNAME):: + chmod +x $(CURDIR)/debian/expand_stars.sh --- xstr-0.2.1.orig/debian/changelog +++ xstr-0.2.1/debian/changelog @@ -0,0 +1,209 @@ +xstr (0.2.1-19build1) intrepid; urgency=low + + * rebuild against ocaml 3.10.2 + + -- Cesare Tirabassi Wed, 28 May 2008 15:24:18 +0200 + +xstr (0.2.1-19) unstable; urgency=low + + * fix vcs-svn field to point just above the debian/ dir + * add Homepage field to debian/control + * update standards-version, no changes needed + * set me as an uploader, d-o-m as the maintainer + * debian/patches: rename 01_build.dpatch - (00list is enough for ordering) + * debian/patches: add missing description to patch build.dpatch + * move expansion of upstream comments to ocamldoc-like comments to a + separate shell script, to avoid Makefile escaping issues + + -- Stefano Zacchiroli Mon, 31 Dec 2007 18:09:32 +0100 + +xstr (0.2.1-18) unstable; urgency=low + + * debian/rules + - enable generation of ocamldoc documentation (via CDBS) + + -- Stefano Zacchiroli Tue, 04 Sep 2007 17:54:16 +0200 + +xstr (0.2.1-17) experimental; urgency=low + + * rebuild with ocaml 3.10 + * debian/watch + - add watch file + * bump debhelper dep to 5 and add (previously missing) debian/compat + + -- Stefano Zacchiroli Sat, 14 Jul 2007 11:34:22 +0200 + +xstr (0.2.1-16) unstable; urgency=low + + * debian/rules + - use ocaml.mk + * debian/control + - bumped build dependency on ocaml-nox to >= 3.09.2-7, since we now use + ocaml.mk + + -- Stefano Zacchiroli Sat, 4 Nov 2006 09:35:21 +0100 + +xstr (0.2.1-15) unstable; urgency=low + + * debian/rules + - removed no longer needed workaround for cdbs + dpatch + - avoid to create debian/control from debian/control.in on ocamlinit + - removed from the source package files which are generated at build time + from the corresponding .in files + * debian/control.in + - file removed, no longer needed + + -- Stefano Zacchiroli Wed, 6 Sep 2006 09:38:54 +0200 + +xstr (0.2.1-14) unstable; urgency=low + + * Upload to unstable. + + -- Stefano Zacchiroli Tue, 16 May 2006 20:12:53 +0000 + +xstr (0.2.1-13) 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:13:35 +0000 + +xstr (0.2.1-12) unstable; urgency=low + + * Rebuilt against OCaml 3.09.1, bumped deps accordingly. + + -- Stefano Zacchiroli Sat, 7 Jan 2006 14:40:33 +0100 + +xstr (0.2.1-11) unstable; urgency=low + + * Rebuilt with ocaml 3.09 + * debian/control + - bumped standards version + * debian/* + - use cdbs and dpatch + - no longer hard coding of ocaml abi anywhere + + -- Stefano Zacchiroli Sat, 12 Nov 2005 10:06:09 +0100 + +xstr (0.2.1-10) unstable; urgency=low + + * Rebuilt against ocaml 3.08.3 + + -- Stefano Zacchiroli Thu, 24 Mar 2005 22:48:27 +0100 + +xstr (0.2.1-9) unstable; urgency=low + + * rebuilt against ocaml 3.08.2 + + -- Stefano Zacchiroli Thu, 9 Dec 2004 16:34:30 +0100 + +xstr (0.2.1-8) 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 + + -- Stefano Zacchiroli Mon, 26 Jul 2004 16:29:57 +0200 + +xstr (0.2.1-7) unstable; urgency=low + + * Changed section to libdevel + + -- Stefano Zacchiroli Thu, 2 Oct 2003 19:26:55 +0200 + +xstr (0.2.1-6) unstable; urgency=low + + * Rebuilt with ocaml 3.07 + + -- Stefano Zacchiroli Wed, 1 Oct 2003 14:12:04 +0200 + +xstr (0.2.1-5) unstable; urgency=low + + * Rebuilt with ocaml 3.07beta2 + + -- Stefano Zacchiroli Mon, 22 Sep 2003 17:33:20 +0200 + +xstr (0.2.1-4) unstable; urgency=low + + * Removed Provides:.*- + + -- Stefano Zacchiroli Mon, 10 Mar 2003 13:52:37 +0100 + +xstr (0.2.1-3) unstable; urgency=low + + * Libdir transition to /usr/lib/ocaml/3.06 + * Changed depends and build depends to ocaml{,-base}-3.06-1 + * Reformatted upstream author in debian/copyright just to make lintian + happy + + -- Stefano Zacchiroli Mon, 16 Dec 2002 13:02:24 +0100 + +xstr (0.2.1-2) unstable; urgency=low + + * Added 'Provides: libxstr-ocaml-dev-' + * Bumped Standards-Versions to 3.5.8 + * Better test on ocamlopt presence in debian/rules + * Removed useless binary-indep target from debian/rules + * Commented out some useless dh_* from debian/rules + + -- Stefano Zacchiroli Thu, 28 Nov 2002 23:41:10 +0100 + +xstr (0.2.1-1) unstable; urgency=low + + * New upstream release + * Rebuilt against ocaml 3.06 (Closes: Bug#158265) + * Switched to debhelper 4 + * Removed mention of ocaml-xstr (ancient) from debian/control + * Changed deps and build-deps to ocaml-3.06 + * Changed deps on ocaml-findlib from recommends to depends + * Fixed some typos in CVS variables + + -- Stefano Zacchiroli Tue, 27 Aug 2002 00:03:44 +0200 + +xstr (0.2-7) unstable; urgency=low + + * Renamed package to libxstr-ocaml-dev. + * Some aesthetic changes in debian/rules. + + -- Stefano Zacchiroli Tue, 26 Feb 2002 09:24:16 +0100 + +xstr (0.2-6) 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 14:31:43 +0100 + +xstr (0.2-5) unstable; urgency=low + + * Rebuilt with ocaml 3.04 + + -- Stefano Zacchiroli Mon, 24 Dec 2001 09:20:32 +0100 + +xstr (0.2-4) unstable; urgency=low + + * Fixed spelling error in description (closes: Bug#125200). + + -- Stefano Zacchiroli Tue, 18 Dec 2001 13:11:28 +0100 + +xstr (0.2-3) unstable; urgency=low + + * Rebuilt with ocaml 3.02 + + -- Stefano Zacchiroli Mon, 20 Aug 2001 21:33:58 +0200 + +xstr (0.2-2) unstable; urgency=low + + * Conditional build of "opt" target now check for /usr/bin/ocamlopt + executableness (closes: Bug#96254). + + -- Stefano Zacchiroli Mon, 7 May 2001 13:13:38 +0200 + +xstr (0.2-1) unstable; urgency=low + + * Initial Release (closes: Bug#93417). + + -- Stefano Zacchiroli Sat, 7 Apr 2001 01:01:51 +0200 + --- xstr-0.2.1.orig/debian/svn-deblayout +++ xstr-0.2.1/debian/svn-deblayout @@ -0,0 +1,3 @@ +origDir=../upstream +origUrl=svn+ssh://svn.debian.org/svn/pkg-ocaml-maint/trunk/packages/xstr/upstream +tagsUrl=svn+ssh://svn.debian.org/svn/pkg-ocaml-maint/tags/packages/xstr --- xstr-0.2.1.orig/depend +++ xstr-0.2.1/depend @@ -0,0 +1,6 @@ +xstr_match.cmo: xstr_match.cmi +xstr_match.cmx: xstr_match.cmi +xstr_search.cmo: xstr_search.cmi +xstr_search.cmx: xstr_search.cmi +xstr_split.cmo: xstr_split.cmi +xstr_split.cmx: xstr_split.cmi