commit:     294d9863a7c6d0d39aa12cb93fe357ed73dad32a
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 30 09:11:09 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Dec 30 10:32:08 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=294d9863

x11-terms/kitty: remove broken graphicsmagick optfeature

This only works with imagemagick. It parse outputs of the identify
command which mismatches and also call it using "identify -- files"
while graphicsmagick (currently) doesn't accept '--'.

Also (somehwat) clarify that this is for "kitty icat image.png",
applications can display images through kitty's graphics protocol
using their own image processing dependencies.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 x11-terms/kitty/kitty-0.23.1-r1.ebuild | 4 +---
 x11-terms/kitty/kitty-9999.ebuild      | 4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/x11-terms/kitty/kitty-0.23.1-r1.ebuild 
b/x11-terms/kitty/kitty-0.23.1-r1.ebuild
index ea4af33df1cd..ee5228eceb68 100644
--- a/x11-terms/kitty/kitty-0.23.1-r1.ebuild
+++ b/x11-terms/kitty/kitty-0.23.1-r1.ebuild
@@ -111,8 +111,6 @@ src_install() {
 pkg_postinst() {
        xdg_icon_cache_update
 
-       optfeature "displaying images in the terminal" \
-               media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick]
-
+       optfeature "in-terminal image display with kitty icat" 
media-gfx/imagemagick
        optfeature "audio-based terminal bell support" media-libs/libcanberra
 }

diff --git a/x11-terms/kitty/kitty-9999.ebuild 
b/x11-terms/kitty/kitty-9999.ebuild
index 45697c8607df..f47b4d2c18f8 100644
--- a/x11-terms/kitty/kitty-9999.ebuild
+++ b/x11-terms/kitty/kitty-9999.ebuild
@@ -111,8 +111,6 @@ src_install() {
 pkg_postinst() {
        xdg_icon_cache_update
 
-       optfeature "displaying images in the terminal" \
-               media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick]
-
+       optfeature "in-terminal image display with kitty icat" 
media-gfx/imagemagick
        optfeature "audio-based terminal bell support" media-libs/libcanberra
 }

Reply via email to