Hello community,
here is the log from the commit of package perl-Curses for openSUSE:Factory
checked in at Tue Feb 9 22:38:29 CET 2010.
--------
--- perl-Curses/perl-Curses.changes 2010-01-10 15:57:48.000000000 +0100
+++ /mounts/work_src_done/STABLE/perl-Curses/perl-Curses.changes 2010-02-09 12:47:41.000000000 +0100
@@ -1,0 +2,10 @@
+Tue Feb 9 11:39:25 UTC 2010 - coolo@novell.com
+
+- update to 1.28
+ * Disable Curses::Var::STORE. It doesn't work (doesn't even compile) with
+ newer Ncurses (due to updates to make Ncurses reentrant). One can
+ re-enable it by defining ALLOW_VARS_STORE in c-config.h.
+
+ * Improve "not provided by your vendor" message.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
Curses-1.27.tar.bz2
New:
----
Curses-1.28.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Curses.spec ++++++
--- /var/tmp/diff_new_pack.6cjueF/_old 2010-02-09 22:37:18.000000000 +0100
+++ /var/tmp/diff_new_pack.6cjueF/_new 2010-02-09 22:37:18.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package perl-Curses (Version 1.27)
+# spec file for package perl-Curses (Version 1.28)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -20,8 +20,8 @@
Name: perl-Curses
BuildRequires: ncurses-devel
-Version: 1.27
-Release: 2
+Version: 1.28
+Release: 1
Provides: perl_cur Curses
Obsoletes: perl_cur
Requires: perl = %{perl_version}
@@ -29,19 +29,17 @@
Group: Development/Libraries/Perl
License: Artistic
Url: http://cpan.org/modules/by-module/Curses/
-Summary: A Dynamic Loadable Curses Module for Perl5
+Summary: Terminal screen handling and optimization
Source: Curses-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
-This is a dynamic loadable curses module for Perl5. This package can
-be found at any CPAN archive.
-
-
-
-Authors:
---------
- William Setzer
+Curses is the interface between Perl and your system's curses(3) library.
+For descriptions on the usage of a given function, variable, or constant,
+consult your system's documentation, as such information invariably varies
+(:-) between different curses(3) libraries and operating systems. This
+document describes the interface itself, and assumes that you already know
+how your system's curses(3) library works.
%prep
%setup -q -n Curses-%{version}
@@ -56,13 +54,14 @@
%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
+chmod a-x test.syms demo.form
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
-%doc Artistic Copying README
+%doc README Artistic Copying demo demo2 demo.form demo.menu demo.panel HISTORY list.syms MAINTENANCE README test.syms
%doc %{_mandir}/man3/*
%{perl_vendorarch}/Curses.pm
%{perl_vendorarch}/auto/Curses
++++++ Curses-1.27.tar.bz2 -> Curses-1.28.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Curses-1.27/Curses.c new/Curses-1.28/Curses.c
--- old/Curses-1.27/Curses.c 2008-11-08 05:30:10.000000000 +0100
+++ new/Curses-1.28/Curses.c 2010-01-21 04:29:02.000000000 +0100
@@ -131,21 +131,21 @@
c_fun_not_there(fn)
char *fn;
{
- croak("Curses function '%s' is not defined by your vendor", fn);
+ croak("Curses function '%s' is not defined in your Curses library", fn);
}
static void
c_var_not_there(fn)
char *fn;
{
- croak("Curses variable '%s' is not defined by your vendor", fn);
+ croak("Curses variable '%s' is not defined in your Curses library", fn);
}
static void
c_con_not_there(fn)
char *fn;
{
- croak("Curses constant '%s' is not defined by your vendor", fn);
+ croak("Curses constant '%s' is not defined in your Curses library", fn);
}
/*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Curses-1.27/Curses.pm new/Curses-1.28/Curses.pm
--- old/Curses-1.27/Curses.pm 2009-01-20 16:24:27.000000000 +0100
+++ new/Curses-1.28/Curses.pm 2010-01-21 04:29:38.000000000 +0100
@@ -51,7 +51,7 @@
package Curses;
-$VERSION = '1.27'; # Makefile.PL picks this up
+$VERSION = '1.28'; # Makefile.PL picks this up
use Carp;
require Exporter;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Curses-1.27/CursesVar.c new/Curses-1.28/CursesVar.c
--- old/Curses-1.27/CursesVar.c 2007-03-11 09:29:09.000000000 +0100
+++ new/Curses-1.28/CursesVar.c 2010-01-27 07:37:55.000000000 +0100
@@ -182,6 +182,7 @@
{
dXSARGS;
{
+#ifdef ALLOW_VARS_STORE
int num = (int)SvIV((SV*)SvRV(ST(0)));
switch (num) {
@@ -232,6 +233,25 @@
/* NOTREACHED */
}
ST(0) = &PL_sv_yes;
+#else
+ croak("Curses::Vars::STORE is not available in this version of "
+ "Curses.pm. Setting of variables is not allowed in recent "
+ "Curses (C) libraries.");
+
+ /* In January 2010, we first saw a version of Ncurses that does not
+ allow setting of variables. This has to do with making the library
+ re-entrant. The variables do not exist, but code that refers to them
+ still works because the variable names are defined as macros that call
+ functions that retrieve the value. For some of the variables, it
+ doesn't even make sense to set the variables, and we assume few programs
+ ever exploited this ability, so simply removed it by default for
+ everyone starting with the January 2010 release.
+
+ If you have an old Ncurses library that allows setting of variables
+ and really want this function in Curses.pm, #define ALLOW_VARS_STORE
+ in your c-config.h.
+ */
+#endif
}
XSRETURN(1);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Curses-1.27/HISTORY new/Curses-1.28/HISTORY
--- old/Curses-1.27/HISTORY 2009-01-20 16:24:06.000000000 +0100
+++ new/Curses-1.28/HISTORY 2010-01-27 07:42:19.000000000 +0100
@@ -11,6 +11,14 @@
Curses itself is much older than the Perl implementation. Curses was
originally only a C programming library.
+New in 1.28 (Released January 27, 2010)
+
+ Disable Curses::Var::STORE. It doesn't work (doesn't even compile) with
+ newer Ncurses (due to updates to make Ncurses reentrant). One can
+ re-enable it by defining ALLOW_VARS_STORE in c-config.h.
+
+ Improve "not provided by your vendor" message.
+
New in 1.27 (Released January 20, 2009)
Extraneous .i and .s files in 1.26 removed. 'make clean' cleans all
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Curses-1.27/INSTALL new/Curses-1.28/INSTALL
--- old/Curses-1.27/INSTALL 2008-12-29 20:35:00.000000000 +0100
+++ new/Curses-1.28/INSTALL 2010-01-27 04:20:16.000000000 +0100
@@ -25,7 +25,7 @@
file "c-config.h" in the current ("Curses") directory. If not,
copy "hints/c-none.h" to "c-config.h" in the current directory.
Then edit "c-config.h" and follow the directions. If you have to
- "roll your own", be sure and save a copy. A "make clean" will
+ "roll your own", be sure to save a copy. A "make clean" will
delete "c-config.h". If you "rolled your own", please send me a
copy so I can include it in future distributions (see
"hints/c-isc.h" for an example of a user-contributed "c-config.h").
@@ -141,7 +141,7 @@
Alternatively, if you see that test.syms is picking the wrong
values, you can edit "CursesDef.h" by hand and follow the
- directions. If you have to "roll your own", be sure and save a
+ directions. If you have to "roll your own", be sure to save a
copy. A "make clean" will delete "CursesDef.h".
`make' will then try to compile "Curses.c". If you get any
@@ -241,8 +241,8 @@
- Set environment variables (for Perl Curses Makefile.PL):
- CURSES_CFLAGS=-Ic:\dev\pdc33
- CURSES_LDFLAGS=-Lc:\dev\pdc33 pdcurses.lib
+ CURSES_CFLAGS='-Ic:\dev\pdc33'
+ CURSES_LDFLAGS='-Lc:\dev\pdc33 pdcurses.lib'
- Build and Test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Curses-1.27/MAINTENANCE new/Curses-1.28/MAINTENANCE
--- old/Curses-1.27/MAINTENANCE 2009-01-04 23:20:13.000000000 +0100
+++ new/Curses-1.28/MAINTENANCE 2009-01-20 16:27:57.000000000 +0100
@@ -34,11 +34,6 @@
- PAUSE will open the tarball automatically and index the packages it finds
in there by name (Curses::Window, Curses::Screen, etc.).
- It will find and index the package "Gen" and extract its README too. I'm
- pretty sure this is wrong -- this looks like it's just supposed to be a
- private thing used in the build. Someday, we should find a way to stop
- this.
-
For Bryan's test system:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org