Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 783228 - app-misc/nnn missing USE flags
Summary: app-misc/nnn missing USE flags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-04-17 01:25 UTC by NRK
Modified: 2023-02-01 06:16 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
adds some useflag (nnn-ebuild.diff,1.10 KB, patch)
2021-05-22 14:30 UTC, NRK
Details | Diff
nnn-4.3 with all possible USE flags (nnn.diff,2.70 KB, patch)
2022-04-22 04:10 UTC, Jonas Frei
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description NRK 2021-04-17 01:25:10 UTC
The nnn Makefile allows for certain customization such as adding NERD font icon support, disabling mouse support, enabling 8 contexts etc.

```
O_DEBUG := 0  # debug binary
O_NORL := 0  # no readline support
O_PCRE := 0  # link with PCRE library
O_NOLOC := 0  # no locale support
O_NOMOUSE := 0  # no mouse support
O_NOBATCH := 0  # no built-in batch renamer
O_NOFIFO := 0  # no FIFO previewer support
O_CTX8 := 0  # enable 8 contexts
O_ICONS := 0  # support icons-in-terminal
O_NERD := 0  # support icons-nerdfont
O_QSORT := 0  # use Alexey Tourbin's QSORT implementation
O_BENCH := 0  # benchmark mode (stops at first user input)
O_NOSSN := 0  # enable session support
O_NOUG := 0  # disable user, group name in status bar
O_CKBOARD := 0  # use checker board (stipple) in detail mode
```

I believe these should be included as useflags.
Comment 1 NRK 2021-05-22 14:30:59 UTC
Created attachment 710301 [details, diff]
adds some useflag
Comment 2 Jonas Frei 2022-04-22 04:10:02 UTC
Created attachment 772769 [details, diff]
nnn-4.3 with all possible USE flags

I took the patch and added all possible USE flags (I was interested in the git-status). Maybe it is of use for someone.
Comment 3 Larry the Git Cow gentoo-dev 2023-02-01 06:16:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2cc1e770b8a5be44ffd34d762aebc2d67e213ad

commit a2cc1e770b8a5be44ffd34d762aebc2d67e213ad
Author:     Sebastian Hamann <code@ares-macrotechnology.com>
AuthorDate: 2023-01-15 10:18:09 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-02-01 06:16:17 +0000

    app-misc/nnn: add 4.7
    
    Closes: https://bugs.gentoo.org/783228
    Closes: https://bugs.gentoo.org/857534
    Signed-off-by: Sebastian Hamann <code@ares-macrotechnology.com>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 app-misc/nnn/Manifest       |  1 +
 app-misc/nnn/metadata.xml   | 11 ++++++
 app-misc/nnn/nnn-4.7.ebuild | 94 +++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 106 insertions(+)