head 1.9; access; symbols pkgsrc-2013Q2:1.9.0.16 pkgsrc-2013Q2-base:1.9 pkgsrc-2012Q4:1.9.0.14 pkgsrc-2012Q4-base:1.9 pkgsrc-2011Q4:1.9.0.12 pkgsrc-2011Q4-base:1.9 pkgsrc-2011Q2:1.9.0.10 pkgsrc-2011Q2-base:1.9 pkgsrc-2009Q4:1.9.0.8 pkgsrc-2009Q4-base:1.9 pkgsrc-2008Q4:1.9.0.6 pkgsrc-2008Q4-base:1.9 pkgsrc-2008Q3:1.9.0.4 pkgsrc-2008Q3-base:1.9 cube-native-xorg:1.9.0.2 cube-native-xorg-base:1.9 pkgsrc-2008Q2:1.7.0.24 pkgsrc-2008Q2-base:1.7 cwrapper:1.7.0.22 pkgsrc-2008Q1:1.7.0.20 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.7.0.18 pkgsrc-2007Q4-base:1.7 pkgsrc-2007Q3:1.7.0.16 pkgsrc-2007Q3-base:1.7 pkgsrc-2007Q2:1.7.0.14 pkgsrc-2007Q2-base:1.7 pkgsrc-2007Q1:1.7.0.12 pkgsrc-2007Q1-base:1.7 pkgsrc-2006Q4:1.7.0.10 pkgsrc-2006Q4-base:1.7 pkgsrc-2006Q3:1.7.0.8 pkgsrc-2006Q3-base:1.7 pkgsrc-2006Q2:1.7.0.6 pkgsrc-2006Q2-base:1.7 pkgsrc-2006Q1:1.7.0.4 pkgsrc-2006Q1-base:1.7 pkgsrc-2005Q4:1.7.0.2 pkgsrc-2005Q4-base:1.7 pkgsrc-2005Q3:1.6.0.24 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.6.0.22 pkgsrc-2005Q2-base:1.6 pkgsrc-2005Q1:1.6.0.20 pkgsrc-2005Q1-base:1.6 pkgsrc-2004Q4:1.6.0.18 pkgsrc-2004Q4-base:1.6 pkgsrc-2004Q3:1.6.0.16 pkgsrc-2004Q3-base:1.6 pkgsrc-2004Q2:1.6.0.14 pkgsrc-2004Q2-base:1.6 pkgsrc-2004Q1:1.6.0.12 pkgsrc-2004Q1-base:1.6 pkgsrc-2003Q4:1.6.0.10 pkgsrc-2003Q4-base:1.6 netbsd-1-6-1:1.6.0.6 netbsd-1-6-1-base:1.6 netbsd-1-6:1.6.0.8 netbsd-1-6-RELEASE-base:1.6 pkgviews:1.6.0.4 pkgviews-base:1.6 buildlink2:1.6.0.2 buildlink2-base:1.6 netbsd-1-5-PATCH003:1.6 netbsd-1-5-PATCH001:1.5 netbsd-1-5-RELEASE:1.5 netbsd-1-4-PATCH003:1.5 netbsd-1-4-PATCH002:1.4 comdex-fall-1999:1.4 netbsd-1-4-PATCH001:1.4 netbsd-1-4-RELEASE:1.3 netbsd-1-3-PATCH003:1.3 FREEBSD-19980713:1.1.1.1 FREEBSD:1.1.1; locks; strict; comment @# @; 1.9 date 2008.09.12.13.17.06; author he; state dead; branches; next 1.8; 1.8 date 2008.07.17.11.28.06; author rhaen; state Exp; branches; next 1.7; 1.7 date 2005.12.03.01.43.04; author joerg; state Exp; branches; next 1.6; 1.6 date 2001.11.26.06.49.47; author jlam; state Exp; branches; next 1.5; 1.5 date 2000.08.28.18.20.43; author jlam; state Exp; branches; next 1.4; 1.4 date 99.07.06.07.59.20; author jlam; state Exp; branches; next 1.3; 1.3 date 98.08.07.10.40.27; author agc; state Exp; branches; next 1.2; 1.2 date 98.07.13.16.55.59; author tv; state Exp; branches; next 1.1; 1.1 date 98.07.13.15.50.36; author tv; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 98.07.13.15.50.36; author tv; state Exp; branches; next ; desc @@ 1.9 log @Update from version 1.23 to 1.24. Pkgsrc changes: o Remove a redundant WRKSRC setting o Remove no longer needed patch-aa Upstream changes: New in 1.24 (Released September 10, 2008) Export KEY_RESIZE, KEY_EVENT. For Netbsd, allow both Netbsd and BSD guesses via CURSES_LIBTYPE, and default to Ncurses. Used to guess only BSD. From Ulrich Habel rhaen@@NetBSD.org . Add guess capability for Dragonfly. From Ulrich Habel rhaen@@NetBSD.org . @ text @$NetBSD: patch-aa,v 1.8 2008/07/17 11:28:06 rhaen Exp $ --- Makefile.PL.orig 2008-07-17 13:07:34.000000000 +0200 +++ Makefile.PL 2008-07-17 13:13:44.000000000 +0200 @@@@ -118,6 +118,12 @@@@ 'ncurses' => [ '' , '-lncurses' ], 'default' => 'bsd' }, + 'dragonfly' => { + 'bsd' => [ '' => '-lcurses -ltermcap' ], + 'ncurses' => [ '' => '-lncurses' ], + 'default' => 'bsd' + }, + 'hpux' => [ '' , '-lcurses -ltermcap' ], # See INSTALL file for information about a different Curses library on HPUX. 'irix' => { @@@@ -131,7 +137,11 @@@@ 'ncurses' => [ '-I/usr/include/ncurses' , '-lncurses' ], 'default' => 'ncurses' }, - 'netbsd' => [ '' , '-lcurses -ltermcap' ], + 'netbsd' => { + 'bsd' => [ '' => '-lcurses -ltermcap' ], + 'ncurses' => [ '' => '-lncurses' ], + 'default' => 'ncurses' + }, 'next' => [ '' , '-lcurses -ltermcap' ], 'openbsd' => [ '' , '-lcurses -ltermcap' ], 'os2' => { @ 1.8 log @- updated to 1.23 - send patch-aa to upstream (so that they can include it - hopefully) The Curses Perl module was created by William Setzer (William_Setzer at ncsu.edu) in 1994. William maintained it up until July 2001, when he stopped having time to do so. In September 2004, Bryan Henderson (bryanh@@giraffe-data.com) took over maintainership of it, after confirming with William that he did not plan to continue. The module has always been distributed via CPAN. Curses itself is much older than the Perl implementation. Curses was originally only a C programming library. New in 1.23 (Released March 9, 2008) Fix crash of Makefile.PL on Windows. New in 1.22 (Released February 29, 2008) Nothing. Just a packaging fix. New in 1.21 (Released February 15, 2008) Don't undefine 'bool' macro in c-darwin hints file. New in 1.20 (Released November 19, 2007) Fix missing comment delimiter. New in 1.19 (Released November 18, 2007) Make it work on 5.005 again, using ppport.h (Devel::PPPort). From Slaven Rezic - slaven rezic de . Fix uninitialized value in Makefile.PL on a system without BSD Curses or Ncurses in a common place. Reverse change to chgat() in 1.16. Make expected argument count 4. There was never a 1.18 release; problems with PAUSE prevent using that release number. New in 1.17 (Released October 14, 2007) Fix bug - can't find c-config.h on a system with ncursesw. Make cdemo work on Windows. Don't undefine SP macro with Pdcurses. (Otherwise it won't compile; don't know why we used to undefine SP). In Windows hints file, #include curses.h instead of pdcurses.h. It seems to be called curses.h these days. New in 1.16 (August 7, 2007) Use Ncursesw (Ncurses with wide character functions) instead of Ncurses if available. Undefine "tab" macro, defined by Curses header file. It interferes with perl.h. Fix demo.form to use L! instead of J in the pack template that generates the new_form() argument. Apparently, J is something from older Perl and doesn't exist in current Perl. Put some documentation of the library in comments in demo.form. Use L! instead of I in the pack template in demo.menu. Change SvPV(X,PL_na) to SvPV_nolen(X) to get with the times. Change #!/usr/local/bin/perl to #! /usr/bin/perl . Fix bug: chgat() requires an extra, meaningless, argument. Fix changes expected argument count from 4 to 3. New in 1.15 (October 8, 2006) Add a simple load test 00-load.t. Makefile.PL: use cdemo.obj instead of cdemo.o on Windows. Makefile.PL: Guess ncurses/bsd based on what .h files exist. Fix bug in Makefile.PL: doesn't use curses type in guess at c-config.h (e.g. tries to use c-freebsd.h when it should use c-freebsd.bsd.h). Change all sv_isa() to sv_derived_from() so you can use subclasses. Thanks Leigh . Rename default Darwin (Mac OS X) hints file (ca 2001) to c-darwin.old, and the newer one ca 2004) to c-darwin.old so as to be the default. We're guessing that the newer one applies to more systems today. New in 1.14 (June 3, 2006) Make demo.form work on 64 bit machine. Add some narration to Makefile.PL to help with diagnosis. Move undef of 'instr' from individual hint files to Curses.c and add explanation. Use perl -w instead of 'use warnings' in Makefile.PL so it works with older Perl. New in 1.13 (October 10, 2005) Fix so it builds on current Cygwin. Some kind of build fix to get panels, forms, and menu functions to build. @ text @d1 1 a1 1 $NetBSD$ @ 1.7 log @Add DragonFly support. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.6 2001/11/26 06:49:47 jlam Exp $ d3 4 a6 4 --- Makefile.PL.orig Sun Jul 16 15:13:25 2000 +++ Makefile.PL @@@@ -105,6 +105,11 @@@@ my $guess_cfg = { 'ncurses' => [ '' => '-lncurses' ], d14 3 a16 1 'hpux' => [ '' => '-lcurses -ltermcap' ], d18 2 a19 3 'bsd' => [ '' => '-lcurses -ltermcap' ], @@@@ -117,7 +122,11 @@@@ my $guess_cfg = { 'ncurses' => [ '-I/usr/include/ncurses' => '-lncurses' ], d22 1 a22 1 - 'netbsd' => [ '' => '-lcurses -ltermcap' ], d28 2 a29 2 'next' => [ '' => '-lcurses -ltermcap' ], 'openbsd' => [ '' => '-lcurses -ltermcap' ], @ 1.6 log @Buildlinkify, in the sense that only the perl headers are found in ${PREFIX} -- everything else is pickup up from ${BUILDLINK_DIR}. @ text @d1 1 a1 1 $NetBSD$ d5 13 a17 1 @@@@ -105,7 +105,11 @@@@ @ 1.5 log @Update p5-Curses to 1.05. Some changes in the new version: o Added the missing support functions c_chstrlen, c_Screen2sv. Oops. :) o Updated DIAGNOSTICS section of pod. o Added typedef detection support. o Rearranged PANELS support a little. o Removed support for wattr_get, wattr_off, wattr_on, and wattr_set (for now). I got the prototypes from ncurses-1.9.9g, but they apparently differ from the "standard" ones. o Renamed "lines" everywhere, 'cause some curses library writer was stupid enough to #define it. (Go figure.) o Reworked "optional" arguments, which only affects newterm(), panel_above() and panel_below(). Now, if you want to specify "NULL" as an argument, use "undef" instead of omitting the argument. (Don't worry if this doesn't make sense. You probably aren't affected anyway.) o Added the ncurses "curs_mouse" functions, but I have no idea if they work. I couldn't even get the C versions to work, so I had no way of testing them. Feedback on these functions would be appreciated. @ text @d12 1 a12 1 + 'ncurses' => [ "-I$ENV{'LOCALBASE'}/include" => "$ENV{'LDFLAGS'} -lncurses" ], @ 1.4 log @ * Update ncurses dependency. @ text @d3 5 a7 5 --- Makefile.PL.orig Mon Feb 16 17:50:19 1998 +++ Makefile.PL Tue Jul 6 03:30:58 1999 @@@@ -76,7 +76,7 @@@@ 'ncurses' => [ '-I/usr/include/ncurses' => '-lncurses' ], 'default' => 'ncurses' d9 9 a17 5 - 'netbsd' => [ '' => '-lcurses -ltermcap' ], + 'netbsd' => [ "-I$ENV{'LOCALBASE'}/include" => "$ENV{'LDFLAGS'} -L$ENV{'LOCALBASE'}/lib -lncurses" ], 'next' => [ '' => '-lcurses -ltermcap' ], 'os2' => { 'bsd' => [ '' => '-lcurses -ltermcap' ], @ 1.3 log @Add NetBSD RCS Ids. @ text @d4 1 a4 1 +++ Makefile.PL Mon Jul 13 12:17:51 1998 d10 1 a10 1 + 'netbsd' => [ "-I$ENV{'PREFIX'}/include" => "-L$ENV{'PREFIX'}/lib -lncurses" ], @ 1.2 log @Add and activate p5-Curses and p5-PV pkgs. @ text @d1 2 @ 1.1 log @Initial revision @ text @d1 10 a10 4 --- Makefile.PL.orig Tue Feb 17 06:50:19 1998 +++ Makefile.PL Tue Mar 17 14:49:11 1998 @@@@ -66,7 +66,7 @@@@ 'freebsd' => a11 6 'ncurses' => [ '' => '-lncurses' ], - 'default' => 'bsd' + 'default' => 'ncurses' }, 'hpux' => [ '' => '-lcurses -ltermcap' ], 'irix' => [ '' => '-lcurses -ltermcap' ], ## @ 1.1.1.1 log @Import of FreeBSD's Perl Curses module (patches to follow). @ text @@