[89158] trunk/dports/aqua/AppKiDo

ryandesign at macports.org ryandesign at macports.org
Thu Jan 19 19:32:24 PST 2012


Revision: 89158
          http://trac.macports.org/changeset/89158
Author:   ryandesign at macports.org
Date:     2012-01-19 19:32:23 -0800 (Thu, 19 Jan 2012)
Log Message:
-----------
AppKiDo: update to 0.986sp4 (#31739) and fix a crash on 64-bit systems (#28543)

Modified Paths:
--------------
    trunk/dports/aqua/AppKiDo/Portfile

Added Paths:
-----------
    trunk/dports/aqua/AppKiDo/files/
    trunk/dports/aqua/AppKiDo/files/0001-compile-fixes-for-Xcode-3.1.3.patch
    trunk/dports/aqua/AppKiDo/files/patch-GlobalClasses-AKPrefUtils.m.diff

Modified: trunk/dports/aqua/AppKiDo/Portfile
===================================================================
--- trunk/dports/aqua/AppKiDo/Portfile	2012-01-20 03:26:22 UTC (rev 89157)
+++ trunk/dports/aqua/AppKiDo/Portfile	2012-01-20 03:32:23 UTC (rev 89158)
@@ -1,10 +1,11 @@
 # $Id$
 
 PortSystem      1.0
+PortGroup       github 1.0
 PortGroup       xcode 1.0
 
+github.setup    mklein-de appkido 0.986sp4
 name            AppKiDo
-version         0.985
 categories      aqua devel
 platforms       darwin
 maintainers     puffin.lb.shuttle.de:michael.klein openmaintainer
@@ -16,17 +17,23 @@
         documentation files provided by Developer Tools and \
         presents the results in a powerful interface.
 
-homepage        http://homepage.mac.com/aglee/downloads/
-master_sites    ${homepage}
-distname        ${name}-${version}-src
-extract.suffix  .tgz
-worksrcdir      ${name}
+homepage        http://homepage.mac.com/aglee/downloads/appkido.html
+distname        ${name}-${version}
 
-checksums       sha1    7f3d2db40759ea43d1eabc860b6cebde65c3f66c \
-                rmd160  b840fb85df73ef17b90291a82dbb9be6cfc3acf8
+checksums       sha256  86facd2d797766c94da70a25ab6ddbe50d6c2b9b9792376707cfd7e903504324 \
+                rmd160  15f501cd979cf6ca903314cf97485ac11799edc4
 
-xcode.destroot.settings-append  SKIP_INSTALL=NO
+patchfiles      0001-compile-fixes-for-Xcode-3.1.3.patch \
+                patch-GlobalClasses-AKPrefUtils.m.diff
 
+build.dir       ${worksrcpath}/src
+
+xcode.build.settings-append     SDKROOT_i386=${configure.sdkroot} \
+                                SDKROOT_ppc=${configure.sdkroot}
+
+xcode.destroot.settings-append  SDKROOT_i386=${configure.sdkroot} \
+                                SDKROOT_ppc=${configure.sdkroot} \
+                                SKIP_INSTALL=NO
+
 livecheck.type  regex
-livecheck.url   http://homepage.mac.com/aglee/downloads/appkido.html
-livecheck.regex "AppKiDo-(.*?)-src.tgz"
+livecheck.regex ${name}-(\[\\w.\]+)\\.zip

Added: trunk/dports/aqua/AppKiDo/files/0001-compile-fixes-for-Xcode-3.1.3.patch
===================================================================
--- trunk/dports/aqua/AppKiDo/files/0001-compile-fixes-for-Xcode-3.1.3.patch	                        (rev 0)
+++ trunk/dports/aqua/AppKiDo/files/0001-compile-fixes-for-Xcode-3.1.3.patch	2012-01-20 03:32:23 UTC (rev 89158)
@@ -0,0 +1,66 @@
+From 12dc3b7541ba5bbe4ccb15679d2dcd4012ba589e Mon Sep 17 00:00:00 2001
+From: Michael Klein <michael.klein at puffin.lb.shuttle.de>
+Date: Sun, 23 Oct 2011 22:14:44 +0200
+Subject: [PATCH] compile fixes for Xcode 3.1.3
+
+---
+ src/AppKiDo.xcodeproj/project.pbxproj |   12 +++++++++---
+ src/AppKiDo_Prefix.pch                |    5 +++++
+ 2 files changed, 14 insertions(+), 3 deletions(-)
+
+--- src/AppKiDo.xcodeproj/project.pbxproj.orig
++++ src/AppKiDo.xcodeproj/project.pbxproj
+@@ -2415,6 +2415,8 @@
+ 				GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+ 				GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
+ 				GCC_OPTIMIZATION_LEVEL = 0;
++				GCC_PRECOMPILE_PREFIX_HEADER = YES;
++				GCC_PREFIX_HEADER = AppKiDo_Prefix.pch;
+ 				GCC_TREAT_WARNINGS_AS_ERRORS = NO;
+ 				GCC_VERSION = 4.0;
+ 				GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
+@@ -2434,7 +2436,7 @@
+ 				GCC_WARN_UNUSED_VALUE = YES;
+ 				GCC_WARN_UNUSED_VARIABLE = YES;
+ 				LINKER_DISPLAYS_FILES_FOR_UNDEFINED_SYMBOLS = YES;
+-				MACOSX_DEPLOYMENT_TARGET = 10.3;
++				MACOSX_DEPLOYMENT_TARGET = 10.4;
+ 				PREBINDING = NO;
+ 				WARNING_CFLAGS = (
+ 					"-Wmost",
+@@ -2459,6 +2461,8 @@
+ 				GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+ 				GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
+ 				GCC_OPTIMIZATION_LEVEL = 2;
++				GCC_PRECOMPILE_PREFIX_HEADER = YES;
++				GCC_PREFIX_HEADER = AppKiDo_Prefix.pch;
+ 				GCC_TREAT_WARNINGS_AS_ERRORS = NO;
+ 				GCC_VERSION = 4.0;
+ 				GCC_WARN_64_TO_32_BIT_CONVERSION = NO;
+@@ -2503,8 +2507,10 @@
+ 		73DA1ED3089AEA560016F230 /* Default */ = {
+ 			isa = XCBuildConfiguration;
+ 			buildSettings = {
+-				MACOSX_DEPLOYMENT_TARGET = 10.3;
+-				SDKROOT = /Developer/SDKs/MacOSX10.3.9.sdk;
++				GCC_PRECOMPILE_PREFIX_HEADER = YES;
++				GCC_PREFIX_HEADER = AppKiDo_Prefix.pch;
++				MACOSX_DEPLOYMENT_TARGET = 10.4;
++				SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
+ 			};
+ 			name = Default;
+ 		};
+--- src/AppKiDo_Prefix.pch.orig
++++ src/AppKiDo_Prefix.pch
+@@ -5,6 +5,11 @@
+ #ifdef __OBJC__
+     #import <Cocoa/Cocoa.h>
+ 
++    #if MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_5
++    @protocol NSToolbarDelegate <NSObject> @end
++    @protocol NSTextViewDelegate <NSObject> @end
++    #endif
++
+     #import "DIGSLog.h"
+     #import <DIGSFileProcessor.h>
+     #import <DIGSFindBuffer.h>

Added: trunk/dports/aqua/AppKiDo/files/patch-GlobalClasses-AKPrefUtils.m.diff
===================================================================
--- trunk/dports/aqua/AppKiDo/files/patch-GlobalClasses-AKPrefUtils.m.diff	                        (rev 0)
+++ trunk/dports/aqua/AppKiDo/files/patch-GlobalClasses-AKPrefUtils.m.diff	2012-01-20 03:32:23 UTC (rev 89158)
@@ -0,0 +1,11 @@
+--- src/GlobalClasses/AKPrefUtils.m.orig	2009-07-23 20:35:52.000000000 +0200
++++ src/GlobalClasses/AKPrefUtils.m	2011-02-25 22:28:13.000000000 +0100
+@@ -58,7 +58,7 @@
+     NSMutableArray *fwNames = [NSMutableArray arrayWithArray:prefArray];
+     
+     // In older versions, "AppKit" was saved as "ApplicationKit" in prefs.
+-    unsigned index = [fwNames indexOfObject:@"ApplicationKit"];
++    NSUInteger index = [fwNames indexOfObject:@"ApplicationKit"];
+     if (index != NSNotFound)
+     {
+         [fwNames removeObjectAtIndex:index];
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120119/f7368bda/attachment-0001.html>


More information about the macports-changes mailing list