Package Details: htop-vim-git 1417.dc6523b-1

Git Clone URL: https://aur.archlinux.org/htop-vim-git.git (read-only, click to copy)
Package Base: htop-vim-git
Description: Interactive text-mode process viewer. Patched for vim keybindings
Upstream URL: https://github.com/htop-dev/htop
Licenses: GPL
Conflicts: htop, htop-git
Provides: htop
Submitter: KoffeinFlummi
Maintainer: KoffeinFlummi
Last Packager: KoffeinFlummi
Votes: 14
Popularity: 1.27
First Submitted: 2015-08-06 05:38
Last Updated: 2020-10-05 22:33

Dependencies (5)

Required by (6)

Sources (2)

Latest Comments

1 2 3 4 Next › Last »

Ram-Z commented on 2020-10-17 13:00

Here's a diff to fix current patch failures:

diff --git a/PKGBUILD b/PKGBUILD
index b20e61c..1aa8dc4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@

 _pkgname=htop
 pkgname=${_pkgname}-vim-git
-pkgver=1417.dc6523b
+pkgver=1464.7cd093c
 pkgrel=1
 pkgdesc="Interactive text-mode process viewer. Patched for vim keybindings"
 url="https://github.com/htop-dev/${_pkgname}"
@@ -18,7 +18,7 @@ options=('!emptydirs')
 source=("git+${url}.git"
         'vim-keybindings.patch')
 sha256sums=('SKIP'
-            'c15ecb884c65d3c168923728816157fc4a2dc80df6190fb46b2484a16d201d3a')
+            '59309799d367d6582b06ae8bb87e52085f166f5a329c28854939d066428dd47e')

 pkgver() {
     cd "${srcdir}/${_pkgname}"
diff --git a/vim-keybindings.patch b/vim-keybindings.patch
index ff89998..b7bc7c6 100644
--- a/vim-keybindings.patch
+++ b/vim-keybindings.patch
@@ -26,8 +26,8 @@ index 233f132..c885197 100644
     { .key = "      i: ", .info = "set IO priority" },
 -   { .key = "      l: ", .info = "list open files with lsof" },
 +   { .key = "      L: ", .info = "list open files with lsof" },
-    { .key = "      M: ", .info = "show process command in multiple lines" },
     { .key = "      s: ", .info = "trace syscalls with strace" },
+    { .key = "      w: ", .info = "wrap process command in multiple lines" },
     { .key = " F2 C S: ", .info = "setup" },
 -   { .key = "   F1 h: ", .info = "show this help screen" },
 +   { .key = "   F1 ?: ", .info = "show this help screen" },

tzurita commented on 2020-10-12 14:32

clean build fails with gcc > 10

==> Starting prepare()...
  -> Applying /home/zuritat/.cache/yay/htop-vim-git/src/vim- 
   keybindings.patch
    patching file Action.c
    Hunk #1 succeeded at 400 (offset 7 lines).
    Hunk #2 succeeded at 422 (offset 8 lines).
    Hunk #3 FAILED at 422.
    Hunk #4 succeeded at 574 (offset 8 lines).
    Hunk #5 succeeded at 583 (offset 8 lines).
    Hunk #6 succeeded at 594 (offset 8 lines).
    1 out of 6 hunks FAILED -- saving rejects to file Action.c.rej
    patching file Panel.c
    patching file README
    patching file ScreenManager.c
    Hunk #1 succeeded at 256 (offset 6 lines).
    Hunk #2 succeeded at 270 (offset 6 lines).
    ==> ERROR: A failure occurred in prepare().
    Aborting...
    error making: htop-vim-git

KoffeinFlummi commented on 2020-10-05 22:32

Updated with new upstream repo.

KoffeinFlummi commented on 2020-05-29 00:07

Failure was present on upstream as well because of an incompatibility with gcc 10. Fixed on my fork.

oibind commented on 2020-05-22 17:31

Fails on build.

armanleftarm commented on 2018-01-28 03:34

Add armv7h to the arch, builds proper on Samsung XE303C12

Mikle_Bond commented on 2017-09-18 20:10

Seems like there's another solution.
In line 35 of PKGBUILD, where the patch command is, add the '-F3' key, like so:
patch -p1 -F3 -i $_p

brianbuccola commented on 2017-08-30 13:51

In line 8 of vim-keybindings.patch, change "static struct" to "static const struct" (you can also do the same for lines 14 and 23, though you don't need to), then run "updpkgsums", and install as usual ("makepkg -si").

mikezackles commented on 2017-08-19 18:29

Same here: patch doesn't apply.

rawspeed commented on 2017-08-07 19:17

This fails to apply the patch again. I agree with zanculmarktum about using specific versions of htop, htop-vim would never break for things outside its control.