Changeset 2997

Show
Ignore:
Timestamp:
06/21/05 15:35:57 (4 years ago)
Author:
morris
Message:

Do not link againt ZankaAdditions?, dyld can't find it in System Preferences.app, use NSClassFromString in runtime instead

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • WiredServer/trunk/Panel/WPWired.m

    r2975 r2997  
    3131#import "WCConfigController.h" 
    3232#import "WCDashboardController.h" 
     33#import "WCLogController.h" 
    3334#import "WCSettings.h" 
    3435#import "WCStatusController.h" 
  • WiredServer/trunk/WCAccountsController.m

    r2993 r2997  
    550550 
    551551 
    552  
    553552- (IBAction)selectGroup:(id)sender { 
    554553        WCAccount   *account; 
  • WiredServer/trunk/WCConfigController.m

    r2989 r2997  
    10121012         
    10131013        tracker = [[_config arrayForKey:@"tracker"] objectAtIndex:row]; 
    1014         url = [ZAURL URLWithString:tracker]; 
     1014        url = [NSClassFromString(@"ZAURL") URLWithString:tracker]; 
    10151015         
    10161016        if(url) { 
     
    10371037 
    10381038        tracker = [[_config arrayForKey:@"tracker"] objectAtIndex:row]; 
    1039         url = [ZAURL URLWithString:tracker]; 
     1039        url = [NSClassFromString(@"ZAURL") URLWithString:tracker]; 
    10401040 
    10411041        if(tableColumn == _trackerTableColumn) { 
  • WiredServer/trunk/WiredServer.xcodeproj/project.pbxproj

    r2987 r2997  
    2828                        }; 
    2929                        dependencies = ( 
     30                                77B2B2D208680DEC005E1B8F /* PBXTargetDependency */, 
    3031                        ); 
    3132                        name = "Wired Server"; 
     
    113114                778C04710730F7A300F29BC7 /* WCConfigController.m in Sources */ = {isa = PBXBuildFile; fileRef = 778C046F0730F7A300F29BC7 /* WCConfigController.m */; }; 
    114115                778C04760730F89500F29BC7 /* WCStatusController.m in Sources */ = {isa = PBXBuildFile; fileRef = 778C04740730F89500F29BC7 /* WCStatusController.m */; }; 
     116                77B2B1B708680D3B005E1B8F /* Wired.prefPane in CopyFiles */ = {isa = PBXBuildFile; fileRef = A5A348450729839E00A16E9A /* Wired.prefPane */; }; 
    115117                77C6D5BA072CF3BA008F6164 /* Group.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 77C6D5B8072CF3BA008F6164 /* Group.tiff */; }; 
    116118                77C6D5BB072CF3BA008F6164 /* User.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 77C6D5B9072CF3BA008F6164 /* User.tiff */; }; 
     
    132134                A5A3494A07298A2700A16E9A /* Wired.nib in Resources */ = {isa = PBXBuildFile; fileRef = A5A3494607298A2700A16E9A /* Wired.nib */; }; 
    133135                A5BE6D8B0864B6C800DA5C89 /* ZankaAdditions.framework in Copy Files (Frameworks) */ = {isa = PBXBuildFile; fileRef = A5BE6D250864B62000DA5C89 /* ZankaAdditions.framework */; }; 
    134                 A5BE6D8D0864B6CC00DA5C89 /* ZankaAdditions.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A5BE6D250864B62000DA5C89 /* ZankaAdditions.framework */; }; 
    135136                A5E4A9640794799900FA127F /* WCDashboardController.m in Sources */ = {isa = PBXBuildFile; fileRef = A5E4A9610794792600FA127F /* WCDashboardController.m */; }; 
    136137/* End PBXBuildFile section */ 
     
    176177 
    177178/* Begin PBXContainerItemProxy section */ 
     179                77B2B2D108680DEC005E1B8F /* PBXContainerItemProxy */ = { 
     180                        isa = PBXContainerItemProxy; 
     181                        containerPortal = 089C1669FE841209C02AAC07 /* Project object */; 
     182                        proxyType = 1; 
     183                        remoteGlobalIDString = 8D202CE80486D31800D8A456 /* Wired Panel */; 
     184                        remoteInfo = "Wired Panel"; 
     185                }; 
    178186                A50335570864C22200CE6911 /* PBXContainerItemProxy */ = { 
    179187                        isa = PBXContainerItemProxy; 
    180188                        containerPortal = 089C1669FE841209C02AAC07 /* Project object */; 
    181189                        proxyType = 1; 
    182                         remoteGlobalIDString = A5BE6D2D0864B63000DA5C89 /* Zanka Additions */
     190                        remoteGlobalIDString = A5BE6D2D0864B63000DA5C89
    183191                        remoteInfo = "Zanka Additions"; 
    184192                }; 
     
    187195                        containerPortal = 089C1669FE841209C02AAC07 /* Project object */; 
    188196                        proxyType = 1; 
    189                         remoteGlobalIDString = A50335AD0864C98900CE6911 /* Wired Server */
     197                        remoteGlobalIDString = A50335AD0864C98900CE6911
    190198                        remoteInfo = "Wired Server"; 
    191199                }; 
     
    228236 
    229237/* Begin PBXCopyFilesBuildPhase section */ 
     238                77B2B1B308680D31005E1B8F /* CopyFiles */ = { 
     239                        isa = PBXCopyFilesBuildPhase; 
     240                        buildActionMask = 2147483647; 
     241                        dstPath = /Library/PreferencePanes; 
     242                        dstSubfolderSpec = 0; 
     243                        files = ( 
     244                                77B2B1B708680D3B005E1B8F /* Wired.prefPane in CopyFiles */, 
     245                        ); 
     246                        runOnlyForDeploymentPostprocessing = 0; 
     247                }; 
    230248                A5D96D9F078DE16400CD982E /* Copy Files (Frameworks) */ = { 
    231249                        isa = PBXCopyFilesBuildPhase; 
     
    309327                                8D202CF40486D31800D8A456 /* PreferencePanes.framework in Frameworks */, 
    310328                                A540687805CDC46100068FBB /* Security.framework in Frameworks */, 
    311                                 A5BE6D8D0864B6CC00DA5C89 /* ZankaAdditions.framework in Frameworks */, 
    312329                        ); 
    313330                        runOnlyForDeploymentPostprocessing = 0; 
     
    519536                                A5D972E6078F017100CD982E /* Info.plist */, 
    520537                                A50336990865AA5E00CE6911 /* postflight */, 
     538                                A503369B0865AA5E00CE6911 /* postinstall */, 
    521539                                A503369A0865AA5E00CE6911 /* postupgrade */, 
    522                                 A503369B0865AA5E00CE6911 /* postinstall */, 
    523540                                A503369C0865AA5E00CE6911 /* preinstall */, 
    524541                                A503369D0865AA5E00CE6911 /* preupgrade */, 
     
    540557                                A5D96D9F078DE16400CD982E /* Copy Files (Frameworks) */, 
    541558                                A5992EB5072A77F900E67617 /* Run Script (Version) */, 
    542                                 A50334A10864BAC100CE6911 /* Run Script (Copy) */, 
     559                                77B2B1B308680D31005E1B8F /* CopyFiles */, 
    543560                        ); 
    544561                        buildRules = ( 
     
    665682 
    666683/* Begin PBXShellScriptBuildPhase section */ 
    667                 A50334A10864BAC100CE6911 /* Run Script (Copy) */ = { 
    668                         isa = PBXShellScriptBuildPhase; 
    669                         buildActionMask = 2147483647; 
    670                         files = ( 
    671                         ); 
    672                         inputPaths = ( 
    673                         ); 
    674                         name = "Run Script (Copy)"; 
    675                         outputPaths = ( 
    676                         ); 
    677                         runOnlyForDeploymentPostprocessing = 0; 
    678                         shellPath = /bin/sh; 
    679                         shellScript = "rm -rf \"$HOME/Library/PreferencePanes/$WRAPPER_NAME\"\ncp -Rp \"$BUILT_PRODUCTS_DIR/$WRAPPER_NAME\" \"$HOME/Library/PreferencePanes/\""; 
    680                 }; 
    681684                A50335AC0864C98900CE6911 /* Run Script (Wired Server) */ = { 
    682685                        isa = PBXShellScriptBuildPhase; 
     
    772775 
    773776/* Begin PBXTargetDependency section */ 
     777                77B2B2D208680DEC005E1B8F /* PBXTargetDependency */ = { 
     778                        isa = PBXTargetDependency; 
     779                        target = 8D202CE80486D31800D8A456 /* Wired Panel */; 
     780                        targetProxy = 77B2B2D108680DEC005E1B8F /* PBXContainerItemProxy */; 
     781                }; 
    774782                A50335580864C22200CE6911 /* PBXTargetDependency */ = { 
    775783                        isa = PBXTargetDependency; 
     
    830838                                COPY_PHASE_STRIP = NO; 
    831839                                GCC_GENERATE_DEBUGGING_SYMBOLS = YES; 
    832                                 OPTIMIZATION_CFLAGS = ""; 
     840                                OPTIMIZATION_CFLAGS = "-O0"; 
    833841                                OTHER_CFLAGS = ""; 
    834842                                OTHER_LDFLAGS = ""; 
     
    847855                        isa = XCBuildConfiguration; 
    848856                        buildSettings = { 
    849                                 OPTIMIZATION_CFLAGS = ""; 
     857                                OPTIMIZATION_CFLAGS = "-O0"; 
    850858                                OTHER_CFLAGS = ""; 
    851859                                OTHER_LDFLAGS = ""; 
     
    866874                                COPY_PHASE_STRIP = YES; 
    867875                                GCC_GENERATE_DEBUGGING_SYMBOLS = NO; 
    868                                 OPTIMIZATION_CFLAGS = ""; 
     876                                OPTIMIZATION_CFLAGS = "-O0"; 
    869877                                OTHER_CFLAGS = ""; 
    870878                                OTHER_LDFLAGS = ""; 
  • WiredServer/trunk/install.sh

    r2986 r2997  
    1313cd "$PROJECT_TEMP_DIR" 
    1414rm -rf wired 
    15 svn co "$SVNURL/wired/trunk" wired || exit 1 
     15svn export "$SVNURL/wired/trunk" wired || exit 1 
    1616cd wired 
    17 svn co "$SVNURL/libzanka/trunk" libzanka || exit 1 
     17svn export "$SVNURL/libzanka/trunk" libzanka || exit 1 
    1818 
    1919rm -rf "$ROOT/Library/Wired" "$ROOT/usr/local/man" 
    20 ./configure -C --prefix="$ROOT/Library" --with-fake-prefix="/Library" --with-wireddir="Wired" --mandir="$ROOT/usr/local/man" --enable-warnings 
     20./configure --prefix="$ROOT/Library" --with-fake-prefix="/Library" --with-wireddir="Wired" --mandir="$ROOT/usr/local/man" --enable-warnings 
    2121make || exit 1 
    2222sudo make install || exit 1 
     
    2828 
    2929# clean 
    30 find "$ROOT" \( -name .DS_Store -o -name .svn -o -name CVS \) -print0 | sudo xargs -0 rm -rf 
     30find "$ROOT" -name .DS_Store -print0 | sudo xargs -0 rm -rf 
    3131sudo chmod 1775 "$ROOT" 
    3232sudo chown root:wheel "$ROOT" 
  • WiredServer/trunk/makepkg.sh

    r1613 r2997  
    55 
    66rm -rf "$PACKAGE" 
    7 /Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker -build -p "$PACKAGE" -f "$ROOT/Contents" -r "$ROOT/Resources" -i "$ROOT/Info.plist" -d "$ROOT/Description.plist" 
     7/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker -build -p "$PACKAGE" -f "$ROOT/Contents" -r "$ROOT/Resources" -i "$ROOT/Info.plist" -d "$ROOT/Description.plist" || exit 1 
    88 
    99exit 0