snapshot of project "ncurses", label v6_3_20221217

This commit is contained in:
Thomas E. Dickey 2022-12-18 01:13:17 +00:00
parent 1b8f4fa887
commit 6068ad4da6
No known key found for this signature in database
GPG Key ID: CC2AF4472167BE03
17 changed files with 1586 additions and 1464 deletions

View File

@ -1,6 +1,6 @@
# $Id: Makefile.in,v 1.29 2021/10/23 16:00:22 tom Exp $
# $Id: Makefile.in,v 1.30 2022/12/17 23:33:33 tom Exp $
##############################################################################
# Copyright 2020,2021 Thomas E. Dickey #
# Copyright 2020-2021,2022 Thomas E. Dickey #
# Copyright 1998-2010,2015 Free Software Foundation, Inc. #
# #
# Permission is hereby granted, free of charge, to any person obtaining a #
@ -31,14 +31,32 @@
# Author: Juergen Pfeifer, 1996
#
# Version Control
# $Revision: 1.29 $
# $Revision: 1.30 $
#
SHELL = @SHELL@
VPATH = @srcdir@
THIS = Makefile
srcdir = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
datarootdir = @datarootdir@
datadir = @datadir@
libdir = @libdir@
libexecdir = @libexecdir@
includedir = @includedir@
BINDIR = $(DESTDIR)$(bindir)
DATADIR = $(DESTDIR)$(datadir)
LIBDIR = $(DESTDIR)$(libdir)
LIBEXECDIR = $(DESTDIR)$(libexecdir)
SUBDIRS = @ADA_SUBDIRS@
INSTALL = @INSTALL@ @INSTALL_OPT_O@
INSTALL_SCRIPT = @INSTALL@
TOP_MFLAGS = @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" RPATH_LIST="$(RPATH_LIST)"
@SET_MAKE@
@ -91,7 +109,7 @@ depend :
@
check :
@
@echo "The test-programs are interactive"
tags :
@

2873
Ada95/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -29,7 +29,7 @@ dnl***************************************************************************
dnl
dnl Author: Thomas E. Dickey
dnl
dnl $Id: configure.in,v 1.87 2022/11/05 22:13:52 tom Exp $
dnl $Id: configure.in,v 1.88 2022/12/17 22:05:22 tom Exp $
dnl Process this file with autoconf to produce a configure script.
dnl
dnl For additional information, see
@ -38,12 +38,14 @@ dnl https://invisible-island.net/autoconf/my-autoconf.html
dnl
dnl ---------------------------------------------------------------------------
AC_PREREQ(2.52.20210509)
AC_REVISION($Revision: 1.87 $)
AC_REVISION($Revision: 1.88 $)
AC_INIT(gen/gen.c)
AC_CONFIG_HEADER(include/ncurses_cfg.h:include/ncurses_cfg.hin)
AC_DEFUN([AC_PATH_XTRA],[])dnl ignore dependencies on this
PACKAGE="AdaCurses" AC_SUBST(PACKAGE)
CF_TOP_BUILDDIR
CF_HELP_MESSAGE(General Options:)
@ -588,6 +590,7 @@ AC_OUTPUT( \
src/library.gpr:src/library.gpr.in \
doc/adacurses${DFT_ARG_SUFFIX}-config.1:doc/MKada_config.in \
Makefile,[
$AWK -v PACKAGE=$PACKAGE -f $srcdir/mk-pkg.awk </dev/null >> Makefile
if test -z "$USE_OLD_MAKERULES" ; then
$AWK -f $srcdir/mk-1st.awk <$srcdir/src/modules >>src/Makefile
fi
@ -605,6 +608,7 @@ LN_S="$LN_S"
NCURSES_MAJOR="$NCURSES_MAJOR"
NCURSES_MINOR="$NCURSES_MINOR"
NCURSES_PATCH="$NCURSES_PATCH"
PACKAGE="$PACKAGE"
USE_OLD_MAKERULES="$USE_OLD_MAKERULES"
cf_cv_VERSION_GNATMAKE=$cf_cv_VERSION_GNATMAKE
cf_cv_VERSION_GPRBUILD=$cf_cv_VERSION_GPRBUILD

90
Ada95/mk-pkg.awk Normal file
View File

@ -0,0 +1,90 @@
# $Id: mk-pkg.awk,v 1.1 2022/12/17 23:41:18 tom Exp $
##############################################################################
# Copyright 2022 Thomas E. Dickey #
# #
# Permission is hereby granted, free of charge, to any person obtaining a #
# copy of this software and associated documentation files (the "Software"), #
# to deal in the Software without restriction, including without limitation #
# the rights to use, copy, modify, merge, publish, distribute, distribute #
# with modifications, sublicense, and/or sell copies of the Software, and to #
# permit persons to whom the Software is furnished to do so, subject to the #
# following conditions: #
# #
# The above copyright notice and this permission notice shall be included in #
# all copies or substantial portions of the Software. #
# #
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR #
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, #
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL #
# THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER #
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING #
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER #
# DEALINGS IN THE SOFTWARE. #
# #
# Except as contained in this notice, the name(s) of the above copyright #
# holders shall not be used in advertising or otherwise to promote the sale, #
# use or other dealings in this Software without prior written #
# authorization. #
##############################################################################
#
# Author: Thomas E. Dickey
#
# add rules to Makefile for AdaCurses binding package.
BEGIN {
print "# generated by mk-pkg.awk\n";
}
END {
printf "PACKAGE = %s\n", PACKAGE
print "real_bindir = $(libexecdir)/$(PACKAGE)"
print "REAL_BINDIR = $(LIBEXECDIR)/$(PACKAGE)"
print "SUB_MFLAGS = $(TOP_MFLAGS) BINDIR=$(REAL_BINDIR)"
print "samples = samples"
print ""
print "TESTS = \\"
print " $(samples)/ncurses \\"
print " $(samples)/rain \\"
print " $(samples)/tour"
print ""
print "DATAFILES = \\"
print " $(samples)/explain.txt"
print ""
print "all:: $(TESTS)"
print ""
print "# we might install the example-programs"
print "$(PACKAGE) :"
print " @echo \"creating $(PACKAGE) script\""
print " @$(SHELL) -c '\\"
print " L=$(real_bindir); \\"
print " rm -f $@; \\"
print " echo \"#!$(SHELL)\" > $@;\\"
print " echo \"PATH=\\\"$$L\\\":\\$$PATH\" >>$@;\\"
print " echo \"export PATH\" >>$@;\\"
print " echo \"if test \\$$# != 0; then\" >>$@;\\"
print " echo \" exec \\\"\\$$@\\\"\" >>$@;\\"
print " echo \"elif test -t 1; then\" >>$@;\\"
print " echo \" cd \\\"$$L\\\" || exit\" >>$@;\\"
print " echo \" ls -l | \\$${PAGER:-less}\" >>$@;\\"
print " echo \"fi\" >>$@;\\"
print " echo \"echo \\\"usage: $@ [program]\\\"\" >>$@'"
print ""
print "install \\"
print "install.examples:: $(PACKAGE) $(BINDIR) $(REAL_BINDIR) $(DATADIR) $(TESTS)"
print " @echo \"installing $(PACKAGE) -> $(BINDIR)/\""
print " $(INSTALL_SCRIPT) $(PACKAGE) $(BINDIR)"
print " ( cd samples && $(MAKE) $(SUB_MFLAGS) install.examples )"
print ""
print "uninstall \\"
print "uninstall.examples ::"
print " -rm -f $(BINDIR)/$(PACKAGE)"
print " ( cd samples && $(MAKE) $(SUB_MFLAGS) uninstall.examples )"
print ""
print "clean \\"
print "mostlyclean \\"
print "realclean \\"
print "distclean ::"
print " -rm -f $(PACKAGE)"
print ""
print "$(BINDIR) $(REAL_BINDIR) $(DATADIR) :"
print " mkdir -p $@"
}

View File

@ -2,7 +2,7 @@ Summary: Ada95 binding for ncurses
%define AppProgram AdaCurses
%define AppVersion MAJOR.MINOR
%define AppRelease YYYYMMDD
# $Id: AdaCurses.spec,v 1.30 2022/11/19 21:21:16 tom Exp $
# $Id: AdaCurses.spec,v 1.31 2022/12/18 00:08:17 tom Exp $
Name: %{AppProgram}
Version: %{AppVersion}
Release: %{AppRelease}
@ -61,6 +61,7 @@ INSTALL_PROGRAM='${INSTALL}' \
--prefix=%{_prefix} \
--bindir=%{_bindir} \
--libdir=%{_libdir} \
--libexecdir=%{_libexecdir} \
--with-ada-include=%{ada_include} \
--with-ada-objects=%{ada_libdir} \
--mandir=%{_mandir} \
@ -76,12 +77,7 @@ make
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
( cd samples &&
make install.examples \
DESTDIR=$RPM_BUILD_ROOT \
BINDIR=$RPM_BUILD_ROOT%{_bindir}/%{AppProgram}
)
make install.examples DESTDIR=$RPM_BUILD_ROOT
%clean
if rm -rf $RPM_BUILD_ROOT; then
@ -93,8 +89,9 @@ exit 0
%files
%defattr(-,root,root)
%{_bindir}/%{AppProgram}
%{_bindir}/adacurses*-config
%{_bindir}/%{AppProgram}/*
%{_libexecdir}/%{AppProgram}/*
%{ada_libdir}/
%if %{need_filter} == 1
%{_libdir}/lib%{AppProgram}.*
@ -109,6 +106,9 @@ exit 0
%changelog
# each patch should add its ChangeLog entries here
* Sat Dec 17 2022 Thomas Dickey
- install sample programs in libexec
* Sat Nov 19 2022 Thomas Dickey
- use static libraries for Mageia.

View File

@ -12,7 +12,7 @@ DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
TARGET_DIR = $(CURDIR)/debian/adacurses
SAMPLE_DIR = $(TARGET_DIR)/usr/bin/AdaCurses
SAMPLE_DIR = $(TARGET_DIR)/usr/libexec/AdaCurses
CFLAGS = $(shell dpkg-buildflags --get CFLAGS) $(CC_NORMAL)
CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS)

View File

@ -33,6 +33,7 @@
./Ada95/include/ncurses_defs
./Ada95/make-tar.sh
./Ada95/mk-1st.awk
./Ada95/mk-pkg.awk
./Ada95/package/AdaCurses-doc.spec
./Ada95/package/AdaCurses.spec
./Ada95/package/debian/compat

6
NEWS
View File

@ -26,7 +26,7 @@
-- sale, use or other dealings in this Software without prior written --
-- authorization. --
-------------------------------------------------------------------------------
-- $Id: NEWS,v 1.3887 2022/12/11 00:21:55 tom Exp $
-- $Id: NEWS,v 1.3889 2022/12/18 00:16:10 tom Exp $
-------------------------------------------------------------------------------
This is a log of changes that ncurses has gone through since Zeyd started
@ -46,6 +46,10 @@ See the AUTHORS file for the corresponding full names.
Changes through 1.9.9e did not credit all contributions;
it is not possible to add this information.
20221217
+ install Ada95 sample programs in libexecdir, adding a wrapper
script to invoke those.
20221210
+ add minimal -h/-V getopt logic to the remaining test-programs.
+ free new_pair() data in delscreen (report by "magiblot").

View File

@ -1 +1 @@
5:0:10 6.3 20221210
5:0:10 6.3 20221217

View File

@ -26,7 +26,7 @@
# use or other dealings in this Software without prior written #
# authorization. #
##############################################################################
# $Id: dist.mk,v 1.1516 2022/12/10 11:24:32 tom Exp $
# $Id: dist.mk,v 1.1517 2022/12/17 12:29:16 tom Exp $
# Makefile for creating ncurses distributions.
#
# This only needs to be used directly as a makefile by developers, but
@ -38,7 +38,7 @@ SHELL = /bin/sh
# These define the major/minor/patch versions of ncurses.
NCURSES_MAJOR = 6
NCURSES_MINOR = 3
NCURSES_PATCH = 20221210
NCURSES_PATCH = 20221217
# We don't append the patch to the version, since this only applies to releases
VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)

View File

@ -1,8 +1,8 @@
ncurses6 (6.3+20221210) unstable; urgency=low
ncurses6 (6.3+20221217) unstable; urgency=low
* latest weekly patch
-- Thomas E. Dickey <dickey@invisible-island.net> Sat, 10 Dec 2022 06:24:32 -0500
-- Thomas E. Dickey <dickey@invisible-island.net> Sat, 17 Dec 2022 07:29:16 -0500
ncurses6 (5.9+20131005) unstable; urgency=low

View File

@ -1,8 +1,8 @@
ncurses6 (6.3+20221210) unstable; urgency=low
ncurses6 (6.3+20221217) unstable; urgency=low
* latest weekly patch
-- Thomas E. Dickey <dickey@invisible-island.net> Sat, 10 Dec 2022 06:24:32 -0500
-- Thomas E. Dickey <dickey@invisible-island.net> Sat, 17 Dec 2022 07:29:16 -0500
ncurses6 (5.9+20131005) unstable; urgency=low

View File

@ -1,8 +1,8 @@
ncurses6 (6.3+20221210) unstable; urgency=low
ncurses6 (6.3+20221217) unstable; urgency=low
* latest weekly patch
-- Thomas E. Dickey <dickey@invisible-island.net> Sat, 10 Dec 2022 06:24:32 -0500
-- Thomas E. Dickey <dickey@invisible-island.net> Sat, 17 Dec 2022 07:29:16 -0500
ncurses6 (5.9+20120608) unstable; urgency=low

View File

@ -1,4 +1,4 @@
; $Id: mingw-ncurses.nsi,v 1.555 2022/12/10 11:24:32 tom Exp $
; $Id: mingw-ncurses.nsi,v 1.556 2022/12/17 12:29:16 tom Exp $
; TODO add examples
; TODO bump ABI to 6
@ -10,7 +10,7 @@
!define VERSION_MAJOR "6"
!define VERSION_MINOR "3"
!define VERSION_YYYY "2022"
!define VERSION_MMDD "1210"
!define VERSION_MMDD "1217"
!define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD}
!define MY_ABI "5"

View File

@ -3,7 +3,7 @@
Summary: shared libraries for terminal handling
Name: mingw32-ncurses6
Version: 6.3
Release: 20221210
Release: 20221217
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz

View File

@ -1,7 +1,7 @@
Summary: shared libraries for terminal handling
Name: ncurses6
Version: 6.3
Release: 20221210
Release: 20221217
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz

View File

@ -1,7 +1,7 @@
Summary: Curses library with POSIX thread support.
Name: ncursest6
Version: 6.3
Release: 20221210
Release: 20221217
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz