Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-Curses for openSUSE:Factory checked in at 2021-08-03 22:48:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Curses (Old) and /work/SRC/openSUSE:Factory/.perl-Curses.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Curses" Tue Aug 3 22:48:51 2021 rev:30 rq:909913 version:1.38 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Curses/perl-Curses.changes 2021-06-11 22:31:28.798214001 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Curses.new.1899/perl-Curses.changes 2021-08-03 22:49:22.316451189 +0200 @@ -1,0 +2,7 @@ +Mon Aug 2 13:07:55 UTC 2021 - Pedro Monreal <[email protected]> + +- Update to 1.38: + * Fix compilation failure with some compilers, including AIX's + because _XOPEN_SOURCE_EXTENDED was defined with null value. + +------------------------------------------------------------------- Old: ---- Curses-1.37.tar.gz New: ---- Curses-1.38.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Curses.spec ++++++ --- /var/tmp/diff_new_pack.QGedsC/_old 2021-08-03 22:49:22.736450682 +0200 +++ /var/tmp/diff_new_pack.QGedsC/_new 2021-08-03 22:49:22.736450682 +0200 @@ -16,13 +16,13 @@ # +%define cpan_name Curses Name: perl-Curses -Version: 1.37 +Version: 1.38 Release: 0 %define cpan_name Curses Summary: Terminal screen handling and optimization License: Artistic-1.0 OR GPL-1.0-or-later -Group: Development/Libraries/Perl URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/G/GI/GIRAFFED/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml @@ -42,7 +42,7 @@ how your system's curses(3) library works. %prep -%setup -q -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{version} find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 # Fix perl script interpreters @@ -54,7 +54,7 @@ export CURSES_CFLAGS="-I/usr/include/ncurses5/ncursesw" export CURSES_LDFLAGS="-L%{_libdir}/ncurses5 -lncursesw" perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" PANELS MENUS FORMS -make %{?_smp_mflags} +%make_build %check make test @@ -66,7 +66,7 @@ %files -f %{name}.files %defattr(-,root,root,755) -%doc demo* gdc gen.tar HISTORY list.syms MAINTENANCE README testcurses test.syms +%doc demo demo2 demo.form demo.menu demo.panel gdc gen.tar HISTORY list.syms MAINTENANCE README testcurses test.syms %license Artistic Copying %changelog ++++++ Curses-1.37.tar.gz -> Curses-1.38.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Curses-1.37/Curses.c new/Curses-1.38/Curses.c --- old/Curses-1.37/Curses.c 2016-03-30 04:03:23.000000000 +0200 +++ new/Curses-1.38/Curses.c 2021-07-21 02:55:33.000000000 +0200 @@ -6,7 +6,7 @@ ** or the GNU General Public License, as specified in the README file. */ -#define _XOPEN_SOURCE_EXTENDED /* We expect wide character functions */ +#define _XOPEN_SOURCE_EXTENDED 1 /* We expect wide character functions */ #include "CursesDef.h" #include "CursesTyp.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Curses-1.37/Curses.pm new/Curses-1.38/Curses.pm --- old/Curses-1.37/Curses.pm 2020-09-30 06:22:16.000000000 +0200 +++ new/Curses-1.38/Curses.pm 2021-07-21 03:00:23.000000000 +0200 @@ -51,7 +51,7 @@ package Curses; -$VERSION = '1.37'; # Makefile.PL picks this up +$VERSION = '1.38'; # Makefile.PL picks this up use Carp; require Exporter; @@ -407,7 +407,7 @@ wide characters), this calls C<wgetch()>, but returns the values described above nonetheless. This can be a problem because with a multibyte character encoding like UTF-8, you will receive two one-character strings for a -two-byte-character (e.g. "??" and "??" for "??"). If you append +two-byte-character (e.g. "????" and "???" for "???"). If you append these characters to a Perl string, that string may internally contain a valid UTF-8 encoding of a character, but Perl will not interpret it that way. Perl may even try to convert what it believes to be two characters to UTF-8, giving @@ -442,7 +442,7 @@ =over 4 - addstring("H??ll??, W??rld") || die "addstring failed"; + addstring("H???ll???, W???rld") || die "addstring failed"; =back diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Curses-1.37/HISTORY new/Curses-1.38/HISTORY --- old/Curses-1.37/HISTORY 2020-09-30 05:24:02.000000000 +0200 +++ new/Curses-1.38/HISTORY 2021-07-26 05:22:05.000000000 +0200 @@ -11,7 +11,12 @@ Curses itself is much older than the Perl implementation. Curses was originally only a C programming library. -New in 1.37 (Not released yet) +New in 1.38 (Released July 26, 2021) + + Fix compilation failure with some compilers, including AIX's because + _XOPEN_SOURCE_EXTENDED was defined with null value. + +New in 1.37 (Released October 3, 2020) Fix printw for wide characters. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Curses-1.37/INSTALL new/Curses-1.38/INSTALL --- old/Curses-1.37/INSTALL 2010-01-27 04:20:16.000000000 +0100 +++ new/Curses-1.38/INSTALL 2021-07-20 05:42:32.000000000 +0200 @@ -125,7 +125,7 @@ 6) make - `make' will first run a perl script called `test.syms' that investigates + `make' will first run a program called `test.syms' that investigates what the Curses libraries are like on your system and records the results in the file "CursesDef.h". @@ -259,7 +259,7 @@ - Test: - demo, demo2, demo.panel scripts successfully run + demo, demo2, demo.panel programs successfully run > nmake cdemo > cdemo diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Curses-1.37/META.json new/Curses-1.38/META.json --- old/Curses-1.37/META.json 2020-10-04 01:32:43.000000000 +0200 +++ new/Curses-1.38/META.json 2021-07-26 05:22:50.000000000 +0200 @@ -32,6 +32,6 @@ } }, "release_status" : "stable", - "version" : "1.37", + "version" : "1.38", "x_serialization_backend" : "JSON::PP version 2.97001" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Curses-1.37/META.yml new/Curses-1.38/META.yml --- old/Curses-1.37/META.yml 2020-10-04 01:32:43.000000000 +0200 +++ new/Curses-1.38/META.yml 2021-07-26 05:22:50.000000000 +0200 @@ -17,5 +17,5 @@ directory: - t - inc -version: '1.37' +version: '1.38' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Curses-1.37/testint.c new/Curses-1.38/testint.c --- old/Curses-1.37/testint.c 2014-04-06 19:27:01.000000000 +0200 +++ new/Curses-1.38/testint.c 2021-07-21 02:55:33.000000000 +0200 @@ -4,7 +4,7 @@ 'test.syms' defines macro SYM on the compile command. */ -#define _XOPEN_SOURCE_EXTENDED /* We expect wide character functions */ +#define _XOPEN_SOURCE_EXTENDED 1 /* We expect wide character functions */ #include "c-config.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Curses-1.37/testsym.c new/Curses-1.38/testsym.c --- old/Curses-1.37/testsym.c 2014-04-06 19:27:06.000000000 +0200 +++ new/Curses-1.38/testsym.c 2021-07-21 02:55:33.000000000 +0200 @@ -4,7 +4,7 @@ 'test.syms' defines macro SYM on the compile command. */ -#define _XOPEN_SOURCE_EXTENDED /* We expect wide character functions */ +#define _XOPEN_SOURCE_EXTENDED 1 /* We expect wide character functions */ #include "c-config.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Curses-1.37/testtyp.c new/Curses-1.38/testtyp.c --- old/Curses-1.37/testtyp.c 2014-04-06 19:27:04.000000000 +0200 +++ new/Curses-1.38/testtyp.c 2021-07-21 02:55:33.000000000 +0200 @@ -4,7 +4,7 @@ 'test.syms' defines macro SYM on the compile command. */ -#define _XOPEN_SOURCE_EXTENDED /* We expect wide character functions */ +#define _XOPEN_SOURCE_EXTENDED 1 /* We expect wide character functions */ #include "c-config.h" ++++++ cpanspec.yml ++++++ --- /var/tmp/diff_new_pack.QGedsC/_old 2021-08-03 22:49:22.852450542 +0200 +++ /var/tmp/diff_new_pack.QGedsC/_new 2021-08-03 22:49:22.852450542 +0200 @@ -12,17 +12,21 @@ # bar.patch: preamble: |- BuildRequires: ncurses5-devel -#post_prep: |- -# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` -# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL +post_prep: |- + sed -i '1s|../../perl|%{__perl}|' test.syms + sed -i '1s| /usr//bin/perl|%{__perl}|' demo.form + sed -i '1s| /usr/bin/perl|%{__perl}|' demo* gdc #post_build: |- # rm unused.files #post_install: |- # sed on %{name}.files license: Perl #skip_noarch: 1 -#custom_build: |- -#./Build build flags=%{?_smp_mflags} --myflag +custom_build: |- + export CURSES_CFLAGS="-I/usr/include/ncurses5/ncursesw" + export CURSES_LDFLAGS="-L%{_libdir}/ncurses5 -lncursesw" + perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" PANELS MENUS FORMS + %make_build #custom_test: |- #startserver && make test #ignore_requires: Bizarre::Module
