SHA256
1
0
forked from pool/ncurses
ncurses/ncurses.spec

1061 lines
36 KiB
RPMSpec

#
# spec file for package ncurses (Version 5.6)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#
# norootforbuild
Name: ncurses
#!BuildIgnore: terminfo
BuildRequires: gcc-c++ gpm
%define terminfo() %{_datadir}/%{0}/%{1}
%define tabset() %{_datadir}/%{0}/%{1}
License: X11/MIT
Group: System/Base
AutoReqProv: on
Version: 5.6
Release: 85
Summary: New curses Libraries
Url: http://invisible-island.net/ncurses/ncurses.html
Source0: ncurses-5.6.tar.bz2
Source1: ncurses-%{version}-20080804-patch.tar.bz2
Source2: handle.linux
Source3: README.devel
Source4: ncurses-rpmlintrc
Source5: tack-1.06.tar.bz2
Patch0: ncurses-%{version}.dif
Patch1: ncurses-5.3-printw.dif
Patch2: ncurses-5.6-pthread.dif
Patch3: ncurses-5.6-overwrite.dif
Patch4: ncurses-5.6-tack.dif
Patch5: ncurses-5.6-gpm.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%global _sysconfdir /etc
%global _miscdir %{_datadir}/misc
%global _incdir %{_includedir}
%global root %{_tmppath}/%{name}-%{version}-store
%global abi %(ver=%{version}; echo ${ver%.*})
%description
As soon as a text application needs to directly control its output to
the screen (if it wants to place the cursor at location (x,y) then
write text), ncurses is used. The panel and the forms libraries are
included in this package. These new libraries support color, special
characters, and panels.
Authors:
--------
Zeyd M. Ben-Halim <zmbenhal@netcom.com>
Eric S. Raymond <esr@thyrsus.com>
Thomas E. Dickey <dickey@invisible-island.net>
Juergen Pfeifer <Juergen.Pfeifer@t-online.de>
Pavel Curtis
%package -n ncurses-utils
License: X11/MIT
Summary: Tools using the new curses libraries
Group: System/Base
Provides: ncurses:%{_bindir}/tput
AutoReqProv: on
%description -n ncurses-utils
The ncurses based utilities are as follows:
clear -- emits clear-screen for current terminal
toe -- table of entries utility
tput -- shell-script access to terminal capabilities.
tset -- terminal-initialization utility
reset -- terminal initialization utility
Authors:
--------
Zeyd M. Ben-Halim <zmbenhal@netcom.com>
Eric S. Raymond <esr@thyrsus.com>
Thomas E. Dickey <dickey@invisible-island.net>
Juergen Pfeifer <Juergen.Pfeifer@t-online.de>
Pavel Curtis
%package -n terminfo-base
License: X11/MIT
Summary: A terminal descriptions database
Group: System/Base
Provides: ncurses:%{_datadir}/tabset
AutoReqProv: on
%description -n terminfo-base
This is the terminfo basic database, maintained in the ncurses package.
This database is the official successor to the 4.4BSD termcap file and
contains information about any known terminal. The ncurses library
makes use of this database to use terminals correctly.
Authors:
--------
Eric S. Raymond <esr@thyrsus.com>
Thomas E. Dickey <dickey@invisible-island.net>
%if %abi == 5
%package -n libncurses5
License: X11/MIT
Summary: The New curses Libraries
Group: System/Libraries
Requires: terminfo-base
Provides: ncurses = %{version}
Obsoletes: ncurses <= %{version}
Recommends: ncurses-utils = %{version}
AutoReqProv: on
%description -n libncurses5
The ncurses library is used by the most curses based terminal
applications for controling its output and input to the screen.
Authors:
--------
Zeyd M. Ben-Halim <zmbenhal@netcom.com>
Eric S. Raymond <esr@thyrsus.com>
Thomas E. Dickey <dickey@invisible-island.net>
Juergen Pfeifer <Juergen.Pfeifer@t-online.de>
Pavel Curtis
%endif
%package -n libncurses6
License: X11/MIT
Summary: The New curses Libraries
Group: System/Libraries
Requires: terminfo-base
%if %abi == 5
Provides: ncurses = 6.0
%else
Provides: ncurses = %{version}
%endif
AutoReqProv: on
%description -n libncurses6
The ncurses library is used by the most curses based terminal
applications for controling its output and input to the screen.
Authors:
--------
Zeyd M. Ben-Halim <zmbenhal@netcom.com>
Eric S. Raymond <esr@thyrsus.com>
Thomas E. Dickey <dickey@invisible-island.net>
Juergen Pfeifer <Juergen.Pfeifer@t-online.de>
Pavel Curtis
%package -n terminfo
Summary: A terminal descriptions database
License: Public Domain, Freeware
Group: System/Base
AutoReqProv: on
%description -n terminfo
This is the terminfo reference database, maintained in the ncurses
package. This database is the official successor to the 4.4BSD termcap
file and contains information about any known terminal. The ncurses
library makes use of this database to use terminals correctly. If you
just use the Linux console, xterm, and VT100, you probably will not
need this database -- a minimal /usr/share/terminfo tree for these
terminals is already included in the terminfo-base package.
Authors:
--------
Eric S. Raymond <esr@thyrsus.com>
Thomas E. Dickey <dickey@invisible-island.net>
%package -n ncurses-devel
Summary: Include Files and Libraries mandatory for Development
License: X11/MIT
Group: Development/Libraries/C and C++
Provides: ncurses:%{_incdir}/ncurses.h
Requires: ncurses = %{version}-%{release}, %{_bindir}/tack
AutoReqProv: on
%description -n ncurses-devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
Authors:
--------
Zeyd M. Ben-Halim <zmbenhal@netcom.com>
Eric S. Raymond <esr@thyrsus.com>
Thomas E. Dickey <dickey@invisible-island.net>
Juergen Pfeifer <Juergen.Pfeifer@t-online.de>
Pavel Curtis
%package -n tack
Summary: Terminfo action checker
License: GPL v2 or later
Group: Development/Tools/Building
Provides: ncurses-devel:%{_bindir}/tack
Requires: ncurses = %{version}-%{release}
AutoReqProv: on
%description -n tack
This package contains the tack utility to help to build a new terminfo
entry describing an unknown terminal. It can also be used to test the
correctness of an existing entry, and to develop the correct pad
timings needed to ensure that screen updates do not fall behind the
incoming data stream.
Authors:
--------
Daniel Weaver <danw@znyx.com>
Eric S. Raymond <esr@thyrsus.com>
%prep
%setup -q -n ncurses-%{version} -b0
rm -fr tack
rm -f Ada95/src/terminal_interface-curses.adb
rm -f mkinstalldirs
tar Oxfj %{S:1} | patch -p1 -s
tar xfj %{S:5}
ln -sf tack-* tack
%patch -P 1 -p0 -b .va
%patch -P 2 -p0 -b .pt
%patch -P 3 -p0 -b .ow
%patch -P 4 -p0 -b .hs
%patch -P 5 -p0 -b .gpm
%patch -P 0 -p0
%build
test ! -f /.buildenv || . /.buildenv
OPATH=$PATH
FALLBK="xterm,linux,vt100,vt102"
CC=gcc
CXX=g++
CFLAGS="${RPM_OPT_FLAGS} -pipe -D_REENTRANT"
if [[ "$BUILD_BASENAME" = debug-* ]] ; then
CFLAGS="${CFLAGS} -g -DTRACE"
fi
CXXFLAGS=$CFLAGS
# LDFLAGS="-Wl,-Bsymbolic-functions"
test -n "$TERM" || TERM=linux
GZIP="-9"
export CC CFLAGS CXX CXXFLAGS GZIP TERM LDFLAGS
#
# Detect 64bit architecures and be sure that
# we use an unsigned long for chtype to be
# backward compatible with ncurses 5.4
#
echo 'int main () { return !(sizeof(void*) >= 8); }' | gcc -x c -o test64 -
if ./test64 ; then
WITHCHTYPE="--with-chtype=long"
else
WITHCHTYPE=""
CFLAGS="${CFLAGS} -D_LARGEFILE64_SOURCES -D_FILE_OFFSET_BITS=64"
fi
rm -f ./test64
#
# No --enable-tcap-names because we may have to recompile
# programs or foreign programs won't work
#
# No --enable-safe-sprintf because this seems to
# crash on some architectures
#
# No --enable-xmc-glitch because this seems to break yast2
# on console/konsole (no magic cookie support on those?)
#
# No --with-termlib=tinfo because libncurses depend on
# libtinfo (is linked with) and therefore there is no
# advantage about splitting of a libtinfo (IMHO).
#
touch --reference=README config.sub config.guess
%{?suse_update_config:%{suse_update_config}}
./configure --build ${RPM_ARCH}-suse-linux \
--without-debug \
--without-profile \
--with-shared \
--with-normal \
--with-manpage-format=gzip \
--with-manpage-renames=${PWD}/man/man_db.renames \
--with-fallbacks=${FALLBK} \
--with-ospeed=speed_t \
--with-gpm \
--with-dlsym \
--disable-root-environ \
--disable-termcap \
--disable-overwrite \
--disable-rpath \
--disable-leaks \
--disable-xmc-glitch \
--enable-symlinks \
--enable-big-core \
--enable-const \
--enable-hashmap \
--enable-no-padding \
--enable-symlinks \
--enable-sigwinch \
--enable-colorfgbg \
%if %abi >= 6
--with-pthread \
--enable-ext-mouse \
--disable-widec \
--enable-ext-colors \
%else
--without-pthread \
--disable-ext-mouse \
--disable-widec \
--disable-ext-colors \
%endif
--enable-wgetch-events \
--prefix=%{_prefix} \
--exec-prefix=%{_prefix}\
--libdir=%{_libdir} \
--datadir=%{_datadir} \
--mandir=%{_mandir} \
--includedir=%{_incdir} \
"${WITHCHTYPE}" \
--disable-widec \
--with-ticlib=tic
#
# This is a hack to be able to boot strap
# a libncurses with correct fallback.c.
#
make -C include
make -C ncurses fallback.c FALLBACK_LIST=""
make -C progs termsort.c transform.h infocmp tic
rm -f ncurses/fallback.c
PATH=$PWD/progs:$OPATH
pushd ncurses/
TERMINFO=$PWD/tmp
export TERMINFO
mkdir -p $TERMINFO
sh run_cmd.sh tic -I -r -e $FALLBK ../misc/terminfo.src > terminfo.src
sh run_cmd.sh tic -o $TERMINFO -s terminfo.src
make fallback.c
rm -rf $TERMINFO
unset TERMINFO
popd
PATH=$OPATH
#
# Refresh second install path
#
rm -rf %{root}
mkdir %{root}
#
# Now rebuild libncurses and do the rest of this job
#
make
make install DESTDIR=%{root} includedir=%{_incdir}
#
# Check for tack program on base of above ncurses
#
pushd tack-*/
ldd ./tack
popd
test ! -L tack || rm -f tack
#
# The configure line
#
c=$(grep '^ *$ *\./configure' config.log)
%if %abi < 6
#
# Now use --with-pthread for reentrant pthread support (abi > 5).
#
eval ./${c#*./} --with-pthread --enable-ext-mouse --disable-widec --disable-ext-colors --without-progs
inc=%{_incdir}/ncurses6
lib=%{_libdir}/ncurses6
make && make install.libs install.includes DESTDIR=%{root} includedir=${inc} libdir=${lib}
for h in %{root}${inc}/*.h ; do
test -e "$h" || continue
h=${h##*/}
for t in %{root}${inc}/*.h ; do
test -e "$t" || continue
test ! -L $t || continue
sed -ri "s;(#include[[:blank:]]+<)(${h}>);\1${inc##*/}/\2;" $t
done
done
%endif
#
# Now use --enable-widec for UTF8/wide character support.
# The libs with 16 bit wide characters are binary incompatible
# to the normal 8bit wide character libs.
#
%if %abi >= 6
eval ./${c#*./} --with-pthread --enable-ext-mouse --enable-widec --enable-ext-colors --without-progs
%else
eval ./${c#*./} --disable-ext-mouse --enable-widec --disable-ext-colors --without-progs
%endif
make && make install.libs install.includes DESTDIR=%{root} includedir=%{_incdir}/ncursesw
for h in %{root}%{_incdir}/ncursesw/*.h ; do
test -e "$h" || continue
h=${h##*/}
for t in %{root}%{_incdir}/ncursesw/*.h ; do
test -e "$t" || continue
test ! -L $t || continue
sed -ri "s;(#include[[:blank:]]+<)(${h}>);\1ncursesw/\2;" $t
done
done
%if %abi < 6
#
# Do both --enable-widec and --with-pthread (abi > 5).
#
eval ./${c#*./} --with-pthread --enable-ext-mouse --enable-widec --enable-ext-colors --without-progs
inc=%{_incdir}/ncursesw6
lib=%{_libdir}/ncurses6
make && make install.libs install.includes DESTDIR=%{root} includedir=${inc} libdir=${lib}
for h in %{root}${inc}/*.h ; do
test -e "$h" || continue
h=${h##*/}
for t in %{root}${inc}/*.h ; do
test -e "$t" || continue
test ! -L $t || continue
sed -ri "s;(#include[[:blank:]]+<)(${h}>);\1${inc##*/}/\2;" $t
done
done
%endif
%install
GZIP="-9"
export GZIP
(cd %{root}/; tar -cpsSf - *)|tar -xpsSf - -C %{buildroot}/
rm -rf %{root}
mkdir %{buildroot}/%{_lib}
for model in libncurses libncursest libncursesw libncursestw
do
mv %{buildroot}%{_libdir}/${model}.so.* %{buildroot}/%{_lib}/ || continue
for lib in %{buildroot}/%{_lib}/${model}.so.* ; do
test -e "${lib}" || continue
test ! -L "${lib}" || continue
lib=${lib#%{buildroot}}
ln -sf ${lib} %{buildroot}%{_libdir}/${model}.so
done
done
chmod 0755 %{buildroot}/%{_lib}/lib*.so.*
chmod 0755 %{buildroot}/%{_libdir}/lib*.so.*
chmod a-x %{buildroot}/%{_libdir}/lib*.a
if test -d %{buildroot}%{_libdir}/ncurses6 ; then
mv %{buildroot}%{_libdir}/ncurses6/*.so.6* %{buildroot}/%{_libdir}/
for lib in %{buildroot}%{_libdir}/ncurses6/*.so
do
test -L "${lib}" || continue
case "${lib##*/}" in
libncurses*) ln -sf /%{_lib}/${lib##*/}.6 ${lib} ;;
*) ln -sf ../${lib##*/}.6 ${lib} ;;
esac
done
for model in libncurses libncursest libncursesw libncursestw
do
mv %{buildroot}%{_libdir}/${model}.so.6* %{buildroot}/%{_lib}/ || continue
done
for lib in %{buildroot}/%{_lib}/${model}.so.6* ; do
test -e "${lib}" || continue
test ! -L "${lib}" || continue
lib=${lib#%{buildroot}}
ln -sf ${lib} %{buildroot}%{_libdir}/${model}.so
done
chmod 0755 %{buildroot}/%{_lib}/lib*.so.6*
chmod 0755 %{buildroot}/%{_libdir}/lib*.so.6*
chmod a-x %{buildroot}/%{_libdir}/ncurses6/lib*.a
sed -ri -e 's|(THIS=).*|\1"ncurses6"|' \
-e 's|(-L.*/lib)|\1/ncurses6|' \
-e 's|-l\$\{THIS\}|-l\$\{THIS%%6\}|' %{buildroot}%{_bindir}/ncurses6-config
sed -ri -e 's|(THIS=).*|\1"ncursesw6"|' \
-e 's|(-L.*/lib)|\1/ncurses6|' \
-e 's|-l\$\{THIS\}|-l\$\{THIS%%6\}|' %{buildroot}%{_bindir}/ncursesw6-config
fi
test -n "%{buildroot}" || ldconfig -N
mkdir -p %{buildroot}%{_defaultdocdir}/ncurses
bzip2 -c misc/terminfo.src > misc/terminfo.src.bz2
install -m 644 misc/terminfo.src.bz2 %{buildroot}%{_defaultdocdir}/ncurses/
install -m 644 doc/html/*.html %{buildroot}%{_defaultdocdir}/ncurses/
bzip2 doc/ncurses-intro.doc -c > doc/ncurses-intro.txt.bz2
install -m 644 doc/ncurses-intro.txt.bz2 %{buildroot}%{_defaultdocdir}/ncurses/
bzip2 doc/hackguide.doc -c > doc/hackguide.txt.bz2
install -m 644 doc/hackguide.txt.bz2 %{buildroot}%{_defaultdocdir}/ncurses/
install -m 644 %{S:3} %{buildroot}%{_defaultdocdir}/ncurses/
mkdir -p %{buildroot}%{_sysconfdir}
mkdir -p %{buildroot}%{_miscdir}
cd ncurses/
sh ./run_cmd.sh tic -C -r ../misc/terminfo.src | grep -E -v '^#' > termcap
# Gererate new termcap entries for various linux consoles
TERMCAP=termcap \
TERMINFO=%{buildroot}%{_datadir}/terminfo \
bash %{SOURCE2}
install -m 0644 termcap.new %{buildroot}%{_miscdir}/termcap
cd ../
if test `%{_bindir}/id -u` = '0' ; then
chown root:root %{buildroot}%{_miscdir}/termcap
chmod 0644 %{buildroot}%{_miscdir}/termcap
fi
ln -sf %{_miscdir}/termcap %{buildroot}%{_sysconfdir}/termcap
(cat > default.list) <<-EOF
%{tabset std}
%{tabset stdcrt}
%{tabset vt100}
%{tabset vt300}
%{terminfo a/ansi}
%{terminfo a/arpanet}
%{terminfo d/dumb}
%{terminfo d/dialup}
%{terminfo g/gnome}
%{terminfo g/gnome-rh72}
%{terminfo k/klone+color}
%{terminfo k/kvt}
%{terminfo k/kvt-rh}
%{terminfo l/linux}
%{terminfo l/linux-m}
%{terminfo l/linux-nic}
%{terminfo m/mlterm}
%{terminfo n/net}
%{terminfo n/network}
%{terminfo n/nxterm}
%{terminfo p/patch}
%{terminfo r/rxvt}
%{terminfo s/screen}
%{terminfo s/screen-w}
%{terminfo s/screen-256color}
%{terminfo s/sun}
%{terminfo s/switch}
%{terminfo u/unknown}
%{terminfo v/vt100}
%{terminfo v/vt102}
%{terminfo v/vt220}
%{terminfo v/vt220-8}
%{terminfo v/vt220-8bit}
%{terminfo v/vt320}
%{terminfo v/vt52}
%{terminfo x/xterm}
%{terminfo x/xterm-color}
%{terminfo x/xterm-256color}
%{terminfo x/xterm-basic}
%{terminfo x/xterm-nic}
%{terminfo x/xterm-r6}
EOF
find %{buildroot}%{tabset ""} %{buildroot}%{terminfo ""} \
\( -type f -or -type l \) | \
sed "s@^%{buildroot}@@g" | \
grep -v -F -x -f default.list \
> extension.list
rm -f %{buildroot}%{_prefix}/lib/terminfo
mkdir -p %{buildroot}%{_incdir}/ncurses
ln -sf ../ncurses.h %{buildroot}%{_incdir}/ncurses/
%if %abi == 5
%post -n libncurses5 -p /sbin/ldconfig
%postun -n libncurses5 -p /sbin/ldconfig
%endif
%post -n libncurses6 -p /sbin/ldconfig
%postun -n libncurses6 -p /sbin/ldconfig
%files -n terminfo-base -f default.list
%defattr(-,root,root)
%{_sysconfdir}/termcap
%config %{_miscdir}/termcap
%dir %{_datadir}/tabset/
%dir %{_datadir}/terminfo/
%dir %{_datadir}/terminfo/*/
%files -n ncurses-utils
%defattr(-,root,root)
%{_bindir}/clear
%{_bindir}/reset
%{_bindir}/toe
%{_bindir}/tput
%{_bindir}/tset
%doc %{_mandir}/man1/clear.1.gz
%doc %{_mandir}/man1/reset.1.gz
%doc %{_mandir}/man1/toe.1.gz
%doc %{_mandir}/man1/tput.1.gz
%doc %{_mandir}/man1/tset.1.gz
%doc %{_mandir}/man5/*.gz
%if %abi == 5
%files -n libncurses5
%defattr(-,root,root)
/%{_lib}/lib*.so.5*
%{_libdir}/lib*.so.5*
%endif
%files -n libncurses6
%defattr(-,root,root)
/%{_lib}/lib*.so.6*
%{_libdir}/lib*.so.6*
%files -n ncurses-devel
%defattr(-,root,root)
%dir %{_defaultdocdir}/ncurses/
%doc %{_defaultdocdir}/ncurses/*
%{_bindir}/ncurses*-config
%{_bindir}/captoinfo
%{_bindir}/infocmp
%{_bindir}/infotocap
%{_bindir}/tic
%dir %{_incdir}/ncurses/
%dir %{_incdir}/ncursesw/
%dir %{_incdir}/ncurses6/
%dir %{_incdir}/ncursesw6/
%dir %{_libdir}/ncurses6/
%{_incdir}/*.h
%{_incdir}/ncurses*/*.h
%{_libdir}/lib*.a
%{_libdir}/lib*.so
%{_libdir}/ncurses6/lib*.a
%{_libdir}/ncurses6/lib*.so
%doc %{_mandir}/man1/captoinfo.1.gz
%doc %{_mandir}/man1/infocmp.1.gz
%doc %{_mandir}/man1/infotocap.1.gz
%doc %{_mandir}/man1/tic.1.gz
%doc %{_mandir}/man3/*.gz
%doc %{_mandir}/man7/*.gz
%files -n tack
%defattr(-,root,root)
%{_bindir}/tack
%doc %{_mandir}/man1/tack.1.gz
%files -f extension.list -n terminfo
%defattr(-,root,root)
%changelog
* Thu Aug 14 2008 werner@suse.de
- Update to test version 5.6.20080804
* fix memory leaks in test/demo_menus
* build-fixes for gcc 4.3.1
* use NCURSES_MOUSE_MASK() in definition of BUTTON_RELEASE(), etc., to
make those work properly with the "--enable-ext-mouse" configuration
(cf: 20050205).
* improve mlterm and mlterm+pcfkeys terminfo entries -TD
* add null-pointer checks for cur_term in baudrate() and
def_shell_mode(), def_prog_mode()
* fix some memory leaks in delscreen() and wide acs.
* modify test/ditto.c to illustrate multi-threaded use_screen().
* finish changes to wgetch(), making it switch as needed to the
window's actual screen when calling wrefresh() and wgetnstr(). That
allows wgetch() to get used concurrently in different threads with
some minor restrictions, e.g., the application should not delete a
window which is being used in a wgetch().
* simplify mutex's, combining the window- and screen-mutex's.
* modify wgetch() to use the screen which corresponds to its window
parameter rather than relying on SP; some dependent functions still
use SP internally.
* factor out most use of SP in lib_mouse.c, using parameter.
* modify _nc_keypad() to make it switch temporarily as needed to the
screen which must be updated.
* wrap cur_term variable to help make _nc_keymap() thread-safe, and
always set the screen's copy of this variable in set_curterm().
* restore curs_set() state after endwin()/refresh() (report/patch
Miroslav Lichvar)
* corrected manpage description of setcchar()
* fix for adding a non-spacing character at the beginning of a line
* modify screen.* terminfo entries using new screen+fkeys to fix
overridden keys in screen.rxvt (Debian #478094) -TD
* simplify some loops with macros each_screen(), each_window() and
each_ripoff().
* fix typo in form.3x
* add screen.rxvt terminfo entry -TD
* modify tic -f option to format spaces as \s to prevent them from
being lost when that is read back in unformatted strings.
* add locks for copywin(), dupwin(), overlap(), overlay() on their
window parameters.
* add locks for initscr() and newterm() on updates to the SCREEN
pointer.
* finish table in curs_thread.3x manpage.
* Wed May 07 2008 coolo@suse.de
- we need to obsolete ncurses 5.6 too, it's 10.3's version
* Tue Apr 22 2008 werner@suse.de
- Split ncurses into two separate packages ncurses-utils and
terminfo-base to get the resolvers happy (bnc#381293)
* Sun Apr 20 2008 ro@suse.de
- update baselibs.conf
* Fri Apr 11 2008 werner@suse.de
- Do not dlopen libgpm if already loaded by runtime linker
* Thu Apr 10 2008 lrupp@suse.de
- rename ncurses to libncurses5 in baselibs.conf
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support
* Thu Apr 10 2008 werner@suse.de
- Small change to make the cflags work in ncurses{w,t,tw}-config
* Wed Apr 09 2008 werner@suse.de
- Update to test version 5.6.20080405 with the ABI of the upcoming
verion 6.0. This includes already the patch for coverity report.
* Tue Apr 08 2008 werner@suse.de
- New sub package libncurses5 including the shared libraries and
the required terminfo and termset data files.
* Mon Dec 10 2007 werner@suse.de
- Avoid endless loop in case of including the wrapper header
* Wed Dec 05 2007 werner@suse.de
- Add compatibility header files (bug #337412)
* Mon Oct 29 2007 pth@suse.de
- Fix configure so that ncurses-config doesn't erroneously
report ncurses.h to reside in /usr/include/ncurses (#337412).
* Wed Sep 05 2007 werner@suse.de
- Move libncursesw to /lib or /lib64 (bug #307353)
* Sat May 26 2007 dmueller@suse.de
- add %%post/un to call ldconfig
* Tue May 15 2007 dmueller@suse.de
- move documentation to -devel package and bzip text files
* Tue Mar 20 2007 rguenther@suse.de
- Remove unused ed BuildRequires.
* Mon Mar 19 2007 rguenther@suse.de
- Make gpm support via libdl and gpm BuildRequires explicit.
* Wed Jan 31 2007 werner@suse.de
- Update to 5.6-20070128
- Split of tack a its own sub package to be able to specify the
different licenses of ncurses and tack (bug #231835)
* Fri Nov 17 2006 werner@suse.de
- Revert broken change for rxvt from patchlevel 20051015 (#221259)
* Wed Nov 15 2006 werner@suse.de
- Disable experimental xmc-glitch (magic cookie support) for now
because it breaks YaST2 on console/konsole (bug #199256)
* Wed Aug 02 2006 rguenther@suse.de
- Removed not required BuildRequires on sharutils.
* Mon Jul 31 2006 schwab@suse.de
- Don't make stack executable.
- Remove executable bit from archives.
* Thu May 18 2006 werner@suse.de
- Update to 5.5-20060513
- Add rxvt-unicode terminfo entry
* Sun Apr 09 2006 werner@suse.de
- Removed enacs from xterm terminfo entry, the reason is that it
would break non latin encodings and the xterm does not need it
(See comment #11 of bug #163715).
* Sat Apr 08 2006 werner@suse.de
- Enable the script to get better termcap entries for arious linux
console types (bug #163715)
* Fri Apr 07 2006 werner@suse.de
- Add enacs capability to xterm terminfo entry (bug #163715)
- Also add a script to get better termcap entries for
various linux console types, currently unused (bug#163715)
* Wed Mar 01 2006 werner@suse.de
- Add screen terminfo entry for 256 colors (bug #136684)
* Thu Feb 23 2006 werner@suse.de
- On 64 bit architectures: be backward compatible and use
unsigned long for chtype (bug #151283)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Jan 10 2006 ro@suse.de
- create empty va_list instead of using NULL (not portable)
* Sat Dec 17 2005 kukuk@suse.de
- Remove /usr/lib/terminfo symlink
* Mon Oct 17 2005 werner@suse.de
- New version new bug, fix doubled man alias for tack (bug #127783)
* Thu Oct 13 2005 werner@suse.de
- Switch to ncurses version 5.5
- Re-enable curses.h to support both wide and normal characters
* Tue Jul 26 2005 werner@suse.de
- Move terminfo entry of mlterm to mlterm 2.9.2, add cvvis, and
add it to the default terminfo entries of ncurses.
* Fri Jul 22 2005 werner@suse.de
- Update to patch level 20050716
* Tue Mar 01 2005 schwab@suse.de
- Fix return value of tigetflag.
* Thu Feb 24 2005 werner@suse.de
- Re-add the ESC[?1c to the civis for linux terminal (bug #65481)
* Thu Sep 16 2004 werner@suse.de
- Add attributes only on first byte of a wide character (#45479)
* Fri Sep 10 2004 werner@suse.de
- Make the wide fix smart
* Thu Sep 09 2004 werner@suse.de
- Re-enable wide fix for none wide terminals
* Fri Apr 23 2004 werner@suse.de
- Fix crash due called weak symbol without check
* Mon Apr 05 2004 werner@suse.de
- Be sure that EINTR from signal is correctly delivered to the
reading thread. Use weak symbols to get it work even if not
(p)threaded (bug #37273).
* Fri Apr 02 2004 werner@suse.de
- Use weak symbol pthread_setmask instead of sigprocmask if
called by (p)threaded programs like yast2 (bug #37273).
* Thu Feb 19 2004 werner@suse.de
- Switch to official version of 5.4
* Wed Jan 28 2004 werner@suse.de
- Fix ACSC list of kterm e.g. for alsamixer
* Fri Jan 16 2004 werner@suse.de
- Update to 5.3-2004011 aka 5.4
- Strike nasty bug in wide version: now none UTF-8 graphic
characters are usable in any locale again.
- Enable TRACE for debugging builds
* Mon Nov 24 2003 kukuk@suse.de
- Build as non-root
- Compile with no-execstack
* Tue Jul 29 2003 aj@suse.de
- Fix for changed chown behaviour.
* Mon Feb 24 2003 werner@suse.de
- Fix for ACS handling: YaST uses always correct fonts with UTF-8
* Tue Feb 11 2003 werner@suse.de
- Set TERM if not set, should help to build ncurses on all hosts
* Mon Feb 10 2003 werner@suse.de
- Update to patch level 20030201 due fix of mem leaks
* Thu Jan 30 2003 werner@suse.de
- Fix dynamic file listing for terminfo: also include sym links
* Wed Jan 22 2003 werner@suse.de
- Fix va handling in printw, disable experimental safe sprintf
builtin (bug #22987)
* Thu Jan 09 2003 werner@suse.de
- Update to ncurses 5.3 patchlevel 20030105
- Make spec file more handy with automatic file list generation
* Tue Sep 17 2002 ro@suse.de
- removed bogus self-provides
* Wed Aug 14 2002 mls@suse.de
- updated screen terminfo entry, added screen-bce and screen-s
* Fri Aug 09 2002 kukuk@suse.de
- ncurses-devel should require ncurses [Bug #17543]
* Tue Aug 06 2002 werner@suse.de
- Switch to XTerm for XFree86[tm] 4.2.0 (bug #15002)
* Wed Jul 31 2002 meissner@suse.de
- disabled -funroll-loops since it triggers a compiler bug on PPC.
* Thu Jul 18 2002 kukuk@suse.de
- Remove old /usr/lib compatibility links
* Mon Jul 15 2002 werner@suse.de
- Remove ich1 from xterm entry (bug #7857) hopefully most modern
programs uses ncurses
- Add kcbt key for YaST
- remove ncurses 4.2
- Enable ncurses 5.2 with wide character support
* Sat Jun 15 2002 olh@suse.de
- do not build ncurses 4.2 on ppc64, it appears in Requires later
* Wed May 22 2002 olh@suse.de
- do not package libncurses.4 on ppc64, allow build as non-root
* Sat May 11 2002 schwab@suse.de
- Remove ia64 compiler workarounds.
* Wed Apr 17 2002 kukuk@suse.de
- Disable old ncurses libraries on x86_64
* Thu Feb 21 2002 werner@suse.de
- Fix cat&paste error of patch level 20010922
* Tue Feb 12 2002 ro@suse.de
- tar option for bz2 is "j"
* Wed Feb 06 2002 coolo@suse.de
- s390x is 64 bit too
* Fri Nov 23 2001 uli@suse.de
- fixed to build on ARM
* Sun Nov 11 2001 schwab@suse.de
- Fix last change, use vsscanf instead of vscanf.
* Fri Nov 09 2001 stepan@suse.de
- fix ncurses 4.2 on gcc3 distributions.
* Thu Oct 04 2001 werner@suse.de
- Update to ncurses 5.2 patch level 20011001
* Wed Jun 06 2001 bk@suse.de
- fix to compile on s390x (cursesw.cc)
* Tue May 08 2001 mfabian@suse.de
- bzip2 sources
* Wed Apr 11 2001 schwab@suse.de
- Reenable c++ bindings on ia64, instead use -O0 for c++.
* Thu Mar 22 2001 ro@suse.de
- added split aliases as provides
* Tue Mar 20 2001 schwab@suse.de
- Don't build c++ bindings and remove -funroll-loops on ia64 to work
around compiler bug.
* Fri Mar 16 2001 ro@suse.de
- fix to compile on s390 (cursesw.cc)
* Mon Feb 19 2001 ro@suse.de
- fixed to compile on gcc-2.96 (include string.h)
* Fri Feb 16 2001 werner@suse.de
- We don't need include string.h more than once
- Update to patch 20010210
* Thu Feb 15 2001 stepan@suse.de
- add some includes to compile with newer gcc versions.
* Fri Dec 22 2000 werner@suse.de
- After a reset xterm should answer ^? on backarrow key
* Thu Dec 07 2000 werner@suse.de
- Add vt102 to fallback terminal descriptions
- Add xterm-basic only to ncurses
* Tue Nov 14 2000 werner@suse.de
- Try to solve boot straping without installed ncurses-devel
- Use newest terminfo sources for builtin fallback
- Re-enable ncurses-5.0-to-4.2-panel.patch for ncurses 4.2
- Move /usr/lib/lib*.so to ncurses-devel
* Mon Nov 13 2000 werner@suse.de
- Update to ncurses 5.2
- Fix replacement of marks within manual pages
- Set type of ospeed to speed_t
- Put development tools, headers and static libs into
their own package ncurses-devel.
* Thu Oct 26 2000 kukuk@suse.de
- Rename sharutil to sharutils
* Sun Oct 15 2000 schwab@suse.de
- Fix libncurses.so link.
* Tue Oct 10 2000 werner@suse.de
- Update to 5.1 due to the better handling of string termination
of terminfo entries (security, strcpy patch therefore).
* Fri Oct 06 2000 werner@suse.de
- Move strncpy to strlcpy which appends the terminating NUL
character.
* Mon Oct 02 2000 werner@suse.de
- Use strncpy and strncat in lib_mvcur.c instead of the trustful
strcpy and strcat.
* Sun Oct 01 2000 kukuk@suse.de
- Fix for compiling with new g++ on ia64
* Sun Oct 01 2000 kukuk@suse.de
- Don't use run_cmd.sh to create fallback.c
- Don't build compat ncurses 4.2 on new platforms
- Use rpm 3.0.5 macros for 32/64bit support
* Mon Sep 04 2000 werner@suse.de
- Correct documentation path
* Fri Jul 07 2000 werner@suse.de
- Make update mechanism compatible with rpm, yast and yast2
* Wed Jun 28 2000 werner@suse.de
- Better update mechanism (verified with 6.2, 6.3, 6.4, and 7.0)
- Update to patch level 20000624 due some bug fixes included there
- Fix due bug in lib_screen.c (causes SIGSEGV)
* Mon May 22 2000 werner@suse.de
- Use new macros to avoid removing files via symbolic linked
directory which was a real directory. I use here not only
%%ghost but also %%config(missingok) to avoid the buggy
order of executing %%post install script. (There is no
%%post remove script).
* Wed May 17 2000 werner@suse.de
- One fix more
* Tue May 16 2000 werner@suse.de
- Fix the post install script: usr/lib/tabset may empty
* Mon Apr 03 2000 bk@suse.de
- added workaround for bad %%{suse_update_config -f} handling on i386
message was: suse_update_config: invalid option --
* Sun Apr 02 2000 bk@suse.de
- updated %%suse_update_config call for s390
* Fri Mar 03 2000 schwab@suse.de
- Fix for ia64.
- Update config.{guess,sub} from automake
* Thu Mar 02 2000 werner@suse.de
- Add patch for resize of subwindows relative to their parents
(required for YaST2)
* Mon Feb 28 2000 werner@suse.de
- Add patch 20000226 which makes 20000219 work perfect
* Fri Feb 25 2000 werner@suse.de
- Add patch 20000219 which should help on setting default fg/bg
off the most applications
* Fri Feb 18 2000 werner@suse.de
- Add patches 20000115, 20000122, 20000205, and 20000212
* hopefully this fixes some coloring kludges
- Make $VENDOR work for all Linux architectures
- Fix kvt/gnome entries for SuSE
* Tue Feb 15 2000 schwab@suse.de
- Update config.{guess,sub} to latest version.
* Thu Feb 03 2000 ro@suse.de
- use "-O1" for ncurses-4.2 on alpha
* Thu Jan 20 2000 ro@suse.de
- don't build ncurses-4.2/c++/demo
* Tue Jan 18 2000 werner@suse.de
- Workaround for all system which uses _SYS_VA_LIST_H (e.g. PPC)
* Mon Jan 17 2000 werner@suse.de
- Hey here we are: libncurses 5.0
* Use patches 19991030 upto 20000108
* Make arch-suse-linux work
* Use real intrinsic fallback term entries
* Use setfsuid and setfsgid for suid programs (linux issue only)
* Use our xterm standard (should be changed for xterm-4.0)
* Add/update some common term entries
- Hold shared libncurses 4.2 libraries for backward compatibility
and older programs
- Use /usr/share/man/
* Fri Oct 29 1999 werner@suse.de
- Remove buggy bool patch, sizeof the type bool should the same in
C++ and C on any architecture. This because libncurses is used
by both type of C++ and C programs. Let configure do its job.
* Fri Oct 15 1999 werner@suse.de
- Last minor checks
- Move /usr/lib/terminfo/, /usr/lib/tabset/ to /usr/share/terminfo/,
/usr/share/tabset/ and set a compatibility link.
- Check security fix, seems to work.
* Fri Oct 15 1999 werner@suse.de
- Port some patches from debian mainly security issues
- Use newer terminfo.src
- Move some common terminfo entries from terminfo packages
to main packages ncurses
* Thu Oct 14 1999 werner@suse.de
- Add panel patch from ncurses 5.0
- Remove kbs=\177 for some terminals like some xterm types and
vt100 to hold it compatible with other UNICES
- Update our xterm settings (with kbs=\177 and kdch1=\E[3~)
- Update the settings for xterm v4.0 but leave default on
our old version which are compatible
- Add some dumb terminal type like switch, patch, net,
network, arpanet, and dialup
* Mon Sep 13 1999 bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Thu Mar 25 1999 ro@suse.de
- changed permissions (a+x) for libform,menu,panel
* Mon Mar 22 1999 florian@suse.de
- add compatibility link from /usr/share/{tabset,terminfo}
* Sun Sep 06 1998 ro@suse.de
- fixed neededforbuild
* Wed Jun 03 1998 florian@suse.de
- use major 4 for glibc2
* Wed Mar 11 1998 werner@suse.de
- Defines a xterm-xf86suse entry
* use xterm-xf86-v33 with changes
- Use xterm-xf86suse for xterm
* Mon Mar 09 1998 bs@suse.de
- set executable bit to libncurses.so.3.0.*
* Mon Mar 02 1998 florian@suse.de
- update to ncurses 4.2
- use xterm for XFree86 3.3 and not 3.2...
* Mon Mar 02 1998 florian@suse.de
- mark /etc/termcap as %%config
* Fri Feb 20 1998 werner@suse.de
- redone fixes as to previous version
* Tue Feb 17 1998 florian@suse.de
- update to ncurses 4.2-beta1
* Thu Jan 29 1998 werner@suse.de
- add some settings for:
* TERM=linux (cvvis and sgr0 added)
* TERM=xterm (kf21 (shift F11) and kf22 (shift F12) added)
* TERM=rxvt (keypad keys correct defined, mc5 and mc4 added
for printing, smacs and rmacs repaired, sgr added)
* Tue Nov 11 1997 ro@suse.de
- terminfo builds from same specfile
* Fri Oct 17 1997 ro@suse.de
- removed old lib 1.9.7a
ready for autobuild
* Tue May 27 1997 florian@suse.de
- handle wrong TERM-settings for tput
- change xterm-entry in terminfo source file
* Tue May 20 1997 florian@suse.de
- update to version 4.1
* Wed Apr 30 1997 florian@suse.de
- mv /lib/libncurses.so.1.9* /usr/lib/
* Mon Apr 14 1997 florian@suse.de
- update to new version 970412
* Thu Jan 02 1997 werner@suse.de
- Anpassung von terminfo an das XTerm app-defaults
- Einige Fixes in der Intialisierung und Handling
von Escape-Sequenzen des xterms aus XFree86[tm]-3.2
* Thu Jan 02 1997 florian@suse.de
- update to version 961102
* Thu Jan 02 1997 florian@suse.de
- Update auf die neuste ncurses-Version.
- 'xterm' ist fuer XFree86 3.1.2G. Falls jemand noch ein altes XFree86
benutzen will, sollte man 'xterm-base' verwenden.
- Falls es Probleme gibt, kann man anstatt /lib/libncurses.so.1.9.9g
auch /lib/libncurses.so.1.9.9e verwenden. (g-Version einfach umbenennen
und ldconfig starten.) Dann sollte man aber keine Programme mehr
kompilieren...