Don't require manual compiling of libtgl.a before building the Adium bundle

This commit is contained in:
mjentsch 2015-05-27 21:51:08 +02:00
parent f092273bf6
commit 0bcbb272ee
3 changed files with 187 additions and 8 deletions

View file

@ -18,7 +18,6 @@
C438CE281A12BEAF00E1DA0F /* telegram16.png in Resources */ = {isa = PBXBuildFile; fileRef = C438CE241A12BEAF00E1DA0F /* telegram16.png */; };
C438CE291A12BEAF00E1DA0F /* telegram22.png in Resources */ = {isa = PBXBuildFile; fileRef = C438CE251A12BEAF00E1DA0F /* telegram22.png */; };
C438CE2A1A12BEAF00E1DA0F /* telegram48.png in Resources */ = {isa = PBXBuildFile; fileRef = C438CE261A12BEAF00E1DA0F /* telegram48.png */; };
C438CE2C1A12BF3400E1DA0F /* libtgl.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C438CE2B1A12BF3400E1DA0F /* libtgl.a */; };
C438CE321A12C07800E1DA0F /* msglog.c in Sources */ = {isa = PBXBuildFile; fileRef = C438CE2D1A12C07800E1DA0F /* msglog.c */; };
C438CE331A12C07800E1DA0F /* telegram-base.c in Sources */ = {isa = PBXBuildFile; fileRef = C438CE2E1A12C07800E1DA0F /* telegram-base.c */; };
C438CE341A12C07800E1DA0F /* telegram-purple.c in Sources */ = {isa = PBXBuildFile; fileRef = C438CE2F1A12C07800E1DA0F /* telegram-purple.c */; };
@ -41,11 +40,22 @@
C4B4BE371AB5FB5C0064AC17 /* TelegramJoinChatViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C4B4BE351AB5FB5C0064AC17 /* TelegramJoinChatViewController.m */; };
C4B4BE391AB613950064AC17 /* TelegramJoinChatView.xib in Resources */ = {isa = PBXBuildFile; fileRef = C4B4BE381AB613950064AC17 /* TelegramJoinChatView.xib */; };
C4B57BE71B10C652006997F4 /* libwebp.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = C4B57BE61B10C652006997F4 /* libwebp.dylib */; };
C4B57BF01B1598D4006997F4 /* libtgl.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C4B57BEF1B1598D4006997F4 /* libtgl.a */; };
C4D819031A5C85FE0044CBA9 /* lodepng.c in Sources */ = {isa = PBXBuildFile; fileRef = C4D819011A5C85FE0044CBA9 /* lodepng.c */; };
C4D819061A5C862E0044CBA9 /* tgp-structs.c in Sources */ = {isa = PBXBuildFile; fileRef = C4D819041A5C862E0044CBA9 /* tgp-structs.c */; };
C4E528111A8A907200C4B915 /* tgp-ft.c in Sources */ = {isa = PBXBuildFile; fileRef = C4E5280F1A8A907200C4B915 /* tgp-ft.c */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
C4B57BF51B160EA6006997F4 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = C410947E19BB2D7D0083BF3F /* Project object */;
proxyType = 1;
remoteGlobalIDString = C4B57BF11B160950006997F4;
remoteInfo = "telegram-purple";
};
/* End PBXContainerItemProxy section */
/* Begin PBXFileReference section */
C40564861A7937C600A293B9 /* AdiumLibpurple.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AdiumLibpurple.framework; path = Frameworks/Adium/AdiumLibpurple.framework; sourceTree = "<group>"; };
C410948619BB2D7D0083BF3F /* telegram-adium.AdiumLibpurplePlugin */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "telegram-adium.AdiumLibpurplePlugin"; sourceTree = BUILT_PRODUCTS_DIR; };
@ -102,7 +112,9 @@
C4B57BE61B10C652006997F4 /* libwebp.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libwebp.dylib; path = ../../../../../usr/local/lib/libwebp.dylib; sourceTree = "<group>"; };
C4B57BE81B10D814006997F4 /* configure.ac */ = {isa = PBXFileReference; lastKnownFileType = text; name = configure.ac; path = ../configure.ac; sourceTree = "<group>"; };
C4B57BE91B10D822006997F4 /* Makefile.in */ = {isa = PBXFileReference; lastKnownFileType = text; name = Makefile.in; path = ../Makefile.in; sourceTree = "<group>"; };
C4C8672D1B0A6EFA00C2770C /* auto-types.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "auto-types.h"; path = "../auto/auto-types.h"; sourceTree = "<group>"; };
C4B57BEC1B13B2C4006997F4 /* auto-types.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "auto-types.h"; path = "../auto/auto-types.h"; sourceTree = "<group>"; };
C4B57BED1B1598BE006997F4 /* telegram-purple */ = {isa = PBXFileReference; lastKnownFileType = folder; name = "telegram-purple"; path = ..; sourceTree = "<group>"; };
C4B57BEF1B1598D4006997F4 /* libtgl.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libtgl.a; path = ../libs/libtgl.a; sourceTree = "<group>"; };
C4D819011A5C85FE0044CBA9 /* lodepng.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = lodepng.c; sourceTree = "<group>"; };
C4D819021A5C85FE0044CBA9 /* lodepng.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lodepng.h; sourceTree = "<group>"; };
C4D819041A5C862E0044CBA9 /* tgp-structs.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "tgp-structs.c"; path = "../tgp-structs.c"; sourceTree = "<group>"; };
@ -116,6 +128,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
C4B57BF01B1598D4006997F4 /* libtgl.a in Frameworks */,
C40564871A7937C600A293B9 /* AdiumLibpurple.framework in Frameworks */,
C487A18C1A792E9B0044F135 /* Adium.framework in Frameworks */,
C487A18E1A792E9B0044F135 /* AIUtilities.framework in Frameworks */,
@ -124,7 +137,6 @@
C487A17B1A792CF00044F135 /* libcrypto.dylib in Frameworks */,
C466937819E703370036A108 /* AppKit.framework in Frameworks */,
C49A915819BBC5C5001B3DC0 /* libz.dylib in Frameworks */,
C438CE2C1A12BF3400E1DA0F /* libtgl.a in Frameworks */,
C410948A19BB2D7D0083BF3F /* CoreFoundation.framework in Frameworks */,
C4B57BE71B10C652006997F4 /* libwebp.dylib in Frameworks */,
);
@ -173,6 +185,8 @@
C410948819BB2D7D0083BF3F /* Frameworks */ = {
isa = PBXGroup;
children = (
C4B57BEF1B1598D4006997F4 /* libtgl.a */,
C4B57BED1B1598BE006997F4 /* telegram-purple */,
C4B57BE61B10C652006997F4 /* libwebp.dylib */,
C40564861A7937C600A293B9 /* AdiumLibpurple.framework */,
C487A18F1A792EA50044F135 /* libglib.framework */,
@ -242,8 +256,8 @@
C431EB7B1A76C737006521CB /* tgp-chat.c */,
C431EB7C1A76C737006521CB /* tgp-chat.h */,
C4E5280F1A8A907200C4B915 /* tgp-ft.c */,
C4B57BEC1B13B2C4006997F4 /* auto-types.h */,
C4E528101A8A907200C4B915 /* tgp-ft.h */,
C4C8672D1B0A6EFA00C2770C /* auto-types.h */,
);
name = "telegram-purple";
sourceTree = "<group>";
@ -260,6 +274,23 @@
};
/* End PBXGroup section */
/* Begin PBXLegacyTarget section */
C4B57BF11B160950006997F4 /* telegram-purple */ = {
isa = PBXLegacyTarget;
buildArgumentsString = "$(ACTION)";
buildConfigurationList = C4B57BF21B160951006997F4 /* Build configuration list for PBXLegacyTarget "telegram-purple" */;
buildPhases = (
);
buildToolPath = /usr/bin/make;
buildWorkingDirectory = "$(PROJECT_DIR)/../";
dependencies = (
);
name = "telegram-purple";
passBuildSettingsInEnvironment = 0;
productName = "telegram-purple";
};
/* End PBXLegacyTarget section */
/* Begin PBXNativeTarget section */
C410948519BB2D7D0083BF3F /* telegram-adium */ = {
isa = PBXNativeTarget;
@ -272,6 +303,7 @@
buildRules = (
);
dependencies = (
C4B57BF61B160EA6006997F4 /* PBXTargetDependency */,
);
name = "telegram-adium";
productName = "telegram-adium";
@ -286,6 +318,11 @@
attributes = {
LastUpgradeCheck = 0510;
ORGANIZATIONNAME = "Matthias Jentsch";
TargetAttributes = {
C4B57BF11B160950006997F4 = {
CreatedOnToolsVersion = 6.3.2;
};
};
};
buildConfigurationList = C410948119BB2D7D0083BF3F /* Build configuration list for PBXProject "telegram-adium" */;
compatibilityVersion = "Xcode 3.2";
@ -300,6 +337,7 @@
projectRoot = "";
targets = (
C410948519BB2D7D0083BF3F /* telegram-adium */,
C4B57BF11B160950006997F4 /* telegram-purple */,
);
};
/* End PBXProject section */
@ -350,6 +388,14 @@
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
C4B57BF61B160EA6006997F4 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = C4B57BF11B160950006997F4 /* telegram-purple */;
targetProxy = C4B57BF51B160EA6006997F4 /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin PBXVariantGroup section */
C410948E19BB2D7D0083BF3F /* InfoPlist.strings */ = {
isa = PBXVariantGroup;
@ -458,18 +504,18 @@
GCC_PREFIX_HEADER = "telegram-adium/telegram-adium-Prefix.pch";
HEADER_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/../auto",
"$(PROJECT_DIR)/../tgl",
"$(PROJECT_DIR)/Frameworks/Adium/libpurple.framework/Headers",
"$(PROJECT_DIR)/Frameworks/Adium/libglib.framework/Headers",
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
"$(PROJECT_DIR)/../auto",
/usr/local/include,
);
INFOPLIST_FILE = "telegram-adium/telegram-adium-Info.plist";
INSTALL_PATH = "$(HOME)/Library/Application Support/Adium 2.0/PlugIns/";
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/../tgl/libs",
"$(PROJECT_DIR)/../libs",
/usr/local/lib,
);
OTHER_CFLAGS = "-DPURPLE_STATIC_PRPL";
@ -496,18 +542,18 @@
GCC_PREFIX_HEADER = "telegram-adium/telegram-adium-Prefix.pch";
HEADER_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/../auto",
"$(PROJECT_DIR)/../tgl",
"$(PROJECT_DIR)/Frameworks/Adium/libpurple.framework/Headers",
"$(PROJECT_DIR)/Frameworks/Adium/libglib.framework/Headers",
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
"$(PROJECT_DIR)/../auto",
/usr/local/include,
);
INFOPLIST_FILE = "telegram-adium/telegram-adium-Info.plist";
INSTALL_PATH = "$(HOME)/Library/Application Support/Adium 2.0/PlugIns/";
LIBRARY_SEARCH_PATHS = (
"$(PROJECT_DIR)",
"$(PROJECT_DIR)/../tgl/libs",
"$(PROJECT_DIR)/../libs",
/usr/local/lib,
);
OTHER_CFLAGS = "-DPURPLE_STATIC_PRPL";
@ -517,6 +563,44 @@
};
name = Release;
};
C4B57BF31B160951006997F4 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_WARN_UNREACHABLE_CODE = YES;
DEBUGGING_SYMBOLS = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
MACOSX_DEPLOYMENT_TARGET = 10.10;
MTL_ENABLE_DEBUG_INFO = YES;
OTHER_CFLAGS = "";
OTHER_LDFLAGS = "";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx;
};
name = Debug;
};
C4B57BF41B160951006997F4 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_WARN_UNREACHABLE_CODE = YES;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_NO_COMMON_BLOCKS = YES;
MACOSX_DEPLOYMENT_TARGET = 10.10;
MTL_ENABLE_DEBUG_INFO = NO;
OTHER_CFLAGS = "";
OTHER_LDFLAGS = "";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
@ -538,6 +622,14 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Debug;
};
C4B57BF21B160951006997F4 /* Build configuration list for PBXLegacyTarget "telegram-purple" */ = {
isa = XCConfigurationList;
buildConfigurations = (
C4B57BF31B160951006997F4 /* Debug */,
C4B57BF41B160951006997F4 /* Release */,
);
defaultConfigurationIsVisible = 0;
};
/* End XCConfigurationList section */
};
rootObject = C410947E19BB2D7D0083BF3F /* Project object */;

View file

@ -0,0 +1,77 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0630"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "C4B57BF11B160950006997F4"
BuildableName = "telegram-purple"
BlueprintName = "telegram-purple"
ReferencedContainer = "container:telegram-adium.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
<Testables>
</Testables>
</TestAction>
<LaunchAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "C4B57BF11B160950006997F4"
BuildableName = "telegram-purple"
BlueprintName = "telegram-purple"
ReferencedContainer = "container:telegram-adium.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "C4B57BF11B160950006997F4"
BuildableName = "telegram-purple"
BlueprintName = "telegram-purple"
ReferencedContainer = "container:telegram-adium.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>

View file

@ -9,6 +9,11 @@
<key>orderHint</key>
<integer>0</integer>
</dict>
<key>telegram-purple.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>2</integer>
</dict>
<key>telegrma-adium Release.xcscheme</key>
<dict>
<key>isShown</key>
@ -24,6 +29,11 @@
<key>primary</key>
<true/>
</dict>
<key>C4B57BF11B160950006997F4</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>