Re: Why does libMagickCore depend on X11 ?

Hans de Goede <[email protected]>
Newsgroups gmane.comp.video.image-magick.bugs
Message-ID <[email protected]>
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@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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.