commit:     d9bb1d561d34d9fe3ca9d8643e12824b88f306e4
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 19 20:04:12 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Jan 19 20:04:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9bb1d56

media-gfx/imv: depend on <media-libs/libnsgif-1 for now

Patches welcome to fix this (can use has_version if needed), given
upstream currently has no maintainer.

If libnsgif maintainer want to cleanup the old nsgif, feel free to
just mask USE=gif here. gif can still be viewed with freeimage but
will no longer be animated.

Bug: https://bugs.gentoo.org/922496
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 media-gfx/imv/{imv-4.4.0.ebuild => imv-4.4.0-r1.ebuild} | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/media-gfx/imv/imv-4.4.0.ebuild b/media-gfx/imv/imv-4.4.0-r1.ebuild
similarity index 91%
rename from media-gfx/imv/imv-4.4.0.ebuild
rename to media-gfx/imv/imv-4.4.0-r1.ebuild
index 58d9b2399464..fd3d130c7a8d 100644
--- a/media-gfx/imv/imv-4.4.0.ebuild
+++ b/media-gfx/imv/imv-4.4.0-r1.ebuild
@@ -17,6 +17,8 @@ IUSE="+X +freeimage gif heif icu jpeg png svg test tiff 
wayland"
 REQUIRED_USE="|| ( X wayland )"
 RESTRICT="!test? ( test )"
 
+# bug #922496 wrt nsgif, kept for now but USE can be masked if old nsgif
+# removal is wanted (freeimage[gif] still allows non-animated gif display)
 RDEPEND="
        dev-libs/glib:2
        dev-libs/inih
@@ -29,7 +31,7 @@ RDEPEND="
                x11-libs/libxcb:=
        )
        freeimage? ( media-libs/freeimage )
-       gif? ( media-libs/libnsgif )
+       gif? ( <media-libs/libnsgif-1:= )
        heif? ( media-libs/libheif:= )
        icu? ( dev-libs/icu:= )
        !icu? ( >=dev-libs/libgrapheme-2:= )

Reply via email to