43aa81
%if ! 0%{?rhel} >= 8
43aa81
%global with_python2 1
43aa81
%endif
43aa81
43aa81
Summary: A library for text mode user interfaces
43aa81
Name: newt
43aa81
Version: 0.52.20
2f81bd
Release: 11%{?dist}
43aa81
License: LGPLv2
43aa81
Group: System Environment/Libraries
43aa81
URL: https://pagure.io/newt
43aa81
Source: https://pagure.io/releases/newt/newt-%{version}.tar.gz
2f81bd
2f81bd
# Fix radio button selection check in snack
2f81bd
Patch1: newt-radio.patch
2f81bd
# Don't ignore CFLAGS when building snack
2f81bd
Patch2: newt-snackflags.patch
2f81bd
43aa81
BuildRequires: gcc popt-devel python3-devel slang-devel
43aa81
%{?with_python2:BuildRequires: python2-devel}
43aa81
BuildRequires: docbook-utils
43aa81
# Prefer lynx over other packages providing text-www-browser
43aa81
BuildRequires: lynx
43aa81
# static subpackage was dropped in 0.52.20-8
43aa81
Obsoletes: %{name}-static < 0.52.20-8
43aa81
43aa81
%package devel
43aa81
Summary: Newt windowing toolkit development files
43aa81
Requires: slang-devel %{name}%{?_isa} = %{version}-%{release}
43aa81
Group: Development/Libraries
43aa81
43aa81
%Description
43aa81
Newt is a programming library for color text mode, widget based user
43aa81
interfaces.  Newt can be used to add stacked windows, entry widgets,
43aa81
checkboxes, radio buttons, labels, plain text fields, scrollbars,
43aa81
etc., to text mode user interfaces.  This package also contains the
43aa81
shared library needed by programs built with newt, as well as a
43aa81
/usr/bin/dialog replacement called whiptail.  Newt is based on the
43aa81
slang library.
43aa81
43aa81
%description devel
43aa81
The newt-devel package contains the header files and libraries
43aa81
necessary for developing applications which use newt.  Newt is a
43aa81
development library for text mode user interfaces.  Newt is based on
43aa81
the slang library.
43aa81
43aa81
Install newt-devel if you want to develop applications which will use
43aa81
newt.
43aa81
43aa81
%if 0%{?with_python2}
43aa81
%package -n python2-newt
43aa81
%{?python_provide:%python_provide python2-newt}
43aa81
# Remove before F30
43aa81
Provides: %{name}-python = %{version}-%{release}
43aa81
Provides: %{name}-python%{?_isa} = %{version}-%{release}
43aa81
Obsoletes: %{name}-python < %{version}-%{release}
43aa81
Summary: Python 2 bindings for newt
43aa81
Group: Development/Libraries
43aa81
Requires: %{name}%{?_isa} = %{version}-%{release}
43aa81
43aa81
%description -n python2-newt
43aa81
The python2-newt package contains the Python 2 bindings for the newt library
43aa81
providing a python API for creating text mode interfaces.
43aa81
%endif
43aa81
43aa81
%package -n python3-newt
43aa81
%{?python_provide:%python_provide python3-newt}
43aa81
# Remove before F30
43aa81
Provides: %{name}-python3 = %{version}-%{release}
43aa81
Provides: %{name}-python3%{?_isa} = %{version}-%{release}
43aa81
Obsoletes: %{name}-python3 < %{version}-%{release}
2f81bd
Provides: snack = %{version}-%{release}
43aa81
Summary: Python 3 bindings for newt
43aa81
Group: Development/Libraries
43aa81
Requires: %{name}%{?_isa} = %{version}-%{release}
43aa81
43aa81
%description -n python3-newt
43aa81
The python3-newt package contains the Python 3 bindings for the newt library
43aa81
providing a python API for creating text mode interfaces.
43aa81
43aa81
%prep
43aa81
%setup -q
2f81bd
%patch1 -p1 -b .radio
2f81bd
%patch2 -p1 -b .snackflags
43aa81
43aa81
%build
43aa81
# gpm support seems to smash the stack w/ we use help in anaconda??
43aa81
# --with-gpm-support
43aa81
%configure --without-tcl
43aa81
make %{?_smp_mflags} all
43aa81
chmod 0644 peanuts.py popcorn.py
43aa81
docbook2txt tutorial.sgml
43aa81
43aa81
%install
43aa81
make DESTDIR=$RPM_BUILD_ROOT install
43aa81
rm -f $RPM_BUILD_ROOT%{_libdir}/libnewt.a
43aa81
43aa81
%find_lang %{name}
43aa81
43aa81
%ldconfig_scriptlets
43aa81
43aa81
%files -f %{name}.lang
43aa81
%doc AUTHORS COPYING CHANGES README
43aa81
%{_bindir}/whiptail
43aa81
%{_libdir}/libnewt.so.*
43aa81
%{_mandir}/man1/whiptail.1*
43aa81
43aa81
%files devel
43aa81
%doc tutorial.*
43aa81
%{_includedir}/newt.h
43aa81
%{_libdir}/libnewt.so
43aa81
%{_libdir}/pkgconfig/libnewt.pc
43aa81
43aa81
%if 0%{?with_python2}
43aa81
%files -n python2-newt
43aa81
%doc peanuts.py popcorn.py
43aa81
%{python2_sitearch}/*.so
43aa81
%{python2_sitearch}/*.py*
43aa81
%endif
43aa81
43aa81
%files -n python3-newt
43aa81
%doc peanuts.py popcorn.py
43aa81
%{python3_sitearch}/*.so
43aa81
%{python3_sitearch}/*.py*
43aa81
%{python3_sitearch}/__pycache__/*.py*
43aa81
43aa81
%changelog
2f81bd
* Wed Oct 02 2019 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.20-11
2f81bd
- don't ignore CFLAGS when building snack (#1757093)
2f81bd
2f81bd
* Mon Sep 30 2019 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.20-10
2f81bd
- move snack provides to python3-newt subpackage (#1640153)
2f81bd
- fix radio button selection check in snack (#1714517)
2f81bd
43aa81
* Mon Mar 26 2018 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.20-9
43aa81
- don't build python2 subpackage on rhel >= 8
43aa81
43aa81
* Wed Feb 21 2018 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.20-8
43aa81
- rename newt-python3 subpackage to python3-newt
43aa81
- build python3 subpackage unconditionally
43aa81
- don't use unversioned python_sitearch macro
43aa81
- drop static subpackage
43aa81
- use macro for ldconfig scriptlets
43aa81
- add gcc to build requirements
43aa81
- fix description of python2-newt
43aa81
43aa81
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.52.20-7
43aa81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
43aa81
43aa81
* Tue Jan 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.52.20-6
43aa81
- Update Python 2 dependency declarations to new packaging standards
43aa81
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
43aa81
43aa81
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.52.20-5
43aa81
- Add Provides for the old name without %%_isa
43aa81
43aa81
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.52.20-4
43aa81
- Python 2 binary package renamed to python2-newt
43aa81
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
43aa81
43aa81
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.52.20-3
43aa81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
43aa81
43aa81
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.52.20-2
43aa81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
43aa81
43aa81
* Fri Mar 17 2017 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.20-1
43aa81
- update to 0.52.20
43aa81
43aa81
* Mon Feb 20 2017 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.19-5
43aa81
- add build requirement on lynx (#1423989)
43aa81
43aa81
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.52.19-4
43aa81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
43aa81
43aa81
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.52.19-3
43aa81
- Rebuild for Python 3.6
43aa81
43aa81
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.52.19-2
43aa81
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
43aa81
43aa81
* Wed Mar 23 2016 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.19-1
43aa81
- update to 0.52.19
43aa81
43aa81
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.52.18-5
43aa81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
43aa81
43aa81
* Fri Nov 06 2015 Robert Kuska <rkuska@redhat.com> - 0.52.18-4
43aa81
- Rebuilt for Python3.5 rebuild
43aa81
43aa81
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.52.18-3
43aa81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
43aa81
43aa81
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 0.52.18-2
43aa81
- Rebuilt for Fedora 23 Change
43aa81
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
43aa81
43aa81
* Thu Oct 23 2014 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.18-1
43aa81
- update to 0.52.18 (#1151455)
43aa81
43aa81
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.52.17-4
43aa81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
43aa81
43aa81
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.52.17-3
43aa81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
43aa81
43aa81
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 0.52.17-2
43aa81
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
43aa81
43aa81
* Wed Feb 19 2014 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.17-1
43aa81
- update to 0.52.17
43aa81
- upstream changelog is now in CHANGES
43aa81
43aa81
* Thu Oct 17 2013 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.16-2
43aa81
- add python3 support (Matthias Klose) (#963839)
43aa81
- build python3 subpackage (Miro Hrončok) (#963839)
43aa81
- rename snackmodule to snack (#963839)
43aa81
43aa81
* Tue Aug 06 2013 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.16-1
43aa81
- add newtComponentGetSize and newtComponentGetPosition (#987596)
43aa81
- modify Makefile to use SOEXT (#971168)
43aa81
- free gpm socket name and unlink gpm socket on form exit
43aa81
- fix memory leaks in whiptail
43aa81
- fix weekdays in spec changelog
43aa81
43aa81
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.52.15-3
43aa81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
43aa81
43aa81
* Fri Apr 05 2013 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.15-2
43aa81
- add missing whiptail options to help and man page
43aa81
43aa81
* Mon Mar 25 2013 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.15-1
43aa81
- fix errors found by gcc-with-cpychecker (#800075)
43aa81
- fix building with tcl8.6 (#902561)
43aa81
- add fallback to python-config (#783627)
43aa81
- replace tabs in snack.py (#870647)
43aa81
- compile snackmodule.c with flag -fPIC (Kang Kai)
43aa81
- include new translations from transifex
43aa81
- allow newtWinMenu and newtWinEntries with no buttons or items
43aa81
- don't draw scale when not mapped
43aa81
- build with large-file support for stat64
43aa81
- remove unused variables in test code
43aa81
- update FSF address
43aa81
- remove obsolete macros
43aa81
- make some dependencies arch-specific
43aa81
43aa81
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.52.14-4
43aa81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
43aa81
43aa81
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.52.14-3
43aa81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
43aa81
43aa81
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.52.14-2
43aa81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
43aa81
43aa81
* Fri Nov 11 2011 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.14-1
43aa81
- fix returning strings in whiptail and whiptcl (#752818)
43aa81
- fix configure to work with multiple python versions (#737998)
43aa81
43aa81
* Mon Jun 27 2011 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.13-1
43aa81
- add support for changing colors in individual labels, scrollbars, entries,
43aa81
  textboxes and scales, add custom colorsets 
43aa81
- add support for NEWT_COLORS and NEWT_COLORS_FILE variables (#689903)
43aa81
- allow resizing of form
43aa81
- fix errors found by coverity
43aa81
- fix va_list usage (Gwenole Beauchesne)
43aa81
- fix building and installing on Mac OS X (#652479)
43aa81
- check for slang.h header, support DESTDIR variable, add --without-python
43aa81
  option (Otavio Salvador)
43aa81
- add Persian, Low German translations
43aa81
43aa81
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.52.12-3
43aa81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
43aa81
43aa81
* Wed Nov 10 2010 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.12-2
43aa81
- don't hang in form when stdin disappears
43aa81
43aa81
* Fri Aug 06 2010 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.12-1
43aa81
- fix whiptail --gauge and its description in man page (#620083)
43aa81
- remove space after \n in whiptail texts (#620083)
43aa81
- remove NLS code from snack (#599608)
43aa81
- expose more keys to python as shortcuts in dialogs (Jakob Kemi)
43aa81
- release python global-thread-lock during dialog displays (Jakob Kemi)
43aa81
- fix warnings in whiptcl.c and include Tcl_PkgProvide() call (Mikhail T.)
43aa81
- don't NULL deref when an invalid array is specified in checkboxtree
43aa81
  (Arnaldo Carvalho de Melo)
43aa81
43aa81
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.52.11-3
43aa81
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
43aa81
43aa81
* Thu Jan  7 2010 Hans de Goede <hdegoede@redhat.com> - 0.52.11-2
43aa81
- Change python_sitearch macro to use %%global as the new rpm will break
43aa81
  using %%define here, see:
43aa81
  https://www.redhat.com/archives/fedora-devel-list/2010-January/msg00093.html
43aa81
43aa81
* Thu Sep 24 2009 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.11-1
43aa81
- fix buffer overflow in textbox when reflowing (#523955, CVE-2009-2905)
43aa81
- use full textbox width when reflowing and allow minimal width 1
43aa81
- fix writing lines longer than width in textbox
43aa81
- don't use va_list in newtvwindow more than once (#523696)
43aa81
- bind \E[Z to back-tab in built-in keymap (#468046)
43aa81
- terminate string after reading file in whiptail
43aa81
- add newtRadioSetCurrent function (Thomas Jarosch)
43aa81
- add pkgconfig support (Thomas Jarosch)
43aa81
- add Malay, Malayalam, Assamese, Gujarati, Bengali India, Kannada, Telugu
43aa81
  translations
43aa81
- include tutorial in txt format
43aa81
- include debian patches
43aa81
  - fix crash in textbox SetText when topLines != 0
43aa81
  - don't link modules with libraries already linked with libnewt
43aa81
  - add Asturian and Marathi translations
43aa81
43aa81
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.52.10-4
43aa81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
43aa81
43aa81
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.52.10-3
43aa81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
43aa81
43aa81
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.52.10-2
43aa81
- Rebuild for Python 2.6
43aa81
43aa81
* Wed Jul 30 2008 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.10-1
43aa81
- improve --noitem description (#456305)
43aa81
- add setHeight to Textbox class
43aa81
- fix fixedheight forms
43aa81
- free keymap in newtFinished()
43aa81
- fix memory leak in textbox
43aa81
- fix valgrind error in checkboxtree
43aa81
- don't crash when running empty form
43aa81
- don't crash or hang when form has no focusable elements
43aa81
- before checkboxtree drawing return first item in GetCurrent()
43aa81
- redraw textbox in SetText()
43aa81
- add setColor description to SnackScreen docstring (Greg Swift)
43aa81
- make sure Widget isn't used directly (Greg Swift) (#452920)
43aa81
- add Serbian translations (Miloš Komarčević)
43aa81
- add Balochi translation (Mostafa Daneshvar)
43aa81
43aa81
* Fri Mar 21 2008 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.9-1
43aa81
- handle component destruction (patch by Richard W.M. Jones)
43aa81
- fix newtWinEntry definition
43aa81
- don't use uninitialized values in newtWinMenu
43aa81
- remove workarounds for old bug in SLsmg_write_nstring
43aa81
- improve SIGWINCH handling in form
43aa81
- don't abort from whiptail gauge on SIGWINCH
43aa81
- redisplay also last line
43aa81
- update Polish translation (Piotr Drąg)
43aa81
- update URL and Source tag
43aa81
43aa81
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.52.8-2
43aa81
- Autorebuild for GCC 4.3
43aa81
43aa81
* Wed Jan 23 2008 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.8-1
43aa81
- enable slang utf8 mode (#425992)
43aa81
- support --disable-nls option (patch by Natanael Copa)
43aa81
- redraw screen when using entry in euc encodings
43aa81
43aa81
* Mon Aug 27 2007 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.7-4
43aa81
- fix segfault in whiptail when no entry is selected in radiolist
43aa81
- buildrequire popt-devel
43aa81
43aa81
* Wed Aug 22 2007 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.7-3
43aa81
- rebuild
43aa81
43aa81
* Wed Aug 08 2007 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.7-2
43aa81
- add back support for list of Entries in EntryWindow prompts in snack
43aa81
  (#248878)
43aa81
- update license tag
43aa81
- split python module to -python subpackage (patch by Yanko Kaneti)
43aa81
- fix summary
43aa81
 
43aa81
* Fri Jun 15 2007 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.7-1
43aa81
- add support to snack for multiple selection and border in listbox
43aa81
  and cursorAtEnd in entry (patch by Shawn Starr)
43aa81
- fix scrollbar positioning in listbox
43aa81
- cope with backward system time jumps (#240691)
43aa81
- free helplines and windows in newtFinished, check for overflow (#239992)
43aa81
- add release to -devel and -static requires (#238784)
43aa81
43aa81
* Thu Apr 12 2007 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.6-3
43aa81
- fix cursor positioning when setting entry or checkbox flags
43aa81
- fix counting of items in checkboxtree
43aa81
- fix some memory leaks
43aa81
43aa81
* Wed Apr 04 2007 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.6-2
43aa81
- fix entry scrolling (#234829)
43aa81
- fix multibyte character handling in entry
43aa81
43aa81
* Fri Mar 02 2007 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.6-1
43aa81
- add newtSetColor() to allow changing individual colors
43aa81
- add newtPopWindowNoRefresh() (patch by Forest Bond)
43aa81
- move static library to -static subpackage, spec cleanup (#226195)
43aa81
  (patch by Jason Tibbitts)
43aa81
43aa81
* Wed Jan 31 2007 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.5-1
43aa81
- provide option to change text of buttons (#126768)
43aa81
- don't add escape key to hot keys by default (#216157)
43aa81
- fix cursor position in checkboxtree, radio button and checkbox
43aa81
- don't force monochrome terminals to output colors
43aa81
- highlight active compact button on monochrome terminals
43aa81
- update translations from debian
43aa81
43aa81
* Sat Jan  6 2007 Jeremy Katz <katzj@redhat.com> - 0.52.4-3
43aa81
- fix memory allocation in snack to be consistent (#212780)
43aa81
43aa81
* Thu Dec  7 2006 Jeremy Katz <katzj@redhat.com> - 0.52.4-2
43aa81
- rebuild for python 2.5
43aa81
43aa81
* Fri Oct 13 2006 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.4-1
43aa81
- fix entry corruption when reading multibyte characters
43aa81
  and double width character handling
43aa81
- avoid overflow/crash in scale
43aa81
- patches from debian
43aa81
  - fix crash of snack in EntryWindow when prompts is list of tuples
43aa81
  - put cursor at beginning of text for better accessibility
43aa81
    in button, scale and textbox
43aa81
  - add topleft option to whiptail
43aa81
43aa81
* Tue Sep 19 2006 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.3-1
43aa81
- makefile, configure and spec cleanup
43aa81
- package whiptail.1 and locale files
43aa81
- fix warnings
43aa81
43aa81
* Fri Aug 04 2006 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.2-9
43aa81
- fix screen corruption when half of double width character is overwritten
43aa81
  (#137957) 
43aa81
- fix double width character handling in checkboxtree and listbox
43aa81
43aa81
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.52.2-8.1
43aa81
- rebuild
43aa81
43aa81
* Tue Jun 27 2006 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.2-8
43aa81
- unfocus when displaying help
43aa81
- fix help dialog in popcorn.py (#81352)
43aa81
43aa81
* Thu Jun 08 2006 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.2-7
43aa81
- fix checkboxtree positioning
43aa81
- make textbox with scrollbar focusable (#83203)
43aa81
- turn off cursor when entry terminated form (#86074)
43aa81
- handle listbox and checkboxtree focus better (#186053)
43aa81
- make default colors more friendly to 8-color terminals (#187545)
43aa81
43aa81
* Wed May 31 2006 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.2-6.1
43aa81
- fix handling windows larger than screen size (#189981)
43aa81
43aa81
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.52.2-5.2
43aa81
- bump again for double-long bug on ppc(64)
43aa81
43aa81
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.52.2-5.1
43aa81
- rebuilt for new gcc4.1 snapshot and glibc changes
43aa81
43aa81
* Tue Jan 17 2006 Petr Rockai <prockai@redhat.com> - 0.52.2-5
43aa81
- Fix a crash in checkboxtree.c where pressing pgup/pgdown
43aa81
  on a checkboxtree with less items than its height would
43aa81
  cause segmentation violation. Consult BR 165347.
43aa81
43aa81
* Tue Jan 17 2006 Petr Rockai <prockai@redhat.com> - 0.52.2-4
43aa81
- Apply patch by Bill Nottingham (thanks) to improve scrollbar appearance
43aa81
  (BR 174771).
43aa81
- Add -%%{release} to snack's Provides: line (just in case).
43aa81
43aa81
* Tue Jan 17 2006 Petr Rockai <prockai@redhat.com> - 0.52.2-3
43aa81
- Provide: snack = %%{version} instead of plain "snack", so that
43aa81
  we don't block upgrades of custom "snack" packages. This should
43aa81
  not break anything. (Hopefully) fixes BR 171415.
43aa81
43aa81
* Mon Jan 16 2006 Petr Rockai <prockai@redhat.com> - 0.52.2-2
43aa81
- do not build whiptcl, as per 177346 -- so that we avoid dependency on tcl
43aa81
43aa81
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
43aa81
- rebuilt
43aa81
43aa81
* Thu Nov 24 2005 Jindrich Novy <jnovy@redhat.com> - 0.52.2-1
43aa81
- rebuild because of the new slang-2.0.5
43aa81
43aa81
* Tue Nov 22 2005 Petr Rockai <prockai@redhat.com> - 0.52.2-0
43aa81
- new upstream version (minor fixes for the source tarball
43aa81
  and build system)
43aa81
43aa81
* Fri Sep 30 2005 Petr Rockai <prockai@redhat.com> - 0.52.1-0
43aa81
- revert bidi patch, objections by Jeremy Katz about
43aa81
  anaconda breaking
43aa81
- this version still only exists as a "ghastly" upstream tarball;
43aa81
  the patches are now cleaned up and will be integrated into
43aa81
  rhlinux cvs unless some more breakage akin to bidi occurs
43aa81
- the if1close patch is now part of upstream tarball too
43aa81
43aa81
* Wed Sep 21 2005 Petr Rockai <prockai@redhat.com> - 0.52.0-0
43aa81
- new upstream version
43aa81
43aa81
* Fri Sep 02 2005 Petr Rockai <prockai@redhat.com>
43aa81
- use versioned symbols, patch by Alastair McKinstry, mckinstry at
43aa81
  debian dot org, thanks
43aa81
- need private wstrlen due to versioned syms, patch from debian
43aa81
  package of newt
43aa81
- both of the above needed to be forward-ported
43aa81
43aa81
* Sun Mar 06 2005 Petr Rockai <prockai@redhat.com>
43aa81
- rebuild
43aa81
43aa81
* Mon Nov  8 2004 Jeremy Katz <katzj@redhat.com> - 0.51.6-6
43aa81
- rebuild for python 2.4
43aa81
43aa81
* Fri Oct 15 2004 Adrian Havill <havill@redhat.com> 0.51.6-5
43aa81
- only do gpmclose if gpmopen succeeed (#118530)
43aa81
43aa81
* Thu Oct 14 2004 Adrian Havill <havill@redhat.com> 0.51.6-4
43aa81
- make the python version dynamic (#114419)
43aa81
43aa81
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
43aa81
- rebuilt
43aa81
43aa81
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
43aa81
- rebuilt
43aa81
43aa81
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
43aa81
- rebuilt
43aa81
43aa81
* Thu Nov  6 2003 Jeremy Katz <katzj@redhat.com> 0.51.6-2
43aa81
- rebuild for python 2.3
43aa81
43aa81
* Tue Aug 19 2003 Michael K. Johnson <johnsonm@redhat.com> 0.51.6-1
43aa81
- rebuild
43aa81
43aa81
* Tue Aug 19 2003 Michael K. Johnson <johnsonm@redhat.com> 0.51.5-1
43aa81
- incorporated listbox cursor location patch (#69903)
43aa81
43aa81
* Wed Feb  5 2003 Matt Wilson <msw@redhat.com> 0.51.4-1
43aa81
- fixed help line drawing in UTF-8 (#81718)
43aa81
- calculate the width of text in entries using wstrlen
43aa81
- always set component width to the new label width in newtLabelSetText
43aa81
- fixed snack.CListbox to work properly with UTF-8 (#81718)
43aa81
43aa81
* Tue Feb 04 2003 Florian La Roche <Florian.LaRoche@redhat.de>
43aa81
- add symlink to shared lib
43aa81
43aa81
* Sun Jan  5 2003 Adrian Havill <havill@redhat.com> 0.51.3-1
43aa81
- cleaned up const qualifiers in interfaces
43aa81
- added Ctrl-L screen refresh
43aa81
- fixed segfault in test.c when listbox items are selected
43aa81
- accessibility: made newt useable with monochrome terms (#60931)
43aa81
- leave the symbols in the libs (#60400)
43aa81
- fixed grammar in tutorial (#63496)
43aa81
- error checking (curcomp exists) for formEvent, newtFormGetCurrent,
43aa81
  removed fifty button limit (#59027)
43aa81
43aa81
* Tue Dec 17 2002 Matt Wilson <msw@redhat.com> 0.51.2-1
43aa81
- fixed wstrlen() it was calculating wcwidth(first wide char in
43aa81
  string) * strlen(str) instead of the actual width of the whole
43aa81
  string
43aa81
- fixed newtRedrawHelpLine() to copy all the bytes from a multibyte
43aa81
  string
43aa81
43aa81
* Fri Dec 13 2002 Elliot Lee <sopwith@redhat.com> 0.51.1-1
43aa81
- Merge multilib changes
43aa81
43aa81
* Thu Aug 15 2002 Bill Nottingham <notting@redhat.com> 0.51.0-1
43aa81
- changes for element width calculation for UTF-8
43aa81
- fix textwrap for UTF-8 in general
43aa81
- bump soname to avoid shared library collisions with slang
43aa81
43aa81
* Mon Jul 01 2002 Michael Fulbright <msf@redhat.com> 0.50.39-1
43aa81
- Changed a test to check for 'None' the correct way
43aa81
43aa81
* Wed Jun 26 2002 Bill Nottingham <notting@redhat.com> 0.50.38-1
43aa81
- don't hardcode linedrawing characters in the scrollbar code
43aa81
43aa81
* Mon Jun 24 2002 Bill Nottingham <notting@redhat.com> 0.50.37-1
43aa81
- minor tweaks for use with UTF-8 slang
43aa81
43aa81
* Tue Jun 11 2002 Joe Orton <jorton@redhat.com> 0.50.36-1
43aa81
- add newtListboxGetItemCount() API call
43aa81
- include numeric percentage in scale widget appearace
43aa81
- add support for ESC key using NEWT_KEY_ESCAPE
43aa81
43aa81
* Mon Mar 18 2002 Bill Nottingham <notting@redhat.com> 0.50.35-1
43aa81
- build for whatever version of python happens to be installed
43aa81
43aa81
* Sat Sep 15 2001 Trond Eivind Glomsrød <teg@redhat.com> 0.50.34-1
43aa81
- remove python2 subpackage
43aa81
- compile package for python 2.2
43aa81
43aa81
* Wed Aug 29 2001 Trond Eivind Glomsrød <teg@redhat.com> 0.50.33-1
43aa81
- s/Copyright/License/
43aa81
- Add slang-devel to build dependencies (#49542)
43aa81
43aa81
* Wed Aug 22 2001 Crutcher Dunnavant <crutcher@redhat.com> 0.50.32-1
43aa81
- re-ordered the width key of CheckboxTree.__init__; #52319
43aa81
43aa81
* Wed Aug  8 2001 Crutcher Dunnavant <crutcher@redhat.com> 0.50.31-1
43aa81
- right anchor the internal Listbox of CListboxes, so that empty
43aa81
- scrollable CListboxes do not look like crape.
43aa81
43aa81
* Thu Jul 05 2001 Crutcher Dunnavant <crutcher@redhat.com>
43aa81
- padded hidden checkboxes on CheckboxTrees
43aa81
43aa81
* Thu Jul 05 2001 Crutcher Dunnavant <crutcher@redhat.com>
43aa81
- taught CheckboxTrees about width. Whohoo! 2-D!!!
43aa81
43aa81
* Thu Jul 05 2001 Crutcher Dunnavant <crutcher@redhat.com>
43aa81
- added 'hide_checkbox' and 'unselectable' options to CheckboxTrees
43aa81
43aa81
* Mon Jun 25 2001 Jeremy Katz <katzj@redhat.com>
43aa81
- CListBox -> CListbox for API consistency
43aa81
- fixup replace() method of CListbox
43aa81
43aa81
* Fri Jun 8 2001 Jeremy Katz <katzj@redhat.com>
43aa81
- few bugfixes to the CListBox
43aa81
43aa81
* Fri Jun 8 2001 Jeremy Katz <katzj@redhat.com>
43aa81
- added python binding for newtListboxClear() for Listbox and CListBox
43aa81
- let ButtonBars optionally be made of CompactButtons
43aa81
43aa81
* Wed Jun  6 2001 Crutcher Dunnavant <crutcher@redhat.com>
43aa81
- added CListBox python convenience class
43aa81
43aa81
* Tue May 15 2001 Michael Fulbright <msf@redhat.com>
43aa81
- added python binding for CompactButton()
43aa81
43aa81
* Tue Apr  3 2001 Matt Wilson <msw@redhat.com>
43aa81
- change from using SLsmg_touch_screen to SLsmg_touch_lines to prevent
43aa81
  excessive flashing due to screen clears when using touch_screen (more
43aa81
  Japanese handling)
43aa81
43aa81
* Mon Apr  2 2001 Matt Wilson <msw@redhat.com>
43aa81
- redraw the screen in certain situations when LANG=ja_JP.eucJP to
43aa81
  prevent corrupting kanji characters (#34362)
43aa81
43aa81
* Mon Apr  2 2001 Elloit Lee <sopwith@redhat.com>
43aa81
- Allow python scripts to watch file handles
43aa81
- Fix 64-bit warnings in snackmodule
43aa81
- Misc snack.py cleanups
43aa81
- Add NEWT_FD_EXCEPT to allow watching for fd exceptions
43aa81
- In newtExitStruct, return the first file descriptor that an event occurred on 
43aa81
43aa81
* Fri Mar 30 2001 Matt Wilson <msw@redhat.com>
43aa81
- don't blow the stack if we push a help line that is longer than the
43aa81
  curret number of columns
43aa81
- clip window to screen bounds so that if we get a window that is
43aa81
  larger than the screen we can still redraw the windows behind it
43aa81
  when we pop
43aa81
43aa81
* Sun Feb 11 2001 Than Ngo <than@redhat.com>
43aa81
- disable building new-python2 sub package again
43aa81
43aa81
* Thu Feb 01 2001 Erik Troan <ewt@redhat.com>
43aa81
- gave up on separate CHANGES file
43aa81
- added newtCheckboxTreeSetCurrent() and snack binding
43aa81
- don't require python2 anymore
43aa81
43aa81
* Mon Jan 22 2001 Than Ngo <than@redhat.com>
43aa81
- don't build newt-python2 sub package.
43aa81
43aa81
* Fri Dec 15 2000 Trond Eivind Glomsrød <teg@redhat.com>
43aa81
- use %%{_tmppath}
43aa81
- add python2 subpackage, with such support
43aa81
- fix use of append in snack.py
43aa81
43aa81
* Fri Sep 08 2000 Trond Eivind Glomsrød <teg@redhat.com>
43aa81
- bytecompile the snack python module
43aa81
- move the libnewt.so symlink to the devel package
43aa81
- include popcorn.py and peanuts.py in the devel package,
43aa81
  so we have some documentation of the snack module
43aa81
43aa81
* Tue Aug 22 2000 Erik Troan <ewt@redhat.com>
43aa81
- fixed cursor disappearing in suspend (again)
43aa81
43aa81
* Sat Aug 19 2000 Preston Brown <pbrown@redhat.com>
43aa81
- explicit requirement of devel subpackage on same version of main package
43aa81
  so that .so file link doesn't break
43aa81
43aa81
* Wed Aug 16 2000 Erik Troan <ewt@redhat.com>
43aa81
- fixed cursor disappearing in suspend
43aa81
- moved libnewt.so to main package from -devel
43aa81
43aa81
* Thu Aug  3 2000 Matt Wilson <msw@redhat.com>
43aa81
- added setValue method for checkboxes in snack
43aa81
43aa81
* Wed Jul 05 2000 Michael Fulbright <msf@redhat.com>
43aa81
- added NEWT_FLAG_PASSWORD for entering passwords and having asterix echo'd
43aa81
43aa81
* Fri Jun 16 2000 Matt Wilson <msw@redhat.com>
43aa81
- build for new release
43aa81
43aa81
* Fri Apr 28 2000 Jakub Jelinek <jakub@redhat.com>
43aa81
- see CHANGES
43aa81
43aa81
* Mon Mar 13 2000 Matt Wilson <msw@redhat.com>
43aa81
- revert mblen patch, go back to our own wide char detection
43aa81
43aa81
* Fri Feb 25 2000 Bill Nottingham <notting@redhat.com>
43aa81
- fix doReflow to handle mblen returning 0
43aa81
43aa81
* Wed Feb 23 2000 Preston Brown <pbrown@redhat.com>
43aa81
- fix critical bug in fkey 1-4 recognition on xterms
43aa81
43aa81
* Wed Feb  9 2000 Matt Wilson <msw@redhat.com>
43aa81
- fixed snack widget setcallback function
43aa81
43aa81
* Thu Feb 03 2000 Erik Troan <ewt@redhat.com>
43aa81
- strip shared libs
43aa81
43aa81
* Mon Jan 31 2000 Matt Wilson <msw@redhat.com>
43aa81
- added patch from Toru Hoshina <t@kondara.org> to improve multibyte
43aa81
  character wrapping
43aa81
43aa81
* Thu Jan 20 2000 Erik Troan <ewt@redhat.com>
43aa81
- see CHANGES
43aa81
43aa81
* Thu Jan 20 2000 Preston Brown <pbrown@redhat.com>
43aa81
- fix segfault in newtRadioGetCurrent
43aa81
43aa81
* Mon Jan 17 2000 Erik Troan <ewt@redhat.com>
43aa81
- added numerous bug fixes (see CHANGES)
43aa81
43aa81
* Mon Dec 20 1999 Matt Wilson <msw@redhat.com>
43aa81
- rebuild with fix for listbox from Nalin
43aa81
43aa81
* Wed Oct 20 1999 Matt Wilson <msw@redhat.com>
43aa81
- added patch to correctly wrap euc kanji
43aa81
43aa81
* Wed Sep 01 1999 Erik Troan <ewt@redhat.com>
43aa81
- added suspend/resume to snack
43aa81
43aa81
* Tue Aug 31 1999 Matt Wilson <msw@redhat.com>
43aa81
- enable gpm support
43aa81
43aa81
* Fri Aug 27 1999 Matt Wilson <msw@redhat.com>
43aa81
- added hotkey assignment for gridforms, changed listbox.setcurrent to
43aa81
  take the item key
43aa81
43aa81
* Wed Aug 25 1999 Matt Wilson <msw@redhat.com>
43aa81
- fixed snack callback function refcounts, as well as optional data args
43aa81
- fixed suspend callback ref counts
43aa81
43aa81
* Mon Aug 23 1999 Matt Wilson <msw@redhat.com>
43aa81
- added buttons argument to entrywindow
43aa81
43aa81
* Thu Aug 12 1999 Bill Nottingham <notting@redhat.com>
43aa81
- multi-state checkboxtrees. Woohoo.
43aa81
43aa81
* Mon Aug  9 1999 Matt Wilson <msw@redhat.com>
43aa81
- added snack wrappings for checkbox flag setting
43aa81
43aa81
* Thu Aug  5 1999 Matt Wilson <msw@redhat.com>
43aa81
- added snack bindings for setting current listbox selection
43aa81
- added argument to set default selection in snack ListboxChoiceWindow
43aa81
43aa81
* Mon Aug  2 1999 Matt Wilson <msw@redhat.com>
43aa81
- added checkboxtree
43aa81
- improved snack binding
43aa81
43aa81
* Fri Apr  9 1999 Matt Wilson <msw@redhat.com>
43aa81
- fixed a glibc related bug in reflow that was truncating all text to 1000
43aa81
chars
43aa81
43aa81
* Fri Apr 09 1999 Matt Wilson <msw@redhat.com>
43aa81
- fixed bug that made newt apps crash when you hit <insert> followed by lots
43aa81
of keys
43aa81
43aa81
* Mon Mar 15 1999 Matt Wilson <msw@redhat.com>
43aa81
- fix from Jakub Jelinek for listbox keypresses
43aa81
43aa81
* Sat Feb 27 1999 Matt Wilson <msw@redhat.com>
43aa81
- fixed support for navigating listboxes with alphabetical keypresses
43aa81
43aa81
* Thu Feb 25 1999 Matt Wilson <msw@redhat.com>
43aa81
- updated descriptions
43aa81
- added support for navigating listboxes with alphabetical keypresses
43aa81
43aa81
* Mon Feb  8 1999 Matt Wilson <msw@redhat.com>
43aa81
- made grid wrapped windows at least the size of their title bars
43aa81
43aa81
* Fri Feb  5 1999 Matt Wilson <msw@redhat.com>
43aa81
- Function to set checkbox flags.  This will go away later when I have
43aa81
  a generic flag setting function and signals to comps to go insensitive.
43aa81
43aa81
* Tue Jan 19 1999 Matt Wilson <msw@redhat.com>
43aa81
- Stopped using libgpm, internalized all gpm calls.  Still need some cleanups.
43aa81
43aa81
* Thu Jan  7 1999 Matt Wilson <msw@redhat.com>
43aa81
- Added GPM mouse support
43aa81
- Moved to autoconf to allow compiling without GPM support
43aa81
- Changed revision to 0.40
43aa81
43aa81
* Wed Oct 21 1998 Bill Nottingham <notting@redhat.com>
43aa81
- built against slang-1.2.2
43aa81
43aa81
* Wed Aug 19 1998 Bill Nottingham <notting@redhat.com>
43aa81
- bugfixes for text reflow
43aa81
- added docs
43aa81
43aa81
* Fri May 01 1998 Cristian Gafton <gafton@redhat.com>
43aa81
- devel package moved to Development/Libraries
43aa81
43aa81
* Thu Apr 30 1998 Erik Troan <ewt@redhat.com>
43aa81
- removed whiptcl.so -- it should be in a separate package
43aa81
43aa81
* Mon Feb 16 1998 Erik Troan <ewt@redhat.com>
43aa81
- added newtWinMenu()
43aa81
- many bug fixes in grid code
43aa81
43aa81
* Wed Jan 21 1998 Erik Troan <ewt@redhat.com>
43aa81
- removed newtWinTernary()
43aa81
- made newtWinChoice() return codes consistent with newtWinTernary()
43aa81
43aa81
* Fri Jan 16 1998 Erik Troan <ewt@redhat.com>
43aa81
- added changes from Bruce Perens
43aa81
    - small cleanups
43aa81
    - lets whiptail automatically resize windows
43aa81
- the order of placing a grid and adding components to a form no longer
43aa81
  matters
43aa81
- added newtGridAddComponentsToForm()
43aa81
43aa81
* Wed Oct 08 1997 Erik Troan <ewt@redhat.com>
43aa81
- added newtWinTernary()
43aa81
43aa81
* Tue Oct 07 1997 Erik Troan <ewt@redhat.com>
43aa81
- made Make/spec files use a buildroot
43aa81
- added grid support (for newt 0.11 actually)
43aa81
43aa81
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
43aa81
- Added patched from Clarence Smith for setting the size of a listbox
43aa81
- Version 0.9
43aa81
43aa81
* Wed May 28 1997 Elliot Lee <sopwith@redhat.com> 0.8-2
43aa81
- Touchups on Makefile
43aa81
- Cleaned up NEWT_FLAGS_*
43aa81
43aa81
* Tue Mar 18 1997 Erik Troan <ewt@redhat.com>
43aa81
- Cleaned up listbox
43aa81
- Added whiptail
43aa81
- Added newtButtonCompact button type and associated colors
43aa81
- Added newtTextboxGetNumLines() and newtTextboxSetHeight()
43aa81
43aa81
* Tue Feb 25 1997 Erik Troan <ewt@redhat.com>
43aa81
- Added changes from sopwith for C++ cleanliness and some listbox fixes.