update to htop-0.9

OBS-URL: https://build.opensuse.org/package/show/Base:System/htop?expand=0&rev=10
This commit is contained in:
Petr Uzel 2010-11-29 10:16:12 +00:00 committed by Git OBS Bridge
parent 90e2ae3112
commit a0d7897455
5 changed files with 31 additions and 26 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ac4cc48cefda0703297a5ec8e1969f831524b378408279c2b8f9490dce91ba52
size 296281

3
htop-0.9.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9a54594f142e270edf02bb3473362bae1f5f5415714a9492062fccb04e1f7f1d
size 335451

View File

@ -1,17 +0,0 @@
Index: htop-0.8.1/RichString.c
===================================================================
--- htop-0.8.1.orig/RichString.c
+++ htop-0.8.1/RichString.c
@@ -56,11 +56,11 @@ inline void RichString_appendn(RichStrin
if (len<0)
return;
int last = MIN(RICHSTRING_MAXLEN - 1, len + this->len);
for (int i = this->len, j = 0; i < last; i++, j++) {
memset(&this->chstr[i], 0, sizeof(this->chstr[i]));
- this->chstr[i].chars[0] = data[j];
+ this->chstr[i].chars[0] = (data[j] > 31) ? data[j] : '?';
this->chstr[i].attr = attrs;
}
this->chstr[last].chars[0] = 0;
this->len = last;
}

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Mon Nov 29 09:54:23 UTC 2010 - puzel@novell.com
- update to htop-0.9
* Add support for "steal"/guest CPU time measurement
in virtualization environments
* Expand and collapse subtrees using '+' and '-' when in tree-view
* Support for cgroups
* Show custom thread names
* Add support for STARTTIME field
* Upgrade PLPA to version 1.3.2
* Fix license terms with regard to PLPA
* getopt-based long options and --no-color
* BUGFIX: Fix display of nan% in CPU meters
* BUGFIX: Fix memory leak
* Add Bash/emacs style navigation keys
* Improve battery meter support
* BUGFIX: Fix IO-wait color in "Black on White" scheme
* BUGFIX: Fix search by process name when list is filtered by
user.
* BUGFIX: Fix alignment for display of memory values above 100G
- drop htop-non-printable-characters.patch (in upstream)
-------------------------------------------------------------------
Sun Oct 31 12:37:02 UTC 2010 - jengelh@medozas.de

View File

@ -1,5 +1,5 @@
#
# spec file for package htop (Version 0.8.3)
# spec file for package htop (Version 0.9)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -21,13 +21,12 @@
Name: htop
Url: http://htop.sourceforge.net
Summary: An Interactive text-mode Process Viewer for Linux
Version: 0.8.3
Version: 0.9
Release: 9
License: GPLv2+
Group: System/Monitoring
Source0: %{name}-%{version}.tar.bz2
Patch0: %{name}-desktop-file-fix-thoenig-01.patch
Patch1: %{name}-non-printable-characters.patch
Patch0: htop-desktop-file-fix-thoenig-01.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ncurses-devel python
BuildRequires: update-desktop-files
@ -50,11 +49,11 @@ Authors:
%prep
%setup
%patch0 -p0
%patch1 -p1
%build
%configure \
--enable-taskstats
--enable-taskstats \
--enable-cgroup
make %{?_smp_mflags}
%install