Package Details: htop-solarized 2.2.0-1

Git Clone URL: https://aur.archlinux.org/htop-solarized.git (read-only, click to copy)
Package Base: htop-solarized
Description: Interactive process viewer with solarized patch
Upstream URL: http://hisham.hm/htop/
Licenses: GPL
Conflicts: htop
Provides: htop
Submitter: None
Maintainer: lrustand
Last Packager: lrustand
Votes: 35
Popularity: 0.000000
First Submitted: 2013-02-21 00:02
Last Updated: 2019-07-29 15:35

Dependencies (4)

Required by (6)

Sources (2)

Latest Comments

1 2 Next › Last »

Dinjector commented on 2020-08-30 07:54

diff --git a/CRT.c b/CRT.c
index 869573e..3cffe85 100644
--- a/CRT.c
+++ b/CRT.c
@@ -241,7 +241,7 @@ int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = {
       [LED_COLOR] = ColorPair(Green,Black),
       [TASKS_RUNNING] = A_BOLD | ColorPair(Green,Black),
       [PROCESS] = A_NORMAL,
-      [PROCESS_SHADOW] = A_BOLD | ColorPairGrayBlack,
+      [PROCESS_SHADOW] = A_BOLD | ColorPair(Green,Black),
       [PROCESS_TAG] = A_BOLD | ColorPair(Yellow,Black),
       [PROCESS_MEGABYTES] = ColorPair(Cyan,Black),
       [PROCESS_BASENAME] = A_BOLD | ColorPair(Cyan,Black),
@@ -253,7 +253,7 @@ int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = {
       [PROCESS_THREAD] = ColorPair(Green,Black),
       [PROCESS_THREAD_BASENAME] = A_BOLD | ColorPair(Green,Black),
       [BAR_BORDER] = A_BOLD,
-      [BAR_SHADOW] = A_BOLD | ColorPairGrayBlack,
+      [BAR_SHADOW] = A_BOLD | ColorPair(Green,Black),
       [SWAP] = ColorPair(Red,Black),
       [GRAPH_1] = A_BOLD | ColorPair(Cyan,Black),
       [GRAPH_2] = ColorPair(Cyan,Black),
@@ -261,7 +261,7 @@ int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = {
       [MEMORY_BUFFERS] = ColorPair(Blue,Black),
       [MEMORY_BUFFERS_TEXT] = A_BOLD | ColorPair(Blue,Black),
       [MEMORY_CACHE] = ColorPair(Yellow,Black),
-      [LOAD_AVERAGE_FIFTEEN] = ColorPair(Cyan,Black),
+      [LOAD_AVERAGE_FIFTEEN] = ColorPair(Green,Black),
       [LOAD_AVERAGE_FIVE] = A_BOLD | ColorPair(Cyan,Black),
       [LOAD_AVERAGE_ONE] = A_BOLD | ColorPair(White,Black),
       [LOAD] = A_BOLD,
@@ -274,7 +274,7 @@ int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = {
       [CPU_NICE_TEXT] = A_BOLD | ColorPair(Blue,Black),
       [CPU_NORMAL] = ColorPair(Green,Black),
       [CPU_SYSTEM] = ColorPair(Red,Black),
-      [CPU_IOWAIT] = A_BOLD | ColorPairGrayBlack,
+      [CPU_IOWAIT] = A_BOLD | ColorPair(Green,Black),
       [CPU_IRQ] = ColorPair(Yellow,Black),
       [CPU_SOFTIRQ] = ColorPair(Magenta,Black),
       [CPU_STEAL] = ColorPair(Cyan,Black),

Dinjector commented on 2020-08-30 07:54

diff --git a/PKGBUILD b/PKGBUILD
index b877c3e..793d22b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,11 +7,11 @@

 _pkgname=htop
 pkgname=$_pkgname-solarized
-pkgver=2.2.0
+pkgver=3.0.0
 pkgrel=1
 pkgdesc="Interactive process viewer with solarized patch"
 arch=('i686' 'x86_64' 'armv7h')
-url="http://hisham.hm/htop/"
+url="https://htop.dev/"
 license=('GPL')
 depends=('ncurses')
 makedepends=('python2')
@@ -20,24 +20,22 @@ optdepends=('lsof: show files opened by a process'
 provides=('htop')
 conflicts=('htop')
 options=('!emptydirs')
-source=("http://hisham.hm/$_pkgname/releases/$pkgver/$_pkgname-$pkgver.tar.gz"
-        'htop-2.2.0-solarized.patch')
-sha512sums=('ec1335bf0e3e0387e5e50acbc508d0effad19c4bc1ac312419dc97b82901f4819600d6f87a91668f39d429536d17304d4b14634426a06bec2ecd09df24adc62e'
-            '5fa6d5627d3157bedb0b5d22b2d9c932af02bcf61bfed3f6f335f47eabef29d58820570c70f8babbd76ca0b938fda567cd51c6d8ec1c50f87b6d43d8b57c22dd')
+source=("https://github.com/htop-dev/htop/archive/$pkgver.tar.gz"
+        "$_pkgname-$pkgver-solarized.patch")
+sha512sums=('36dc37b416b9917005007448fe73fdd6475a3f7f8442a083923d3f5dfb706d0f1731255522a99b67cc547b239acb1c68b144f8d600e243eeba160b2a43e8339a'
+'c8489a54bbf3020d79e7fab546534b5746a6b08fba08648c4a3209d7d4255b539b1a8747385272801837ac18d0a36a67185cb096b88ce99bf0621ab6734d6e4a')

 prepare() {
   cd "$_pkgname-$pkgver"

-  #sed -i 's|ncursesw/curses.h|curses.h|' RichString.[ch] configure
-  #sed -i 's|python|python2|' scripts/MakeHeader.py
-
-  # Solarized patch: https://gist.github.com/ooesili/11292686
-  patch -p1 -N -i "$srcdir/htop-2.2.0-solarized.patch"
+  # Solarized patch derived from: https://gist.github.com/ooesili/11292686
+  patch -p1 -N -i "$srcdir/$_pkgname-$pkgver-solarized.patch"
 }

 build() {
   cd "$_pkgname-$pkgver"

+  ./autogen.sh
   ./configure \
       --prefix=/usr \
       --enable-unicode \

nasdack commented on 2020-06-19 06:37

Build error:

error making: %!s(func() string=0x555a60f9aed0)

lrustand commented on 2019-07-25 21:39

Could you update the package to htop 2.2.0 please?

twiggers commented on 2017-03-13 11:08

htop's upstream url should be updated.

sekret commented on 2016-02-11 19:48

Ok, this is embarrassing!!! :D :D :D


configure: WARNING: unrecognized options: --enable-oom


That's with 2.0.0, so please remove it again ;)

No need to pull pkgrel for this, since this option is ignored.

sekret commented on 2016-02-07 20:56

I guess you want to use the same configure options that are used for htop from the repos? Then please add --enable-oom

orschiro commented on 2014-07-11 05:09

@lenovomi

I suggest you play with the color codes [1] until you find something matching for you. Then you can suggest the new patch here.


[1] http://www.gnu.org/software/guile-ncurses/manual/html_node/Color-manipulation-routines.html

lenovomi commented on 2014-07-08 18:03

yes, i can take a look but i dont know for which values i have to set it.

orschiro commented on 2014-07-04 21:50

@lenovomi

Have you already looked into the patch and see if you can change the values for some of the colour codes?