| MantisBT - CMake | 
| View Issue Details | 
| 
 | 
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0013859 | CMake | Modules | public | 2013-01-20 03:37 | 2013-10-07 10:09 | 
| 
 | 
| Reporter | Evangelos Foutras |  | 
| Assigned To | Brad King |  | 
| Priority | normal | Severity | major | Reproducibility | always | 
| Status | closed | Resolution | fixed |  | 
| Platform |  | OS |  | OS Version |  | 
| Product Version | CMake 2.8.10.2 |  | 
| Target Version | CMake 2.8.11 | Fixed in Version | CMake 2.8.11 |  | 
| 
 | 
| Summary | 0013859: FindImageMagick.cmake needs update for ImageMagick >= 6.8.0-8 | 
| Description | From ImageMagick's 6.8.0-8 changelog: 
 ABI is incompatible if quantum depth change. Add abi indication to library
 name, thanks to Bastien Roucaries (reference
 http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=22352 [^]).
 
 The library names now include a new suffix, either -Q8 or -Q16 (maybe others too?), depending on the quantum depth ImageMagick was compiled with.
 
 For example on Arch Linux we have the following library name changes:
 
 /usr/lib/libMagick++.so.6 => /usr/lib/libMagick++-Q16.so.7
 /usr/lib/libMagickCore.so.6 => /usr/lib/libMagickCore-Q16.so.7
 /usr/lib/libMagickWand.so.6 => /usr/lib/libMagickWand-Q16.so.7
 
 Due to the above, the following CMake commands now fail to find the relevant libraries:
 
 FIND_PACKAGE(ImageMagick COMPONENTS Magick++)
 FIND_PACKAGE(ImageMagick COMPONENTS MagickWand)
 FIND_PACKAGE(ImageMagick COMPONENTS MagickCore)
 | 
| Steps To Reproduce |  | 
| Additional Information |  | 
| Tags | No tags attached. | 
| Relationships | | related to | 0014012 | closed | Brad King | FindImageMagick.cmake needs update for ImageMagick >= 6.8.0-8, perhaps use pkgconfig |  | related to | 0014174 | closed | Brad King | FindImageMagick.cmake does not find new imagemagick include dir | 
 | 
| Attached Files |  v2.8.10.2+0001-FindImageMagick-Search-quantum-depth-suffixes-13859.patch (1,822) 2013-03-01 08:10 https://public.kitware.com/Bug/file/4662/v2.8.10.2%2B0001-FindImageMagick-Search-quantum-depth-suffixes-13859.patch
 | 
| 
 | 
| Issue History | 
| Date Modified | Username | Field | Change | 
| 2013-01-20 03:37 | Evangelos Foutras | New Issue |  | 
| 2013-01-30 11:48 | Brad King | Note Added: 0032180 |  | 
| 2013-03-01 06:32 | slava888 | Note Added: 0032419 |  | 
| 2013-03-01 08:10 | Brad King | File Added: v2.8.10.2+0001-FindImageMagick-Search-quantum-depth-suffixes-13859.patch |  | 
| 2013-03-01 08:11 | Brad King | Note Added: 0032420 |  | 
| 2013-03-05 10:02 | Evangelos Foutras | Note Added: 0032508 |  | 
| 2013-03-05 11:32 | Brad King | Note Added: 0032509 |  | 
| 2013-03-05 11:32 | Brad King | Assigned To | => Brad King | 
| 2013-03-05 11:32 | Brad King | Status | new => resolved | 
| 2013-03-05 11:32 | Brad King | Resolution | open => fixed | 
| 2013-03-05 11:32 | Brad King | Fixed in Version | => CMake 2.8.11 | 
| 2013-03-05 11:32 | Brad King | Target Version | => CMake 2.8.11 | 
| 2013-03-14 13:23 | Brad King | Relationship added | related to 0014012 | 
| 2013-05-28 09:43 | Brad King | Relationship added | related to 0014174 | 
| 2013-10-07 10:09 | Robert Maynard | Note Added: 0034068 |  | 
| 2013-10-07 10:09 | Robert Maynard | Status | resolved => closed | 
	| Notes | 
	| 
 | 
	| 
		
			| (0032180) |  
			| Brad King |  
			| 2013-01-30 11:48 |  | 
		
			| Most CMake find modules, including this one, are maintained by volunteer "module maintainers": 
 http://www.cmake.org/Wiki/CMake:Module_Maintainers [^]
 
 The maintainer for this module may not be able to address this for a while.  Will anyone volunteer to take over the module maintainer role for ImageMagick, or a least supply a proposed patch?
 |  | 
	| 
 | 
	| 
		
			| (0032419) |  
			| slava888 |  
			| 2013-03-01 06:32 |  |  | 
	| 
 | 
	| 
		
			| (0032420) |  
			| Brad King |  
			| 2013-03-01 08:11 |  | 
		
			| Re 0013859:0032419: Thanks, I converted that to attachment "v2.8.10.2+0001-FindImageMagick-Search-quantum-depth-suffixes-13859.patch" and added -Q8 also. 
 Evangelos, does this patch resolve the issue?
 |  | 
	| 
 | 
	| 
		
			| (0032508) |  
			| Evangelos Foutras |  
			| 2013-03-05 10:02 |  | 
		
			| Patch works for me. 
 Thanks.
 |  | 
	| 
 | 
	| 
		
			| (0032509) |  
			| Brad King |  
			| 2013-03-05 11:32 |  |  | 
	| 
 | 
	| 
		
			| (0034068) |  
			| Robert Maynard |  
			| 2013-10-07 10:09 |  | 
		
			| Closing resolved issues that have not been updated in more than 4 months. |  |