Package: performous-tools
Version: 0.7.0+git20140715-1+b3
Severity: serious
Tags: patch


Currently the ss_extract and ss_cover_conv binaries are not shipped
with the performous-tools package which is a regression. I did not
willfully drop the binaries and it seems the detection of ImageMagick
libraries has been broken for some time.

Those libraries are no longer detected at build time and since they
are only optional the aforementioned binaries are not built anymore. I
assume the latest changes in ImageMagick and the corresponding
transition are reponsible for this change which went completely
unnoticed.

I consider this issue release critical because it was never the
intention to drop those binaries. Patch is attached.

Markus
From: Markus Koschany <a...@gambaru.de>
Date: Sun, 2 Nov 2014 13:44:14 +0100
Subject: fix imagemagick detection

Fix the detection of the ImageMagick library for Debian systems which use
Multiarch paths. That ensures that ss_extract and ss_cover_conv are built
again.

Forwarded: https://github.com/performous/performous/pull/113
---
 tools/CMakeLists.txt | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
index 50bdd6f..8c0d468 100644
--- a/tools/CMakeLists.txt
+++ b/tools/CMakeLists.txt
@@ -21,13 +21,17 @@ if (APPLE)
     find_package(ImageMagick COMPONENTS Magick++)
     include_directories(${ImageMagick_INCLUDE_DIRS})
 else (APPLE)
-    foreach(lib LibXML++ Z Magick++ Jpeg Tiff Png Freetype Z)
+    foreach(lib LibXML++ Z Jpeg Tiff Png Freetype Z)
 	    find_package(${lib})
     	if (${lib}_FOUND)
 	    	include_directories(${${lib}_INCLUDE_DIRS})
 		    add_definitions(${${lib}_DEFINITIONS})
     	endif (${lib}_FOUND)
     endforeach(lib)
+
+    find_package(ImageMagick COMPONENTS Magick++)
+    find_package(PkgConfig)
+    PKG_CHECK_MODULES(IMAGEMAGICK Magick++ MagickWand MagickCore)
 endif (APPLE)
 
 # Set default compile flags for GCC

Reply via email to