From 6f08d0332207f6872be4227b21c3dac32fc4a134 Mon Sep 17 00:00:00 2001 From: Andrey Kamaev Date: Tue, 23 Oct 2012 17:59:59 +0400 Subject: [PATCH] Advance version number to 2.4.3-rc --- CMakeLists.txt | 2 +- cmake/OpenCVConfig.cmake | 2 +- .../android_binary_package/O4A_SDK.rst | 18 +++++++++--------- .../dev_with_OCV_on_Android.rst | 18 +++++++++--------- modules/core/include/opencv2/core/version.hpp | 4 ++-- 5 files changed, 22 insertions(+), 22 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cf52324bce..9d15a525e1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -489,7 +489,7 @@ include(cmake/OpenCVGenConfig.cmake) # Summary: # ---------------------------------------------------------------------------- status("") -status("General configuration for OpenCV ${OPENCV_VERSION} =====================================") +status("General configuration for OpenCV ${OPENCV_VERSION}-rc =====================================") if(OPENCV_VCSVERSION) status(" Version control:" ${OPENCV_VCSVERSION}) endif() diff --git a/cmake/OpenCVConfig.cmake b/cmake/OpenCVConfig.cmake index 37ef015208..300fcd4193 100644 --- a/cmake/OpenCVConfig.cmake +++ b/cmake/OpenCVConfig.cmake @@ -150,7 +150,7 @@ if(OpenCV_LIB_PATH AND EXISTS "${OpenCV_LIB_PATH}/OpenCVConfig.cmake") endif() else() if(NOT OpenCV_FIND_QUIETLY) - message(WARNING "Found OpenCV 2.4.2 Windows Super Pack but it has not binaries compatible with your configuration. + message(WARNING "Found OpenCV 2.4.3 Windows Super Pack but it has not binaries compatible with your configuration. You should manually point CMake variable OpenCV_DIR to your build of OpenCV library.") endif() set(OpenCV_FOUND FALSE CACHE BOOL "" FORCE) diff --git a/doc/tutorials/introduction/android_binary_package/O4A_SDK.rst b/doc/tutorials/introduction/android_binary_package/O4A_SDK.rst index 824a9730e3..afd7b77e6e 100644 --- a/doc/tutorials/introduction/android_binary_package/O4A_SDK.rst +++ b/doc/tutorials/introduction/android_binary_package/O4A_SDK.rst @@ -34,10 +34,10 @@ The structure of package contents looks as follows: :: - OpenCV-2.4.2-android-sdk + OpenCV-2.4.3-android-sdk |_ apk - | |_ OpenCV_2.4.2_binary_pack_XXX.apk - | |_ OpenCV_2.4.2_Manager.apk + | |_ OpenCV_2.4.3_binary_pack_XXX.apk + | |_ OpenCV_2.4.3_Manager.apk | |_ doc |_ samples @@ -80,7 +80,7 @@ The structure of package contents looks as follows: **Note**: the most recent docs (nightly build) are at http://docs.opencv.org/trunk/. Generally, it's more up-to-date, but can refer to not-yet-released functionality. -Starting version 2.4.2 `OpenCV4Android SDK` uses `OpenCV Manager` API for library initialization. `OpenCV Manager` is an Android service based solution providing the following benefits for OpenCV applications developers: +Starting version 2.4.3 `OpenCV4Android SDK` uses `OpenCV Manager` API for library initialization. `OpenCV Manager` is an Android service based solution providing the following benefits for OpenCV applications developers: * Compact apk-size, since all applications use the same binaries from Manager and do not store native libs within themselves; @@ -140,10 +140,10 @@ Get the OpenCV4Android SDK .. code-block:: bash - unzip ~/Downloads/OpenCV-2.4.2-android-sdk.zip + unzip ~/Downloads/OpenCV-2.4.3-android-sdk.zip -.. |opencv_android_bin_pack| replace:: OpenCV-2.4.2-android-sdk.zip -.. _opencv_android_bin_pack_url: http://sourceforge.net/projects/opencvlibrary/files/opencv-android/2.4.2/OpenCV-2.4.2-android-sdk.zip/download +.. |opencv_android_bin_pack| replace:: OpenCV-2.4.3-android-sdk.zip +.. _opencv_android_bin_pack_url: http://sourceforge.net/projects/opencvlibrary/files/opencv-android/2.4.3/OpenCV-2.4.3-android-sdk.zip/download .. |opencv_android_bin_pack_url| replace:: |opencv_android_bin_pack| .. |seven_zip| replace:: 7-Zip .. _seven_zip: http://www.7-zip.org/ @@ -272,8 +272,8 @@ Well, running samples from Eclipse is very simple: .. code-block:: sh :linenos: - /platform-tools/adb install /apk/OpenCV_2.4.2_Manager.apk - /platform-tools/adb install /apk/OpenCV_2.4.2_binary_pack_armv7a.apk + /platform-tools/adb install /apk/OpenCV_2.4.3_Manager.apk + /platform-tools/adb install /apk/OpenCV_2.4.3_binary_pack_armv7a.apk If you're running Windows, that will probably look like this: diff --git a/doc/tutorials/introduction/android_binary_package/dev_with_OCV_on_Android.rst b/doc/tutorials/introduction/android_binary_package/dev_with_OCV_on_Android.rst index 160f02591e..f7f0c4718c 100644 --- a/doc/tutorials/introduction/android_binary_package/dev_with_OCV_on_Android.rst +++ b/doc/tutorials/introduction/android_binary_package/dev_with_OCV_on_Android.rst @@ -42,13 +42,13 @@ Application development with async initialization Using async initialization is a **recommended** way for application development. It uses the OpenCV Manager to access OpenCV libraries externally installed in the target system. #. Add OpenCV library project to your workspace. Use menu :guilabel:`File -> Import -> Existing project in your workspace`, - press :guilabel:`Browse` button and locate OpenCV4Android SDK (:file:`OpenCV-2.4.2-android-sdk/sdk`). + press :guilabel:`Browse` button and locate OpenCV4Android SDK (:file:`OpenCV-2.4.3-android-sdk/sdk`). .. image:: images/eclipse_opencv_dependency0.png :alt: Add dependency from OpenCV library :align: center -#. In application project add a reference to the OpenCV Java SDK in :guilabel:`Project -> Properties -> Android -> Library -> Add` select ``OpenCV Library - 2.4.2``. +#. In application project add a reference to the OpenCV Java SDK in :guilabel:`Project -> Properties -> Android -> Library -> Add` select ``OpenCV Library - 2.4.3``. .. image:: images/eclipse_opencv_dependency1.png :alt: Add dependency from OpenCV library @@ -60,14 +60,14 @@ You can do it using Google Play Market or manually with ``adb`` tool: .. code-block:: sh :linenos: - /platform-tools/adb install /apk/OpenCV_2.4.2_Manager.apk + /platform-tools/adb install /apk/OpenCV_2.4.3_Manager.apk For rare cases if NEON instruction set is not supported you need to install aditional OpenCV Library package: .. code-block:: sh :linenos: - /platform-tools/adb install /apk/OpenCV_2.4.2_binary_pack_armv7a.apk + /platform-tools/adb install /apk/OpenCV_2.4.3_binary_pack_armv7a.apk There is a very base code snippet implementing the async initialization. It shows basic principles. See the "15-puzzle" OpenCV sample for details. @@ -122,22 +122,22 @@ According to this approach all OpenCV binaries are included into your applicatio This approach is deprecated for the production code, release package is recommended to communicate with OpenCV Manager via the async initialization described above. #. Add the OpenCV library project to your workspace the same way as for the async initialization above. - Use menu :guilabel:`File -> Import -> Existing project in your workspace`, push :guilabel:`Browse` button and select OpenCV SDK path (:file:`OpenCV-2.4.2-android-sdk/sdk`). + Use menu :guilabel:`File -> Import -> Existing project in your workspace`, push :guilabel:`Browse` button and select OpenCV SDK path (:file:`OpenCV-2.4.3-android-sdk/sdk`). .. image:: images/eclipse_opencv_dependency0.png :alt: Add dependency from OpenCV library :align: center -#. In the application project add a reference to the OpenCV4Android SDK in :guilabel:`Project -> Properties -> Android -> Library -> Add` select ``OpenCV Library - 2.4.2``; +#. In the application project add a reference to the OpenCV4Android SDK in :guilabel:`Project -> Properties -> Android -> Library -> Add` select ``OpenCV Library - 2.4.3``; .. image:: images/eclipse_opencv_dependency1.png :alt: Add dependency from OpenCV library :align: center -#. If your application project **doesn't have a JNI part**, just copy the corresponding OpenCV native libs from :file:`/sdk/native/libs/` to your project directory to folder :file:`libs/`. +#. If your application project **doesn't have a JNI part**, just copy the corresponding OpenCV native libs from :file:`/sdk/native/libs/` to your project directory to folder :file:`libs/`. In case of the application project **with a JNI part**, instead of manual libraries copying you need to modify your ``Android.mk`` file: - add the following two code lines after the ``"include $(CLEAR_VARS)"`` and before ``"include path_to_OpenCV-2.4.2-android-sdk/sdk/native/jni/OpenCV.mk"`` + add the following two code lines after the ``"include $(CLEAR_VARS)"`` and before ``"include path_to_OpenCV-2.4.3-android-sdk/sdk/native/jni/OpenCV.mk"`` .. code-block:: make :linenos: @@ -203,7 +203,7 @@ To build your own Android application, which uses OpenCV from native part, the f .. code-block:: make - include C:\Work\OpenCV4Android\OpenCV-2.4.2-android-sdk\sdk\native\jni\OpenCV.mk + include C:\Work\OpenCV4Android\OpenCV-2.4.3-android-sdk\sdk\native\jni\OpenCV.mk should be inserted into the :file:`jni/Android.mk` file **after** the line diff --git a/modules/core/include/opencv2/core/version.hpp b/modules/core/include/opencv2/core/version.hpp index 07cd4506dd..8e817511d5 100644 --- a/modules/core/include/opencv2/core/version.hpp +++ b/modules/core/include/opencv2/core/version.hpp @@ -49,10 +49,10 @@ #define CV_MAJOR_VERSION 2 #define CV_MINOR_VERSION 4 -#define CV_SUBMINOR_VERSION 2 +#define CV_SUBMINOR_VERSION 3 #define CVAUX_STR_EXP(__A) #__A #define CVAUX_STR(__A) CVAUX_STR_EXP(__A) -#define CV_VERSION CVAUX_STR(CV_MAJOR_VERSION) "." CVAUX_STR(CV_MINOR_VERSION) "." CVAUX_STR(CV_SUBMINOR_VERSION) +#define CV_VERSION CVAUX_STR(CV_MAJOR_VERSION) "." CVAUX_STR(CV_MINOR_VERSION) "." CVAUX_STR(CV_SUBMINOR_VERSION) "-rc" #endif