+2005-03-15 Marcus Mueller <znek@mulle-kybernetik.com>
+
+ * syncXcodeVersions.sh: update SOPE* versions if necessary
+
2005-01-04 Marcus Mueller <znek@mulle-kybernetik.com>
* znek-fix-xcode-projects.sh: added SoOFS
mv ${PROJECT}.new ${PROJECT}
}
+set_sope_versions() {
+ # $1 project dir
+ # $2 MAJOR number
+ # $3 MINOR number
+ # $4 SUBMINOR number
+
+ PROJECT=$1/project.pbxproj
+ SOPE_MAJOR=$2
+ SOPE_MINOR=$3
+ SOPE_SUBMINOR=$4
+
+ # magic happens here
+ sed -e "s/\(SOPE_MAJOR_VERSION=\)\([1234567890]*\)/\1${SOPE_MAJOR}/" -e "s/\(SOPE_MINOR_VERSION=\)\([1234567890]*\)/\1${SOPE_MINOR}/" -e "s/\(SOPE_SUBMINOR_VERSION=\)\([1234567890]*\)/\1${SOPE_SUBMINOR}/" "${PROJECT}" > "${PROJECT}.new"
+ mv ${PROJECT}.new ${PROJECT}
+}
+
+
get_dylib_version () {
# $1 project dir
PROJECT=$1/project.pbxproj
if [ "${PROJECT_DYLIB_VERSION}" != "${PROJECT_MAKE_VERSION}" ]; then
echo "Updating $PROJECT_NAME: ${PROJECT_DYLIB_VERSION} -> ${PROJECT_MAKE_VERSION}"
set_dylib_version "${PROJECT}" "${PROJECT_MAKE_VERSION}"
+ PROJECT=$1
+ SUBMINOR_VERSION=${PROJECT_MAKE_VERSION##*.}
+ set_sope_versions "${PROJECT}" "${MAJOR_VERSION}" "${MINOR_VERSION}" "${SUBMINOR_VERSION}"
fi
fi
}
);
buildSettings = {
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 4.5.136;
+ DYLIB_CURRENT_VERSION = 4.5.137;
FRAMEWORK_SEARCH_PATHS = "$(LOCAL_LIBRARY_DIR)/Frameworks";
FRAMEWORK_VERSION = A;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
);
buildSettings = {
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 4.5.136;
+ DYLIB_CURRENT_VERSION = 4.5.137;
FRAMEWORK_SEARCH_PATHS = "$(LOCAL_LIBRARY_DIR)/Frameworks";
FRAMEWORK_VERSION = A;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
HEADER_SEARCH_PATHS = ..;
INFOPLIST_FILE = "NGObjWeb-Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
- OTHER_CFLAGS = "-DSOPE_MAJOR_VERSION=4 -DSOPE_MINOR_VERSION=5 -DSOPE_SUBMINOR_VERSION=136";
+ OTHER_CFLAGS = "-DSOPE_MAJOR_VERSION=4 -DSOPE_MINOR_VERSION=5 -DSOPE_SUBMINOR_VERSION=137";
OTHER_LDFLAGS = "-seg1addr 0xC4900000 -headerpad_max_install_names";
OTHER_REZFLAGS = "";
PRODUCT_NAME = NGObjWeb;
);
buildSettings = {
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 4.5.136;
+ DYLIB_CURRENT_VERSION = 4.5.137;
FRAMEWORK_SEARCH_PATHS = "$(LOCAL_LIBRARY_DIR)/Frameworks";
FRAMEWORK_VERSION = A;
GCC_PRECOMPILE_PREFIX_HEADER = NO;
);
buildSettings = {
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 4.5.136;
+ DYLIB_CURRENT_VERSION = 4.5.137;
FRAMEWORK_SEARCH_PATHS = "$(LOCAL_LIBRARY_DIR)/Frameworks";
FRAMEWORK_VERSION = A;
GCC_PRECOMPILE_PREFIX_HEADER = NO;