[CVS] OpenPKG: openpkg-src/perl-curses perl-curses.patch perl-curses.s...

2002-11-25 Thread Thomas Lotterer
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Thomas Lotterer
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-web, openpkg-src Date:   25-Nov-2002 16:18:01
  Branch: HEAD Handle: 2002112515175901

  Modified files:
openpkg-src/perl-curses perl-curses.patch perl-curses.spec
openpkg-web news.txt

  Log:
patch the pathes in the patch

  Summary:
RevisionChanges Path
1.4 +2  -2  openpkg-src/perl-curses/perl-curses.patch
1.20+2  -2  openpkg-src/perl-curses/perl-curses.spec
1.2109  +1  -0  openpkg-web/news.txt
  

  Index: openpkg-src/perl-curses/perl-curses.patch
  
  $ cvs diff -u -r1.3 -r1.4 perl-curses.patch
  --- openpkg-src/perl-curses/perl-curses.patch 21 Nov 2002 20:46:16 -  1.3
  +++ openpkg-src/perl-curses/perl-curses.patch 25 Nov 2002 15:18:00 -  1.4
  @@ -3,7 +3,7 @@
   RCS file: CHANGES.RSE
   diff -N CHANGES.RSE
   --- /dev/nullThu Nov 21 21:45:01 2002
  -+++ /tmp/rse/cvswnxWiC   Thu Nov 21 21:45:22 2002
   CHANGES.RSE  Thu Nov 21 21:45:22 2002
   @@ -0,0 +1,19 @@
   +
   +  The following changes were made by Ralf S. Engelschall [EMAIL PROTECTED]
  @@ -26,7 +26,7 @@
   +
   Index: lib/Curses/UI.pm
   ===
  -RCS file: /u/rse/wrk/cui/cvs/cui/lib/Curses/UI.pm,v
  +RCS file: lib/Curses/UI.pm,v
   retrieving revision 1.1.1.1
   retrieving revision 1.3
   diff -u -d -u -d -r1.1.1.1 -r1.3
  Index: openpkg-src/perl-curses/perl-curses.spec
  
  $ cvs diff -u -r1.19 -r1.20 perl-curses.spec
  --- openpkg-src/perl-curses/perl-curses.spec  21 Nov 2002 20:18:30 -  1.19
  +++ openpkg-src/perl-curses/perl-curses.spec  25 Nov 2002 15:18:00 -  1.20
  @@ -40,8 +40,8 @@
   Distribution: OpenPKG [BASE]
   Group:Language
   License:  GPL/Artistic
  -Version:  20021121
  -Release:  20021121
  +Version:  20021125
  +Release:  20021125
   
   #   list of sources
   Source0:  http://www.cpan.org/modules/by-module/Curses/Curses-%{V_curses}.tar.gz
  Index: openpkg-web/news.txt
  
  $ cvs diff -u -r1.2108 -r1.2109 news.txt
  --- openpkg-web/news.txt  25 Nov 2002 14:16:16 -  1.2108
  +++ openpkg-web/news.txt  25 Nov 2002 15:17:59 -  1.2109
  @@ -1,3 +1,4 @@
  +25-Nov-2002: Upgraded package: Pperl-curses-20021125-20021125
   25-Nov-2002: Upgraded package: Pgcc-3.2.1-20021125
   25-Nov-2002: Upgraded package: Pqt-3.1.0-20021125
   25-Nov-2002: New package: Paspell-0.50.3-20021125
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]



[CVS] OpenPKG: openpkg-src/perl-curses perl-curses.patch perl-curses.s...

2002-11-21 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-web, openpkg-src Date:   21-Nov-2002 21:18:31
  Branch: HEAD Handle: 2002112120183000

  Modified files:
openpkg-src/perl-curses perl-curses.patch perl-curses.spec
openpkg-web news.txt

  Log:
add latest RSE patches

  Summary:
RevisionChanges Path
1.2 +333 -8 openpkg-src/perl-curses/perl-curses.patch
1.19+2  -2  openpkg-src/perl-curses/perl-curses.spec
1.2078  +1  -0  openpkg-web/news.txt
  

  Index: openpkg-src/perl-curses/perl-curses.patch
  
  $ cvs diff -u -r1.1 -r1.2 perl-curses.patch
  --- openpkg-src/perl-curses/perl-curses.patch 20 Nov 2002 15:52:48 -  1.1
  +++ openpkg-src/perl-curses/perl-curses.patch 21 Nov 2002 20:18:30 -  1.2
  @@ -1,33 +1,254 @@
  +Index: CHANGES.RSE
  +===
  +RCS file: CHANGES.RSE
  +diff -N CHANGES.RSE
  +--- /dev/nullThu Nov 21 21:15:00 2002
   /tmp/rse/cvsWYEhjj   Thu Nov 21 21:17:26 2002
  +@@ -0,0 +1,19 @@
  ++
  ++  The following changes were made by Ralf S. Engelschall [EMAIL PROTECTED]
  ++  to the excellent Curses::UI 0.71 by Maurice Makaay [EMAIL PROTECTED].
  ++
  ++  o Make sure that Curses::UI::Listbox draws the selected values in bold
  ++also under multi and radio options to be consistent in look 
  ++feel with the standard list box.
  ++
  ++  o Add support for root-overlapping(1) (default) and
  ++root-overlapping(0) to optimize the redrawing by reducing to
  ++the old and new focused widgets. The default is still to redraw
  ++everything which is necessary to support overlapping windows.
  ++
  ++  o Add -reverse option to Curses::UI::TextEditor.
  ++
  ++  o Add color support.
  ++
  ++  o Fix reverse rendering for Label demo in demo-widgets.
  ++
   Index: lib/Curses/UI.pm
   ===
   RCS file: /u/rse/wrk/cui/cvs/cui/lib/Curses/UI.pm,v
   retrieving revision 1.1.1.1
  -diff -u -d -u -d -r1.1.1.1 UI.pm
  +retrieving revision 1.2
  +diff -u -d -u -d -r1.1.1.1 -r1.2
   --- lib/Curses/UI.pm 2002/11/20 15:00:33 1.1.1.1
  -+++ lib/Curses/UI.pm 2002/11/20 15:12:54
  -@@ -65,6 +65,7 @@
   lib/Curses/UI.pm 2002/11/21 18:14:03 1.2
  +@@ -65,6 +65,8 @@
-cursor_mode   = 0, # What is the current cursor_mode?
-debug = undef, # Turn on debugging mode?
-language  = undef, # Which language to use?
   +-overlapping   = 1, # Whether overlapping widgets are supported
  ++-colors= 0, # Whether colors are used

%userargs,

  -@@ -118,6 +119,7 @@
  +@@ -118,6 +120,8 @@
sub clear_on_exit(;$) { shift()-accessor('-clear_on_exit',   shift()) }
sub cursor_mode(;$)   { shift()-accessor('-cursor_mode', shift()) }
sub lang(;$)  { shift()-accessor('-language_object', shift()) }
   +sub overlapping(;$)   { shift()-accessor('-overlapping', shift()) }
  ++sub colors(;$){ shift()-accessor('-colors',  shift()) }

# TODO: document
sub debug(;$) 
  +@@ -128,6 +132,58 @@
  + }
  + 
  + # --
  ++# Color support
  ++# --
  ++
  ++$Curses::UI::colorpairs = 0;
  ++$Curses::UI::colorpair  = {};
  ++
  ++sub colorpair ($$;$$)
  ++{
  ++my $this = shift;
  ++my ($name, $fg, $bg) = @_;
  ++my $colors_name2num = {
  ++'black'   = COLOR_BLACK,
  ++'red' = COLOR_RED,
  ++'green'   = COLOR_GREEN,
  ++'yellow'  = COLOR_YELLOW,
  ++'blue'= COLOR_BLUE,
  ++'magenta' = COLOR_MAGENTA,
  ++'cyan'= COLOR_CYAN,
  ++'white'   = COLOR_WHITE
  ++};
  ++
  ++if (not $this-{-colors}) {
  ++return 0;
  ++}
  ++if (not defined($fg) and not defined($bg)) {
  ++return ($Curses::UI::colorpair-{$name} || 0);
  ++}
  ++else {
  ++my $n = $Curses::UI::colorpair-{$name};
  ++if (not defined($n)) {
  ++$Curses::UI::colorpairs++;
  ++$n = $Curses::UI::colorpairs;
  ++}
  ++$fg = $colors_name2num-{$fg} || 'default';
  ++if ($fg eq 'default') {
  ++my ($fg_d, $bg_d) = (0, 0);
  ++pair_content(0, $fg_d, $bg_d);
  ++$fg = $fg_d;
  ++}
  ++$bg = $colors_name2num-{$bg} || 'default';