-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compilation fails with imagemagick-7 #24
Comments
I maintain dvdauthor for openSUSE and I've just come across the same issue. magick/api.h is depreciated even in ImageMagick 6 and simply provides a link to MagickCore.h but this doesn't solve the problem. You can build against GraphicsMagick by removing MagickCore-config and adding -I/usr/include/GraphicsMagick to your CFLAGS as a workaround. Unfortunately configure doesn't provide an easy option to switch between ImageMagick and GraphicsMagick. GraphicsMagick does contain magick/api.h |
I’m wondering ... do we even need the capability to import images via ImageMagick or GraphicsMagick? This is only used to import subpicture images. But these are restricted to two bits per pixel. Which is a poor fit for image formats intended for photorealism, like JPEG. I’m inclined to restrict imports to just PNG images, which means I only need libpng. Thoughts? |
I must admit I only use dvdauthor with DVDStyler which appears to handle images itself but I would first consider possible breakage to front ends before removing features. |
I have done a patch 1f74267 to try to simplify building against ImageMagick 6--does that help at all? Looking at Lars’s Gentoo patch, seems like ImageMagick 7 does things in a new, backward-incompatible way. Would it be useful to have an option to prefer GraphicsMagick over ImageMagick, when both are available? |
GraphicsMagick would be preferable but nobody has complained about the lack of magick. |
OK, what I have done is take out the automatic inclusion of ImageMagick or GraphicsMagick, and require you to now specify |
Sounds good. |
Can you, please, create release 0.7.3 with those improvements? |
dvdauthor optionally depends on imagemagick6, which is marked insecure. imagemagick7 could be supported with patches, but since upstream disabled the feature by default, it seems easier to remove it. (see ldo/dvdauthor#24) In addition, the previous release's Nix package listed imagemagick(7) as dependence, but it was not recognised and not used due to an error in the dvdauthor build script.
dvdauthor optionally depends on imagemagick6, which is marked insecure. imagemagick7 could be supported with patches, but since upstream disabled the feature by default, it seems easier to remove it. (see ldo/dvdauthor#24) In addition, the previous release's Nix package listed imagemagick(7) as dependence, but it was not recognised and not used due to an error in the dvdauthor build script.
Hi,
compilation of dvdauthor fails against imagemagick-7. The relevant part of the failing build is this:
This was als reported downstream at Gentoo.
The text was updated successfully, but these errors were encountered: