r17103 - in /trunk/libalgorithm-diff-perl: debian/ debian/changelog debian/control debian/copyright debian/libalgorithm-diff-perl.dirs debian/rules debian/watch lib/Algorithm/Diff.pm

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Sun Mar 9 21:10:37 UTC 2008


Author: gregoa-guest
Date: Sun Mar  9 21:10:37 2008
New Revision: 17103

URL: http://svn.debian.org/wsvn/?sc=1&rev=17103
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    trunk/libalgorithm-diff-perl/debian/
    trunk/libalgorithm-diff-perl/debian/changelog
    trunk/libalgorithm-diff-perl/debian/control
    trunk/libalgorithm-diff-perl/debian/copyright
    trunk/libalgorithm-diff-perl/debian/libalgorithm-diff-perl.dirs
    trunk/libalgorithm-diff-perl/debian/rules   (with props)
    trunk/libalgorithm-diff-perl/debian/watch
Modified:
    trunk/libalgorithm-diff-perl/lib/Algorithm/Diff.pm

Added: trunk/libalgorithm-diff-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libalgorithm-diff-perl/debian/changelog?rev=17103&op=file
==============================================================================
--- trunk/libalgorithm-diff-perl/debian/changelog (added)
+++ trunk/libalgorithm-diff-perl/debian/changelog Sun Mar  9 21:10:37 2008
@@ -1,0 +1,80 @@
+libalgorithm-diff-perl (1.19.01-2) unstable; urgency=low
+
+  * Update debian/watch to match only relevant .tar.gz files.
+  * Apply patch from Martin Zobel-Helas to properly export LCSidx.
+    Closes: #341227.
+  * Fix typo in Diff.pm example (upstream bug 16067).
+  * Bump Standards-Version to 3.6.2.1.  No changes necessary.
+
+ -- Florian Weimer <fw at deneb.enyo.de>  Tue, 29 Nov 2005 15:05:46 +0100
+
+libalgorithm-diff-perl (1.19.01-1) unstable; urgency=low
+
+  * New upstream release.
+  * Adopt the package.  Closes: #274119.
+
+ -- Florian Weimer <fw at deneb.enyo.de>  Fri,  1 Oct 2004 10:52:39 +0200
+
+libalgorithm-diff-perl (1.15-5) unstable; urgency=low
+
+  * Rebuild so that .arch-ids/ files don't get included in the package.
+
+ -- Michael Alan Dorman <mdorman at debian.org>  Tue, 23 Dec 2003 19:37:44 -0500
+
+libalgorithm-diff-perl (1.15-4) unstable; urgency=low
+
+  * Update standards version
+  * Remove examples file, since examples are being dealt with in a
+    different manner
+
+ -- Michael Alan Dorman <mdorman at mallet-assembly.org>  Fri, 19 Dec 2003 14:43:54 -0500
+
+libalgorithm-diff-perl (1.15-3) unstable; urgency=low
+
+  * Fix override disparity.
+
+ -- Michael Alan Dorman <mdorman at debian.org>  Fri, 15 Aug 2003 18:40:06 -0400
+
+libalgorithm-diff-perl (1.15-2) unstable; urgency=low
+
+  * Fix some problems with the copyright statement. (closes: Bug#157538)
+
+ -- Michael Alan Dorman <mdorman at debian.org>  Sat, 15 Mar 2003 14:12:36 -0500
+
+libalgorithm-diff-perl (1.15-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Michael Alan Dorman <mdorman at debian.org>  Sun,  7 Jul 2002 16:04:53 -0400
+
+libalgorithm-diff-perl (1.11a-1) unstable; urgency=low
+
+  * New upstream version (closes: bug#128190)
+
+ -- Michael Alan Dorman <mdorman at debian.org>  Tue, 22 Jan 2002 13:12:31 -0500
+
+libalgorithm-diff-perl (1.10-3) unstable; urgency=low
+
+  * Whooops!  My package somehow got screwed up, with the newer version of
+    the module appended to the text of the older module.  Fixed.
+
+ -- Michael Alan Dorman <mdorman at debian.org>  Sun, 15 Apr 2001 21:11:44 -0400
+
+libalgorithm-diff-perl (1.10-2) unstable; urgency=low
+
+  * Add build-depends.
+  * Many edits to rules file.
+
+ -- Michael Alan Dorman <mdorman at debian.org>  Sun, 15 Apr 2001 14:39:34 -0400
+
+libalgorithm-diff-perl (1.10-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Michael Alan Dorman <mdorman at debian.org>  Wed, 20 Sep 2000 15:31:15 -0400
+
+libalgorithm-diff-perl (0.59-1) unstable; urgency=low
+
+  * Initial packaging
+
+ -- Michael Alan Dorman <mdorman at debian.org>  Sat,  8 Apr 2000 17:55:34 -0400

Added: trunk/libalgorithm-diff-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libalgorithm-diff-perl/debian/control?rev=17103&op=file
==============================================================================
--- trunk/libalgorithm-diff-perl/debian/control (added)
+++ trunk/libalgorithm-diff-perl/debian/control Sun Mar  9 21:10:37 2008
@@ -1,0 +1,16 @@
+Source: libalgorithm-diff-perl
+Maintainer: Florian Weimer <fw at deneb.enyo.de>
+Priority: optional
+Section: perl
+Build-Depends-Indep: debhelper (>= 4), perl (>= 5.6.0-16)
+Standards-Version: 3.6.2.1
+
+Package: libalgorithm-diff-perl
+Architecture: all
+Priority: optional
+Section: perl
+Depends: ${perl:Depends}
+Description: a perl library for finding Longest Common Sequences in text
+ This module provides routines that allow one to analyze text in perl
+ arrays to produce a Longest Common Sequence, which can in turn be
+ used to produce the same information as the common Unix tool 'diff'

Added: trunk/libalgorithm-diff-perl/debian/copyright
URL: http://svn.debian.org/wsvn/trunk/libalgorithm-diff-perl/debian/copyright?rev=17103&op=file
==============================================================================
--- trunk/libalgorithm-diff-perl/debian/copyright (added)
+++ trunk/libalgorithm-diff-perl/debian/copyright Sun Mar  9 21:10:37 2008
@@ -1,0 +1,25 @@
+This is Debian GNU/Linux's prepackaged version of Algorithm::Diff This
+is a perl library for finding Longest Common Sequences on textual
+information.
+
+Michael Alan Dorman originally built this package.  It is now
+maintained by Florian Weimer <fw at deneb.enyo.de>.
+
+The original sources should always be available from the Comprehensive
+Perl Archive Network (CPAN).  Visit <URL:http://www.perl.com/CPAN/> to
+find a CPAN site near you.
+
+The only change for the Debian package was the addition of the debian/
+files.
+
+The Algorithm::Diff copyright is as follows:
+
+| Parts Copyright (c) 2000-2004 Ned Konz.  All rights reserved.
+| Parts by Tye McQueen.
+|
+| This program is free software; you can redistribute it and/or modify it
+| under the same terms as Perl.
+
+Larry Wall's "Artistic License" for perl can be found in
+/usr/share/common-licenses/Artistic, and the GPL can be found in
+/usr/share/common-licenses/GPL-2.

Added: trunk/libalgorithm-diff-perl/debian/libalgorithm-diff-perl.dirs
URL: http://svn.debian.org/wsvn/trunk/libalgorithm-diff-perl/debian/libalgorithm-diff-perl.dirs?rev=17103&op=file
==============================================================================
--- trunk/libalgorithm-diff-perl/debian/libalgorithm-diff-perl.dirs (added)
+++ trunk/libalgorithm-diff-perl/debian/libalgorithm-diff-perl.dirs Sun Mar  9 21:10:37 2008
@@ -1,0 +1,1 @@
+usr/share/doc/libalgorithm-diff-perl/examples

Added: trunk/libalgorithm-diff-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libalgorithm-diff-perl/debian/rules?rev=17103&op=file
==============================================================================
--- trunk/libalgorithm-diff-perl/debian/rules (added)
+++ trunk/libalgorithm-diff-perl/debian/rules Sun Mar  9 21:10:37 2008
@@ -1,0 +1,61 @@
+#!/usr/bin/make -f
+
+export DH_COMPAT := 4
+
+PERL ?= /usr/bin/perl
+
+b := $(shell pwd)/debian/libalgorithm-diff-perl
+
+arrange: arrange-stamp
+arrange-stamp: install
+	dh_testdir
+	mv $(b)/usr/share/perl5/Algorithm/*.pl $(b)/usr/share/doc/libalgorithm-diff-perl/examples
+	touch arrange-stamp
+
+binary: binary-stamp
+binary-stamp: binary-indep binary-arch
+	dh_testdir
+	touch binary-stamp
+
+binary-arch: binary-arch-stamp
+binary-arch-stamp: arrange
+	dh_testdir
+	touch binary-arch-stamp
+
+binary-indep: binary-indep-stamp
+binary-indep-stamp: arrange
+	dh_testdir
+	dh_testroot
+	dh_installdocs -n README
+	dh_installchangelogs Changes
+	dh_fixperms
+	dh_installdeb
+	dh_perl
+	dh_compress
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+	touch binary-indep-stamp
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE)
+	$(MAKE) test
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	if [ -e Makefile ]; then $(MAKE) -i distclean; fi
+	dh_clean arrange-stamp binary-stamp binary-arch-stamp binary-indep-stamp build-stamp install-stamp
+
+install: install-stamp
+install-stamp: build
+	dh_testdir
+	$(MAKE) install PREFIX=$(b)/usr
+	dh_installdirs
+	touch install-stamp
+
+.PHONY: arrange binary binary-arch binary-indep build clean install

Propchange: trunk/libalgorithm-diff-perl/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/libalgorithm-diff-perl/debian/watch
URL: http://svn.debian.org/wsvn/trunk/libalgorithm-diff-perl/debian/watch?rev=17103&op=file
==============================================================================
--- trunk/libalgorithm-diff-perl/debian/watch (added)
+++ trunk/libalgorithm-diff-perl/debian/watch Sun Mar  9 21:10:37 2008
@@ -1,0 +1,2 @@
+version=2
+http://www.cpan.org/modules/by-module/Algorithm/Algorithm-Diff-([^-]+)\.tar\.gz

Modified: trunk/libalgorithm-diff-perl/lib/Algorithm/Diff.pm
URL: http://svn.debian.org/wsvn/trunk/libalgorithm-diff-perl/lib/Algorithm/Diff.pm?rev=17103&op=diff
==============================================================================
--- trunk/libalgorithm-diff-perl/lib/Algorithm/Diff.pm (original)
+++ trunk/libalgorithm-diff-perl/lib/Algorithm/Diff.pm Sun Mar  9 21:10:37 2008
@@ -12,7 +12,7 @@
 require Exporter;
 *import    = \&Exporter::import;
 @EXPORT_OK = qw(
-    prepare LCS LCDidx LCS_length
+    prepare LCS LCSidx LCS_length
     diff sdiff compact_diff
     traverse_sequences traverse_balanced
 );
@@ -806,7 +806,7 @@
             sprintf "%d,%dd%d\n",
                 $diff->Get(qw( Min1 Max1 Max2 ));
         } elsif(  ! $diff->Items(1)  ) {
-            sprint "%da%d,%d\n",
+            sprintf "%da%d,%d\n",
                 $diff->Get(qw( Max1 Min2 Max2 ));
         } else {
             $sep = "---\n";




More information about the Pkg-perl-cvs-commits mailing list