clone 486985 -1
severity -1 wishlist
retitle -1 drawtiming: Please use pkg-config instead of GraphicsMagick-config.
reassign -1 drawtiming
thanks

On Sat, Jun 28, 2008 at 04:56:09PM +0100, Simon McVittie wrote:
> /usr/bin/GraphicsMagick-config --libs outputs:
> 
> -lGraphicsMagick -llcms -ltiff -lfreetype -ljasper
> -ljpeg -lpng -lwmflite -lXext -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lm
> -lpthread
> 
> but libgraphicsmagick1-dev does not depend on libxext-dev, causing #486985.
> Neither does it depend on libsm-dev or libice-dev, although those seem to be
> pulled in indirectly by other packages.

This is quite odd, as the libgraphicsmagick1-dev Depends line more or
less duplicates the source package's Build-Depends. Might be stray
dependencies that get picked up if the respective packages happen to be
installed at build time. The patch you sent in certainly isn't wrong,
but it's not the full story, either. The respective packages ought to be
added to Build-Depends as well, at least. I'll investigate.

> (The drawtiming package, on which this bug was filed, actually runs
> GraphicsMagick++-config, but that's just a wrapper for GraphicsMagick-config,
> so I'm filing this against the C library rather than the C++ one.)

GraphicsMagick-config (just like Magick-config) historically cannot
distinguish between shared and static linkage. Hence the overly long
--libs line, and consequently the many Depends (rather than Recommends
or Suggests) in the -dev package. Therefore, I'd advise against using
the legacy GraphicsMagick-config, and prefer pkg-config instead, which
has this problem fixed. Wesley, if possible, please switch from
GraphicsMagick-config to pkg-config in the drawtiming package. This will
not only avoid graphicsmagick bug #486985, but also give you a much
shorter Depends line.

Thanks,

Daniel.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to