]> err.no Git - sope/commitdiff
improved maintenance script & bumped appropriate versions
authorznek <znek@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Tue, 15 Mar 2005 00:53:01 +0000 (00:53 +0000)
committerznek <znek@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Tue, 15 Mar 2005 00:53:01 +0000 (00:53 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@654 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

maintenance/ChangeLog
maintenance/syncXcodeVersions.sh
sope-appserver/NGObjWeb/NGHttp/NGHttp.xcode/project.pbxproj
sope-appserver/NGObjWeb/NGObjWeb.xcode/project.pbxproj
sope-appserver/NGObjWeb/SoObjects/SoObjects.xcode/project.pbxproj
sope-appserver/NGObjWeb/WebDAV/WebDAV.xcode/project.pbxproj

index 038b69ea7a867e4611263bcbe85a71bce50d54c9..5596a39e0985571d2d8deec0972d30f9250d51b7 100644 (file)
@@ -1,3 +1,7 @@
+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
index 9c9a8be7f9180c2b08c8bf66a4c1ee06e0d6128c..5fa290077da1dc17c50026c12e8353a3c5ae042c 100755 (executable)
@@ -18,6 +18,23 @@ set_dylib_version() {
   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
@@ -85,6 +102,9 @@ update_project_if_necessary() {
     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
 }
index 7d436a4727f1db6f23cc0c2815bc843556ec0138..cb50d025d42e643bac638eddc4850fc82a3ce326 100644 (file)
                        );
                        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;
index 133227aaaa9b0748049536f6fa34e45f064c31bd..8434985f8fe67d7f861c9f545ee20fe687ea7fb3 100644 (file)
                        );
                        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;
index a7687ed6a9fe45aa8a8b15f295c008bf032dbc04..a67212e5aad9796ba9be0fbc624a8e0854c0029e 100644 (file)
                        );
                        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;
index dbac90dfabe71931fe5aa8d4dcba5910207abd21..e9b017fefa613428ae8a9171d4bb1d0b5063fbf5 100644 (file)
                        );
                        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;