XCode project now correctly bundles foregin fonts.

This commit is contained in:
Martin Fuhrer 2006-10-18 05:43:42 +00:00
parent e4aac9ff0e
commit f5daae36be
3 changed files with 432 additions and 325 deletions

View file

@ -9,7 +9,6 @@
/* Begin PBXBuildFile section */
2202639807AC5D3000C3AEAB /* ApplicationServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2202639707AC5D3000C3AEAB /* ApplicationServices.framework */; };
2202646707AC603500C3AEAB /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2202646607AC603500C3AEAB /* CoreFoundation.framework */; };
224A369B0933B741005A3695 /* fonts in Resources */ = {isa = PBXBuildFile; fileRef = 224A368C0933B741005A3695 /* fonts */; };
22581667074EE1A5005F774F /* Read Me.txt in Resources */ = {isa = PBXBuildFile; fileRef = 22581666074EE1A5005F774F /* Read Me.txt */; };
225FCE260ADF277300466C53 /* compiler.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 225FCE100ADF277300466C53 /* compiler.h */; };
225FCE270ADF277300466C53 /* cursor.c in Sources */ = {isa = PBXBuildFile; fileRef = 225FCE110ADF277300466C53 /* cursor.c */; };
@ -45,6 +44,15 @@
225FE719093AC54F00F0B02F /* libintl.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 225FE716093AC54F00F0B02F /* libintl.a */; };
225FE71A093AC54F00F0B02F /* libpng.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 225FE717093AC54F00F0B02F /* libpng.a */; };
225FEDBA093ACC0A00F0B02F /* html in Resources */ = {isa = PBXBuildFile; fileRef = 225FED8E093ACC0A00F0B02F /* html */; };
22710EE50AE5DEAD00FC7FCF /* AUTHORS.txt in Resources */ = {isa = PBXBuildFile; fileRef = 22710D420AE5DEAB00FC7FCF /* AUTHORS.txt */; };
22710F030AE5DEAD00FC7FCF /* CHANGES.txt in Resources */ = {isa = PBXBuildFile; fileRef = 22710D640AE5DEAB00FC7FCF /* CHANGES.txt */; };
22710F040AE5DEAD00FC7FCF /* COPYING.txt in Resources */ = {isa = PBXBuildFile; fileRef = 22710D650AE5DEAB00FC7FCF /* COPYING.txt */; };
22710F3B0AE5DEAD00FC7FCF /* EXTENDING.txt in Resources */ = {isa = PBXBuildFile; fileRef = 22710DA40AE5DEAC00FC7FCF /* EXTENDING.txt */; };
22710F3C0AE5DEAD00FC7FCF /* FAQ.txt in Resources */ = {isa = PBXBuildFile; fileRef = 22710DA50AE5DEAC00FC7FCF /* FAQ.txt */; };
22710FD40AE5DEAD00FC7FCF /* INSTALL.txt in Resources */ = {isa = PBXBuildFile; fileRef = 22710E4C0AE5DEAC00FC7FCF /* INSTALL.txt */; };
2271100F0AE5DEAD00FC7FCF /* OPTIONS.txt in Resources */ = {isa = PBXBuildFile; fileRef = 22710E920AE5DEAC00FC7FCF /* OPTIONS.txt */; };
227110170AE5DEAD00FC7FCF /* PNG.txt in Resources */ = {isa = PBXBuildFile; fileRef = 22710E9B0AE5DEAC00FC7FCF /* PNG.txt */; };
227111800AE5EC6E00FC7FCF /* fonts in Resources */ = {isa = PBXBuildFile; fileRef = 2271114E0AE5EC6E00FC7FCF /* fonts */; };
2286F34F0740B3FC001164FE /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2286F34D0740B3FC001164FE /* SDLMain.nib */; };
22C005D40736650D008555A2 /* tuxpaint.icns in Resources */ = {isa = PBXBuildFile; fileRef = 22C005D30736650D008555A2 /* tuxpaint.icns */; };
22C0EA9E0735B76F008555A2 /* SDLMain.m in Sources */ = {isa = PBXBuildFile; fileRef = 22C0EA9B0735B76F008555A2 /* SDLMain.m */; };
@ -120,7 +128,6 @@
1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
2202639707AC5D3000C3AEAB /* ApplicationServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ApplicationServices.framework; path = /System/Library/Frameworks/ApplicationServices.framework; sourceTree = "<absolute>"; };
2202646607AC603500C3AEAB /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = /System/Library/Frameworks/CoreFoundation.framework; sourceTree = "<absolute>"; };
224A368C0933B741005A3695 /* fonts */ = {isa = PBXFileReference; lastKnownFileType = folder; name = fonts; path = ../data/fonts; sourceTree = SOURCE_ROOT; };
22581666074EE1A5005F774F /* Read Me.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "Read Me.txt"; sourceTree = "<group>"; wrapsLines = 1; };
225FCE100ADF277300466C53 /* compiler.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = compiler.h; path = ../src/compiler.h; sourceTree = SOURCE_ROOT; };
225FCE110ADF277300466C53 /* cursor.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = cursor.c; path = ../src/cursor.c; sourceTree = SOURCE_ROOT; };
@ -151,7 +158,16 @@
225FE715093AC54F00F0B02F /* libiconv.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libiconv.dylib; path = /sw/lib/libiconv.dylib; sourceTree = "<absolute>"; };
225FE716093AC54F00F0B02F /* libintl.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libintl.a; path = /sw/lib/libintl.a; sourceTree = "<absolute>"; };
225FE717093AC54F00F0B02F /* libpng.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libpng.a; path = /sw/lib/libpng.a; sourceTree = "<absolute>"; };
225FED8E093ACC0A00F0B02F /* html */ = {isa = PBXFileReference; lastKnownFileType = folder; name = html; path = ../docs/html; sourceTree = SOURCE_ROOT; };
225FED8E093ACC0A00F0B02F /* html */ = {isa = PBXFileReference; lastKnownFileType = folder; path = html; sourceTree = "<group>"; };
22710D420AE5DEAB00FC7FCF /* AUTHORS.txt */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; name = AUTHORS.txt; path = ../docs/AUTHORS.txt; sourceTree = SOURCE_ROOT; };
22710D640AE5DEAB00FC7FCF /* CHANGES.txt */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; name = CHANGES.txt; path = ../docs/CHANGES.txt; sourceTree = SOURCE_ROOT; };
22710D650AE5DEAB00FC7FCF /* COPYING.txt */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; name = COPYING.txt; path = ../docs/COPYING.txt; sourceTree = SOURCE_ROOT; };
22710DA40AE5DEAC00FC7FCF /* EXTENDING.txt */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; name = EXTENDING.txt; path = ../docs/EXTENDING.txt; sourceTree = SOURCE_ROOT; };
22710DA50AE5DEAC00FC7FCF /* FAQ.txt */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; name = FAQ.txt; path = ../docs/FAQ.txt; sourceTree = SOURCE_ROOT; };
22710E4C0AE5DEAC00FC7FCF /* INSTALL.txt */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; name = INSTALL.txt; path = ../docs/INSTALL.txt; sourceTree = SOURCE_ROOT; };
22710E920AE5DEAC00FC7FCF /* OPTIONS.txt */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; name = OPTIONS.txt; path = ../docs/OPTIONS.txt; sourceTree = SOURCE_ROOT; };
22710E9B0AE5DEAC00FC7FCF /* PNG.txt */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; name = PNG.txt; path = ../docs/PNG.txt; sourceTree = SOURCE_ROOT; };
2271114E0AE5EC6E00FC7FCF /* fonts */ = {isa = PBXFileReference; lastKnownFileType = folder; name = fonts; path = ../fonts; sourceTree = SOURCE_ROOT; };
2286F34E0740B3FC001164FE /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/SDLMain.nib; sourceTree = "<group>"; };
22AB8EB4076FDF270009BF7C /* Tux Paint.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Tux Paint.app"; sourceTree = BUILT_PRODUCTS_DIR; };
22C005D30736650D008555A2 /* tuxpaint.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = tuxpaint.icns; sourceTree = SOURCE_ROOT; };
@ -169,7 +185,6 @@
22C0EAB10735B851008555A2 /* titles.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = titles.h; path = ../src/titles.h; sourceTree = SOURCE_ROOT; };
22C0EAB20735B851008555A2 /* tools.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = tools.h; path = ../src/tools.h; sourceTree = SOURCE_ROOT; };
22C0EAB30735B851008555A2 /* tuxpaint.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = tuxpaint.c; path = ../src/tuxpaint.c; sourceTree = SOURCE_ROOT; };
22C0ED760735BED1008555A2 /* fonts */ = {isa = PBXFileReference; lastKnownFileType = folder; name = fonts; path = ../fonts; sourceTree = SOURCE_ROOT; };
22C0ED9A0735BED1008555A2 /* stamps */ = {isa = PBXFileReference; lastKnownFileType = folder; name = stamps; path = ../stamps; sourceTree = SOURCE_ROOT; };
22C0EDAF0735BED1008555A2 /* starters */ = {isa = PBXFileReference; lastKnownFileType = folder; name = starters; path = ../starters; sourceTree = SOURCE_ROOT; };
22C0F5350735BFA8008555A2 /* brushes */ = {isa = PBXFileReference; lastKnownFileType = folder; name = brushes; path = ../data/brushes; sourceTree = SOURCE_ROOT; };
@ -251,6 +266,23 @@
name = Archives;
sourceTree = "<group>";
};
22710D380AE5DEAB00FC7FCF /* docs */ = {
isa = PBXGroup;
children = (
225FED8E093ACC0A00F0B02F /* html */,
22710D420AE5DEAB00FC7FCF /* AUTHORS.txt */,
22710D640AE5DEAB00FC7FCF /* CHANGES.txt */,
22710D650AE5DEAB00FC7FCF /* COPYING.txt */,
22710DA40AE5DEAC00FC7FCF /* EXTENDING.txt */,
22710DA50AE5DEAC00FC7FCF /* FAQ.txt */,
22710E4C0AE5DEAC00FC7FCF /* INSTALL.txt */,
22710E920AE5DEAC00FC7FCF /* OPTIONS.txt */,
22710E9B0AE5DEAC00FC7FCF /* PNG.txt */,
);
name = docs;
path = ../docs;
sourceTree = SOURCE_ROOT;
};
29B97314FDCFA39411CA2CEA /* TuxPaint */ = {
isa = PBXGroup;
children = (
@ -305,15 +337,14 @@
29B97317FDCFA39411CA2CEA /* Resources */ = {
isa = PBXGroup;
children = (
225FED8E093ACC0A00F0B02F /* html */,
224A368C0933B741005A3695 /* fonts */,
22710D380AE5DEAB00FC7FCF /* docs */,
22D01F2F07434FD100494AE0 /* locale */,
2286F34D0740B3FC001164FE /* SDLMain.nib */,
22C005D30736650D008555A2 /* tuxpaint.icns */,
22C0F5350735BFA8008555A2 /* brushes */,
22C0F5600735BFA8008555A2 /* images */,
22C0F5CE0735BFA8008555A2 /* sounds */,
22C0ED760735BED1008555A2 /* fonts */,
2271114E0AE5EC6E00FC7FCF /* fonts */,
22C0ED9A0735BED1008555A2 /* stamps */,
22C0EDAF0735BED1008555A2 /* starters */,
8D1107310486CEB800E47090 /* Info.plist */,
@ -339,8 +370,9 @@
isa = PBXNativeTarget;
buildConfigurationList = 224A35F709339642005A3695 /* Build configuration list for PBXNativeTarget "Tux Paint" */;
buildPhases = (
EEDBBD40097A27A2004F0C27 /* ShellScript */,
EEDBBD40097A27A2004F0C27 /* Make Translations */,
8D1107290486CEB800E47090 /* Resources */,
227111870AE5ED2700FC7FCF /* Copy TTF Fonts */,
8D11072C0486CEB800E47090 /* Sources */,
8D11072E0486CEB800E47090 /* Frameworks */,
22D5D2A80738498300B67229 /* CopyFiles */,
@ -388,15 +420,37 @@
2286F34F0740B3FC001164FE /* SDLMain.nib in Resources */,
22D0201207434FD200494AE0 /* locale in Resources */,
22581667074EE1A5005F774F /* Read Me.txt in Resources */,
224A369B0933B741005A3695 /* fonts in Resources */,
225FEDBA093ACC0A00F0B02F /* html in Resources */,
22710EE50AE5DEAD00FC7FCF /* AUTHORS.txt in Resources */,
22710F030AE5DEAD00FC7FCF /* CHANGES.txt in Resources */,
22710F040AE5DEAD00FC7FCF /* COPYING.txt in Resources */,
22710F3B0AE5DEAD00FC7FCF /* EXTENDING.txt in Resources */,
22710F3C0AE5DEAD00FC7FCF /* FAQ.txt in Resources */,
22710FD40AE5DEAD00FC7FCF /* INSTALL.txt in Resources */,
2271100F0AE5DEAD00FC7FCF /* OPTIONS.txt in Resources */,
227110170AE5DEAD00FC7FCF /* PNG.txt in Resources */,
227111800AE5EC6E00FC7FCF /* fonts in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
EEDBBD40097A27A2004F0C27 /* ShellScript */ = {
227111870AE5ED2700FC7FCF /* Copy TTF Fonts */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Copy TTF Fonts";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "FONTS_RESOURCES_PATH=$BUILT_PRODUCTS_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH/fonts/\nTTF_FONTS_PATH=../data/fonts\ncp -R $TTF_FONTS_PATH/* \"$FONTS_RESOURCES_PATH\"\nexit 0\n";
};
EEDBBD40097A27A2004F0C27 /* Make Translations */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
comments = "Generates locale folder\n";
@ -404,6 +458,7 @@
);
inputPaths = (
);
name = "Make Translations";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
@ -530,12 +585,12 @@
"$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_6)",
HAVE_STRCASESTR,
);
GCC_PREPROCESSOR_DEFINITIONS_QUOTED_1 = "VER_DATE=\\\"2005-11-26\\\"";
GCC_PREPROCESSOR_DEFINITIONS_QUOTED_1 = "VER_DATE=\\\"2006-10-16\\\"";
GCC_PREPROCESSOR_DEFINITIONS_QUOTED_2 = "DATA_PREFIX=\\\"Tux\\ Paint.app/Contents/Resources/\\\"";
GCC_PREPROCESSOR_DEFINITIONS_QUOTED_3 = "DOC_PREFIX=\\\"./share/doc/tuxpaint/\\\"";
GCC_PREPROCESSOR_DEFINITIONS_QUOTED_4 = "CONFDIR=\\\"$(HOME)/Library/Application\\ Support/Tux\\ Paint/\\\"";
GCC_PREPROCESSOR_DEFINITIONS_QUOTED_5 = "LOCALEDIR=\\\"Tux\\ Paint.app/Contents/Resources/locale/\\\"";
GCC_PREPROCESSOR_DEFINITIONS_QUOTED_6 = "VER_VERSION=\\\"0.9.15\\\"";
GCC_PREPROCESSOR_DEFINITIONS_QUOTED_6 = "VER_VERSION=\\\"0.9.16\\\"";
HEADER_SEARCH_PATHS = (
/Library/Frameworks/SDL.framework/Headers,
/Library/Frameworks/SDL_image.framework/Headers/,