commit:     bdb615e918a51a6190c7f81a020a78ac3c71a9e7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 16 18:48:33 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 16 18:48:33 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdb615e9

media-gfx/fim: update EAPI 6 -> 7

Closes: https://bugs.gentoo.org/723462
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-gfx/fim/files/fim-0.5_rc3-deg-symbol.patch | 14 ++++++++++++++
 media-gfx/fim/fim-0.5_rc3.ebuild                 | 12 ++++++------
 2 files changed, 20 insertions(+), 6 deletions(-)

diff --git a/media-gfx/fim/files/fim-0.5_rc3-deg-symbol.patch 
b/media-gfx/fim/files/fim-0.5_rc3-deg-symbol.patch
new file mode 100644
index 00000000000..dd34f80cbaa
--- /dev/null
+++ b/media-gfx/fim/files/fim-0.5_rc3-deg-symbol.patch
@@ -0,0 +1,14 @@
+https://bugs.gentoo.org/723462
+--- a/src/fim.cpp
++++ b/src/fim.cpp
+@@ -343,8 +343,8 @@
+  .P
+  .nf
+  Shift+D         delete image
+- R               rotate 90° clockwise
+- L               rotate 90° counter-clock wise
++ R               rotate 90 degree clockwise
++ L               rotate 90 degree counter-clock wise
+  .fi
+  .P
+  The delete function actually wants a capital letter 'D', thus you have

diff --git a/media-gfx/fim/fim-0.5_rc3.ebuild b/media-gfx/fim/fim-0.5_rc3.ebuild
index dc44d837674..777a28a7dd6 100644
--- a/media-gfx/fim/fim-0.5_rc3.ebuild
+++ b/media-gfx/fim/fim-0.5_rc3.ebuild
@@ -1,13 +1,14 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 inherit autotools
 
 DESCRIPTION="Fbi-IMproved is a framebuffer image viewer based on Fbi and 
inspired from Vim"
 HOMEPAGE="https://savannah.nongnu.org/projects/fbi-improved";
 
SRC_URI="http://download.savannah.gnu.org/releases/fbi-improved/${P/_rc/-rc}.tar.bz2";
+S="${WORKDIR}"/${P/_rc/-rc}
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -31,17 +32,16 @@ RDEPEND="media-fonts/terminus-font
        svg? ( media-gfx/inkscape )
        tiff? ( media-libs/tiff:0 )
        xfig? ( media-gfx/xfig )"
-DEPEND="${RDEPEND}
-       sys-devel/bison
+DEPEND="${RDEPEND}"
+BDEPEND="sys-devel/bison
        sys-devel/flex"
 
-S=${WORKDIR}/${P/_rc/-rc}
-
 PATCHES=(
        "${FILESDIR}/${PN}-0.4_rc3-poppler031.patch"
        "${FILESDIR}/${PN}-0.5_rc3-jpeg.patch"
        "${FILESDIR}/${PN}-0.5_rc3-libsdl.patch"
        "${FILESDIR}/${PN}-0.5_rc3-jpeg-9c.patch"
+       "${FILESDIR}/${PN}-0.5_rc3-deg-symbol.patch"
 )
 
 src_prepare() {

Reply via email to