Re: [maintainer update] sysutils/vifm 0.12.1 -> 0.13
On Sun, Apr 09, 2023 at 08:43:24AM +0200, Rafael Sadowski wrote: > On Wed Apr 05, 2023 at 05:47:51PM +0000, xaizek wrote: > > Hello, > > > > Update package to the latest release. > > > > Icons are also installed to ${prefix}/share/icons/ now > > (${prefix}/share/pixmaps isn't always looked in), but no corresponding > > gtk tag is added because gtk is not a dependency. > > Hmm, usually we are not doing this. The standard way is to > add @tag gtk-update-icon-cache %D/share/icons/hicolor and add > the missing RDEP on x11/gtk+3,-guic BUT for CLI tools we actually don't > do that because if you only want to use the pure CLI tool without any > GUI you don't need GTK and the dependency chain. > > We should probably just not install the icons, right? My bad, I skipped over @comment for pixmaps directory and thought that one is installed. Updated the patch. diff --git a/sysutils/vifm/Makefile b/sysutils/vifm/Makefile index fd1e2e80b..c96a92cf8 100644 --- a/sysutils/vifm/Makefile +++ b/sysutils/vifm/Makefile @@ -1,5 +1,5 @@ COMMENT = ncurses file manager with Vim-like everything -V =0.12.1 +V =0.13 DISTNAME = vifm-${V} CATEGORIES = sysutils HOMEPAGE = https://vifm.info/ diff --git a/sysutils/vifm/distinfo b/sysutils/vifm/distinfo index 4cace9ddb..ecd2cc206 100644 --- a/sysutils/vifm/distinfo +++ b/sysutils/vifm/distinfo @@ -1,2 +1,2 @@ -SHA256 (vifm-0.12.1.tar.bz2) = j+KBPr3Mz+ma7OArBdYqIJkVJdRrDM+67Dr2FMZlVog= -SIZE (vifm-0.12.1.tar.bz2) = 1510709 +SHA256 (vifm-0.13.tar.bz2) = DZKTdJp5QHat6Wfs3EfRQdheRQNwWUdlORvfGpvUUHU= +SIZE (vifm-0.13.tar.bz2) = 1546673 diff --git a/sysutils/vifm/pkg/PLIST b/sysutils/vifm/pkg/PLIST index 8cc9861e8..5f0f2e049 100644 --- a/sysutils/vifm/pkg/PLIST +++ b/sysutils/vifm/pkg/PLIST @@ -16,6 +16,7 @@ share/doc/vifm/AUTHORS share/doc/vifm/BUGS share/doc/vifm/COPYING share/doc/vifm/ChangeLog +share/doc/vifm/ChangeLog.LuaAPI share/doc/vifm/FAQ share/doc/vifm/INSTALL share/doc/vifm/NEWS @@ -24,6 +25,14 @@ share/doc/vifm/TODO share/fish/ share/fish/vendor_completions.d/ share/fish/vendor_completions.d/vifm.fish +@comment share/icons/ +@comment share/icons/hicolor/ +@comment share/icons/hicolor/128x128/ +@comment share/icons/hicolor/128x128/apps/ +@comment share/icons/hicolor/128x128/apps/vifm.png +@comment share/icons/hicolor/scalable/ +@comment share/icons/hicolor/scalable/apps/ +@comment share/icons/hicolor/scalable/apps/vifm.svg @comment share/pixmaps/ @comment share/pixmaps/vifm.png share/vifm/
[maintainer update] sysutils/vifm 0.12.1 -> 0.13
Hello, Update package to the latest release. Icons are also installed to ${prefix}/share/icons/ now (${prefix}/share/pixmaps isn't always looked in), but no corresponding gtk tag is added because gtk is not a dependency. Best regards, xaizek diff --git a/sysutils/vifm/Makefile b/sysutils/vifm/Makefile index fd1e2e80b..c96a92cf8 100644 --- a/sysutils/vifm/Makefile +++ b/sysutils/vifm/Makefile @@ -1,5 +1,5 @@ COMMENT = ncurses file manager with Vim-like everything -V =0.12.1 +V =0.13 DISTNAME = vifm-${V} CATEGORIES = sysutils HOMEPAGE = https://vifm.info/ diff --git a/sysutils/vifm/distinfo b/sysutils/vifm/distinfo index 4cace9ddb..ecd2cc206 100644 --- a/sysutils/vifm/distinfo +++ b/sysutils/vifm/distinfo @@ -1,2 +1,2 @@ -SHA256 (vifm-0.12.1.tar.bz2) = j+KBPr3Mz+ma7OArBdYqIJkVJdRrDM+67Dr2FMZlVog= -SIZE (vifm-0.12.1.tar.bz2) = 1510709 +SHA256 (vifm-0.13.tar.bz2) = DZKTdJp5QHat6Wfs3EfRQdheRQNwWUdlORvfGpvUUHU= +SIZE (vifm-0.13.tar.bz2) = 1546673 diff --git a/sysutils/vifm/pkg/PLIST b/sysutils/vifm/pkg/PLIST index 8cc9861e8..da1acd006 100644 --- a/sysutils/vifm/pkg/PLIST +++ b/sysutils/vifm/pkg/PLIST @@ -16,6 +16,7 @@ share/doc/vifm/AUTHORS share/doc/vifm/BUGS share/doc/vifm/COPYING share/doc/vifm/ChangeLog +share/doc/vifm/ChangeLog.LuaAPI share/doc/vifm/FAQ share/doc/vifm/INSTALL share/doc/vifm/NEWS @@ -24,6 +25,14 @@ share/doc/vifm/TODO share/fish/ share/fish/vendor_completions.d/ share/fish/vendor_completions.d/vifm.fish +share/icons/ +share/icons/hicolor/ +share/icons/hicolor/128x128/ +share/icons/hicolor/128x128/apps/ +share/icons/hicolor/128x128/apps/vifm.png +share/icons/hicolor/scalable/ +share/icons/hicolor/scalable/apps/ +share/icons/hicolor/scalable/apps/vifm.svg @comment share/pixmaps/ @comment share/pixmaps/vifm.png share/vifm/
[update] sysutils/vifm to 0.12.1
Hello, New version is out with all OpenBSD patches incorporated into it. Apart from removing them, the changes are: * version bump * distinfo update * addition of fish shell completion files to PLIST Also several compilation warnings are gone, none of them indicated any kind of issue, so there were no patches for them before. Best regards, xaizek Index: Makefile === RCS file: /cvs/ports/sysutils/vifm/Makefile,v retrieving revision 1.4 diff -u -p -u -r1.4 Makefile --- Makefile27 Aug 2022 16:28:16 - 1.4 +++ Makefile22 Sep 2022 10:46:06 - @@ -1,5 +1,5 @@ COMMENT = ncurses file manager with Vim-like everything -V =0.12 +V =0.12.1 DISTNAME = vifm-${V} CATEGORIES = sysutils HOMEPAGE = https://vifm.info/ Index: distinfo === RCS file: /cvs/ports/sysutils/vifm/distinfo,v retrieving revision 1.4 diff -u -p -u -r1.4 distinfo --- distinfo27 Aug 2022 16:28:16 - 1.4 +++ distinfo22 Sep 2022 10:46:06 - @@ -1,2 +1,2 @@ -SHA256 (vifm-0.12.tar.bz2) = M6lhjzKzW1uMZEg4hPmtCZY8qEZbKTXe95FZAo4nssA= -SIZE (vifm-0.12.tar.bz2) = 1426579 +SHA256 (vifm-0.12.1.tar.bz2) = j+KBPr3Mz+ma7OArBdYqIJkVJdRrDM+67Dr2FMZlVog= +SIZE (vifm-0.12.1.tar.bz2) = 1510709 Index: patches/patch-src_Makefile_in === RCS file: patches/patch-src_Makefile_in diff -N patches/patch-src_Makefile_in --- patches/patch-src_Makefile_in 27 Aug 2022 16:28:16 - 1.3 +++ /dev/null 1 Jan 1970 00:00:00 - @@ -1,24 +0,0 @@ -1. Install Default-256.vifm with other sample color schemes. -2. Port system exports CFLAGS and LDFLAGS which breaks tests. - -Index: src/Makefile.in src/Makefile.in.orig -+++ src/Makefile.in -@@ -628,7 +628,8 @@ dist_sample_colors__DATA = ../data/colors/astrell-root - ../data/colors/dmilith-user.vifm \ - ../data/colors/istib-solarized-dark.vifm \ - ../data/colors/juef-zenburn.vifm \ -- ../data/colors/reicheltd-light.vifm -+ ../data/colors/reicheltd-light.vifm \ -+ ../data/colors/Default-256.vifm - - dist_vim_doc__DATA = ../data/vim/doc/plugin/vifm-plugin.txt - nodist_vim_doc__DATA = $(abs_srcdir)/../data/vim/doc/plugin/tags -@@ -2599,6 +2600,7 @@ clean-local: - - runtests: - echo 'mkdir -p $(abs_builddir)/../tests/' > $@_ -+ echo 'unset CFLAGS LDFLAGS' > $@_ - echo \ - '$(MAKE) -C $(abs_srcdir)/../tests B=$(abs_builddir)/../tests/ CC="$(CC)"' \ - >> $@_ Index: patches/patch-src_compat_curses_c === RCS file: patches/patch-src_compat_curses_c diff -N patches/patch-src_compat_curses_c --- patches/patch-src_compat_curses_c 27 Aug 2022 16:28:16 - 1.1 +++ /dev/null 1 Jan 1970 00:00:00 - @@ -1,23 +0,0 @@ -Disable old workaround for curses on OpenBSD. - -Index: src/compat/curses.c src/compat/curses.c.orig -+++ src/compat/curses.c -@@ -16,7 +16,7 @@ - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA - */ - --#ifdef __OpenBSD__ -+#ifdef FAKE_NCURSESW - - #include "curses.h" - -@@ -31,7 +31,7 @@ int - compat_wget_wch(WINDOW *w, wint_t *wc) - { - *wc = wgetch(w); -- return ((char)*wc == ERR) ? ERR : OK; -+ return ((char)*wc == ERR) ? ERR : (*wc >= KEY_MIN ? KEY_CODE_YES : OK); - } - - int Index: patches/patch-src_compat_curses_h === RCS file: patches/patch-src_compat_curses_h diff -N patches/patch-src_compat_curses_h --- patches/patch-src_compat_curses_h 27 Aug 2022 16:28:16 - 1.1 +++ /dev/null 1 Jan 1970 00:00:00 - @@ -1,21 +0,0 @@ -Disable old workaround for curses on OpenBSD. - -Index: src/compat/curses.h src/compat/curses.h.orig -+++ src/compat/curses.h -@@ -31,11 +31,11 @@ - * for implementation as it needs more than just wchar_t.) */ - #define K(x) ((wchar_t)((wint_t)0xe000 + 1 + (x))) - --/* OpenBSD has perverted ncurses library, which has stubs with infinite loops -- * instead of real wide functions. As there is only a couple of wide functions -- * in use, they can be emulated. */ -+/* In the past OpenBSD has perverted ncurses library, which had stubs with -+ * infinite loops instead of real wide functions. As there is only a couple of -+ * wide functions in use, t
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 sysutils.tar.bz2 Description: Binary data
[new] sysutils/vifm
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 vifm.tar.bz2 Description: Binary data