From 88bb99e364d5d112ce28fc750afaa3ef72129fe0 Mon Sep 17 00:00:00 2001 From: jasper Date: Fri, 11 Nov 2011 15:57:40 +0000 Subject: [PATCH] - don't display an annoying warning after we removed py-gnome-desktop. --- x11/gdevilspie/Makefile | 4 ++-- x11/gdevilspie/patches/patch-gdevilspie | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 x11/gdevilspie/patches/patch-gdevilspie diff --git a/x11/gdevilspie/Makefile b/x11/gdevilspie/Makefile index 593e816a054..eefdfa7f728 100644 --- a/x11/gdevilspie/Makefile +++ b/x11/gdevilspie/Makefile @@ -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 diff --git a/x11/gdevilspie/patches/patch-gdevilspie b/x11/gdevilspie/patches/patch-gdevilspie new file mode 100644 index 00000000000..7ffd9574f78 --- /dev/null +++ b/x11/gdevilspie/patches/patch-gdevilspie @@ -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: