rpms/gramps/F-8 gramps-2.2.8-gtkspell.patch, NONE, 1.1 gramps.spec, 1.36, 1.37

Brian Pepple (bpepple) fedora-extras-commits at redhat.com
Mon Nov 12 05:31:37 UTC 2007


Author: bpepple

Update of /cvs/pkgs/rpms/gramps/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13829

Modified Files:
	gramps.spec 
Added Files:
	gramps-2.2.8-gtkspell.patch 
Log Message:
* Sun Nov 11 2007 Brian Pepple <bpepple at fedoraproject.org> - 2.2.8-6
- Add patch to fix bug w/gtkspell. (#376881)


gramps-2.2.8-gtkspell.patch:

--- NEW FILE gramps-2.2.8-gtkspell.patch ---
diff -urp gramps-2.2.8.OLD/src/Spell.py gramps-2.2.8/src/Spell.py
--- gramps-2.2.8.OLD/src/Spell.py	2007-01-04 00:09:42.000000000 -0500
+++ gramps-2.2.8/src/Spell.py	2007-11-11 23:40:12.000000000 -0500
@@ -50,7 +50,8 @@ try:
         print _("Spelling checker cannot be used without language set.")
         print _("Set your locale appropriately to use spelling checker.")
     else:
-        gtkspell.Spell(gtk.TextView()).set_language(lang)
+	tv = gtk.TextView()
+        gtkspell.Spell(tv).set_language(lang)
         success = True
 except ImportError, msg:
     print _("Spelling checker is not installed")


Index: gramps.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gramps/F-8/gramps.spec,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- gramps.spec	5 Aug 2007 22:57:50 -0000	1.36
+++ gramps.spec	12 Nov 2007 05:31:04 -0000	1.37
@@ -1,12 +1,13 @@
 Name:           gramps
 Version:        2.2.8
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Genealogical Research and Analysis Management Programming System
 
 Group:          Applications/Productivity
 License:        GPLv2+
 URL:            http://gramps.sourceforge.net/
 Source0:        http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+Patch0:		%{name}-%{version}-gtkspell.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:	noarch
 
@@ -52,6 +53,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .gtkspell
 
 
 %build
@@ -137,6 +139,9 @@
 
 
 %changelog
+* Sun Nov 11 2007 Brian Pepple <bpepple at fedoraproject.org> - 2.2.8-6
+- Add patch to fix bug w/gtkspell. (#376881)
+
 * Sun Aug  5 2007 Brian Pepple <bpepple at fedoraproject.org> - 2.2.8-5
 - Update license tag.
 




More information about the fedora-extras-commits mailing list