This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
26
newt-0.52.4-if1close.patch
Normal file
26
newt-0.52.4-if1close.patch
Normal file
@@ -0,0 +1,26 @@
|
||||
--- form.c
|
||||
+++ form.c
|
||||
@@ -890,6 +890,7 @@
|
||||
struct eventResult er;
|
||||
int key, i, max;
|
||||
int done = 0;
|
||||
+ int success;
|
||||
fd_set readSet, writeSet, exceptSet;
|
||||
struct timeval nextTimeout, now, timeout;
|
||||
#ifdef USE_GPM
|
||||
@@ -904,6 +905,7 @@
|
||||
conn.maxMod = 0;
|
||||
|
||||
Gpm_Open(&conn, 0);
|
||||
+ success = Gpm_Open(&conn, 0);
|
||||
#endif
|
||||
|
||||
newtFormSetSize(co);
|
||||
@@ -1063,6 +1065,7 @@
|
||||
}
|
||||
newtRefresh();
|
||||
#ifdef USE_GPM
|
||||
+ if (success > 0)
|
||||
Gpm_Close();
|
||||
#endif
|
||||
}
|
||||
3
newt-0.52.4.tar.bz2
Normal file
3
newt-0.52.4.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d291b9c91e77004277073d98772803b92a20699a7069252b15cabf129739f1c5
|
||||
size 134532
|
||||
173
newt.changes
Normal file
173
newt.changes
Normal file
@@ -0,0 +1,173 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 21 14:13:09 CET 2006 - lrupp@suse.de
|
||||
|
||||
- new upstream version 0.52.4: patches included upstream
|
||||
+ fix entry corruption when reading multibyte characters
|
||||
and double width character handling
|
||||
+ avoid overflow/crash in scale
|
||||
- makefile, configure and spec cleanup
|
||||
- package whiptail.1 and locale files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 22 13:56:14 CEST 2006 - lrupp@suse.de
|
||||
|
||||
- fix build with python 2.5 (thanks to aj)
|
||||
- useful fixes from RH bugzilla included:
|
||||
* #137957 : fix screen corruption
|
||||
* #81352 : fix help dialog
|
||||
* #83203 : make textbox with scrollbar focusable
|
||||
* #86074 : turn off cursor when entry terminated form
|
||||
* #186053 : better handling of listbox and checkboxtree focus
|
||||
* #187545 : be more color friendly to 8-color terminals
|
||||
* #189981 : fix handling windows larger than screen size
|
||||
* fix checkboxtree positioning
|
||||
* unfocus when displaying help
|
||||
* fix double width character handling in checkboxtree and listbox
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 9 07:32:24 CEST 2006 - lrupp@suse.de
|
||||
|
||||
- add "Provides: snack" to specfile
|
||||
- do not build whiptcl to avoid dependency on tcl (RH #177346)
|
||||
(whiptcl is currently not used by anything)
|
||||
- Apply patch by Bill Nottingham (thanks) to improve scrollbar appearance
|
||||
(RH #174771)
|
||||
- Fix a crash in checkboxtree.c (RH #165347)
|
||||
- draw correct dialog sizes on the screen (see RH #185950) - applying
|
||||
patch from Tomas Mraz (thanks)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:38:41 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 12 13:54:46 CET 2005 - lrupp@suse.de
|
||||
|
||||
- new version 0.52.2
|
||||
- include whiptcl.so
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 10 16:12:21 CET 2005 - lrupp@suse.de
|
||||
|
||||
- only do gpmclose if gpmopen succeeed
|
||||
(see https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=118530)
|
||||
- include example files (peanuts.py, popcorn.py) in devel package
|
||||
- use "-fPIC -Wall -fno-strict-aliasing" in CFLAGS
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 26 23:20:44 CEST 2005 - mls@suse.de
|
||||
|
||||
- make devel package require base package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 25 12:40:44 CEST 2005 - lrupp@suse.de 0.51.6
|
||||
|
||||
- use of %run_ldconfig
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 17 15:07:42 CEST 2005 - lrupp@suse.de 0.51.6
|
||||
|
||||
- use more macros: fix build on 64bit
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 17 13:21:24 CEST 2005 - lrupp@suse.de 0.51.6
|
||||
|
||||
- use $RPM_OPT_FLAGS
|
||||
- delete /usr/lib/phyton in build to avoid errors from abuild
|
||||
=> we've a symlink to /usr/lib/python2.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 16 14:13:06 CEST 2005 - ro@suse.de
|
||||
|
||||
- fix files pagaged twice (real path and over symlink)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 15 21:03:05 CET 2005 - ro@suse.de
|
||||
|
||||
- added python deps
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 24 01:43:15 CET 2005 - ro@suse.de
|
||||
|
||||
- fix lib64 build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 30 17:30:44 CET 2004 - cwh@suse.de
|
||||
|
||||
- updated to 0.51.6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 2 02:03:54 CEST 2004 - ro@suse.de
|
||||
|
||||
- get rid of some compiler warnings
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 26 11:27:51 CET 2004 - hmacht@suse.de
|
||||
|
||||
- building as non-root
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 24 18:34:40 CET 2004 - cwh@suse.de
|
||||
|
||||
- added soname link to package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 15 17:30:25 CEST 2003 - cwh@suse.de
|
||||
|
||||
- removed wrong "Provides: snack" from spec-file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 20 23:30:35 CEST 2003 - ro@suse.de
|
||||
|
||||
- expand filelist
|
||||
- fix lib64 issues
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 20 14:36:15 CEST 2003 - cwh@suse.de
|
||||
|
||||
- fixed to compile with tcl8.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 16 18:08:37 CET 2001 - schwab@suse.de
|
||||
|
||||
- Fix missing -fPIC in Makefile.
|
||||
- Fix use of varargs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 29 17:26:55 CET 2000 - ro@suse.de
|
||||
|
||||
- changed neededforbuild <tcld> to <tcl-devel>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 29 14:18:53 CET 2000 - smid@suse.cz
|
||||
|
||||
- subpackage renamed: newtd => newt-devel
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 24 09:03:48 CET 2000 - ro@suse.de
|
||||
|
||||
- fixes for 2.0-python
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 29 09:47:19 CET 2000 - kukuk@suse.de
|
||||
|
||||
- Add python-devel to need for build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 22 14:51:39 CEST 2000 - smid@suse.cz
|
||||
|
||||
- fixed to compile with tcl8.3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 10 14:19:41 CEST 2000 - nadvornik@suse.cz
|
||||
|
||||
- update to 0.50.8
|
||||
- added BuildRoot
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 17 08:34:23 CET 2000 - nashif@suse.de
|
||||
|
||||
- Initial Release ( Version 0.50)
|
||||
|
||||
202
newt.spec
Normal file
202
newt.spec
Normal file
@@ -0,0 +1,202 @@
|
||||
#
|
||||
# spec file for package newt (Version 0.52.4)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: newt
|
||||
BuildRequires: popt-devel python-devel slang-devel
|
||||
URL: ftp://download.fedora.redhat.com/pub/fedora/linux/core/development/source/SRPMS/newt-0.52.4-2.fc7.src.rpm
|
||||
Summary: Nifty Erik's Windowing Toolkit
|
||||
Version: 0.52.4
|
||||
Release: 1
|
||||
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
|
||||
Group: System/Libraries
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Patch1: %{name}-%{version}-if1close.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Provides: snack = %{version}-%{release}
|
||||
Requires: slang
|
||||
%{py_requires}
|
||||
%package devel
|
||||
Summary: Development files for the Newt windowing toolkit
|
||||
Provides: newtd
|
||||
Requires: newt = %{version}
|
||||
Requires: slang
|
||||
Group: Development/Libraries/C and C++
|
||||
Obsoletes: newtd
|
||||
|
||||
%description
|
||||
Newt is a programming library for color text-mode widget-based user
|
||||
interfaces. Newt can be used to add stacked windows, entry widgets,
|
||||
check boxes, radio buttons, labels, plain text fields, scrollbars,
|
||||
etc., to text mode user interfaces.
|
||||
|
||||
This package also contains the shared library needed by programs built
|
||||
with newt, as well as a Dialog replacement called whiptail.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Erik Troan <ewt@redhat.com>
|
||||
|
||||
|
||||
%description devel
|
||||
This package contains the header files and libraries necessary for
|
||||
developing applications which use newt.
|
||||
|
||||
Newt is a development library for text mode user interfaces.
|
||||
|
||||
Install newt-devel if you want to develop applications which depend on
|
||||
newt.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Erik Troan <ewt@redhat.com>
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1
|
||||
|
||||
%build
|
||||
%{?suse_update_config:%{suse_update_config -f}}
|
||||
export CFLAGS="$RPM_OPT_FLAGS -fPIC -Wall -fno-strict-aliasing"
|
||||
%configure --with-gpm-support --without-tcl
|
||||
make depend
|
||||
make PYTHONVERS=python%{py_ver}
|
||||
make shared PYTHONVERS=python%{py_ver}
|
||||
|
||||
%install
|
||||
make instroot=%buildroot install PYTHONVERS=python%{py_ver}
|
||||
make instroot=%buildroot install-sh PYTHONVERS=python%{py_ver}
|
||||
chmod 0644 peanuts.py popcorn.py
|
||||
# currently we don't support these languages
|
||||
for lang in dz mg tl wo; do
|
||||
rm -rf %buildroot%_datadir/locale/$lang
|
||||
done
|
||||
%find_lang %{name}
|
||||
|
||||
%clean
|
||||
rm -rf %buildroot
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%post devel -p /sbin/ldconfig
|
||||
|
||||
%postun devel -p /sbin/ldconfig
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr (-,root,root)
|
||||
%doc COPYING
|
||||
%{_bindir}/whiptail
|
||||
%{_libdir}/libnewt.so.*
|
||||
%{py_sitedir}/*
|
||||
%{_mandir}/man1/whiptail.1*
|
||||
|
||||
%files devel
|
||||
%defattr (-,root,root)
|
||||
%doc tutorial.sgml peanuts.py popcorn.py
|
||||
%{_includedir}/newt.h
|
||||
%{_libdir}/libnewt.a
|
||||
%{_libdir}/libnewt.so
|
||||
|
||||
%changelog -n newt
|
||||
* Thu Dec 21 2006 - lrupp@suse.de
|
||||
- new upstream version 0.52.4: patches included upstream
|
||||
+ fix entry corruption when reading multibyte characters
|
||||
and double width character handling
|
||||
+ avoid overflow/crash in scale
|
||||
- makefile, configure and spec cleanup
|
||||
- package whiptail.1 and locale files
|
||||
* Fri Sep 22 2006 - lrupp@suse.de
|
||||
- fix build with python 2.5 (thanks to aj)
|
||||
- useful fixes from RH bugzilla included:
|
||||
* #137957 : fix screen corruption
|
||||
* #81352 : fix help dialog
|
||||
* #83203 : make textbox with scrollbar focusable
|
||||
* #86074 : turn off cursor when entry terminated form
|
||||
* #186053 : better handling of listbox and checkboxtree focus
|
||||
* #187545 : be more color friendly to 8-color terminals
|
||||
* #189981 : fix handling windows larger than screen size
|
||||
* fix checkboxtree positioning
|
||||
* unfocus when displaying help
|
||||
* fix double width character handling in checkboxtree and listbox
|
||||
* Tue May 09 2006 - lrupp@suse.de
|
||||
- add "Provides: snack" to specfile
|
||||
- do not build whiptcl to avoid dependency on tcl (RH #177346)
|
||||
(whiptcl is currently not used by anything)
|
||||
- Apply patch by Bill Nottingham (thanks) to improve scrollbar appearance
|
||||
(RH #174771)
|
||||
- Fix a crash in checkboxtree.c (RH #165347)
|
||||
- draw correct dialog sizes on the screen (see RH #185950) - applying
|
||||
patch from Tomas Mraz (thanks)
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Mon Dec 12 2005 - lrupp@suse.de
|
||||
- new version 0.52.2
|
||||
- include whiptcl.so
|
||||
* Thu Nov 10 2005 - lrupp@suse.de
|
||||
- only do gpmclose if gpmopen succeeed
|
||||
(see https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=118530)
|
||||
- include example files (peanuts.py, popcorn.py) in devel package
|
||||
- use "-fPIC -Wall -fno-strict-aliasing" in CFLAGS
|
||||
* Mon Sep 26 2005 - mls@suse.de
|
||||
- make devel package require base package
|
||||
* Mon Jul 25 2005 - lrupp@suse.de 0.51.6
|
||||
- use of %%run_ldconfig
|
||||
* Fri Jun 17 2005 - lrupp@suse.de 0.51.6
|
||||
- use more macros: fix build on 64bit
|
||||
* Fri Jun 17 2005 - lrupp@suse.de 0.51.6
|
||||
- use $RPM_OPT_FLAGS
|
||||
- delete /usr/lib/phyton in build to avoid errors from abuild
|
||||
=> we've a symlink to /usr/lib/python2.4
|
||||
* Thu Jun 16 2005 - ro@suse.de
|
||||
- fix files pagaged twice (real path and over symlink)
|
||||
* Tue Feb 15 2005 - ro@suse.de
|
||||
- added python deps
|
||||
* Mon Jan 24 2005 - ro@suse.de
|
||||
- fix lib64 build
|
||||
* Tue Nov 30 2004 - cwh@suse.de
|
||||
- updated to 0.51.6
|
||||
* Wed Jun 02 2004 - ro@suse.de
|
||||
- get rid of some compiler warnings
|
||||
* Thu Feb 26 2004 - hmacht@suse.de
|
||||
- building as non-root
|
||||
* Tue Feb 24 2004 - cwh@suse.de
|
||||
- added soname link to package
|
||||
* Mon Sep 15 2003 - cwh@suse.de
|
||||
- removed wrong "Provides: snack" from spec-file
|
||||
* Wed Aug 20 2003 - ro@suse.de
|
||||
- expand filelist
|
||||
- fix lib64 issues
|
||||
* Wed Aug 20 2003 - cwh@suse.de
|
||||
- fixed to compile with tcl8.4
|
||||
* Tue Jan 16 2001 - schwab@suse.de
|
||||
- Fix missing -fPIC in Makefile.
|
||||
- Fix use of varargs.
|
||||
* Wed Nov 29 2000 - ro@suse.de
|
||||
- changed neededforbuild <tcld> to <tcl-devel>
|
||||
* Wed Nov 29 2000 - smid@suse.cz
|
||||
- subpackage renamed: newtd => newt-devel
|
||||
* Fri Nov 24 2000 - ro@suse.de
|
||||
- fixes for 2.0-python
|
||||
* Sun Oct 29 2000 - kukuk@suse.de
|
||||
- Add python-devel to need for build
|
||||
* Mon May 22 2000 - smid@suse.cz
|
||||
- fixed to compile with tcl8.3
|
||||
* Wed May 10 2000 - nadvornik@suse.cz
|
||||
- update to 0.50.8
|
||||
- added BuildRoot
|
||||
* Mon Jan 17 2000 - nashif@suse.de
|
||||
- Initial Release ( Version 0.50)
|
||||
Reference in New Issue
Block a user