Hello community,
here is the log from the commit of package perl-Curses
checked in at Fri Sep 12 18:08:42 CEST 2008.
--------
--- perl-Curses/perl-Curses.changes 2008-03-10 15:23:17.000000000 +0100
+++ /mounts/work_src_done/STABLE/perl-Curses/perl-Curses.changes 2008-09-10 18:03:09.000000000 +0200
@@ -1,0 +2,9 @@
+Wed Sep 10 18:02:10 CEST 2008 - anicka@suse.cz
+
+- update to 1.24
+ * Export KEY_RESIZE, KEY_EVENT.
+ * For Netbsd, allow both Netbsd and BSD guesses via CURSES_LIBTYPE,
+ and default to Ncurses.
+ * Add guess capability for Dragonfly.
+
+-------------------------------------------------------------------
Old:
----
Curses-1.23.tar.bz2
New:
----
Curses-1.24.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Curses.spec ++++++
--- /var/tmp/diff_new_pack.pb2068/_old 2008-09-12 18:08:18.000000000 +0200
+++ /var/tmp/diff_new_pack.pb2068/_new 2008-09-12 18:08:18.000000000 +0200
@@ -1,10 +1,17 @@
#
-# spec file for package perl-Curses (Version 1.23)
+# spec file for package perl-Curses (Version 1.24)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@@ -13,7 +20,7 @@
Name: perl-Curses
BuildRequires: ncurses-devel
-Version: 1.23
+Version: 1.24
Release: 1
Provides: perl_cur Curses
Obsoletes: perl_cur
@@ -40,14 +47,13 @@
%setup -q -n Curses-%{version}
%build
-CURSES_LDFLAGS="-lncursesw" CURSES_CFLAGS="" perl Makefile.PL PANELS MENUS OPTIMIZE="$RPM_OPT_FLAGS -Wall"
+CURSES_LDFLAGS="-lncursesw" CURSES_CFLAGS="-I/usr/include/ncursesw/" perl Makefile.PL PANELS MENUS OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make
%check
make test
%install
-rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
@@ -63,6 +69,12 @@
/var/adm/perl-modules/%{name}
%changelog
+* Wed Sep 10 2008 anicka@suse.cz
+- update to 1.24
+ * Export KEY_RESIZE, KEY_EVENT.
+ * For Netbsd, allow both Netbsd and BSD guesses via CURSES_LIBTYPE,
+ and default to Ncurses.
+ * Add guess capability for Dragonfly.
* Mon Mar 10 2008 anicka@suse.cz
- update to 1.23
* Fix crash of Makefile.PL on Windows.
++++++ Curses-1.23.tar.bz2 -> Curses-1.24.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/Curses-1.23/CursesBoot.c new/Curses-1.24/CursesBoot.c
--- old/Curses-1.23/CursesBoot.c 2007-03-11 20:45:26.000000000 +0100
+++ new/Curses-1.24/CursesBoot.c 2008-08-06 21:43:41.000000000 +0200
@@ -791,6 +791,12 @@
#ifdef KEY_MOUSE
C_NEWCS("KEY_MOUSE", KEY_MOUSE);
#endif
+#ifdef KEY_RESIZE
+ C_NEWCS("KEY_RESIZE", KEY_RESIZE);
+#endif
+#ifdef KEY_EVENT
+ C_NEWCS("KEY_EVENT", KEY_EVENT);
+#endif
#ifdef BUTTON1_RELEASED
C_NEWCS("BUTTON1_RELEASED", BUTTON1_RELEASED);
#endif
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/Curses-1.23/CursesFun.c new/Curses-1.24/CursesFun.c
--- old/Curses-1.23/CursesFun.c 2007-11-15 02:23:03.000000000 +0100
+++ new/Curses-1.24/CursesFun.c 2008-03-24 16:30:59.000000000 +0100
@@ -3382,17 +3382,19 @@
/* curs_util */
-XS(XS_Curses_unctrl)
-{
+
+
+XS(XS_Curses_unctrl) {
+
dXSARGS;
#ifdef C_UNCTRL
c_exactargs("unctrl", items, 1);
{
- chtype ch = c_sv2chtype(ST(0));
- char * ret = unctrl(ch);
-
- ST(0) = sv_newmortal();
- sv_setpv((SV*)ST(0), ret);
+ chtype const ch = c_sv2chtype(ST(0));
+ const char * const ret = unctrl(ch);
+
+ ST(0) = sv_newmortal();
+ sv_setpv((SV*)ST(0), ret);
}
XSRETURN(1);
#else
@@ -3401,6 +3403,8 @@
#endif
}
+
+
XS(XS_Curses_keyname)
{
dXSARGS;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/Curses-1.23/Curses.pm new/Curses-1.24/Curses.pm
--- old/Curses-1.23/Curses.pm 2008-03-09 19:05:48.000000000 +0100
+++ new/Curses-1.24/Curses.pm 2008-09-10 04:02:28.000000000 +0200
@@ -51,7 +51,7 @@
package Curses;
-$VERSION = '1.23'; # Makefile.PL picks this up
+$VERSION = '1.24'; # Makefile.PL picks this up
use Carp;
require Exporter;
@@ -154,18 +154,20 @@
COLOR_YELLOW KEY_A1 KEY_A3 KEY_B2 KEY_BACKSPACE KEY_BEG KEY_BREAK
KEY_BTAB KEY_C1 KEY_C3 KEY_CANCEL KEY_CATAB KEY_CLEAR KEY_CLOSE
KEY_COMMAND KEY_COPY KEY_CREATE KEY_CTAB KEY_DC KEY_DL KEY_DOWN KEY_EIC
- KEY_END KEY_ENTER KEY_EOL KEY_EOS KEY_EXIT KEY_F0 KEY_FIND KEY_HELP
+ KEY_END KEY_ENTER KEY_EOL KEY_EOS KEY_EVENT KEY_EXIT
+ KEY_F0 KEY_FIND KEY_HELP
KEY_HOME KEY_IC KEY_IL KEY_LEFT KEY_LL KEY_MARK KEY_MAX KEY_MESSAGE
- KEY_MIN KEY_MOVE KEY_NEXT KEY_NPAGE KEY_OPEN KEY_OPTIONS KEY_PPAGE
+ KEY_MOUSE KEY_MIN KEY_MOVE KEY_NEXT KEY_NPAGE
+ KEY_OPEN KEY_OPTIONS KEY_PPAGE
KEY_PREVIOUS KEY_PRINT KEY_REDO KEY_REFERENCE KEY_REFRESH KEY_REPLACE
- KEY_RESET KEY_RESTART KEY_RESUME KEY_RIGHT KEY_SAVE KEY_SBEG
+ KEY_RESET KEY_RESIZE KEY_RESTART KEY_RESUME KEY_RIGHT KEY_SAVE KEY_SBEG
KEY_SCANCEL KEY_SCOMMAND KEY_SCOPY KEY_SCREATE KEY_SDC KEY_SDL
KEY_SELECT KEY_SEND KEY_SEOL KEY_SEXIT KEY_SF KEY_SFIND KEY_SHELP
KEY_SHOME KEY_SIC KEY_SLEFT KEY_SMESSAGE KEY_SMOVE KEY_SNEXT
KEY_SOPTIONS KEY_SPREVIOUS KEY_SPRINT KEY_SR KEY_SREDO KEY_SREPLACE
KEY_SRESET KEY_SRIGHT KEY_SRSUME KEY_SSAVE KEY_SSUSPEND KEY_STAB
- KEY_SUNDO KEY_SUSPEND KEY_UNDO KEY_UP KEY_MOUSE BUTTON1_RELEASED
- BUTTON1_PRESSED BUTTON1_CLICKED BUTTON1_DOUBLE_CLICKED
+ KEY_SUNDO KEY_SUSPEND KEY_UNDO KEY_UP
+ BUTTON1_RELEASED BUTTON1_PRESSED BUTTON1_CLICKED BUTTON1_DOUBLE_CLICKED
BUTTON1_TRIPLE_CLICKED BUTTON1_RESERVED_EVENT BUTTON2_RELEASED
BUTTON2_PRESSED BUTTON2_CLICKED BUTTON2_DOUBLE_CLICKED
BUTTON2_TRIPLE_CLICKED BUTTON2_RESERVED_EVENT BUTTON3_RELEASED
@@ -281,9 +283,10 @@
Unfortunately, curses(3) predates varargs(3), so in C we were stuck
with all the variants. However, C<Curses> is a Perl interface, so we
are free to "unify" these variants into one function. The section
-L<"Supported Functions"> below lists all curses(3) function supported
-by C<Curses>, along with a column listing if it is I<unified>. If
-so, it takes a varying number of arguments as follows:
+L<"Available Functions"> below lists all curses(3) functions C<Curses>
+makes available as Perl equivalents, along with a column listing if it
+is I<unified>. If so, it takes a varying number of arguments as
+follows:
=over 4
@@ -310,7 +313,7 @@
=head2 Objects
-Objects are supported. Example:
+Objects work. Example:
$win = new Curses;
$win->addstr(10, 10, 'foo');
@@ -318,7 +321,7 @@
...
Any function that has been marked as I<unified> (see
-L<"Supported Functions"> below and L<"Unified Functions"> above)
+L<"Available Functions"> below and L<"Unified Functions"> above)
can be called as a method for a Curses object.
Do not use C
participants (1)
-
root@Hilbert.suse.de