[Lunar-commits] <moonbase> Zim: fix quick note crash

Paul Bredbury brebs at lunar-linux.org
Sun Mar 6 12:04:28 CET 2011


commit 9a0b3d69e35752fee7d4ac7e6ae95b5ee5979895
Author: Paul Bredbury <brebs at lunar-linux.org>
Date:   Sun Mar 6 18:04:28 2011 +0700

    Zim: fix quick note crash
---
 editors/Zim/BUILD   |   11 ++++++++---
 editors/Zim/DETAILS |    2 +-
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/editors/Zim/BUILD b/editors/Zim/BUILD
index 316e587..9fa4acd 100644
--- a/editors/Zim/BUILD
+++ b/editors/Zim/BUILD
@@ -1,7 +1,12 @@
 (
 
-    prepare_install &&
-    ./setup.py install  
-    
+  # Fix "quick note" crash:  global name 'page' is not defined
+  # From http://koji.fedoraproject.org/koji/buildinfo?buildID=232194
+  sedit "s:ui.present(page) # also works with proxy:ui.present(path) # also works with proxy:1" zim/plugins/quicknote.py &&
+
+  prepare_install &&
+
+  ./setup.py install
+
 ) > $C_FIFO 2>&1
 
diff --git a/editors/Zim/DETAILS b/editors/Zim/DETAILS
index f45cd95..6bb20bf 100644
--- a/editors/Zim/DETAILS
+++ b/editors/Zim/DETAILS
@@ -6,7 +6,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/zim-$VERSION
       SOURCE_VFY=sha1:8dd9efda950a70aacaed984df175b622e0d77744
         WEB_SITE=http://zim-wiki.org/
          ENTERED=20060813
-         UPDATED=20110214
+         UPDATED=20110305
       MAINTAINER=perldude at lunar-linux.org
            SHORT="a desktop wiki and outliner"
 


More information about the Lunar-commits mailing list