openbsd-ports/x11/pypanel/patches/patch-setup_py
ajacoutot 48883af3f6 - add a patch (from homepage) to introduce a STARTUP_DELAY parameter
that makes pypanel load after an interval of time (this is useful in
case the window manager hasn't loaded up completely; in which case,
pypanel might not display correctly)
- install egg-info file
- regen patches and fix WANTLIB while here
- take over maintainership
2008-01-15 14:07:39 +00:00

35 lines
1.4 KiB
Plaintext

$OpenBSD: patch-setup_py,v 1.3 2008/01/15 14:07:39 ajacoutot Exp $
--- setup.py.orig Thu Jun 23 03:48:49 2005
+++ setup.py Tue Jan 15 14:57:22 2008
@@ -3,10 +3,10 @@ from distutils.core import Extension, setup
from distutils import sysconfig
# Full paths to imlib2-config and freetype-config, adjust as needed -
-configs = ["/usr/bin/freetype-config", "/usr/bin/imlib2-config"]
+configs = ["!!X11BASE!!/bin/freetype-config", "!!LOCALBASE!!/bin/imlib2-config"]
# Adjust or add any additional include directories here -
-idirs = ["/usr/X11R6/include"]
+idirs = ["!!X11BASE!!/include"]
# Add any additional library directories here -
ldirs = []
@@ -15,7 +15,7 @@ ldirs = []
cargs = ["-Wall"]
# Full path to libImlib2 shared library
-imlib2 = "/usr/lib/libImlib2.so.1"
+imlib2 = "libImlib2.so"
#------------------------------------------------------------------------------
# The rest of this script should not need to be modified!
@@ -117,7 +117,7 @@ setup(name = "PyPanel",
description = "Lightweight panel/taskbar for X11 Window Managers",
long_description = "See README for more information",
url = "http://pypanel.sourceforge.net",
- data_files = [(install_dir, files)],
+# data_files = [(install_dir, files)],
scripts = ["pypanel"],
ext_modules = [module]
)