rpms/newt/F-7 newt-0.52.7-snack.patch, NONE, 1.1 .cvsignore, 1.21, 1.22 newt.spec, 1.48, 1.49 sources, 1.22, 1.23 newt-0.52.6-countitems.patch, 1.1, NONE newt-0.52.6-cursor.patch, 1.1, NONE newt-0.52.6-entry.patch, 1.1, NONE newt-0.52.6-memleaks.patch, 1.1, NONE

Miroslav Lichvar (mlichvar) fedora-extras-commits at redhat.com
Wed Aug 8 14:07:10 UTC 2007


Author: mlichvar

Update of /cvs/pkgs/rpms/newt/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9678

Modified Files:
	.cvsignore newt.spec sources 
Added Files:
	newt-0.52.7-snack.patch 
Removed Files:
	newt-0.52.6-countitems.patch newt-0.52.6-cursor.patch 
	newt-0.52.6-entry.patch newt-0.52.6-memleaks.patch 
Log Message:
- add back support for list of Entries in EntryWindow prompts in snack
  (#248878)
- add support to snack for multiple selection and border in listbox
  and cursorAtEnd in entry (patch by Shawn Starr)
- fix scrollbar positioning in listbox
- cope with backward system time jumps (#240691)
- free helplines and windows in newtFinished, check for overflow (#239992)
- add release to -devel and -static requires (#238784)


newt-0.52.7-snack.patch:

--- NEW FILE newt-0.52.7-snack.patch ---
Index: newt/snack.py
===================================================================
RCS file: /usr/local/CVS/newt/snack.py,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- newt/snack.py	13 Jun 2007 17:17:53 -0000	1.69
+++ newt/snack.py	11 Jul 2007 17:00:28 -0000	1.70
@@ -826,7 +826,8 @@
     for n in prompts:
         if (type(n) == types.TupleType):
             (n, e) = n
-            e = Entry(entryWidth, e)
+            if (type(e) in types.StringTypes):
+                e = Entry(entryWidth, e)
         else:
             e = Entry(entryWidth)
 


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/newt/F-7/.cvsignore,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- .cvsignore	2 Mar 2007 13:26:50 -0000	1.21
+++ .cvsignore	8 Aug 2007 14:06:36 -0000	1.22
@@ -1 +1 @@
-newt-0.52.6.tar.gz
+newt-0.52.7.tar.gz


Index: newt.spec
===================================================================
RCS file: /cvs/pkgs/rpms/newt/F-7/newt.spec,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- newt.spec	12 Apr 2007 17:30:43 -0000	1.48
+++ newt.spec	8 Aug 2007 14:06:36 -0000	1.49
@@ -1,32 +1,29 @@
 Summary: A development library for text mode user interfaces
 Name: newt
-Version: 0.52.6
-Release: 3%{?dist}
+Version: 0.52.7
+Release: 1%{?dist}
 License: LGPL
 Group: System Environment/Libraries
 # The source for this package was pulled from upstream's vcs.  Use the
 # following commands to generate the tarball:
-# cvs -d :pserver:anonymous at elvis.redhat.com:/usr/local/CVS co -r r0-52-6 newt
+# cvs -d :pserver:anonymous at elvis.redhat.com:/usr/local/CVS co -r r0-52-7 newt
 # cd newt; ./autogen.sh; ./configure; make create-archive
 Source: newt-%{version}.tar.gz
 BuildRequires: python, python-devel, slang-devel
 Provides: snack = %{version}-%{release}
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Patch1: newt-0.52.6-entry.patch
-Patch2: newt-0.52.6-cursor.patch
-Patch3: newt-0.52.6-countitems.patch
-Patch4: newt-0.52.6-memleaks.patch
+Patch1: newt-0.52.7-snack.patch
 
 %package devel
 Summary: Newt windowing toolkit development files
-Requires: slang-devel %{name} = %{version}
+Requires: slang-devel %{name} = %{version}-%{release}
 Group: Development/Libraries
 
 # The loader portion of the installer needs to link statically against libnewt,
 # so the static library must be shipped.
 %package static
 Summary: Newt windowing toolkit static library
-Requires: newt-devel = %{version}
+Requires: %{name}-devel = %{version}-%{release}
 Group: Development/Libraries
 
 %Description
@@ -53,10 +50,7 @@
 
 %prep
 %setup -q
-%patch1 -p0 -b .entry
-%patch2 -p0 -b .cursor
-%patch3 -p0 -b .countitems
-%patch4 -p0 -b .memleaks
+%patch1 -p1 -b .snack
 
 %build
 # gpm support seems to smash the stack w/ we use help in anaconda??
@@ -96,6 +90,16 @@
 %{_libdir}/libnewt.a
 
 %changelog
+* Wed Aug 08 2007 Miroslav Lichvar <mlichvar at redhat.com> - 0.52.7-1.fc7
+- add back support for list of Entries in EntryWindow prompts in snack
+  (#248878)
+- add support to snack for multiple selection and border in listbox
+  and cursorAtEnd in entry (patch by Shawn Starr)
+- fix scrollbar positioning in listbox
+- cope with backward system time jumps (#240691)
+- free helplines and windows in newtFinished, check for overflow (#239992)
+- add release to -devel and -static requires (#238784)
+
 * Thu Apr 12 2007 Miroslav Lichvar <mlichvar at redhat.com> - 0.52.6-3
 - fix cursor positioning when setting entry or checkbox flags
 - fix counting of items in checkboxtree


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/newt/F-7/sources,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- sources	2 Mar 2007 13:26:50 -0000	1.22
+++ sources	8 Aug 2007 14:06:36 -0000	1.23
@@ -1 +1 @@
-7cfe94ca483aae7ae31c26387f146b6c  newt-0.52.6.tar.gz
+635c6eb55033b6e0671fd2e3fc59fedc  newt-0.52.7.tar.gz


--- newt-0.52.6-countitems.patch DELETED ---


--- newt-0.52.6-cursor.patch DELETED ---


--- newt-0.52.6-entry.patch DELETED ---


--- newt-0.52.6-memleaks.patch DELETED ---




More information about the fedora-extras-commits mailing list