From cf43ec2f6c12ef580d62b229f5194c27b9228437 Mon Sep 17 00:00:00 2001 From: Henrik Holst <6200749+hholst80@users.noreply.github.com> Date: Wed, 5 Jul 2023 22:32:17 +0000 Subject: [PATCH] Update vifm to 0.13 --- .../vifm/patches/disable-failed-tests.patch | 38 ------------------- srcpkgs/vifm/template | 12 +++--- 2 files changed, 6 insertions(+), 44 deletions(-) delete mode 100644 srcpkgs/vifm/patches/disable-failed-tests.patch diff --git a/srcpkgs/vifm/patches/disable-failed-tests.patch b/srcpkgs/vifm/patches/disable-failed-tests.patch deleted file mode 100644 index f674a4be66d8..000000000000 --- a/srcpkgs/vifm/patches/disable-failed-tests.patch +++ /dev/null @@ -1,38 +0,0 @@ -diff --git tests/Makefile tests/Makefile -index 1419a4edd..a213d70ef 100644 ---- a/tests/Makefile -+++ b/tests/Makefile -@@ -67,14 +67,14 @@ B ?= - BUILD := $(B)bin/build/$(BINSUBDIR) - - # engine --suites += abbrevs autocmds cmds commands completion keys options parsing -+suites += abbrevs autocmds cmds completion keys options parsing - suites += text_buffer variables - # io - suites += ioeta ionotif iop ior - # ui - suites += colmgr column_view viewcolumns_parser - # everything else --suites += bmarks env escape fileops filetype filter lua misc undo utils -+suites += bmarks env escape fileops filetype filter undo utils - - # these are built, but not automatically executed - apps := fuzz regs_shmem_app -diff --git tests/fileops/chown.c tests/fileops/chown.c -index ef7b1a405..cd2c33388 100644 ---- a/tests/fileops/chown.c -+++ b/tests/fileops/chown.c -@@ -65,12 +65,10 @@ TEST(file_group_is_changed, IF(has_more_than_one_group)) - mark_selection_or_current(curr_view); - fops_chown(0, 1, 0, gid1); - assert_success(os_stat("dir/chown-me", &s)); -- assert_true(s.st_gid == gid1); - - mark_selection_or_current(curr_view); - fops_chown(0, 1, 0, gid2); - assert_success(os_stat("dir/chown-me", &s)); -- assert_true(s.st_gid == gid2); - - assert_success(unlink("dir/chown-me")); - assert_success(rmdir("dir")); diff --git a/srcpkgs/vifm/template b/srcpkgs/vifm/template index 67cc901ec943..fa820ceeba7b 100644 --- a/srcpkgs/vifm/template +++ b/srcpkgs/vifm/template @@ -1,20 +1,20 @@ # Template file for 'vifm' pkgname=vifm -version=0.12 +version=0.13 revision=1 build_style=gnu-configure configure_args="--without-gtk" hostmakedepends="mdocml" -makedepends="ncurses-devel file-devel" +makedepends="ncurses-devel file-devel perl" depends="desktop-file-utils" -short_desc="Ncurses-based file manager with vi-like keybindings" +short_desc="Vifm is a file manager with curses interface and a Vim-like environment" maintainer="Orphaned " license="GPL-2.0-or-later" homepage="https://vifm.info/" -distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2" -checksum=33a9618f32b35b5b8c64483884f9ad09963ca8465b2935def79159028e27b2c0 +distfiles="https://github.com/vifm/vifm/releases/download/v0.13/vifm-0.13.tar.bz2" +checksum=0d9293749a794076ade967ecdc47d141d85e450370594765391bdf1a9bd45075 -CFLAGS="-fcommon" +CFLAGS="-fcommon -Wno-unused-result" post_install() { vsconf data/vifmrc