Blame mcomix-0.92-fedora-rpmbuild-gtk.patch

Mamoru Tasaka 0e175eb
--- mcomix-0.92/mcomix/constants.py.disp	2011-05-20 04:22:23.000000000 +0900
Mamoru Tasaka 0e175eb
+++ mcomix-0.92/mcomix/constants.py	2011-08-21 23:26:06.000000000 +0900
Mamoru Tasaka 0e175eb
@@ -80,6 +80,10 @@
Mamoru Tasaka 0e175eb
     # Missing GTK is already handled in mcomixstarter.py,
Mamoru Tasaka 0e175eb
     # but this file is imported first, so ignore exceptions here.
Mamoru Tasaka 0e175eb
     pass
Mamoru Tasaka 0e175eb
+except RuntimeError:
Mamoru Tasaka 0e175eb
+    # On Fedora's rpmbuild. DISPLAY is always unset and Fedora's
Mamoru Tasaka 0e175eb
+    # gtk fails to import without DISPLAY, ignore for now
Mamoru Tasaka 0e175eb
+    pass
Mamoru Tasaka 0e175eb
 
Mamoru Tasaka 0e175eb
 
Mamoru Tasaka 0e175eb
 # vim: expandtab:sw=4:ts=4