[Pkg-gmagick-im-team] Bug#710668: version in experimental causes FTBFS for packages using libmagick*
Roderich Schupp
roderich.schupp at gmail.com
Sat Jun 1 16:30:57 UTC 2013
On Sat, Jun 1, 2013 at 5:12 PM, Bastien ROUCARIES <
roucaries.bastien at gmail.com> wrote:
> Do you use pkgconfig for setting the compiler and linker flags?
Yes.
--- pstoedit does (configure.ac):
PKG_CHECK_MODULES(LIBMAGICK, ImageMagick++,
HAVE_LIBMAGICK=yes
LIBMAGICK_CFLAGS="-DHAVE_MAGIC $LIBMAGICK_CFLAGS"
LIBMAGICK_LDFLAGS="$LIBMAGICK_LIBS" ,
configure log has:
checking ImageMagick flags through pkg-config... checking for LIBMAGICK...
yes
which results in (config.status)
S["LIBMAGICK_LDFLAGS"]="-lMagick++-6.Q16 -lMagickWand-6.Q16
-lMagickCore-6.Q16 "
S["LIBMAGICK_LIBS"]="-lMagick++-6.Q16 -lMagickWand-6.Q16
-lMagickCore-6.Q16 "
S["LIBMAGICK_CFLAGS"]="-DHAVE_MAGIC -fopenmp -DMAGICKCORE_HDRI_ENABLE=0
-DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6 "
--- emacs24 (24.3+1) does (configure.ac):
HAVE_IMAGEMAGICK=no
if test "${HAVE_X11}" = "yes"; then
if test "${with_imagemagick}" != "no"; then
IMAGEMAGICK_MODULE="Wand >= 6.2.8"
PKG_CHECK_MODULES(IMAGEMAGICK, $IMAGEMAGICK_MODULE,
HAVE_IMAGEMAGICK=yes, :)
AC_SUBST(IMAGEMAGICK_CFLAGS)
AC_SUBST(IMAGEMAGICK_LIBS)
configure log has:
checking for Wand >= 6.2.8... yes CFLAGS='-fopenmp
-DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
-I/usr/include/ImageMagick-6 ' LIBS='-lMagickWand-6.Q16
-lMagickCore-6.Q16 '
which results in (configure.status):
S["IMAGEMAGICK_LIBS"]="-lMagickWand-6.Q16 -lMagickCore-6.Q16 "
S["IMAGEMAGICK_CFLAGS"]="-fopenmp -DMAGICKCORE_HDRI_ENABLE=0
-DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6 "
--- calibre uses a Python based configuration that boils down to calling
pkg-config --cflags-only-I MagickWand
pkg-config --libs-only-L MagickWand
pkg-config --libs-only-l MagickWand
Cheers, Roderich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-gmagick-im-team/attachments/20130601/96cecd2f/attachment.html>
More information about the Pkg-gmagick-im-team
mailing list