Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672640 - media-radio/xastir-2.0.8-r1 USE=-graphicsmagick with media-gfx/imagemagick-7.0.8.14 - src_configure(): Cannot find Magick-config: Building w/o ImageMagick support.
Summary: media-radio/xastir-2.0.8-r1 USE=-graphicsmagick with media-gfx/imagemagick-7....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Thomas Beierlein
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-06 18:31 UTC by Daniel M. Weeks
Modified: 2018-12-08 14:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel M. Weeks 2018-12-06 18:31:43 UTC
emerging xastir[-graphicsmagick] should use imagemagick according to the ebuild but it doesn't:

*** Cannot find Magick-config:  Building w/o ImageMagick support. ***

[...]

RECOMMENDED OPTIONS:
  GraphicsMagick/ImageMagick (Raster maps) : no

It looks like the underlying problem is xastir attempting to run "Magick-config" rather than "MagickCore-config".

This is on a system with media-gfx/imagemagick-7.0.8.14.

Reproducible: Always
Comment 1 Daniel M. Weeks 2018-12-06 19:27:25 UTC
Also, it looks like there are many references to "magick/api.h" throughout the code and this file was removed in ImageMagick 7. It seems the best short-term fix is to adjust DEPEND to require <media-gfx/imagemagick-7.
Comment 2 Thomas Beierlein gentoo-dev 2018-12-08 12:53:06 UTC
(In reply to Daniel M. Weeks from comment #1)
> Also, it looks like there are many references to "magick/api.h" throughout
> the code and this file was removed in ImageMagick 7. It seems the best
> short-term fix is to adjust DEPEND to require <media-gfx/imagemagick-7.

Thanks for the report and the first analyze.

Looking into the code xastir checks only for Magick-config even in new xastir-2.1.0 version.

As can be found on the xastir mailing list and on github the dev team has mostly abandoned the support for imagemagick. Most user have migrated to using graphicsmagick and I fear there will not much work put into an imagemagick-7 adaption.

So your suggested solution seems to be appropriate. Maybe we will drop imagemagick support completely in the future.
Comment 3 Larry the Git Cow gentoo-dev 2018-12-08 14:12:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c69b5abed22691e5bf09d86da9a5fab35ff346d4

commit c69b5abed22691e5bf09d86da9a5fab35ff346d4
Author:     Thomas Beierlein <tomjbe@gentoo.org>
AuthorDate: 2018-12-08 14:07:13 +0000
Commit:     Thomas Beierlein <tomjbe@gentoo.org>
CommitDate: 2018-12-08 14:07:13 +0000

    media-radio/xastir: Depend on <media-gfx/imagemagick-7 (Bug #672640)
    
    Reported-by:  Daniel M. Weeks <dan@danweeks.net>
    Closes: https://bugs.gentoo.org/672640
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>

 media-radio/xastir/xastir-2.0.8-r1.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)