Gimp2 version 2.6.7 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    version 2.6.7

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


      # -*- 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 gimp2 Portfile 57749 2009-09-16 04:30:02Z ryandesign macports.org $

      PortSystem 1.0

      Name: gimp2
      Version: 2.6.7
      Category: graphics
      Maintainers: devans
      Homepage: http://www.gimp.org/
      Platform: darwin

      Description: The GNU Image Manipulation Program
      Long Description: The GNU Image Manipulation Program (GIMP) is a powerful tool for the preparation and manipulation of digital images. The GIMP provides the user with a wide variety of image manipulation, painting, processing, and rendering tools.

      universal_variant no

      set branch [join [lrange [split ${version} .] 0 1] .]
      Master Sites: gimp:gimp/v${branch}/

      Checksums: md5 77ed86a8de9b48587efb24f2b115ad38 sha1 0661d162fecfd907e183ce42853dd5b9d3cb4c51 rmd160 c576674ba6547e4d31c34d6bb82c4d416addbaf1

      distname gimp-${version}
      use_bzip2 yes

      Patch Files: patch-etc-gimprc.diff

      depends_build port:pkgconfig port:intltool port:p5-xml-parser

      depends_lib port:iso-codes port:gegl port:gtk2 port:libmng port:libexif port:aalib port:librsvg port:poppler port:gnome-vfs port:libgnomeui port:curl port:libwmf port:lcms port:dbus-glib port:py25-gtk

      platform darwin 9 {
      post-patch {
      reinplace "s|-export-symbols-regex.*||g" ${worksrcpath}/plug-ins/pygimp/Makefile.am
      reinplace "s|-export-symbols-regex.*||g" ${worksrcpath}/plug-ins/pygimp/Makefile.in
      }
      }

      use_parallel_build yes
      configure.python ${prefix}/bin/python2.5
      configure.args --enable-mp --with-pdbgen --with-x --without-hal --without-alsa --without-gvfs --without-webkit

      Variant: no_python description {Disable Python scripts and filters} {
      depends_lib-delete port:py25-gtk
      configure.args-append --disable-python
      }

      Variant: gvfs description {Enable gvfs support} {
      depends_lib-append port:gvfs
      configure.args-delete --without-gvfs
      }

      Variant: remote description {Enable building of obsolete gimp-remote helper app} {
      configure.args-append --enable-gimp-remote
      }

      Variant: help_browser description {Enable Gimp help browser} {
      depends_lib-append port:webkit-gtk
      configure.args-delete --without-webkit
      }

      Variant: debug description {Enable debugging} {
      configure.args-append --enable-debug
      }

      if {[variant_isset no_x11]} {
      default_variants +quartz
      }

      if {![variant_isset quartz]} {
      default_variants +x11
      }

      pre-fetch {
      if {![variant_isset quartz] && ![variant_isset x11]} {
      error "Either +x11 or +quartz is required"
      }
      }

      pre-configure {
      if {[file exists ${prefix}/lib/gtk-2.0/include/gdkconfig.h]} {
      set gtk_not_quartz [catch {exec grep -q GDK_WINDOWING_QUARTZ ${prefix}/lib/gtk-2.0/include/gdkconfig.h}]
      set gtk_not_x11 [catch {exec grep -q GDK_WINDOWING_X11 ${prefix}/lib/gtk-2.0/include/gdkconfig.h}]
      if {[variant_isset quartz] && ${gtk_not_quartz}} {
      error "+quartz variant selected, but gtk2+x11 is installed"
      } elseif {[variant_isset x11] && ${gtk_not_x11}} {
      error "+x11 variant selected, but gtk2+quartz is installed"
      }
      } else {
      error "Cannot find gdkconfig.h"
      }
      }

      Variant: quartz requires no_x11 conflicts x11 {
      configure.ldflags-append -framework Carbon
      }

      Variant: x11 conflicts quartz description {Enable rendering in X11} {
      }

      Variant: no_x11 {
      configure.args-delete --with-x
      configure.args-append --without-x
      }

      livecheck.type regex
      livecheck.url ftp://ftp.gimp.org/pub/gimp/v${branch}/
      livecheck.regex "gimp-(${branch}(?:\\.\\d+)*)${extract.suffix}"

    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/gimp2
      % sudo port install gimp2
      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 gimp2
      ---> Verifying checksum for gimp2
      ---> Extracting gimp2
      ---> Configuring gimp2
      ---> Building gimp2 with target all
      ---> Staging gimp2 into destroot
      ---> Installing gimp2
    - 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 gimp2 with these commands:
      %  man gimp2
      % apropos gimp2
      % which gimp2
      % locate gimp2

     Where to find more information:

    Darwin Ports



    Lightbox this page.