From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/nnn/
Date: Thu, 17 Oct 2024 07:30:43 +0000 (UTC) [thread overview]
Message-ID: <1729150239.4cf2c445ed469ee41156244308cbbc64b314f73d.juippis@gentoo> (raw)
commit: 4cf2c445ed469ee41156244308cbbc64b314f73d
Author: Sebastian Hamann <code <AT> ares-macrotechnology <DOT> com>
AuthorDate: Mon Aug 26 16:21:07 2024 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Oct 17 07:30:39 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cf2c445
app-misc/nnn: drop 4.8
Signed-off-by: Sebastian Hamann <code <AT> ares-macrotechnology.com>
Closes: https://github.com/gentoo/gentoo/pull/38293
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
app-misc/nnn/Manifest | 1 -
app-misc/nnn/metadata.xml | 1 -
app-misc/nnn/nnn-4.8.ebuild | 98 ---------------------------------------------
3 files changed, 100 deletions(-)
diff --git a/app-misc/nnn/Manifest b/app-misc/nnn/Manifest
index 8687e1646064..0c55f291b9d3 100644
--- a/app-misc/nnn/Manifest
+++ b/app-misc/nnn/Manifest
@@ -1,3 +1,2 @@
-DIST nnn-4.8.tar.gz 253547 BLAKE2B 36e6e1dc39bfbce7fa72fd322339395fa78a410c93043860be845ff3d5be3178fd37966f57da17f115cab8a6973462d44243052a6c736665ef9a180cd9fd6978 SHA512 932e27ec1d7cd3db6ccba33edb3d1ad2620109cde3c4114b734eef3e04d6c6c22ddaa1c4727908dba2a107dd4cfe1f5193aec450f680a390671f48e63d0133bd
DIST nnn-4.9.tar.gz 255144 BLAKE2B 3ad257f931dee7803c44f9f4db478a8de0c898a2d8e818457aeb00dcc7936a0a1f51ce3c199a1421a014d197c7f9d2f17bccccbc985b93d78e5994b9cc707c94 SHA512 3c16ed1cbc5466b05306e38c6f5d8eb7ade9cf5ad766f9ff3bf7d20d5bfb9bdf1564527e27191e2cd85542c25245f338e1236630de3d1c8e5fbd10d54d628a14
DIST nnn-5.0.tar.gz 258474 BLAKE2B d8d5ca626c163ae3adbce9260f48b7c09673ffa70c3f9707ed85a077477f0cf1ce46ca1c91811539863f0a25a1289cb5f136180e10b872ce854744a507d79740 SHA512 648889de4e636882bf92d45a9fe273288858d76a28e34c6fcb27fc3d1e1b576eaec7e611f55a7f809a067ebf5a09c3a209ad84f44e2da528cfce71ed98a7a999
diff --git a/app-misc/nnn/metadata.xml b/app-misc/nnn/metadata.xml
index 74ffd32d3078..474677649a8b 100644
--- a/app-misc/nnn/metadata.xml
+++ b/app-misc/nnn/metadata.xml
@@ -15,7 +15,6 @@
<use>
<flag name="8contexts">Enable 8 contexts (instead of 4)</flag>
<flag name="colemak">Key bindings for Colemak keyboard layout</flag>
- <flag name="colemak-dh">Key bindings for Colemak-DH keyboard layout</flag>
<flag name="emoji">Display icons using emoji</flag>
<flag name="gitstatus">Add git status column to the detail view</flag>
<flag name="icons">Display icons using icons-in-terminal</flag>
diff --git a/app-misc/nnn/nnn-4.8.ebuild b/app-misc/nnn/nnn-4.8.ebuild
deleted file mode 100644
index c4e9d82febc1..000000000000
--- a/app-misc/nnn/nnn-4.8.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit bash-completion-r1 flag-o-matic toolchain-funcs xdg
-
-DESCRIPTION="The missing terminal file browser for X"
-HOMEPAGE="https://github.com/jarun/nnn"
-SRC_URI="https://github.com/jarun/nnn/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc64 ~x86"
-IUSE="8contexts colemak colemak-dh emoji gitstatus icons namefirst nerdfonts pcre qsort +readline restorepreview"
-
-DEPEND="sys-libs/ncurses:=
- pcre? ( dev-libs/libpcre )
- readline? ( sys-libs/readline:= )
- elibc_musl? ( sys-libs/fts-standalone )"
-BDEPEND="virtual/pkgconfig"
-RDEPEND="${DEPEND}"
-REQUIRED_USE="?? ( icons nerdfonts emoji )
- ?? ( colemak colemak-dh )"
-
-src_prepare() {
- default
- tc-export CC
- use elibc_musl && append-flags "-lfts"
- # When using nnn's bundled patches, the 'install' target should not depend
- # on 'all'. See: https://github.com/jarun/nnn/issues/1493
- sed -i -e 's/install: all/install:/' Makefile || die "sed failed"
- # The Makefile uses O_COLEMAK-DH to control the Colemak-DH patch, but that
- # does not work with the array approach to make options below. Hence, we
- # simply rename it to O_COLEMAK_DH.
- sed -i -e 's/O_COLEMAK-DH/O_COLEMAK_DH/' Makefile || die "sed failed"
-}
-
-src_compile() {
- nnn_opts=(
- O_NORL=$(usex readline 0 1)
- O_PCRE=$(usex pcre 1 0)
- O_CTX8=$(usex 8contexts 1 0)
- O_ICONS=$(usex icons 1 0)
- O_NERD=$(usex nerdfonts 1 0)
- O_EMOJI=$(usex emoji 1 0)
- O_QSORT=$(usex qsort 1 0)
- # nnn's user-submitted patches
- O_COLEMAK=$(usex colemak 1 0)
- O_COLEMAK_DH=$(usex colemak-dh 1 0)
- O_GITSTATUS=$(usex gitstatus 1 0)
- O_NAMEFIRST=$(usex namefirst 1 0)
- O_RESTOREPREVIEW=$(usex restorepreview 1 0)
- )
- emake "${nnn_opts[@]}"
-}
-
-src_install() {
- emake PREFIX="${EPREFIX}/usr" DESTDIR="${D}" install
-
- emake PREFIX="${EPREFIX}/usr" DESTDIR="${D}" install-desktop
-
- newbashcomp misc/auto-completion/bash/nnn-completion.bash nnn
-
- insinto /usr/share/fish/vendor_completions.d
- doins misc/auto-completion/fish/nnn.fish
-
- insinto /usr/share/zsh/site-functions
- doins misc/auto-completion/zsh/_nnn
-
- einstalldocs
-
- insinto /usr/share/nnn
- insopts -m0755
- doins -r plugins
- fperms 0644 /usr/share/nnn/plugins/README.md
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
-
- elog "nnn plugins are installed to /usr/share/nnn/plugins/, but nnn does not"
- elog "load them fom this directory. You will need to copy/symlink them to"
- elog "~/.config/nnn/plugins/ if you want to use them."
- elog "Note that some plugins have runtime dependencies that may need to be installed."
- elog "Refer to the individual plugin's in-file documentation for more information."
-
- if use icons; then
- elog "In order for file icons to work, your terminal needs to use icons-in-terminal."
- elog "See https://github.com/sebastiencs/icons-in-terminal"
- elif use nerdfonts; then
- elog "In order for file icons to work, your terminal needs to use a patched nerdfont."
- elog "See https://www.nerdfonts.com/"
- elif use emoji; then
- elog "In order for file icons to work, your terminal needs to use a font that"
- elog "includes standard unicode emoji."
- fi
-}
next reply other threads:[~2024-10-17 7:30 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-17 7:30 Joonas Niilola [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-01 17:35 [gentoo-commits] repo/gentoo:master commit in: app-misc/nnn/ Jakov Smolić
2024-04-02 5:55 Arthur Zamarin
2024-04-01 13:50 Arthur Zamarin
2024-04-01 13:50 Arthur Zamarin
2023-08-25 17:11 Arthur Zamarin
2023-08-01 6:46 Sam James
2023-05-07 7:05 Joonas Niilola
2023-05-07 7:05 Joonas Niilola
2023-05-07 7:05 Joonas Niilola
2023-05-07 7:05 Joonas Niilola
2023-02-25 9:11 Joonas Niilola
2023-02-05 8:30 Joonas Niilola
2023-02-05 8:30 Joonas Niilola
2023-02-01 6:16 Joonas Niilola
2023-02-01 6:16 Joonas Niilola
2022-06-24 3:43 Sam James
2022-06-24 3:43 Sam James
2022-05-06 19:02 Mikle Kolyada
2021-11-20 14:12 Mikle Kolyada
2021-04-22 21:15 Sam James
2021-04-15 19:18 Mikle Kolyada
2021-04-15 19:14 Mikle Kolyada
2021-03-18 10:20 Mikle Kolyada
2020-11-19 7:51 Mikle Kolyada
2020-10-03 5:21 Georgy Yakovlev
2020-08-20 7:36 Mikle Kolyada
2020-07-24 13:59 Mikle Kolyada
2020-05-28 15:45 Mikle Kolyada
2020-04-15 16:01 Mikle Kolyada
2020-02-23 11:53 Mikle Kolyada
2020-01-16 9:31 Mikle Kolyada
2019-12-13 8:38 Mikle Kolyada
2019-10-12 7:04 Mikle Kolyada
2019-08-07 8:34 Mikle Kolyada
2019-07-25 10:31 Mikle Kolyada
2019-03-28 6:48 Mikle Kolyada
2019-02-22 9:03 Mikle Kolyada
2019-01-05 12:30 Mikle Kolyada
2018-11-24 8:41 Mikle Kolyada
2018-11-24 8:41 Mikle Kolyada
2018-10-25 17:45 Mikle Kolyada
2018-08-15 5:49 Mikle Kolyada
2018-05-09 13:32 Mikle Kolyada
2018-01-29 23:14 Mikle Kolyada
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1729150239.4cf2c445ed469ee41156244308cbbc64b314f73d.juippis@gentoo \
--to=juippis@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox