[griffith] Upgrade to 0.12.1. Fix crash issue reported in #690232 modified: griffith.spec new file: tree_

Lakshmi Narasimhan T V narasim at fedoraproject.org
Wed Mar 23 17:07:03 UTC 2011


commit 596cc4e00dce22e4ee89bded5294a539e5a33777
Author: Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com>
Date:   Wed Mar 23 22:35:36 2011 +0530

    Upgrade to 0.12.1. Fix crash issue reported in #690232
    	modified:   griffith.spec
    	new file:   tree_view_fix.patch

 griffith.spec       |    7 ++++++-
 tree_view_fix.patch |   11 +++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/griffith.spec b/griffith.spec
index 4dd6da5..b46f797 100644
--- a/griffith.spec
+++ b/griffith.spec
@@ -1,6 +1,6 @@
 Name:           griffith
 Version:        0.12.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Media collection manager
 
 Group:          Applications/Multimedia
@@ -20,6 +20,7 @@ Requires:       python-sqlite2
 Requires:       python-imaging 
 Requires:       python-reportlab
 Requires:       gnome-python2-gtkspell
+Patch1:         tree_view_fix.patch
 
 
 %description
@@ -35,6 +36,7 @@ This Version comes with SQLite support. You need to install
 
 %prep
 %setup -q 
+%patch1 -p1 -b .orig
 
 find -iname "*.mo" -exec rm -f {} \;
 
@@ -86,6 +88,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Wed Mar 23 2011 Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com> - 0.12.1-2
+- Fix issue with crash #bug 676195
+
 * Wed Mar 23 2011 Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com> - 0.12.1-1
 - Upgrade to v0.12.1
 
diff --git a/tree_view_fix.patch b/tree_view_fix.patch
new file mode 100644
index 0000000..acab2e0
--- /dev/null
+++ b/tree_view_fix.patch
@@ -0,0 +1,11 @@
+--- griffith-0.12.1_orig/lib/main_treeview.py	2011-03-23 21:16:01.266866873 +0530
++++ griffith-0.12.1/lib/main_treeview.py	2011-03-23 21:17:05.935206701 +0530
+@@ -533,7 +533,7 @@
+     treemodel.set_value(iter, 5, movie.genre)
+     treemodel.set_value(iter, 6, movie.seen)
+     if movie.year is not None and (isinstance(movie.year, int) or isinstance(movie.year, long)):
+-        treemodel.set_value(iter, 7, movie.year)
++        treemodel.set_value(iter, 7, str(movie.year))
+     if movie.runtime is not None and (isinstance(movie.runtime, int) or isinstance(movie.runtime, long)):
+         treemodel.set_value(iter, 8, '%003d' % movie.runtime + _(' min'))
+     if movie.rating is not None and (isinstance(movie.rating, int) or isinstance(movie.rating, long)):


More information about the scm-commits mailing list