On 07/11/2024 16:56, Emilio Pozuelo Monfort wrote:
Control: tags -1 - moreinfo
Hi,
On 07/11/2024 14:00, Aurélien COUDERC wrote:
control: tags -1 + moreinfo
Dear Emilio,
Le jeudi 7 novembre 2024, 12:29:12 UTC+1 po...@debian.org a écrit :
Source: kxstitch
Severity: serious
Hi,
kxstitch is still built against imagemagick 6, but we're transitioning
to imagemagick 7, see [1].
Your package may be build-depending on imagemagick 6 binaries (e.g.
libmagickwand-6.q16-dev), in which case it should switch to the new
binary packages, or generic ones if possible.
bumping the build dependency fails to build kxstitch with an include error
stack that seems to be inside imagemagick itself.
I tried with libmagick++-dev, libmagick++-7.q16-dev and with adding
libmagickcore-7-arch-config as a B-D which contains :
/usr/include/x86_64-linux-gnu/ImageMagick-7/MagickCore/magick-baseconfig.h
Am I missing something ?
I see that CMakeLists fiddles with imagemagick DIRS, but somehow it's not
including all the flags:
root@andromeda:/# pkg-config --cflags Magick++
-I/usr/include/x86_64-linux-gnu/ImageMagick-7 -I/usr/include/ImageMagick-7
-fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
-DMAGICKCORE_CHANNEL_MASK_DEPTH=32
That would fix this issue and hopefully allow kxstitch to build against
imagemagick 7.
These couple of lines may help:
https://invent.kde.org/graphics/kxstitch/-/blob/master/CMakeLists.txt?ref_type=heads#L168
Emilio