debian/0000755000000000000000000000000012214176063007170 5ustar debian/rules0000755000000000000000000000024512214174323010246 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ # Don't run test suite, it's interactive only! override_dh_auto_test: debian/changelog0000644000000000000000000001003712214175360011042 0ustar libcurses-widgets-perl (1.997-6) unstable; urgency=low [ gregor herrmann ] * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser field (source stanza); Homepage field (source stanza). Removed: XS- Vcs-Svn fields. * debian/rules: remove /usr/lib/perl5 directory only if it exists. * debian/watch: use dist-based URL. * Refresh debian/rules, no functional changes. Don't install README any more. * Split out changes to upstream code into proper patches; add quilt framework. * Add debian/README.source to document quilt usage, as required by Debian Policy since 3.8.0. * debian/control: Changed: Switched Vcs-Browser field to ViewSVN (source stanza). * debian/control: Added: ${misc:Depends} to Depends: field. [ Nathan Handler ] * debian/watch: Update to ignore development releases. [ gregor herrmann ] * Change my email address. [ Gunnar Wolf ] * Removing myself as an uploader. [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ gregor herrmann ] * debian/control: update {versioned,alternative} (build) dependencies. [ Salvatore Bonaccorso ] * Change Vcs-Git to canonical URI (git://anonscm.debian.org) * Change search.cpan.org based URIs to metacpan.org based URIs [ Axel Beckert ] * Switch to source format "3.0 (quilt)" + Remove quilt traces from debian/rules and build dependencies + Remove debian/README.source * Bump debhelper compatibility to 9 + Update versioned debhelper build-dependency accordingly + Fixes lintian warning package-uses-deprecated-debhelper-compat-version * Clarify debian/copyright with regards to GPL versions + Fixes lintian warning copyright-refers-to-versionless-license-file * Bump Standards-Version to 3.9.4 (no changes) * Revamp debian/rules + Use dh_auto_{configure,build,install,clean} + Remove now obsolete variable definitions + Remove now obsolete parameters from dh_clean and dh_installchangelogs + Finally switch to a minimal dh7 style debian/rules file * Also fixes the following lintian warnings: + dh-clean-k-is-deprecated + debian-rules-missing-recommended-target + spelling-error-in-manpage * Add myself to Uploaders -- Axel Beckert Thu, 12 Sep 2013 01:21:19 +0200 libcurses-widgets-perl (1.997-5) unstable; urgency=low * Use $(CURDIR) [make] instead of $(PWD) [sh] to fix issues with sudo. -- gregor herrmann Sun, 1 Oct 2006 13:55:12 +0200 libcurses-widgets-perl (1.997-4) unstable; urgency=low * Transferred ownership to the Debian Perl Group * Minor fixes in build process -- Gunnar Wolf Thu, 14 Sep 2006 13:06:47 -0500 libcurses-widgets-perl (1.997-3) unstable; urgency=low * New maintainer (Closes: #279782). * Adding a watch file. * BORDER => 0 now displaying widgets (Closes: #341715). - Thanks to William Thompson. * Standards-Version updated to 3.7.2. -- David Moreno Garza Thu, 18 May 2006 12:48:44 -0500 libcurses-widgets-perl (1.997-2) unstable; urgency=low * QA Upload * Changed Maintainer to Debian QA Group -- Stephen Quinney Sat, 26 Feb 2005 10:32:45 +0000 libcurses-widgets-perl (1.997-1) unstable; urgency=low * New upstream release, Closes: #181908 * Apply patch to make ListBox.pm keep the bottom element of a list in view when paging down & the top element of a list in view when paging up, Closes: #171719 -- Stephen Zander Tue, 2 Mar 2004 01:13:33 -0800 libcurses-widgets-perl (1.992-1) unstable; urgency=low * New upstream version. -- Stephen Zander Tue, 13 Aug 2002 11:54:55 -0700 libcurses-widgets-perl (1.2-1) unstable; urgency=low * New upstream source * New maintainer, Closes: #123501 -- Stephen Zander Fri, 11 Jan 2002 19:41:54 -0800 libcurses-widgets-perl (0.9-1) unstable; urgency=low * New upstream version. -- Raphael Bossek Sun, 9 Jan 2000 17:39:04 +0100 debian/control0000644000000000000000000000177612214175537010613 0ustar Source: libcurses-widgets-perl Maintainer: Debian Perl Group Uploaders: gregor herrmann , Axel Beckert Section: perl Priority: optional Build-Depends: debhelper (>= 9~) Build-Depends-Indep: perl, libcurses-perl Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libcurses-widgets-perl.git Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libcurses-widgets-perl.git Homepage: https://metacpan.org/release/CursesWidgets Package: libcurses-widgets-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libcurses-perl Description: Curses widget interface for Perl This module provides a standard library of functions and widgets for use in creating Curses-based interfaces. Should work reliably with both Curses and nCurses libraries. . Current widgets include text field, list box, button sets, calendar, message box, input box debian/compat0000644000000000000000000000000212214171024010356 0ustar 9 debian/watch0000644000000000000000000000016612214170523010217 0ustar version=3 https://metacpan.org/release/CursesWidgets/ .*/CursesWidgets-v?(\d[\d.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) debian/patches/0000755000000000000000000000000012214175211010611 5ustar debian/patches/series0000644000000000000000000000007612214174752012042 0ustar border-0.patch bottom-element.patch fix-spelling-errors.patch debian/patches/border-0.patch0000644000000000000000000000166412214170523013254 0ustar Author: David Moreno Garza Description: BORDER => 0 now displaying widgets Bug: #341715 --- a/Widgets.pm +++ b/Widgets.pm @@ -719,6 +719,7 @@ sub draw { my $self = shift; my $mwh = shift; my $active = shift; + my $conf = $self->{CONF}; my (@geom, $dwh, $cwh); # Get the canvas geometry and create a window handle to it @@ -730,7 +731,7 @@ sub draw { $self->_caption($dwh); # Get the content area geometry and create a window handle to it - $cwh = $self->_canvas($dwh, $self->_cgeometry); + $cwh = $$conf{BORDER} ? $self->_canvas($dwh, $self->_cgeometry) : $dwh; unless (defined $cwh) { $dwh->delwin; return 0; @@ -740,8 +741,10 @@ sub draw { $self->_cursor($cwh) if $active; # Flush the changes to the screen and release the window handles - $cwh->refresh; - $cwh->delwin; + if ($$conf{BORDER}) { + $cwh->refresh; + $cwh->delwin; + } $dwh->refresh; $dwh->delwin; debian/patches/fix-spelling-errors.patch0000644000000000000000000000212612214175115015551 0ustar Description: Fix spelling errors in POD Author: Axel Beckert Thanks: Lintian Index: libcurses-widgets-perl/Widgets.pm =================================================================== --- libcurses-widgets-perl.orig/Widgets.pm 2013-09-12 01:16:43.818035605 +0200 +++ libcurses-widgets-perl/Widgets.pm 2013-09-12 01:17:46.751221914 +0200 @@ -955,7 +955,7 @@ This method should be overridden in all descendent classes, and should render any content in the passed window. The B method, as defined in this class, will pass a window the exact size of the content area, so no -adjustments will need to be made to accomodate a border. +adjustments will need to be made to accommodate a border. =cut @@ -971,7 +971,7 @@ $obj->_cursor -This method should be overriden in all descendent classes that display a +This method should be overridden in all descendent classes that display a cursor in the content area. The B method, as defined in this class, calls this method after the content is rendered, and passes it a window handle the exact size of the content area. debian/patches/bottom-element.patch0000644000000000000000000000271412214170523014572 0ustar Author: Stephen Zander Description: make ListBox.pm keep the bottom element of a list in view when paging down & the top element of a list in view when paging up, Bug: #171719 --- a/Widgets/ListBox.pm +++ b/Widgets/ListBox.pm @@ -314,6 +314,8 @@ sub input_key { my $sel = $$conf{VALUE}; my @items = @{$$conf{LISTITEMS}}; my $pos = $$conf{CURSORPOS}; + my $top = $$conf{TOPELEMENT}; + my $lines = $$conf{LINES}; my $re = $$conf{TOGGLE}; my $np; @@ -337,17 +339,23 @@ sub input_key { if ($in eq KEY_HOME) { beep if $pos == 0; $pos = 0; + $top = 0; } elsif ($in eq KEY_END) { beep if $pos == $#items; $pos = $#items; + $top = $#items - $lines + 1; } elsif ($in eq KEY_PPAGE) { beep if $pos == 0; - $pos -= $$conf{LINES}; + $pos -= ($lines - 1); + $top -= ($lines - 1); $pos = 0 if $pos < 0; + $top = 0 if $top < 0; } elsif ($in eq KEY_NPAGE) { beep if $pos == $#items; - $pos += $$conf{LINES}; + $pos += ($lines - 1); + $top += ($lines - 1); $pos = $#items if $pos > $#items; + $top = ($#items - $lines + 1) if $pos > ($#items - $lines + 1); } } else { beep; @@ -377,7 +385,7 @@ sub input_key { } # Save the changes - @$conf{qw(VALUE CURSORPOS)} = ($sel, $pos); + @$conf{qw(VALUE CURSORPOS TOPELEMENT)} = ($sel, $pos, $top); } sub match_key { debian/source/0000755000000000000000000000000012214170620010461 5ustar debian/source/format0000644000000000000000000000001412214170620011667 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000172112214172670011124 0ustar This is the Debian GNU/Linux version of the Curses::Widgets perl module. It is maintained by the Debian Perl Group. For further information see http://pkg-perl.alioth.debian.org/ The developer of this software is Arthur Corliss . The sources were downloaded from CPAN: http://www.cpan.org/modules/by-module/Curses/ This software is released under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version. The full text of the GPL version 2 is available on Debian systems in /usr/share/common-licenses/GPL-2 This package has been through multiple maintainers (for a list see /usr/share/doc/libapache-asp-perl/changelog.Debian.gz). Debian specific changes are copyright (c) 2000-2002, Stephen Zander . The package is now (since September 2006 - Refer to the changelog for more detailed information) maintained by the Debian Perl Group.