diff options
author | Cecil <knoppmyth@gmail.com> | 2011-08-06 19:10:30 (GMT) |
---|---|---|
committer | Cecil <knoppmyth@gmail.com> | 2011-08-06 19:10:30 (GMT) |
commit | ad58e3033f6bb5137b8dcb0e7eca12d50d888402 (patch) | |
tree | 9321335a68173bc3e4c1d237c19c8880411fa676 /abs/extra/htop | |
parent | 998faf16b1b62493b39aa13b3cb53dfac266ef4c (diff) | |
parent | 9709ca528ca5dfbdb6ec6ea283ac6670e8f33b9d (diff) | |
download | linhes_pkgbuild-ad58e3033f6bb5137b8dcb0e7eca12d50d888402.zip linhes_pkgbuild-ad58e3033f6bb5137b8dcb0e7eca12d50d888402.tar.gz linhes_pkgbuild-ad58e3033f6bb5137b8dcb0e7eca12d50d888402.tar.bz2 |
Merge branch 'testing' of ssh://cesman@linhes.org/mount/repository/linhes_pkgbuild into testing
Conflicts:
abs/core/tzdata/PKGBUILD
Diffstat (limited to 'abs/extra/htop')
-rw-r--r-- | abs/extra/htop/ChangeLog | 21 | ||||
-rw-r--r-- | abs/extra/htop/PKGBUILD | 35 | ||||
-rw-r--r-- | abs/extra/htop/htop-treeview.patch | 12 |
3 files changed, 39 insertions, 29 deletions
diff --git a/abs/extra/htop/ChangeLog b/abs/extra/htop/ChangeLog index 7d77d0b..ea57762 100644 --- a/abs/extra/htop/ChangeLog +++ b/abs/extra/htop/ChangeLog @@ -1,8 +1,17 @@ +2011-05-17 Angel Velasquez <angvp@archlinux.org> + * Added patch to fix --sort-key (closes FS#23224) + +2009-09-21 Eric Belanger <eric@archlinux.org> + + * htop 0.8.3-1 + * Upstream update + * Built with vserver and openvz support (close FS#12755) + 2008-12-09 Alexander Fehr <pizzapunk gmail com> - * htop-0.8.1-1: - New upstream release. - New maintainer. - Added patch to fix FS#12235. - Enabled Unicode support. - Added ChangeLog. + * htop-0.8.1-1: + * New upstream release + * New maintainer + * Added patch to fix FS#12235 + * Enabled Unicode support + * Added ChangeLog diff --git a/abs/extra/htop/PKGBUILD b/abs/extra/htop/PKGBUILD index 95b9660..05c8826 100644 --- a/abs/extra/htop/PKGBUILD +++ b/abs/extra/htop/PKGBUILD @@ -1,22 +1,35 @@ -# $Id: PKGBUILD 21081 2008-12-09 17:41:11Z alexanderf $ -# Maintainer: Alexander Fehr <pizzapunk gmail com> +# $Id$ +# Maintainer: Angel Velasquez <angvp@archlinux.org> +# Contributor: Eric Belanger <eric@archlinux.org> +# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> pkgname=htop -pkgver=0.8.3 -pkgrel=1 +pkgver=0.9 +pkgrel=2 pkgdesc="Interactive process viewer" arch=('i686' 'x86_64') url="http://htop.sourceforge.net/" license=('GPL') depends=('ncurses') +makedepends=('python2') options=('!emptydirs') -source=(http://downloads.sourceforge.net/htop/htop-$pkgver.tar.gz) +changelog=ChangeLog +source=(http://downloads.sourceforge.net/htop/${pkgname}-${pkgver}.tar.gz + htop.c.patch) +md5sums=('7c5507f35f363f3f40183a2ba3c561f8' + '750e8ad8476c5d9738da2a2bc7a7c2b6') build() { - cd "$srcdir/htop-$pkgver" - sed -i 's|ncursesw/curses.h|curses.h|' RichString.h RichString.c || return 1 - ./configure --prefix=/usr --enable-unicode || return 1 - make || return 1 - make DESTDIR="$pkgdir" install || return 1 + cd ${srcdir}/${pkgname}-${pkgver} + sed -i 's|ncursesw/curses.h|curses.h|' RichString.h RichString.c configure + sed -i 's|python|python2|' scripts/MakeHeader.py + patch -Np0 -i $srcdir/htop.c.patch + ./configure --prefix=/usr --enable-unicode --enable-openvz \ + --enable-vserver + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install } -md5sums=('5c9f093f9eaddf6e77aa6d54c2116d0c') diff --git a/abs/extra/htop/htop-treeview.patch b/abs/extra/htop/htop-treeview.patch deleted file mode 100644 index bcf6334..0000000 --- a/abs/extra/htop/htop-treeview.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ur htop-0.8.1.orig/ProcessList.c htop-0.8.1/ProcessList.c ---- htop-0.8.1.orig/ProcessList.c 2008-09-23 08:23:14.000000000 +0200 -+++ htop-0.8.1/ProcessList.c 2008-12-09 15:14:56.000000000 +0100 -@@ -331,7 +331,7 @@ - - for (int i = Vector_size(this->processes) - 1; i >= 0; i--) { - Process* process = (Process*) (Vector_get(this->processes, i)); -- if (process->tgid == pid || (process->tgid == process->pid && process->ppid == pid)) { -+ if (process->tgid == pid || process->ppid == pid) { - Process* process = (Process*) (Vector_take(this->processes, i)); - Vector_add(children, process); - } |