Bug 195864

Summary: ImageMagick-devel doesn't require freetype-devel
Product: [Fedora] Fedora Reporter: Robert Scheck <redhat-bugzilla>
Component: ImageMagickAssignee: Norm Murray <nmurray>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-09-05 22:50:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 194470    

Description Robert Scheck 2006-06-18 22:29:14 UTC
Description of problem:
Using ImageMagick-devel-6.2.5.4-4.2.1.fc5.3.i386 from Fedora Core 5 Updates:

$ Wand-config --libs
-lWand -lMagick -llcms -ltiff -lfreetype -ljpeg -lgs -lXext -lSM -lICE -lX11 -
lXt -lbz2 -lz -lpthread -lm -lpthread
$

ImageMagick-devel *has* to require *all* of these dependencies directly or 
indirectly, otherwise the rebuilding of packages like php-magickwand (Fedora 
Extras) will *always* fail. 

Version-Release number of selected component (if applicable):
ImageMagick-6.2.5.4-4.2.1.fc5.3

How reproducible & Steps to Reproduce:
rpm -e freetype-devel
Try to rebuild php-magickwand-0.1.8-2 from Fedora Extras:
"checking for MagickSetImageTicksPerSecond in -lWand... no"
"configure: error: There is something wrong. Please check config.log for more 
information."

In fact, the test script in configure is using ldflags from Wand-config and is 
complaining about missing -lfreetype which causes the failure above!

Actual results:
ImageMagick-devel doesn't require freetype-devel.

Expected results:
--- ImageMagick.spec       2006-05-25 18:39:48.000000000 +0200
+++ ImageMagick.spec.rsc   2006-06-19 00:26:56.000000000 +0200
@@ -58,6 +58,7 @@
 Requires: libjpeg-devel
 Requires: lcms-devel
 Requires: pkgconfig
+Requires: freetype-devel

 %description devel
 ImageMagick-devel contains the static libraries and header files you'll

Additional info:
This problem doesn't affect Fedora Core Development, because 6.2.8.0 is using 
pkgconfig and solves the stuff otherwise (building of php-magickwand for FC6 
worked without freetype-devel and as far as I can see, it had no impact).

Comment 1 Robert Scheck 2006-09-03 21:24:05 UTC
Matthias! You didn't fix this bug before pushing 6.2.5.4-4.2.1.fc5.4 :-(

Comment 2 Robert Scheck 2007-09-05 22:50:15 UTC
*gna* nobody wanted to take care of this, now FC5 is EOL. Closing now. Thank 
you guys, for NOT fixing this EasyFix.