Hi
As that's first time (as far I remember) I write here, I have to thank
you your great work on Imagemagick.
I tried to work on Inkscape detection of ImageMagick in configure script
I noticed some problems (with ImageMagick-6.3.4) :
The configure script of inkscape doesn't use the good method, and there
is problem on imagemagick pkg-config *.pc definition
Inkscape actually uses Magic++-config instead of pkg-config but uses it
as pkg-config
Magic++-config --libs
It doesn't get the --ldflags for the linked libs path (as some X11 libs).
pkg-config --libs get both linked libs names (as --libs) and libs path
(as --ld-flags), now there is two separates methods to obtain only libs
or ldflags :
pkg-config --libs-only-l (for --libs)
and
pkg-config --libs-only-L (for --ldflags)
The problem is than the ldflags are not well defined in my ImageMagick
pgk-config .pc files:
pkg-config --libs-only-L ImageMagick++
-L/opt/gfx/imagemagick-6.3.4/lib
pkg-config --libs ImageMagick++
-L/opt/gfx/imagemagick-6.3.4/lib -lMagick++ -lWand -lMagick
but are well defined with :
Magick++-config --ldflags:
-L/opt/gfx/imagemagick-6.3.4/lib -L/opt/X11R7.2/lib -lfreetype -lz
Magick++-config --libs:
-lMagick++ -lMagick -llcms -ltiff -lfreetype -ljpeg -lfontconfig -lXext
-lSM -lICE -lX11 -lXt -lbz2 -lz -lpthread -lm -lpthread -lWand -lMagick
_______________________________________________
Magick-bugs mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-bugs