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