Saturday, August 27, 2022

Re: [new] sysutils/vifm

On Sat, Aug 27, 2022 at 03:08:09PM +0100, Stuart Henderson wrote:
> I think it makes sense to add it back.

Great.

> Comments on the port:
> - we don't use subpackages just for desktop files and dependencies

Something in manpages/guide made me think otherwise, but I can't find it
now. Dropped that part.

> - there are some checks in configure for various tools (groff, vim, git) -
> everything from packages that affects the build needs to be listed as a
> dependency or disabled (e.g. for groff/mandoc the right way is probably
> to set MANGEN_PROG=mandoc, for vim it looks like maybe nothing is needed
> because unless I missed something perl is used in preference, and perl
> is always available in base)

MANGEN_PROG=mandoc works and ignores installed groff.

Yes, Vim is used to generate tags only if perl isn't available.

Git is used to get tag & commit revision if build happens inside of a
repository. If there is no .git directory, presence of git makes no
difference.

Other standard tools (awk, sed, col) are used to process output of
groff/mandoc if they are available.

> On 2022/08/27 11:13, xaizek wrote:
> > Hello,
> >
> > As far as I know port for Vifm was included once, got removed and then
> > there was one failed attempt to add it back. There seems to be some
> > interest in having it, and in particular I've received a request for a
> > port as Vifm's maintainer, so I decided to give it a try after using
> > OpenBSD for a bit for other reasons.
> >
> > I originally declined making a port because I'm not using OpenBSD,
> > but I can run it in a VM for tests and filter out all emails from this
> > list that don't mention "vifm" to keep an eye on the port. Although
> > ideally, if this gets accepted, some OpenBSD & Vifm user could take over
> > the port and just ask me for assistance in case of issues.
> >
> > This is a multi-package port. -main doesn't depend on any other port,
> > except during build. -desktop provides .desktop file with a
> > corresponding pixmap and depends on devel/desktop-file-utils. Tests
> > pass. /etc is handled via @sample. There is a number of patches, but
> > they should all be gone for the next release.
> >
> > pkg/DESCR-main:
> >
> > Vifm is a file manager with curses interface, which provides Vim-like
> > environment for managing objects within file systems, extended with some
> > useful ideas from mutt. If you use vi, Vifm gives you complete keyboard
> > control over your files without having to learn a new set of commands.
> >
> > Install vifm-desktop pakcage for desktop integration.
> >
> > pkg/DESCR-desktop:
> >
> > This package adds .desktop-file of Vifm.
> >
> > Best regards,
> > xaizek

No comments:

Post a Comment