- don't display an annoying warning after we removed py-gnome-desktop.
This commit is contained in:
parent
2567b825ac
commit
88bb99e364
@ -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>
|
||||
|
22
x11/gdevilspie/patches/patch-gdevilspie
Normal file
22
x11/gdevilspie/patches/patch-gdevilspie
Normal 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:
|
Loading…
x
Reference in New Issue
Block a user