blog.tigion.de

2565 days

Gimp per MacPorts vermisst X11

23.11.2007 / Software / 3 Kommentare

Wer Gimp unter Mac OS X 10.5 per MacPorts selbst installiert, wird sich wundern wieso gimp.app sich über ein fehlendes X11 beschwert. Das liegt daran, dass wohl der Port zu Gimp von OS X 10.4 ausgeht.

Einfach in der Datei /Applications/MacPorts/Gimp.app/Contents/Resources/script mit einem Editor der Wahl öffnen und alles zwischen CWD= “/opt/local” und cd ~/ mit einem # am Anfang der Zeile auskommentieren.

#!/bin/sh
# ...
CWD="/opt/local"
#ps -wx -ocommand | grep -e '[X]11' > /dev/null
#...
#ps -wx -ocommand | grep -e '[X]11' > /dev/null || exit 11

cd ~/
exec "$CWD/bin/gimp" "$@"

Leopard erkennt wenn ein Programm X11 benötigt, so dass die auskommentierten Angaben an dieser Stelle kontra Produktiv wären.

Tags:

Kommentare

Hinterlasse eine Antwort

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind markiert *

*

Du kannst folgende HTML-Tags benutzen: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>