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
1=== modified file 'CMakeLists.txt'
2--- CMakeLists.txt 2011-08-10 14:05:13 +0000
3+++ CMakeLists.txt 2011-10-09 14:51:27 +0000
4@@ -12,26 +12,17 @@
5 # See the License for the specific language governing permissions and
6 # limitations under the License.
7
8-CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
9+CMAKE_MINIMUM_REQUIRED (VERSION 2.6)
10
11 PROJECT (zorba_image_module)
12 ENABLE_TESTING ()
13 INCLUDE (CTest)
14
15-IF (WIN32)
16- # On Windows we use proxy modules that try to guess first the location
17- # of the required third party libraries. This will search in order in:
18- # 1. the path pointed by ZORBA_THIRD_PARTY_REQUIREMENTS
19- # 2. the Program Files directory available on the users computer
20- # 3. the PATH environment variable
21- # The logic is implemented by the macros in the ProxyFindModule.cmake module.
22- LIST (APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake_modules/Windows")
23-ENDIF (WIN32)
24-LIST (APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake_modules")
25+SET_CMAKE_MODULE_PATH ()
26
27 FIND_PACKAGE (Zorba REQUIRED HINTS "${ZORBA_BUILD_DIR}")
28 INCLUDE ("${Zorba_USE_FILE}")
29
30-ADD_SUBDIRECTORY("src")
31+ADD_SUBDIRECTORY ("src")
32
33-DONE_DECLARING_ZORBA_URIS()
34+DONE_DECLARING_ZORBA_URIS ()
35
36=== modified file 'cmake_modules/Windows/FindGraphviz.cmake'
37--- cmake_modules/Windows/FindGraphviz.cmake 2011-08-19 00:03:49 +0000
38+++ cmake_modules/Windows/FindGraphviz.cmake 2011-10-09 14:51:27 +0000
39@@ -25,13 +25,17 @@
40 # -D GRAPHVIZ_INCLUDE="path_to_3rd_party_dir\*graphviz*\src"
41 # -D GRAPHVIZ_LIBRARY="path_to_3rd_party_dir\*graphviz*\bin\[Release]\graphviz.lib"
42 #
43-# See the FindLibTidy.cmake module shipped with Zorba for more information.
44+# See the FindGraphviz.cmake module shipped with Zorba for more information.
45
46-FIND_PACKAGE_WIN32 (NAME Graphviz FOUND_VAR GRAPHVIZ_FOUND SEARCH_NAMES graphviz)
47+FIND_PACKAGE_WIN32 (
48+ NAME "Graphviz"
49+ FOUND_VAR "GRAPHVIZ_FOUND"
50+ SEARCH_NAMES "graphviz"
51+)
52
53 IF (GRAPHVIZ_FOUND)
54
55- #find the needed DLL's
56+ # find the needed DLL's
57 FIND_PACKAGE_DLLS_WIN32 (${FOUND_LOCATION} graph.dll)
58
59-ENDIF (GRAPHVIZ_FOUND)
60\ No newline at end of file
61+ENDIF (GRAPHVIZ_FOUND)
62
63=== modified file 'cmake_modules/Windows/FindImageMagick.cmake'
64--- cmake_modules/Windows/FindImageMagick.cmake 2011-10-08 15:05:46 +0000
65+++ cmake_modules/Windows/FindImageMagick.cmake 2011-10-09 14:51:27 +0000
66@@ -14,19 +14,20 @@
67
68 # - Try to find the ImageMagick lib on Windows
69 #
70-# This is a proxy module that calls the FindGraphviz.cmake module. Before
71-# doing that, we try to guess where Graphviz might be on the user's machine.
72-# The user should provide ZORBA_THIRD_PARTY_REQUIREMENTS which is a path where
73-# the Graphviz directory can be found. The Graphviz directory must have "graphviz"
74-# (case insensitive) in its name.
75+# This is a proxy module that calls the FindImageMagick.cmake module.
76 #
77-# See the FindLibTidy.cmake module shipped with Zorba for more information.
78+# See the FindImageMagick.cmake module shipped with Zorba for more information.
79
80-FIND_PACKAGE_WIN32 (NAME ImageMagick FOUND_VAR ImageMagick_FOUND SEARCH_NAMES ImageMagick COMPONENTS Magick++ MagickCore MagickWand)
81+FIND_PACKAGE_WIN32 (
82+ NAME "ImageMagick"
83+ FOUND_VAR "ImageMagick_FOUND"
84+ SEARCH_NAMES "ImageMagick"
85+ COMPONENTS Magick++ MagickCore MagickWand
86+)
87
88 IF (ImageMagick_FOUND)
89
90- #find the needed DLL's
91+ # find the needed DLL's
92 FIND_PACKAGE_DLL_WIN32 (${FOUND_LOCATION} "CORE_RL_bzlib_")
93 FIND_PACKAGE_DLL_WIN32 (${FOUND_LOCATION} "CORE_RL_jbig_")
94 FIND_PACKAGE_DLL_WIN32 (${FOUND_LOCATION} "CORE_RL_jp2_")
95@@ -44,4 +45,4 @@
96
97 FIND_PACKAGE_DLL_WIN32 (${FOUND_LOCATION} "X11")
98
99-ENDIF (ImageMagick_FOUND)
100\ No newline at end of file
101+ENDIF (ImageMagick_FOUND)

Subscribers

People subscribed via source and target branches

to all changes: