--- xstr-0.2.1.orig/debian/README.source +++ xstr-0.2.1/debian/README.source @@ -0,0 +1,38 @@ +This package uses dpatch to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +To get the fully patched source after unpacking the source package, cd +to the root level of the source package and run: + + debian/rules patch + +Removing a patch is as simple as removing its entry from the +debian/patches/00list file, and please also remove the patch file +itself. + +Creating a new patch is done with "dpatch-edit-patch patch XX_patchname" +where you should replace XX with a new number and patchname with a +descriptive shortname of the patch. You can then simply edit all the +files your patch wants to edit, and then simply "exit 0" from the shell +to actually create the patch file. + +To tweak an already existing patch, call "dpatch-edit-patch XX_patchname" +and replace XX_patchname with the actual filename from debian/patches +you want to use. + +To clean up afterwards again, "debian/rules unpatch" will do the +work for you - or you can of course choose to call +"fakeroot debian/rules clean" all together. + + +--- + +this documentation is part of dpatch package, and may be used by +packages using dpatch to comply with policy on README.source. This +documentation is meant to be useful to users who are not proficient in +dpatch in doing work with dpatch-based packages. Please send any +improvements to the BTS of dpatch package. + +original text by Gerfried Fuchs, edited by Junichi Uekawa +10 Aug 2008. --- xstr-0.2.1.orig/debian/changelog +++ xstr-0.2.1/debian/changelog @@ -0,0 +1,280 @@ +xstr (0.2.1-21build8) artful; urgency=high + + * No change rebuild against ocaml 4.04. + + -- Dimitri John Ledkov Tue, 27 Jun 2017 13:37:29 +0100 + +xstr (0.2.1-21build7) xenial; urgency=medium + + * No-change rebuild against ocaml 4.02. + + -- Ɓukasz 'sil2100' Zemczak Tue, 03 Nov 2015 15:21:16 -0600 + +xstr (0.2.1-21build6) trusty; urgency=medium + + * Rebuild for ocaml-4.01. + + -- Matthias Klose Mon, 23 Dec 2013 16:18:39 +0000 + +xstr (0.2.1-21build5) precise; urgency=low + + * Rebuild with ocamlopt on armhf. + + -- Colin Watson Tue, 24 Jan 2012 10:54:29 +0000 + +xstr (0.2.1-21build4) precise; urgency=low + + * Rebuild for OCaml 3.12.1. + + -- Colin Watson Sat, 19 Nov 2011 01:03:50 +0000 + +xstr (0.2.1-21build3) oneiric; urgency=low + + * Rebuild to pick up ocaml fixes on armel. + + -- Adam Conrad Wed, 24 Aug 2011 16:28:41 -0600 + +xstr (0.2.1-21build2) oneiric; urgency=low + + * Rebuild for OCaml 3.12.0. + + -- Colin Watson Mon, 16 May 2011 20:53:24 +0100 + +xstr (0.2.1-21build1) lucid; urgency=low + + * No-change rebuild for OCaml 3.11.2 transition (LP: #526073). + + -- Ilya Barygin Wed, 24 Feb 2010 23:01:33 +0300 + +xstr (0.2.1-21) unstable; urgency=low + + * Remove ./depend through debian/clean + * Use dh-ocaml 0.9.1 features + * Add debian/gbp.conf to use pristine-tar + * Upgrade Standards-Version to 3.8.3 (section ocaml, README.source) + + -- Sylvain Le Gall Sat, 19 Dec 2009 12:49:49 +0100 + +xstr (0.2.1-20) unstable; urgency=low + + [ Stefano Zacchiroli ] + * upload to unstable + * rebuild against OCaml 3.11, bump build-deps accordingly + * debian/control: + - bump standards version to 3.8.0 (no changes needed) + - add missing ${misc:Depends} dependency + * debian/patches/ + - build: delegate installd dir creation to makefile, rather instead + of debhelper + * bump debhelper compatibility level to 7 + * debian/rules: use ocaml.mk as a CDBS "rules" snippet + + [ Stephane Glondu ] + * Update Homepage, fix watch file. + * Switching packaging to git + + -- Stefano Zacchiroli Thu, 26 Feb 2009 23:14:43 +0100 + +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/clean +++ xstr-0.2.1/debian/clean @@ -0,0 +1 @@ +depend --- xstr-0.2.1.orig/debian/compat +++ xstr-0.2.1/debian/compat @@ -0,0 +1 @@ +7 --- xstr-0.2.1.orig/debian/control +++ xstr-0.2.1/debian/control @@ -0,0 +1,37 @@ +Source: xstr +Section: ocaml +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian OCaml Maintainers +Uploaders: Stefano Zacchiroli , Sylvain Le Gall +Build-Depends: + debhelper (>= 7), + ocaml-nox (>= 3.11), + ocaml-findlib (>= 1.2.4), + cdbs, + dh-ocaml (>= 0.9.1), + dpatch +Standards-Version: 3.8.3 +Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/xstr.git +Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/xstr.git +Homepage: http://projects.camlcity.org/projects/xstr.html + +Package: libxstr-ocaml-dev +Architecture: any +Depends: + ${ocaml:Depends}, + ocaml-findlib, + ${shlibs:Depends}, + ${misc:Depends} +Provides: + ${ocaml:Provides} +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/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/docs +++ xstr-0.2.1/debian/docs @@ -0,0 +1,2 @@ +README +RELEASE --- 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/gbp.conf +++ xstr-0.2.1/debian/gbp.conf @@ -0,0 +1,2 @@ +[DEFAULT] +pristine-tar = True --- xstr-0.2.1.orig/debian/ocamldoc +++ xstr-0.2.1/debian/ocamldoc @@ -0,0 +1 @@ +-pp ./debian/expand_stars.sh --- 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/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,29 @@ +#! /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 xstr~/Makefile xstr/Makefile +--- xstr~/Makefile 2009-02-26 23:07:16.000000000 +0100 ++++ xstr/Makefile 2009-02-26 23:08:40.321976359 +0100 +@@ -17,6 +17,7 @@ + NAME = xstr + #REQUIRES = + UNSAFE = ++DESTDIR = + + # you may try this: (0% to 10% faster) + #UNSAFE = -unsafe +@@ -48,8 +49,9 @@ + + .PHONY: install + install: all ++ if [ ! -d $(DESTDIR) ] ; then mkdir -p $(DESTDIR) ; fi + { 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/rules +++ xstr-0.2.1/debian/rules @@ -0,0 +1,15 @@ +#!/usr/bin/make -f +include /usr/share/cdbs/1/rules/ocaml.mk +include /usr/share/cdbs/1/class/makefile.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/dpatch.mk + +PKGNAME = libxstr-ocaml-dev +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/watch +++ xstr-0.2.1/debian/watch @@ -0,0 +1,6 @@ +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +http://download.camlcity.org/download/xstr-(.*)\.tar\.gz