[61996] trunk/dports/graphics/gimp2

ryandesign at macports.org ryandesign at macports.org
Sun Dec 27 01:49:38 PST 2009


Revision: 61996
          http://trac.macports.org/changeset/61996
Author:   ryandesign at macports.org
Date:     2009-12-27 01:49:34 -0800 (Sun, 27 Dec 2009)
Log Message:
-----------
gimp2: update to 2.6.8 and fix 64-bit compilation (see #21011)

Modified Paths:
--------------
    trunk/dports/graphics/gimp2/Portfile

Added Paths:
-----------
    trunk/dports/graphics/gimp2/files/patch-plug-ins-twain-tw_mac.c.diff

Modified: trunk/dports/graphics/gimp2/Portfile
===================================================================
--- trunk/dports/graphics/gimp2/Portfile	2009-12-27 07:42:15 UTC (rev 61995)
+++ trunk/dports/graphics/gimp2/Portfile	2009-12-27 09:49:34 UTC (rev 61996)
@@ -4,8 +4,7 @@
 PortSystem 1.0
 
 name            gimp2
-version         2.6.7
-revision        1
+version         2.6.8
 categories      graphics
 maintainers     devans
 homepage        http://www.gimp.org/
@@ -23,14 +22,15 @@
 set branch      [join [lrange [split ${version} .] 0 1] .]
 master_sites    gimp:gimp/v${branch}/
 
-checksums       md5     77ed86a8de9b48587efb24f2b115ad38 \
-                sha1    0661d162fecfd907e183ce42853dd5b9d3cb4c51 \
-                rmd160  c576674ba6547e4d31c34d6bb82c4d416addbaf1
+checksums       md5     a4d9462c9420954824a80c9b1963f9d9 \
+                sha1    a550943f086abc9bf6b96d576741337b7186a4f4 \
+                rmd160  da02fedcc00ebaac04bfd21c153a7130d3ff5e08
 
 distname        gimp-${version}
 use_bzip2       yes
 
-patchfiles      patch-etc-gimprc.diff
+patchfiles      patch-etc-gimprc.diff \
+                patch-plug-ins-twain-tw_mac.c.diff
 
 depends_build   port:pkgconfig \
                 port:intltool \
@@ -61,7 +61,8 @@
 
 use_parallel_build  yes
 configure.python    ${prefix}/bin/python2.5
-configure.args  --enable-mp \
+configure.args  --build=${configure.build_arch}-apple-${os.platform}${os.version} \
+                --enable-mp \
                 --with-pdbgen \
                 --with-x \
                 --without-hal \

Added: trunk/dports/graphics/gimp2/files/patch-plug-ins-twain-tw_mac.c.diff
===================================================================
--- trunk/dports/graphics/gimp2/files/patch-plug-ins-twain-tw_mac.c.diff	                        (rev 0)
+++ trunk/dports/graphics/gimp2/files/patch-plug-ins-twain-tw_mac.c.diff	2009-12-27 09:49:34 UTC (rev 61996)
@@ -0,0 +1,15 @@
+--- plug-ins/twain/tw_mac.c.orig	2009-07-20 15:20:51.000000000 -0500
++++ plug-ins/twain/tw_mac.c	2009-12-27 02:51:31.000000000 -0600
+@@ -193,10 +193,12 @@
+ 
+   /* Voodoo magic fix inspired by java_swt launcher */
+   /* Without this the icon setting doesn't work about half the time. */
++#ifndef __LP64__
+   CGrafPtr p = BeginQDContextForApplicationDockTile();
+   EndQDContextForApplicationDockTile(p);
+ 
+   SetApplicationDockTileImage (icon);
++#endif
+ }
+ 
+ int
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091227/69b87a0d/attachment.html>


More information about the macports-changes mailing list