From a4d01b2c741a3bcac47e2527462777138284b2e36f33ae4db5635a78dbafdce2 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Fri, 22 Feb 2019 07:19:37 +0000 Subject: [PATCH] Update to version 5.0.20190220 OBS-URL: https://build.opensuse.org/package/show/security/cdk?expand=0&rev=16 --- cdk-5.0-20150928.tgz | 3 - cdk-5.0-20150928.tgz.asc | 8 -- cdk-5.0-20190220.tgz | 3 + cdk-5.0-20190220.tgz.asc | 8 ++ cdk.changes | 156 +++++++++++++++++++++++++++++++++++++++ cdk.spec | 7 +- 6 files changed, 171 insertions(+), 14 deletions(-) delete mode 100644 cdk-5.0-20150928.tgz delete mode 100644 cdk-5.0-20150928.tgz.asc create mode 100644 cdk-5.0-20190220.tgz create mode 100644 cdk-5.0-20190220.tgz.asc diff --git a/cdk-5.0-20150928.tgz b/cdk-5.0-20150928.tgz deleted file mode 100644 index 108f5b3..0000000 --- a/cdk-5.0-20150928.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:028da75d5f777a1c4184f88e34918bd273bd83bbe3c959bc11710c4f0ea2e448 -size 515214 diff --git a/cdk-5.0-20150928.tgz.asc b/cdk-5.0-20150928.tgz.asc deleted file mode 100644 index bba5d44..0000000 --- a/cdk-5.0-20150928.tgz.asc +++ /dev/null @@ -1,8 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.12 (GNU/Linux) -Comment: See http://invisible-island.net/public/public.html for info - -iEYEABECAAYFAlYJ5NAACgkQcCNT4PfkjtuzqwCgiiUJQSJJdgYbjd0MDzAGFbke -/c4AnRL7NcqaQh22ZIu1+9BUkBZGjCLU -=pdk2 ------END PGP SIGNATURE----- diff --git a/cdk-5.0-20190220.tgz b/cdk-5.0-20190220.tgz new file mode 100644 index 0000000..bbd05f8 --- /dev/null +++ b/cdk-5.0-20190220.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:378f9111c10933fc36bb29f52f565184daed1daf412ac17c630d1e851a830b28 +size 534485 diff --git a/cdk-5.0-20190220.tgz.asc b/cdk-5.0-20190220.tgz.asc new file mode 100644 index 0000000..dd62896 --- /dev/null +++ b/cdk-5.0-20190220.tgz.asc @@ -0,0 +1,8 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 +Comment: See https://invisible-island.net/public/public.html for info + +iEYEABECAAYFAlxvV0sACgkQcCNT4Pfkjtu2/QCfYv/Ax/VoKdS9/AdKu6QEcQtd +xeEAoJy/kE8/bbb9fyI3psyFQOiSo5VJ +=lA8Y +-----END PGP SIGNATURE----- diff --git a/cdk.changes b/cdk.changes index f4f239d..f4f5ee7 100644 --- a/cdk.changes +++ b/cdk.changes @@ -1,3 +1,159 @@ +------------------------------------------------------------------- +Fri Feb 22 07:09:40 UTC 2019 - Dr. Werner Fink + +- 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). + ------------------------------------------------------------------- Sun Nov 1 16:25:10 UTC 2015 - p.drouand@gmail.com diff --git a/cdk.spec b/cdk.spec index 38a2b9a..b5040ef 100644 --- a/cdk.spec +++ b/cdk.spec @@ -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 @@ -18,7 +18,7 @@ %define lname lib%{name}5 %define mainver 5.0 -%define datever 20150928 +%define datever 20190220 Name: cdk Url: http://invisible-island.net/cdk/ @@ -92,6 +92,7 @@ rm -rf %{buildroot}%{_datadir}/doc %{_libdir}/libcdk.so %{_includedir}/%{name} %{_includedir}/%{name}.h -%{_mandir}/man3/*.3.gz +%{_mandir}/man1/*.1%{ext_man} +%{_mandir}/man3/*.3%{ext_man} %changelog