[MacPorts] #17009: gimp-2.6.0 +without_gnome -dbus Dependency Compile errors

MacPorts noreply at macports.org
Tue Oct 28 18:11:41 PDT 2008


#17009: gimp-2.6.0 +without_gnome -dbus Dependency Compile errors
------------------------------------+---------------------------------------
  Reporter:  jackjrabbit at gmail.com  |       Owner:  devans at macports.org               
      Type:  defect                 |      Status:  assigned                          
  Priority:  Normal                 |   Milestone:  Port Bugs                         
 Component:  ports                  |     Version:  1.6.0                             
Resolution:                         |    Keywords:  gimp, perl, libcanvas, libgtk, gtk
      Port:  gimp2                  |  
------------------------------------+---------------------------------------
Changes (by devans at macports.org):

  * status:  new => assigned


Comment:

 These instructions are incorrect or at least out of date as they refer to
 old gimp ports and variants that have
 been renamed and the global variants feature in MacPorts that they
 recommend is broken
 in version 1.60 (although it has just been fixed in trunk and should be
 available in the next release 1.70).

 To build a native version, you need to first install a native gtk+
 environment then use it to build gimp2 and its dependencies
 using the +no_x11 variant where necessary.

 I suggest the following:

 1) Make a clean install of MacPorts as a separate instance to be used for
 native gtk+ development. The MacPorts Guide
 has instructions on doing this here:
 [http://guide.macports.org/#installing.macports.source.multiple].  On my
 machine, I have my main version that I use for X11 apps installed in the
 default /opt/local  but I have a second version installed in /opt/gtk for
 native development.

 2) Set your path for your native instance  In my example, the path is
 {{{
 /Library/Frameworks/Python.framework/Versions/Current/bin /opt/gtk/bin
 /opt/gtk/sbin /Users/devans/bin /usr/local/bin /bin /sbin /usr/bin
 /usr/sbin)
 }}}

 It's helpful to set up shell aliases or the like to switch from one path
 to the other.

 3) Do a selfupdate to get the latest Portfiles.  This is a good thing to
 do anytime something doesn't work before you file a ticket.
 {{{
 sudo port -d selfupdate
 }}}

 4) Install the following ports (in this order) to get a native gtk+
 environment:
 {{{
 sudo port install cairo +no_x11
 sudo port install pango +no_x11
 sudo port install gtk2 +no_x11
 }}}

 This should work on Leopard.  There are problems with gtk2 +no_x11 right
 now on Tiger (see #16978)

 5) Install these ports to build a native build of gimp2
 {{{
 sudo port install poppler +no_x11
 sudo port install gimp2 +no_x11
 }}}

 6) Optionally add these (but they are not necessary)
 {{{
 sudo port install macfile-gimp macclipboard-gimp icns-gimp
 }}}

 Don't install gimp-user-manual as it is out of date (applies to the 2.4
 series) and it
 takes a long time to build.  No new manual yet.  Read the release notes
 instead.

 7) Download GIMPskel.zip from gimp-app.sf.net and extract.  Note that this
 is a different gimp-app than
 the MacPorts port gimp-app.  The latter builds a launcher for the X11
 version of gimp2 only.

 8) Load ScriptExecCocoa/ScriptExec.xcodeproj with Xcode and click build

 9) run gimpguts.sh

 Please let me know your experience on this.  This is experimental
 territory.  I am currently working on a new gimp-app-native port that will
 hopefully automate some of this.

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


More information about the macports-tickets mailing list