--- libterm-readline-zoid-perl-0.07.orig/debian/control +++ libterm-readline-zoid-perl-0.07/debian/control @@ -0,0 +1,22 @@ +Source: libterm-readline-zoid-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 4.0.2) +Build-Depends-Indep: perl (>= 5.8.0-7), libmodule-build-perl, libterm-readkey-perl, dpatch +Maintainer: Marc 'HE' Brockschmidt +Standards-Version: 3.6.2 + +Package: libterm-readline-zoid-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends}, libterm-readkey-perl +Recommends: perl-modules (>= 5.8) | libfile-temp-perl +Description: Pure Perl implementation of Readline libraries + libterm-readline-zoid-perl provides a set of modules that form an + interactive input buffer written in plain perl with minimal + dependencies. It features almost all key-bindings described in the + posix spec for the sh(1) utility with some extensions like multiline + editing; this includes a vi-command mode with a save-buffer (for + copy-pasting) and an undo-stack. + . + It is compatible with the Term::ReadLine interface, so it can be + used with perl programs using this interface. --- libterm-readline-zoid-perl-0.07.orig/debian/changelog +++ libterm-readline-zoid-perl-0.07/debian/changelog @@ -0,0 +1,48 @@ +libterm-readline-zoid-perl (0.07-2) unstable; urgency=low + + * debian/{control,rules,patches}: dpatchified. + * debian/patches/10_return_feature_hash_instead_of_list.dpatch: + Added to fix a wrong return value (expected a hash ref, got a list). + Report and patch from Roderick Schertler , thanks. + (Closes: #292215) + * Bumped Standards-Version. No changes needed. Yay. + + -- Marc 'HE' Brockschmidt Sun, 7 Aug 2005 12:20:10 +0200 + +libterm-readline-zoid-perl (0.07-1) unstable; urgency=low + + * New upstream release. + + -- Marc 'HE' Brockschmidt Thu, 25 Nov 2004 19:25:12 +0100 + +libterm-readline-zoid-perl (0.06-1) unstable; urgency=low + + * New upstream release, fixing problems with the clear_screen() function. + (Closes: #271693) + + -- Marc 'HE' Brockschmidt Thu, 16 Sep 2004 17:56:44 +0200 + +libterm-readline-zoid-perl (0.05-1) unstable; urgency=low + + * New upstream release. + + -- Marc 'HE' Brockschmidt Thu, 9 Sep 2004 17:13:33 +0200 + +libterm-readline-zoid-perl (0.04-1) unstable; urgency=low + + * New upstream release. + + -- Marc 'HE' Brockschmidt Thu, 15 Jul 2004 18:31:56 +0200 + +libterm-readline-zoid-perl (0.02-1) unstable; urgency=low + + * New upstream release. + + -- Marc 'HE' Brockschmidt Thu, 27 May 2004 23:52:00 +0200 + +libterm-readline-zoid-perl (0.01-1) unstable; urgency=low + + * Initial Release. + + -- Marc 'HE' Brockschmidt Fri, 16 Apr 2004 22:07:41 +0200 + --- libterm-readline-zoid-perl-0.07.orig/debian/rules +++ libterm-readline-zoid-perl-0.07/debian/rules @@ -0,0 +1,74 @@ +#!/usr/bin/make -f + +include /usr/share/dpatch/dpatch.make + +# If set to a true value then MakeMaker's prompt function will +# always return the default without waiting for user input. +export PERL_MM_USE_DEFAULT=1 + +PACKAGE=$(shell dh_listpackages) + +ifndef PERL +PERL = /usr/bin/perl +endif + +TMP =$(CURDIR)/debian/$(PACKAGE) + +build: patch build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. + $(PERL) Build.PL installdirs=vendor + $(PERL) Build + + touch build-stamp + +clean: unpatch clean-unpatched +clean-unpatched: + dh_testdir + dh_testroot + + # Add here commands to clean up after the build process. + -$(PERL) Build clean + rm -rf _build build-stamp Build + + dh_clean + +install: + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp. + $(PERL) Build test + $(PERL) Build install destdir=$(TMP) + + +# Build architecture-dependent files here. +binary-arch: build install +# We have nothing to do by default. + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installexamples + dh_installdocs README + dh_installchangelogs Changes + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_perl + dh_gencontrol + dh_md5sums + dh_builddeb + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +binary: binary-indep binary-arch +.PHONY: build build-stamp clean clean-unpatched binary-indep binary-arch binary --- libterm-readline-zoid-perl-0.07.orig/debian/compat +++ libterm-readline-zoid-perl-0.07/debian/compat @@ -0,0 +1 @@ +4 --- libterm-readline-zoid-perl-0.07.orig/debian/copyright +++ libterm-readline-zoid-perl-0.07/debian/copyright @@ -0,0 +1,13 @@ +This is the debian package for the Term::ReadLine::Zoid module. +It was created by Marc 'HE' Brockschmidt . + +The upstream author are Jaap Karssenberg and Pardus [Larus] . + +Copyright (c) 2004 Jaap G Karssenberg. All rights reserved. +This program is free software; you can redistribute it and/or +modify it under the same terms as Perl itself. + +Perl is distributed under your choice of the GNU General Public License or +the Artistic License. On Debian GNU/Linux systems, the complete text of the +GNU General Public License can be found in `/usr/share/common-licenses/GPL' +and the Artistic Licence in `/usr/share/common-licenses/Artistic'. --- libterm-readline-zoid-perl-0.07.orig/debian/watch +++ libterm-readline-zoid-perl-0.07/debian/watch @@ -0,0 +1,3 @@ +version=2 + +http://search.cpan.org/CPAN/authors/id/P/PA/PARDUS/Term-ReadLine-Zoid/Term-ReadLine-Zoid-(\d+\.\d+)\.tar\.gz --- libterm-readline-zoid-perl-0.07.orig/debian/patches/00list +++ libterm-readline-zoid-perl-0.07/debian/patches/00list @@ -0,0 +1 @@ +10_return_feature_hash_instead_of_list.dpatch --- libterm-readline-zoid-perl-0.07.orig/debian/patches/10_return_feature_hash_instead_of_list.dpatch +++ libterm-readline-zoid-perl-0.07/debian/patches/10_return_feature_hash_instead_of_list.dpatch @@ -0,0 +1,21 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 10_return_feature_hash_instead_of_list.dpatch by Roderick Schertler +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Add a "retur"n to ensure that a hash ref is returned, not a list +## DP: {} alone is a block, so the return value is a list of values from this block + +@DPATCH@ + +diff -Nwru Term-ReadLine-Zoid-0.07/lib/Term/ReadLine/Zoid.pm Term-ReadLine-Zoid-0.07.new/lib/Term/ReadLine/Zoid.pm +--- Term-ReadLine-Zoid-0.07/lib/Term/ReadLine/Zoid.pm 2005-04-30 19:22:26.000000000 +0200 ++++ Term-ReadLine-Zoid-0.07.new/lib/Term/ReadLine/Zoid.pm 2005-08-07 12:16:34.000000000 +0200 +@@ -202,7 +202,7 @@ + + sub Attribs { $_[0]{config} } + +-sub Features { { ++sub Features { return { + ( map {($_ => 1)} qw/appname minline attribs + addhistory addHistory getHistory getHistory TermSize/ ), + ( map {($_ => $_[0]{config}{$_})}