+2004-12-14 Marcus Mueller <znek@mulle-kybernetik.com>
+
+ * znek-fix-xcode-projects.sh: added my personal pre-commit Xcode
+ check & fix script
+
+2004-11-07 Marcus Mueller <znek@mulle-kybernetik.com>
+
+ * syncXcodeVersions.sh: script file to adjust the framework versions
+ used in the Xcode files to those used by the GNUmakefile process
+
2004-10-17 Helge Hess <helge.hess@opengroupware.org>
* mod_ngobjweb*.spec: fixed URL (pointed to libical)
--- /dev/null
+#!/bin/sh
+# znek's fixes for Xcode projects
+
+TMPFILE=/tmp/znek-fix-xcode-projects_$$
+
+fixProject()
+{
+ # $1 - xcode project
+
+ PROJ=$1
+
+# 1. Replace /Local/BuildArea (my build area) with /Library/Frameworks
+ cat ${PROJ} | sed -e 's;/Local/BuildArea;/Library/Frameworks;g' > ${TMPFILE}
+ mv ${TMPFILE} ${TMPFILE}_1
+
+# 2. build filter for frameworks
+ FILTER=""
+ for f in SaxObjC DOM XmlRpc EOControl NGExtensions NGHttp NGObjWeb NGStreams NGXmlRpc SoObjects WebDAV NGImap4 NGMail NGMime SOPEX
+ do
+ FILTER="${FILTER} -e s;/Library/Frameworks/${f}.framework;\"\$(USER_LIBRARY_DIR)/Frameworks/${f}.framework\";g"
+ done
+ cat ${TMPFILE}_1 | sed ${FILTER} > ${TMPFILE}
+ rm -f ${TMPFILE}_1
+ diff -q ${TMPFILE} ${PROJ} > /dev/null 2>&1
+ if [ ! $? -eq 0 ]; then
+ cp ${TMPFILE} ${PROJ}
+ echo "${PROJ} fixed"
+ fi
+ rm -f ${TMPFILE}
+}
+
+PROJECTS=`find . -name "*.pbxproj"`
+for p in ${PROJECTS}
+do
+ fixProject "$p"
+done
\ No newline at end of file