+ add RPM test-package "ncursest-examples".
+ modified RPM test-package to work with Mageia6.
-- sale, use or other dealings in this Software without prior written --
-- authorization. --
-------------------------------------------------------------------------------
--- $Id: NEWS,v 1.3134 2018/05/26 20:27:35 tom Exp $
+-- $Id: NEWS,v 1.3137 2018/06/02 22:52:28 tom Exp $
-------------------------------------------------------------------------------
This is a log of changes that ncurses has gone through since Zeyd started
Changes through 1.9.9e did not credit all contributions;
it is not possible to add this information.
+20180602
+ + add RPM test-package "ncursest-examples".
+ + modified RPM test-package to work with Mageia6.
+
20180526
+ add note in curs_util.3x about unctrl.h
+ review/improve header files to ensure that those include necessary
+ improved configure macros CF_GCC_ATTRIBUTES, CF_PROG_LINT.
20091114
-
+ updated man/curs_trace.3x
+ limit hashing for termcap-names to 2-characters (Ubuntu #481740).
+ change a variable name in lib_newwin.c to make it clearer which
-5:0:10 6.1 20180526
+5:0:10 6.1 20180602
# use or other dealings in this Software without prior written #
# authorization. #
##############################################################################
-# $Id: dist.mk,v 1.1225 2018/05/20 18:12:00 tom Exp $
+# $Id: dist.mk,v 1.1226 2018/05/28 19:47:08 tom Exp $
# Makefile for creating ncurses distributions.
#
# This only needs to be used directly as a makefile by developers, but
# These define the major/minor/patch versions of ncurses.
NCURSES_MAJOR = 6
NCURSES_MINOR = 1
-NCURSES_PATCH = 20180526
+NCURSES_PATCH = 20180602
# We don't append the patch to the version, since this only applies to releases
VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
-ncurses6 (6.1+20180526) unstable; urgency=low
+ncurses6 (6.1+20180602) unstable; urgency=low
* latest weekly patch
- -- Thomas E. Dickey <dickey@invisible-island.net> Sun, 20 May 2018 14:12:00 -0400
+ -- Thomas E. Dickey <dickey@invisible-island.net> Mon, 28 May 2018 15:47:08 -0400
ncurses6 (5.9-20131005) unstable; urgency=low
-ncurses6 (6.1+20180526) unstable; urgency=low
+ncurses6 (6.1+20180602) unstable; urgency=low
* latest weekly patch
- -- Thomas E. Dickey <dickey@invisible-island.net> Sun, 20 May 2018 14:12:00 -0400
+ -- Thomas E. Dickey <dickey@invisible-island.net> Mon, 28 May 2018 15:47:08 -0400
ncurses6 (5.9-20131005) unstable; urgency=low
-ncurses6 (6.1+20180526) unstable; urgency=low
+ncurses6 (6.1+20180602) unstable; urgency=low
* latest weekly patch
- -- Thomas E. Dickey <dickey@invisible-island.net> Sun, 20 May 2018 14:12:00 -0400
+ -- Thomas E. Dickey <dickey@invisible-island.net> Mon, 28 May 2018 15:47:08 -0400
ncurses6 (5.9-20120608) unstable; urgency=low
-; $Id: mingw-ncurses.nsi,v 1.272 2018/05/20 18:12:00 tom Exp $\r
+; $Id: mingw-ncurses.nsi,v 1.273 2018/05/28 19:47:08 tom Exp $\r
\r
; TODO add examples\r
; TODO bump ABI to 6\r
!define VERSION_MAJOR "6"\r
!define VERSION_MINOR "1"\r
!define VERSION_YYYY "2018"\r
-!define VERSION_MMDD "0526"\r
+!define VERSION_MMDD "0602"\r
!define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD}\r
\r
!define MY_ABI "5"\r
Summary: shared libraries for terminal handling
Name: mingw32-ncurses6
Version: 6.1
-Release: 20180526
+Release: 20180602
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz
Summary: shared libraries for terminal handling
Name: ncurses6
Version: 6.1
-Release: 20180526
+Release: 20180602
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz
%prep
+%global is_mandriva %(test -f /etc/mandriva-release && echo 1 || echo 0)
+%global is_redhat %(test -f /etc/redhat-release && echo 1 || echo 0)
+%global is_suse %(test -f /etc/SuSE-release && echo 1 || echo 0)
+
+# nor are debug-symbols
%define debug_package %{nil}
+
+%if %{is_mandriva}
+%define _disable_ld_as_needed 1
+%define _disable_ld_no_undefined 1
+# libtool is not used here...
+%define _disable_libtoolize 1
+%define _disable_ld_build_id 1
+%endif
+
%setup -q -n ncurses-%{version}-%{release}
%build
%changelog
+* Sat Jun 02 2018 Thomas E. Dickey
+- build-fix for Mageia
+
* Sat May 26 2018 Thomas E. Dickey
- use predefined configure-macro
- separate ncurses6/ncursest6 packages
-Summary: ncurses-examples - example/test programs from ncurses
+Summary: example/test programs from ncurses
%define AppProgram ncurses-examples
+%define AltProgram ncursest-examples
%define AppVersion MAJOR.MINOR
%define AppRelease YYYYMMDD
-# $Id: ncurses-examples.spec,v 1.11 2018/01/15 16:14:16 tom Exp $
+# $Id: ncurses-examples.spec,v 1.12 2018/06/02 22:46:44 tom Exp $
Name: %{AppProgram}
Version: %{AppVersion}
Release: %{AppRelease}
These are the example/test programs from the ncurses MAJOR.MINOR distribution,
for patch-date YYYYMMDD.
-This package installs in "bin/ncurses-examples" to avoid conflict with other
+This package installs in "bin/%{AppProgram}" to avoid conflict with other
packages.
+
+%package -n %{AltProgram}
+Summary: examples/test programs from ncurses with POSIX thread support
+
+%description -n %{AltProgram}
+These are the example/test programs from the ncurses MAJOR.MINOR distribution,
+for patch-date YYYYMMDD, using the "ncurseswt" library to demonstrate the
+use of POSIX threads, e.g., in ditto, rain, and worm.
+
+This package installs in "bin/%{AltProgram}" to avoid conflict with other
+packages.
+
%prep
%setup -q -n %{AppProgram}-%{AppRelease}
%build
+%global _configure ../configure
+%define my_srcdir ..
+
+mkdir BUILD-%{AppProgram}
+pushd BUILD-%{AppProgram}
INSTALL_PROGRAM='${INSTALL}' \
NCURSES_CONFIG_SUFFIX=dev \
+CONFIGURE_TOP=%{my_srcdir} \
%configure \
--target %{_target_platform} \
--prefix=%{_prefix} \
--disable-rpath-hack
make
+popd
+
+mkdir BUILD-%{AltProgram}
+pushd BUILD-%{AltProgram}
+INSTALL_PROGRAM='${INSTALL}' \
+NCURSES_CONFIG_SUFFIX=dev \
+CONFIGURE_TOP=%{my_srcdir} \
+%configure \
+ --target %{_target_platform} \
+ --prefix=%{_prefix} \
+ --bindir=%{_bindir}/%{AltProgram} \
+ --datadir=%{_datadir}/%{AltProgram} \
+ --with-screen=ncursestw6 \
+ --disable-rpath-hack
+
+make
+popd
%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
+pushd BUILD-%{AppProgram}
+make install DESTDIR=$RPM_BUILD_ROOT
+popd
+
+pushd BUILD-%{AltProgram}
+make install DESTDIR=$RPM_BUILD_ROOT
+popd
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
-%files
+%files -n %{AppProgram}
%defattr(-,root,root)
%{_bindir}/%{AppProgram}/*
%{_datadir}/%{AppProgram}/*
+%files -n %{AltProgram}
+%defattr(-,root,root)
+%{_bindir}/%{AltProgram}/*
+%{_datadir}/%{AltProgram}/*
+
%changelog
# each patch should add its ChangeLog entries here