jskarvad pushed to powertop (f22). "Added hint how to navigate through panes (..more)"
notifications at fedoraproject.org
notifications at fedoraproject.org
Wed May 6 13:28:34 UTC 2015
>From da607ef555359154eb8ebc3f6ad38bc0a4a919f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= <jskarvad at redhat.com>
Date: Wed, 11 Feb 2015 21:07:01 +0100
Subject: Added hint how to navigate through panes
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Resolves: rhbz#1191112
Signed-off-by: Jaroslav Škarvada <jskarvad at redhat.com>
diff --git a/powertop-2.7-navigate-hint.patch b/powertop-2.7-navigate-hint.patch
new file mode 100644
index 0000000..2445f1d
--- /dev/null
+++ b/powertop-2.7-navigate-hint.patch
@@ -0,0 +1,15 @@
+diff --git a/src/display.cpp b/src/display.cpp
+index b6c9200..c051520 100644
+--- a/src/display.cpp
++++ b/src/display.cpp
+@@ -127,7 +127,9 @@ void show_tab(unsigned int tab)
+ if (c && strlen(c) > 0)
+ mvwprintw(bottom_line, 0,0, c);
+ else
+- mvwprintw(bottom_line, 0,0,"<ESC> %s | ",_("Exit"));
++ mvwprintw(bottom_line, 0, 0,
++ "<ESC> %s | <TAB> / <Shift + TAB> %s | ", _("Exit"),
++ _("Navigate"));
+
+
+ current_tab = tab;
diff --git a/powertop.spec b/powertop.spec
index a6eff67..11a99d1 100644
--- a/powertop.spec
+++ b/powertop.spec
@@ -1,6 +1,6 @@
Name: powertop
Version: 2.7
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Power consumption monitor
Group: Applications/System
@@ -14,6 +14,8 @@ Patch0: powertop-2.7-always-create-params.patch
Patch1: powertop-2.7-tunable-overflow-fix.patch
# Taken from upstream
Patch2: powertop-2.7-auto-tune-crash-fix.patch
+# Sent upstream, patch by Pierre-Yves Chibon <pingou at pingoured.fr>
+Patch3: powertop-2.7-navigate-hint.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gettext, ncurses-devel, pciutils-devel, zlib-devel, libnl3-devel
BuildRequires: systemd
@@ -30,6 +32,7 @@ computer use more power than necessary while it is idle.
%patch0 -p1 -b .always-create-params
%patch1 -p1 -b .tunable-overfow-fix
%patch2 -p1 -b .autotune-crash-fix
+%patch3 -p1 -b .navigate-hint
%build
%configure
@@ -70,6 +73,10 @@ rm -rf %{buildroot}
%{_unitdir}/powertop.service
%changelog
+* Wed Feb 11 2015 Jaroslav Škarvada <jskarvad at redhat.com> - 2.7-3
+- Added hint how to navigate through panes, (by navigate-hint patch)
+ Resolves: rhbz#1191112
+
* Fri Jan 30 2015 Jaroslav Škarvada <jskarvad at redhat.com> - 2.7-2
- Fixed crash when running with --auto-tune (by auto-tune-crash-fix patch)
Resolves: rhbz#1187452
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/powertop.git/commit/?h=f22&id=da607ef555359154eb8ebc3f6ad38bc0a4a919f0
More information about the scm-commits
mailing list