[xiph-commits] r3006 - in liboggplay/trunk/plugin/mac: . liboggplay.xcodeproj

tahn at svn.annodex.net tahn at svn.annodex.net
Tue Jun 19 22:00:49 PDT 2007


Author: tahn
Date: 2007-06-19 22:00:49 -0700 (Tue, 19 Jun 2007)
New Revision: 3006

Modified:
   liboggplay/trunk/plugin/mac/
   liboggplay/trunk/plugin/mac/liboggplay.xcodeproj/project.pbxproj
Log:
Force static linking of locally built libraries by using local copies.



Property changes on: liboggplay/trunk/plugin/mac
___________________________________________________________________
Name: svn:ignore
   - build

   + build
libs


Modified: liboggplay/trunk/plugin/mac/liboggplay.xcodeproj/project.pbxproj
===================================================================
--- liboggplay/trunk/plugin/mac/liboggplay.xcodeproj/project.pbxproj	2007-06-20 01:22:16 UTC (rev 3005)
+++ liboggplay/trunk/plugin/mac/liboggplay.xcodeproj/project.pbxproj	2007-06-20 05:00:49 UTC (rev 3006)
@@ -18,7 +18,14 @@
 		2C96CCA40C0402280015B6AC /* AudioUnit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2C96CCA30C0402280015B6AC /* AudioUnit.framework */; };
 		2C96D1330C0666340015B6AC /* sydney_audio_mac.c in Sources */ = {isa = PBXBuildFile; fileRef = 2C96D1320C0666340015B6AC /* sydney_audio_mac.c */; };
 		2CA761D50BF978E10008A3B7 /* std_semaphore.h in Headers */ = {isa = PBXBuildFile; fileRef = 2CA761D40BF978E10008A3B7 /* std_semaphore.h */; };
-		2CC014D70C2132D00056CCDF /* liboggplay.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2CC014D60C2132D00056CCDF /* liboggplay.a */; };
+		2CC888BB0C28E8A300213FD7 /* libfishsound.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2CC888B30C28E8A300213FD7 /* libfishsound.a */; };
+		2CC888BC0C28E8A300213FD7 /* liboggz.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2CC888B40C28E8A300213FD7 /* liboggz.a */; };
+		2CC888BD0C28E8A300213FD7 /* libogg.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2CC888B50C28E8A300213FD7 /* libogg.a */; };
+		2CC888BE0C28E8A300213FD7 /* libspeex.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2CC888B60C28E8A300213FD7 /* libspeex.a */; };
+		2CC888BF0C28E8A300213FD7 /* libvorbis.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2CC888B70C28E8A300213FD7 /* libvorbis.a */; };
+		2CC888C00C28E8A300213FD7 /* libvorbisenc.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2CC888B80C28E8A300213FD7 /* libvorbisenc.a */; };
+		2CC888C10C28E8A300213FD7 /* liboggplay.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2CC888B90C28E8A300213FD7 /* liboggplay.a */; };
+		2CC888C20C28E8A300213FD7 /* libtheora.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2CC888BA0C28E8A300213FD7 /* libtheora.a */; };
 		2CD58C420BD31543001D751D /* Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 2CD58C410BD31543001D751D /* Info.plist */; };
 		2CD58C500BD319C3001D751D /* plugin_gui_mac.c in Sources */ = {isa = PBXBuildFile; fileRef = 2CD58C4A0BD319C3001D751D /* plugin_gui_mac.c */; };
 		2CD58C510BD319C3001D751D /* plugin_gui.h in Headers */ = {isa = PBXBuildFile; fileRef = 2CD58C4B0BD319C3001D751D /* plugin_gui.h */; };
@@ -58,7 +65,14 @@
 		2C96CCA30C0402280015B6AC /* AudioUnit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioUnit.framework; path = /System/Library/Frameworks/AudioUnit.framework; sourceTree = "<absolute>"; };
 		2C96D1320C0666340015B6AC /* sydney_audio_mac.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = sydney_audio_mac.c; path = ../audio/sydney_audio_mac.c; sourceTree = SOURCE_ROOT; };
 		2CA761D40BF978E10008A3B7 /* std_semaphore.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = std_semaphore.h; path = ../std_semaphore.h; sourceTree = SOURCE_ROOT; };
-		2CC014D60C2132D00056CCDF /* liboggplay.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = liboggplay.a; path = /usr/local/lib/liboggplay.a; sourceTree = "<absolute>"; };
+		2CC888B30C28E8A300213FD7 /* libfishsound.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libfishsound.a; path = libs/libfishsound.a; sourceTree = "<group>"; };
+		2CC888B40C28E8A300213FD7 /* liboggz.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = liboggz.a; path = libs/liboggz.a; sourceTree = "<group>"; };
+		2CC888B50C28E8A300213FD7 /* libogg.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libogg.a; path = libs/libogg.a; sourceTree = "<group>"; };
+		2CC888B60C28E8A300213FD7 /* libspeex.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libspeex.a; path = libs/libspeex.a; sourceTree = "<group>"; };
+		2CC888B70C28E8A300213FD7 /* libvorbis.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libvorbis.a; path = libs/libvorbis.a; sourceTree = "<group>"; };
+		2CC888B80C28E8A300213FD7 /* libvorbisenc.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libvorbisenc.a; path = libs/libvorbisenc.a; sourceTree = "<group>"; };
+		2CC888B90C28E8A300213FD7 /* liboggplay.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = liboggplay.a; path = libs/liboggplay.a; sourceTree = "<group>"; };
+		2CC888BA0C28E8A300213FD7 /* libtheora.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libtheora.a; path = libs/libtheora.a; sourceTree = "<group>"; };
 		2CD58C410BD31543001D751D /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.xml; path = Info.plist; sourceTree = "<group>"; };
 		2CD58C4A0BD319C3001D751D /* plugin_gui_mac.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = plugin_gui_mac.c; path = ../plugin_gui_mac.c; sourceTree = SOURCE_ROOT; };
 		2CD58C4B0BD319C3001D751D /* plugin_gui.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = plugin_gui.h; path = ../plugin_gui.h; sourceTree = SOURCE_ROOT; };
@@ -88,7 +102,14 @@
 				2C83ABCB0BEAC328004C14F4 /* OpenGL.framework in Frameworks */,
 				2C31AFE40BF455CB002C55BF /* Carbon.framework in Frameworks */,
 				2C96CCA40C0402280015B6AC /* AudioUnit.framework in Frameworks */,
-				2CC014D70C2132D00056CCDF /* liboggplay.a in Frameworks */,
+				2CC888BB0C28E8A300213FD7 /* libfishsound.a in Frameworks */,
+				2CC888BC0C28E8A300213FD7 /* liboggz.a in Frameworks */,
+				2CC888BD0C28E8A300213FD7 /* libogg.a in Frameworks */,
+				2CC888BE0C28E8A300213FD7 /* libspeex.a in Frameworks */,
+				2CC888BF0C28E8A300213FD7 /* libvorbis.a in Frameworks */,
+				2CC888C00C28E8A300213FD7 /* libvorbisenc.a in Frameworks */,
+				2CC888C10C28E8A300213FD7 /* liboggplay.a in Frameworks */,
+				2CC888C20C28E8A300213FD7 /* libtheora.a in Frameworks */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
@@ -109,7 +130,14 @@
 		089C1671FE841209C02AAC07 /* External Frameworks and Libraries */ = {
 			isa = PBXGroup;
 			children = (
-				2CC014D60C2132D00056CCDF /* liboggplay.a */,
+				2CC888B50C28E8A300213FD7 /* libogg.a */,
+				2CC888BA0C28E8A300213FD7 /* libtheora.a */,
+				2CC888B70C28E8A300213FD7 /* libvorbis.a */,
+				2CC888B80C28E8A300213FD7 /* libvorbisenc.a */,
+				2CC888B60C28E8A300213FD7 /* libspeex.a */,
+				2CC888B30C28E8A300213FD7 /* libfishsound.a */,
+				2CC888B40C28E8A300213FD7 /* liboggz.a */,
+				2CC888B90C28E8A300213FD7 /* liboggplay.a */,
 				2C31AFE30BF455CB002C55BF /* Carbon.framework */,
 				2C96CCA30C0402280015B6AC /* AudioUnit.framework */,
 				2C83ABCA0BEAC328004C14F4 /* OpenGL.framework */,
@@ -216,6 +244,7 @@
 			isa = PBXNativeTarget;
 			buildConfigurationList = 2CD58C0B0BD309DD001D751D /* Build configuration list for PBXNativeTarget "liboggplay" */;
 			buildPhases = (
+				2CC886CD0C28BE3A00213FD7 /* Copy static libraries */,
 				2C31AD3B0BF404FF002C55BF /* Process nsILibOggPlugin.idl */,
 				4D16849F0830226300080847 /* Headers */,
 				4D1684A10830226300080847 /* Resources */,
@@ -286,8 +315,22 @@
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 			shellPath = /bin/sh;
-			shellScript = "cd $SRCROOT/..\n/Developer/gecko-sdk/bin/xpidl -m header  -I/Developer/gecko-sdk/idl nsILibOggPlugin.idl\n/Developer/gecko-sdk/bin/xpidl -m typelib -I/Developer/gecko-sdk/idl nsILibOggPlugin.idl\n";
+			shellScript = "set -v\ncd $SRCROOT/..\n/Developer/gecko-sdk/bin/xpidl -m header  -I/Developer/gecko-sdk/idl nsILibOggPlugin.idl\n/Developer/gecko-sdk/bin/xpidl -m typelib -I/Developer/gecko-sdk/idl nsILibOggPlugin.idl\nexit 0\n";
 		};
+		2CC886CD0C28BE3A00213FD7 /* Copy static libraries */ = {
+			isa = PBXShellScriptBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			inputPaths = (
+			);
+			name = "Copy static libraries";
+			outputPaths = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+			shellPath = /bin/sh;
+			shellScript = "set -v\nSRC=/usr/local/lib\nDST=$SRCROOT/libs\nLIBS=\"libogg libtheora libvorbis libvorbisenc libspeex libfishsound liboggz liboggplay\"\n[ ! -d $DST ] && mkdir $DST\n[ ! -d $DST ] && echo \"Could not create $DST\" && exit 1\nfor L in $LIBS; do\n  if [ -e $SRC/$L.a ]; then\n    if [ $DST/$L.a -ot $SRC/$L.a ]; then\n      cp $SRC/$L.a $DST || exit 1\n    fi\n  else\n    echo \"Missing $SRC/$L.a\"\n    exit 1\n  fi\ndone\n";
+		};
 /* End PBXShellScriptBuildPhase section */
 
 /* Begin PBXSourcesBuildPhase section */
@@ -314,6 +357,7 @@
 			isa = XCBuildConfiguration;
 			buildSettings = {
 				COPY_PHASE_STRIP = NO;
+				DEAD_CODE_STRIPPING = YES;
 				GCC_DYNAMIC_NO_PIC = NO;
 				GCC_ENABLE_FIX_AND_CONTINUE = NO;
 				GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
@@ -342,10 +386,7 @@
 					/Developer/Headers/FlatCarbon,
 				);
 				INFOPLIST_FILE = Info.plist;
-				LIBRARY_SEARCH_PATHS = (
-					/usr/lib,
-					"/Developer/gecko-sdk/lib",
-				);
+				LIBRARY_SEARCH_PATHS = "/Developer/gecko-sdk/lib";
 				OPTIMIZATION_CFLAGS = "-O0";
 				OTHER_CFLAGS = "";
 				OTHER_LDFLAGS = "";
@@ -362,8 +403,11 @@
 			isa = XCBuildConfiguration;
 			buildSettings = {
 				COPY_PHASE_STRIP = YES;
+				DEAD_CODE_STRIPPING = YES;
+				DEPLOYMENT_POSTPROCESSING = YES;
 				GCC_ENABLE_FIX_AND_CONTINUE = NO;
 				GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
+				GCC_MODEL_TUNING = G5;
 				GCC_PREFIX_HEADER = "";
 				GCC_PREPROCESSOR_DEFINITIONS = (
 					"XP_MACOSX=1",
@@ -388,16 +432,15 @@
 					/Developer/Headers/FlatCarbon,
 				);
 				INFOPLIST_FILE = Info.plist;
-				LIBRARY_SEARCH_PATHS = (
-					/usr/lib,
-					"/Developer/gecko-sdk/lib",
-				);
+				LIBRARY_SEARCH_PATHS = "";
+				ONLY_LINK_ESSENTIAL_SYMBOLS = YES;
 				OTHER_CFLAGS = "";
 				OTHER_LDFLAGS = "";
 				OTHER_REZFLAGS = "";
 				PRODUCT_NAME = liboggplay;
 				REZ_PREFIX_FILE = /Developer/Headers/FlatCarbon/Types.r;
 				SECTORDER_FLAGS = "";
+				STRIP_INSTALLED_PRODUCT = YES;
 				WARNING_CFLAGS = "";
 				WRAPPER_EXTENSION = plugin;
 				ZERO_LINK = NO;



More information about the commits mailing list