openbsd-ports/graphics/mirage/patches/patch-setup_py
ajacoutot cadde759d0 Import mirage-0.9.5.2.
Mirage is a fast and simple GTK+ image viewer.
<...>

Make the Makefile unreadable by adding spaces around `=' as requested
by fgsch@ to please espie@.

with help from and ok fgsch@
2011-03-29 07:07:12 +00:00

13 lines
806 B
Plaintext

$OpenBSD: patch-setup_py,v 1.1.1.1 2011/03/29 07:07:12 ajacoutot Exp $
--- setup.py.orig Wed Mar 23 14:11:27 2011
+++ setup.py Wed Mar 23 14:12:24 2011
@@ -58,7 +58,7 @@ setup(name='Mirage',
],
py_modules = ['mirage'],
ext_modules = [Extension(name='imgfuncs', sources=['imgfuncs.c']),
- Extension(name='xmouse', sources=['xmouse.c'], libraries=['X11'])],
+ Extension(name='xmouse', sources=['xmouse.c'], include_dirs=['${X11BASE}/include'], library_dirs=['${X11BASE}/lib'], libraries=['X11'])],
scripts = ['mirage'],
data_files=[('share/mirage', ['README', 'COPYING', 'CHANGELOG', 'TODO', 'TRANSLATORS', 'stock_shuffle.png', 'stock_leave-fullscreen.png', 'stock_fullscreen.png', 'mirage_blank.png']),
('share/applications', ['mirage.desktop']),