Gimp-app version 2.6.0 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    gimp-app  most recent diff


    version 2.6.0

      View the most recent changes for the gimp-app port at: gimp-app.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for gimp-app.
      The raw portfile for gimp-app 2.6.0 is located here:
      http://gimp-app.darwinports.com/dports/aqua/gimp-app/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/gimp-app


      # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
      The gimp-app Portfile 56036 2009-08-23 16:59:10Z devans macports.org $

      PortSystem 1.0
      PortGroup xcode 1.0

      Name: gimp-app
      Version: 2.6.0
      Revision: 1
      Maintainers: devans
      Description: Gimp.app application bundle
      Long Description: ${description}

      Category: aqua graphics
      Homepage: http://gimp-app.sourceforge.net/

      depends_run bin:gimp:gimp2

      Master Sites: sourceforge
      distfiles ScriptExec.tar.gz gimp.app.skel.tar.gz
      Checksums: ScriptExec.tar.gz md5 fc444a1e18cf2664f29af6ca6ca335ef gimp.app.skel.tar.gz md5 66ad4912a3c71056c479c8eeef11fd43
      worksrcdir ScriptExec

      pre-patch {
      foreach f {Info.plist PkgInfo} {
      delete ${workpath}/Gimp.app/Contents/$f
      xinstall -m 644 ${filespath}/$f ${workpath}/Gimp.app/Contents
      }
      delete ${workpath}/Gimp.app/Contents/Resources/script
      xinstall -m 755 ${filespath}/script ${workpath}/Gimp.app/Contents/Resources
      reinplace "s|__VERSION__|${version}|g" ${workpath}/Gimp.app/Contents/Info.plist
      }

      patch {
      reinplace "s|`dirname \\\\\"\$0\\\\\"`|${prefix}|g" ${workpath}/Gimp.app/Contents/Resources/openDoc ${workpath}/Gimp.app/Contents/Resources/script
      }

      pre-build {
      # clean up old precompiled headers just in case
      system "cd ${worksrcpath} && ${xcodebuildcmd} clean"
      }

      destroot {
      xinstall -m 755 ${workpath}/Gimp.app/Contents/Resources/bin/getdisplay.sh ${destroot}${prefix}/bin
      }
      post-destroot {
      foreach f {Gimp.icns bin etc lib share} {
      delete ${workpath}/Gimp.app/Contents/Resources/$f
      }
      xinstall -m 644 -W ${filespath} Gimp.icns xcf.icns ${workpath}/Gimp.app/Contents/Resources

      xinstall -m 755 ${worksrcpath}/build/Deployment/ScriptExec.app/Contents/MacOS/ScriptExec ${workpath}/Gimp.app/Contents/MacOS/Gimp

      xinstall -d ${destroot}/Applications/MacPorts
      copy ${workpath}/Gimp.app ${destroot}/Applications/MacPorts
      }

      post-install {
      ui_msg "
      If you are having problems viewing the help files when using Gimp.app,
      1- Make sure you have the user manual installed (port gimp-user-manual)
      2- Add the following line to ~/.gimp-2.6/gimprc :
      (help-locales \"LANG\")
      where LANG is your two-letters locale (fr, en, jp, ...)
      "
      }

      Variant: quartz {
      patch {}
      destroot {
      foreach f {openDoc script} {
      delete ${workpath}/Gimp.app/Contents/Resources/$f
      ln -s ${prefix}/bin/gimp ${workpath}/Gimp.app/Contents/Resources/$f
      }
      }
      }

      livecheck.regex ${name} (\[0-9.\]+).* released.*

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/gimp-app
      % sudo port install gimp-app
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching gimp-app
      ---> Verifying checksum for gimp-app
      ---> Extracting gimp-app
      ---> Configuring gimp-app
      ---> Building gimp-app with target all
      ---> Staging gimp-app into destroot
      ---> Installing gimp-app
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using gimp-app with these commands:
      %  man gimp-app
      % apropos gimp-app
      % which gimp-app
      % locate gimp-app

     Where to find more information:

    Darwin Ports



    Lightbox this page.