diff options
| author | Paul Kohut <paulkohut@Paul-Kohuts-Mac-Pro.local> | 2009-12-10 06:29:28 -0800 |
|---|---|---|
| committer | Paul Kohut <paulkohut@Paul-Kohuts-Mac-Pro.local> | 2009-12-10 06:29:28 -0800 |
| commit | f53401b2fbc498fe529214b8c0b365390830efe2 (patch) | |
| tree | 6aa59cfb3ff016a4715fb5a4414f3c95466b3597 | |
| parent | ba310e8b58d686ee9897b26a7edab5b778a8d96f (diff) | |
Organize Plugin Projects
1. Reference all plugins in AllElements.xcodeproj.
2. For each Plugin Project -
a. Refactor plugin to use common "xcconfig" files, located in QS_SOURCE_ROOT/configuration (Quicksilvers configuration files)
b. Change "Targets" - "Run Script" to "Run script only when installing"
c. Changed "Project" - "Edit Property Settings" - "Configuration" "Release" to be based on "Release".
i. Remove all setting overrides.
d. Changed "Project" - "Edit Property Settings" - "Configuration" "Debug" to be based on "Debug".
i. Removed all setting overrides.
e. Changed "Target" "Property Settings" - "Debug" to be based on "QSPlugIn_Debug"
i. Removed all setting overrides.
ii. Override "Other Flags" with -bundle
iii. Override "Product Name" with either value already there or found in info.plist.
iv. Add "ZERO_LINK" definition set to YES.
f. Changed "Target" "Property Settings" - "Release" to be based on "QSPlugIn_Release"
i. Removed all setting overrides.
ii. Override "Other Flags" with -bundle
iii. Override "Product Name" with either value already there or found in info.plist.
iv. Add "ZERO_LINK" definition set to NO.
g. Compile for both Release and Debug -
i. If program compiles then move project reference to "Compiles" group.
ii. Try and fix compiler errors moving project reference either to "compiles" or...
iii. If program won't compile move project reference to "Does not compile. Needs tweaking" group. These need to be examined later.
| -rw-r--r-- | QSDeliciousPlugIn.xcodeproj/project.pbxproj | 123 | ||||
| -rw-r--r-- | QSDeliciousPlugIn_Prefix.pch | 10 | ||||
| -rw-r--r-- | QSDeliciousPlugIn_Source.m | 1 |
3 files changed, 39 insertions, 95 deletions
diff --git a/QSDeliciousPlugIn.xcodeproj/project.pbxproj b/QSDeliciousPlugIn.xcodeproj/project.pbxproj index 292a5f1..03b9ea3 100644 --- a/QSDeliciousPlugIn.xcodeproj/project.pbxproj +++ b/QSDeliciousPlugIn.xcodeproj/project.pbxproj @@ -22,7 +22,14 @@ /* End PBXBuildFile section */ /* Begin PBXFileReference section */ - 32DBCF980370C29C00C91783 /* QSDeliciousPlugIn_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = QSDeliciousPlugIn_Prefix.pch; sourceTree = "<group>"; }; + 14A6EB3910CFFC79000B05B4 /* Common.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Common.xcconfig; sourceTree = "<group>"; }; + 14A6EB3A10CFFC79000B05B4 /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = "<group>"; }; + 14A6EB3B10CFFC79000B05B4 /* Developer.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Developer.xcconfig; sourceTree = "<group>"; }; + 14A6EB3C10CFFC79000B05B4 /* QSPlugIn_Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = QSPlugIn_Debug.xcconfig; sourceTree = "<group>"; }; + 14A6EB3D10CFFC79000B05B4 /* QSPlugIn_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = QSPlugIn_Prefix.pch; sourceTree = "<group>"; }; + 14A6EB3E10CFFC79000B05B4 /* QSPlugIn_Release.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = QSPlugIn_Release.xcconfig; sourceTree = "<group>"; }; + 14A6EB3F10CFFC79000B05B4 /* QSPlugIn.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = QSPlugIn.xcconfig; sourceTree = "<group>"; }; + 14A6EB4010CFFC79000B05B4 /* Release.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = "<group>"; }; 7F8AD05007F2503600011548 /* QSDeliciousPlugInSource.nib */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; path = QSDeliciousPlugInSource.nib; sourceTree = "<group>"; }; 7F9441A00803A9D9007EDC31 /* QSObjectSource.name.strings */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; path = QSObjectSource.name.strings; sourceTree = "<group>"; }; 7FB0DC190B91FF8600A5B6FF /* bookmark_icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = bookmark_icon.png; sourceTree = "<group>"; }; @@ -57,6 +64,7 @@ 0259C574FE90428111CA0C5A /* QSDeliciousPlugIn */ = { isa = PBXGroup; children = ( + 14A6EB3610CFFC56000B05B4 /* Configuration */, 32DBCF9E0370C38000C91783 /* Classes */, 32DBCF9F0370C38200C91783 /* Other Sources */, 0259C582FE90428111CA0C5A /* Resources */, @@ -76,6 +84,21 @@ name = Resources; sourceTree = "<group>"; }; + 14A6EB3610CFFC56000B05B4 /* Configuration */ = { + isa = PBXGroup; + children = ( + 14A6EB3910CFFC79000B05B4 /* Common.xcconfig */, + 14A6EB3A10CFFC79000B05B4 /* Debug.xcconfig */, + 14A6EB3B10CFFC79000B05B4 /* Developer.xcconfig */, + 14A6EB3C10CFFC79000B05B4 /* QSPlugIn_Debug.xcconfig */, + 14A6EB3D10CFFC79000B05B4 /* QSPlugIn_Prefix.pch */, + 14A6EB3E10CFFC79000B05B4 /* QSPlugIn_Release.xcconfig */, + 14A6EB3F10CFFC79000B05B4 /* QSPlugIn.xcconfig */, + 14A6EB4010CFFC79000B05B4 /* Release.xcconfig */, + ); + path = Configuration; + sourceTree = QS_SOURCE_ROOT; + }; 1ED78706FE9D4A0611CA0C5A /* Products */ = { isa = PBXGroup; children = ( @@ -108,7 +131,6 @@ E182BE3A06FC9B13007BF2C2 /* Localizable.strings */, E182BCCF06FC8203007BF2C2 /* QSDeliciousPlugIn_Source.h */, E182BCD006FC8203007BF2C2 /* QSDeliciousPlugIn_Source.m */, - 32DBCF980370C29C00C91783 /* QSDeliciousPlugIn_Prefix.pch */, 7F8AD05007F2503600011548 /* QSDeliciousPlugInSource.nib */, E182BE2206FC9AB5007BF2C2 /* QSDeliciousPrefPane.h */, E182BE2306FC9AB5007BF2C2 /* QSDeliciousPrefPane.m */, @@ -181,14 +203,14 @@ /* Begin PBXShellScriptBuildPhase section */ E1022B2806B3475D00299BEC /* ShellScript */ = { isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; + buildActionMask = 8; files = ( ); inputPaths = ( ); outputPaths = ( ); - runOnlyForDeploymentPostprocessing = 0; + runOnlyForDeploymentPostprocessing = 1; shellPath = /bin/sh; shellScript = "$SRCROOT/bltrversion $INFOPLIST_FILE"; }; @@ -218,129 +240,60 @@ /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ - 7F07AFAB085E432E00E2AFC4 /* Development */ = { + 7F07AFAB085E432E00E2AFC4 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 14A6EB3C10CFFC79000B05B4 /* QSPlugIn_Debug.xcconfig */; buildSettings = { - BUILD_DIR = "$(SYMROOT)/PlugIns/"; - COPY_PHASE_STRIP = NO; - FRAMEWORK_SEARCH_PATHS = ( - /Volumes/Lore/Forge/Development/Quicksilver/build/Quicksilver.app/Contents/Frameworks, - /Volumes/Lore/Forge/Build, - "$(SRCROOT)", - "$(SRCROOT)/../../../Build/Release", - ); - GCC_DYNAMIC_NO_PIC = NO; - GCC_ENABLE_FIX_AND_CONTINUE = YES; - GCC_GENERATE_DEBUGGING_SYMBOLS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = QSDeliciousPlugIn_Prefix.pch; - INFOPLIST_FILE = Info.plist; - INSTALL_PATH = "$(HOME)/Developer/Palettes"; OTHER_LDFLAGS = "-bundle"; PRODUCT_NAME = "del.icio.us Bookmarks"; - WRAPPER_EXTENSION = qsplugin; ZERO_LINK = YES; }; - name = Development; + name = Debug; }; 7F07AFAC085E432E00E2AFC4 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 14A6EB3E10CFFC79000B05B4 /* QSPlugIn_Release.xcconfig */; buildSettings = { - COPY_PHASE_STRIP = YES; - FRAMEWORK_SEARCH_PATHS = ( - /Volumes/Lore/Forge/Development/Quicksilver/build/Quicksilver.app/Contents/Frameworks, - /Volumes/Lore/Forge/Build, - "$(SRCROOT)", - "$(SRCROOT)/../../../Build/Release", - ); - GCC_ENABLE_FIX_AND_CONTINUE = NO; - GCC_GENERATE_DEBUGGING_SYMBOLS = NO; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = QSDeliciousPlugIn_Prefix.pch; - INFOPLIST_FILE = Info.plist; OTHER_LDFLAGS = "-bundle"; PRODUCT_NAME = "Social Bookmarks"; - WRAPPER_EXTENSION = qsplugin; ZERO_LINK = NO; }; name = Release; }; - 7F07AFAD085E432E00E2AFC4 /* Default */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUILD_DIR = "$(SYMROOT)/PlugIns/"; - FRAMEWORK_SEARCH_PATHS = ( - /Volumes/Lore/Forge/Development/Quicksilver/build/Quicksilver.app/Contents/Frameworks, - /Volumes/Lore/Forge/Build, - "$(SRCROOT)", - "$(SRCROOT)/../../../Build/Release", - ); - GCC_GENERATE_DEBUGGING_SYMBOLS = NO; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = QSDeliciousPlugIn_Prefix.pch; - INFOPLIST_FILE = Info.plist; - INSTALL_PATH = "$(HOME)/Developer/Palettes"; - OTHER_LDFLAGS = "-bundle"; - PRODUCT_NAME = "del.icio.us Bookmarks"; - WRAPPER_EXTENSION = qsplugin; - }; - name = Default; - }; - 7F07AFAF085E432E00E2AFC4 /* Development */ = { + 7F07AFAF085E432E00E2AFC4 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 14A6EB3A10CFFC79000B05B4 /* Debug.xcconfig */; buildSettings = { - ARCHS = ( - ppc, - i386, - ); - MACOSX_DEPLOYMENT_TARGET = 10.4; - SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; }; - name = Development; + name = Debug; }; 7F07AFB0085E432E00E2AFC4 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 14A6EB4010CFFC79000B05B4 /* Release.xcconfig */; buildSettings = { - ARCHS = ( - ppc, - i386, - ); - MACOSX_DEPLOYMENT_TARGET = 10.4; - SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; }; name = Release; }; - 7F07AFB1085E432E00E2AFC4 /* Default */ = { - isa = XCBuildConfiguration; - buildSettings = { - MACOSX_DEPLOYMENT_TARGET = 10.4; - SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; - }; - name = Default; - }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ 7F07AFAA085E432E00E2AFC4 /* Build configuration list for PBXNativeTarget "Social Bookmarks Module" */ = { isa = XCConfigurationList; buildConfigurations = ( - 7F07AFAB085E432E00E2AFC4 /* Development */, + 7F07AFAB085E432E00E2AFC4 /* Debug */, 7F07AFAC085E432E00E2AFC4 /* Release */, - 7F07AFAD085E432E00E2AFC4 /* Default */, ); defaultConfigurationIsVisible = 0; - defaultConfigurationName = Default; + defaultConfigurationName = Debug; }; 7F07AFAE085E432E00E2AFC4 /* Build configuration list for PBXProject "QSDeliciousPlugIn" */ = { isa = XCConfigurationList; buildConfigurations = ( - 7F07AFAF085E432E00E2AFC4 /* Development */, + 7F07AFAF085E432E00E2AFC4 /* Debug */, 7F07AFB0085E432E00E2AFC4 /* Release */, - 7F07AFB1085E432E00E2AFC4 /* Default */, ); defaultConfigurationIsVisible = 0; - defaultConfigurationName = Default; + defaultConfigurationName = Debug; }; /* End XCConfigurationList section */ }; diff --git a/QSDeliciousPlugIn_Prefix.pch b/QSDeliciousPlugIn_Prefix.pch deleted file mode 100644 index d4ab3f4..0000000 --- a/QSDeliciousPlugIn_Prefix.pch +++ /dev/null @@ -1,10 +0,0 @@ -// -// Prefix header for all source files of the 'QSDeliciousPlugIn' target in the 'QSDeliciousPlugIn' project -// - -#ifdef __OBJC__ - #import <Cocoa/Cocoa.h> - #import <QSCore/QSCore.h> -#endif - -#define kQSDeliciousTagType @"us.icio.del.tag"
\ No newline at end of file diff --git a/QSDeliciousPlugIn_Source.m b/QSDeliciousPlugIn_Source.m index 899b847..1267654 100644 --- a/QSDeliciousPlugIn_Source.m +++ b/QSDeliciousPlugIn_Source.m @@ -9,6 +9,7 @@ #import "QSDeliciousPlugIn_Source.h" #import <QSCore/QSCore.h> +#define kQSDeliciousTagType @"us.icio.del.tag" #define DELICIOUS_API_URL @"api.del.icio.us/v1" #define MAGNOLIA_API_URL @"ma.gnolia.com/api/mirrord/v1" |