Hello community, here is the log from the commit of package cdk for openSUSE:Factory checked in at 2019-02-27 17:29:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cdk (Old) and /work/SRC/openSUSE:Factory/.cdk.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cdk" Wed Feb 27 17:29:31 2019 rev:22 rq:679736 version:5.0.20190224 Changes: -------- --- /work/SRC/openSUSE:Factory/cdk/cdk.changes 2015-11-04 15:33:40.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.cdk.new.28833/cdk.changes 2019-02-27 17:29:32.619312285 +0100 @@ -1,0 +2,174 @@ +Wed Feb 27 08:06:48 UTC 2019 - Dr. Werner Fink <[email protected]> + +- Remove debugging code from spec file + +------------------------------------------------------------------- +Tue Feb 26 07:35:33 UTC 2019 - Dr. Werner Fink <[email protected]> + +- Update to version 5.0.20190224 + + use HDR_ROOTNAME rather than PACKAGE in top-level makefile, to + simplify building cdk and cdkw packages with non-conflicting paths. + + add "check" rule to top-level makefile, for testing Arch Linux + package. + + modify test-package for RPMs to work with SUSE and Mageia. +- Enable wide version of libcdk(w) +- Enable ABI soname of the shared libraries + + Somehow strange ABI 6.2.4 but RELEASE version is still 5.0 + +------------------------------------------------------------------- +Fri Feb 22 07:09:40 UTC 2019 - Dr. Werner Fink <[email protected]> + +- Update to version 5.0.20190220 + * 2019/02/20 + + updated rpm spec-file, for test-builds. + + added pkgsrc files, for test-builds. + + updated FreeBSD port-files, for test-builds. + + add getCdkTitle, which uses new display encoding "<#10>" for newline + in the example which demonstrates it, mentry_ex2 (prompted by + discussion with Stéphane Goujet). + + fix similar memory leaks in setCDKRadioItems and setCDKSelectionItems + + fix memory leak in setCDKScrollItems (report by Stéphane Goujet). + + make functionKey parameter to getchCDKObject optional + (suggested by Stéphane Goujet). + + modify test-packages to adjust includes in cdk.h when using test + package for ncurses6 which would confuse test-package for cdk-perl. + + change shlib-version in test-package to "abi", for better + compatibility with the test-package for cdk-perl. + + add manpage for cdk5-config + + documentation improvements (report by Stéphane Goujet). + + add check in drawCDKScrollCurrent() in case the list is not + initialized (report by Stéphane Goujet). + + modify writeCharAttrib to replace the color in the target cell rather + than OR'ing it from the source-attribute (patch by Aarian P. Aleahmad) + + add a null-pointer check in viewer.c's PatternNotFound() function + (report by "c"). + + improve macros/markup in manpages. + + updated configure macros, from lynx and ncurses development: + CF_ADD_INCDIR, CF_CC_ENV_FLAGS, CF_CURSES_CPPFLAGS, CF_CURSES_LIBS, + CF_FIND_LINKAGE, CF_GCC_WARNINGS, CF_GNU_SOURCE, CF_LD_RPATH_OPT, + CF_NCURSES_CONFIG, CF_PDCURSES_X11, CF_POSIX_C_SOURCE, CF_PROG_EXT, + CF_SHARED_OPTS, CF_TRY_XOPEN_SOURCE, CF_WITH_VERSIONED_SYMS, + CF_XOPEN_CURSES, CF_XOPEN_SOURCE, CF_X_ATHENA_CPPFLAGS + + update config.guess, config.sub + * 2018/03/06 + + update versioned-symbol list for reRegisterCDKObject (prompted by + Debian #892114, which adopted a different set of symbol versions + such as "5.0.20161120", cf: 2014/11/06). + + updated configure macros, from lynx development: CF_CURSES_FUNCS, + CF_CURSES_LIBS, CF_MAKEFLAGS, CF_NCURSES_CONFIG, CF_SHARED_OPTS + + update config.guess, config.sub + * 2017/12/09 + + updated ftp url in test-packages, etc. + + updated configure macros CF_CC_ENV_FLAGS, CF_SHARED_OPTS + + update config.guess, config.sub + * 2017/09/18 + + updated configure macros: + + CF_ADD_CFLAGS improve formatting of generated lists using + CF_APPEND_TEXT + + CF_CC_ENV_FLAGS - two changes + a) revise the expression generating $cf_flags to actually work when + there is more than one option. + b) correct the parameter passed to CF_ADD_CFLAGS, which was the + whole list rather than the current parameter. + + CF_CURSES_LIBS reorganize to handle the case where initscr is a + macro. + + CF_NCURSES_CONFIG add check for term.h when using pkg-config + + CF_NCURSES_VERSION use prototype for main + + CF_SHARED_OPTS workaround for PGI compiler + + CF_WITH_LIBTOOL use SIGQUIT(3) rather than SIGTRAP(5) in trap + commands. Fix a few places in configure/build scripts where + DESTDIR and rpath were combined. + + update config.guess, config.sub + * 2016/12/10 + + improve formatting of manpages, using bullets + + add -C and -R options to matrix_ex.c to exercise the col/row spacing + features of matrix widget. + + modify matrix widget to highlight the current cell for the cases + when col/row spacing are greater than zero. + * 2016/12/04 + + cleanup change for color pairs in 2016/11/20 + + modify initCDKScreen() to simplify initialization of curses by + calling initscr() in this function after initializing the locale. + That fixes a problem using PuTTY with CDK when built using ncurses + (report by Marc Smith). + * 2016/11/20 + + fix warnings from cppcheck 1.76.1 + + updated configure macros: + + CF_CC_ENV_FLAGS don't limit the check to -I, -U and -D options, + since the added options can include various compiler options before + and after preprocessor options. + + CF_GNU_SOURCE recent glibc (Debian 2.23-4 for example) has + misordered ifdef/checks for new symbol _DEFAULT_SOURCE, producing + warning messages when only _GNU_SOURCE is defined. Add a followup + check to define _DEFAULT_SOURCE. + + CF_LD_RPATH_OPT change FreeBSD to use -Wl,-rpath rather than -rpath + option. According to FreeBSD #178732, either works since FreeBSD + 4.x; however scons does not accept anything except the -Wl,-rpath + form. + + CF_PROG_LINT add cpplint to programs to use; drop ad hoc tdlint and + alint. + + CF_WITH_NCURSES_ETC add check for ncurses pthreads + + CF_XOPEN_SOURCE add "uclinux" to list of Linux's and use + _GNU_SOURCE for cygwin headers, tested with cygwin 2.3, 2.5 + + CF__ADD_SHLIB_RULES improve scripting for ldconfig to avoid warning + messages if no permissions + + update config.guess, config.sub + > patches by Aarian P. Aleahmad: + + modify encodeAttribute() to allow up to 256 color pairs. + + corrected assignment in scroller_SetPosition(), to show highlighted + member. + + improve the way attributes are applied to Mentry widgets. + + improve Entry widget by using newwin rather than subwin, as well + as passing arguments to callback function. + * 2016/11/19 + + add reRegisterCDKObject() + * 2016/01/31 + + fix a few of the lintian errors in package/debian + + fix some too-wide tables in manpages, which caused Debian lintian + errors. + + take lower-limit's formatted length into account in slider, etc., + (patch by Guido Meusch). + + make similar repainting-fixes for radio.c and marquee.c + + fix repainting of Scroll widget when it has no box-outline + (patch by Manuel Schmitz). + + add highlight and callbackData members to CDKBUTTON, as well as + macros for setting/getting the highlight value. Use the highlight to + override the default A_REVERSE used in CDK button (patch by Aarian P. + Aleahmad). + + fix two bugs in template.c (patch by Aarian P. Aleahmad): + + in cleanCDKTemplate, fill all of the info string with nulls + + in setCDKTemplateValue, call cleanCDKTemplate whether or not + the pointer for newValue passed by the caller was a null. + + updated configure macros: + + CF_LIB_PREFIX, CF_WITH_LIBTOOL, and CF_XOPEN_SOURCE, build-fixes + for OS/2 + + CF_XOPEN_CURSES, improve check, making it define NCURSES_WIDECHAR + if we happen to be building on a platform (such as OSX) where we do + not define _XOPEN_SOURCE or _XOPEN_SOURCE_EXTENDED + + CF_WITH_VERSIONED_SYMS, avoid ncurses build error on ppc64 + architecture the nm tool is reporting _is_missing in Data section + for ppc64 (by comparison ppc64le is reporting it in Text section) + + update config.guess, config.sub + * 2015/09/28 + + build ".deb" test-package with ncurses6, using versioned symbols. + + updated configure macros: + + modifications from ncurses/xterm to allow alternate to /bin/sh for + configure-shell, while dropping support for non-POSIX shell such + as Solaris. + + updated/integrated changes for versioned symbols from ncurses6. + + CF_DISABLE_LIBTOOL_VERSION when using -version-info (the native + libtool mode), get the ABI_VERSION value from $VERSION (which comes + from CF_VERSION_INFO) + + CF_ADD_INCDIR fix an infinite loop when the include-directory to be + added does not exist (Debian #786436) + + CF_WITH_NCURSES_ETC add --with-screen option + + CF_SUBDIR_PATH change this to a loop, adding /usr/pkg (NetBSD) and + /opt/local (Mac OSX) + + update config.guess, config.sub + * 2015/01/03 + + modify cdk-config.in to work with systems where libdir is /usr/lib64 + (patch by Peter Hyman). + + corrected example for cdk_display.3 manpage (patch by Loïc + work in non-POSIX locales (report by Mart Stöör). + +------------------------------------------------------------------- Old: ---- cdk-5.0-20150928.tgz cdk-5.0-20150928.tgz.asc New: ---- cdk-5.0-20190224.tgz cdk-5.0-20190224.tgz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cdk.spec ++++++ --- /var/tmp/diff_new_pack.viJ1op/_old 2019-02-27 17:29:33.143312097 +0100 +++ /var/tmp/diff_new_pack.viJ1op/_new 2019-02-27 17:29:33.147312096 +0100 @@ -1,7 +1,7 @@ # # spec file for package cdk # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,27 +12,29 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define lname lib%{name}5 %define mainver 5.0 -%define datever 20150928 +%define datever 20190224 Name: cdk Url: http://invisible-island.net/cdk/ BuildRequires: libtool BuildRequires: ncurses-devel +BuildRequires: pkg-config Version: %{mainver}.%{datever} Release: 0 Summary: The Runtime for the Curses Development Kit License: BSD-3-Clause Group: System/Libraries -Source: ftp://invisible-island.net/cdk/cdk-%{mainver}-%{datever}.tgz -Source1: ftp://invisible-island.net/cdk/cdk-%{mainver}-%{datever}.tgz.asc +Source: ftp://ftp.invisible-island.net/cdk/cdk-%{mainver}-%{datever}.tgz +Source1: ftp://ftp.invisible-island.net/cdk/cdk-%{mainver}-%{datever}.tgz.asc Source2: %name.keyring BuildRoot: %{_tmppath}/%{name}-%{version}-build +%global root %{_tmppath}/%{name}-%{version}-store %description CDK is a widget set developed on top of the basic curses library. It @@ -64,11 +66,36 @@ %setup -q -n cdk-%{mainver}-%{datever} %build -%configure --with-ncurses --enable-const -make cdkshlib %{?_smp_mflags} + +%configure --with-ncurses \ + --enable-const \ + --with-pkg-config \ + --disable-rpath-hack \ + --with-versioned-syms=${PWD}/package/cdk.map \ + --with-shared +make all %{?_smp_mflags} +make install DESTDIR=%{root} INSTALL="install -pD" \ + DOCUMENT_DIR=%{root}%{_defaultdocdir}/%{name} +make clean + +%configure --with-ncursesw \ + --enable-const \ + --with-pkg-config \ + --disable-rpath-hack \ + --with-versioned-syms=${PWD}/package/cdk.map \ + --with-cfgname=cdkw \ + --with-libname=cdkw \ + --with-shared +make all %{?_smp_mflags} +make installCDKLibrary DESTDIR=%{root} INSTALL="install -pD" \ + DOCUMENT_DIR=%{root}%{_defaultdocdir}/%{name} +make %{root}%{_libdir}/libcdkw.so.%{mainver} DESTDIR=%{root} %install -make install installCDKSHLibrary DESTDIR=%{buildroot} INSTALL="install -pD" +tar -cpf - -C %{root} . | tar -xpf - -C %{buildroot} +%if %{defined license} +rm -vf %{buildroot}%{_defaultdocdir}/%{name}/COPYING +%endif # fixes rpmlint unstripped-binary-or-object chmod +x %{buildroot}%{_libdir}/*.so find %{buildroot} -name '*.a' -delete -print @@ -83,15 +110,21 @@ %files -n %lname %defattr(-,root,root) -%doc EXPANDING NOTES TODO COPYING README CHANGES VERSION -%{_libdir}/libcdk.so.5* +%if %{defined license} +%license COPYING +%doc EXPANDING NOTES TODO README CHANGES VERSION +%else +%doc EXPANDING NOTES TODO README CHANGES VERSION COPYING +%endif +%{_libdir}/libcdk*.so.* %files devel %defattr(-,root,root) -%{_bindir}/cdk5-config -%{_libdir}/libcdk.so +%{_bindir}/cdk*5-config +%{_libdir}/libcdk*.so %{_includedir}/%{name} %{_includedir}/%{name}.h -%{_mandir}/man3/*.3.gz +%{_mandir}/man1/*.1%{ext_man} +%{_mandir}/man3/*.3%{ext_man} %changelog ++++++ cdk-5.0-20150928.tgz -> cdk-5.0-20190224.tgz ++++++ ++++ 36459 lines of diff (skipped)
