|
From: Terry T. <ter...@us...> - 2004-11-11 09:29:47
|
Update of /cvsroot/frontierkernel/Frontier/build_XCode/Frontier.xcode In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19467/Frontier/build_XCode/Frontier.xcode Modified Files: project.pbxproj Log Message: Updated to make application bundle (product) name consistent with existing build environments; add "Frontier.icns"; correct handling of "Info.plist"; add shell script phase to substitute values of parameterized product name/version/copyright strings in "Info.plist", based on "version.h". Index: project.pbxproj =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/build_XCode/Frontier.xcode/project.pbxproj,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** project.pbxproj 10 Nov 2004 18:43:25 -0000 1.14 --- project.pbxproj 11 Nov 2004 09:29:37 -0000 1.15 *************** *** 72,76 **** 6515255F072BFC6500411831, ); ! hasScannedForEncodings = 0; isa = PBXProject; mainGroup = 6515255C072BFC6500411831; --- 72,76 ---- 6515255F072BFC6500411831, ); ! hasScannedForEncodings = 1; isa = PBXProject; [...3878 lines suppressed...] ! isa = PBXShellScriptBuildPhase; ! outputPaths = ( ! "${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Info.plist", ! ); ! runOnlyForDeploymentPostprocessing = 0; ! shellPath = /bin/sh; ! shellScript = "# debug\n#set -x\n#printenv\n\n# Build Frontier.icns file\n# There seems to be some bugs here, so just use\n# pre-created Frontier.icns file.\n# Also add \"icns.r\" path to Input files and\n# \"Frontier.icns\" path to Output files below.\n\n#/Developer/Tools/Rez \"${SRCROOT}/../resources/Frontier/icns.r\" -d TARGET_API_MAC_CARBON=1 -d FRONTIER_FRAMEWORK_INCLUDES=1 -i \"${SRCROOT}/../Common/headers\" -useDF -o \"${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Frontier.icns\"\n\n# Strip trademark character to prevent problems wuth shell quoting\n#product_str=`echo ${PRODUCT_NAME} | awk -F '\\342' '{print $1};'`\n\nproduct_str=${PRODUCT_NAME}\n\n# Parse the \"versions.h\" file for useful variables\n\nversion_str=`grep \"frontier_version_string\" \"${SRCROOT}/../Common/headers/versions.h\" | awk -F \\\" '{print $2};'`\ncopyright_year_str=`grep \"copyright_year_string\" \"${SRCROOT}/../Common/headers/versions.h\" | awk -F \\\" '{print $2};'`\n\n# Update the Info.plist\n# Could append \"(dbg)\" to product name for Development build style\n\n#defaults write \"${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Info\" CFBundleVersion ${version_str}\n\n# or use sed\n\nsed -e \"s/\\${PRODUCT_NAME_STR}/${product_str}/g\" -e \"s/\\${PRODUCT_VERSION_STR}/${version_str}/g\" -e \"s/\\${COPYRIGHT_YEAR_STR}/${copyright_year_str}/g\" \"${SRCROOT}/Info.Plist\" > \"${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Info.plist\""; ! }; ! DEA58AB307435A9500BAB271 = { ! isa = PBXFileReference; ! lastKnownFileType = image.icns; ! name = Frontier.icns; ! path = ../resources/Frontier/Frontier.icns; ! refType = 2; ! sourceTree = SOURCE_ROOT; ! }; ! DEA58AB407435A9500BAB271 = { ! fileRef = DEA58AB307435A9500BAB271; isa = PBXBuildFile; settings = { |