[Magick-bugs] Why does libMagickCore depend on X11 ?

Hans de Goede j.w.r.degoede at hhs.nl
Mon Apr 28 02:01:51 PDT 2008


Lubomir Kundrak wrote:
> On Mon, 2008-04-28 at 10:51 +0200, Hans de Goede wrote:
>> Hi,
>>
>> Short intro (again): I'm a new co-maintainer of the Fedora package ImageMagick 
>> and as such walking through all open ImageMagick bugs in Fedora's bugzilla.
>>
>> While discussing ImageMagick on the Fedora mailinglist I got the following 
>> question:
>>
>> ---
>> Just curious; will this new version allow us to do some basic
>> splitting so that packages like Mediawiki won't depend on X libraries?
>> Currently the console applications like convert are linked against X.
>> ---
>>
>> Iow, could it be possible to modify ImageMagick so that the console 
>> applications and the libs themselves do not depend on X libs?
> 
> Hans,
> 
> I am wondering whether adding "-Wl,--as-needed" to LDFLAGS would help
> [1].
> 

Only up to a degree, according to rpmlint:
[hans at localhost ~]$ rpmlint ImageMagick|grep X
ImageMagick.i386: W: unused-direct-shlib-dependency 
/usr/lib/libMagickCore.so.1.0.0 /usr/lib/libXt.so.6

Only libXt is not used by libMagickCore

Regards,

Hans



More information about the Magick-bugs mailing list