- don't display an annoying warning after we removed py-gnome-desktop.

This commit is contained in:
jasper 2011-11-11 15:57:40 +00:00
parent 2567b825ac
commit 88bb99e364
2 changed files with 24 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.13 2011/09/16 12:29:13 espie Exp $
# $OpenBSD: Makefile,v 1.14 2011/11/11 15:57:40 jasper Exp $
PKG_ARCH= *
@ -6,7 +6,7 @@ COMMENT= gui to configure devilspie rules
MODPY_EGG_VERSION= 0.5
DISTNAME= gdevilspie-${MODPY_EGG_VERSION}
REVISION= 3
REVISION= 4
EPOCH= 0
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>

View File

@ -0,0 +1,22 @@
$OpenBSD: patch-gdevilspie,v 1.1 2011/11/11 15:57:40 jasper Exp $
OpenBSD lacks the Python WNCK module after py-gnome-desktop was removed.
--- gdevilspie.orig Sat Jun 12 03:41:19 2010
+++ gdevilspie Fri Nov 11 16:56:58 2011
@@ -36,14 +36,7 @@ except:
print "pyGTK is not correctly installed, exiting."
sys.exit(1)
-DISABLE_FILLER=""
-try:
- import gDevilspie.filler as filler
-except:
- error = gtk.MessageDialog(None, 0, gtk.MESSAGE_ERROR, gtk.BUTTONS_CLOSE, "Make sure that Python-Wnck is correctly installed for 'filler' module to run properly.")
- response = error.run()
- error.destroy()
- DISABLE_FILLER="True"
+DISABLE_FILLER="True"
DISABLE_XDG=""
try: