Your message dated Mon, 12 May 2014 12:49:12 +0000
with message-id <[email protected]>
and subject line Bug#747856: fixed in jmagick 6.6.9~20130201-svn99-2
has caused the Debian Bug report #747856,
regarding [jmagick] [imagemagick transition] Please use pkg-config
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
747856: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747856
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: jmagick
Severity: important
x-debbugs-cc: Emmanuel Bourg <[email protected]>
x-debbugs-cc: [email protected]
hi,
We plan to made a transition for imagemagick as soon as possible.
Could you please include this patch in order to avoid FTBFS ?
Thanks
Bastien
>From c4e99452076369fd852147a1e6f6fe573ac55fe3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bastien=20ROUCARI=C3=88S?= <[email protected]>
Date: Mon, 12 May 2014 11:59:56 +0200
Subject: [PATCH] Use pkgconfig for flags
---
configure.in | 21 +++++++++++++++++++++
debian/rules | 1 +
2 files changed, 22 insertions(+)
diff --git a/configure.in b/configure.in
index 93de0f7..58da3d4 100644
--- a/configure.in
+++ b/configure.in
@@ -241,6 +241,15 @@ AC_ARG_ENABLE(diagnostic,
C_DEBUG=-DDIAGNOSTIC,C_DEBUG=)
AC_SUBST(C_DEBUG)
+AC_PATH_PROG(PKGCONFIG, pkg-config, not_found)
+USE_PKGCONFIG='no'
+if (test PKGCONFIG != 'not_found') ; then
+ if pkg-config MagickCore > /dev/null 2>/dev/null; then
+ USE_PKGCONFIG='yes'
+ fi
+fi
+
+if (test USE_PKGCONFIG == 'no') ; then
dnl Check if ImageMagick home specified
AC_ARG_WITH(magick-home, --with-magick-home=path home directory of ImageMagick,
MAGICK_HOME=${withval})
@@ -289,6 +298,13 @@ AC_ARG_WITH(magick-inc-dir,
if ( test -f ${MAGICK_INCLUDE_PATH}/magick/api.h ) ; then
MAGICK_INCLUDES=-I${MAGICK_INCLUDE_PATH}
fi
+# pkgconfig
+else
+ MAGICK_LIBS=`pkg-config --libs-only-l MagickCore`
+ MAGICK_LDFLAGS=`pkg-config --libs-only-L --libs-only-other MagickCore`
+ MAGICK_CFLAGS=`pkg-config --cflags-only-other MagickCore`
+ MAGICK_INCLUDES=`pkg-config --cflags-only-I MagickCore`
+fi
dnl Check for the ImageMagick header file magick/api.h
OLD_CPPFLAGS=${CPPFLAGS}
@@ -306,12 +322,17 @@ OLD_LDFLAGS=${LDFLAGS}
if test -n "${MAGICK_LIBS}"; then
LDFLAGS="${MAGICK_LIBS} ${LDFLAGS}"
fi
+if (test USE_PKGCONFIG=='no'); then
AC_CHECK_LIB(Magick, ConstituteImage,
HAVE_MAGICK_LIB=yes, HAVE_MAGICK_LIB=no)
if test ${HAVE_ImageMagick-6.2.4MAGICK_LIB} = no; then
AC_MSG_ERROR('Unable to find ImageMagick library')
fi
+else
+ HAVE_MAGICK_LIB='yes';
+fi
LDFLAGS=${OLD_LDFLAGS}
+CFLAGS="${CFLAGS} ${MAGICK_CFLAGS}"
diff --git a/debian/rules b/debian/rules
index 53ff56e..b82583e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,6 +18,7 @@ DEB_MAKE_CHECK_TARGET =
DEB_DH_INSTALL_SOURCEDIR = debian/tmp
DEB_COMPRESS_EXCLUDE = .java
DEB_INSTALL_CHANGELOGS_ALL := Changelog.txt
+DEB_AUTO_UPDATE_AUTOCONF := yes
VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^~-]+).*,\1,p')
export JFLAGS = -source 1.6 -target 1.6 -g
--
2.0.0.rc0
--- End Message ---
--- Begin Message ---
Source: jmagick
Source-Version: 6.6.9~20130201-svn99-2
We believe that the bug you reported is fixed in the latest version of
jmagick, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sylvestre Ledru <[email protected]> (supplier of updated jmagick package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 12 May 2014 13:32:28 +0200
Source: jmagick
Binary: libjmagick6-java jmagick6-docs libjmagick6-jni
Architecture: source all amd64
Version: 6.6.9~20130201-svn99-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers
<[email protected]>
Changed-By: Sylvestre Ledru <[email protected]>
Description:
jmagick6-docs - java interface to ImageMagick - api documentation
libjmagick6-java - java interface to ImageMagick - java classes
libjmagick6-jni - java interface to ImageMagick - native library
Closes: 747856
Changes:
jmagick (6.6.9~20130201-svn99-2) unstable; urgency=medium
.
* Team upload
* Standards-Version updated to 3.9.5
* Use pkg-config for the imagemagick transition.
Thanks to Bastien Roucaries (Closes: #747856)
Checksums-Sha1:
932dcd4c6fb8d9512474c59e0d4d05307e5e43f9 2259
jmagick_6.6.9~20130201-svn99-2.dsc
538744f65a73d1d0d34828181fe7104a5d2e218e 7748
jmagick_6.6.9~20130201-svn99-2.debian.tar.xz
c7b1a33117a47b84b44121877a43854de0c88acc 36150
libjmagick6-java_6.6.9~20130201-svn99-2_all.deb
5868365e91254fa15db69879fd8737e5d9d27b03 131838
jmagick6-docs_6.6.9~20130201-svn99-2_all.deb
16e270b9f77236b48c74da162175723b6fd92e08 37166
libjmagick6-jni_6.6.9~20130201-svn99-2_amd64.deb
Checksums-Sha256:
43050cae0eedf1d7fcf551417295cdb7ecfcc23b5151911b8d2a8126522a8d12 2259
jmagick_6.6.9~20130201-svn99-2.dsc
7d50b16c77c08b0520705d7da0b472c8247e279d963060dd6263ce8c5ea36762 7748
jmagick_6.6.9~20130201-svn99-2.debian.tar.xz
864fcb4c1b65e04f21c3366a1429400d8d19556ba92c432183ad67b16292fc45 36150
libjmagick6-java_6.6.9~20130201-svn99-2_all.deb
06fb6cceed60c83e2782d79009e5aa237b62d1507d3e4bcc77945d301fc99f2e 131838
jmagick6-docs_6.6.9~20130201-svn99-2_all.deb
5a232778a5a1852eb980862bf36805591e6a0601ed2143d8dde4d7a82591d1d1 37166
libjmagick6-jni_6.6.9~20130201-svn99-2_amd64.deb
Files:
c06a439434ef21fbb3f490df6310e9e2 36150 java optional
libjmagick6-java_6.6.9~20130201-svn99-2_all.deb
ef162c4ed997722c8704535199f6e4c0 131838 doc optional
jmagick6-docs_6.6.9~20130201-svn99-2_all.deb
7d9b5e9f81f6f7646cd3bb5b0c7df278 37166 graphics optional
libjmagick6-jni_6.6.9~20130201-svn99-2_amd64.deb
78d502ffbdb9d318d224eff828c8e5be 2259 graphics optional
jmagick_6.6.9~20130201-svn99-2.dsc
64093b933112db46de9a5700449e9252 7748 graphics optional
jmagick_6.6.9~20130201-svn99-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJTcL5AAAoJEH5lKNp1Lxvhc24P/j2n8Rp8NQWL/GpAC47q23GE
xmlbMJ+oTYBDND9yqwuFWdbtZSiPXDY5oJk0V5p+5bYfweY/rdeaQJeRy56WgFYg
yjNcq0iEWFyUH6t+rjQJAd6e+UUfsrug9dpRgeeM/ANLysX/1pQCCQSCix0jikWf
7eBQDIauKt2muFlQIrJJ9N0IiwjSsa1UpD2eBrID7yMZLh996hb14emH3/VTzsIy
PwK5xBW7pWZqFtZm7NzwvwIYiz5eP2Kt0Pjo+jOIJvOFfAwoe9UsF+TRJFrFtq49
aS+HLgmtEdlJE9r9xaF22s5XLB805ObefUgubOoQnW4XPygtP2qMxtNiZ/3ahovK
hBE1cset9/LLso7zLkdfsshtgVLICQKee7pbyJd7xRo6SHTAfX7WiEJkPwhX2mRO
UNmXydbfkxp+0+wCY+OQdg0yLhlPsdp4+xI4vuzGrMVCsH0YCfPkC3rwiHgCtBJD
+OqCVs9nDAnRWWq+iwb5EdRqQJZ7HNZraJk4vBWmoSyBvD9KENDF0dMWnIofytyI
xeQ0gq2njepl7jmR5NjBaYospeyTzYhtWytCCu+3jN++tasdgISG0WuYLuu/7Ouc
Bcb1jtu1TQqtPMYdXItgs243pBL9ZWYEb0Z5uk6LyA8sE48+UJcicMCrbvVkbFE+
tG2e8a0U3mWtBaRcPlV8
=6Ba+
-----END PGP SIGNATURE-----
--- End Message ---
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
Please use
[email protected] for discussions and questions.