[MacPorts] #18474: gimp-app 2.6.0_1 openDoc failure

MacPorts noreply at macports.org
Thu Feb 12 07:12:54 PST 2009


#18474: gimp-app 2.6.0_1 openDoc failure
--------------------------------+-------------------------------------------
 Reporter:  edheil@…            |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:  Port Bugs                            
Component:  ports               |     Version:  1.7.0                                
 Keywords:                      |        Port:                                       
--------------------------------+-------------------------------------------
 apologies if this is a duplicate ticket; I'm not sure if I submitted or
 just previewed it and then closed the tab a few minutes ago.

 2 problems with opening files using Gimp.app

 1) gimp2 no longer builds gimp-remote by default.  already submitted a bug
 about that:

 https://trac.macports.org/ticket/18473

 2) on Leopard, with xquartz 2.3.2 (and I suspect also Apple's X11), the
 DISPLAY variable trick in Gimp.app/Contents/Resources/openDoc no longer
 works; in fact, it prevents openDoc from working at all.

 Changing it to something like this:

 #!/bin/sh
 #
 # Author: Aaron Voisine <aaron at voisine.org>

 DISPFILE=/tmp/display.$UID
 if [ -e $DISPFILE ]
 then
   export "DISPLAY=`cat $DISPFILE`"
 fi
 exec "/opt/local/bin/gimp-remote" "$@"

 makes it work on Leopard (which doesn't set /tmp/display.nnnn), and I
 imagine it would still work on older versions of OS X which do use
 /tmp/display.nnn

 This could be seen as an upstream bug but honestly I could not figure out
 how to do submit a bug from the website at http://gimp-
 app.sourceforge.net/ .

-- 
Ticket URL: <http://trac.macports.org/ticket/18474>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list