Merge lp:~gabipetrovay/zorba/formatting-image into lp:zorba/image-module

Proposed by Gabriel Petrovay
Status: Superseded
Proposed branch: lp:~gabipetrovay/zorba/formatting-image
Merge into: lp:zorba/image-module
Diff against target: 101 lines (+22/-26)
3 files modified
CMakeLists.txt (+4/-13)
cmake_modules/Windows/FindGraphviz.cmake (+8/-4)
cmake_modules/Windows/FindImageMagick.cmake (+10/-9)
To merge this branch: bzr merge lp:~gabipetrovay/zorba/formatting-image
Reviewer Review Type Date Requested Status
Gabriel Petrovay (community) Approve
Review via email: mp+78759@code.launchpad.net

Commit message

Formtting, corrected documentation, and usage of the new macro SET_CMAKE_MODULE_PATH

Description of the change

Formtting, corrected documentation, and usage of the new macro SET_CMAKE_MODULE_PATH

To post a comment you must log in.
Revision history for this message
Gabriel Petrovay (gabipetrovay) :
review: Approve
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

The attempt to merge lp:~gabipetrovay/zorba/formatting-image into lp:zorba/image-module failed. Below is the output from the failed tests.

CMake Error at /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake:272 (message):
  Validation queue job formatting-image-2011-10-09T15-04-20.892Z is finished.
  The final status was:

  1 tests did not succeed - changes not commited.

Error in read script: /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake

Unmerged revisions

44. By Gabriel Petrovay

Listing tests that segfault on Windows in the list of exceptions when calling ADD_TEST_DIRECTORY. Approved: Gabriel Petrovay

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'CMakeLists.txt'
--- CMakeLists.txt 2011-08-10 14:05:13 +0000
+++ CMakeLists.txt 2011-10-09 14:51:27 +0000
@@ -12,26 +12,17 @@
12# See the License for the specific language governing permissions and12# See the License for the specific language governing permissions and
13# limitations under the License.13# limitations under the License.
1414
15CMAKE_MINIMUM_REQUIRED(VERSION 2.6)15CMAKE_MINIMUM_REQUIRED (VERSION 2.6)
1616
17PROJECT (zorba_image_module)17PROJECT (zorba_image_module)
18ENABLE_TESTING ()18ENABLE_TESTING ()
19INCLUDE (CTest)19INCLUDE (CTest)
2020
21IF (WIN32)21SET_CMAKE_MODULE_PATH ()
22 # On Windows we use proxy modules that try to guess first the location
23 # of the required third party libraries. This will search in order in:
24 # 1. the path pointed by ZORBA_THIRD_PARTY_REQUIREMENTS
25 # 2. the Program Files directory available on the users computer
26 # 3. the PATH environment variable
27 # The logic is implemented by the macros in the ProxyFindModule.cmake module.
28 LIST (APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake_modules/Windows")
29ENDIF (WIN32)
30LIST (APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake_modules")
3122
32FIND_PACKAGE (Zorba REQUIRED HINTS "${ZORBA_BUILD_DIR}")23FIND_PACKAGE (Zorba REQUIRED HINTS "${ZORBA_BUILD_DIR}")
33INCLUDE ("${Zorba_USE_FILE}")24INCLUDE ("${Zorba_USE_FILE}")
3425
35ADD_SUBDIRECTORY("src")26ADD_SUBDIRECTORY ("src")
3627
37DONE_DECLARING_ZORBA_URIS()28DONE_DECLARING_ZORBA_URIS ()
3829
=== modified file 'cmake_modules/Windows/FindGraphviz.cmake'
--- cmake_modules/Windows/FindGraphviz.cmake 2011-08-19 00:03:49 +0000
+++ cmake_modules/Windows/FindGraphviz.cmake 2011-10-09 14:51:27 +0000
@@ -25,13 +25,17 @@
25# -D GRAPHVIZ_INCLUDE="path_to_3rd_party_dir\*graphviz*\src"25# -D GRAPHVIZ_INCLUDE="path_to_3rd_party_dir\*graphviz*\src"
26# -D GRAPHVIZ_LIBRARY="path_to_3rd_party_dir\*graphviz*\bin\[Release]\graphviz.lib"26# -D GRAPHVIZ_LIBRARY="path_to_3rd_party_dir\*graphviz*\bin\[Release]\graphviz.lib"
27#27#
28# See the FindLibTidy.cmake module shipped with Zorba for more information.28# See the FindGraphviz.cmake module shipped with Zorba for more information.
2929
30FIND_PACKAGE_WIN32 (NAME Graphviz FOUND_VAR GRAPHVIZ_FOUND SEARCH_NAMES graphviz)30FIND_PACKAGE_WIN32 (
31 NAME "Graphviz"
32 FOUND_VAR "GRAPHVIZ_FOUND"
33 SEARCH_NAMES "graphviz"
34)
3135
32IF (GRAPHVIZ_FOUND)36IF (GRAPHVIZ_FOUND)
3337
34 #find the needed DLL's38 # find the needed DLL's
35 FIND_PACKAGE_DLLS_WIN32 (${FOUND_LOCATION} graph.dll)39 FIND_PACKAGE_DLLS_WIN32 (${FOUND_LOCATION} graph.dll)
36 40
37ENDIF (GRAPHVIZ_FOUND)
38\ No newline at end of file41\ No newline at end of file
42ENDIF (GRAPHVIZ_FOUND)
3943
=== modified file 'cmake_modules/Windows/FindImageMagick.cmake'
--- cmake_modules/Windows/FindImageMagick.cmake 2011-10-08 15:05:46 +0000
+++ cmake_modules/Windows/FindImageMagick.cmake 2011-10-09 14:51:27 +0000
@@ -14,19 +14,20 @@
1414
15# - Try to find the ImageMagick lib on Windows15# - Try to find the ImageMagick lib on Windows
16#16#
17# This is a proxy module that calls the FindGraphviz.cmake module. Before17# This is a proxy module that calls the FindImageMagick.cmake module.
18# doing that, we try to guess where Graphviz might be on the user's machine.
19# The user should provide ZORBA_THIRD_PARTY_REQUIREMENTS which is a path where
20# the Graphviz directory can be found. The Graphviz directory must have "graphviz"
21# (case insensitive) in its name.
22#18#
23# See the FindLibTidy.cmake module shipped with Zorba for more information.19# See the FindImageMagick.cmake module shipped with Zorba for more information.
2420
25FIND_PACKAGE_WIN32 (NAME ImageMagick FOUND_VAR ImageMagick_FOUND SEARCH_NAMES ImageMagick COMPONENTS Magick++ MagickCore MagickWand)21FIND_PACKAGE_WIN32 (
22 NAME "ImageMagick"
23 FOUND_VAR "ImageMagick_FOUND"
24 SEARCH_NAMES "ImageMagick"
25 COMPONENTS Magick++ MagickCore MagickWand
26)
2627
27IF (ImageMagick_FOUND)28IF (ImageMagick_FOUND)
2829
29 #find the needed DLL's30 # find the needed DLL's
30 FIND_PACKAGE_DLL_WIN32 (${FOUND_LOCATION} "CORE_RL_bzlib_")31 FIND_PACKAGE_DLL_WIN32 (${FOUND_LOCATION} "CORE_RL_bzlib_")
31 FIND_PACKAGE_DLL_WIN32 (${FOUND_LOCATION} "CORE_RL_jbig_")32 FIND_PACKAGE_DLL_WIN32 (${FOUND_LOCATION} "CORE_RL_jbig_")
32 FIND_PACKAGE_DLL_WIN32 (${FOUND_LOCATION} "CORE_RL_jp2_")33 FIND_PACKAGE_DLL_WIN32 (${FOUND_LOCATION} "CORE_RL_jp2_")
@@ -44,4 +45,4 @@
4445
45 FIND_PACKAGE_DLL_WIN32 (${FOUND_LOCATION} "X11")46 FIND_PACKAGE_DLL_WIN32 (${FOUND_LOCATION} "X11")
4647
47ENDIF (ImageMagick_FOUND)
48\ No newline at end of file48\ No newline at end of file
49ENDIF (ImageMagick_FOUND)

Subscribers

People subscribed via source and target branches

to all changes: