[115930] trunk/dports/aqua/gimp-app

devans at macports.org devans at macports.org
Tue Jan 14 10:51:48 PST 2014


Revision: 115930
          https://trac.macports.org/changeset/115930
Author:   devans at macports.org
Date:     2014-01-14 10:51:47 -0800 (Tue, 14 Jan 2014)
Log Message:
-----------
gimp-app: rename app bundle resource that provides link to gimp executable from 'script' to 'GIMP', fixes app naming in gimp2 quartz OS X native menu (#42113).

Modified Paths:
--------------
    trunk/dports/aqua/gimp-app/Portfile

Added Paths:
-----------
    trunk/dports/aqua/gimp-app/files/patch-ScriptExecController.m.diff

Modified: trunk/dports/aqua/gimp-app/Portfile
===================================================================
--- trunk/dports/aqua/gimp-app/Portfile	2014-01-14 18:36:58 UTC (rev 115929)
+++ trunk/dports/aqua/gimp-app/Portfile	2014-01-14 18:51:47 UTC (rev 115930)
@@ -6,7 +6,7 @@
 
 name            gimp-app
 version         2.8.2
-revision        1
+revision        2
 license         GPL-2+
 maintainers     nomaintainer
 description     GIMP.app application bundle
@@ -35,7 +35,8 @@
     delete ${gimpapp}/Contents/Resources/share
 }
 
-patchfiles      patch-ScriptExec.xcodeproj-project.pbxproj.diff
+patchfiles      patch-ScriptExec.xcodeproj-project.pbxproj.diff \
+                patch-ScriptExecController.m.diff
 
 pre-build {
     # clean up old precompiled headers just in case
@@ -47,7 +48,7 @@
         ${destroot}${applications_dir}/ScriptExec.app/Contents/MacOS/ScriptExec \
         ${gimpapp}/Contents/MacOS/GIMP
 
-    ln -s ${prefix}/bin/gimp ${gimpapp}/Contents/Resources/script
+    ln -s ${prefix}/bin/gimp ${gimpapp}/Contents/Resources/GIMP
     ln -s ${prefix}/bin ${gimpapp}/Contents/Resources
     ln -s ${prefix}/lib ${gimpapp}/Contents/Resources
     ln -s ${prefix}/share ${gimpapp}/Contents/Resources

Added: trunk/dports/aqua/gimp-app/files/patch-ScriptExecController.m.diff
===================================================================
--- trunk/dports/aqua/gimp-app/files/patch-ScriptExecController.m.diff	                        (rev 0)
+++ trunk/dports/aqua/gimp-app/files/patch-ScriptExecController.m.diff	2014-01-14 18:51:47 UTC (rev 115930)
@@ -0,0 +1,11 @@
+--- ScriptExecController.m.orig	2014-01-14 09:42:58.000000000 -0800
++++ ScriptExecController.m	2014-01-14 09:43:56.000000000 -0800
+@@ -55,7 +55,7 @@
+     NSEnumerator *enumerator = [files objectEnumerator];
+     id filename;
+ 
+-    args[i++] = strdup([[[NSBundle mainBundle] pathForResource:@"script"
++    args[i++] = strdup([[[NSBundle mainBundle] pathForResource:@"GIMP"
+                                                ofType:nil] UTF8String]);
+     while (filename = [enumerator nextObject]) {
+         args[i++] = strdup([filename UTF8String]);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140114/8062651c/attachment.html>


More information about the macports-changes mailing list