BathyScapheで画像のインラインプレビューを可能にするプラグイン
| Revision | c5d9d53857caeda8205cc32661f37aed14c8b896 (tree) |
|---|---|
| Time | 2012-05-18 20:36:25 |
| Author | masakih <masakih@user...> |
| Commiter | masakih |
[Mod] Ex
| @@ -11,6 +11,14 @@ | ||
| 11 | 11 | 8D5B49B4048680CD000E48DA /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */; }; |
| 12 | 12 | F468C5C912201875009EFA3E /* BSILinkInfomation.m in Sources */ = {isa = PBXBuildFile; fileRef = F468C5C812201875009EFA3E /* BSILinkInfomation.m */; }; |
| 13 | 13 | F468C69D1220CA07009EFA3E /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F468C69C1220CA07009EFA3E /* WebKit.framework */; }; |
| 14 | + F4ADF9521565114F00F666EB /* notFound.png in Resources */ = {isa = PBXBuildFile; fileRef = F4F1DC6F0E546EC800055177 /* notFound.png */; }; | |
| 15 | + F4ADF9531565114F00F666EB /* Panel.xib in Resources */ = {isa = PBXBuildFile; fileRef = F4FE889E10F772DD0076B366 /* Panel.xib */; }; | |
| 16 | + F4ADF9551565114F00F666EB /* BSInlinePreviewer.m in Sources */ = {isa = PBXBuildFile; fileRef = F4C8070B0E53CCB000BF4144 /* BSInlinePreviewer.m */; }; | |
| 17 | + F4ADF9561565114F00F666EB /* BSILinkInfomation.m in Sources */ = {isa = PBXBuildFile; fileRef = F468C5C812201875009EFA3E /* BSILinkInfomation.m */; }; | |
| 18 | + F4ADF9581565114F00F666EB /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */; }; | |
| 19 | + F4ADF9591565114F00F666EB /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F468C69C1220CA07009EFA3E /* WebKit.framework */; }; | |
| 20 | + F4ADF9671565124200F666EB /* BSInlinePreviewerEx.m in Sources */ = {isa = PBXBuildFile; fileRef = F4ADF9661565124200F666EB /* BSInlinePreviewerEx.m */; }; | |
| 21 | + F4ADF9711565150D00F666EB /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = F4ADF96F156514F800F666EB /* InfoPlist.strings */; }; | |
| 14 | 22 | F4C8070C0E53CCB000BF4144 /* BSInlinePreviewer.m in Sources */ = {isa = PBXBuildFile; fileRef = F4C8070B0E53CCB000BF4144 /* BSInlinePreviewer.m */; }; |
| 15 | 23 | F4F1DC700E546EC800055177 /* notFound.png in Resources */ = {isa = PBXBuildFile; fileRef = F4F1DC6F0E546EC800055177 /* notFound.png */; }; |
| 16 | 24 | F4FE88A010F772DD0076B366 /* Panel.xib in Resources */ = {isa = PBXBuildFile; fileRef = F4FE889E10F772DD0076B366 /* Panel.xib */; }; |
| @@ -29,6 +37,12 @@ | ||
| 29 | 37 | F468C5C712201875009EFA3E /* BSILinkInfomation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BSILinkInfomation.h; sourceTree = "<group>"; }; |
| 30 | 38 | F468C5C812201875009EFA3E /* BSILinkInfomation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BSILinkInfomation.m; sourceTree = "<group>"; }; |
| 31 | 39 | F468C69C1220CA07009EFA3E /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = System/Library/Frameworks/WebKit.framework; sourceTree = SDKROOT; }; |
| 40 | + F4ADF95E1565114F00F666EB /* BSInlinePreviewerEx.plugin */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = BSInlinePreviewerEx.plugin; sourceTree = BUILT_PRODUCTS_DIR; }; | |
| 41 | + F4ADF95F1565115000F666EB /* BSInlinePreviewerEx-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "BSInlinePreviewerEx-Info.plist"; path = "/Users/masaki/Projects/GitRepos/BSInlinePreviewer/BSInlinePreviewerEx-Info.plist"; sourceTree = "<absolute>"; }; | |
| 42 | + F4ADF9651565124200F666EB /* BSInlinePreviewerEx.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BSInlinePreviewerEx.h; sourceTree = "<group>"; }; | |
| 43 | + F4ADF9661565124200F666EB /* BSInlinePreviewerEx.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BSInlinePreviewerEx.m; sourceTree = "<group>"; }; | |
| 44 | + F4ADF96E156514F800F666EB /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; }; | |
| 45 | + F4ADF970156514FE00F666EB /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/InfoPlist.strings; sourceTree = "<group>"; }; | |
| 32 | 46 | F4C807090E53CBE500BF4144 /* BSImagePreviewerInterface.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BSImagePreviewerInterface.h; sourceTree = "<group>"; }; |
| 33 | 47 | F4C8070A0E53CCB000BF4144 /* BSInlinePreviewer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BSInlinePreviewer.h; sourceTree = "<group>"; }; |
| 34 | 48 | F4C8070B0E53CCB000BF4144 /* BSInlinePreviewer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BSInlinePreviewer.m; sourceTree = "<group>"; }; |
| @@ -46,6 +60,15 @@ | ||
| 46 | 60 | ); |
| 47 | 61 | runOnlyForDeploymentPostprocessing = 0; |
| 48 | 62 | }; |
| 63 | + F4ADF9571565114F00F666EB /* Frameworks */ = { | |
| 64 | + isa = PBXFrameworksBuildPhase; | |
| 65 | + buildActionMask = 2147483647; | |
| 66 | + files = ( | |
| 67 | + F4ADF9581565114F00F666EB /* Cocoa.framework in Frameworks */, | |
| 68 | + F4ADF9591565114F00F666EB /* WebKit.framework in Frameworks */, | |
| 69 | + ); | |
| 70 | + runOnlyForDeploymentPostprocessing = 0; | |
| 71 | + }; | |
| 49 | 72 | /* End PBXFrameworksBuildPhase section */ |
| 50 | 73 | |
| 51 | 74 | /* Begin PBXGroup section */ |
| @@ -54,6 +77,7 @@ | ||
| 54 | 77 | children = ( |
| 55 | 78 | F468C45612200CA2009EFA3E /* BSPreviewPluginInterface.h */, |
| 56 | 79 | F4C807090E53CBE500BF4144 /* BSImagePreviewerInterface.h */, |
| 80 | + F4ADF9681565125E00F666EB /* Ex */, | |
| 57 | 81 | 08FB77AFFE84173DC02AAC07 /* Classes */, |
| 58 | 82 | 32C88E010371C26100C91783 /* Other Sources */, |
| 59 | 83 | 089C167CFE841241C02AAC07 /* Resources */, |
| @@ -117,6 +141,7 @@ | ||
| 117 | 141 | isa = PBXGroup; |
| 118 | 142 | children = ( |
| 119 | 143 | 8D5B49B6048680CD000E48DA /* BSInlinePreviewer.plugin */, |
| 144 | + F4ADF95E1565114F00F666EB /* BSInlinePreviewerEx.plugin */, | |
| 120 | 145 | ); |
| 121 | 146 | name = Products; |
| 122 | 147 | sourceTree = "<group>"; |
| @@ -129,6 +154,17 @@ | ||
| 129 | 154 | name = "Other Sources"; |
| 130 | 155 | sourceTree = "<group>"; |
| 131 | 156 | }; |
| 157 | + F4ADF9681565125E00F666EB /* Ex */ = { | |
| 158 | + isa = PBXGroup; | |
| 159 | + children = ( | |
| 160 | + F4ADF9651565124200F666EB /* BSInlinePreviewerEx.h */, | |
| 161 | + F4ADF9661565124200F666EB /* BSInlinePreviewerEx.m */, | |
| 162 | + F4ADF95F1565115000F666EB /* BSInlinePreviewerEx-Info.plist */, | |
| 163 | + F4ADF96F156514F800F666EB /* InfoPlist.strings */, | |
| 164 | + ); | |
| 165 | + name = Ex; | |
| 166 | + sourceTree = "<group>"; | |
| 167 | + }; | |
| 132 | 168 | /* End PBXGroup section */ |
| 133 | 169 | |
| 134 | 170 | /* Begin PBXNativeTarget section */ |
| @@ -151,6 +187,25 @@ | ||
| 151 | 187 | productReference = 8D5B49B6048680CD000E48DA /* BSInlinePreviewer.plugin */; |
| 152 | 188 | productType = "com.apple.product-type.bundle"; |
| 153 | 189 | }; |
| 190 | + F4ADF94F1565114F00F666EB /* BSInlinePreviewerEx */ = { | |
| 191 | + isa = PBXNativeTarget; | |
| 192 | + buildConfigurationList = F4ADF95B1565114F00F666EB /* Build configuration list for PBXNativeTarget "BSInlinePreviewerEx" */; | |
| 193 | + buildPhases = ( | |
| 194 | + F4ADF9501565114F00F666EB /* Resources */, | |
| 195 | + F4ADF9541565114F00F666EB /* Sources */, | |
| 196 | + F4ADF9571565114F00F666EB /* Frameworks */, | |
| 197 | + F4ADF95A1565114F00F666EB /* ShellScript */, | |
| 198 | + ); | |
| 199 | + buildRules = ( | |
| 200 | + ); | |
| 201 | + dependencies = ( | |
| 202 | + ); | |
| 203 | + name = BSInlinePreviewerEx; | |
| 204 | + productInstallPath = "$(HOME)/Library/Bundles"; | |
| 205 | + productName = BSInlinePreviewer; | |
| 206 | + productReference = F4ADF95E1565114F00F666EB /* BSInlinePreviewerEx.plugin */; | |
| 207 | + productType = "com.apple.product-type.bundle"; | |
| 208 | + }; | |
| 154 | 209 | /* End PBXNativeTarget section */ |
| 155 | 210 | |
| 156 | 211 | /* Begin PBXProject section */ |
| @@ -168,12 +223,14 @@ | ||
| 168 | 223 | Japanese, |
| 169 | 224 | French, |
| 170 | 225 | German, |
| 226 | + ja, | |
| 171 | 227 | ); |
| 172 | 228 | mainGroup = 089C166AFE841209C02AAC07 /* BSInlinePreviewer */; |
| 173 | 229 | projectDirPath = ""; |
| 174 | 230 | projectRoot = ""; |
| 175 | 231 | targets = ( |
| 176 | 232 | 8D5B49AC048680CD000E48DA /* BSInlinePreviewer */, |
| 233 | + F4ADF94F1565114F00F666EB /* BSInlinePreviewerEx */, | |
| 177 | 234 | ); |
| 178 | 235 | }; |
| 179 | 236 | /* End PBXProject section */ |
| @@ -189,9 +246,33 @@ | ||
| 189 | 246 | ); |
| 190 | 247 | runOnlyForDeploymentPostprocessing = 0; |
| 191 | 248 | }; |
| 249 | + F4ADF9501565114F00F666EB /* Resources */ = { | |
| 250 | + isa = PBXResourcesBuildPhase; | |
| 251 | + buildActionMask = 2147483647; | |
| 252 | + files = ( | |
| 253 | + F4ADF9711565150D00F666EB /* InfoPlist.strings in Resources */, | |
| 254 | + F4ADF9521565114F00F666EB /* notFound.png in Resources */, | |
| 255 | + F4ADF9531565114F00F666EB /* Panel.xib in Resources */, | |
| 256 | + ); | |
| 257 | + runOnlyForDeploymentPostprocessing = 0; | |
| 258 | + }; | |
| 192 | 259 | /* End PBXResourcesBuildPhase section */ |
| 193 | 260 | |
| 194 | 261 | /* Begin PBXShellScriptBuildPhase section */ |
| 262 | + F4ADF95A1565114F00F666EB /* ShellScript */ = { | |
| 263 | + isa = PBXShellScriptBuildPhase; | |
| 264 | + buildActionMask = 12; | |
| 265 | + files = ( | |
| 266 | + ); | |
| 267 | + inputPaths = ( | |
| 268 | + ); | |
| 269 | + outputPaths = ( | |
| 270 | + ); | |
| 271 | + runOnlyForDeploymentPostprocessing = 0; | |
| 272 | + shellPath = /bin/sh; | |
| 273 | + shellScript = "#dest=\"/Users/masaki/Library/Application support/BathyScaphe/PlugIns/\"\ndest=\"${INSTALL_PATH}\"/\nsrcname=${FULL_PRODUCT_NAME}\n\ncp -R ${CONFIGURATION_BUILD_DIR}/${srcname} \"${dest}\"\n"; | |
| 274 | + showEnvVarsInLog = 0; | |
| 275 | + }; | |
| 195 | 276 | F4C8073C0E53CFBD00BF4144 /* ShellScript */ = { |
| 196 | 277 | isa = PBXShellScriptBuildPhase; |
| 197 | 278 | buildActionMask = 12; |
| @@ -218,6 +299,16 @@ | ||
| 218 | 299 | ); |
| 219 | 300 | runOnlyForDeploymentPostprocessing = 0; |
| 220 | 301 | }; |
| 302 | + F4ADF9541565114F00F666EB /* Sources */ = { | |
| 303 | + isa = PBXSourcesBuildPhase; | |
| 304 | + buildActionMask = 2147483647; | |
| 305 | + files = ( | |
| 306 | + F4ADF9551565114F00F666EB /* BSInlinePreviewer.m in Sources */, | |
| 307 | + F4ADF9561565114F00F666EB /* BSILinkInfomation.m in Sources */, | |
| 308 | + F4ADF9671565124200F666EB /* BSInlinePreviewerEx.m in Sources */, | |
| 309 | + ); | |
| 310 | + runOnlyForDeploymentPostprocessing = 0; | |
| 311 | + }; | |
| 221 | 312 | /* End PBXSourcesBuildPhase section */ |
| 222 | 313 | |
| 223 | 314 | /* Begin PBXVariantGroup section */ |
| @@ -229,6 +320,16 @@ | ||
| 229 | 320 | name = InfoPlist.strings; |
| 230 | 321 | sourceTree = "<group>"; |
| 231 | 322 | }; |
| 323 | + F4ADF96F156514F800F666EB /* InfoPlist.strings */ = { | |
| 324 | + isa = PBXVariantGroup; | |
| 325 | + children = ( | |
| 326 | + F4ADF96E156514F800F666EB /* en */, | |
| 327 | + F4ADF970156514FE00F666EB /* ja */, | |
| 328 | + ); | |
| 329 | + name = InfoPlist.strings; | |
| 330 | + path = Ex; | |
| 331 | + sourceTree = "<group>"; | |
| 332 | + }; | |
| 232 | 333 | F4FE889E10F772DD0076B366 /* Panel.xib */ = { |
| 233 | 334 | isa = PBXVariantGroup; |
| 234 | 335 | children = ( |
| @@ -292,6 +393,35 @@ | ||
| 292 | 393 | }; |
| 293 | 394 | name = Release; |
| 294 | 395 | }; |
| 396 | + F4ADF95C1565114F00F666EB /* Debug */ = { | |
| 397 | + isa = XCBuildConfiguration; | |
| 398 | + buildSettings = { | |
| 399 | + COPY_PHASE_STRIP = NO; | |
| 400 | + GCC_OPTIMIZATION_LEVEL = 0; | |
| 401 | + GCC_PRECOMPILE_PREFIX_HEADER = YES; | |
| 402 | + GCC_PREFIX_HEADER = BSInlinePreviewer_Prefix.pch; | |
| 403 | + INFOPLIST_FILE = "BSInlinePreviewerEx-Info.plist"; | |
| 404 | + INSTALL_PATH = "${HOME}/Library/Application Support/BathyScaphe/PlugIns"; | |
| 405 | + MACOSX_DEPLOYMENT_TARGET = 10.6; | |
| 406 | + PRODUCT_NAME = BSInlinePreviewerEx; | |
| 407 | + WRAPPER_EXTENSION = plugin; | |
| 408 | + }; | |
| 409 | + name = Debug; | |
| 410 | + }; | |
| 411 | + F4ADF95D1565114F00F666EB /* Release */ = { | |
| 412 | + isa = XCBuildConfiguration; | |
| 413 | + buildSettings = { | |
| 414 | + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; | |
| 415 | + GCC_PRECOMPILE_PREFIX_HEADER = YES; | |
| 416 | + GCC_PREFIX_HEADER = BSInlinePreviewer_Prefix.pch; | |
| 417 | + INFOPLIST_FILE = "BSInlinePreviewerEx-Info.plist"; | |
| 418 | + INSTALL_PATH = "${HOME}/Library/Application Support/BathyScaphe/PlugIns"; | |
| 419 | + MACOSX_DEPLOYMENT_TARGET = 10.6; | |
| 420 | + PRODUCT_NAME = BSInlinePreviewerEx; | |
| 421 | + WRAPPER_EXTENSION = plugin; | |
| 422 | + }; | |
| 423 | + name = Release; | |
| 424 | + }; | |
| 295 | 425 | /* End XCBuildConfiguration section */ |
| 296 | 426 | |
| 297 | 427 | /* Begin XCConfigurationList section */ |
| @@ -313,6 +443,15 @@ | ||
| 313 | 443 | defaultConfigurationIsVisible = 0; |
| 314 | 444 | defaultConfigurationName = Release; |
| 315 | 445 | }; |
| 446 | + F4ADF95B1565114F00F666EB /* Build configuration list for PBXNativeTarget "BSInlinePreviewerEx" */ = { | |
| 447 | + isa = XCConfigurationList; | |
| 448 | + buildConfigurations = ( | |
| 449 | + F4ADF95C1565114F00F666EB /* Debug */, | |
| 450 | + F4ADF95D1565114F00F666EB /* Release */, | |
| 451 | + ); | |
| 452 | + defaultConfigurationIsVisible = 0; | |
| 453 | + defaultConfigurationName = Release; | |
| 454 | + }; | |
| 316 | 455 | /* End XCConfigurationList section */ |
| 317 | 456 | }; |
| 318 | 457 | rootObject = 089C1669FE841209C02AAC07 /* Project object */; |
| @@ -18,6 +18,8 @@ VERSION=$(shell $(VER_CMD)) | ||
| 18 | 18 | |
| 19 | 19 | LocalizeFiles=XspfMLabelMenuView.m \ |
| 20 | 20 | |
| 21 | +.PHONY : ex | |
| 22 | + | |
| 21 | 23 | all: |
| 22 | 24 | @echo do nothig. |
| 23 | 25 | @echo use target tagging |
| @@ -27,6 +29,9 @@ tagging: update_svn | ||
| 27 | 29 | @echo "" |
| 28 | 30 | echo svn copy $(HEAD) $(TAGS_DIR)/release-$(VERSION) |
| 29 | 31 | |
| 32 | +ex: | |
| 33 | + ${MAKE} PRODUCT_NAME=BSInlinePreviewerEx INFO_PLIST=BSInlinePreviewerEx-Info.plist package | |
| 34 | + | |
| 30 | 35 | Localizable: ${LocalizeFiles} |
| 31 | 36 | genstrings -o English.lproj $^ |
| 32 | 37 | (cd English.lproj; ${MAKE} $@;) |
| @@ -38,7 +43,7 @@ checkLocalizable: | ||
| 38 | 43 | (cd Japanese.lproj; ${MAKE} $@;) |
| 39 | 44 | |
| 40 | 45 | release: |
| 41 | - xcodebuild -configuration $(DEPLOYMENT) | |
| 46 | + xcodebuild -configuration $(DEPLOYMENT) -target $(PRODUCT_NAME) | |
| 42 | 47 | |
| 43 | 48 | package: release |
| 44 | 49 | ditto -ck -rsrc --keepParent $(APP) $(APP_NAME)-$(VERSION).zip |