diff options
author | Ulrich Müller <ulm@gentoo.org> | 2023-10-24 18:20:36 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2023-10-24 18:37:51 +0200 |
commit | a370d9e0cf9af3561db6ae100ffffb5713172329 (patch) | |
tree | 1f6d78820017b74ac536d67cc2974996511af227 /app-editors/emacs/emacs-29.1.9999.ebuild | |
parent | www-client/chromium: drop 119.0.6045.21 (diff) | |
download | gentoo-a370d9e0cf9af3561db6ae100ffffb5713172329.tar.gz gentoo-a370d9e0cf9af3561db6ae100ffffb5713172329.tar.bz2 gentoo-a370d9e0cf9af3561db6ae100ffffb5713172329.zip |
app-editors/emacs: Add use-dependency on imagemagick
Propagate the flags for the jpeg, png, svg and tiff backends. Otherwise,
when visiting an image file, the following error will occur for svg:
ImageMagick error: Document is empty
`No such file or directory` @ error/svg.c/SVGError/3370
For jpeg, png and TIFF, a different error message is printed:
ImageMagick error: no decode delegate for this image format `PNG' @ error/constitute.c/ReadImage/746 [8 times]
No error occurs for webp.
Bug: https://bugs.gentoo.org/916204
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-editors/emacs/emacs-29.1.9999.ebuild')
-rw-r--r-- | app-editors/emacs/emacs-29.1.9999.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app-editors/emacs/emacs-29.1.9999.ebuild b/app-editors/emacs/emacs-29.1.9999.ebuild index 25d19bc31d28..ac342a06b3fd 100644 --- a/app-editors/emacs/emacs-29.1.9999.ebuild +++ b/app-editors/emacs/emacs-29.1.9999.ebuild @@ -128,7 +128,7 @@ RDEPEND="app-emacs/emacs-common[games?,gui(-)?] svg? ( >=gnome-base/librsvg-2.0 ) tiff? ( media-libs/tiff:= ) webp? ( media-libs/libwebp:0= ) - imagemagick? ( >=media-gfx/imagemagick-6.6.2:0= ) + imagemagick? ( media-gfx/imagemagick:0=[jpeg?,png?,svg?,tiff?] ) !aqua? ( gsettings? ( app-emacs/emacs-common[gsettings(-)] |