r1243 - in packages/libterm-readline-gnu-perl/trunk: . Gnu debian eg t t/comptest

Gunnar Wolf gwolf@costa.debian.org
Tue Jul 12 18:07:11 UTC 2005


Author: gwolf
Date: 2005-07-12 18:07:10 +0000 (Tue, 12 Jul 2005)
New Revision: 1243

Added:
   packages/libterm-readline-gnu-perl/trunk/debian/
   packages/libterm-readline-gnu-perl/trunk/debian/changelog
   packages/libterm-readline-gnu-perl/trunk/debian/control
   packages/libterm-readline-gnu-perl/trunk/debian/copyright
   packages/libterm-readline-gnu-perl/trunk/debian/rules
Modified:
   packages/libterm-readline-gnu-perl/trunk/Gnu.pm
   packages/libterm-readline-gnu-perl/trunk/Gnu.xs
   packages/libterm-readline-gnu-perl/trunk/Gnu/XS.pm
   packages/libterm-readline-gnu-perl/trunk/Gnu/euc_jp.pm
   packages/libterm-readline-gnu-perl/trunk/INSTALL
   packages/libterm-readline-gnu-perl/trunk/MANIFEST
   packages/libterm-readline-gnu-perl/trunk/Makefile.PL
   packages/libterm-readline-gnu-perl/trunk/README
   packages/libterm-readline-gnu-perl/trunk/eg/fileman
   packages/libterm-readline-gnu-perl/trunk/eg/perlsh
   packages/libterm-readline-gnu-perl/trunk/eg/pftp
   packages/libterm-readline-gnu-perl/trunk/eg/ptksh+
   packages/libterm-readline-gnu-perl/trunk/ppport.h
   packages/libterm-readline-gnu-perl/trunk/t/button.pl
   packages/libterm-readline-gnu-perl/trunk/t/callback.t
   packages/libterm-readline-gnu-perl/trunk/t/comptest/0123
   packages/libterm-readline-gnu-perl/trunk/t/comptest/012345
   packages/libterm-readline-gnu-perl/trunk/t/comptest/023456
   packages/libterm-readline-gnu-perl/trunk/t/comptest/README
   packages/libterm-readline-gnu-perl/trunk/t/comptest/a_b
   packages/libterm-readline-gnu-perl/trunk/t/history.t
   packages/libterm-readline-gnu-perl/trunk/t/inputrc
   packages/libterm-readline-gnu-perl/trunk/t/readline.t
   packages/libterm-readline-gnu-perl/trunk/typemap
Log:
Load libterm-readline-gnu-perl-1.14 into
packages/libterm-readline-gnu-perl/trunk.


Modified: packages/libterm-readline-gnu-perl/trunk/Gnu/XS.pm
===================================================================
--- packages/libterm-readline-gnu-perl/trunk/Gnu/XS.pm	2005-07-12 18:06:59 UTC (rev 1242)
+++ packages/libterm-readline-gnu-perl/trunk/Gnu/XS.pm	2005-07-12 18:07:10 UTC (rev 1243)
@@ -294,11 +294,12 @@
 use vars qw(%term_no_ue);
 %term_no_ue = ( kterm => 1 );
 
+
 sub ornaments {
     return $rl_term_set unless @_;
     $rl_term_set = shift;
     $rl_term_set ||= ',,,';
-    $rl_term_set = $term_no_ue{$ENV{TERM}} ? 'us,me,,' : 'us,ue,,'
+    $rl_term_set = $term_no_ue{defined($ENV{TERM}) ? $ENV{TERM} : ''} ? 'us,me,,' : 'us,ue,,'
 	if $rl_term_set eq '1';
     my @ts = split /,/, $rl_term_set, 4;
     my @rl_term_set


Property changes on: packages/libterm-readline-gnu-perl/trunk/Gnu/XS.pm
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: packages/libterm-readline-gnu-perl/trunk/Gnu/euc_jp.pm
___________________________________________________________________
Name: svn:executable
   - 
   + *

Modified: packages/libterm-readline-gnu-perl/trunk/Gnu.pm
===================================================================
--- packages/libterm-readline-gnu-perl/trunk/Gnu.pm	2005-07-12 18:06:59 UTC (rev 1242)
+++ packages/libterm-readline-gnu-perl/trunk/Gnu.pm	2005-07-12 18:07:10 UTC (rev 1243)
@@ -186,7 +186,7 @@
 
 sub ReadLine { 'Term::ReadLine::Gnu'; }
 
-=item C<new(NAME,[IN[,OUT]])>
+=item C<new(NAME,[IN,OUT])>
 
 returns the handle for subsequent calls to following functions.
 Argument is the name of the application.  Optionally can be followed
@@ -200,6 +200,7 @@
     my $this = shift;		# Package
     my $class = ref($this) || $this;
 
+	croak "Wrong number of arguments" unless @_==1 or @_==3;
     my $name = shift;
 
     my $self = \%Attribs;


Property changes on: packages/libterm-readline-gnu-perl/trunk/Gnu.pm
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: packages/libterm-readline-gnu-perl/trunk/Gnu.xs
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: packages/libterm-readline-gnu-perl/trunk/INSTALL
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: packages/libterm-readline-gnu-perl/trunk/MANIFEST
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: packages/libterm-readline-gnu-perl/trunk/Makefile.PL
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: packages/libterm-readline-gnu-perl/trunk/README
___________________________________________________________________
Name: svn:executable
   - 
   + *

Added: packages/libterm-readline-gnu-perl/trunk/debian/changelog
===================================================================
--- packages/libterm-readline-gnu-perl/trunk/debian/changelog	2005-07-12 18:06:59 UTC (rev 1242)
+++ packages/libterm-readline-gnu-perl/trunk/debian/changelog	2005-07-12 18:07:10 UTC (rev 1243)
@@ -0,0 +1,159 @@
+libterm-readline-gnu-perl (1.14-2) unstable; urgency=low
+
+  * Bug fix: "libterm-readline-gnu-perl: package description syntax",
+    thanks to Nicolas Bertolissio (Closes: #207230).
+  * Deleted watch file.
+
+ -- Joerg Jaspert <joerg@debian.org>  Sat, 15 Nov 2003 22:47:38 +0100
+
+libterm-readline-gnu-perl (1.14-1) unstable; urgency=low
+
+  * New Upstream Version (closes: #187448)
+    - kludge not to cause segmentation fault on Perl 5.8.0
+          w/PerlIO and FileHandle (ex. CPAN.pm)
+    - clean up Makefile.PL (use strict, fix for HPUX and FreeBSD,
+      fix typo, etc.)
+  * Use patch from Nicolas Bertolissio to fix the
+    "unintialized value message" (closes: #99843)
+  * Update Section to perl.
+  * Use patch from Nicolas Bertolissio to fix the "new" method which
+    (closes: #204362)
+
+ -- Joerg Jaspert <joerg@debian.org>  Fri, 22 Aug 2003 18:38:29 +0200
+
+libterm-readline-gnu-perl (1.13-1.1) unstable; urgency=low
+
+  * NMU for perl 5.8. No changes except a build-dep on perl >= 5.8
+
+ -- Joey Hess <joeyh@debian.org>  Wed, 31 Jul 2002 05:19:05 +0000
+
+libterm-readline-gnu-perl (1.13-1) unstable; urgency=low
+
+  * New Upstream Version
+    - readline-4.2 support
+    - new variables
+      rl_completion_suppress_append
+      rl_completion_mark_symlink_dirs
+    - new functions
+      rl_replace_line()
+      rl_completion_mode()
+    - tgetstr() calls tput() to apply padding information.  No
+      more "$<2>" on prompt.
+    - shadow_redisplay() with ornament works on xterm.
+
+ -- Joerg Jaspert <joerg@debian.org>  Sun, 28 Jul 2002 18:25:29 +0200
+
+libterm-readline-gnu-perl (1.12-5) unstable; urgency=low
+
+  * Applied Patch from Upstream which closes the bug for 
+    "Ornaments and shadow_redisplay don't mix" (closes: #45949)
+
+ -- Joerg Jaspert <joerg@debian.org>  Sun, 28 Jul 2002 02:21:38 +0200
+
+libterm-readline-gnu-perl (1.12-4) unstable; urgency=low
+
+  * Rebuild with newest libreadline.
+  * Updated Standards-version in debian/control.
+  * Build-Depends for debhelper now for Version > 4.x and DH_COMPAT in
+    debian/rules is 4 now.
+  * Cleaned debian/rules a bit.
+  * Remove empty /usr/share/perl5 from .deb
+
+ -- Joerg Jaspert <joerg@debian.org>  Sun, 21 Jul 2002 23:53:49 +0200
+
+libterm-readline-gnu-perl (1.12-3) unstable; urgency=low
+
+  * Changed my Email to the @debian.org
+  * Added debian/watch file for uscan.
+
+ -- Joerg Jaspert <joerg@debian.org>  Thu, 18 Apr 2002 21:20:49 +0200
+
+libterm-readline-gnu-perl (1.12-2) unstable; urgency=low
+
+  * Updated debian/copyright
+  * This Bug is closed since 1.10 so close it now. (closes: #69816)
+
+ -- Joerg Jaspert (JJ) <joerg@goliathbbs.dnsalias.net>  Fri,  5 Apr 2002 18:22:50 +0200
+
+libterm-readline-gnu-perl (1.12-1) unstable; urgency=low
+
+  * New Maintainer (closes: #141230)
+  * Acknowledge the NMU Bugfixes.
+   (closes: #67054, #67804, #60845, #87030,  #65374, #80688, #84505, #78657, #67745, #87405)
+  * New Upstream Version.
+  * Removed postinst and prerm. debhelper creates the same one, we dont need special things in
+    here.
+  * Reworked debian/rules to use more of debhelper and be a little bit easier to read.
+    Hope i dont break anything with it.
+
+ -- Joerg Jaspert (JJ) <joerg@goliathbbs.dnsalias.net>  Fri,  5 Apr 2002 15:56:11 +0200
+
+libterm-readline-gnu-perl (1.10-1) unstable; urgency=low
+
+  * New upstream version
+  * Made minor modifications to debian/*.  Package continues to be lintian
+    clean primarily due to Matthias's and Raphael's work.
+  * It looks like bug #69816 is fixed, I've asked the submitter if they
+    can duplicate it with this new package.
+  * I can still repro bug #45949 and I'll check into it.
+  
+ -- Darren Stalder <torin@daft.com>  Thu, 10 May 2001 23:35:04 -0700
+
+libterm-readline-gnu-perl (1.09-0.1) unstable; urgency=low
+
+  * Non Maintainer Upload.
+  * New upstream version. Closes: #78657, #84505
+  * Correct permissions on postinst/prerm. Closes: #67804
+  * Built against latest libraries. Closes: #65374
+  * Updated to latest perl policy. Closes: #80668
+  * This new upstream version does build with the
+    latest libraries. Closes: #87030
+  * Commented out the make test. On the command line it does work ok
+    but it waits indefinitely when runned from debian/rules with debuild.
+  * Updated to latest policy. Lintian clean again.
+
+ -- Raphael Hertzog <hertzog@debian.org>  Sat, 24 Feb 2001 14:17:53 +0100
+
+libterm-readline-gnu-perl (1.07-2.1) unstable; urgency=low
+
+  * NMU, recompiled for libreadline4 (closes grave #60845, #67054).
+  * debian/control: Added Build-Depends.
+  * Made lintian clean.
+
+ -- Matthias Klose <doko@cs.tu-berlin.de>  Tue, 25 Jul 2000 06:11:57 +0200
+
+libterm-readline-gnu-perl (1.07-2) unstable; urgency=low
+
+  * make test opens /dev/tty.  The autobuilders run from cron and
+    therefore don't have a /dev/tty.  Therefore the package fails to build 
+    under the autobuilders.
+    Using the idea from Roman Hodek <Roman.Hodek@informatik.uni-erlangen.de>, 
+    make test only runs if /dev/tty is available.  Closes Bug#42882.
+  
+ -- Darren Stalder <torin@daft.com>  Fri, 13 Aug 1999 00:59:45 -0700
+
+libterm-readline-gnu-perl (1.07-1) unstable; urgency=low
+
+  * New upstream version.
+  * Use correct LDLOADLIBS line.  Thanks to Manish Singh <yosh@gimp.org>
+    for this.  Fixes Bug#41868,#41677,#42018.
+
+ -- Darren Stalder <torin@daft.com>  Tue, 10 Aug 1999 04:07:20 -0700
+
+libterm-readline-gnu-perl (1.06-1) unstable; urgency=low
+
+  * New Maintainer.
+  * New upstream version.
+  * Complies with Perl packaging standard 1.0.
+  * Completely rewrote debian/rules to my standards.
+  * Rewrote control description section.
+  * Changed source package name to be the same as the (one) binary package.
+  * Changed priority to optional.
+
+ -- Darren Stalder <torin@daft.com>  Tue, 13 Jul 1999 01:24:06 -0700
+
+libterm-readline-gnu-perl (1.03-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Ben Gertzfield <che@debian.org>  Tue, 13 Oct 1998 17:44:34 -0700

Added: packages/libterm-readline-gnu-perl/trunk/debian/control
===================================================================
--- packages/libterm-readline-gnu-perl/trunk/debian/control	2005-07-12 18:06:59 UTC (rev 1242)
+++ packages/libterm-readline-gnu-perl/trunk/debian/control	2005-07-12 18:07:10 UTC (rev 1243)
@@ -0,0 +1,18 @@
+Source: libterm-readline-gnu-perl
+Section: perl
+Priority: optional
+Maintainer: Joerg Jaspert <joerg@debian.org>
+Standards-Version: 3.6.0
+Build-Depends: debhelper (>= 4.0.19), perl (>= 5.8), libreadline4-dev (>= 4.3)
+
+Package: libterm-readline-gnu-perl
+Architecture: any
+Depends: ${perl:Depends}, ${shlibs:Depends}
+Description: Perl extension for the GNU Readline/History Library
+ This is an implementation of a Perl interface to the GNU Readline
+ Library.  This module gives you input line editing, input history
+ management, word completion, and other similar facilities.  This module
+ gives you access to almost all variables and functions documented in
+ the GNU ReadLine/History Library.  This means you can write your custom
+ editing function, your custom completion function, and so on with Perl.
+ You may find it useful for prototyping before programming with C.

Added: packages/libterm-readline-gnu-perl/trunk/debian/copyright
===================================================================
--- packages/libterm-readline-gnu-perl/trunk/debian/copyright	2005-07-12 18:06:59 UTC (rev 1242)
+++ packages/libterm-readline-gnu-perl/trunk/debian/copyright	2005-07-12 18:07:10 UTC (rev 1243)
@@ -0,0 +1,21 @@
+This package was debianized by Joerg Jaspert <joerg@debian.org> on
+Fri, 05 Apr 2002 16:00:00 +0200.
+
+The previous maintainers for this Package are:
+Darren Stalder <torin@daft.com>
+Ben Gertzfield <che@debian.org>.
+
+It was downloaded from http://www.perl.org/CPAN/authors/Hiroo_HAYASHI/
+
+Upstream Author: Hiroo Hayashi <hiroo.hayashi@computer.org>
+
+Copyright (c) 2002 Hiroo Hayashi.  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 either the terms of the Artistic License
+or the GPL, your choice.
+
+On Debian systems, the Artistic License is available in
+the file /usr/share/common-licenses/Artistic. The GNU General Public
+License is available in the file /usr/share/common-licenses/GPL.

Added: packages/libterm-readline-gnu-perl/trunk/debian/rules
===================================================================
--- packages/libterm-readline-gnu-perl/trunk/debian/rules	2005-07-12 18:06:59 UTC (rev 1242)
+++ packages/libterm-readline-gnu-perl/trunk/debian/rules	2005-07-12 18:07:10 UTC (rev 1243)
@@ -0,0 +1,84 @@
+#!/usr/bin/make -f
+#-*- makefile -*-
+
+#export DH_VERBOSE=1
+export DH_COMPAT=4
+
+PACKAGE=$(shell dh_listpackages)
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+ifndef DESTDIR
+DESTDIR=..
+endif
+
+TMP     =`pwd`/debian/$(PACKAGE)
+DOCDIR   = $(TMP)/usr/share/doc/libterm-readline-gnu-perl
+
+OPTIMIZE = -O2 -Wall
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+OPTIMIZE += -g
+endif
+
+clean:
+	dh_testdir
+	dh_testroot
+	-rm -f build-stamp
+	-$(MAKE) realclean
+	dh_clean
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE) all LDLOADLIBS="-lreadline -lncurses -lc" LD_RUN_PATH="" OPTIMIZE="$(OPTIMIZE)"
+	touch build-stamp
+
+
+install: 
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	$(MAKE) install PREFIX=$(TMP)/usr
+
+	find $(TMP) \( -name '*.pm' -o -name '*.pl' \) -print0 | xargs --null --no-run-if-empty \
+	  $(PERL) -i -pe '$$_ = "#!/usr/bin/perl$$1\n" if m|^#!.*/perl(.*)$$|;'
+
+	install -d $(DOCDIR)/examples
+	cp -ra eg/* $(DOCDIR)/examples
+	chmod a-x $(DOCDIR)/examples/*
+	find $(DOCDIR)/examples -type f -print0 | xargs --null --no-run-if-empty \
+	  $(PERL) -i -pe '$$_ = "#!/usr/bin/perl$$1\n" if m|^#!.*/perl(.*)$$|;'
+	-gzip -9rf $(DOCDIR)/examples
+	-cd debian; find -type d -empty -exec rmdir \{} \;
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs README
+	dh_installman
+	dh_installchangelogs 
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_perl 
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb --destdir=$(DESTDIR)
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary


Property changes on: packages/libterm-readline-gnu-perl/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *


Property changes on: packages/libterm-readline-gnu-perl/trunk/eg/fileman
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: packages/libterm-readline-gnu-perl/trunk/eg/perlsh
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: packages/libterm-readline-gnu-perl/trunk/eg/pftp
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: packages/libterm-readline-gnu-perl/trunk/eg/ptksh+
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: packages/libterm-readline-gnu-perl/trunk/ppport.h
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: packages/libterm-readline-gnu-perl/trunk/t/button.pl
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: packages/libterm-readline-gnu-perl/trunk/t/callback.t
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: packages/libterm-readline-gnu-perl/trunk/t/comptest/0123
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: packages/libterm-readline-gnu-perl/trunk/t/comptest/012345
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: packages/libterm-readline-gnu-perl/trunk/t/comptest/023456
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: packages/libterm-readline-gnu-perl/trunk/t/comptest/README
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: packages/libterm-readline-gnu-perl/trunk/t/comptest/a_b
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: packages/libterm-readline-gnu-perl/trunk/t/history.t
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: packages/libterm-readline-gnu-perl/trunk/t/inputrc
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: packages/libterm-readline-gnu-perl/trunk/t/readline.t
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: packages/libterm-readline-gnu-perl/trunk/typemap
___________________________________________________________________
Name: svn:executable
   - 
   + *





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