Fixed vertical scrolling
This commit is contained in:
parent
abe41e7480
commit
d8cf27e1c4
342
display.cpp
Normal file
342
display.cpp
Normal file
@ -0,0 +1,342 @@
|
||||
/*
|
||||
* Copyright 2010, Intel Corporation
|
||||
*
|
||||
* This file is part of PowerTOP
|
||||
*
|
||||
* This program file is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; version 2 of the License.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program in a file named COPYING; if not, write to the
|
||||
* Free Software Foundation, Inc,
|
||||
* 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
* or just google for it.
|
||||
*
|
||||
* Authors:
|
||||
* Arjan van de Ven <arjan@linux.intel.com>
|
||||
*/
|
||||
#include "display.h"
|
||||
#include "lib.h"
|
||||
|
||||
#include <ncurses.h>
|
||||
|
||||
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <string.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
static int display = 0;
|
||||
|
||||
vector<string> tab_names;
|
||||
map<string, class tab_window *> tab_windows;
|
||||
map<string, string> tab_translations;
|
||||
|
||||
map<string, string> bottom_lines;
|
||||
|
||||
void create_tab(const string &name, const string &translation, class tab_window *w, string bottom_line)
|
||||
{
|
||||
if (!w)
|
||||
w = new(class tab_window);
|
||||
|
||||
w->win = newpad(1000,1000);
|
||||
tab_names.push_back(name);
|
||||
tab_windows[name] = w;
|
||||
tab_translations[name] = translation;
|
||||
bottom_lines[name] = bottom_line;
|
||||
}
|
||||
|
||||
|
||||
void init_display(void)
|
||||
{
|
||||
initscr();
|
||||
start_color();
|
||||
|
||||
cbreak(); /* character at a time input */
|
||||
noecho(); /* don't show the user input */
|
||||
keypad(stdscr, TRUE); /* enable cursor/etc keys */
|
||||
|
||||
use_default_colors();
|
||||
|
||||
create_tab("Overview", _("Overview"));
|
||||
create_tab("Idle stats", _("Idle stats"));
|
||||
create_tab("Frequency stats", _("Frequency stats"));
|
||||
create_tab("Device stats", _("Device stats"));
|
||||
|
||||
display = 1;
|
||||
}
|
||||
|
||||
void reset_display(void)
|
||||
{
|
||||
if (!display)
|
||||
return;
|
||||
|
||||
keypad(stdscr, FALSE);
|
||||
echo();
|
||||
nocbreak();
|
||||
|
||||
resetterm();
|
||||
}
|
||||
|
||||
|
||||
WINDOW *tab_bar = NULL;
|
||||
WINDOW *bottom_line = NULL;
|
||||
|
||||
static int current_tab;
|
||||
|
||||
void show_tab(unsigned int tab)
|
||||
{
|
||||
class tab_window *win;
|
||||
unsigned int i;
|
||||
int tab_pos = 17;
|
||||
const char *c;
|
||||
|
||||
if (!display)
|
||||
return;
|
||||
|
||||
if (tab_bar) {
|
||||
delwin(tab_bar);
|
||||
tab_bar = NULL;
|
||||
}
|
||||
|
||||
if (bottom_line) {
|
||||
delwin(bottom_line);
|
||||
bottom_line = NULL;
|
||||
}
|
||||
|
||||
tab_bar = newwin(1, 0, 0, 0);
|
||||
|
||||
wattrset(tab_bar, A_REVERSE);
|
||||
mvwprintw(tab_bar, 0,0, "%120s", "");
|
||||
mvwprintw(tab_bar, 0,0, "PowerTOP %s", PACKAGE_SHORT_VERSION);
|
||||
|
||||
bottom_line = newwin(1, 0, LINES-1, 0);
|
||||
wattrset(bottom_line, A_REVERSE);
|
||||
mvwprintw(bottom_line, 0,0, "%120s", "");
|
||||
|
||||
c = bottom_lines[tab_names[tab]].c_str();
|
||||
if (c && strlen(c) > 0)
|
||||
mvwprintw(bottom_line, 0,0, c);
|
||||
else
|
||||
mvwprintw(bottom_line, 0, 0,
|
||||
"<ESC> %s | <TAB> / <Shift + TAB> %s | ", _("Exit"),
|
||||
_("Navigate"));
|
||||
|
||||
|
||||
current_tab = tab;
|
||||
|
||||
for (i = 0; i < tab_names.size(); i++) {
|
||||
if (i == tab)
|
||||
wattrset(tab_bar, A_NORMAL);
|
||||
else
|
||||
wattrset(tab_bar, A_REVERSE);
|
||||
mvwprintw(tab_bar, 0, tab_pos, " %s ", tab_translations[tab_names[i]].c_str());
|
||||
|
||||
tab_pos += 3 + tab_names[i].length();
|
||||
}
|
||||
|
||||
wrefresh(tab_bar);
|
||||
wrefresh(bottom_line);
|
||||
|
||||
win = tab_windows[tab_names[tab]];
|
||||
if (!win)
|
||||
return;
|
||||
|
||||
prefresh(win->win, win->ypad_pos, win->xpad_pos, 1, 0, LINES - 3, COLS - 1);
|
||||
}
|
||||
|
||||
WINDOW *get_ncurses_win(const char *name)
|
||||
{
|
||||
class tab_window *w;
|
||||
WINDOW *win;
|
||||
|
||||
w= tab_windows[name];
|
||||
if (!w)
|
||||
return NULL;
|
||||
|
||||
win = w->win;
|
||||
|
||||
return win;
|
||||
}
|
||||
|
||||
WINDOW *get_ncurses_win(int nr)
|
||||
{
|
||||
class tab_window *w;
|
||||
WINDOW *win;
|
||||
|
||||
w= tab_windows[tab_names[nr]];
|
||||
if (!w)
|
||||
return NULL;
|
||||
|
||||
win = w->win;
|
||||
|
||||
return win;
|
||||
}
|
||||
|
||||
WINDOW *get_ncurses_win(const string &name)
|
||||
{
|
||||
return get_ncurses_win(name.c_str());
|
||||
}
|
||||
|
||||
void show_prev_tab(void)
|
||||
{
|
||||
class tab_window *w;
|
||||
|
||||
if (!display)
|
||||
return;
|
||||
w = tab_windows[tab_names[current_tab]];
|
||||
if (w)
|
||||
w->hide();
|
||||
|
||||
current_tab --;
|
||||
if (current_tab < 0)
|
||||
current_tab = tab_names.size() - 1;
|
||||
|
||||
w = tab_windows[tab_names[current_tab]];
|
||||
if (w)
|
||||
w->expose();
|
||||
|
||||
show_tab(current_tab);
|
||||
}
|
||||
|
||||
void show_next_tab(void)
|
||||
{
|
||||
class tab_window *w;
|
||||
|
||||
if (!display)
|
||||
return;
|
||||
|
||||
w = tab_windows[tab_names[current_tab]];
|
||||
if (w)
|
||||
w->hide();
|
||||
|
||||
current_tab ++;
|
||||
if (current_tab >= (int)tab_names.size())
|
||||
current_tab = 0;
|
||||
|
||||
w = tab_windows[tab_names[current_tab]];
|
||||
if (w)
|
||||
w->expose();
|
||||
|
||||
show_tab(current_tab);
|
||||
}
|
||||
|
||||
void show_cur_tab(void)
|
||||
{
|
||||
if (!display)
|
||||
return;
|
||||
show_tab(current_tab);
|
||||
}
|
||||
|
||||
void cursor_down(void)
|
||||
{
|
||||
class tab_window *w;
|
||||
|
||||
w = tab_windows[tab_names[current_tab]];
|
||||
if (w) {
|
||||
if (w->ypad_pos < 1000) {
|
||||
if (tab_names[current_tab] == "Tunables" || tab_names[current_tab] == "WakeUp") {
|
||||
if ((w->cursor_pos + 7) >= LINES) {
|
||||
prefresh(w->win, ++w->ypad_pos, w->xpad_pos,
|
||||
1, 0, LINES - 3, COLS - 1);
|
||||
}
|
||||
w->cursor_down();
|
||||
} else {
|
||||
prefresh(w->win, ++w->ypad_pos, w->xpad_pos,
|
||||
1, 0, LINES - 3, COLS - 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
show_cur_tab();
|
||||
}
|
||||
|
||||
void cursor_up(void)
|
||||
{
|
||||
class tab_window *w;
|
||||
|
||||
w = tab_windows[tab_names[current_tab]];
|
||||
|
||||
if (w) {
|
||||
w->cursor_up();
|
||||
if(w->ypad_pos > 0) {
|
||||
prefresh(w->win, --w->ypad_pos, w->xpad_pos,
|
||||
1, 0, LINES - 3, COLS - 1);
|
||||
}
|
||||
}
|
||||
|
||||
show_cur_tab();
|
||||
}
|
||||
|
||||
void cursor_left(void)
|
||||
{
|
||||
class tab_window *w;
|
||||
|
||||
w = tab_windows[tab_names[current_tab]];
|
||||
|
||||
if (w) {
|
||||
if (w->xpad_pos > 0) {
|
||||
prefresh(w->win, w->ypad_pos,--w->xpad_pos,
|
||||
1, 0, LINES - 3, COLS - 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void cursor_right(void)
|
||||
{
|
||||
class tab_window *w;
|
||||
|
||||
w = tab_windows[tab_names[current_tab]];
|
||||
|
||||
if (w) {
|
||||
if (w->xpad_pos < 1000) {
|
||||
prefresh(w->win, w->ypad_pos, ++w->xpad_pos,
|
||||
1, 0, LINES - 3, COLS - 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void cursor_enter(void)
|
||||
{
|
||||
class tab_window *w;
|
||||
|
||||
w = tab_windows[tab_names[current_tab]];
|
||||
|
||||
if (w) {
|
||||
w->cursor_enter();
|
||||
w->repaint();
|
||||
}
|
||||
show_cur_tab();
|
||||
}
|
||||
|
||||
void window_refresh()
|
||||
{
|
||||
class tab_window *w;
|
||||
|
||||
w = tab_windows[tab_names[current_tab]];
|
||||
|
||||
if (w) {
|
||||
w->ypad_pos = 0;
|
||||
w->xpad_pos = 0;
|
||||
w->window_refresh();
|
||||
w->repaint();
|
||||
}
|
||||
|
||||
show_cur_tab();
|
||||
}
|
||||
|
||||
int ncurses_initialized(void)
|
||||
{
|
||||
if (display)
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
BIN
powertop-2.10-1.fc31.src.rpm
Normal file
BIN
powertop-2.10-1.fc31.src.rpm
Normal file
Binary file not shown.
13
powertop-2.10-fix-vert-scrolling.patch
Normal file
13
powertop-2.10-fix-vert-scrolling.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/src/display.cpp b/src/display.cpp
|
||||
index 07227c5..7b3a7a2 100644
|
||||
--- a/src/display.cpp
|
||||
+++ b/src/display.cpp
|
||||
@@ -244,7 +244,7 @@ void cursor_down(void)
|
||||
w = tab_windows[tab_names[current_tab]];
|
||||
if (w) {
|
||||
if (w->ypad_pos < 1000) {
|
||||
- if (tab_names[current_tab] == "Tunables" || "WakeUp") {
|
||||
+ if (tab_names[current_tab] == "Tunables" || tab_names[current_tab] == "WakeUp") {
|
||||
if ((w->cursor_pos + 7) >= LINES) {
|
||||
prefresh(w->win, ++w->ypad_pos, w->xpad_pos,
|
||||
1, 0, LINES - 3, COLS - 1);
|
||||
1282
powertop-v2.10/ABOUT-NLS
Normal file
1282
powertop-v2.10/ABOUT-NLS
Normal file
File diff suppressed because it is too large
Load Diff
80
powertop-v2.10/Android.mk
Normal file
80
powertop-v2.10/Android.mk
Normal file
@ -0,0 +1,80 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_TAGS := debug
|
||||
LOCAL_SHARED_LIBRARIES := libstlport \
|
||||
libnl \
|
||||
libpci \
|
||||
libtraceevnet \
|
||||
LOCAL_MODULE := powertop
|
||||
|
||||
#LOCAL_CFLAGS += -Wall -O2 -g -fno-omit-frame-pointer -fstack-protector -Wshadow -Wformat -D_FORTIFY_SOURCE=2
|
||||
#LOCAL_CPPFLAGS += -Wall -O2 -g -fno-omit-frame-pointer
|
||||
|
||||
LOCAL_C_INCLUDES += external/stlport/stlport/ external/stlport/stlport/stl external/stlport/stlport/using/h/ bionic external/libnl/include/
|
||||
|
||||
LOCAL_SRC_FILES += \
|
||||
src/parameters/parameters.cpp \
|
||||
src/parameters/persistent.cpp \
|
||||
src/parameters/learn.cpp \
|
||||
src/process/powerconsumer.cpp \
|
||||
src/process/work.cpp \
|
||||
src/process/process.cpp \
|
||||
src/process/timer.cpp \
|
||||
src/process/device.cpp \
|
||||
src/process/interrupt.cpp \
|
||||
src/process/do_process.cpp \
|
||||
src/cpu/intel_cpus.cpp \
|
||||
src/cpu/cpu.cpp \
|
||||
src/cpu/cpu_linux.cpp \
|
||||
src/cpu/cpudevice.cpp \
|
||||
src/cpu/cpu_core.cpp \
|
||||
src/cpu/cpu_package.cpp \
|
||||
src/cpu/abstract_cpu.cpp \
|
||||
src/cpu/cpu_rapl_device.cpp \
|
||||
src/cpu/dram_rapl_device.cpp \
|
||||
src/cpu/rapl/rapl_interface.cpp \
|
||||
src/measurement/measurement.cpp \
|
||||
src/measurement/acpi.cpp \
|
||||
src/measurement/extech.cpp \
|
||||
src/measurement/sysfs.cpp \
|
||||
src/display.cpp \
|
||||
src/report.cpp \
|
||||
src/main.cpp \
|
||||
src/tuning/tuning.cpp \
|
||||
src/tuning/tuningi2c.cpp \
|
||||
src/tuning/usb.cpp \
|
||||
src/tuning/bluetooth.cpp \
|
||||
src/tuning/ethernet.cpp \
|
||||
src/tuning/runtime.cpp \
|
||||
src/tuning/iw.c \
|
||||
src/tuning/iw.h \
|
||||
src/tuning/tunable.cpp \
|
||||
src/tuning/sysfs.cpp \
|
||||
src/tuning/cpufreq.cpp \
|
||||
src/tuning/wifi.cpp \
|
||||
src/perf/perf_bundle.cpp \
|
||||
src/perf/perf.cpp \
|
||||
src/devices/thinkpad-fan.cpp \
|
||||
src/devices/alsa.cpp \
|
||||
src/devices/runtime_pm.cpp \
|
||||
src/devices/usb.cpp \
|
||||
src/devices/ahci.cpp \
|
||||
src/devices/rfkill.cpp \
|
||||
src/devices/thinkpad-light.cpp \
|
||||
src/devices/i915-gpu.cpp \
|
||||
src/devices/backlight.cpp \
|
||||
src/devices/network.cpp \
|
||||
src/devices/device.cpp \
|
||||
src/devices/gpu_rapl_device.cpp \
|
||||
src/devlist.cpp \
|
||||
src/calibrate/calibrate.cpp \
|
||||
src/lib.cpp \
|
||||
traceevent/event-parse.c \
|
||||
traceevent/event-parse.h \
|
||||
traceevent/event-utils.h \
|
||||
traceevent/parse-filter.c \
|
||||
traceevent/parse-utils.c \
|
||||
traceevent/trace-seq.c
|
||||
|
||||
include $(BUILD_EXECUTABLE)
|
||||
340
powertop-v2.10/COPYING
Normal file
340
powertop-v2.10/COPYING
Normal file
@ -0,0 +1,340 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Library General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Library General
|
||||
Public License instead of this License.
|
||||
2280
powertop-v2.10/Doxyfile.in
Normal file
2280
powertop-v2.10/Doxyfile.in
Normal file
File diff suppressed because it is too large
Load Diff
0
powertop-v2.10/INSTALL
Normal file
0
powertop-v2.10/INSTALL
Normal file
19
powertop-v2.10/Makefile.am
Normal file
19
powertop-v2.10/Makefile.am
Normal file
@ -0,0 +1,19 @@
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
ACLOCAL_AMFLAGS = --install -I m4
|
||||
|
||||
SUBDIRS = \
|
||||
traceevent \
|
||||
src \
|
||||
po \
|
||||
doc
|
||||
|
||||
EXTRA_DIST = \
|
||||
config.rpath \
|
||||
m4/ChangeLog \
|
||||
README \
|
||||
TODO \
|
||||
Android.mk \
|
||||
COPYING \
|
||||
version-long \
|
||||
version-short \
|
||||
autogen.sh
|
||||
876
powertop-v2.10/Makefile.in
Normal file
876
powertop-v2.10/Makefile.in
Normal file
@ -0,0 +1,876 @@
|
||||
# Makefile.in generated by automake 1.15 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994-2014 Free Software Foundation, Inc.
|
||||
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
VPATH = @srcdir@
|
||||
am__is_gnu_make = { \
|
||||
if test -z '$(MAKELEVEL)'; then \
|
||||
false; \
|
||||
elif test -n '$(MAKE_HOST)'; then \
|
||||
true; \
|
||||
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
|
||||
true; \
|
||||
else \
|
||||
false; \
|
||||
fi; \
|
||||
}
|
||||
am__make_running_with_option = \
|
||||
case $${target_option-} in \
|
||||
?) ;; \
|
||||
*) echo "am__make_running_with_option: internal error: invalid" \
|
||||
"target option '$${target_option-}' specified" >&2; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
has_opt=no; \
|
||||
sane_makeflags=$$MAKEFLAGS; \
|
||||
if $(am__is_gnu_make); then \
|
||||
sane_makeflags=$$MFLAGS; \
|
||||
else \
|
||||
case $$MAKEFLAGS in \
|
||||
*\\[\ \ ]*) \
|
||||
bs=\\; \
|
||||
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
|
||||
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
|
||||
esac; \
|
||||
fi; \
|
||||
skip_next=no; \
|
||||
strip_trailopt () \
|
||||
{ \
|
||||
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
|
||||
}; \
|
||||
for flg in $$sane_makeflags; do \
|
||||
test $$skip_next = yes && { skip_next=no; continue; }; \
|
||||
case $$flg in \
|
||||
*=*|--*) continue;; \
|
||||
-*I) strip_trailopt 'I'; skip_next=yes;; \
|
||||
-*I?*) strip_trailopt 'I';; \
|
||||
-*O) strip_trailopt 'O'; skip_next=yes;; \
|
||||
-*O?*) strip_trailopt 'O';; \
|
||||
-*l) strip_trailopt 'l'; skip_next=yes;; \
|
||||
-*l?*) strip_trailopt 'l';; \
|
||||
-[dEDm]) skip_next=yes;; \
|
||||
-[JT]) skip_next=yes;; \
|
||||
esac; \
|
||||
case $$flg in \
|
||||
*$$target_option*) has_opt=yes; break;; \
|
||||
esac; \
|
||||
done; \
|
||||
test $$has_opt = yes
|
||||
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
|
||||
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
subdir = .
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_cxx_compile_stdcxx_11.m4 \
|
||||
$(top_srcdir)/m4/ax_pthread.m4 \
|
||||
$(top_srcdir)/m4/gcc_fortify_source_cc.m4 \
|
||||
$(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/iconv.m4 \
|
||||
$(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/lib-ld.m4 \
|
||||
$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
|
||||
$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
|
||||
$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
|
||||
$(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
|
||||
$(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/po.m4 \
|
||||
$(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
|
||||
$(am__configure_deps) $(am__DIST_COMMON)
|
||||
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
||||
configure.lineno config.status.lineno
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
CONFIG_HEADER = config.h
|
||||
CONFIG_CLEAN_FILES = Doxyfile
|
||||
CONFIG_CLEAN_VPATH_FILES =
|
||||
AM_V_P = $(am__v_P_@AM_V@)
|
||||
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
|
||||
am__v_P_0 = false
|
||||
am__v_P_1 = :
|
||||
AM_V_GEN = $(am__v_GEN_@AM_V@)
|
||||
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
|
||||
am__v_GEN_0 = @echo " GEN " $@;
|
||||
am__v_GEN_1 =
|
||||
AM_V_at = $(am__v_at_@AM_V@)
|
||||
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
|
||||
am__v_at_0 = @
|
||||
am__v_at_1 =
|
||||
SOURCES =
|
||||
DIST_SOURCES =
|
||||
RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
|
||||
ctags-recursive dvi-recursive html-recursive info-recursive \
|
||||
install-data-recursive install-dvi-recursive \
|
||||
install-exec-recursive install-html-recursive \
|
||||
install-info-recursive install-pdf-recursive \
|
||||
install-ps-recursive install-recursive installcheck-recursive \
|
||||
installdirs-recursive pdf-recursive ps-recursive \
|
||||
tags-recursive uninstall-recursive
|
||||
am__can_run_installinfo = \
|
||||
case $$AM_UPDATE_INFO_DIR in \
|
||||
n|no|NO) false;; \
|
||||
*) (install-info --version) >/dev/null 2>&1;; \
|
||||
esac
|
||||
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
||||
distclean-recursive maintainer-clean-recursive
|
||||
am__recursive_targets = \
|
||||
$(RECURSIVE_TARGETS) \
|
||||
$(RECURSIVE_CLEAN_TARGETS) \
|
||||
$(am__extra_recursive_targets)
|
||||
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
|
||||
cscope distdir dist dist-all distcheck
|
||||
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
|
||||
$(LISP)config.h.in
|
||||
# Read a list of newline-separated strings from the standard input,
|
||||
# and print each of them once, without duplicates. Input order is
|
||||
# *not* preserved.
|
||||
am__uniquify_input = $(AWK) '\
|
||||
BEGIN { nonempty = 0; } \
|
||||
{ items[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in items) print i; }; } \
|
||||
'
|
||||
# Make sure the list of sources is unique. This is necessary because,
|
||||
# e.g., the same source file might be shared among _SOURCES variables
|
||||
# for different programs/libraries.
|
||||
am__define_uniq_tagged_files = \
|
||||
list='$(am__tagged_files)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | $(am__uniquify_input)`
|
||||
ETAGS = etags
|
||||
CTAGS = ctags
|
||||
CSCOPE = cscope
|
||||
DIST_SUBDIRS = $(SUBDIRS)
|
||||
am__DIST_COMMON = $(srcdir)/Doxyfile.in $(srcdir)/Makefile.in \
|
||||
$(srcdir)/config.h.in ABOUT-NLS COPYING INSTALL README TODO \
|
||||
ar-lib compile config.guess config.rpath config.sub install-sh \
|
||||
ltmain.sh missing
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
distdir = $(PACKAGE)-$(VERSION)
|
||||
top_distdir = $(distdir)
|
||||
am__remove_distdir = \
|
||||
if test -d "$(distdir)"; then \
|
||||
find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
|
||||
&& rm -rf "$(distdir)" \
|
||||
|| { sleep 5 && rm -rf "$(distdir)"; }; \
|
||||
else :; fi
|
||||
am__post_remove_distdir = $(am__remove_distdir)
|
||||
am__relativize = \
|
||||
dir0=`pwd`; \
|
||||
sed_first='s,^\([^/]*\)/.*$$,\1,'; \
|
||||
sed_rest='s,^[^/]*/*,,'; \
|
||||
sed_last='s,^.*/\([^/]*\)$$,\1,'; \
|
||||
sed_butlast='s,/*[^/]*$$,,'; \
|
||||
while test -n "$$dir1"; do \
|
||||
first=`echo "$$dir1" | sed -e "$$sed_first"`; \
|
||||
if test "$$first" != "."; then \
|
||||
if test "$$first" = ".."; then \
|
||||
dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
|
||||
dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
|
||||
else \
|
||||
first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
|
||||
if test "$$first2" = "$$first"; then \
|
||||
dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
|
||||
else \
|
||||
dir2="../$$dir2"; \
|
||||
fi; \
|
||||
dir0="$$dir0"/"$$first"; \
|
||||
fi; \
|
||||
fi; \
|
||||
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
|
||||
done; \
|
||||
reldir="$$dir2"
|
||||
DIST_ARCHIVES = $(distdir).tar.gz
|
||||
GZIP_ENV = --best
|
||||
DIST_TARGETS = dist-gzip
|
||||
distuninstallcheck_listfiles = find . -type f -print
|
||||
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
|
||||
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
|
||||
distcleancheck_listfiles = find . -type f -print
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AMTAR = @AMTAR@
|
||||
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||
AR = @AR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
DSYMUTIL = @DSYMUTIL@
|
||||
DUMPBIN = @DUMPBIN@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
FGREP = @FGREP@
|
||||
GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
|
||||
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
|
||||
GMSGFMT = @GMSGFMT@
|
||||
GMSGFMT_015 = @GMSGFMT_015@
|
||||
GREP = @GREP@
|
||||
HAVE_CXX11 = @HAVE_CXX11@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
INTLLIBS = @INTLLIBS@
|
||||
INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
|
||||
LD = @LD@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBICONV = @LIBICONV@
|
||||
LIBINTL = @LIBINTL@
|
||||
LIBNL_CFLAGS = @LIBNL_CFLAGS@
|
||||
LIBNL_LIBS = @LIBNL_LIBS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LIPO = @LIPO@
|
||||
LN_S = @LN_S@
|
||||
LTLIBICONV = @LTLIBICONV@
|
||||
LTLIBINTL = @LTLIBINTL@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
MSGFMT = @MSGFMT@
|
||||
MSGFMT_015 = @MSGFMT_015@
|
||||
MSGMERGE = @MSGMERGE@
|
||||
NCURSES_CFLAGS = @NCURSES_CFLAGS@
|
||||
NCURSES_LIBS = @NCURSES_LIBS@
|
||||
NM = @NM@
|
||||
NMEDIT = @NMEDIT@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
OBJEXT = @OBJEXT@
|
||||
OTOOL = @OTOOL@
|
||||
OTOOL64 = @OTOOL64@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_URL = @PACKAGE_URL@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
PCIUTILS_CFLAGS = @PCIUTILS_CFLAGS@
|
||||
PCIUTILS_LIBS = @PCIUTILS_LIBS@
|
||||
PKG_CONFIG = @PKG_CONFIG@
|
||||
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
|
||||
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
|
||||
POSUB = @POSUB@
|
||||
POW_LIB = @POW_LIB@
|
||||
PTHREAD_CC = @PTHREAD_CC@
|
||||
PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
|
||||
PTHREAD_LIBS = @PTHREAD_LIBS@
|
||||
RANLIB = @RANLIB@
|
||||
SED = @SED@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
XGETTEXT_015 = @XGETTEXT_015@
|
||||
XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_AR = @ac_ct_AR@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_CXX = @ac_ct_CXX@
|
||||
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
ax_pthread_config = @ax_pthread_config@
|
||||
bindir = @bindir@
|
||||
build = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
builddir = @builddir@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
runstatedir = @runstatedir@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
srcdir = @srcdir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
ACLOCAL_AMFLAGS = --install -I m4
|
||||
SUBDIRS = \
|
||||
traceevent \
|
||||
src \
|
||||
po \
|
||||
doc
|
||||
|
||||
EXTRA_DIST = \
|
||||
config.rpath \
|
||||
m4/ChangeLog \
|
||||
README \
|
||||
TODO \
|
||||
Android.mk \
|
||||
COPYING \
|
||||
version-long \
|
||||
version-short \
|
||||
autogen.sh
|
||||
|
||||
all: config.h
|
||||
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
||||
|
||||
.SUFFIXES:
|
||||
am--refresh: Makefile
|
||||
@:
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
|
||||
$(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
|
||||
&& exit 0; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
echo ' $(SHELL) ./config.status'; \
|
||||
$(SHELL) ./config.status;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
$(SHELL) ./config.status --recheck
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
$(am__cd) $(srcdir) && $(AUTOCONF)
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
||||
$(am__aclocal_m4_deps):
|
||||
|
||||
config.h: stamp-h1
|
||||
@test -f $@ || rm -f stamp-h1
|
||||
@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
|
||||
|
||||
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
|
||||
@rm -f stamp-h1
|
||||
cd $(top_builddir) && $(SHELL) ./config.status config.h
|
||||
$(srcdir)/config.h.in: $(am__configure_deps)
|
||||
($(am__cd) $(top_srcdir) && $(AUTOHEADER))
|
||||
rm -f stamp-h1
|
||||
touch $@
|
||||
|
||||
distclean-hdr:
|
||||
-rm -f config.h stamp-h1
|
||||
Doxyfile: $(top_builddir)/config.status $(srcdir)/Doxyfile.in
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $@
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
|
||||
distclean-libtool:
|
||||
-rm -f libtool config.lt
|
||||
|
||||
# This directory's subdirectories are mostly independent; you can cd
|
||||
# into them and run 'make' without going through this Makefile.
|
||||
# To change the values of 'make' variables: instead of editing Makefiles,
|
||||
# (1) if the variable is set in 'config.status', edit 'config.status'
|
||||
# (which will cause the Makefiles to be regenerated when you run 'make');
|
||||
# (2) otherwise, pass the desired values on the 'make' command line.
|
||||
$(am__recursive_targets):
|
||||
@fail=; \
|
||||
if $(am__make_keepgoing); then \
|
||||
failcom='fail=yes'; \
|
||||
else \
|
||||
failcom='exit 1'; \
|
||||
fi; \
|
||||
dot_seen=no; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
case "$@" in \
|
||||
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
||||
*) list='$(SUBDIRS)' ;; \
|
||||
esac; \
|
||||
for subdir in $$list; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
dot_seen=yes; \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| eval $$failcom; \
|
||||
done; \
|
||||
if test "$$dot_seen" = "no"; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
||||
fi; test -z "$$fail"
|
||||
|
||||
ID: $(am__tagged_files)
|
||||
$(am__define_uniq_tagged_files); mkid -fID $$unique
|
||||
tags: tags-recursive
|
||||
TAGS: tags
|
||||
|
||||
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
||||
set x; \
|
||||
here=`pwd`; \
|
||||
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
||||
include_option=--etags-include; \
|
||||
empty_fix=.; \
|
||||
else \
|
||||
include_option=--include; \
|
||||
empty_fix=; \
|
||||
fi; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test ! -f $$subdir/TAGS || \
|
||||
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
|
||||
fi; \
|
||||
done; \
|
||||
$(am__define_uniq_tagged_files); \
|
||||
shift; \
|
||||
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
||||
test -n "$$unique" || unique=$$empty_fix; \
|
||||
if test $$# -gt 0; then \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
"$$@" $$unique; \
|
||||
else \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$unique; \
|
||||
fi; \
|
||||
fi
|
||||
ctags: ctags-recursive
|
||||
|
||||
CTAGS: ctags
|
||||
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
||||
$(am__define_uniq_tagged_files); \
|
||||
test -z "$(CTAGS_ARGS)$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& $(am__cd) $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) "$$here"
|
||||
cscope: cscope.files
|
||||
test ! -s cscope.files \
|
||||
|| $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
|
||||
clean-cscope:
|
||||
-rm -f cscope.files
|
||||
cscope.files: clean-cscope cscopelist
|
||||
cscopelist: cscopelist-recursive
|
||||
|
||||
cscopelist-am: $(am__tagged_files)
|
||||
list='$(am__tagged_files)'; \
|
||||
case "$(srcdir)" in \
|
||||
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
|
||||
*) sdir=$(subdir)/$(srcdir) ;; \
|
||||
esac; \
|
||||
for i in $$list; do \
|
||||
if test -f "$$i"; then \
|
||||
echo "$(subdir)/$$i"; \
|
||||
else \
|
||||
echo "$$sdir/$$i"; \
|
||||
fi; \
|
||||
done >> $(top_builddir)/cscope.files
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
$(am__remove_distdir)
|
||||
test -d "$(distdir)" || mkdir "$(distdir)"
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
list='$(DISTFILES)'; \
|
||||
dist_files=`for file in $$list; do echo $$file; done | \
|
||||
sed -e "s|^$$srcdirstrip/||;t" \
|
||||
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||
case $$dist_files in \
|
||||
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||
sort -u` ;; \
|
||||
esac; \
|
||||
for file in $$dist_files; do \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test -d "$(distdir)/$$file"; then \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
||||
else \
|
||||
test -f "$(distdir)/$$file" \
|
||||
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
$(am__make_dryrun) \
|
||||
|| test -d "$(distdir)/$$subdir" \
|
||||
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|
||||
|| exit 1; \
|
||||
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
|
||||
$(am__relativize); \
|
||||
new_distdir=$$reldir; \
|
||||
dir1=$$subdir; dir2="$(top_distdir)"; \
|
||||
$(am__relativize); \
|
||||
new_top_distdir=$$reldir; \
|
||||
echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
|
||||
echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
|
||||
($(am__cd) $$subdir && \
|
||||
$(MAKE) $(AM_MAKEFLAGS) \
|
||||
top_distdir="$$new_top_distdir" \
|
||||
distdir="$$new_distdir" \
|
||||
am__remove_distdir=: \
|
||||
am__skip_length_check=: \
|
||||
am__skip_mode_fix=: \
|
||||
distdir) \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
-test -n "$(am__skip_mode_fix)" \
|
||||
|| find "$(distdir)" -type d ! -perm -755 \
|
||||
-exec chmod u+rwx,go+rx {} \; -o \
|
||||
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|
||||
|| chmod -R a+r "$(distdir)"
|
||||
dist-gzip: distdir
|
||||
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||
$(am__post_remove_distdir)
|
||||
|
||||
dist-bzip2: distdir
|
||||
tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
|
||||
$(am__post_remove_distdir)
|
||||
|
||||
dist-lzip: distdir
|
||||
tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
|
||||
$(am__post_remove_distdir)
|
||||
|
||||
dist-xz: distdir
|
||||
tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
|
||||
$(am__post_remove_distdir)
|
||||
|
||||
dist-tarZ: distdir
|
||||
@echo WARNING: "Support for distribution archives compressed with" \
|
||||
"legacy program 'compress' is deprecated." >&2
|
||||
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
|
||||
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
|
||||
$(am__post_remove_distdir)
|
||||
|
||||
dist-shar: distdir
|
||||
@echo WARNING: "Support for shar distribution archives is" \
|
||||
"deprecated." >&2
|
||||
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
|
||||
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
|
||||
$(am__post_remove_distdir)
|
||||
|
||||
dist-zip: distdir
|
||||
-rm -f $(distdir).zip
|
||||
zip -rq $(distdir).zip $(distdir)
|
||||
$(am__post_remove_distdir)
|
||||
|
||||
dist dist-all:
|
||||
$(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
|
||||
$(am__post_remove_distdir)
|
||||
|
||||
# This target untars the dist file and tries a VPATH configuration. Then
|
||||
# it guarantees that the distribution is self-contained by making another
|
||||
# tarfile.
|
||||
distcheck: dist
|
||||
case '$(DIST_ARCHIVES)' in \
|
||||
*.tar.gz*) \
|
||||
GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
|
||||
*.tar.bz2*) \
|
||||
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
|
||||
*.tar.lz*) \
|
||||
lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
|
||||
*.tar.xz*) \
|
||||
xz -dc $(distdir).tar.xz | $(am__untar) ;;\
|
||||
*.tar.Z*) \
|
||||
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
|
||||
*.shar.gz*) \
|
||||
GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
|
||||
*.zip*) \
|
||||
unzip $(distdir).zip ;;\
|
||||
esac
|
||||
chmod -R a-w $(distdir)
|
||||
chmod u+w $(distdir)
|
||||
mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
|
||||
chmod a-w $(distdir)
|
||||
test -d $(distdir)/_build || exit 0; \
|
||||
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
|
||||
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
|
||||
&& am__cwd=`pwd` \
|
||||
&& $(am__cd) $(distdir)/_build/sub \
|
||||
&& ../../configure \
|
||||
$(AM_DISTCHECK_CONFIGURE_FLAGS) \
|
||||
$(DISTCHECK_CONFIGURE_FLAGS) \
|
||||
--srcdir=../.. --prefix="$$dc_install_base" \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
|
||||
distuninstallcheck \
|
||||
&& chmod -R a-w "$$dc_install_base" \
|
||||
&& ({ \
|
||||
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
|
||||
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
|
||||
} || { rm -rf "$$dc_destdir"; exit 1; }) \
|
||||
&& rm -rf "$$dc_destdir" \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dist \
|
||||
&& rm -rf $(DIST_ARCHIVES) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
|
||||
&& cd "$$am__cwd" \
|
||||
|| exit 1
|
||||
$(am__post_remove_distdir)
|
||||
@(echo "$(distdir) archives ready for distribution: "; \
|
||||
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
|
||||
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
|
||||
distuninstallcheck:
|
||||
@test -n '$(distuninstallcheck_dir)' || { \
|
||||
echo 'ERROR: trying to run $@ with an empty' \
|
||||
'$$(distuninstallcheck_dir)' >&2; \
|
||||
exit 1; \
|
||||
}; \
|
||||
$(am__cd) '$(distuninstallcheck_dir)' || { \
|
||||
echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
|
||||
exit 1; \
|
||||
}; \
|
||||
test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
|
||||
|| { echo "ERROR: files left after uninstall:" ; \
|
||||
if test -n "$(DESTDIR)"; then \
|
||||
echo " (check DESTDIR support)"; \
|
||||
fi ; \
|
||||
$(distuninstallcheck_listfiles) ; \
|
||||
exit 1; } >&2
|
||||
distcleancheck: distclean
|
||||
@if test '$(srcdir)' = . ; then \
|
||||
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
|
||||
exit 1 ; \
|
||||
fi
|
||||
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|
||||
|| { echo "ERROR: files left in build directory after distclean:" ; \
|
||||
$(distcleancheck_listfiles) ; \
|
||||
exit 1; } >&2
|
||||
check-am: all-am
|
||||
check: check-recursive
|
||||
all-am: Makefile config.h
|
||||
installdirs: installdirs-recursive
|
||||
installdirs-am:
|
||||
install: install-recursive
|
||||
install-exec: install-exec-recursive
|
||||
install-data: install-data-recursive
|
||||
uninstall: uninstall-recursive
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-recursive
|
||||
install-strip:
|
||||
if test -z '$(STRIP)'; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
install; \
|
||||
else \
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
|
||||
fi
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-recursive
|
||||
|
||||
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||
|
||||
distclean: distclean-recursive
|
||||
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-generic distclean-hdr \
|
||||
distclean-libtool distclean-tags
|
||||
|
||||
dvi: dvi-recursive
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-recursive
|
||||
|
||||
html-am:
|
||||
|
||||
info: info-recursive
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am:
|
||||
|
||||
install-dvi: install-dvi-recursive
|
||||
|
||||
install-dvi-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-html: install-html-recursive
|
||||
|
||||
install-html-am:
|
||||
|
||||
install-info: install-info-recursive
|
||||
|
||||
install-info-am:
|
||||
|
||||
install-man:
|
||||
|
||||
install-pdf: install-pdf-recursive
|
||||
|
||||
install-pdf-am:
|
||||
|
||||
install-ps: install-ps-recursive
|
||||
|
||||
install-ps-am:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-recursive
|
||||
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||
-rm -rf $(top_srcdir)/autom4te.cache
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-recursive
|
||||
|
||||
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||
|
||||
pdf: pdf-recursive
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-recursive
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am:
|
||||
|
||||
.MAKE: $(am__recursive_targets) all install-am install-strip
|
||||
|
||||
.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
|
||||
am--refresh check check-am clean clean-cscope clean-generic \
|
||||
clean-libtool cscope cscopelist-am ctags ctags-am dist \
|
||||
dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
|
||||
dist-xz dist-zip distcheck distclean distclean-generic \
|
||||
distclean-hdr distclean-libtool distclean-tags distcleancheck \
|
||||
distdir distuninstallcheck dvi dvi-am html html-am info \
|
||||
info-am install install-am install-data install-data-am \
|
||||
install-dvi install-dvi-am install-exec install-exec-am \
|
||||
install-html install-html-am install-info install-info-am \
|
||||
install-man install-pdf install-pdf-am install-ps \
|
||||
install-ps-am install-strip installcheck installcheck-am \
|
||||
installdirs installdirs-am maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-generic \
|
||||
mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
|
||||
uninstall-am
|
||||
|
||||
.PRECIOUS: Makefile
|
||||
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
162
powertop-v2.10/README
Normal file
162
powertop-v2.10/README
Normal file
@ -0,0 +1,162 @@
|
||||
Build dependencies
|
||||
------------------
|
||||
PowerTOP uses C++, and expects g++ and libstdc++ to be functional
|
||||
along with a glibc/pthreadsi, autoconf, automake, and libtool in the
|
||||
development environment.
|
||||
|
||||
In addition to that, PowerTOP requires the following components:
|
||||
|
||||
pciutils-devel (is only required if you have PCI)
|
||||
ncurses-devel (required)
|
||||
libnl-devel (required)
|
||||
kernel version => 2.6.38
|
||||
|
||||
Example packages to install in Ubuntu
|
||||
|
||||
sudo apt-get install libpci-dev
|
||||
sudo apt-get install libnl-3-dev libnl-genl-3-dev
|
||||
sudo apt-get install gettext libgettextpo-dev
|
||||
sudo apt-get install autopoint
|
||||
sudo apt-get install gettext
|
||||
sudo apt-get install libncurses5-dev libncursesw5-dev
|
||||
sudo apt-get install libtool-bin
|
||||
sudo apt-get install dh-autoreconf
|
||||
|
||||
Building & Installing PowerTOP
|
||||
------------------------------
|
||||
|
||||
To build and install PowerTOP type the following commands,
|
||||
./autogen.sh
|
||||
./configure
|
||||
./make
|
||||
./make install
|
||||
|
||||
The autogen script is required to run only once to generate the configure for
|
||||
the build. Rest of the steps are required to run everytime there is a change
|
||||
made to the PowerTop.
|
||||
|
||||
Note: For Android (running Intel Architecture ) there is a Android.mk
|
||||
that was provided by community members, and at this time is supported
|
||||
mostly by community members.
|
||||
|
||||
Build PowerTop for Android LollyPop
|
||||
------------------------------------
|
||||
|
||||
1. Obtain pciutils and ncurses libraries.
|
||||
Skip this step if they are already in the tree.
|
||||
|
||||
pciutils: Clone
|
||||
https://github.com/trevd/android_external_pciutils
|
||||
into external/pciutils
|
||||
|
||||
ncurses: Clone
|
||||
https://github.com/cvpcs/android_external_libncurses
|
||||
into external/ncurses
|
||||
|
||||
2. Run
|
||||
./src/csstoh.sh src/powertop.css src/css.h
|
||||
to generate the css.h header file.
|
||||
|
||||
3. Apply patches inside patches/Android
|
||||
|
||||
4. PowerTop can be built with top level make,
|
||||
or by doing "mm".
|
||||
|
||||
The resulting binary is under $ANDROID_PRODUCT_OUT/system/bin/powertop
|
||||
|
||||
|
||||
Kernel Parameters:
|
||||
------------------
|
||||
|
||||
PowerTOP needs some kernel config options enabled in order function properly.
|
||||
As of linux-3.3.0 these are (list probably incomplete):
|
||||
|
||||
CONFIG_NO_HZ
|
||||
CONFIG_HIGH_RES_TIMERS
|
||||
CONFIG_HPET_TIMER
|
||||
CONFIG_CPU_FREQ_GOV_ONDEMAND
|
||||
CONFIG_USB_SUSPEND
|
||||
CONFIG_SND_AC97_POWER_SAVE
|
||||
CONFIG_TIMER_STATS
|
||||
CONFIG_PERF_EVENTS
|
||||
CONFIG_PERF_COUNTERS
|
||||
CONFIG_TRACEPOINTS
|
||||
CONFIG_TRACING
|
||||
CONFIG_EVENT_POWER_TRACING_DEPRECATED
|
||||
CONFIG_X86_MSR
|
||||
ACPI_PROCFS_POWER
|
||||
CONFIG_DEBUG_FS
|
||||
|
||||
Use these configs from linux-3.13.rc1
|
||||
CONFIG_POWERCAP
|
||||
CONFIG_INTEL_RAPL
|
||||
|
||||
The patches in the patches/ sub-directory are required for PowerTOP to function
|
||||
fully.
|
||||
|
||||
|
||||
|
||||
Outputting a report
|
||||
-------------------
|
||||
When invoking PowerTOP without arguments, PowerTOP starts in interactive mode.
|
||||
However, for reporting bugs etc there is a special reporting modes:
|
||||
|
||||
For an HTML formatted report simply execute PowerTOP with the following,
|
||||
|
||||
powertop --html
|
||||
|
||||
which will create a "powertop.html" file which is static and can be sent to
|
||||
others to help diagnose power issues. Additionally has the feature of showing
|
||||
the tunables executions within the report as a reference.
|
||||
|
||||
Note for the developers: If you make changes on the report format please
|
||||
make sure that the output can be cleanly validated by the W3C Markup
|
||||
Validation Service and W3C CSS Validation Service:
|
||||
* http://validator.w3.org/#validate_by_upload
|
||||
* http://jigsaw.w3.org/css-validator/#validate_by_upload
|
||||
|
||||
For a CSV formatted report, simply execute PowerTOP with the following,
|
||||
|
||||
Powertop --csv
|
||||
|
||||
which will create a “powertop.csv” file which is static and can be used in
|
||||
reporting, diagnoses, and analytical data analysis.
|
||||
|
||||
Also you can set the number of iterations, and duration of test, in which case
|
||||
all reports will time stamp for you.
|
||||
|
||||
Calibrating & Power Numbers
|
||||
---------------------------
|
||||
PowerTOP will, when running on battery, track your power consumption as well
|
||||
as your activity on the system. Once there are sufficient such measurements,
|
||||
PowerTOP can start to report power estimates for various activities.
|
||||
You can help get this estimation more accurate by running a calibration
|
||||
cycle:
|
||||
|
||||
powertop --calibrate
|
||||
|
||||
at least once; this will cycle through various display brightness levels
|
||||
(including "off") as well as USB device activities and some other workloads.
|
||||
|
||||
|
||||
Code from other open source projects
|
||||
------------------------------------
|
||||
PowerTOP contains some code from other open source projects; we'd like to
|
||||
thank the authors of those projects for their work.
|
||||
Specifically PowerTOP contains code from
|
||||
|
||||
Parse Event Library - Copyright 2009, 2010 Red Hat Inc Steven Rosted <srostedt@redhat.com>
|
||||
nl80211 userspace tool - Copyright 2007, 2008 Johannes Berg <johannes@sipsolutions.net>
|
||||
|
||||
|
||||
Extech Power Analyzer / Datalogger support
|
||||
------------------------------------------
|
||||
I use, and our analysis teams use, the Extech Power Analyzer/Datalogger
|
||||
(model number 380803) quite a lot, and PowerTOP supports using this
|
||||
device over the serial cable. Just pass the device node on the command line
|
||||
like this
|
||||
|
||||
powertop --extech=/dev/ttyUSB0
|
||||
|
||||
(where ttyUSB0 is the devicenode of the serial-to-usb adapter on my system)
|
||||
|
||||
21
powertop-v2.10/TODO
Normal file
21
powertop-v2.10/TODO
Normal file
@ -0,0 +1,21 @@
|
||||
Needed for 2.2
|
||||
----------------------------------
|
||||
|
||||
* more translations / strings
|
||||
* more end user documentation
|
||||
* audio calibration? Need appropriate sample
|
||||
* reporting for workload mode
|
||||
* Add GPU stats to reports [csv,html]
|
||||
|
||||
|
||||
Nice to Have
|
||||
----------------------------------
|
||||
NCURSES STUB (anyone who may care to do this)
|
||||
PowerTOP is intended to be run with ncurses. As such if there is any
|
||||
distribution that can't or won't support ncurses, they need to supply
|
||||
a separate stub to handle there issues.
|
||||
|
||||
DONE for 2.2
|
||||
----------------------------------
|
||||
* interactive mode scrolling
|
||||
* In tunables suggest writing min_power to all SATA ports
|
||||
1230
powertop-v2.10/aclocal.m4
vendored
Normal file
1230
powertop-v2.10/aclocal.m4
vendored
Normal file
File diff suppressed because it is too large
Load Diff
270
powertop-v2.10/ar-lib
Executable file
270
powertop-v2.10/ar-lib
Executable file
@ -0,0 +1,270 @@
|
||||
#! /bin/sh
|
||||
# Wrapper for Microsoft lib.exe
|
||||
|
||||
me=ar-lib
|
||||
scriptversion=2012-03-01.08; # UTC
|
||||
|
||||
# Copyright (C) 2010-2014 Free Software Foundation, Inc.
|
||||
# Written by Peter Rosin <peda@lysator.liu.se>.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
# This file is maintained in Automake, please report
|
||||
# bugs to <bug-automake@gnu.org> or send patches to
|
||||
# <automake-patches@gnu.org>.
|
||||
|
||||
|
||||
# func_error message
|
||||
func_error ()
|
||||
{
|
||||
echo "$me: $1" 1>&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
file_conv=
|
||||
|
||||
# func_file_conv build_file
|
||||
# Convert a $build file to $host form and store it in $file
|
||||
# Currently only supports Windows hosts.
|
||||
func_file_conv ()
|
||||
{
|
||||
file=$1
|
||||
case $file in
|
||||
/ | /[!/]*) # absolute file, and not a UNC file
|
||||
if test -z "$file_conv"; then
|
||||
# lazily determine how to convert abs files
|
||||
case `uname -s` in
|
||||
MINGW*)
|
||||
file_conv=mingw
|
||||
;;
|
||||
CYGWIN*)
|
||||
file_conv=cygwin
|
||||
;;
|
||||
*)
|
||||
file_conv=wine
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
case $file_conv in
|
||||
mingw)
|
||||
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
|
||||
;;
|
||||
cygwin)
|
||||
file=`cygpath -m "$file" || echo "$file"`
|
||||
;;
|
||||
wine)
|
||||
file=`winepath -w "$file" || echo "$file"`
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
# func_at_file at_file operation archive
|
||||
# Iterate over all members in AT_FILE performing OPERATION on ARCHIVE
|
||||
# for each of them.
|
||||
# When interpreting the content of the @FILE, do NOT use func_file_conv,
|
||||
# since the user would need to supply preconverted file names to
|
||||
# binutils ar, at least for MinGW.
|
||||
func_at_file ()
|
||||
{
|
||||
operation=$2
|
||||
archive=$3
|
||||
at_file_contents=`cat "$1"`
|
||||
eval set x "$at_file_contents"
|
||||
shift
|
||||
|
||||
for member
|
||||
do
|
||||
$AR -NOLOGO $operation:"$member" "$archive" || exit $?
|
||||
done
|
||||
}
|
||||
|
||||
case $1 in
|
||||
'')
|
||||
func_error "no command. Try '$0 --help' for more information."
|
||||
;;
|
||||
-h | --h*)
|
||||
cat <<EOF
|
||||
Usage: $me [--help] [--version] PROGRAM ACTION ARCHIVE [MEMBER...]
|
||||
|
||||
Members may be specified in a file named with @FILE.
|
||||
EOF
|
||||
exit $?
|
||||
;;
|
||||
-v | --v*)
|
||||
echo "$me, version $scriptversion"
|
||||
exit $?
|
||||
;;
|
||||
esac
|
||||
|
||||
if test $# -lt 3; then
|
||||
func_error "you must specify a program, an action and an archive"
|
||||
fi
|
||||
|
||||
AR=$1
|
||||
shift
|
||||
while :
|
||||
do
|
||||
if test $# -lt 2; then
|
||||
func_error "you must specify a program, an action and an archive"
|
||||
fi
|
||||
case $1 in
|
||||
-lib | -LIB \
|
||||
| -ltcg | -LTCG \
|
||||
| -machine* | -MACHINE* \
|
||||
| -subsystem* | -SUBSYSTEM* \
|
||||
| -verbose | -VERBOSE \
|
||||
| -wx* | -WX* )
|
||||
AR="$AR $1"
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
action=$1
|
||||
shift
|
||||
break
|
||||
;;
|
||||
esac
|
||||
done
|
||||
orig_archive=$1
|
||||
shift
|
||||
func_file_conv "$orig_archive"
|
||||
archive=$file
|
||||
|
||||
# strip leading dash in $action
|
||||
action=${action#-}
|
||||
|
||||
delete=
|
||||
extract=
|
||||
list=
|
||||
quick=
|
||||
replace=
|
||||
index=
|
||||
create=
|
||||
|
||||
while test -n "$action"
|
||||
do
|
||||
case $action in
|
||||
d*) delete=yes ;;
|
||||
x*) extract=yes ;;
|
||||
t*) list=yes ;;
|
||||
q*) quick=yes ;;
|
||||
r*) replace=yes ;;
|
||||
s*) index=yes ;;
|
||||
S*) ;; # the index is always updated implicitly
|
||||
c*) create=yes ;;
|
||||
u*) ;; # TODO: don't ignore the update modifier
|
||||
v*) ;; # TODO: don't ignore the verbose modifier
|
||||
*)
|
||||
func_error "unknown action specified"
|
||||
;;
|
||||
esac
|
||||
action=${action#?}
|
||||
done
|
||||
|
||||
case $delete$extract$list$quick$replace,$index in
|
||||
yes,* | ,yes)
|
||||
;;
|
||||
yesyes*)
|
||||
func_error "more than one action specified"
|
||||
;;
|
||||
*)
|
||||
func_error "no action specified"
|
||||
;;
|
||||
esac
|
||||
|
||||
if test -n "$delete"; then
|
||||
if test ! -f "$orig_archive"; then
|
||||
func_error "archive not found"
|
||||
fi
|
||||
for member
|
||||
do
|
||||
case $1 in
|
||||
@*)
|
||||
func_at_file "${1#@}" -REMOVE "$archive"
|
||||
;;
|
||||
*)
|
||||
func_file_conv "$1"
|
||||
$AR -NOLOGO -REMOVE:"$file" "$archive" || exit $?
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
elif test -n "$extract"; then
|
||||
if test ! -f "$orig_archive"; then
|
||||
func_error "archive not found"
|
||||
fi
|
||||
if test $# -gt 0; then
|
||||
for member
|
||||
do
|
||||
case $1 in
|
||||
@*)
|
||||
func_at_file "${1#@}" -EXTRACT "$archive"
|
||||
;;
|
||||
*)
|
||||
func_file_conv "$1"
|
||||
$AR -NOLOGO -EXTRACT:"$file" "$archive" || exit $?
|
||||
;;
|
||||
esac
|
||||
done
|
||||
else
|
||||
$AR -NOLOGO -LIST "$archive" | sed -e 's/\\/\\\\/g' | while read member
|
||||
do
|
||||
$AR -NOLOGO -EXTRACT:"$member" "$archive" || exit $?
|
||||
done
|
||||
fi
|
||||
|
||||
elif test -n "$quick$replace"; then
|
||||
if test ! -f "$orig_archive"; then
|
||||
if test -z "$create"; then
|
||||
echo "$me: creating $orig_archive"
|
||||
fi
|
||||
orig_archive=
|
||||
else
|
||||
orig_archive=$archive
|
||||
fi
|
||||
|
||||
for member
|
||||
do
|
||||
case $1 in
|
||||
@*)
|
||||
func_file_conv "${1#@}"
|
||||
set x "$@" "@$file"
|
||||
;;
|
||||
*)
|
||||
func_file_conv "$1"
|
||||
set x "$@" "$file"
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
shift
|
||||
done
|
||||
|
||||
if test -n "$orig_archive"; then
|
||||
$AR -NOLOGO -OUT:"$archive" "$orig_archive" "$@" || exit $?
|
||||
else
|
||||
$AR -NOLOGO -OUT:"$archive" "$@" || exit $?
|
||||
fi
|
||||
|
||||
elif test -n "$list"; then
|
||||
if test ! -f "$orig_archive"; then
|
||||
func_error "archive not found"
|
||||
fi
|
||||
$AR -NOLOGO -LIST "$archive" || exit $?
|
||||
fi
|
||||
4
powertop-v2.10/autogen.sh
Executable file
4
powertop-v2.10/autogen.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
sh scripts/version
|
||||
autoreconf --install --verbose
|
||||
347
powertop-v2.10/compile
Executable file
347
powertop-v2.10/compile
Executable file
@ -0,0 +1,347 @@
|
||||
#! /bin/sh
|
||||
# Wrapper for compilers which do not understand '-c -o'.
|
||||
|
||||
scriptversion=2012-10-14.11; # UTC
|
||||
|
||||
# Copyright (C) 1999-2014 Free Software Foundation, Inc.
|
||||
# Written by Tom Tromey <tromey@cygnus.com>.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
# This file is maintained in Automake, please report
|
||||
# bugs to <bug-automake@gnu.org> or send patches to
|
||||
# <automake-patches@gnu.org>.
|
||||
|
||||
nl='
|
||||
'
|
||||
|
||||
# We need space, tab and new line, in precisely that order. Quoting is
|
||||
# there to prevent tools from complaining about whitespace usage.
|
||||
IFS=" "" $nl"
|
||||
|
||||
file_conv=
|
||||
|
||||
# func_file_conv build_file lazy
|
||||
# Convert a $build file to $host form and store it in $file
|
||||
# Currently only supports Windows hosts. If the determined conversion
|
||||
# type is listed in (the comma separated) LAZY, no conversion will
|
||||
# take place.
|
||||
func_file_conv ()
|
||||
{
|
||||
file=$1
|
||||
case $file in
|
||||
/ | /[!/]*) # absolute file, and not a UNC file
|
||||
if test -z "$file_conv"; then
|
||||
# lazily determine how to convert abs files
|
||||
case `uname -s` in
|
||||
MINGW*)
|
||||
file_conv=mingw
|
||||
;;
|
||||
CYGWIN*)
|
||||
file_conv=cygwin
|
||||
;;
|
||||
*)
|
||||
file_conv=wine
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
case $file_conv/,$2, in
|
||||
*,$file_conv,*)
|
||||
;;
|
||||
mingw/*)
|
||||
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
|
||||
;;
|
||||
cygwin/*)
|
||||
file=`cygpath -m "$file" || echo "$file"`
|
||||
;;
|
||||
wine/*)
|
||||
file=`winepath -w "$file" || echo "$file"`
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
# func_cl_dashL linkdir
|
||||
# Make cl look for libraries in LINKDIR
|
||||
func_cl_dashL ()
|
||||
{
|
||||
func_file_conv "$1"
|
||||
if test -z "$lib_path"; then
|
||||
lib_path=$file
|
||||
else
|
||||
lib_path="$lib_path;$file"
|
||||
fi
|
||||
linker_opts="$linker_opts -LIBPATH:$file"
|
||||
}
|
||||
|
||||
# func_cl_dashl library
|
||||
# Do a library search-path lookup for cl
|
||||
func_cl_dashl ()
|
||||
{
|
||||
lib=$1
|
||||
found=no
|
||||
save_IFS=$IFS
|
||||
IFS=';'
|
||||
for dir in $lib_path $LIB
|
||||
do
|
||||
IFS=$save_IFS
|
||||
if $shared && test -f "$dir/$lib.dll.lib"; then
|
||||
found=yes
|
||||
lib=$dir/$lib.dll.lib
|
||||
break
|
||||
fi
|
||||
if test -f "$dir/$lib.lib"; then
|
||||
found=yes
|
||||
lib=$dir/$lib.lib
|
||||
break
|
||||
fi
|
||||
if test -f "$dir/lib$lib.a"; then
|
||||
found=yes
|
||||
lib=$dir/lib$lib.a
|
||||
break
|
||||
fi
|
||||
done
|
||||
IFS=$save_IFS
|
||||
|
||||
if test "$found" != yes; then
|
||||
lib=$lib.lib
|
||||
fi
|
||||
}
|
||||
|
||||
# func_cl_wrapper cl arg...
|
||||
# Adjust compile command to suit cl
|
||||
func_cl_wrapper ()
|
||||
{
|
||||
# Assume a capable shell
|
||||
lib_path=
|
||||
shared=:
|
||||
linker_opts=
|
||||
for arg
|
||||
do
|
||||
if test -n "$eat"; then
|
||||
eat=
|
||||
else
|
||||
case $1 in
|
||||
-o)
|
||||
# configure might choose to run compile as 'compile cc -o foo foo.c'.
|
||||
eat=1
|
||||
case $2 in
|
||||
*.o | *.[oO][bB][jJ])
|
||||
func_file_conv "$2"
|
||||
set x "$@" -Fo"$file"
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
func_file_conv "$2"
|
||||
set x "$@" -Fe"$file"
|
||||
shift
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
-I)
|
||||
eat=1
|
||||
func_file_conv "$2" mingw
|
||||
set x "$@" -I"$file"
|
||||
shift
|
||||
;;
|
||||
-I*)
|
||||
func_file_conv "${1#-I}" mingw
|
||||
set x "$@" -I"$file"
|
||||
shift
|
||||
;;
|
||||
-l)
|
||||
eat=1
|
||||
func_cl_dashl "$2"
|
||||
set x "$@" "$lib"
|
||||
shift
|
||||
;;
|
||||
-l*)
|
||||
func_cl_dashl "${1#-l}"
|
||||
set x "$@" "$lib"
|
||||
shift
|
||||
;;
|
||||
-L)
|
||||
eat=1
|
||||
func_cl_dashL "$2"
|
||||
;;
|
||||
-L*)
|
||||
func_cl_dashL "${1#-L}"
|
||||
;;
|
||||
-static)
|
||||
shared=false
|
||||
;;
|
||||
-Wl,*)
|
||||
arg=${1#-Wl,}
|
||||
save_ifs="$IFS"; IFS=','
|
||||
for flag in $arg; do
|
||||
IFS="$save_ifs"
|
||||
linker_opts="$linker_opts $flag"
|
||||
done
|
||||
IFS="$save_ifs"
|
||||
;;
|
||||
-Xlinker)
|
||||
eat=1
|
||||
linker_opts="$linker_opts $2"
|
||||
;;
|
||||
-*)
|
||||
set x "$@" "$1"
|
||||
shift
|
||||
;;
|
||||
*.cc | *.CC | *.cxx | *.CXX | *.[cC]++)
|
||||
func_file_conv "$1"
|
||||
set x "$@" -Tp"$file"
|
||||
shift
|
||||
;;
|
||||
*.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
|
||||
func_file_conv "$1" mingw
|
||||
set x "$@" "$file"
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
set x "$@" "$1"
|
||||
shift
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
shift
|
||||
done
|
||||
if test -n "$linker_opts"; then
|
||||
linker_opts="-link$linker_opts"
|
||||
fi
|
||||
exec "$@" $linker_opts
|
||||
exit 1
|
||||
}
|
||||
|
||||
eat=
|
||||
|
||||
case $1 in
|
||||
'')
|
||||
echo "$0: No command. Try '$0 --help' for more information." 1>&2
|
||||
exit 1;
|
||||
;;
|
||||
-h | --h*)
|
||||
cat <<\EOF
|
||||
Usage: compile [--help] [--version] PROGRAM [ARGS]
|
||||
|
||||
Wrapper for compilers which do not understand '-c -o'.
|
||||
Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
|
||||
arguments, and rename the output as expected.
|
||||
|
||||
If you are trying to build a whole package this is not the
|
||||
right script to run: please start by reading the file 'INSTALL'.
|
||||
|
||||
Report bugs to <bug-automake@gnu.org>.
|
||||
EOF
|
||||
exit $?
|
||||
;;
|
||||
-v | --v*)
|
||||
echo "compile $scriptversion"
|
||||
exit $?
|
||||
;;
|
||||
cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
|
||||
func_cl_wrapper "$@" # Doesn't return...
|
||||
;;
|
||||
esac
|
||||
|
||||
ofile=
|
||||
cfile=
|
||||
|
||||
for arg
|
||||
do
|
||||
if test -n "$eat"; then
|
||||
eat=
|
||||
else
|
||||
case $1 in
|
||||
-o)
|
||||
# configure might choose to run compile as 'compile cc -o foo foo.c'.
|
||||
# So we strip '-o arg' only if arg is an object.
|
||||
eat=1
|
||||
case $2 in
|
||||
*.o | *.obj)
|
||||
ofile=$2
|
||||
;;
|
||||
*)
|
||||
set x "$@" -o "$2"
|
||||
shift
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*.c)
|
||||
cfile=$1
|
||||
set x "$@" "$1"
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
set x "$@" "$1"
|
||||
shift
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
shift
|
||||
done
|
||||
|
||||
if test -z "$ofile" || test -z "$cfile"; then
|
||||
# If no '-o' option was seen then we might have been invoked from a
|
||||
# pattern rule where we don't need one. That is ok -- this is a
|
||||
# normal compilation that the losing compiler can handle. If no
|
||||
# '.c' file was seen then we are probably linking. That is also
|
||||
# ok.
|
||||
exec "$@"
|
||||
fi
|
||||
|
||||
# Name of file we expect compiler to create.
|
||||
cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
|
||||
|
||||
# Create the lock directory.
|
||||
# Note: use '[/\\:.-]' here to ensure that we don't use the same name
|
||||
# that we are using for the .o file. Also, base the name on the expected
|
||||
# object file name, since that is what matters with a parallel build.
|
||||
lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
|
||||
while true; do
|
||||
if mkdir "$lockdir" >/dev/null 2>&1; then
|
||||
break
|
||||
fi
|
||||
sleep 1
|
||||
done
|
||||
# FIXME: race condition here if user kills between mkdir and trap.
|
||||
trap "rmdir '$lockdir'; exit 1" 1 2 15
|
||||
|
||||
# Run the compile.
|
||||
"$@"
|
||||
ret=$?
|
||||
|
||||
if test -f "$cofile"; then
|
||||
test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
|
||||
elif test -f "${cofile}bj"; then
|
||||
test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
|
||||
fi
|
||||
|
||||
rmdir "$lockdir"
|
||||
exit $ret
|
||||
|
||||
# Local Variables:
|
||||
# mode: shell-script
|
||||
# sh-indentation: 2
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
# time-stamp-start: "scriptversion="
|
||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
# time-stamp-time-zone: "UTC"
|
||||
# time-stamp-end: "; # UTC"
|
||||
# End:
|
||||
1441
powertop-v2.10/config.guess
vendored
Executable file
1441
powertop-v2.10/config.guess
vendored
Executable file
File diff suppressed because it is too large
Load Diff
300
powertop-v2.10/config.h.in
Normal file
300
powertop-v2.10/config.h.in
Normal file
@ -0,0 +1,300 @@
|
||||
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* Define to 1 if translation of program messages to the user's native
|
||||
language is requested. */
|
||||
#undef ENABLE_NLS
|
||||
|
||||
/* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the
|
||||
CoreFoundation framework. */
|
||||
#undef HAVE_CFLOCALECOPYCURRENT
|
||||
|
||||
/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
|
||||
the CoreFoundation framework. */
|
||||
#undef HAVE_CFPREFERENCESCOPYAPPVALUE
|
||||
|
||||
/* define if the compiler supports basic C++11 syntax */
|
||||
#undef HAVE_CXX11
|
||||
|
||||
/* Define if the GNU dcgettext() function is already present or preinstalled.
|
||||
*/
|
||||
#undef HAVE_DCGETTEXT
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#undef HAVE_DLFCN_H
|
||||
|
||||
/* Define to 1 if you have the <fcntl.h> header file. */
|
||||
#undef HAVE_FCNTL_H
|
||||
|
||||
/* Define to 1 if you have the `fdatasync' function. */
|
||||
#undef HAVE_FDATASYNC
|
||||
|
||||
/* Define to 1 if you have the `getpagesize' function. */
|
||||
#undef HAVE_GETPAGESIZE
|
||||
|
||||
/* Define if the GNU gettext() function is already present or preinstalled. */
|
||||
#undef HAVE_GETTEXT
|
||||
|
||||
/* Define to 1 if you have the `gettimeofday' function. */
|
||||
#undef HAVE_GETTIMEOFDAY
|
||||
|
||||
/* Define if you have the iconv() function and it works. */
|
||||
#undef HAVE_ICONV
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#undef HAVE_INTTYPES_H
|
||||
|
||||
/* Define to 1 if you have the <libintl.h> header file. */
|
||||
#undef HAVE_LIBINTL_H
|
||||
|
||||
/* Define if you have libnl-2.0 or higher */
|
||||
#undef HAVE_LIBNL20
|
||||
|
||||
/* Define to 1 if you have the <limits.h> header file. */
|
||||
#undef HAVE_LIMITS_H
|
||||
|
||||
/* Define to 1 if you have the <locale.h> header file. */
|
||||
#undef HAVE_LOCALE_H
|
||||
|
||||
/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
|
||||
to 0 otherwise. */
|
||||
#undef HAVE_MALLOC
|
||||
|
||||
/* Define to 1 if you have the <malloc.h> header file. */
|
||||
#undef HAVE_MALLOC_H
|
||||
|
||||
/* Define to 1 if you have the `memmove' function. */
|
||||
#undef HAVE_MEMMOVE
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#undef HAVE_MEMORY_H
|
||||
|
||||
/* Define to 1 if you have the `memset' function. */
|
||||
#undef HAVE_MEMSET
|
||||
|
||||
/* Define to 1 if you have the `mkdir' function. */
|
||||
#undef HAVE_MKDIR
|
||||
|
||||
/* Define to 1 if you have a working `mmap' system call. */
|
||||
#undef HAVE_MMAP
|
||||
|
||||
/* Define to 1 if you have the `munmap' function. */
|
||||
#undef HAVE_MUNMAP
|
||||
|
||||
/* Define to 1 if you have the <ncurses.h> header file. */
|
||||
#undef HAVE_NCURSES_H
|
||||
|
||||
/* Define if pci is not supported */
|
||||
#undef HAVE_NO_PCI
|
||||
|
||||
/* Define to 1 if you have the `pow' function. */
|
||||
#undef HAVE_POW
|
||||
|
||||
/* Have PTHREAD_PRIO_INHERIT. */
|
||||
#undef HAVE_PTHREAD_PRIO_INHERIT
|
||||
|
||||
/* Define to 1 if your system has a GNU libc compatible `realloc' function,
|
||||
and to 0 otherwise. */
|
||||
#undef HAVE_REALLOC
|
||||
|
||||
/* Define to 1 if you have the `realpath' function. */
|
||||
#undef HAVE_REALPATH
|
||||
|
||||
/* Define to 1 if you have the `regcomp' function. */
|
||||
#undef HAVE_REGCOMP
|
||||
|
||||
/* Define to 1 if you have the `select' function. */
|
||||
#undef HAVE_SELECT
|
||||
|
||||
/* Define to 1 if you have the `setlocale' function. */
|
||||
#undef HAVE_SETLOCALE
|
||||
|
||||
/* Define to 1 if you have the `socket' function. */
|
||||
#undef HAVE_SOCKET
|
||||
|
||||
/* Define to 1 if you have the `sqrt' function. */
|
||||
#undef HAVE_SQRT
|
||||
|
||||
/* Define to 1 if stdbool.h conforms to C99. */
|
||||
#undef HAVE_STDBOOL_H
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#undef HAVE_STDINT_H
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#undef HAVE_STDLIB_H
|
||||
|
||||
/* Define to 1 if you have the `strcasecmp' function. */
|
||||
#undef HAVE_STRCASECMP
|
||||
|
||||
/* Define to 1 if you have the `strchr' function. */
|
||||
#undef HAVE_STRCHR
|
||||
|
||||
/* Define to 1 if you have the `strdup' function. */
|
||||
#undef HAVE_STRDUP
|
||||
|
||||
/* Define to 1 if you have the `strerror' function. */
|
||||
#undef HAVE_STRERROR
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#undef HAVE_STRINGS_H
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#undef HAVE_STRING_H
|
||||
|
||||
/* Define to 1 if you have the `strncasecmp' function. */
|
||||
#undef HAVE_STRNCASECMP
|
||||
|
||||
/* Define to 1 if you have the `strstr' function. */
|
||||
#undef HAVE_STRSTR
|
||||
|
||||
/* Define to 1 if you have the `strtoul' function. */
|
||||
#undef HAVE_STRTOUL
|
||||
|
||||
/* Define to 1 if you have the `strtoull' function. */
|
||||
#undef HAVE_STRTOULL
|
||||
|
||||
/* Define to 1 if you have the <sys/ioctl.h> header file. */
|
||||
#undef HAVE_SYS_IOCTL_H
|
||||
|
||||
/* Define to 1 if you have the <sys/param.h> header file. */
|
||||
#undef HAVE_SYS_PARAM_H
|
||||
|
||||
/* Define to 1 if you have the <sys/socket.h> header file. */
|
||||
#undef HAVE_SYS_SOCKET_H
|
||||
|
||||
/* Define to 1 if you have the <sys/statfs.h> header file. */
|
||||
#undef HAVE_SYS_STATFS_H
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#undef HAVE_SYS_STAT_H
|
||||
|
||||
/* Define to 1 if you have the <sys/time.h> header file. */
|
||||
#undef HAVE_SYS_TIME_H
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#undef HAVE_SYS_TYPES_H
|
||||
|
||||
/* Define to 1 if you have the <termios.h> header file. */
|
||||
#undef HAVE_TERMIOS_H
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#undef HAVE_UNISTD_H
|
||||
|
||||
/* Define to 1 if the system has the type `_Bool'. */
|
||||
#undef HAVE__BOOL
|
||||
|
||||
/* Define to the sub-directory where libtool stores uninstalled libraries. */
|
||||
#undef LT_OBJDIR
|
||||
|
||||
/* Name of package */
|
||||
#undef PACKAGE
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#undef PACKAGE_BUGREPORT
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#undef PACKAGE_NAME
|
||||
|
||||
/* Short package version */
|
||||
#undef PACKAGE_SHORT_VERSION
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#undef PACKAGE_STRING
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
/* Define to the home page for this package. */
|
||||
#undef PACKAGE_URL
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#undef PACKAGE_VERSION
|
||||
|
||||
/* Define to necessary symbol if this constant uses a non-standard name on
|
||||
your system. */
|
||||
#undef PTHREAD_CREATE_JOINABLE
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#undef STDC_HEADERS
|
||||
|
||||
/* Enable extensions on AIX 3, Interix. */
|
||||
#ifndef _ALL_SOURCE
|
||||
# undef _ALL_SOURCE
|
||||
#endif
|
||||
/* Enable GNU extensions on systems that have them. */
|
||||
#ifndef _GNU_SOURCE
|
||||
# undef _GNU_SOURCE
|
||||
#endif
|
||||
/* Enable threading extensions on Solaris. */
|
||||
#ifndef _POSIX_PTHREAD_SEMANTICS
|
||||
# undef _POSIX_PTHREAD_SEMANTICS
|
||||
#endif
|
||||
/* Enable extensions on HP NonStop. */
|
||||
#ifndef _TANDEM_SOURCE
|
||||
# undef _TANDEM_SOURCE
|
||||
#endif
|
||||
/* Enable general extensions on Solaris. */
|
||||
#ifndef __EXTENSIONS__
|
||||
# undef __EXTENSIONS__
|
||||
#endif
|
||||
|
||||
|
||||
/* Version number of package */
|
||||
#undef VERSION
|
||||
|
||||
/* Define to 1 if on MINIX. */
|
||||
#undef _MINIX
|
||||
|
||||
/* Define to 2 if the system does not provide POSIX.1 features except with
|
||||
this defined. */
|
||||
#undef _POSIX_1_SOURCE
|
||||
|
||||
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
||||
#undef _POSIX_SOURCE
|
||||
|
||||
/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
|
||||
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
||||
#define below would cause a syntax error. */
|
||||
#undef _UINT32_T
|
||||
|
||||
/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
|
||||
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
||||
#define below would cause a syntax error. */
|
||||
#undef _UINT64_T
|
||||
|
||||
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
||||
calls it, or to nothing if 'inline' is not supported under any name. */
|
||||
#ifndef __cplusplus
|
||||
#undef inline
|
||||
#endif
|
||||
|
||||
/* Define to the type of a signed integer type of width exactly 64 bits if
|
||||
such a type exists and the standard includes do not define it. */
|
||||
#undef int64_t
|
||||
|
||||
/* Define to rpl_malloc if the replacement function should be used. */
|
||||
#undef malloc
|
||||
|
||||
/* Define to `int' if <sys/types.h> does not define. */
|
||||
#undef pid_t
|
||||
|
||||
/* Define to rpl_realloc if the replacement function should be used. */
|
||||
#undef realloc
|
||||
|
||||
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||
#undef size_t
|
||||
|
||||
/* Define to `int' if <sys/types.h> does not define. */
|
||||
#undef ssize_t
|
||||
|
||||
/* Define to the type of an unsigned integer type of width exactly 16 bits if
|
||||
such a type exists and the standard includes do not define it. */
|
||||
#undef uint16_t
|
||||
|
||||
/* Define to the type of an unsigned integer type of width exactly 32 bits if
|
||||
such a type exists and the standard includes do not define it. */
|
||||
#undef uint32_t
|
||||
|
||||
/* Define to the type of an unsigned integer type of width exactly 64 bits if
|
||||
such a type exists and the standard includes do not define it. */
|
||||
#undef uint64_t
|
||||
690
powertop-v2.10/config.rpath
Executable file
690
powertop-v2.10/config.rpath
Executable file
@ -0,0 +1,690 @@
|
||||
#! /bin/sh
|
||||
# Output a system dependent set of variables, describing how to set the
|
||||
# run time search path of shared libraries in an executable.
|
||||
#
|
||||
# Copyright 1996-2013 Free Software Foundation, Inc.
|
||||
# Taken from GNU libtool, 2001
|
||||
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
|
||||
#
|
||||
# This file is free software; the Free Software Foundation gives
|
||||
# unlimited permission to copy and/or distribute it, with or without
|
||||
# modifications, as long as this notice is preserved.
|
||||
#
|
||||
# The first argument passed to this file is the canonical host specification,
|
||||
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
|
||||
# or
|
||||
# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
|
||||
# The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld
|
||||
# should be set by the caller.
|
||||
#
|
||||
# The set of defined variables is at the end of this script.
|
||||
|
||||
# Known limitations:
|
||||
# - On IRIX 6.5 with CC="cc", the run time search patch must not be longer
|
||||
# than 256 bytes, otherwise the compiler driver will dump core. The only
|
||||
# known workaround is to choose shorter directory names for the build
|
||||
# directory and/or the installation directory.
|
||||
|
||||
# All known linkers require a '.a' archive for static linking (except MSVC,
|
||||
# which needs '.lib').
|
||||
libext=a
|
||||
shrext=.so
|
||||
|
||||
host="$1"
|
||||
host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
||||
host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
||||
host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
||||
|
||||
# Code taken from libtool.m4's _LT_CC_BASENAME.
|
||||
|
||||
for cc_temp in $CC""; do
|
||||
case $cc_temp in
|
||||
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
|
||||
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
|
||||
\-*) ;;
|
||||
*) break;;
|
||||
esac
|
||||
done
|
||||
cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'`
|
||||
|
||||
# Code taken from libtool.m4's _LT_COMPILER_PIC.
|
||||
|
||||
wl=
|
||||
if test "$GCC" = yes; then
|
||||
wl='-Wl,'
|
||||
else
|
||||
case "$host_os" in
|
||||
aix*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
mingw* | cygwin* | pw32* | os2* | cegcc*)
|
||||
;;
|
||||
hpux9* | hpux10* | hpux11*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
irix5* | irix6* | nonstopux*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||
case $cc_basename in
|
||||
ecc*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
icc* | ifort*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
lf95*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
nagfor*)
|
||||
wl='-Wl,-Wl,,'
|
||||
;;
|
||||
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
ccc*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
xl* | bgxl* | bgf* | mpixl*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
como)
|
||||
wl='-lopt='
|
||||
;;
|
||||
*)
|
||||
case `$CC -V 2>&1 | sed 5q` in
|
||||
*Sun\ F* | *Sun*Fortran*)
|
||||
wl=
|
||||
;;
|
||||
*Sun\ C*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
newsos6)
|
||||
;;
|
||||
*nto* | *qnx*)
|
||||
;;
|
||||
osf3* | osf4* | osf5*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
rdos*)
|
||||
;;
|
||||
solaris*)
|
||||
case $cc_basename in
|
||||
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
|
||||
wl='-Qoption ld '
|
||||
;;
|
||||
*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
sunos4*)
|
||||
wl='-Qoption ld '
|
||||
;;
|
||||
sysv4 | sysv4.2uw2* | sysv4.3*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
sysv4*MP*)
|
||||
;;
|
||||
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
unicos*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
uts4*)
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Code taken from libtool.m4's _LT_LINKER_SHLIBS.
|
||||
|
||||
hardcode_libdir_flag_spec=
|
||||
hardcode_libdir_separator=
|
||||
hardcode_direct=no
|
||||
hardcode_minus_L=no
|
||||
|
||||
case "$host_os" in
|
||||
cygwin* | mingw* | pw32* | cegcc*)
|
||||
# FIXME: the MSVC++ port hasn't been tested in a loooong time
|
||||
# When not using gcc, we currently assume that we are using
|
||||
# Microsoft Visual C++.
|
||||
if test "$GCC" != yes; then
|
||||
with_gnu_ld=no
|
||||
fi
|
||||
;;
|
||||
interix*)
|
||||
# we just hope/assume this is gcc and not c89 (= MSVC++)
|
||||
with_gnu_ld=yes
|
||||
;;
|
||||
openbsd*)
|
||||
with_gnu_ld=no
|
||||
;;
|
||||
esac
|
||||
|
||||
ld_shlibs=yes
|
||||
if test "$with_gnu_ld" = yes; then
|
||||
# Set some defaults for GNU ld with shared library support. These
|
||||
# are reset later if shared libraries are not supported. Putting them
|
||||
# here allows them to be overridden if necessary.
|
||||
# Unlike libtool, we use -rpath here, not --rpath, since the documented
|
||||
# option of GNU ld is called -rpath, not --rpath.
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
case "$host_os" in
|
||||
aix[3-9]*)
|
||||
# On AIX/PPC, the GNU linker is very broken
|
||||
if test "$host_cpu" != ia64; then
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
amigaos*)
|
||||
case "$host_cpu" in
|
||||
powerpc)
|
||||
;;
|
||||
m68k)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
beos*)
|
||||
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
:
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
cygwin* | mingw* | pw32* | cegcc*)
|
||||
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
||||
# no search path for DLLs.
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
|
||||
:
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
haiku*)
|
||||
;;
|
||||
interix[3-9]*)
|
||||
hardcode_direct=no
|
||||
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
;;
|
||||
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
:
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
netbsd*)
|
||||
;;
|
||||
solaris*)
|
||||
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
|
||||
ld_shlibs=no
|
||||
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
:
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
|
||||
case `$LD -v 2>&1` in
|
||||
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
|
||||
ld_shlibs=no
|
||||
;;
|
||||
*)
|
||||
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
sunos4*)
|
||||
hardcode_direct=yes
|
||||
;;
|
||||
*)
|
||||
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
:
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
if test "$ld_shlibs" = no; then
|
||||
hardcode_libdir_flag_spec=
|
||||
fi
|
||||
else
|
||||
case "$host_os" in
|
||||
aix3*)
|
||||
# Note: this linker hardcodes the directories in LIBPATH if there
|
||||
# are no directories specified by -L.
|
||||
hardcode_minus_L=yes
|
||||
if test "$GCC" = yes; then
|
||||
# Neither direct hardcoding nor static linking is supported with a
|
||||
# broken collect2.
|
||||
hardcode_direct=unsupported
|
||||
fi
|
||||
;;
|
||||
aix[4-9]*)
|
||||
if test "$host_cpu" = ia64; then
|
||||
# On IA64, the linker does run time linking by default, so we don't
|
||||
# have to do anything special.
|
||||
aix_use_runtimelinking=no
|
||||
else
|
||||
aix_use_runtimelinking=no
|
||||
# Test if we are trying to use run time linking or normal
|
||||
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
|
||||
# need to do runtime linking.
|
||||
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
|
||||
for ld_flag in $LDFLAGS; do
|
||||
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
|
||||
aix_use_runtimelinking=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
hardcode_direct=yes
|
||||
hardcode_libdir_separator=':'
|
||||
if test "$GCC" = yes; then
|
||||
case $host_os in aix4.[012]|aix4.[012].*)
|
||||
collect2name=`${CC} -print-prog-name=collect2`
|
||||
if test -f "$collect2name" && \
|
||||
strings "$collect2name" | grep resolve_lib_name >/dev/null
|
||||
then
|
||||
# We have reworked collect2
|
||||
:
|
||||
else
|
||||
# We have old collect2
|
||||
hardcode_direct=unsupported
|
||||
hardcode_minus_L=yes
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_libdir_separator=
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
# Begin _LT_AC_SYS_LIBPATH_AIX.
|
||||
echo 'int main () { return 0; }' > conftest.c
|
||||
${CC} ${LDFLAGS} conftest.c -o conftest
|
||||
aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
|
||||
}'`
|
||||
if test -z "$aix_libpath"; then
|
||||
aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
|
||||
}'`
|
||||
fi
|
||||
if test -z "$aix_libpath"; then
|
||||
aix_libpath="/usr/lib:/lib"
|
||||
fi
|
||||
rm -f conftest.c conftest
|
||||
# End _LT_AC_SYS_LIBPATH_AIX.
|
||||
if test "$aix_use_runtimelinking" = yes; then
|
||||
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
|
||||
else
|
||||
if test "$host_cpu" = ia64; then
|
||||
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
|
||||
else
|
||||
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
amigaos*)
|
||||
case "$host_cpu" in
|
||||
powerpc)
|
||||
;;
|
||||
m68k)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
bsdi[45]*)
|
||||
;;
|
||||
cygwin* | mingw* | pw32* | cegcc*)
|
||||
# When not using gcc, we currently assume that we are using
|
||||
# Microsoft Visual C++.
|
||||
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
||||
# no search path for DLLs.
|
||||
hardcode_libdir_flag_spec=' '
|
||||
libext=lib
|
||||
;;
|
||||
darwin* | rhapsody*)
|
||||
hardcode_direct=no
|
||||
if { case $cc_basename in ifort*) true;; *) test "$GCC" = yes;; esac; }; then
|
||||
:
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
dgux*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
;;
|
||||
freebsd2.2*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
;;
|
||||
freebsd2*)
|
||||
hardcode_direct=yes
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
freebsd* | dragonfly*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
;;
|
||||
hpux9*)
|
||||
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
hardcode_direct=yes
|
||||
# hardcode_minus_L: Not really in the search PATH,
|
||||
# but as the default location of the library.
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
hpux10*)
|
||||
if test "$with_gnu_ld" = no; then
|
||||
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
hardcode_direct=yes
|
||||
# hardcode_minus_L: Not really in the search PATH,
|
||||
# but as the default location of the library.
|
||||
hardcode_minus_L=yes
|
||||
fi
|
||||
;;
|
||||
hpux11*)
|
||||
if test "$with_gnu_ld" = no; then
|
||||
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
case $host_cpu in
|
||||
hppa*64*|ia64*)
|
||||
hardcode_direct=no
|
||||
;;
|
||||
*)
|
||||
hardcode_direct=yes
|
||||
# hardcode_minus_L: Not really in the search PATH,
|
||||
# but as the default location of the library.
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
;;
|
||||
irix5* | irix6* | nonstopux*)
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
;;
|
||||
netbsd*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
;;
|
||||
newsos6)
|
||||
hardcode_direct=yes
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
;;
|
||||
*nto* | *qnx*)
|
||||
;;
|
||||
openbsd*)
|
||||
if test -f /usr/libexec/ld.so; then
|
||||
hardcode_direct=yes
|
||||
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
||||
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
else
|
||||
case "$host_os" in
|
||||
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
;;
|
||||
*)
|
||||
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
os2*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
osf3*)
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
;;
|
||||
osf4* | osf5*)
|
||||
if test "$GCC" = yes; then
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
else
|
||||
# Both cc and cxx compiler support -rpath directly
|
||||
hardcode_libdir_flag_spec='-rpath $libdir'
|
||||
fi
|
||||
hardcode_libdir_separator=:
|
||||
;;
|
||||
solaris*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
;;
|
||||
sunos4*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_direct=yes
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
sysv4)
|
||||
case $host_vendor in
|
||||
sni)
|
||||
hardcode_direct=yes # is this really true???
|
||||
;;
|
||||
siemens)
|
||||
hardcode_direct=no
|
||||
;;
|
||||
motorola)
|
||||
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
sysv4.3*)
|
||||
;;
|
||||
sysv4*MP*)
|
||||
if test -d /usr/nec; then
|
||||
ld_shlibs=yes
|
||||
fi
|
||||
;;
|
||||
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
|
||||
;;
|
||||
sysv5* | sco3.2v5* | sco5v6*)
|
||||
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
|
||||
hardcode_libdir_separator=':'
|
||||
;;
|
||||
uts4*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
;;
|
||||
*)
|
||||
ld_shlibs=no
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Check dynamic linker characteristics
|
||||
# Code taken from libtool.m4's _LT_SYS_DYNAMIC_LINKER.
|
||||
# Unlike libtool.m4, here we don't care about _all_ names of the library, but
|
||||
# only about the one the linker finds when passed -lNAME. This is the last
|
||||
# element of library_names_spec in libtool.m4, or possibly two of them if the
|
||||
# linker has special search rules.
|
||||
library_names_spec= # the last element of library_names_spec in libtool.m4
|
||||
libname_spec='lib$name'
|
||||
case "$host_os" in
|
||||
aix3*)
|
||||
library_names_spec='$libname.a'
|
||||
;;
|
||||
aix[4-9]*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
amigaos*)
|
||||
case "$host_cpu" in
|
||||
powerpc*)
|
||||
library_names_spec='$libname$shrext' ;;
|
||||
m68k)
|
||||
library_names_spec='$libname.a' ;;
|
||||
esac
|
||||
;;
|
||||
beos*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
bsdi[45]*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
cygwin* | mingw* | pw32* | cegcc*)
|
||||
shrext=.dll
|
||||
library_names_spec='$libname.dll.a $libname.lib'
|
||||
;;
|
||||
darwin* | rhapsody*)
|
||||
shrext=.dylib
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
dgux*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
freebsd* | dragonfly*)
|
||||
case "$host_os" in
|
||||
freebsd[123]*)
|
||||
library_names_spec='$libname$shrext$versuffix' ;;
|
||||
*)
|
||||
library_names_spec='$libname$shrext' ;;
|
||||
esac
|
||||
;;
|
||||
gnu*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
haiku*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
hpux9* | hpux10* | hpux11*)
|
||||
case $host_cpu in
|
||||
ia64*)
|
||||
shrext=.so
|
||||
;;
|
||||
hppa*64*)
|
||||
shrext=.sl
|
||||
;;
|
||||
*)
|
||||
shrext=.sl
|
||||
;;
|
||||
esac
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
interix[3-9]*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
irix5* | irix6* | nonstopux*)
|
||||
library_names_spec='$libname$shrext'
|
||||
case "$host_os" in
|
||||
irix5* | nonstopux*)
|
||||
libsuff= shlibsuff=
|
||||
;;
|
||||
*)
|
||||
case $LD in
|
||||
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;;
|
||||
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;;
|
||||
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;;
|
||||
*) libsuff= shlibsuff= ;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
linux*oldld* | linux*aout* | linux*coff*)
|
||||
;;
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
knetbsd*-gnu)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
netbsd*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
newsos6)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
*nto* | *qnx*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
openbsd*)
|
||||
library_names_spec='$libname$shrext$versuffix'
|
||||
;;
|
||||
os2*)
|
||||
libname_spec='$name'
|
||||
shrext=.dll
|
||||
library_names_spec='$libname.a'
|
||||
;;
|
||||
osf3* | osf4* | osf5*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
rdos*)
|
||||
;;
|
||||
solaris*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
sunos4*)
|
||||
library_names_spec='$libname$shrext$versuffix'
|
||||
;;
|
||||
sysv4 | sysv4.3*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
sysv4*MP*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
tpf*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
uts4*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
esac
|
||||
|
||||
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
|
||||
escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"`
|
||||
shlibext=`echo "$shrext" | sed -e 's,^\.,,'`
|
||||
escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
|
||||
escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
|
||||
escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
|
||||
|
||||
LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF
|
||||
|
||||
# How to pass a linker flag through the compiler.
|
||||
wl="$escaped_wl"
|
||||
|
||||
# Static library suffix (normally "a").
|
||||
libext="$libext"
|
||||
|
||||
# Shared library suffix (normally "so").
|
||||
shlibext="$shlibext"
|
||||
|
||||
# Format of library name prefix.
|
||||
libname_spec="$escaped_libname_spec"
|
||||
|
||||
# Library names that the linker finds when passed -lNAME.
|
||||
library_names_spec="$escaped_library_names_spec"
|
||||
|
||||
# Flag to hardcode \$libdir into a binary during linking.
|
||||
# This must work even if \$libdir does not exist.
|
||||
hardcode_libdir_flag_spec="$escaped_hardcode_libdir_flag_spec"
|
||||
|
||||
# Whether we need a single -rpath flag with a separated argument.
|
||||
hardcode_libdir_separator="$hardcode_libdir_separator"
|
||||
|
||||
# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
|
||||
# resulting binary.
|
||||
hardcode_direct="$hardcode_direct"
|
||||
|
||||
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
|
||||
# resulting binary.
|
||||
hardcode_minus_L="$hardcode_minus_L"
|
||||
|
||||
EOF
|
||||
1813
powertop-v2.10/config.sub
vendored
Executable file
1813
powertop-v2.10/config.sub
vendored
Executable file
File diff suppressed because it is too large
Load Diff
24974
powertop-v2.10/configure
vendored
Executable file
24974
powertop-v2.10/configure
vendored
Executable file
File diff suppressed because it is too large
Load Diff
157
powertop-v2.10/configure.ac
Normal file
157
powertop-v2.10/configure.ac
Normal file
@ -0,0 +1,157 @@
|
||||
# -*- Autoconf -*-
|
||||
# Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_PREREQ([2.68])
|
||||
AC_INIT([powertop], m4_esyscmd_s([cat version-long]),
|
||||
[powertop@lists.01.org], [], [https://01.org/powertop])
|
||||
AM_INIT_AUTOMAKE([
|
||||
-Wall
|
||||
1.12.2
|
||||
foreign
|
||||
])
|
||||
AC_LANG([C++])
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
Doxyfile
|
||||
src/Makefile
|
||||
traceevent/Makefile
|
||||
po/Makefile.in
|
||||
doc/Makefile
|
||||
])
|
||||
AC_CONFIG_SRCDIR([src/main.cpp])
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
AC_USE_SYSTEM_EXTENSIONS
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
GETTEXT_PACKAGE=powertop
|
||||
AC_SUBST([GETTEXT_PACKAGE])
|
||||
AM_SILENT_RULES([yes])
|
||||
AM_GNU_GETTEXT([external])
|
||||
AM_GNU_GETTEXT_VERSION([0.18.2])
|
||||
|
||||
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
|
||||
# Checks for programs.
|
||||
AC_PROG_CPP
|
||||
AC_PROG_CXX
|
||||
AC_PROG_LIBTOOL
|
||||
AC_PROG_CC
|
||||
AC_PROG_INSTALL
|
||||
AM_PROG_CC_C_O
|
||||
GCC_FORTIFY_SOURCE_CC
|
||||
AX_CXX_COMPILE_STDCXX_11([noext], [mandatory])
|
||||
|
||||
# Checks for libraries.
|
||||
AX_PTHREAD([
|
||||
LIBS="$PTHREAD_LIBS $LIBS"
|
||||
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
|
||||
CC="$PTHREAD_CC"
|
||||
], [
|
||||
AC_MSG_ERROR([Could not configure pthreads support])
|
||||
])
|
||||
|
||||
# Checks for header files.
|
||||
AC_CHECK_HEADERS([ \
|
||||
fcntl.h \
|
||||
libintl.h \
|
||||
limits.h \
|
||||
locale.h \
|
||||
malloc.h \
|
||||
ncurses.h \
|
||||
stdint.h \
|
||||
stdlib.h \
|
||||
string.h \
|
||||
sys/ioctl.h \
|
||||
sys/socket.h \
|
||||
sys/statfs.h \
|
||||
sys/time.h \
|
||||
termios.h \
|
||||
unistd.h \
|
||||
])
|
||||
|
||||
# Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_HEADER_STDBOOL
|
||||
AC_C_INLINE
|
||||
AC_TYPE_INT64_T
|
||||
AC_TYPE_PID_T
|
||||
AC_TYPE_SIZE_T
|
||||
AC_TYPE_SSIZE_T
|
||||
AC_TYPE_UINT16_T
|
||||
AC_TYPE_UINT32_T
|
||||
AC_TYPE_UINT64_T
|
||||
|
||||
# Checks for library functions.
|
||||
AC_FUNC_MALLOC
|
||||
AC_FUNC_MMAP
|
||||
AC_FUNC_REALLOC
|
||||
AC_FUNC_STRTOD
|
||||
AC_CHECK_FUNCS([ \
|
||||
fdatasync \
|
||||
getpagesize \
|
||||
gettimeofday \
|
||||
memmove \
|
||||
memset \
|
||||
mkdir \
|
||||
munmap \
|
||||
pow \
|
||||
realpath \
|
||||
regcomp \
|
||||
select \
|
||||
setlocale \
|
||||
socket \
|
||||
sqrt \
|
||||
strcasecmp \
|
||||
strchr \
|
||||
strdup \
|
||||
strerror \
|
||||
strncasecmp \
|
||||
strstr \
|
||||
strtoul \
|
||||
strtoull \
|
||||
])
|
||||
|
||||
AC_SEARCH_LIBS([clock_gettime], [rt])
|
||||
|
||||
PKG_CHECK_MODULES([NCURSES], [ncursesw ncurses], [LIBS="$LIBS $ncurses_LIBS"], [
|
||||
AC_SEARCH_LIBS([delwin], [ncursesw ncurses], [], [
|
||||
AC_MSG_ERROR([ncurses is required but was not found])
|
||||
], [])
|
||||
])
|
||||
|
||||
has_libpci=0
|
||||
PKG_CHECK_MODULES([PCIUTILS], [libpci],[has_libpci=1], [
|
||||
AC_SEARCH_LIBS([pci_get_dev], [pci],[has_libpci=1], [has_libpci=0])
|
||||
])
|
||||
|
||||
|
||||
has_libnl_ver=0
|
||||
dnl libnl-2 provides only libnl-2.0.pc file, so we check for separate
|
||||
dnl libnl-genl-3.0.pc pkg-config file just for libnl-3.0 case.
|
||||
PKG_CHECK_MODULES([LIBNL], [libnl-3.0 >= 3.0 libnl-genl-3.0 >= 3.0], [has_libnl_ver=3], [
|
||||
PKG_CHECK_MODULES([LIBNL], [libnl-2.0 >= 2.0], [has_libnl_ver=2], [
|
||||
PKG_CHECK_MODULES([LIBNL], [libnl-1], [has_libnl_ver=1], [has_libnl_ver=0])
|
||||
])
|
||||
])
|
||||
AS_IF([test "$has_libnl_ver" -eq 0], [
|
||||
AC_MSG_ERROR([libnl and libnl-genl are required but were not found])
|
||||
])
|
||||
AS_IF([test "$has_libnl_ver" -gt 1], [
|
||||
AC_DEFINE([HAVE_LIBNL20], [1], [Define if you have libnl-2.0 or higher])
|
||||
])
|
||||
|
||||
AS_IF([test "$has_libpci" -eq 0], [
|
||||
AC_DEFINE([HAVE_NO_PCI], [1], [Define if pci is not supported])
|
||||
AC_MSG_WARN([
|
||||
************* LIBPCI SUPPORT NOT CONFIGURED**************
|
||||
If you need or want pci support, please install libpci
|
||||
and re-configure PowerTOP.
|
||||
*********************************************************
|
||||
])
|
||||
])
|
||||
|
||||
AC_SEARCH_LIBS([inet_aton], [resolv], [], [
|
||||
AC_MSG_ERROR([libresolv is required but was not found])
|
||||
], [])
|
||||
|
||||
AC_DEFINE([PACKAGE_SHORT_VERSION], m4_esyscmd_s([cat version-short]),
|
||||
[Short package version])
|
||||
|
||||
AC_OUTPUT
|
||||
791
powertop-v2.10/depcomp
Executable file
791
powertop-v2.10/depcomp
Executable file
@ -0,0 +1,791 @@
|
||||
#! /bin/sh
|
||||
# depcomp - compile a program generating dependencies as side-effects
|
||||
|
||||
scriptversion=2013-05-30.07; # UTC
|
||||
|
||||
# Copyright (C) 1999-2014 Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
|
||||
|
||||
case $1 in
|
||||
'')
|
||||
echo "$0: No command. Try '$0 --help' for more information." 1>&2
|
||||
exit 1;
|
||||
;;
|
||||
-h | --h*)
|
||||
cat <<\EOF
|
||||
Usage: depcomp [--help] [--version] PROGRAM [ARGS]
|
||||
|
||||
Run PROGRAMS ARGS to compile a file, generating dependencies
|
||||
as side-effects.
|
||||
|
||||
Environment variables:
|
||||
depmode Dependency tracking mode.
|
||||
source Source file read by 'PROGRAMS ARGS'.
|
||||
object Object file output by 'PROGRAMS ARGS'.
|
||||
DEPDIR directory where to store dependencies.
|
||||
depfile Dependency file to output.
|
||||
tmpdepfile Temporary file to use when outputting dependencies.
|
||||
libtool Whether libtool is used (yes/no).
|
||||
|
||||
Report bugs to <bug-automake@gnu.org>.
|
||||
EOF
|
||||
exit $?
|
||||
;;
|
||||
-v | --v*)
|
||||
echo "depcomp $scriptversion"
|
||||
exit $?
|
||||
;;
|
||||
esac
|
||||
|
||||
# Get the directory component of the given path, and save it in the
|
||||
# global variables '$dir'. Note that this directory component will
|
||||
# be either empty or ending with a '/' character. This is deliberate.
|
||||
set_dir_from ()
|
||||
{
|
||||
case $1 in
|
||||
*/*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
|
||||
*) dir=;;
|
||||
esac
|
||||
}
|
||||
|
||||
# Get the suffix-stripped basename of the given path, and save it the
|
||||
# global variable '$base'.
|
||||
set_base_from ()
|
||||
{
|
||||
base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'`
|
||||
}
|
||||
|
||||
# If no dependency file was actually created by the compiler invocation,
|
||||
# we still have to create a dummy depfile, to avoid errors with the
|
||||
# Makefile "include basename.Plo" scheme.
|
||||
make_dummy_depfile ()
|
||||
{
|
||||
echo "#dummy" > "$depfile"
|
||||
}
|
||||
|
||||
# Factor out some common post-processing of the generated depfile.
|
||||
# Requires the auxiliary global variable '$tmpdepfile' to be set.
|
||||
aix_post_process_depfile ()
|
||||
{
|
||||
# If the compiler actually managed to produce a dependency file,
|
||||
# post-process it.
|
||||
if test -f "$tmpdepfile"; then
|
||||
# Each line is of the form 'foo.o: dependency.h'.
|
||||
# Do two passes, one to just change these to
|
||||
# $object: dependency.h
|
||||
# and one to simply output
|
||||
# dependency.h:
|
||||
# which is needed to avoid the deleted-header problem.
|
||||
{ sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile"
|
||||
sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile"
|
||||
} > "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
else
|
||||
make_dummy_depfile
|
||||
fi
|
||||
}
|
||||
|
||||
# A tabulation character.
|
||||
tab=' '
|
||||
# A newline character.
|
||||
nl='
|
||||
'
|
||||
# Character ranges might be problematic outside the C locale.
|
||||
# These definitions help.
|
||||
upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
||||
lower=abcdefghijklmnopqrstuvwxyz
|
||||
digits=0123456789
|
||||
alpha=${upper}${lower}
|
||||
|
||||
if test -z "$depmode" || test -z "$source" || test -z "$object"; then
|
||||
echo "depcomp: Variables source, object and depmode must be set" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
|
||||
depfile=${depfile-`echo "$object" |
|
||||
sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
|
||||
tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
|
||||
|
||||
rm -f "$tmpdepfile"
|
||||
|
||||
# Avoid interferences from the environment.
|
||||
gccflag= dashmflag=
|
||||
|
||||
# Some modes work just like other modes, but use different flags. We
|
||||
# parameterize here, but still list the modes in the big case below,
|
||||
# to make depend.m4 easier to write. Note that we *cannot* use a case
|
||||
# here, because this file can only contain one case statement.
|
||||
if test "$depmode" = hp; then
|
||||
# HP compiler uses -M and no extra arg.
|
||||
gccflag=-M
|
||||
depmode=gcc
|
||||
fi
|
||||
|
||||
if test "$depmode" = dashXmstdout; then
|
||||
# This is just like dashmstdout with a different argument.
|
||||
dashmflag=-xM
|
||||
depmode=dashmstdout
|
||||
fi
|
||||
|
||||
cygpath_u="cygpath -u -f -"
|
||||
if test "$depmode" = msvcmsys; then
|
||||
# This is just like msvisualcpp but w/o cygpath translation.
|
||||
# Just convert the backslash-escaped backslashes to single forward
|
||||
# slashes to satisfy depend.m4
|
||||
cygpath_u='sed s,\\\\,/,g'
|
||||
depmode=msvisualcpp
|
||||
fi
|
||||
|
||||
if test "$depmode" = msvc7msys; then
|
||||
# This is just like msvc7 but w/o cygpath translation.
|
||||
# Just convert the backslash-escaped backslashes to single forward
|
||||
# slashes to satisfy depend.m4
|
||||
cygpath_u='sed s,\\\\,/,g'
|
||||
depmode=msvc7
|
||||
fi
|
||||
|
||||
if test "$depmode" = xlc; then
|
||||
# IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information.
|
||||
gccflag=-qmakedep=gcc,-MF
|
||||
depmode=gcc
|
||||
fi
|
||||
|
||||
case "$depmode" in
|
||||
gcc3)
|
||||
## gcc 3 implements dependency tracking that does exactly what
|
||||
## we want. Yay! Note: for some reason libtool 1.4 doesn't like
|
||||
## it if -MD -MP comes after the -MF stuff. Hmm.
|
||||
## Unfortunately, FreeBSD c89 acceptance of flags depends upon
|
||||
## the command line argument order; so add the flags where they
|
||||
## appear in depend2.am. Note that the slowdown incurred here
|
||||
## affects only configure: in makefiles, %FASTDEP% shortcuts this.
|
||||
for arg
|
||||
do
|
||||
case $arg in
|
||||
-c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
|
||||
*) set fnord "$@" "$arg" ;;
|
||||
esac
|
||||
shift # fnord
|
||||
shift # $arg
|
||||
done
|
||||
"$@"
|
||||
stat=$?
|
||||
if test $stat -ne 0; then
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
mv "$tmpdepfile" "$depfile"
|
||||
;;
|
||||
|
||||
gcc)
|
||||
## Note that this doesn't just cater to obsosete pre-3.x GCC compilers.
|
||||
## but also to in-use compilers like IMB xlc/xlC and the HP C compiler.
|
||||
## (see the conditional assignment to $gccflag above).
|
||||
## There are various ways to get dependency output from gcc. Here's
|
||||
## why we pick this rather obscure method:
|
||||
## - Don't want to use -MD because we'd like the dependencies to end
|
||||
## up in a subdir. Having to rename by hand is ugly.
|
||||
## (We might end up doing this anyway to support other compilers.)
|
||||
## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
|
||||
## -MM, not -M (despite what the docs say). Also, it might not be
|
||||
## supported by the other compilers which use the 'gcc' depmode.
|
||||
## - Using -M directly means running the compiler twice (even worse
|
||||
## than renaming).
|
||||
if test -z "$gccflag"; then
|
||||
gccflag=-MD,
|
||||
fi
|
||||
"$@" -Wp,"$gccflag$tmpdepfile"
|
||||
stat=$?
|
||||
if test $stat -ne 0; then
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
rm -f "$depfile"
|
||||
echo "$object : \\" > "$depfile"
|
||||
# The second -e expression handles DOS-style file names with drive
|
||||
# letters.
|
||||
sed -e 's/^[^:]*: / /' \
|
||||
-e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
|
||||
## This next piece of magic avoids the "deleted header file" problem.
|
||||
## The problem is that when a header file which appears in a .P file
|
||||
## is deleted, the dependency causes make to die (because there is
|
||||
## typically no way to rebuild the header). We avoid this by adding
|
||||
## dummy dependencies for each header file. Too bad gcc doesn't do
|
||||
## this for us directly.
|
||||
## Some versions of gcc put a space before the ':'. On the theory
|
||||
## that the space means something, we add a space to the output as
|
||||
## well. hp depmode also adds that space, but also prefixes the VPATH
|
||||
## to the object. Take care to not repeat it in the output.
|
||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
## correctly. Breaking it into two sed invocations is a workaround.
|
||||
tr ' ' "$nl" < "$tmpdepfile" \
|
||||
| sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
|
||||
| sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
hp)
|
||||
# This case exists only to let depend.m4 do its work. It works by
|
||||
# looking at the text of this script. This case will never be run,
|
||||
# since it is checked for above.
|
||||
exit 1
|
||||
;;
|
||||
|
||||
sgi)
|
||||
if test "$libtool" = yes; then
|
||||
"$@" "-Wp,-MDupdate,$tmpdepfile"
|
||||
else
|
||||
"$@" -MDupdate "$tmpdepfile"
|
||||
fi
|
||||
stat=$?
|
||||
if test $stat -ne 0; then
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
rm -f "$depfile"
|
||||
|
||||
if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
|
||||
echo "$object : \\" > "$depfile"
|
||||
# Clip off the initial element (the dependent). Don't try to be
|
||||
# clever and replace this with sed code, as IRIX sed won't handle
|
||||
# lines with more than a fixed number of characters (4096 in
|
||||
# IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
|
||||
# the IRIX cc adds comments like '#:fec' to the end of the
|
||||
# dependency line.
|
||||
tr ' ' "$nl" < "$tmpdepfile" \
|
||||
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \
|
||||
| tr "$nl" ' ' >> "$depfile"
|
||||
echo >> "$depfile"
|
||||
# The second pass generates a dummy entry for each header file.
|
||||
tr ' ' "$nl" < "$tmpdepfile" \
|
||||
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
|
||||
>> "$depfile"
|
||||
else
|
||||
make_dummy_depfile
|
||||
fi
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
xlc)
|
||||
# This case exists only to let depend.m4 do its work. It works by
|
||||
# looking at the text of this script. This case will never be run,
|
||||
# since it is checked for above.
|
||||
exit 1
|
||||
;;
|
||||
|
||||
aix)
|
||||
# The C for AIX Compiler uses -M and outputs the dependencies
|
||||
# in a .u file. In older versions, this file always lives in the
|
||||
# current directory. Also, the AIX compiler puts '$object:' at the
|
||||
# start of each line; $object doesn't have directory information.
|
||||
# Version 6 uses the directory in both cases.
|
||||
set_dir_from "$object"
|
||||
set_base_from "$object"
|
||||
if test "$libtool" = yes; then
|
||||
tmpdepfile1=$dir$base.u
|
||||
tmpdepfile2=$base.u
|
||||
tmpdepfile3=$dir.libs/$base.u
|
||||
"$@" -Wc,-M
|
||||
else
|
||||
tmpdepfile1=$dir$base.u
|
||||
tmpdepfile2=$dir$base.u
|
||||
tmpdepfile3=$dir$base.u
|
||||
"$@" -M
|
||||
fi
|
||||
stat=$?
|
||||
if test $stat -ne 0; then
|
||||
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
||||
exit $stat
|
||||
fi
|
||||
|
||||
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
||||
do
|
||||
test -f "$tmpdepfile" && break
|
||||
done
|
||||
aix_post_process_depfile
|
||||
;;
|
||||
|
||||
tcc)
|
||||
# tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26
|
||||
# FIXME: That version still under development at the moment of writing.
|
||||
# Make that this statement remains true also for stable, released
|
||||
# versions.
|
||||
# It will wrap lines (doesn't matter whether long or short) with a
|
||||
# trailing '\', as in:
|
||||
#
|
||||
# foo.o : \
|
||||
# foo.c \
|
||||
# foo.h \
|
||||
#
|
||||
# It will put a trailing '\' even on the last line, and will use leading
|
||||
# spaces rather than leading tabs (at least since its commit 0394caf7
|
||||
# "Emit spaces for -MD").
|
||||
"$@" -MD -MF "$tmpdepfile"
|
||||
stat=$?
|
||||
if test $stat -ne 0; then
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
rm -f "$depfile"
|
||||
# Each non-empty line is of the form 'foo.o : \' or ' dep.h \'.
|
||||
# We have to change lines of the first kind to '$object: \'.
|
||||
sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile"
|
||||
# And for each line of the second kind, we have to emit a 'dep.h:'
|
||||
# dummy dependency, to avoid the deleted-header problem.
|
||||
sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
## The order of this option in the case statement is important, since the
|
||||
## shell code in configure will try each of these formats in the order
|
||||
## listed in this file. A plain '-MD' option would be understood by many
|
||||
## compilers, so we must ensure this comes after the gcc and icc options.
|
||||
pgcc)
|
||||
# Portland's C compiler understands '-MD'.
|
||||
# Will always output deps to 'file.d' where file is the root name of the
|
||||
# source file under compilation, even if file resides in a subdirectory.
|
||||
# The object file name does not affect the name of the '.d' file.
|
||||
# pgcc 10.2 will output
|
||||
# foo.o: sub/foo.c sub/foo.h
|
||||
# and will wrap long lines using '\' :
|
||||
# foo.o: sub/foo.c ... \
|
||||
# sub/foo.h ... \
|
||||
# ...
|
||||
set_dir_from "$object"
|
||||
# Use the source, not the object, to determine the base name, since
|
||||
# that's sadly what pgcc will do too.
|
||||
set_base_from "$source"
|
||||
tmpdepfile=$base.d
|
||||
|
||||
# For projects that build the same source file twice into different object
|
||||
# files, the pgcc approach of using the *source* file root name can cause
|
||||
# problems in parallel builds. Use a locking strategy to avoid stomping on
|
||||
# the same $tmpdepfile.
|
||||
lockdir=$base.d-lock
|
||||
trap "
|
||||
echo '$0: caught signal, cleaning up...' >&2
|
||||
rmdir '$lockdir'
|
||||
exit 1
|
||||
" 1 2 13 15
|
||||
numtries=100
|
||||
i=$numtries
|
||||
while test $i -gt 0; do
|
||||
# mkdir is a portable test-and-set.
|
||||
if mkdir "$lockdir" 2>/dev/null; then
|
||||
# This process acquired the lock.
|
||||
"$@" -MD
|
||||
stat=$?
|
||||
# Release the lock.
|
||||
rmdir "$lockdir"
|
||||
break
|
||||
else
|
||||
# If the lock is being held by a different process, wait
|
||||
# until the winning process is done or we timeout.
|
||||
while test -d "$lockdir" && test $i -gt 0; do
|
||||
sleep 1
|
||||
i=`expr $i - 1`
|
||||
done
|
||||
fi
|
||||
i=`expr $i - 1`
|
||||
done
|
||||
trap - 1 2 13 15
|
||||
if test $i -le 0; then
|
||||
echo "$0: failed to acquire lock after $numtries attempts" >&2
|
||||
echo "$0: check lockdir '$lockdir'" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if test $stat -ne 0; then
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
rm -f "$depfile"
|
||||
# Each line is of the form `foo.o: dependent.h',
|
||||
# or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
|
||||
# Do two passes, one to just change these to
|
||||
# `$object: dependent.h' and one to simply `dependent.h:'.
|
||||
sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
|
||||
# Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
# correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \
|
||||
| sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
hp2)
|
||||
# The "hp" stanza above does not work with aCC (C++) and HP's ia64
|
||||
# compilers, which have integrated preprocessors. The correct option
|
||||
# to use with these is +Maked; it writes dependencies to a file named
|
||||
# 'foo.d', which lands next to the object file, wherever that
|
||||
# happens to be.
|
||||
# Much of this is similar to the tru64 case; see comments there.
|
||||
set_dir_from "$object"
|
||||
set_base_from "$object"
|
||||
if test "$libtool" = yes; then
|
||||
tmpdepfile1=$dir$base.d
|
||||
tmpdepfile2=$dir.libs/$base.d
|
||||
"$@" -Wc,+Maked
|
||||
else
|
||||
tmpdepfile1=$dir$base.d
|
||||
tmpdepfile2=$dir$base.d
|
||||
"$@" +Maked
|
||||
fi
|
||||
stat=$?
|
||||
if test $stat -ne 0; then
|
||||
rm -f "$tmpdepfile1" "$tmpdepfile2"
|
||||
exit $stat
|
||||
fi
|
||||
|
||||
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
|
||||
do
|
||||
test -f "$tmpdepfile" && break
|
||||
done
|
||||
if test -f "$tmpdepfile"; then
|
||||
sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile"
|
||||
# Add 'dependent.h:' lines.
|
||||
sed -ne '2,${
|
||||
s/^ *//
|
||||
s/ \\*$//
|
||||
s/$/:/
|
||||
p
|
||||
}' "$tmpdepfile" >> "$depfile"
|
||||
else
|
||||
make_dummy_depfile
|
||||
fi
|
||||
rm -f "$tmpdepfile" "$tmpdepfile2"
|
||||
;;
|
||||
|
||||
tru64)
|
||||
# The Tru64 compiler uses -MD to generate dependencies as a side
|
||||
# effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'.
|
||||
# At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
|
||||
# dependencies in 'foo.d' instead, so we check for that too.
|
||||
# Subdirectories are respected.
|
||||
set_dir_from "$object"
|
||||
set_base_from "$object"
|
||||
|
||||
if test "$libtool" = yes; then
|
||||
# Libtool generates 2 separate objects for the 2 libraries. These
|
||||
# two compilations output dependencies in $dir.libs/$base.o.d and
|
||||
# in $dir$base.o.d. We have to check for both files, because
|
||||
# one of the two compilations can be disabled. We should prefer
|
||||
# $dir$base.o.d over $dir.libs/$base.o.d because the latter is
|
||||
# automatically cleaned when .libs/ is deleted, while ignoring
|
||||
# the former would cause a distcleancheck panic.
|
||||
tmpdepfile1=$dir$base.o.d # libtool 1.5
|
||||
tmpdepfile2=$dir.libs/$base.o.d # Likewise.
|
||||
tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504
|
||||
"$@" -Wc,-MD
|
||||
else
|
||||
tmpdepfile1=$dir$base.d
|
||||
tmpdepfile2=$dir$base.d
|
||||
tmpdepfile3=$dir$base.d
|
||||
"$@" -MD
|
||||
fi
|
||||
|
||||
stat=$?
|
||||
if test $stat -ne 0; then
|
||||
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
||||
exit $stat
|
||||
fi
|
||||
|
||||
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
||||
do
|
||||
test -f "$tmpdepfile" && break
|
||||
done
|
||||
# Same post-processing that is required for AIX mode.
|
||||
aix_post_process_depfile
|
||||
;;
|
||||
|
||||
msvc7)
|
||||
if test "$libtool" = yes; then
|
||||
showIncludes=-Wc,-showIncludes
|
||||
else
|
||||
showIncludes=-showIncludes
|
||||
fi
|
||||
"$@" $showIncludes > "$tmpdepfile"
|
||||
stat=$?
|
||||
grep -v '^Note: including file: ' "$tmpdepfile"
|
||||
if test $stat -ne 0; then
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
rm -f "$depfile"
|
||||
echo "$object : \\" > "$depfile"
|
||||
# The first sed program below extracts the file names and escapes
|
||||
# backslashes for cygpath. The second sed program outputs the file
|
||||
# name when reading, but also accumulates all include files in the
|
||||
# hold buffer in order to output them again at the end. This only
|
||||
# works with sed implementations that can handle large buffers.
|
||||
sed < "$tmpdepfile" -n '
|
||||
/^Note: including file: *\(.*\)/ {
|
||||
s//\1/
|
||||
s/\\/\\\\/g
|
||||
p
|
||||
}' | $cygpath_u | sort -u | sed -n '
|
||||
s/ /\\ /g
|
||||
s/\(.*\)/'"$tab"'\1 \\/p
|
||||
s/.\(.*\) \\/\1:/
|
||||
H
|
||||
$ {
|
||||
s/.*/'"$tab"'/
|
||||
G
|
||||
p
|
||||
}' >> "$depfile"
|
||||
echo >> "$depfile" # make sure the fragment doesn't end with a backslash
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
msvc7msys)
|
||||
# This case exists only to let depend.m4 do its work. It works by
|
||||
# looking at the text of this script. This case will never be run,
|
||||
# since it is checked for above.
|
||||
exit 1
|
||||
;;
|
||||
|
||||
#nosideeffect)
|
||||
# This comment above is used by automake to tell side-effect
|
||||
# dependency tracking mechanisms from slower ones.
|
||||
|
||||
dashmstdout)
|
||||
# Important note: in order to support this mode, a compiler *must*
|
||||
# always write the preprocessed file to stdout, regardless of -o.
|
||||
"$@" || exit $?
|
||||
|
||||
# Remove the call to Libtool.
|
||||
if test "$libtool" = yes; then
|
||||
while test "X$1" != 'X--mode=compile'; do
|
||||
shift
|
||||
done
|
||||
shift
|
||||
fi
|
||||
|
||||
# Remove '-o $object'.
|
||||
IFS=" "
|
||||
for arg
|
||||
do
|
||||
case $arg in
|
||||
-o)
|
||||
shift
|
||||
;;
|
||||
$object)
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
set fnord "$@" "$arg"
|
||||
shift # fnord
|
||||
shift # $arg
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
test -z "$dashmflag" && dashmflag=-M
|
||||
# Require at least two characters before searching for ':'
|
||||
# in the target name. This is to cope with DOS-style filenames:
|
||||
# a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise.
|
||||
"$@" $dashmflag |
|
||||
sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile"
|
||||
rm -f "$depfile"
|
||||
cat < "$tmpdepfile" > "$depfile"
|
||||
# Some versions of the HPUX 10.20 sed can't process this sed invocation
|
||||
# correctly. Breaking it into two sed invocations is a workaround.
|
||||
tr ' ' "$nl" < "$tmpdepfile" \
|
||||
| sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
|
||||
| sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
dashXmstdout)
|
||||
# This case only exists to satisfy depend.m4. It is never actually
|
||||
# run, as this mode is specially recognized in the preamble.
|
||||
exit 1
|
||||
;;
|
||||
|
||||
makedepend)
|
||||
"$@" || exit $?
|
||||
# Remove any Libtool call
|
||||
if test "$libtool" = yes; then
|
||||
while test "X$1" != 'X--mode=compile'; do
|
||||
shift
|
||||
done
|
||||
shift
|
||||
fi
|
||||
# X makedepend
|
||||
shift
|
||||
cleared=no eat=no
|
||||
for arg
|
||||
do
|
||||
case $cleared in
|
||||
no)
|
||||
set ""; shift
|
||||
cleared=yes ;;
|
||||
esac
|
||||
if test $eat = yes; then
|
||||
eat=no
|
||||
continue
|
||||
fi
|
||||
case "$arg" in
|
||||
-D*|-I*)
|
||||
set fnord "$@" "$arg"; shift ;;
|
||||
# Strip any option that makedepend may not understand. Remove
|
||||
# the object too, otherwise makedepend will parse it as a source file.
|
||||
-arch)
|
||||
eat=yes ;;
|
||||
-*|$object)
|
||||
;;
|
||||
*)
|
||||
set fnord "$@" "$arg"; shift ;;
|
||||
esac
|
||||
done
|
||||
obj_suffix=`echo "$object" | sed 's/^.*\././'`
|
||||
touch "$tmpdepfile"
|
||||
${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
|
||||
rm -f "$depfile"
|
||||
# makedepend may prepend the VPATH from the source file name to the object.
|
||||
# No need to regex-escape $object, excess matching of '.' is harmless.
|
||||
sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"
|
||||
# Some versions of the HPUX 10.20 sed can't process the last invocation
|
||||
# correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed '1,2d' "$tmpdepfile" \
|
||||
| tr ' ' "$nl" \
|
||||
| sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
|
||||
| sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile" "$tmpdepfile".bak
|
||||
;;
|
||||
|
||||
cpp)
|
||||
# Important note: in order to support this mode, a compiler *must*
|
||||
# always write the preprocessed file to stdout.
|
||||
"$@" || exit $?
|
||||
|
||||
# Remove the call to Libtool.
|
||||
if test "$libtool" = yes; then
|
||||
while test "X$1" != 'X--mode=compile'; do
|
||||
shift
|
||||
done
|
||||
shift
|
||||
fi
|
||||
|
||||
# Remove '-o $object'.
|
||||
IFS=" "
|
||||
for arg
|
||||
do
|
||||
case $arg in
|
||||
-o)
|
||||
shift
|
||||
;;
|
||||
$object)
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
set fnord "$@" "$arg"
|
||||
shift # fnord
|
||||
shift # $arg
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
"$@" -E \
|
||||
| sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
|
||||
-e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
|
||||
| sed '$ s: \\$::' > "$tmpdepfile"
|
||||
rm -f "$depfile"
|
||||
echo "$object : \\" > "$depfile"
|
||||
cat < "$tmpdepfile" >> "$depfile"
|
||||
sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
msvisualcpp)
|
||||
# Important note: in order to support this mode, a compiler *must*
|
||||
# always write the preprocessed file to stdout.
|
||||
"$@" || exit $?
|
||||
|
||||
# Remove the call to Libtool.
|
||||
if test "$libtool" = yes; then
|
||||
while test "X$1" != 'X--mode=compile'; do
|
||||
shift
|
||||
done
|
||||
shift
|
||||
fi
|
||||
|
||||
IFS=" "
|
||||
for arg
|
||||
do
|
||||
case "$arg" in
|
||||
-o)
|
||||
shift
|
||||
;;
|
||||
$object)
|
||||
shift
|
||||
;;
|
||||
"-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
|
||||
set fnord "$@"
|
||||
shift
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
set fnord "$@" "$arg"
|
||||
shift
|
||||
shift
|
||||
;;
|
||||
esac
|
||||
done
|
||||
"$@" -E 2>/dev/null |
|
||||
sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
|
||||
rm -f "$depfile"
|
||||
echo "$object : \\" > "$depfile"
|
||||
sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile"
|
||||
echo "$tab" >> "$depfile"
|
||||
sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
msvcmsys)
|
||||
# This case exists only to let depend.m4 do its work. It works by
|
||||
# looking at the text of this script. This case will never be run,
|
||||
# since it is checked for above.
|
||||
exit 1
|
||||
;;
|
||||
|
||||
none)
|
||||
exec "$@"
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "Unknown depmode $depmode" 1>&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
||||
# Local Variables:
|
||||
# mode: shell-script
|
||||
# sh-indentation: 2
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
# time-stamp-start: "scriptversion="
|
||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
# time-stamp-time-zone: "UTC"
|
||||
# time-stamp-end: "; # UTC"
|
||||
# End:
|
||||
2
powertop-v2.10/doc/Makefile.am
Normal file
2
powertop-v2.10/doc/Makefile.am
Normal file
@ -0,0 +1,2 @@
|
||||
man_MANS = powertop.8
|
||||
EXTRA_DIST = powertop.8
|
||||
562
powertop-v2.10/doc/Makefile.in
Normal file
562
powertop-v2.10/doc/Makefile.in
Normal file
@ -0,0 +1,562 @@
|
||||
# Makefile.in generated by automake 1.15 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994-2014 Free Software Foundation, Inc.
|
||||
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
VPATH = @srcdir@
|
||||
am__is_gnu_make = { \
|
||||
if test -z '$(MAKELEVEL)'; then \
|
||||
false; \
|
||||
elif test -n '$(MAKE_HOST)'; then \
|
||||
true; \
|
||||
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
|
||||
true; \
|
||||
else \
|
||||
false; \
|
||||
fi; \
|
||||
}
|
||||
am__make_running_with_option = \
|
||||
case $${target_option-} in \
|
||||
?) ;; \
|
||||
*) echo "am__make_running_with_option: internal error: invalid" \
|
||||
"target option '$${target_option-}' specified" >&2; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
has_opt=no; \
|
||||
sane_makeflags=$$MAKEFLAGS; \
|
||||
if $(am__is_gnu_make); then \
|
||||
sane_makeflags=$$MFLAGS; \
|
||||
else \
|
||||
case $$MAKEFLAGS in \
|
||||
*\\[\ \ ]*) \
|
||||
bs=\\; \
|
||||
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
|
||||
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
|
||||
esac; \
|
||||
fi; \
|
||||
skip_next=no; \
|
||||
strip_trailopt () \
|
||||
{ \
|
||||
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
|
||||
}; \
|
||||
for flg in $$sane_makeflags; do \
|
||||
test $$skip_next = yes && { skip_next=no; continue; }; \
|
||||
case $$flg in \
|
||||
*=*|--*) continue;; \
|
||||
-*I) strip_trailopt 'I'; skip_next=yes;; \
|
||||
-*I?*) strip_trailopt 'I';; \
|
||||
-*O) strip_trailopt 'O'; skip_next=yes;; \
|
||||
-*O?*) strip_trailopt 'O';; \
|
||||
-*l) strip_trailopt 'l'; skip_next=yes;; \
|
||||
-*l?*) strip_trailopt 'l';; \
|
||||
-[dEDm]) skip_next=yes;; \
|
||||
-[JT]) skip_next=yes;; \
|
||||
esac; \
|
||||
case $$flg in \
|
||||
*$$target_option*) has_opt=yes; break;; \
|
||||
esac; \
|
||||
done; \
|
||||
test $$has_opt = yes
|
||||
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
|
||||
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
subdir = doc
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_cxx_compile_stdcxx_11.m4 \
|
||||
$(top_srcdir)/m4/ax_pthread.m4 \
|
||||
$(top_srcdir)/m4/gcc_fortify_source_cc.m4 \
|
||||
$(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/iconv.m4 \
|
||||
$(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/lib-ld.m4 \
|
||||
$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
|
||||
$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
|
||||
$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
|
||||
$(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
|
||||
$(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/po.m4 \
|
||||
$(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
CONFIG_CLEAN_VPATH_FILES =
|
||||
AM_V_P = $(am__v_P_@AM_V@)
|
||||
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
|
||||
am__v_P_0 = false
|
||||
am__v_P_1 = :
|
||||
AM_V_GEN = $(am__v_GEN_@AM_V@)
|
||||
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
|
||||
am__v_GEN_0 = @echo " GEN " $@;
|
||||
am__v_GEN_1 =
|
||||
AM_V_at = $(am__v_at_@AM_V@)
|
||||
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
|
||||
am__v_at_0 = @
|
||||
am__v_at_1 =
|
||||
SOURCES =
|
||||
DIST_SOURCES =
|
||||
am__can_run_installinfo = \
|
||||
case $$AM_UPDATE_INFO_DIR in \
|
||||
n|no|NO) false;; \
|
||||
*) (install-info --version) >/dev/null 2>&1;; \
|
||||
esac
|
||||
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
||||
am__vpath_adj = case $$p in \
|
||||
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
*) f=$$p;; \
|
||||
esac;
|
||||
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
|
||||
am__install_max = 40
|
||||
am__nobase_strip_setup = \
|
||||
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
|
||||
am__nobase_strip = \
|
||||
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
|
||||
am__nobase_list = $(am__nobase_strip_setup); \
|
||||
for p in $$list; do echo "$$p $$p"; done | \
|
||||
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
|
||||
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
|
||||
if (++n[$$2] == $(am__install_max)) \
|
||||
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
|
||||
END { for (dir in files) print dir, files[dir] }'
|
||||
am__base_list = \
|
||||
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
|
||||
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
||||
am__uninstall_files_from_dir = { \
|
||||
test -z "$$files" \
|
||||
|| { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
|
||||
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
|
||||
$(am__cd) "$$dir" && rm -f $$files; }; \
|
||||
}
|
||||
man8dir = $(mandir)/man8
|
||||
am__installdirs = "$(DESTDIR)$(man8dir)"
|
||||
NROFF = nroff
|
||||
MANS = $(man_MANS)
|
||||
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
|
||||
am__DIST_COMMON = $(srcdir)/Makefile.in
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AMTAR = @AMTAR@
|
||||
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||
AR = @AR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
DSYMUTIL = @DSYMUTIL@
|
||||
DUMPBIN = @DUMPBIN@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
FGREP = @FGREP@
|
||||
GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
|
||||
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
|
||||
GMSGFMT = @GMSGFMT@
|
||||
GMSGFMT_015 = @GMSGFMT_015@
|
||||
GREP = @GREP@
|
||||
HAVE_CXX11 = @HAVE_CXX11@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
INTLLIBS = @INTLLIBS@
|
||||
INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
|
||||
LD = @LD@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBICONV = @LIBICONV@
|
||||
LIBINTL = @LIBINTL@
|
||||
LIBNL_CFLAGS = @LIBNL_CFLAGS@
|
||||
LIBNL_LIBS = @LIBNL_LIBS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LIPO = @LIPO@
|
||||
LN_S = @LN_S@
|
||||
LTLIBICONV = @LTLIBICONV@
|
||||
LTLIBINTL = @LTLIBINTL@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
MSGFMT = @MSGFMT@
|
||||
MSGFMT_015 = @MSGFMT_015@
|
||||
MSGMERGE = @MSGMERGE@
|
||||
NCURSES_CFLAGS = @NCURSES_CFLAGS@
|
||||
NCURSES_LIBS = @NCURSES_LIBS@
|
||||
NM = @NM@
|
||||
NMEDIT = @NMEDIT@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
OBJEXT = @OBJEXT@
|
||||
OTOOL = @OTOOL@
|
||||
OTOOL64 = @OTOOL64@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_URL = @PACKAGE_URL@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
PCIUTILS_CFLAGS = @PCIUTILS_CFLAGS@
|
||||
PCIUTILS_LIBS = @PCIUTILS_LIBS@
|
||||
PKG_CONFIG = @PKG_CONFIG@
|
||||
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
|
||||
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
|
||||
POSUB = @POSUB@
|
||||
POW_LIB = @POW_LIB@
|
||||
PTHREAD_CC = @PTHREAD_CC@
|
||||
PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
|
||||
PTHREAD_LIBS = @PTHREAD_LIBS@
|
||||
RANLIB = @RANLIB@
|
||||
SED = @SED@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
XGETTEXT_015 = @XGETTEXT_015@
|
||||
XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_AR = @ac_ct_AR@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_CXX = @ac_ct_CXX@
|
||||
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
ax_pthread_config = @ax_pthread_config@
|
||||
bindir = @bindir@
|
||||
build = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
builddir = @builddir@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
runstatedir = @runstatedir@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
srcdir = @srcdir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
man_MANS = powertop.8
|
||||
EXTRA_DIST = powertop.8
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
||||
&& { if test -f $@; then exit 0; else break; fi; }; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign doc/Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(am__aclocal_m4_deps):
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
install-man8: $(man_MANS)
|
||||
@$(NORMAL_INSTALL)
|
||||
@list1=''; \
|
||||
list2='$(man_MANS)'; \
|
||||
test -n "$(man8dir)" \
|
||||
&& test -n "`echo $$list1$$list2`" \
|
||||
|| exit 0; \
|
||||
echo " $(MKDIR_P) '$(DESTDIR)$(man8dir)'"; \
|
||||
$(MKDIR_P) "$(DESTDIR)$(man8dir)" || exit 1; \
|
||||
{ for i in $$list1; do echo "$$i"; done; \
|
||||
if test -n "$$list2"; then \
|
||||
for i in $$list2; do echo "$$i"; done \
|
||||
| sed -n '/\.8[a-z]*$$/p'; \
|
||||
fi; \
|
||||
} | while read p; do \
|
||||
if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
|
||||
echo "$$d$$p"; echo "$$p"; \
|
||||
done | \
|
||||
sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
|
||||
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
|
||||
sed 'N;N;s,\n, ,g' | { \
|
||||
list=; while read file base inst; do \
|
||||
if test "$$base" = "$$inst"; then list="$$list $$file"; else \
|
||||
echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
|
||||
$(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst" || exit $$?; \
|
||||
fi; \
|
||||
done; \
|
||||
for i in $$list; do echo "$$i"; done | $(am__base_list) | \
|
||||
while read files; do \
|
||||
test -z "$$files" || { \
|
||||
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man8dir)'"; \
|
||||
$(INSTALL_DATA) $$files "$(DESTDIR)$(man8dir)" || exit $$?; }; \
|
||||
done; }
|
||||
|
||||
uninstall-man8:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list=''; test -n "$(man8dir)" || exit 0; \
|
||||
files=`{ for i in $$list; do echo "$$i"; done; \
|
||||
l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
|
||||
sed -n '/\.8[a-z]*$$/p'; \
|
||||
} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
|
||||
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
|
||||
dir='$(DESTDIR)$(man8dir)'; $(am__uninstall_files_from_dir)
|
||||
tags TAGS:
|
||||
|
||||
ctags CTAGS:
|
||||
|
||||
cscope cscopelist:
|
||||
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
list='$(DISTFILES)'; \
|
||||
dist_files=`for file in $$list; do echo $$file; done | \
|
||||
sed -e "s|^$$srcdirstrip/||;t" \
|
||||
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||
case $$dist_files in \
|
||||
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||
sort -u` ;; \
|
||||
esac; \
|
||||
for file in $$dist_files; do \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test -d "$(distdir)/$$file"; then \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
||||
else \
|
||||
test -f "$(distdir)/$$file" \
|
||||
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
all-am: Makefile $(MANS)
|
||||
installdirs:
|
||||
for dir in "$(DESTDIR)$(man8dir)"; do \
|
||||
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
||||
done
|
||||
install: install-am
|
||||
install-exec: install-exec-am
|
||||
install-data: install-data-am
|
||||
uninstall: uninstall-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
install-strip:
|
||||
if test -z '$(STRIP)'; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
install; \
|
||||
else \
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
|
||||
fi
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-generic
|
||||
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-am
|
||||
|
||||
html-am:
|
||||
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am: install-man
|
||||
|
||||
install-dvi: install-dvi-am
|
||||
|
||||
install-dvi-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-html: install-html-am
|
||||
|
||||
install-html-am:
|
||||
|
||||
install-info: install-info-am
|
||||
|
||||
install-info-am:
|
||||
|
||||
install-man: install-man8
|
||||
|
||||
install-pdf: install-pdf-am
|
||||
|
||||
install-pdf-am:
|
||||
|
||||
install-ps: install-ps-am
|
||||
|
||||
install-ps-am:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||
|
||||
pdf: pdf-am
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-am
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-man
|
||||
|
||||
uninstall-man: uninstall-man8
|
||||
|
||||
.MAKE: install-am install-strip
|
||||
|
||||
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
|
||||
cscopelist-am ctags-am distclean distclean-generic \
|
||||
distclean-libtool distdir dvi dvi-am html html-am info info-am \
|
||||
install install-am install-data install-data-am install-dvi \
|
||||
install-dvi-am install-exec install-exec-am install-html \
|
||||
install-html-am install-info install-info-am install-man \
|
||||
install-man8 install-pdf install-pdf-am install-ps \
|
||||
install-ps-am install-strip installcheck installcheck-am \
|
||||
installdirs maintainer-clean maintainer-clean-generic \
|
||||
mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
|
||||
ps ps-am tags-am uninstall uninstall-am uninstall-man \
|
||||
uninstall-man8
|
||||
|
||||
.PRECIOUS: Makefile
|
||||
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
103
powertop-v2.10/doc/powertop.8
Normal file
103
powertop-v2.10/doc/powertop.8
Normal file
@ -0,0 +1,103 @@
|
||||
.TH POWERTOP "8" "2014-08-02" "powertop manual" "System Administration"
|
||||
.SH NAME
|
||||
powertop \- a power consumption and power management diagnosis tool.
|
||||
.SH SYNOPSIS
|
||||
.B powertop
|
||||
.RI [ options ]
|
||||
.SH DESCRIPTION
|
||||
.B powertop
|
||||
is a program that helps to diagnose various issues with power consumption
|
||||
and power management. It also has an interactive mode allowing one to
|
||||
experiment with various power management settings. When invoking
|
||||
powertop without arguments powertop starts in interactive mode.
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.B \-\-auto\-tune
|
||||
Set all tunable options to their good setting without interaction.
|
||||
.TP
|
||||
.BR \-c ", " \-\-calibrate
|
||||
Runs powertop in calibration mode. When running on battery, powertop can
|
||||
track power consumption as well as system activity. When there are
|
||||
enough measurements, powertop can start to report power estimates. One
|
||||
can get more accurate estimates by using this option to enable a
|
||||
calibration cycle. This will cycle through various display levels and
|
||||
USB device activities and workloads.
|
||||
.TP
|
||||
\fB\-C\fR, \fB\-\-csv\fR[=\fIfilename\fR]
|
||||
Generate a CSV report. If a
|
||||
.I filename
|
||||
is not specified then the default name
|
||||
.B powertop.csv
|
||||
is used. The CSV report can be used for reporting and data analysis.
|
||||
.TP
|
||||
.B \-\-debug
|
||||
Run in debug mode.
|
||||
.TP
|
||||
\fB\-\-extech\fR=\fIdevnode\fR
|
||||
Use the Extech Power Analyzer for measurements. This allows one to
|
||||
specify the serial device node of the serial to USB adaptor connecting to
|
||||
the Extech Power Analyzer, for example
|
||||
.IR /dev/ttyUSB0 .
|
||||
.TP
|
||||
\fB\-r\fR, \fB\-\-html\fR[=\fIfilename\fR]
|
||||
Generate an HTML report. If a
|
||||
.I filename
|
||||
is not specified then the default name
|
||||
.B powertop.html
|
||||
is used. The HTML report can be sent to others to help diagnose power
|
||||
issues.
|
||||
.TP
|
||||
\fB\-i\fR, \fB\-\-iteration\fR[=\fIiterations\fR]
|
||||
Number of times to run each test.
|
||||
.TP
|
||||
.BR \-q ", " \-\-quiet
|
||||
Suppress stderr output.
|
||||
.TP
|
||||
\fB\-t\fR, \fB\-\-time\fR[=\fIseconds\fR]
|
||||
Generate a report for a specified number of
|
||||
.IR seconds .
|
||||
.TP
|
||||
\fB\-w\fR, \fB\-\-workload\fR[=\fIworkload\fR]
|
||||
Execute
|
||||
.I workload
|
||||
file as a part of calibration before making a report.
|
||||
.TP
|
||||
.BR \-V ", " \-\-version
|
||||
Print version information and exit.
|
||||
.TP
|
||||
.BR \-h ", " \-\-help
|
||||
Show the help message and exit.
|
||||
.SH COMMANDS
|
||||
In interactive mode, the following key bindings are available:
|
||||
.IP
|
||||
.TS
|
||||
tab(@);
|
||||
l l.
|
||||
\fBTab\fR@Show next tab
|
||||
\fBBackTab\fR@Show previous tab
|
||||
\fBRight Arrow\fR@Scroll to the right
|
||||
\fBLeft Arrow\fR@Scroll to the left
|
||||
\fBUp Arrow\fR, \fBPageUp\fR@Scroll up or select previous item
|
||||
\fBDown Arrow\fR, \fBPageDown\fR@Scroll down or select next item
|
||||
\fBSpace\fR, \fBReturn\fR@Activate current item
|
||||
\fBs\fR@Set refresh timeout
|
||||
\fBr\fR@Refresh window
|
||||
\fBq\fR, \fBCtrl-C\fR, \fBEscape\fR@Exit powertop
|
||||
.TE
|
||||
.SH BUGS
|
||||
Send bug reports to
|
||||
.MT powertop@lists.01.org
|
||||
.ME
|
||||
.SH SEE ALSO
|
||||
The program is more fully described at
|
||||
.UR https://01.org/powertop
|
||||
.UE
|
||||
.SH AUTHOR
|
||||
powertop was written by
|
||||
.MT arjan@\:linux.\:intel.\:com
|
||||
Arjan van de Ven
|
||||
.ME ,
|
||||
and is currently maintained by
|
||||
.MT chris.\:e.\:ferron@\:linux.\:intel.\:com
|
||||
Chris E Ferron
|
||||
.ME .
|
||||
508
powertop-v2.10/install-sh
Executable file
508
powertop-v2.10/install-sh
Executable file
@ -0,0 +1,508 @@
|
||||
#!/bin/sh
|
||||
# install - install a program, script, or datafile
|
||||
|
||||
scriptversion=2014-09-12.12; # UTC
|
||||
|
||||
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
||||
# later released in X11R6 (xc/config/util/install.sh) with the
|
||||
# following copyright and license.
|
||||
#
|
||||
# Copyright (C) 1994 X Consortium
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to
|
||||
# deal in the Software without restriction, including without limitation the
|
||||
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
# sell copies of the Software, and to permit persons to whom the Software is
|
||||
# furnished to do so, subject to the following conditions:
|
||||
#
|
||||
# The above copyright notice and this permission notice shall be included in
|
||||
# all copies or substantial portions of the Software.
|
||||
#
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
||||
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
|
||||
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#
|
||||
# Except as contained in this notice, the name of the X Consortium shall not
|
||||
# be used in advertising or otherwise to promote the sale, use or other deal-
|
||||
# ings in this Software without prior written authorization from the X Consor-
|
||||
# tium.
|
||||
#
|
||||
#
|
||||
# FSF changes to this file are in the public domain.
|
||||
#
|
||||
# Calling this script install-sh is preferred over install.sh, to prevent
|
||||
# 'make' implicit rules from creating a file called install from it
|
||||
# when there is no Makefile.
|
||||
#
|
||||
# This script is compatible with the BSD install script, but was written
|
||||
# from scratch.
|
||||
|
||||
tab=' '
|
||||
nl='
|
||||
'
|
||||
IFS=" $tab$nl"
|
||||
|
||||
# Set DOITPROG to "echo" to test this script.
|
||||
|
||||
doit=${DOITPROG-}
|
||||
doit_exec=${doit:-exec}
|
||||
|
||||
# Put in absolute file names if you don't have them in your path;
|
||||
# or use environment vars.
|
||||
|
||||
chgrpprog=${CHGRPPROG-chgrp}
|
||||
chmodprog=${CHMODPROG-chmod}
|
||||
chownprog=${CHOWNPROG-chown}
|
||||
cmpprog=${CMPPROG-cmp}
|
||||
cpprog=${CPPROG-cp}
|
||||
mkdirprog=${MKDIRPROG-mkdir}
|
||||
mvprog=${MVPROG-mv}
|
||||
rmprog=${RMPROG-rm}
|
||||
stripprog=${STRIPPROG-strip}
|
||||
|
||||
posix_mkdir=
|
||||
|
||||
# Desired mode of installed file.
|
||||
mode=0755
|
||||
|
||||
chgrpcmd=
|
||||
chmodcmd=$chmodprog
|
||||
chowncmd=
|
||||
mvcmd=$mvprog
|
||||
rmcmd="$rmprog -f"
|
||||
stripcmd=
|
||||
|
||||
src=
|
||||
dst=
|
||||
dir_arg=
|
||||
dst_arg=
|
||||
|
||||
copy_on_change=false
|
||||
is_target_a_directory=possibly
|
||||
|
||||
usage="\
|
||||
Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
|
||||
or: $0 [OPTION]... SRCFILES... DIRECTORY
|
||||
or: $0 [OPTION]... -t DIRECTORY SRCFILES...
|
||||
or: $0 [OPTION]... -d DIRECTORIES...
|
||||
|
||||
In the 1st form, copy SRCFILE to DSTFILE.
|
||||
In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
|
||||
In the 4th, create DIRECTORIES.
|
||||
|
||||
Options:
|
||||
--help display this help and exit.
|
||||
--version display version info and exit.
|
||||
|
||||
-c (ignored)
|
||||
-C install only if different (preserve the last data modification time)
|
||||
-d create directories instead of installing files.
|
||||
-g GROUP $chgrpprog installed files to GROUP.
|
||||
-m MODE $chmodprog installed files to MODE.
|
||||
-o USER $chownprog installed files to USER.
|
||||
-s $stripprog installed files.
|
||||
-t DIRECTORY install into DIRECTORY.
|
||||
-T report an error if DSTFILE is a directory.
|
||||
|
||||
Environment variables override the default commands:
|
||||
CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
|
||||
RMPROG STRIPPROG
|
||||
"
|
||||
|
||||
while test $# -ne 0; do
|
||||
case $1 in
|
||||
-c) ;;
|
||||
|
||||
-C) copy_on_change=true;;
|
||||
|
||||
-d) dir_arg=true;;
|
||||
|
||||
-g) chgrpcmd="$chgrpprog $2"
|
||||
shift;;
|
||||
|
||||
--help) echo "$usage"; exit $?;;
|
||||
|
||||
-m) mode=$2
|
||||
case $mode in
|
||||
*' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*)
|
||||
echo "$0: invalid mode: $mode" >&2
|
||||
exit 1;;
|
||||
esac
|
||||
shift;;
|
||||
|
||||
-o) chowncmd="$chownprog $2"
|
||||
shift;;
|
||||
|
||||
-s) stripcmd=$stripprog;;
|
||||
|
||||
-t)
|
||||
is_target_a_directory=always
|
||||
dst_arg=$2
|
||||
# Protect names problematic for 'test' and other utilities.
|
||||
case $dst_arg in
|
||||
-* | [=\(\)!]) dst_arg=./$dst_arg;;
|
||||
esac
|
||||
shift;;
|
||||
|
||||
-T) is_target_a_directory=never;;
|
||||
|
||||
--version) echo "$0 $scriptversion"; exit $?;;
|
||||
|
||||
--) shift
|
||||
break;;
|
||||
|
||||
-*) echo "$0: invalid option: $1" >&2
|
||||
exit 1;;
|
||||
|
||||
*) break;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
# We allow the use of options -d and -T together, by making -d
|
||||
# take the precedence; this is for compatibility with GNU install.
|
||||
|
||||
if test -n "$dir_arg"; then
|
||||
if test -n "$dst_arg"; then
|
||||
echo "$0: target directory not allowed when installing a directory." >&2
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
|
||||
# When -d is used, all remaining arguments are directories to create.
|
||||
# When -t is used, the destination is already specified.
|
||||
# Otherwise, the last argument is the destination. Remove it from $@.
|
||||
for arg
|
||||
do
|
||||
if test -n "$dst_arg"; then
|
||||
# $@ is not empty: it contains at least $arg.
|
||||
set fnord "$@" "$dst_arg"
|
||||
shift # fnord
|
||||
fi
|
||||
shift # arg
|
||||
dst_arg=$arg
|
||||
# Protect names problematic for 'test' and other utilities.
|
||||
case $dst_arg in
|
||||
-* | [=\(\)!]) dst_arg=./$dst_arg;;
|
||||
esac
|
||||
done
|
||||
fi
|
||||
|
||||
if test $# -eq 0; then
|
||||
if test -z "$dir_arg"; then
|
||||
echo "$0: no input file specified." >&2
|
||||
exit 1
|
||||
fi
|
||||
# It's OK to call 'install-sh -d' without argument.
|
||||
# This can happen when creating conditional directories.
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if test -z "$dir_arg"; then
|
||||
if test $# -gt 1 || test "$is_target_a_directory" = always; then
|
||||
if test ! -d "$dst_arg"; then
|
||||
echo "$0: $dst_arg: Is not a directory." >&2
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if test -z "$dir_arg"; then
|
||||
do_exit='(exit $ret); exit $ret'
|
||||
trap "ret=129; $do_exit" 1
|
||||
trap "ret=130; $do_exit" 2
|
||||
trap "ret=141; $do_exit" 13
|
||||
trap "ret=143; $do_exit" 15
|
||||
|
||||
# Set umask so as not to create temps with too-generous modes.
|
||||
# However, 'strip' requires both read and write access to temps.
|
||||
case $mode in
|
||||
# Optimize common cases.
|
||||
*644) cp_umask=133;;
|
||||
*755) cp_umask=22;;
|
||||
|
||||
*[0-7])
|
||||
if test -z "$stripcmd"; then
|
||||
u_plus_rw=
|
||||
else
|
||||
u_plus_rw='% 200'
|
||||
fi
|
||||
cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
|
||||
*)
|
||||
if test -z "$stripcmd"; then
|
||||
u_plus_rw=
|
||||
else
|
||||
u_plus_rw=,u+rw
|
||||
fi
|
||||
cp_umask=$mode$u_plus_rw;;
|
||||
esac
|
||||
fi
|
||||
|
||||
for src
|
||||
do
|
||||
# Protect names problematic for 'test' and other utilities.
|
||||
case $src in
|
||||
-* | [=\(\)!]) src=./$src;;
|
||||
esac
|
||||
|
||||
if test -n "$dir_arg"; then
|
||||
dst=$src
|
||||
dstdir=$dst
|
||||
test -d "$dstdir"
|
||||
dstdir_status=$?
|
||||
else
|
||||
|
||||
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
|
||||
# might cause directories to be created, which would be especially bad
|
||||
# if $src (and thus $dsttmp) contains '*'.
|
||||
if test ! -f "$src" && test ! -d "$src"; then
|
||||
echo "$0: $src does not exist." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if test -z "$dst_arg"; then
|
||||
echo "$0: no destination specified." >&2
|
||||
exit 1
|
||||
fi
|
||||
dst=$dst_arg
|
||||
|
||||
# If destination is a directory, append the input filename; won't work
|
||||
# if double slashes aren't ignored.
|
||||
if test -d "$dst"; then
|
||||
if test "$is_target_a_directory" = never; then
|
||||
echo "$0: $dst_arg: Is a directory" >&2
|
||||
exit 1
|
||||
fi
|
||||
dstdir=$dst
|
||||
dst=$dstdir/`basename "$src"`
|
||||
dstdir_status=0
|
||||
else
|
||||
dstdir=`dirname "$dst"`
|
||||
test -d "$dstdir"
|
||||
dstdir_status=$?
|
||||
fi
|
||||
fi
|
||||
|
||||
obsolete_mkdir_used=false
|
||||
|
||||
if test $dstdir_status != 0; then
|
||||
case $posix_mkdir in
|
||||
'')
|
||||
# Create intermediate dirs using mode 755 as modified by the umask.
|
||||
# This is like FreeBSD 'install' as of 1997-10-28.
|
||||
umask=`umask`
|
||||
case $stripcmd.$umask in
|
||||
# Optimize common cases.
|
||||
*[2367][2367]) mkdir_umask=$umask;;
|
||||
.*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
|
||||
|
||||
*[0-7])
|
||||
mkdir_umask=`expr $umask + 22 \
|
||||
- $umask % 100 % 40 + $umask % 20 \
|
||||
- $umask % 10 % 4 + $umask % 2
|
||||
`;;
|
||||
*) mkdir_umask=$umask,go-w;;
|
||||
esac
|
||||
|
||||
# With -d, create the new directory with the user-specified mode.
|
||||
# Otherwise, rely on $mkdir_umask.
|
||||
if test -n "$dir_arg"; then
|
||||
mkdir_mode=-m$mode
|
||||
else
|
||||
mkdir_mode=
|
||||
fi
|
||||
|
||||
posix_mkdir=false
|
||||
case $umask in
|
||||
*[123567][0-7][0-7])
|
||||
# POSIX mkdir -p sets u+wx bits regardless of umask, which
|
||||
# is incompatible with FreeBSD 'install' when (umask & 300) != 0.
|
||||
;;
|
||||
*)
|
||||
# $RANDOM is not portable (e.g. dash); use it when possible to
|
||||
# lower collision chance
|
||||
tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
|
||||
trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0
|
||||
|
||||
# As "mkdir -p" follows symlinks and we work in /tmp possibly; so
|
||||
# create the $tmpdir first (and fail if unsuccessful) to make sure
|
||||
# that nobody tries to guess the $tmpdir name.
|
||||
if (umask $mkdir_umask &&
|
||||
$mkdirprog $mkdir_mode "$tmpdir" &&
|
||||
exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
|
||||
then
|
||||
if test -z "$dir_arg" || {
|
||||
# Check for POSIX incompatibilities with -m.
|
||||
# HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
|
||||
# other-writable bit of parent directory when it shouldn't.
|
||||
# FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
|
||||
test_tmpdir="$tmpdir/a"
|
||||
ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
|
||||
case $ls_ld_tmpdir in
|
||||
d????-?r-*) different_mode=700;;
|
||||
d????-?--*) different_mode=755;;
|
||||
*) false;;
|
||||
esac &&
|
||||
$mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
|
||||
ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
|
||||
test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
|
||||
}
|
||||
}
|
||||
then posix_mkdir=:
|
||||
fi
|
||||
rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
|
||||
else
|
||||
# Remove any dirs left behind by ancient mkdir implementations.
|
||||
rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
|
||||
fi
|
||||
trap '' 0;;
|
||||
esac;;
|
||||
esac
|
||||
|
||||
if
|
||||
$posix_mkdir && (
|
||||
umask $mkdir_umask &&
|
||||
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
|
||||
)
|
||||
then :
|
||||
else
|
||||
|
||||
# The umask is ridiculous, or mkdir does not conform to POSIX,
|
||||
# or it failed possibly due to a race condition. Create the
|
||||
# directory the slow way, step by step, checking for races as we go.
|
||||
|
||||
case $dstdir in
|
||||
/*) prefix='/';;
|
||||
[-=\(\)!]*) prefix='./';;
|
||||
*) prefix='';;
|
||||
esac
|
||||
|
||||
oIFS=$IFS
|
||||
IFS=/
|
||||
set -f
|
||||
set fnord $dstdir
|
||||
shift
|
||||
set +f
|
||||
IFS=$oIFS
|
||||
|
||||
prefixes=
|
||||
|
||||
for d
|
||||
do
|
||||
test X"$d" = X && continue
|
||||
|
||||
prefix=$prefix$d
|
||||
if test -d "$prefix"; then
|
||||
prefixes=
|
||||
else
|
||||
if $posix_mkdir; then
|
||||
(umask=$mkdir_umask &&
|
||||
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
|
||||
# Don't fail if two instances are running concurrently.
|
||||
test -d "$prefix" || exit 1
|
||||
else
|
||||
case $prefix in
|
||||
*\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
|
||||
*) qprefix=$prefix;;
|
||||
esac
|
||||
prefixes="$prefixes '$qprefix'"
|
||||
fi
|
||||
fi
|
||||
prefix=$prefix/
|
||||
done
|
||||
|
||||
if test -n "$prefixes"; then
|
||||
# Don't fail if two instances are running concurrently.
|
||||
(umask $mkdir_umask &&
|
||||
eval "\$doit_exec \$mkdirprog $prefixes") ||
|
||||
test -d "$dstdir" || exit 1
|
||||
obsolete_mkdir_used=true
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if test -n "$dir_arg"; then
|
||||
{ test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
|
||||
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
|
||||
{ test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
|
||||
test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
|
||||
else
|
||||
|
||||
# Make a couple of temp file names in the proper directory.
|
||||
dsttmp=$dstdir/_inst.$$_
|
||||
rmtmp=$dstdir/_rm.$$_
|
||||
|
||||
# Trap to clean up those temp files at exit.
|
||||
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
|
||||
|
||||
# Copy the file name to the temp name.
|
||||
(umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
|
||||
|
||||
# and set any options; do chmod last to preserve setuid bits.
|
||||
#
|
||||
# If any of these fail, we abort the whole thing. If we want to
|
||||
# ignore errors from any of these, just make sure not to ignore
|
||||
# errors from the above "$doit $cpprog $src $dsttmp" command.
|
||||
#
|
||||
{ test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
|
||||
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
|
||||
{ test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
|
||||
{ test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
|
||||
|
||||
# If -C, don't bother to copy if it wouldn't change the file.
|
||||
if $copy_on_change &&
|
||||
old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
|
||||
new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
|
||||
set -f &&
|
||||
set X $old && old=:$2:$4:$5:$6 &&
|
||||
set X $new && new=:$2:$4:$5:$6 &&
|
||||
set +f &&
|
||||
test "$old" = "$new" &&
|
||||
$cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
|
||||
then
|
||||
rm -f "$dsttmp"
|
||||
else
|
||||
# Rename the file to the real destination.
|
||||
$doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
|
||||
|
||||
# The rename failed, perhaps because mv can't rename something else
|
||||
# to itself, or perhaps because mv is so ancient that it does not
|
||||
# support -f.
|
||||
{
|
||||
# Now remove or move aside any old file at destination location.
|
||||
# We try this two ways since rm can't unlink itself on some
|
||||
# systems and the destination file might be busy for other
|
||||
# reasons. In this case, the final cleanup might fail but the new
|
||||
# file should still install successfully.
|
||||
{
|
||||
test ! -f "$dst" ||
|
||||
$doit $rmcmd -f "$dst" 2>/dev/null ||
|
||||
{ $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
|
||||
{ $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
|
||||
} ||
|
||||
{ echo "$0: cannot unlink or rename $dst" >&2
|
||||
(exit 1); exit 1
|
||||
}
|
||||
} &&
|
||||
|
||||
# Now rename the file to the real destination.
|
||||
$doit $mvcmd "$dsttmp" "$dst"
|
||||
}
|
||||
fi || exit 1
|
||||
|
||||
trap '' 0
|
||||
fi
|
||||
done
|
||||
|
||||
# Local variables:
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
# time-stamp-start: "scriptversion="
|
||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
# time-stamp-time-zone: "UTC"
|
||||
# time-stamp-end: "; # UTC"
|
||||
# End:
|
||||
11156
powertop-v2.10/ltmain.sh
Normal file
11156
powertop-v2.10/ltmain.sh
Normal file
File diff suppressed because it is too large
Load Diff
11
powertop-v2.10/m4/ChangeLog
Normal file
11
powertop-v2.10/m4/ChangeLog
Normal file
@ -0,0 +1,11 @@
|
||||
2016-08-03 gettextize <bug-gnu-gettext@gnu.org>
|
||||
|
||||
* gettext.m4: New file, from gettext-0.18.2.
|
||||
* iconv.m4: New file, from gettext-0.18.2.
|
||||
* lib-ld.m4: New file, from gettext-0.18.2.
|
||||
* lib-link.m4: New file, from gettext-0.18.2.
|
||||
* lib-prefix.m4: New file, from gettext-0.18.2.
|
||||
* nls.m4: New file, from gettext-0.18.2.
|
||||
* po.m4: New file, from gettext-0.18.2.
|
||||
* progtest.m4: New file, from gettext-0.18.2.
|
||||
|
||||
142
powertop-v2.10/m4/ax_cxx_compile_stdcxx_11.m4
Normal file
142
powertop-v2.10/m4/ax_cxx_compile_stdcxx_11.m4
Normal file
@ -0,0 +1,142 @@
|
||||
# ============================================================================
|
||||
# http://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx_11.html
|
||||
# ============================================================================
|
||||
#
|
||||
# SYNOPSIS
|
||||
#
|
||||
# AX_CXX_COMPILE_STDCXX_11([ext|noext],[mandatory|optional])
|
||||
#
|
||||
# DESCRIPTION
|
||||
#
|
||||
# Check for baseline language coverage in the compiler for the C++11
|
||||
# standard; if necessary, add switches to CXXFLAGS to enable support.
|
||||
#
|
||||
# The first argument, if specified, indicates whether you insist on an
|
||||
# extended mode (e.g. -std=gnu++11) or a strict conformance mode (e.g.
|
||||
# -std=c++11). If neither is specified, you get whatever works, with
|
||||
# preference for an extended mode.
|
||||
#
|
||||
# The second argument, if specified 'mandatory' or if left unspecified,
|
||||
# indicates that baseline C++11 support is required and that the macro
|
||||
# should error out if no mode with that support is found. If specified
|
||||
# 'optional', then configuration proceeds regardless, after defining
|
||||
# HAVE_CXX11 if and only if a supporting mode is found.
|
||||
#
|
||||
# LICENSE
|
||||
#
|
||||
# Copyright (c) 2008 Benjamin Kosnik <bkoz@redhat.com>
|
||||
# Copyright (c) 2012 Zack Weinberg <zackw@panix.com>
|
||||
# Copyright (c) 2013 Roy Stogner <roystgnr@ices.utexas.edu>
|
||||
# Copyright (c) 2014 Alexey Sokolov <sokolov@google.com>
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification, are
|
||||
# permitted in any medium without royalty provided the copyright notice
|
||||
# and this notice are preserved. This file is offered as-is, without any
|
||||
# warranty.
|
||||
|
||||
#serial 4
|
||||
|
||||
m4_define([_AX_CXX_COMPILE_STDCXX_11_testbody], [[
|
||||
template <typename T>
|
||||
struct check
|
||||
{
|
||||
static_assert(sizeof(int) <= sizeof(T), "not big enough");
|
||||
};
|
||||
|
||||
struct Base {
|
||||
virtual void f() {}
|
||||
};
|
||||
struct Child : public Base {
|
||||
virtual void f() override {}
|
||||
};
|
||||
|
||||
typedef check<check<bool>> right_angle_brackets;
|
||||
|
||||
int a;
|
||||
decltype(a) b;
|
||||
|
||||
typedef check<int> check_type;
|
||||
check_type c;
|
||||
check_type&& cr = static_cast<check_type&&>(c);
|
||||
|
||||
auto d = a;
|
||||
auto l = [](){};
|
||||
]])
|
||||
|
||||
AC_DEFUN([AX_CXX_COMPILE_STDCXX_11], [dnl
|
||||
m4_if([$1], [], [],
|
||||
[$1], [ext], [],
|
||||
[$1], [noext], [],
|
||||
[m4_fatal([invalid argument `$1' to AX_CXX_COMPILE_STDCXX_11])])dnl
|
||||
m4_if([$2], [], [ax_cxx_compile_cxx11_required=true],
|
||||
[$2], [mandatory], [ax_cxx_compile_cxx11_required=true],
|
||||
[$2], [optional], [ax_cxx_compile_cxx11_required=false],
|
||||
[m4_fatal([invalid second argument `$2' to AX_CXX_COMPILE_STDCXX_11])])
|
||||
AC_LANG_PUSH([C++])dnl
|
||||
ac_success=no
|
||||
AC_CACHE_CHECK(whether $CXX supports C++11 features by default,
|
||||
ax_cv_cxx_compile_cxx11,
|
||||
[AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_11_testbody])],
|
||||
[ax_cv_cxx_compile_cxx11=yes],
|
||||
[ax_cv_cxx_compile_cxx11=no])])
|
||||
if test x$ax_cv_cxx_compile_cxx11 = xyes; then
|
||||
ac_success=yes
|
||||
fi
|
||||
|
||||
m4_if([$1], [noext], [], [dnl
|
||||
if test x$ac_success = xno; then
|
||||
for switch in -std=gnu++11 -std=gnu++0x; do
|
||||
cachevar=AS_TR_SH([ax_cv_cxx_compile_cxx11_$switch])
|
||||
AC_CACHE_CHECK(whether $CXX supports C++11 features with $switch,
|
||||
$cachevar,
|
||||
[ac_save_CXXFLAGS="$CXXFLAGS"
|
||||
CXXFLAGS="$CXXFLAGS $switch"
|
||||
AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_11_testbody])],
|
||||
[eval $cachevar=yes],
|
||||
[eval $cachevar=no])
|
||||
CXXFLAGS="$ac_save_CXXFLAGS"])
|
||||
if eval test x\$$cachevar = xyes; then
|
||||
CXXFLAGS="$CXXFLAGS $switch"
|
||||
ac_success=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi])
|
||||
|
||||
m4_if([$1], [ext], [], [dnl
|
||||
if test x$ac_success = xno; then
|
||||
for switch in -std=c++11 -std=c++0x; do
|
||||
cachevar=AS_TR_SH([ax_cv_cxx_compile_cxx11_$switch])
|
||||
AC_CACHE_CHECK(whether $CXX supports C++11 features with $switch,
|
||||
$cachevar,
|
||||
[ac_save_CXXFLAGS="$CXXFLAGS"
|
||||
CXXFLAGS="$CXXFLAGS $switch"
|
||||
AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_11_testbody])],
|
||||
[eval $cachevar=yes],
|
||||
[eval $cachevar=no])
|
||||
CXXFLAGS="$ac_save_CXXFLAGS"])
|
||||
if eval test x\$$cachevar = xyes; then
|
||||
CXXFLAGS="$CXXFLAGS $switch"
|
||||
ac_success=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi])
|
||||
AC_LANG_POP([C++])
|
||||
if test x$ax_cxx_compile_cxx11_required = xtrue; then
|
||||
if test x$ac_success = xno; then
|
||||
AC_MSG_ERROR([*** A compiler with support for C++11 language features is required.])
|
||||
fi
|
||||
else
|
||||
if test x$ac_success = xno; then
|
||||
HAVE_CXX11=0
|
||||
AC_MSG_NOTICE([No compiler with C++11 support was found])
|
||||
else
|
||||
HAVE_CXX11=1
|
||||
AC_DEFINE(HAVE_CXX11,1,
|
||||
[define if the compiler supports basic C++11 syntax])
|
||||
fi
|
||||
|
||||
AC_SUBST(HAVE_CXX11)
|
||||
fi
|
||||
])
|
||||
332
powertop-v2.10/m4/ax_pthread.m4
Normal file
332
powertop-v2.10/m4/ax_pthread.m4
Normal file
@ -0,0 +1,332 @@
|
||||
# ===========================================================================
|
||||
# http://www.gnu.org/software/autoconf-archive/ax_pthread.html
|
||||
# ===========================================================================
|
||||
#
|
||||
# SYNOPSIS
|
||||
#
|
||||
# AX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
|
||||
#
|
||||
# DESCRIPTION
|
||||
#
|
||||
# This macro figures out how to build C programs using POSIX threads. It
|
||||
# sets the PTHREAD_LIBS output variable to the threads library and linker
|
||||
# flags, and the PTHREAD_CFLAGS output variable to any special C compiler
|
||||
# flags that are needed. (The user can also force certain compiler
|
||||
# flags/libs to be tested by setting these environment variables.)
|
||||
#
|
||||
# Also sets PTHREAD_CC to any special C compiler that is needed for
|
||||
# multi-threaded programs (defaults to the value of CC otherwise). (This
|
||||
# is necessary on AIX to use the special cc_r compiler alias.)
|
||||
#
|
||||
# NOTE: You are assumed to not only compile your program with these flags,
|
||||
# but also link it with them as well. e.g. you should link with
|
||||
# $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS
|
||||
#
|
||||
# If you are only building threads programs, you may wish to use these
|
||||
# variables in your default LIBS, CFLAGS, and CC:
|
||||
#
|
||||
# LIBS="$PTHREAD_LIBS $LIBS"
|
||||
# CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
|
||||
# CC="$PTHREAD_CC"
|
||||
#
|
||||
# In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant
|
||||
# has a nonstandard name, defines PTHREAD_CREATE_JOINABLE to that name
|
||||
# (e.g. PTHREAD_CREATE_UNDETACHED on AIX).
|
||||
#
|
||||
# Also HAVE_PTHREAD_PRIO_INHERIT is defined if pthread is found and the
|
||||
# PTHREAD_PRIO_INHERIT symbol is defined when compiling with
|
||||
# PTHREAD_CFLAGS.
|
||||
#
|
||||
# ACTION-IF-FOUND is a list of shell commands to run if a threads library
|
||||
# is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it
|
||||
# is not found. If ACTION-IF-FOUND is not specified, the default action
|
||||
# will define HAVE_PTHREAD.
|
||||
#
|
||||
# Please let the authors know if this macro fails on any platform, or if
|
||||
# you have any other suggestions or comments. This macro was based on work
|
||||
# by SGJ on autoconf scripts for FFTW (http://www.fftw.org/) (with help
|
||||
# from M. Frigo), as well as ac_pthread and hb_pthread macros posted by
|
||||
# Alejandro Forero Cuervo to the autoconf macro repository. We are also
|
||||
# grateful for the helpful feedback of numerous users.
|
||||
#
|
||||
# Updated for Autoconf 2.68 by Daniel Richard G.
|
||||
#
|
||||
# LICENSE
|
||||
#
|
||||
# Copyright (c) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
|
||||
# Copyright (c) 2011 Daniel Richard G. <skunk@iSKUNK.ORG>
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by the
|
||||
# Free Software Foundation, either version 3 of the License, or (at your
|
||||
# option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
# Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along
|
||||
# with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# As a special exception, the respective Autoconf Macro's copyright owner
|
||||
# gives unlimited permission to copy, distribute and modify the configure
|
||||
# scripts that are the output of Autoconf when processing the Macro. You
|
||||
# need not follow the terms of the GNU General Public License when using
|
||||
# or distributing such scripts, even though portions of the text of the
|
||||
# Macro appear in them. The GNU General Public License (GPL) does govern
|
||||
# all other use of the material that constitutes the Autoconf Macro.
|
||||
#
|
||||
# This special exception to the GPL applies to versions of the Autoconf
|
||||
# Macro released by the Autoconf Archive. When you make and distribute a
|
||||
# modified version of the Autoconf Macro, you may extend this special
|
||||
# exception to the GPL to apply to your modified version as well.
|
||||
|
||||
#serial 21
|
||||
|
||||
AU_ALIAS([ACX_PTHREAD], [AX_PTHREAD])
|
||||
AC_DEFUN([AX_PTHREAD], [
|
||||
AC_REQUIRE([AC_CANONICAL_HOST])
|
||||
AC_LANG_PUSH([C])
|
||||
ax_pthread_ok=no
|
||||
|
||||
# We used to check for pthread.h first, but this fails if pthread.h
|
||||
# requires special compiler flags (e.g. on True64 or Sequent).
|
||||
# It gets checked for in the link test anyway.
|
||||
|
||||
# First of all, check if the user has set any of the PTHREAD_LIBS,
|
||||
# etcetera environment variables, and if threads linking works using
|
||||
# them:
|
||||
if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
|
||||
save_CFLAGS="$CFLAGS"
|
||||
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
|
||||
save_LIBS="$LIBS"
|
||||
LIBS="$PTHREAD_LIBS $LIBS"
|
||||
AC_MSG_CHECKING([for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS])
|
||||
AC_TRY_LINK_FUNC([pthread_join], [ax_pthread_ok=yes])
|
||||
AC_MSG_RESULT([$ax_pthread_ok])
|
||||
if test x"$ax_pthread_ok" = xno; then
|
||||
PTHREAD_LIBS=""
|
||||
PTHREAD_CFLAGS=""
|
||||
fi
|
||||
LIBS="$save_LIBS"
|
||||
CFLAGS="$save_CFLAGS"
|
||||
fi
|
||||
|
||||
# We must check for the threads library under a number of different
|
||||
# names; the ordering is very important because some systems
|
||||
# (e.g. DEC) have both -lpthread and -lpthreads, where one of the
|
||||
# libraries is broken (non-POSIX).
|
||||
|
||||
# Create a list of thread flags to try. Items starting with a "-" are
|
||||
# C compiler flags, and other items are library names, except for "none"
|
||||
# which indicates that we try without any flags at all, and "pthread-config"
|
||||
# which is a program returning the flags for the Pth emulation library.
|
||||
|
||||
ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
|
||||
|
||||
# The ordering *is* (sometimes) important. Some notes on the
|
||||
# individual items follow:
|
||||
|
||||
# pthreads: AIX (must check this before -lpthread)
|
||||
# none: in case threads are in libc; should be tried before -Kthread and
|
||||
# other compiler flags to prevent continual compiler warnings
|
||||
# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
|
||||
# -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
|
||||
# lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
|
||||
# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
|
||||
# -pthreads: Solaris/gcc
|
||||
# -mthreads: Mingw32/gcc, Lynx/gcc
|
||||
# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
|
||||
# doesn't hurt to check since this sometimes defines pthreads too;
|
||||
# also defines -D_REENTRANT)
|
||||
# ... -mt is also the pthreads flag for HP/aCC
|
||||
# pthread: Linux, etcetera
|
||||
# --thread-safe: KAI C++
|
||||
# pthread-config: use pthread-config program (for GNU Pth library)
|
||||
|
||||
case ${host_os} in
|
||||
solaris*)
|
||||
|
||||
# On Solaris (at least, for some versions), libc contains stubbed
|
||||
# (non-functional) versions of the pthreads routines, so link-based
|
||||
# tests will erroneously succeed. (We need to link with -pthreads/-mt/
|
||||
# -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
|
||||
# a function called by this macro, so we could check for that, but
|
||||
# who knows whether they'll stub that too in a future libc.) So,
|
||||
# we'll just look for -pthreads and -lpthread first:
|
||||
|
||||
ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
|
||||
;;
|
||||
|
||||
darwin*)
|
||||
ax_pthread_flags="-pthread $ax_pthread_flags"
|
||||
;;
|
||||
esac
|
||||
|
||||
# Clang doesn't consider unrecognized options an error unless we specify
|
||||
# -Werror. We throw in some extra Clang-specific options to ensure that
|
||||
# this doesn't happen for GCC, which also accepts -Werror.
|
||||
|
||||
AC_MSG_CHECKING([if compiler needs -Werror to reject unknown flags])
|
||||
save_CFLAGS="$CFLAGS"
|
||||
ax_pthread_extra_flags="-Werror"
|
||||
CFLAGS="$CFLAGS $ax_pthread_extra_flags -Wunknown-warning-option -Wsizeof-array-argument"
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([int foo(void);],[foo()])],
|
||||
[AC_MSG_RESULT([yes])],
|
||||
[ax_pthread_extra_flags=
|
||||
AC_MSG_RESULT([no])])
|
||||
CFLAGS="$save_CFLAGS"
|
||||
|
||||
if test x"$ax_pthread_ok" = xno; then
|
||||
for flag in $ax_pthread_flags; do
|
||||
|
||||
case $flag in
|
||||
none)
|
||||
AC_MSG_CHECKING([whether pthreads work without any flags])
|
||||
;;
|
||||
|
||||
-*)
|
||||
AC_MSG_CHECKING([whether pthreads work with $flag])
|
||||
PTHREAD_CFLAGS="$flag"
|
||||
;;
|
||||
|
||||
pthread-config)
|
||||
AC_CHECK_PROG([ax_pthread_config], [pthread-config], [yes], [no])
|
||||
if test x"$ax_pthread_config" = xno; then continue; fi
|
||||
PTHREAD_CFLAGS="`pthread-config --cflags`"
|
||||
PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
|
||||
;;
|
||||
|
||||
*)
|
||||
AC_MSG_CHECKING([for the pthreads library -l$flag])
|
||||
PTHREAD_LIBS="-l$flag"
|
||||
;;
|
||||
esac
|
||||
|
||||
save_LIBS="$LIBS"
|
||||
save_CFLAGS="$CFLAGS"
|
||||
LIBS="$PTHREAD_LIBS $LIBS"
|
||||
CFLAGS="$CFLAGS $PTHREAD_CFLAGS $ax_pthread_extra_flags"
|
||||
|
||||
# Check for various functions. We must include pthread.h,
|
||||
# since some functions may be macros. (On the Sequent, we
|
||||
# need a special flag -Kthread to make this header compile.)
|
||||
# We check for pthread_join because it is in -lpthread on IRIX
|
||||
# while pthread_create is in libc. We check for pthread_attr_init
|
||||
# due to DEC craziness with -lpthreads. We check for
|
||||
# pthread_cleanup_push because it is one of the few pthread
|
||||
# functions on Solaris that doesn't have a non-functional libc stub.
|
||||
# We try pthread_create on general principles.
|
||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <pthread.h>
|
||||
static void routine(void *a) { a = 0; }
|
||||
static void *start_routine(void *a) { return a; }],
|
||||
[pthread_t th; pthread_attr_t attr;
|
||||
pthread_create(&th, 0, start_routine, 0);
|
||||
pthread_join(th, 0);
|
||||
pthread_attr_init(&attr);
|
||||
pthread_cleanup_push(routine, 0);
|
||||
pthread_cleanup_pop(0) /* ; */])],
|
||||
[ax_pthread_ok=yes],
|
||||
[])
|
||||
|
||||
LIBS="$save_LIBS"
|
||||
CFLAGS="$save_CFLAGS"
|
||||
|
||||
AC_MSG_RESULT([$ax_pthread_ok])
|
||||
if test "x$ax_pthread_ok" = xyes; then
|
||||
break;
|
||||
fi
|
||||
|
||||
PTHREAD_LIBS=""
|
||||
PTHREAD_CFLAGS=""
|
||||
done
|
||||
fi
|
||||
|
||||
# Various other checks:
|
||||
if test "x$ax_pthread_ok" = xyes; then
|
||||
save_LIBS="$LIBS"
|
||||
LIBS="$PTHREAD_LIBS $LIBS"
|
||||
save_CFLAGS="$CFLAGS"
|
||||
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
|
||||
|
||||
# Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
|
||||
AC_MSG_CHECKING([for joinable pthread attribute])
|
||||
attr_name=unknown
|
||||
for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
|
||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <pthread.h>],
|
||||
[int attr = $attr; return attr /* ; */])],
|
||||
[attr_name=$attr; break],
|
||||
[])
|
||||
done
|
||||
AC_MSG_RESULT([$attr_name])
|
||||
if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
|
||||
AC_DEFINE_UNQUOTED([PTHREAD_CREATE_JOINABLE], [$attr_name],
|
||||
[Define to necessary symbol if this constant
|
||||
uses a non-standard name on your system.])
|
||||
fi
|
||||
|
||||
AC_MSG_CHECKING([if more special flags are required for pthreads])
|
||||
flag=no
|
||||
case ${host_os} in
|
||||
aix* | freebsd* | darwin*) flag="-D_THREAD_SAFE";;
|
||||
osf* | hpux*) flag="-D_REENTRANT";;
|
||||
solaris*)
|
||||
if test "$GCC" = "yes"; then
|
||||
flag="-D_REENTRANT"
|
||||
else
|
||||
# TODO: What about Clang on Solaris?
|
||||
flag="-mt -D_REENTRANT"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
AC_MSG_RESULT([$flag])
|
||||
if test "x$flag" != xno; then
|
||||
PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
|
||||
fi
|
||||
|
||||
AC_CACHE_CHECK([for PTHREAD_PRIO_INHERIT],
|
||||
[ax_cv_PTHREAD_PRIO_INHERIT], [
|
||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <pthread.h>]],
|
||||
[[int i = PTHREAD_PRIO_INHERIT;]])],
|
||||
[ax_cv_PTHREAD_PRIO_INHERIT=yes],
|
||||
[ax_cv_PTHREAD_PRIO_INHERIT=no])
|
||||
])
|
||||
AS_IF([test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"],
|
||||
[AC_DEFINE([HAVE_PTHREAD_PRIO_INHERIT], [1], [Have PTHREAD_PRIO_INHERIT.])])
|
||||
|
||||
LIBS="$save_LIBS"
|
||||
CFLAGS="$save_CFLAGS"
|
||||
|
||||
# More AIX lossage: compile with *_r variant
|
||||
if test "x$GCC" != xyes; then
|
||||
case $host_os in
|
||||
aix*)
|
||||
AS_CASE(["x/$CC"],
|
||||
[x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6],
|
||||
[#handle absolute path differently from PATH based program lookup
|
||||
AS_CASE(["x$CC"],
|
||||
[x/*],
|
||||
[AS_IF([AS_EXECUTABLE_P([${CC}_r])],[PTHREAD_CC="${CC}_r"])],
|
||||
[AC_CHECK_PROGS([PTHREAD_CC],[${CC}_r],[$CC])])])
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
|
||||
test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
|
||||
|
||||
AC_SUBST([PTHREAD_LIBS])
|
||||
AC_SUBST([PTHREAD_CFLAGS])
|
||||
AC_SUBST([PTHREAD_CC])
|
||||
|
||||
# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
|
||||
if test x"$ax_pthread_ok" = xyes; then
|
||||
ifelse([$1],,[AC_DEFINE([HAVE_PTHREAD],[1],[Define if you have POSIX threads libraries and header files.])],[$1])
|
||||
:
|
||||
else
|
||||
ax_pthread_ok=no
|
||||
$2
|
||||
fi
|
||||
AC_LANG_POP
|
||||
])dnl AX_PTHREAD
|
||||
29
powertop-v2.10/m4/gcc_fortify_source_cc.m4
Normal file
29
powertop-v2.10/m4/gcc_fortify_source_cc.m4
Normal file
@ -0,0 +1,29 @@
|
||||
dnl GCC_FORTIFY_SOURCE_CC
|
||||
dnl checks -D_FORTIFY_SOURCE with the C++ compiler, if it exists then
|
||||
dnl updates CXXCPP
|
||||
AC_DEFUN([GCC_FORTIFY_SOURCE_CC],[
|
||||
AC_LANG_ASSERT([C++])
|
||||
AS_IF([test "X$CXX" != "X"], [
|
||||
AC_MSG_CHECKING([for FORTIFY_SOURCE support])
|
||||
fs_old_cxxcpp="$CXXCPP"
|
||||
fs_old_cxxflags="$CXXFLAGS"
|
||||
CXXCPP="$CXXCPP -D_FORTIFY_SOURCE=2"
|
||||
CXXFLAGS="$CXXFLAGS -Werror"
|
||||
AC_COMPILE_IFELSE([
|
||||
AC_LANG_PROGRAM([[]], [[
|
||||
int main(void) {
|
||||
#if !(__GNUC_PREREQ (4, 1) )
|
||||
#error No FORTIFY_SOURCE support
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
]], [
|
||||
AC_MSG_RESULT([yes])
|
||||
], [
|
||||
AC_MSG_RESULT([no])
|
||||
CXXCPP="$fs_old_cxxcpp"
|
||||
])
|
||||
])
|
||||
CXXFLAGS="$fs_old_cxxflags"
|
||||
])
|
||||
])
|
||||
401
powertop-v2.10/m4/gettext.m4
Normal file
401
powertop-v2.10/m4/gettext.m4
Normal file
@ -0,0 +1,401 @@
|
||||
# gettext.m4 serial 66 (gettext-0.18.2)
|
||||
dnl Copyright (C) 1995-2013 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
dnl with or without modifications, as long as this notice is preserved.
|
||||
dnl
|
||||
dnl This file can can be used in projects which are not available under
|
||||
dnl the GNU General Public License or the GNU Library General Public
|
||||
dnl License but which still want to provide support for the GNU gettext
|
||||
dnl functionality.
|
||||
dnl Please note that the actual code of the GNU gettext library is covered
|
||||
dnl by the GNU Library General Public License, and the rest of the GNU
|
||||
dnl gettext package package is covered by the GNU General Public License.
|
||||
dnl They are *not* in the public domain.
|
||||
|
||||
dnl Authors:
|
||||
dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
|
||||
dnl Bruno Haible <haible@clisp.cons.org>, 2000-2006, 2008-2010.
|
||||
|
||||
dnl Macro to add for using GNU gettext.
|
||||
|
||||
dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]).
|
||||
dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The
|
||||
dnl default (if it is not specified or empty) is 'no-libtool'.
|
||||
dnl INTLSYMBOL should be 'external' for packages with no intl directory,
|
||||
dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory.
|
||||
dnl If INTLSYMBOL is 'use-libtool', then a libtool library
|
||||
dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static,
|
||||
dnl depending on --{enable,disable}-{shared,static} and on the presence of
|
||||
dnl AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library
|
||||
dnl $(top_builddir)/intl/libintl.a will be created.
|
||||
dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext
|
||||
dnl implementations (in libc or libintl) without the ngettext() function
|
||||
dnl will be ignored. If NEEDSYMBOL is specified and is
|
||||
dnl 'need-formatstring-macros', then GNU gettext implementations that don't
|
||||
dnl support the ISO C 99 <inttypes.h> formatstring macros will be ignored.
|
||||
dnl INTLDIR is used to find the intl libraries. If empty,
|
||||
dnl the value '$(top_builddir)/intl/' is used.
|
||||
dnl
|
||||
dnl The result of the configuration is one of three cases:
|
||||
dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled
|
||||
dnl and used.
|
||||
dnl Catalog format: GNU --> install in $(datadir)
|
||||
dnl Catalog extension: .mo after installation, .gmo in source tree
|
||||
dnl 2) GNU gettext has been found in the system's C library.
|
||||
dnl Catalog format: GNU --> install in $(datadir)
|
||||
dnl Catalog extension: .mo after installation, .gmo in source tree
|
||||
dnl 3) No internationalization, always use English msgid.
|
||||
dnl Catalog format: none
|
||||
dnl Catalog extension: none
|
||||
dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur.
|
||||
dnl The use of .gmo is historical (it was needed to avoid overwriting the
|
||||
dnl GNU format catalogs when building on a platform with an X/Open gettext),
|
||||
dnl but we keep it in order not to force irrelevant filename changes on the
|
||||
dnl maintainers.
|
||||
dnl
|
||||
AC_DEFUN([AM_GNU_GETTEXT],
|
||||
[
|
||||
dnl Argument checking.
|
||||
ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], ,
|
||||
[errprint([ERROR: invalid first argument to AM_GNU_GETTEXT
|
||||
])])])])])
|
||||
ifelse(ifelse([$1], [], [old])[]ifelse([$1], [no-libtool], [old]), [old],
|
||||
[AC_DIAGNOSE([obsolete], [Use of AM_GNU_GETTEXT without [external] argument is deprecated.])])
|
||||
ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], ,
|
||||
[errprint([ERROR: invalid second argument to AM_GNU_GETTEXT
|
||||
])])])])
|
||||
define([gt_included_intl],
|
||||
ifelse([$1], [external],
|
||||
ifdef([AM_GNU_GETTEXT_][INTL_SUBDIR], [yes], [no]),
|
||||
[yes]))
|
||||
define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], []))
|
||||
gt_NEEDS_INIT
|
||||
AM_GNU_GETTEXT_NEED([$2])
|
||||
|
||||
AC_REQUIRE([AM_PO_SUBDIRS])dnl
|
||||
ifelse(gt_included_intl, yes, [
|
||||
AC_REQUIRE([AM_INTL_SUBDIR])dnl
|
||||
])
|
||||
|
||||
dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
|
||||
AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
|
||||
AC_REQUIRE([AC_LIB_RPATH])
|
||||
|
||||
dnl Sometimes libintl requires libiconv, so first search for libiconv.
|
||||
dnl Ideally we would do this search only after the
|
||||
dnl if test "$USE_NLS" = "yes"; then
|
||||
dnl if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
|
||||
dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT
|
||||
dnl the configure script would need to contain the same shell code
|
||||
dnl again, outside any 'if'. There are two solutions:
|
||||
dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
|
||||
dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE.
|
||||
dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not
|
||||
dnl documented, we avoid it.
|
||||
ifelse(gt_included_intl, yes, , [
|
||||
AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
|
||||
])
|
||||
|
||||
dnl Sometimes, on Mac OS X, libintl requires linking with CoreFoundation.
|
||||
gt_INTL_MACOSX
|
||||
|
||||
dnl Set USE_NLS.
|
||||
AC_REQUIRE([AM_NLS])
|
||||
|
||||
ifelse(gt_included_intl, yes, [
|
||||
BUILD_INCLUDED_LIBINTL=no
|
||||
USE_INCLUDED_LIBINTL=no
|
||||
])
|
||||
LIBINTL=
|
||||
LTLIBINTL=
|
||||
POSUB=
|
||||
|
||||
dnl Add a version number to the cache macros.
|
||||
case " $gt_needs " in
|
||||
*" need-formatstring-macros "*) gt_api_version=3 ;;
|
||||
*" need-ngettext "*) gt_api_version=2 ;;
|
||||
*) gt_api_version=1 ;;
|
||||
esac
|
||||
gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
|
||||
gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
|
||||
|
||||
dnl If we use NLS figure out what method
|
||||
if test "$USE_NLS" = "yes"; then
|
||||
gt_use_preinstalled_gnugettext=no
|
||||
ifelse(gt_included_intl, yes, [
|
||||
AC_MSG_CHECKING([whether included gettext is requested])
|
||||
AC_ARG_WITH([included-gettext],
|
||||
[ --with-included-gettext use the GNU gettext library included here],
|
||||
nls_cv_force_use_gnu_gettext=$withval,
|
||||
nls_cv_force_use_gnu_gettext=no)
|
||||
AC_MSG_RESULT([$nls_cv_force_use_gnu_gettext])
|
||||
|
||||
nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
|
||||
if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
|
||||
])
|
||||
dnl User does not insist on using GNU NLS library. Figure out what
|
||||
dnl to use. If GNU gettext is available we use this. Else we have
|
||||
dnl to fall back to GNU NLS library.
|
||||
|
||||
if test $gt_api_version -ge 3; then
|
||||
gt_revision_test_code='
|
||||
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
|
||||
#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
|
||||
#endif
|
||||
changequote(,)dnl
|
||||
typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
|
||||
changequote([,])dnl
|
||||
'
|
||||
else
|
||||
gt_revision_test_code=
|
||||
fi
|
||||
if test $gt_api_version -ge 2; then
|
||||
gt_expression_test_code=' + * ngettext ("", "", 0)'
|
||||
else
|
||||
gt_expression_test_code=
|
||||
fi
|
||||
|
||||
AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc],
|
||||
[AC_LINK_IFELSE(
|
||||
[AC_LANG_PROGRAM(
|
||||
[[
|
||||
#include <libintl.h>
|
||||
$gt_revision_test_code
|
||||
extern int _nl_msg_cat_cntr;
|
||||
extern int *_nl_domain_bindings;
|
||||
]],
|
||||
[[
|
||||
bindtextdomain ("", "");
|
||||
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
|
||||
]])],
|
||||
[eval "$gt_func_gnugettext_libc=yes"],
|
||||
[eval "$gt_func_gnugettext_libc=no"])])
|
||||
|
||||
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
|
||||
dnl Sometimes libintl requires libiconv, so first search for libiconv.
|
||||
ifelse(gt_included_intl, yes, , [
|
||||
AM_ICONV_LINK
|
||||
])
|
||||
dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL
|
||||
dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv])
|
||||
dnl because that would add "-liconv" to LIBINTL and LTLIBINTL
|
||||
dnl even if libiconv doesn't exist.
|
||||
AC_LIB_LINKFLAGS_BODY([intl])
|
||||
AC_CACHE_CHECK([for GNU gettext in libintl],
|
||||
[$gt_func_gnugettext_libintl],
|
||||
[gt_save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="$CPPFLAGS $INCINTL"
|
||||
gt_save_LIBS="$LIBS"
|
||||
LIBS="$LIBS $LIBINTL"
|
||||
dnl Now see whether libintl exists and does not depend on libiconv.
|
||||
AC_LINK_IFELSE(
|
||||
[AC_LANG_PROGRAM(
|
||||
[[
|
||||
#include <libintl.h>
|
||||
$gt_revision_test_code
|
||||
extern int _nl_msg_cat_cntr;
|
||||
extern
|
||||
#ifdef __cplusplus
|
||||
"C"
|
||||
#endif
|
||||
const char *_nl_expand_alias (const char *);
|
||||
]],
|
||||
[[
|
||||
bindtextdomain ("", "");
|
||||
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
|
||||
]])],
|
||||
[eval "$gt_func_gnugettext_libintl=yes"],
|
||||
[eval "$gt_func_gnugettext_libintl=no"])
|
||||
dnl Now see whether libintl exists and depends on libiconv.
|
||||
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
|
||||
LIBS="$LIBS $LIBICONV"
|
||||
AC_LINK_IFELSE(
|
||||
[AC_LANG_PROGRAM(
|
||||
[[
|
||||
#include <libintl.h>
|
||||
$gt_revision_test_code
|
||||
extern int _nl_msg_cat_cntr;
|
||||
extern
|
||||
#ifdef __cplusplus
|
||||
"C"
|
||||
#endif
|
||||
const char *_nl_expand_alias (const char *);
|
||||
]],
|
||||
[[
|
||||
bindtextdomain ("", "");
|
||||
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
|
||||
]])],
|
||||
[LIBINTL="$LIBINTL $LIBICONV"
|
||||
LTLIBINTL="$LTLIBINTL $LTLIBICONV"
|
||||
eval "$gt_func_gnugettext_libintl=yes"
|
||||
])
|
||||
fi
|
||||
CPPFLAGS="$gt_save_CPPFLAGS"
|
||||
LIBS="$gt_save_LIBS"])
|
||||
fi
|
||||
|
||||
dnl If an already present or preinstalled GNU gettext() is found,
|
||||
dnl use it. But if this macro is used in GNU gettext, and GNU
|
||||
dnl gettext is already preinstalled in libintl, we update this
|
||||
dnl libintl. (Cf. the install rule in intl/Makefile.in.)
|
||||
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
|
||||
|| { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
|
||||
&& test "$PACKAGE" != gettext-runtime \
|
||||
&& test "$PACKAGE" != gettext-tools; }; then
|
||||
gt_use_preinstalled_gnugettext=yes
|
||||
else
|
||||
dnl Reset the values set by searching for libintl.
|
||||
LIBINTL=
|
||||
LTLIBINTL=
|
||||
INCINTL=
|
||||
fi
|
||||
|
||||
ifelse(gt_included_intl, yes, [
|
||||
if test "$gt_use_preinstalled_gnugettext" != "yes"; then
|
||||
dnl GNU gettext is not found in the C library.
|
||||
dnl Fall back on included GNU gettext library.
|
||||
nls_cv_use_gnu_gettext=yes
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "$nls_cv_use_gnu_gettext" = "yes"; then
|
||||
dnl Mark actions used to generate GNU NLS library.
|
||||
BUILD_INCLUDED_LIBINTL=yes
|
||||
USE_INCLUDED_LIBINTL=yes
|
||||
LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV $LIBTHREAD"
|
||||
LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV $LTLIBTHREAD"
|
||||
LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
|
||||
fi
|
||||
|
||||
CATOBJEXT=
|
||||
if test "$gt_use_preinstalled_gnugettext" = "yes" \
|
||||
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
|
||||
dnl Mark actions to use GNU gettext tools.
|
||||
CATOBJEXT=.gmo
|
||||
fi
|
||||
])
|
||||
|
||||
if test -n "$INTL_MACOSX_LIBS"; then
|
||||
if test "$gt_use_preinstalled_gnugettext" = "yes" \
|
||||
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
|
||||
dnl Some extra flags are needed during linking.
|
||||
LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
|
||||
LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "$gt_use_preinstalled_gnugettext" = "yes" \
|
||||
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
|
||||
AC_DEFINE([ENABLE_NLS], [1],
|
||||
[Define to 1 if translation of program messages to the user's native language
|
||||
is requested.])
|
||||
else
|
||||
USE_NLS=no
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_MSG_CHECKING([whether to use NLS])
|
||||
AC_MSG_RESULT([$USE_NLS])
|
||||
if test "$USE_NLS" = "yes"; then
|
||||
AC_MSG_CHECKING([where the gettext function comes from])
|
||||
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
|
||||
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
|
||||
gt_source="external libintl"
|
||||
else
|
||||
gt_source="libc"
|
||||
fi
|
||||
else
|
||||
gt_source="included intl directory"
|
||||
fi
|
||||
AC_MSG_RESULT([$gt_source])
|
||||
fi
|
||||
|
||||
if test "$USE_NLS" = "yes"; then
|
||||
|
||||
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
|
||||
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
|
||||
AC_MSG_CHECKING([how to link with libintl])
|
||||
AC_MSG_RESULT([$LIBINTL])
|
||||
AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
|
||||
fi
|
||||
|
||||
dnl For backward compatibility. Some packages may be using this.
|
||||
AC_DEFINE([HAVE_GETTEXT], [1],
|
||||
[Define if the GNU gettext() function is already present or preinstalled.])
|
||||
AC_DEFINE([HAVE_DCGETTEXT], [1],
|
||||
[Define if the GNU dcgettext() function is already present or preinstalled.])
|
||||
fi
|
||||
|
||||
dnl We need to process the po/ directory.
|
||||
POSUB=po
|
||||
fi
|
||||
|
||||
ifelse(gt_included_intl, yes, [
|
||||
dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
|
||||
dnl to 'yes' because some of the testsuite requires it.
|
||||
if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
|
||||
BUILD_INCLUDED_LIBINTL=yes
|
||||
fi
|
||||
|
||||
dnl Make all variables we use known to autoconf.
|
||||
AC_SUBST([BUILD_INCLUDED_LIBINTL])
|
||||
AC_SUBST([USE_INCLUDED_LIBINTL])
|
||||
AC_SUBST([CATOBJEXT])
|
||||
|
||||
dnl For backward compatibility. Some configure.ins may be using this.
|
||||
nls_cv_header_intl=
|
||||
nls_cv_header_libgt=
|
||||
|
||||
dnl For backward compatibility. Some Makefiles may be using this.
|
||||
DATADIRNAME=share
|
||||
AC_SUBST([DATADIRNAME])
|
||||
|
||||
dnl For backward compatibility. Some Makefiles may be using this.
|
||||
INSTOBJEXT=.mo
|
||||
AC_SUBST([INSTOBJEXT])
|
||||
|
||||
dnl For backward compatibility. Some Makefiles may be using this.
|
||||
GENCAT=gencat
|
||||
AC_SUBST([GENCAT])
|
||||
|
||||
dnl For backward compatibility. Some Makefiles may be using this.
|
||||
INTLOBJS=
|
||||
if test "$USE_INCLUDED_LIBINTL" = yes; then
|
||||
INTLOBJS="\$(GETTOBJS)"
|
||||
fi
|
||||
AC_SUBST([INTLOBJS])
|
||||
|
||||
dnl Enable libtool support if the surrounding package wishes it.
|
||||
INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix
|
||||
AC_SUBST([INTL_LIBTOOL_SUFFIX_PREFIX])
|
||||
])
|
||||
|
||||
dnl For backward compatibility. Some Makefiles may be using this.
|
||||
INTLLIBS="$LIBINTL"
|
||||
AC_SUBST([INTLLIBS])
|
||||
|
||||
dnl Make all documented variables known to autoconf.
|
||||
AC_SUBST([LIBINTL])
|
||||
AC_SUBST([LTLIBINTL])
|
||||
AC_SUBST([POSUB])
|
||||
])
|
||||
|
||||
|
||||
dnl gt_NEEDS_INIT ensures that the gt_needs variable is initialized.
|
||||
m4_define([gt_NEEDS_INIT],
|
||||
[
|
||||
m4_divert_text([DEFAULTS], [gt_needs=])
|
||||
m4_define([gt_NEEDS_INIT], [])
|
||||
])
|
||||
|
||||
|
||||
dnl Usage: AM_GNU_GETTEXT_NEED([NEEDSYMBOL])
|
||||
AC_DEFUN([AM_GNU_GETTEXT_NEED],
|
||||
[
|
||||
m4_divert_text([INIT_PREPARE], [gt_needs="$gt_needs $1"])
|
||||
])
|
||||
|
||||
|
||||
dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version])
|
||||
AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
|
||||
268
powertop-v2.10/m4/iconv.m4
Normal file
268
powertop-v2.10/m4/iconv.m4
Normal file
@ -0,0 +1,268 @@
|
||||
# iconv.m4 serial 18 (gettext-0.18.2)
|
||||
dnl Copyright (C) 2000-2002, 2007-2013 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
dnl with or without modifications, as long as this notice is preserved.
|
||||
|
||||
dnl From Bruno Haible.
|
||||
|
||||
AC_DEFUN([AM_ICONV_LINKFLAGS_BODY],
|
||||
[
|
||||
dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
|
||||
AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
|
||||
AC_REQUIRE([AC_LIB_RPATH])
|
||||
|
||||
dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
|
||||
dnl accordingly.
|
||||
AC_LIB_LINKFLAGS_BODY([iconv])
|
||||
])
|
||||
|
||||
AC_DEFUN([AM_ICONV_LINK],
|
||||
[
|
||||
dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
|
||||
dnl those with the standalone portable GNU libiconv installed).
|
||||
AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
|
||||
|
||||
dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
|
||||
dnl accordingly.
|
||||
AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
|
||||
|
||||
dnl Add $INCICONV to CPPFLAGS before performing the following checks,
|
||||
dnl because if the user has installed libiconv and not disabled its use
|
||||
dnl via --without-libiconv-prefix, he wants to use it. The first
|
||||
dnl AC_LINK_IFELSE will then fail, the second AC_LINK_IFELSE will succeed.
|
||||
am_save_CPPFLAGS="$CPPFLAGS"
|
||||
AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
|
||||
|
||||
AC_CACHE_CHECK([for iconv], [am_cv_func_iconv], [
|
||||
am_cv_func_iconv="no, consider installing GNU libiconv"
|
||||
am_cv_lib_iconv=no
|
||||
AC_LINK_IFELSE(
|
||||
[AC_LANG_PROGRAM(
|
||||
[[
|
||||
#include <stdlib.h>
|
||||
#include <iconv.h>
|
||||
]],
|
||||
[[iconv_t cd = iconv_open("","");
|
||||
iconv(cd,NULL,NULL,NULL,NULL);
|
||||
iconv_close(cd);]])],
|
||||
[am_cv_func_iconv=yes])
|
||||
if test "$am_cv_func_iconv" != yes; then
|
||||
am_save_LIBS="$LIBS"
|
||||
LIBS="$LIBS $LIBICONV"
|
||||
AC_LINK_IFELSE(
|
||||
[AC_LANG_PROGRAM(
|
||||
[[
|
||||
#include <stdlib.h>
|
||||
#include <iconv.h>
|
||||
]],
|
||||
[[iconv_t cd = iconv_open("","");
|
||||
iconv(cd,NULL,NULL,NULL,NULL);
|
||||
iconv_close(cd);]])],
|
||||
[am_cv_lib_iconv=yes]
|
||||
[am_cv_func_iconv=yes])
|
||||
LIBS="$am_save_LIBS"
|
||||
fi
|
||||
])
|
||||
if test "$am_cv_func_iconv" = yes; then
|
||||
AC_CACHE_CHECK([for working iconv], [am_cv_func_iconv_works], [
|
||||
dnl This tests against bugs in AIX 5.1, AIX 6.1..7.1, HP-UX 11.11,
|
||||
dnl Solaris 10.
|
||||
am_save_LIBS="$LIBS"
|
||||
if test $am_cv_lib_iconv = yes; then
|
||||
LIBS="$LIBS $LIBICONV"
|
||||
fi
|
||||
AC_RUN_IFELSE(
|
||||
[AC_LANG_SOURCE([[
|
||||
#include <iconv.h>
|
||||
#include <string.h>
|
||||
int main ()
|
||||
{
|
||||
int result = 0;
|
||||
/* Test against AIX 5.1 bug: Failures are not distinguishable from successful
|
||||
returns. */
|
||||
{
|
||||
iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
|
||||
if (cd_utf8_to_88591 != (iconv_t)(-1))
|
||||
{
|
||||
static const char input[] = "\342\202\254"; /* EURO SIGN */
|
||||
char buf[10];
|
||||
const char *inptr = input;
|
||||
size_t inbytesleft = strlen (input);
|
||||
char *outptr = buf;
|
||||
size_t outbytesleft = sizeof (buf);
|
||||
size_t res = iconv (cd_utf8_to_88591,
|
||||
(char **) &inptr, &inbytesleft,
|
||||
&outptr, &outbytesleft);
|
||||
if (res == 0)
|
||||
result |= 1;
|
||||
iconv_close (cd_utf8_to_88591);
|
||||
}
|
||||
}
|
||||
/* Test against Solaris 10 bug: Failures are not distinguishable from
|
||||
successful returns. */
|
||||
{
|
||||
iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
|
||||
if (cd_ascii_to_88591 != (iconv_t)(-1))
|
||||
{
|
||||
static const char input[] = "\263";
|
||||
char buf[10];
|
||||
const char *inptr = input;
|
||||
size_t inbytesleft = strlen (input);
|
||||
char *outptr = buf;
|
||||
size_t outbytesleft = sizeof (buf);
|
||||
size_t res = iconv (cd_ascii_to_88591,
|
||||
(char **) &inptr, &inbytesleft,
|
||||
&outptr, &outbytesleft);
|
||||
if (res == 0)
|
||||
result |= 2;
|
||||
iconv_close (cd_ascii_to_88591);
|
||||
}
|
||||
}
|
||||
/* Test against AIX 6.1..7.1 bug: Buffer overrun. */
|
||||
{
|
||||
iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
|
||||
if (cd_88591_to_utf8 != (iconv_t)(-1))
|
||||
{
|
||||
static const char input[] = "\304";
|
||||
static char buf[2] = { (char)0xDE, (char)0xAD };
|
||||
const char *inptr = input;
|
||||
size_t inbytesleft = 1;
|
||||
char *outptr = buf;
|
||||
size_t outbytesleft = 1;
|
||||
size_t res = iconv (cd_88591_to_utf8,
|
||||
(char **) &inptr, &inbytesleft,
|
||||
&outptr, &outbytesleft);
|
||||
if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
|
||||
result |= 4;
|
||||
iconv_close (cd_88591_to_utf8);
|
||||
}
|
||||
}
|
||||
#if 0 /* This bug could be worked around by the caller. */
|
||||
/* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
|
||||
{
|
||||
iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
|
||||
if (cd_88591_to_utf8 != (iconv_t)(-1))
|
||||
{
|
||||
static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
|
||||
char buf[50];
|
||||
const char *inptr = input;
|
||||
size_t inbytesleft = strlen (input);
|
||||
char *outptr = buf;
|
||||
size_t outbytesleft = sizeof (buf);
|
||||
size_t res = iconv (cd_88591_to_utf8,
|
||||
(char **) &inptr, &inbytesleft,
|
||||
&outptr, &outbytesleft);
|
||||
if ((int)res > 0)
|
||||
result |= 8;
|
||||
iconv_close (cd_88591_to_utf8);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
/* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
|
||||
provided. */
|
||||
if (/* Try standardized names. */
|
||||
iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
|
||||
/* Try IRIX, OSF/1 names. */
|
||||
&& iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
|
||||
/* Try AIX names. */
|
||||
&& iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
|
||||
/* Try HP-UX names. */
|
||||
&& iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
|
||||
result |= 16;
|
||||
return result;
|
||||
}]])],
|
||||
[am_cv_func_iconv_works=yes],
|
||||
[am_cv_func_iconv_works=no],
|
||||
[
|
||||
changequote(,)dnl
|
||||
case "$host_os" in
|
||||
aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
|
||||
*) am_cv_func_iconv_works="guessing yes" ;;
|
||||
esac
|
||||
changequote([,])dnl
|
||||
])
|
||||
LIBS="$am_save_LIBS"
|
||||
])
|
||||
case "$am_cv_func_iconv_works" in
|
||||
*no) am_func_iconv=no am_cv_lib_iconv=no ;;
|
||||
*) am_func_iconv=yes ;;
|
||||
esac
|
||||
else
|
||||
am_func_iconv=no am_cv_lib_iconv=no
|
||||
fi
|
||||
if test "$am_func_iconv" = yes; then
|
||||
AC_DEFINE([HAVE_ICONV], [1],
|
||||
[Define if you have the iconv() function and it works.])
|
||||
fi
|
||||
if test "$am_cv_lib_iconv" = yes; then
|
||||
AC_MSG_CHECKING([how to link with libiconv])
|
||||
AC_MSG_RESULT([$LIBICONV])
|
||||
else
|
||||
dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV
|
||||
dnl either.
|
||||
CPPFLAGS="$am_save_CPPFLAGS"
|
||||
LIBICONV=
|
||||
LTLIBICONV=
|
||||
fi
|
||||
AC_SUBST([LIBICONV])
|
||||
AC_SUBST([LTLIBICONV])
|
||||
])
|
||||
|
||||
dnl Define AM_ICONV using AC_DEFUN_ONCE for Autoconf >= 2.64, in order to
|
||||
dnl avoid warnings like
|
||||
dnl "warning: AC_REQUIRE: `AM_ICONV' was expanded before it was required".
|
||||
dnl This is tricky because of the way 'aclocal' is implemented:
|
||||
dnl - It requires defining an auxiliary macro whose name ends in AC_DEFUN.
|
||||
dnl Otherwise aclocal's initial scan pass would miss the macro definition.
|
||||
dnl - It requires a line break inside the AC_DEFUN_ONCE and AC_DEFUN expansions.
|
||||
dnl Otherwise aclocal would emit many "Use of uninitialized value $1"
|
||||
dnl warnings.
|
||||
m4_define([gl_iconv_AC_DEFUN],
|
||||
m4_version_prereq([2.64],
|
||||
[[AC_DEFUN_ONCE(
|
||||
[$1], [$2])]],
|
||||
[m4_ifdef([gl_00GNULIB],
|
||||
[[AC_DEFUN_ONCE(
|
||||
[$1], [$2])]],
|
||||
[[AC_DEFUN(
|
||||
[$1], [$2])]])]))
|
||||
gl_iconv_AC_DEFUN([AM_ICONV],
|
||||
[
|
||||
AM_ICONV_LINK
|
||||
if test "$am_cv_func_iconv" = yes; then
|
||||
AC_MSG_CHECKING([for iconv declaration])
|
||||
AC_CACHE_VAL([am_cv_proto_iconv], [
|
||||
AC_COMPILE_IFELSE(
|
||||
[AC_LANG_PROGRAM(
|
||||
[[
|
||||
#include <stdlib.h>
|
||||
#include <iconv.h>
|
||||
extern
|
||||
#ifdef __cplusplus
|
||||
"C"
|
||||
#endif
|
||||
#if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus)
|
||||
size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
|
||||
#else
|
||||
size_t iconv();
|
||||
#endif
|
||||
]],
|
||||
[[]])],
|
||||
[am_cv_proto_iconv_arg1=""],
|
||||
[am_cv_proto_iconv_arg1="const"])
|
||||
am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"])
|
||||
am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
|
||||
AC_MSG_RESULT([
|
||||
$am_cv_proto_iconv])
|
||||
AC_DEFINE_UNQUOTED([ICONV_CONST], [$am_cv_proto_iconv_arg1],
|
||||
[Define as const if the declaration of iconv() needs const.])
|
||||
dnl Also substitute ICONV_CONST in the gnulib generated <iconv.h>.
|
||||
m4_ifdef([gl_ICONV_H_DEFAULTS],
|
||||
[AC_REQUIRE([gl_ICONV_H_DEFAULTS])
|
||||
if test -n "$am_cv_proto_iconv_arg1"; then
|
||||
ICONV_CONST="const"
|
||||
fi
|
||||
])
|
||||
fi
|
||||
])
|
||||
56
powertop-v2.10/m4/intlmacosx.m4
Normal file
56
powertop-v2.10/m4/intlmacosx.m4
Normal file
@ -0,0 +1,56 @@
|
||||
# intlmacosx.m4 serial 5 (gettext-0.18.2)
|
||||
dnl Copyright (C) 2004-2013 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
dnl with or without modifications, as long as this notice is preserved.
|
||||
dnl
|
||||
dnl This file can can be used in projects which are not available under
|
||||
dnl the GNU General Public License or the GNU Library General Public
|
||||
dnl License but which still want to provide support for the GNU gettext
|
||||
dnl functionality.
|
||||
dnl Please note that the actual code of the GNU gettext library is covered
|
||||
dnl by the GNU Library General Public License, and the rest of the GNU
|
||||
dnl gettext package package is covered by the GNU General Public License.
|
||||
dnl They are *not* in the public domain.
|
||||
|
||||
dnl Checks for special options needed on Mac OS X.
|
||||
dnl Defines INTL_MACOSX_LIBS.
|
||||
AC_DEFUN([gt_INTL_MACOSX],
|
||||
[
|
||||
dnl Check for API introduced in Mac OS X 10.2.
|
||||
AC_CACHE_CHECK([for CFPreferencesCopyAppValue],
|
||||
[gt_cv_func_CFPreferencesCopyAppValue],
|
||||
[gt_save_LIBS="$LIBS"
|
||||
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
|
||||
AC_LINK_IFELSE(
|
||||
[AC_LANG_PROGRAM(
|
||||
[[#include <CoreFoundation/CFPreferences.h>]],
|
||||
[[CFPreferencesCopyAppValue(NULL, NULL)]])],
|
||||
[gt_cv_func_CFPreferencesCopyAppValue=yes],
|
||||
[gt_cv_func_CFPreferencesCopyAppValue=no])
|
||||
LIBS="$gt_save_LIBS"])
|
||||
if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
|
||||
AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], [1],
|
||||
[Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in the CoreFoundation framework.])
|
||||
fi
|
||||
dnl Check for API introduced in Mac OS X 10.3.
|
||||
AC_CACHE_CHECK([for CFLocaleCopyCurrent], [gt_cv_func_CFLocaleCopyCurrent],
|
||||
[gt_save_LIBS="$LIBS"
|
||||
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
|
||||
AC_LINK_IFELSE(
|
||||
[AC_LANG_PROGRAM(
|
||||
[[#include <CoreFoundation/CFLocale.h>]],
|
||||
[[CFLocaleCopyCurrent();]])],
|
||||
[gt_cv_func_CFLocaleCopyCurrent=yes],
|
||||
[gt_cv_func_CFLocaleCopyCurrent=no])
|
||||
LIBS="$gt_save_LIBS"])
|
||||
if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
|
||||
AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], [1],
|
||||
[Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the CoreFoundation framework.])
|
||||
fi
|
||||
INTL_MACOSX_LIBS=
|
||||
if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
|
||||
INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
|
||||
fi
|
||||
AC_SUBST([INTL_MACOSX_LIBS])
|
||||
])
|
||||
119
powertop-v2.10/m4/lib-ld.m4
Normal file
119
powertop-v2.10/m4/lib-ld.m4
Normal file
@ -0,0 +1,119 @@
|
||||
# lib-ld.m4 serial 6
|
||||
dnl Copyright (C) 1996-2003, 2009-2013 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
dnl with or without modifications, as long as this notice is preserved.
|
||||
|
||||
dnl Subroutines of libtool.m4,
|
||||
dnl with replacements s/_*LT_PATH/AC_LIB_PROG/ and s/lt_/acl_/ to avoid
|
||||
dnl collision with libtool.m4.
|
||||
|
||||
dnl From libtool-2.4. Sets the variable with_gnu_ld to yes or no.
|
||||
AC_DEFUN([AC_LIB_PROG_LD_GNU],
|
||||
[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], [acl_cv_prog_gnu_ld],
|
||||
[# I'd rather use --version here, but apparently some GNU lds only accept -v.
|
||||
case `$LD -v 2>&1 </dev/null` in
|
||||
*GNU* | *'with BFD'*)
|
||||
acl_cv_prog_gnu_ld=yes
|
||||
;;
|
||||
*)
|
||||
acl_cv_prog_gnu_ld=no
|
||||
;;
|
||||
esac])
|
||||
with_gnu_ld=$acl_cv_prog_gnu_ld
|
||||
])
|
||||
|
||||
dnl From libtool-2.4. Sets the variable LD.
|
||||
AC_DEFUN([AC_LIB_PROG_LD],
|
||||
[AC_REQUIRE([AC_PROG_CC])dnl
|
||||
AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
||||
|
||||
AC_ARG_WITH([gnu-ld],
|
||||
[AS_HELP_STRING([--with-gnu-ld],
|
||||
[assume the C compiler uses GNU ld [default=no]])],
|
||||
[test "$withval" = no || with_gnu_ld=yes],
|
||||
[with_gnu_ld=no])dnl
|
||||
|
||||
# Prepare PATH_SEPARATOR.
|
||||
# The user is always right.
|
||||
if test "${PATH_SEPARATOR+set}" != set; then
|
||||
# Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
|
||||
# contains only /bin. Note that ksh looks also at the FPATH variable,
|
||||
# so we have to set that as well for the test.
|
||||
PATH_SEPARATOR=:
|
||||
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
|
||||
&& { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
|
||||
|| PATH_SEPARATOR=';'
|
||||
}
|
||||
fi
|
||||
|
||||
ac_prog=ld
|
||||
if test "$GCC" = yes; then
|
||||
# Check if gcc -print-prog-name=ld gives a path.
|
||||
AC_MSG_CHECKING([for ld used by $CC])
|
||||
case $host in
|
||||
*-*-mingw*)
|
||||
# gcc leaves a trailing carriage return which upsets mingw
|
||||
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
|
||||
*)
|
||||
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
|
||||
esac
|
||||
case $ac_prog in
|
||||
# Accept absolute paths.
|
||||
[[\\/]]* | ?:[[\\/]]*)
|
||||
re_direlt='/[[^/]][[^/]]*/\.\./'
|
||||
# Canonicalize the pathname of ld
|
||||
ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
|
||||
while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
|
||||
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
|
||||
done
|
||||
test -z "$LD" && LD="$ac_prog"
|
||||
;;
|
||||
"")
|
||||
# If it fails, then pretend we aren't using GCC.
|
||||
ac_prog=ld
|
||||
;;
|
||||
*)
|
||||
# If it is relative, then search for the first ld in PATH.
|
||||
with_gnu_ld=unknown
|
||||
;;
|
||||
esac
|
||||
elif test "$with_gnu_ld" = yes; then
|
||||
AC_MSG_CHECKING([for GNU ld])
|
||||
else
|
||||
AC_MSG_CHECKING([for non-GNU ld])
|
||||
fi
|
||||
AC_CACHE_VAL([acl_cv_path_LD],
|
||||
[if test -z "$LD"; then
|
||||
acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
|
||||
for ac_dir in $PATH; do
|
||||
IFS="$acl_save_ifs"
|
||||
test -z "$ac_dir" && ac_dir=.
|
||||
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
|
||||
acl_cv_path_LD="$ac_dir/$ac_prog"
|
||||
# Check to see if the program is GNU ld. I'd rather use --version,
|
||||
# but apparently some variants of GNU ld only accept -v.
|
||||
# Break only if it was the GNU/non-GNU ld that we prefer.
|
||||
case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
|
||||
*GNU* | *'with BFD'*)
|
||||
test "$with_gnu_ld" != no && break
|
||||
;;
|
||||
*)
|
||||
test "$with_gnu_ld" != yes && break
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
done
|
||||
IFS="$acl_save_ifs"
|
||||
else
|
||||
acl_cv_path_LD="$LD" # Let the user override the test with a path.
|
||||
fi])
|
||||
LD="$acl_cv_path_LD"
|
||||
if test -n "$LD"; then
|
||||
AC_MSG_RESULT([$LD])
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
|
||||
AC_LIB_PROG_LD_GNU
|
||||
])
|
||||
777
powertop-v2.10/m4/lib-link.m4
Normal file
777
powertop-v2.10/m4/lib-link.m4
Normal file
@ -0,0 +1,777 @@
|
||||
# lib-link.m4 serial 26 (gettext-0.18.2)
|
||||
dnl Copyright (C) 2001-2013 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
dnl with or without modifications, as long as this notice is preserved.
|
||||
|
||||
dnl From Bruno Haible.
|
||||
|
||||
AC_PREREQ([2.54])
|
||||
|
||||
dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
|
||||
dnl the libraries corresponding to explicit and implicit dependencies.
|
||||
dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
|
||||
dnl augments the CPPFLAGS variable.
|
||||
dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname
|
||||
dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
|
||||
AC_DEFUN([AC_LIB_LINKFLAGS],
|
||||
[
|
||||
AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
|
||||
AC_REQUIRE([AC_LIB_RPATH])
|
||||
pushdef([Name],[m4_translit([$1],[./+-], [____])])
|
||||
pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
|
||||
[ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
|
||||
AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
|
||||
AC_LIB_LINKFLAGS_BODY([$1], [$2])
|
||||
ac_cv_lib[]Name[]_libs="$LIB[]NAME"
|
||||
ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
|
||||
ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
|
||||
ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX"
|
||||
])
|
||||
LIB[]NAME="$ac_cv_lib[]Name[]_libs"
|
||||
LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
|
||||
INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
|
||||
LIB[]NAME[]_PREFIX="$ac_cv_lib[]Name[]_prefix"
|
||||
AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
|
||||
AC_SUBST([LIB]NAME)
|
||||
AC_SUBST([LTLIB]NAME)
|
||||
AC_SUBST([LIB]NAME[_PREFIX])
|
||||
dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
|
||||
dnl results of this search when this library appears as a dependency.
|
||||
HAVE_LIB[]NAME=yes
|
||||
popdef([NAME])
|
||||
popdef([Name])
|
||||
])
|
||||
|
||||
dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode, [missing-message])
|
||||
dnl searches for libname and the libraries corresponding to explicit and
|
||||
dnl implicit dependencies, together with the specified include files and
|
||||
dnl the ability to compile and link the specified testcode. The missing-message
|
||||
dnl defaults to 'no' and may contain additional hints for the user.
|
||||
dnl If found, it sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME}
|
||||
dnl and LTLIB${NAME} variables and augments the CPPFLAGS variable, and
|
||||
dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs
|
||||
dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty.
|
||||
dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname
|
||||
dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
|
||||
AC_DEFUN([AC_LIB_HAVE_LINKFLAGS],
|
||||
[
|
||||
AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
|
||||
AC_REQUIRE([AC_LIB_RPATH])
|
||||
pushdef([Name],[m4_translit([$1],[./+-], [____])])
|
||||
pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
|
||||
[ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
|
||||
|
||||
dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
|
||||
dnl accordingly.
|
||||
AC_LIB_LINKFLAGS_BODY([$1], [$2])
|
||||
|
||||
dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
|
||||
dnl because if the user has installed lib[]Name and not disabled its use
|
||||
dnl via --without-lib[]Name-prefix, he wants to use it.
|
||||
ac_save_CPPFLAGS="$CPPFLAGS"
|
||||
AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
|
||||
|
||||
AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
|
||||
ac_save_LIBS="$LIBS"
|
||||
dnl If $LIB[]NAME contains some -l options, add it to the end of LIBS,
|
||||
dnl because these -l options might require -L options that are present in
|
||||
dnl LIBS. -l options benefit only from the -L options listed before it.
|
||||
dnl Otherwise, add it to the front of LIBS, because it may be a static
|
||||
dnl library that depends on another static library that is present in LIBS.
|
||||
dnl Static libraries benefit only from the static libraries listed after
|
||||
dnl it.
|
||||
case " $LIB[]NAME" in
|
||||
*" -l"*) LIBS="$LIBS $LIB[]NAME" ;;
|
||||
*) LIBS="$LIB[]NAME $LIBS" ;;
|
||||
esac
|
||||
AC_LINK_IFELSE(
|
||||
[AC_LANG_PROGRAM([[$3]], [[$4]])],
|
||||
[ac_cv_lib[]Name=yes],
|
||||
[ac_cv_lib[]Name='m4_if([$5], [], [no], [[$5]])'])
|
||||
LIBS="$ac_save_LIBS"
|
||||
])
|
||||
if test "$ac_cv_lib[]Name" = yes; then
|
||||
HAVE_LIB[]NAME=yes
|
||||
AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the lib][$1 library.])
|
||||
AC_MSG_CHECKING([how to link with lib[]$1])
|
||||
AC_MSG_RESULT([$LIB[]NAME])
|
||||
else
|
||||
HAVE_LIB[]NAME=no
|
||||
dnl If $LIB[]NAME didn't lead to a usable library, we don't need
|
||||
dnl $INC[]NAME either.
|
||||
CPPFLAGS="$ac_save_CPPFLAGS"
|
||||
LIB[]NAME=
|
||||
LTLIB[]NAME=
|
||||
LIB[]NAME[]_PREFIX=
|
||||
fi
|
||||
AC_SUBST([HAVE_LIB]NAME)
|
||||
AC_SUBST([LIB]NAME)
|
||||
AC_SUBST([LTLIB]NAME)
|
||||
AC_SUBST([LIB]NAME[_PREFIX])
|
||||
popdef([NAME])
|
||||
popdef([Name])
|
||||
])
|
||||
|
||||
dnl Determine the platform dependent parameters needed to use rpath:
|
||||
dnl acl_libext,
|
||||
dnl acl_shlibext,
|
||||
dnl acl_libname_spec,
|
||||
dnl acl_library_names_spec,
|
||||
dnl acl_hardcode_libdir_flag_spec,
|
||||
dnl acl_hardcode_libdir_separator,
|
||||
dnl acl_hardcode_direct,
|
||||
dnl acl_hardcode_minus_L.
|
||||
AC_DEFUN([AC_LIB_RPATH],
|
||||
[
|
||||
dnl Tell automake >= 1.10 to complain if config.rpath is missing.
|
||||
m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])])
|
||||
AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
|
||||
AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
|
||||
AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
|
||||
AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
|
||||
AC_CACHE_CHECK([for shared library run path origin], [acl_cv_rpath], [
|
||||
CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
|
||||
${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
|
||||
. ./conftest.sh
|
||||
rm -f ./conftest.sh
|
||||
acl_cv_rpath=done
|
||||
])
|
||||
wl="$acl_cv_wl"
|
||||
acl_libext="$acl_cv_libext"
|
||||
acl_shlibext="$acl_cv_shlibext"
|
||||
acl_libname_spec="$acl_cv_libname_spec"
|
||||
acl_library_names_spec="$acl_cv_library_names_spec"
|
||||
acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
|
||||
acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
|
||||
acl_hardcode_direct="$acl_cv_hardcode_direct"
|
||||
acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
|
||||
dnl Determine whether the user wants rpath handling at all.
|
||||
AC_ARG_ENABLE([rpath],
|
||||
[ --disable-rpath do not hardcode runtime library paths],
|
||||
:, enable_rpath=yes)
|
||||
])
|
||||
|
||||
dnl AC_LIB_FROMPACKAGE(name, package)
|
||||
dnl declares that libname comes from the given package. The configure file
|
||||
dnl will then not have a --with-libname-prefix option but a
|
||||
dnl --with-package-prefix option. Several libraries can come from the same
|
||||
dnl package. This declaration must occur before an AC_LIB_LINKFLAGS or similar
|
||||
dnl macro call that searches for libname.
|
||||
AC_DEFUN([AC_LIB_FROMPACKAGE],
|
||||
[
|
||||
pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
|
||||
[ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
|
||||
define([acl_frompackage_]NAME, [$2])
|
||||
popdef([NAME])
|
||||
pushdef([PACK],[$2])
|
||||
pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-],
|
||||
[ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
|
||||
define([acl_libsinpackage_]PACKUP,
|
||||
m4_ifdef([acl_libsinpackage_]PACKUP, [m4_defn([acl_libsinpackage_]PACKUP)[, ]],)[lib$1])
|
||||
popdef([PACKUP])
|
||||
popdef([PACK])
|
||||
])
|
||||
|
||||
dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and
|
||||
dnl the libraries corresponding to explicit and implicit dependencies.
|
||||
dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.
|
||||
dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found
|
||||
dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
|
||||
AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
|
||||
[
|
||||
AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
|
||||
pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
|
||||
[ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
|
||||
pushdef([PACK],[m4_ifdef([acl_frompackage_]NAME, [acl_frompackage_]NAME, lib[$1])])
|
||||
pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-],
|
||||
[ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
|
||||
pushdef([PACKLIBS],[m4_ifdef([acl_frompackage_]NAME, [acl_libsinpackage_]PACKUP, lib[$1])])
|
||||
dnl Autoconf >= 2.61 supports dots in --with options.
|
||||
pushdef([P_A_C_K],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[m4_translit(PACK,[.],[_])],PACK)])
|
||||
dnl By default, look in $includedir and $libdir.
|
||||
use_additional=yes
|
||||
AC_LIB_WITH_FINAL_PREFIX([
|
||||
eval additional_includedir=\"$includedir\"
|
||||
eval additional_libdir=\"$libdir\"
|
||||
])
|
||||
AC_ARG_WITH(P_A_C_K[-prefix],
|
||||
[[ --with-]]P_A_C_K[[-prefix[=DIR] search for ]PACKLIBS[ in DIR/include and DIR/lib
|
||||
--without-]]P_A_C_K[[-prefix don't search for ]PACKLIBS[ in includedir and libdir]],
|
||||
[
|
||||
if test "X$withval" = "Xno"; then
|
||||
use_additional=no
|
||||
else
|
||||
if test "X$withval" = "X"; then
|
||||
AC_LIB_WITH_FINAL_PREFIX([
|
||||
eval additional_includedir=\"$includedir\"
|
||||
eval additional_libdir=\"$libdir\"
|
||||
])
|
||||
else
|
||||
additional_includedir="$withval/include"
|
||||
additional_libdir="$withval/$acl_libdirstem"
|
||||
if test "$acl_libdirstem2" != "$acl_libdirstem" \
|
||||
&& ! test -d "$withval/$acl_libdirstem"; then
|
||||
additional_libdir="$withval/$acl_libdirstem2"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
])
|
||||
dnl Search the library and its dependencies in $additional_libdir and
|
||||
dnl $LDFLAGS. Using breadth-first-seach.
|
||||
LIB[]NAME=
|
||||
LTLIB[]NAME=
|
||||
INC[]NAME=
|
||||
LIB[]NAME[]_PREFIX=
|
||||
dnl HAVE_LIB${NAME} is an indicator that LIB${NAME}, LTLIB${NAME} have been
|
||||
dnl computed. So it has to be reset here.
|
||||
HAVE_LIB[]NAME=
|
||||
rpathdirs=
|
||||
ltrpathdirs=
|
||||
names_already_handled=
|
||||
names_next_round='$1 $2'
|
||||
while test -n "$names_next_round"; do
|
||||
names_this_round="$names_next_round"
|
||||
names_next_round=
|
||||
for name in $names_this_round; do
|
||||
already_handled=
|
||||
for n in $names_already_handled; do
|
||||
if test "$n" = "$name"; then
|
||||
already_handled=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$already_handled"; then
|
||||
names_already_handled="$names_already_handled $name"
|
||||
dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
|
||||
dnl or AC_LIB_HAVE_LINKFLAGS call.
|
||||
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
|
||||
eval value=\"\$HAVE_LIB$uppername\"
|
||||
if test -n "$value"; then
|
||||
if test "$value" = yes; then
|
||||
eval value=\"\$LIB$uppername\"
|
||||
test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
|
||||
eval value=\"\$LTLIB$uppername\"
|
||||
test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
|
||||
else
|
||||
dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
|
||||
dnl that this library doesn't exist. So just drop it.
|
||||
:
|
||||
fi
|
||||
else
|
||||
dnl Search the library lib$name in $additional_libdir and $LDFLAGS
|
||||
dnl and the already constructed $LIBNAME/$LTLIBNAME.
|
||||
found_dir=
|
||||
found_la=
|
||||
found_so=
|
||||
found_a=
|
||||
eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
|
||||
if test -n "$acl_shlibext"; then
|
||||
shrext=".$acl_shlibext" # typically: shrext=.so
|
||||
else
|
||||
shrext=
|
||||
fi
|
||||
if test $use_additional = yes; then
|
||||
dir="$additional_libdir"
|
||||
dnl The same code as in the loop below:
|
||||
dnl First look for a shared library.
|
||||
if test -n "$acl_shlibext"; then
|
||||
if test -f "$dir/$libname$shrext"; then
|
||||
found_dir="$dir"
|
||||
found_so="$dir/$libname$shrext"
|
||||
else
|
||||
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
|
||||
ver=`(cd "$dir" && \
|
||||
for f in "$libname$shrext".*; do echo "$f"; done \
|
||||
| sed -e "s,^$libname$shrext\\\\.,," \
|
||||
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
|
||||
| sed 1q ) 2>/dev/null`
|
||||
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
|
||||
found_dir="$dir"
|
||||
found_so="$dir/$libname$shrext.$ver"
|
||||
fi
|
||||
else
|
||||
eval library_names=\"$acl_library_names_spec\"
|
||||
for f in $library_names; do
|
||||
if test -f "$dir/$f"; then
|
||||
found_dir="$dir"
|
||||
found_so="$dir/$f"
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
dnl Then look for a static library.
|
||||
if test "X$found_dir" = "X"; then
|
||||
if test -f "$dir/$libname.$acl_libext"; then
|
||||
found_dir="$dir"
|
||||
found_a="$dir/$libname.$acl_libext"
|
||||
fi
|
||||
fi
|
||||
if test "X$found_dir" != "X"; then
|
||||
if test -f "$dir/$libname.la"; then
|
||||
found_la="$dir/$libname.la"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
if test "X$found_dir" = "X"; then
|
||||
for x in $LDFLAGS $LTLIB[]NAME; do
|
||||
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
|
||||
case "$x" in
|
||||
-L*)
|
||||
dir=`echo "X$x" | sed -e 's/^X-L//'`
|
||||
dnl First look for a shared library.
|
||||
if test -n "$acl_shlibext"; then
|
||||
if test -f "$dir/$libname$shrext"; then
|
||||
found_dir="$dir"
|
||||
found_so="$dir/$libname$shrext"
|
||||
else
|
||||
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
|
||||
ver=`(cd "$dir" && \
|
||||
for f in "$libname$shrext".*; do echo "$f"; done \
|
||||
| sed -e "s,^$libname$shrext\\\\.,," \
|
||||
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
|
||||
| sed 1q ) 2>/dev/null`
|
||||
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
|
||||
found_dir="$dir"
|
||||
found_so="$dir/$libname$shrext.$ver"
|
||||
fi
|
||||
else
|
||||
eval library_names=\"$acl_library_names_spec\"
|
||||
for f in $library_names; do
|
||||
if test -f "$dir/$f"; then
|
||||
found_dir="$dir"
|
||||
found_so="$dir/$f"
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
dnl Then look for a static library.
|
||||
if test "X$found_dir" = "X"; then
|
||||
if test -f "$dir/$libname.$acl_libext"; then
|
||||
found_dir="$dir"
|
||||
found_a="$dir/$libname.$acl_libext"
|
||||
fi
|
||||
fi
|
||||
if test "X$found_dir" != "X"; then
|
||||
if test -f "$dir/$libname.la"; then
|
||||
found_la="$dir/$libname.la"
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
if test "X$found_dir" != "X"; then
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
if test "X$found_dir" != "X"; then
|
||||
dnl Found the library.
|
||||
LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
|
||||
if test "X$found_so" != "X"; then
|
||||
dnl Linking with a shared library. We attempt to hardcode its
|
||||
dnl directory into the executable's runpath, unless it's the
|
||||
dnl standard /usr/lib.
|
||||
if test "$enable_rpath" = no \
|
||||
|| test "X$found_dir" = "X/usr/$acl_libdirstem" \
|
||||
|| test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
|
||||
dnl No hardcoding is needed.
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
|
||||
else
|
||||
dnl Use an explicit option to hardcode DIR into the resulting
|
||||
dnl binary.
|
||||
dnl Potentially add DIR to ltrpathdirs.
|
||||
dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
|
||||
haveit=
|
||||
for x in $ltrpathdirs; do
|
||||
if test "X$x" = "X$found_dir"; then
|
||||
haveit=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$haveit"; then
|
||||
ltrpathdirs="$ltrpathdirs $found_dir"
|
||||
fi
|
||||
dnl The hardcoding into $LIBNAME is system dependent.
|
||||
if test "$acl_hardcode_direct" = yes; then
|
||||
dnl Using DIR/libNAME.so during linking hardcodes DIR into the
|
||||
dnl resulting binary.
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
|
||||
else
|
||||
if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
|
||||
dnl Use an explicit option to hardcode DIR into the resulting
|
||||
dnl binary.
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
|
||||
dnl Potentially add DIR to rpathdirs.
|
||||
dnl The rpathdirs will be appended to $LIBNAME at the end.
|
||||
haveit=
|
||||
for x in $rpathdirs; do
|
||||
if test "X$x" = "X$found_dir"; then
|
||||
haveit=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$haveit"; then
|
||||
rpathdirs="$rpathdirs $found_dir"
|
||||
fi
|
||||
else
|
||||
dnl Rely on "-L$found_dir".
|
||||
dnl But don't add it if it's already contained in the LDFLAGS
|
||||
dnl or the already constructed $LIBNAME
|
||||
haveit=
|
||||
for x in $LDFLAGS $LIB[]NAME; do
|
||||
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
|
||||
if test "X$x" = "X-L$found_dir"; then
|
||||
haveit=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$haveit"; then
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
|
||||
fi
|
||||
if test "$acl_hardcode_minus_L" != no; then
|
||||
dnl FIXME: Not sure whether we should use
|
||||
dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
|
||||
dnl here.
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
|
||||
else
|
||||
dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH
|
||||
dnl here, because this doesn't fit in flags passed to the
|
||||
dnl compiler. So give up. No hardcoding. This affects only
|
||||
dnl very old systems.
|
||||
dnl FIXME: Not sure whether we should use
|
||||
dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
|
||||
dnl here.
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
else
|
||||
if test "X$found_a" != "X"; then
|
||||
dnl Linking with a static library.
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
|
||||
else
|
||||
dnl We shouldn't come here, but anyway it's good to have a
|
||||
dnl fallback.
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
|
||||
fi
|
||||
fi
|
||||
dnl Assume the include files are nearby.
|
||||
additional_includedir=
|
||||
case "$found_dir" in
|
||||
*/$acl_libdirstem | */$acl_libdirstem/)
|
||||
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
|
||||
if test "$name" = '$1'; then
|
||||
LIB[]NAME[]_PREFIX="$basedir"
|
||||
fi
|
||||
additional_includedir="$basedir/include"
|
||||
;;
|
||||
*/$acl_libdirstem2 | */$acl_libdirstem2/)
|
||||
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
|
||||
if test "$name" = '$1'; then
|
||||
LIB[]NAME[]_PREFIX="$basedir"
|
||||
fi
|
||||
additional_includedir="$basedir/include"
|
||||
;;
|
||||
esac
|
||||
if test "X$additional_includedir" != "X"; then
|
||||
dnl Potentially add $additional_includedir to $INCNAME.
|
||||
dnl But don't add it
|
||||
dnl 1. if it's the standard /usr/include,
|
||||
dnl 2. if it's /usr/local/include and we are using GCC on Linux,
|
||||
dnl 3. if it's already present in $CPPFLAGS or the already
|
||||
dnl constructed $INCNAME,
|
||||
dnl 4. if it doesn't exist as a directory.
|
||||
if test "X$additional_includedir" != "X/usr/include"; then
|
||||
haveit=
|
||||
if test "X$additional_includedir" = "X/usr/local/include"; then
|
||||
if test -n "$GCC"; then
|
||||
case $host_os in
|
||||
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
if test -z "$haveit"; then
|
||||
for x in $CPPFLAGS $INC[]NAME; do
|
||||
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
|
||||
if test "X$x" = "X-I$additional_includedir"; then
|
||||
haveit=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$haveit"; then
|
||||
if test -d "$additional_includedir"; then
|
||||
dnl Really add $additional_includedir to $INCNAME.
|
||||
INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
dnl Look for dependencies.
|
||||
if test -n "$found_la"; then
|
||||
dnl Read the .la file. It defines the variables
|
||||
dnl dlname, library_names, old_library, dependency_libs, current,
|
||||
dnl age, revision, installed, dlopen, dlpreopen, libdir.
|
||||
save_libdir="$libdir"
|
||||
case "$found_la" in
|
||||
*/* | *\\*) . "$found_la" ;;
|
||||
*) . "./$found_la" ;;
|
||||
esac
|
||||
libdir="$save_libdir"
|
||||
dnl We use only dependency_libs.
|
||||
for dep in $dependency_libs; do
|
||||
case "$dep" in
|
||||
-L*)
|
||||
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
|
||||
dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
|
||||
dnl But don't add it
|
||||
dnl 1. if it's the standard /usr/lib,
|
||||
dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
|
||||
dnl 3. if it's already present in $LDFLAGS or the already
|
||||
dnl constructed $LIBNAME,
|
||||
dnl 4. if it doesn't exist as a directory.
|
||||
if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
|
||||
&& test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
|
||||
haveit=
|
||||
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
|
||||
|| test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
|
||||
if test -n "$GCC"; then
|
||||
case $host_os in
|
||||
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
if test -z "$haveit"; then
|
||||
haveit=
|
||||
for x in $LDFLAGS $LIB[]NAME; do
|
||||
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
|
||||
if test "X$x" = "X-L$additional_libdir"; then
|
||||
haveit=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$haveit"; then
|
||||
if test -d "$additional_libdir"; then
|
||||
dnl Really add $additional_libdir to $LIBNAME.
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
|
||||
fi
|
||||
fi
|
||||
haveit=
|
||||
for x in $LDFLAGS $LTLIB[]NAME; do
|
||||
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
|
||||
if test "X$x" = "X-L$additional_libdir"; then
|
||||
haveit=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$haveit"; then
|
||||
if test -d "$additional_libdir"; then
|
||||
dnl Really add $additional_libdir to $LTLIBNAME.
|
||||
LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
-R*)
|
||||
dir=`echo "X$dep" | sed -e 's/^X-R//'`
|
||||
if test "$enable_rpath" != no; then
|
||||
dnl Potentially add DIR to rpathdirs.
|
||||
dnl The rpathdirs will be appended to $LIBNAME at the end.
|
||||
haveit=
|
||||
for x in $rpathdirs; do
|
||||
if test "X$x" = "X$dir"; then
|
||||
haveit=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$haveit"; then
|
||||
rpathdirs="$rpathdirs $dir"
|
||||
fi
|
||||
dnl Potentially add DIR to ltrpathdirs.
|
||||
dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
|
||||
haveit=
|
||||
for x in $ltrpathdirs; do
|
||||
if test "X$x" = "X$dir"; then
|
||||
haveit=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$haveit"; then
|
||||
ltrpathdirs="$ltrpathdirs $dir"
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
-l*)
|
||||
dnl Handle this in the next round.
|
||||
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
|
||||
;;
|
||||
*.la)
|
||||
dnl Handle this in the next round. Throw away the .la's
|
||||
dnl directory; it is already contained in a preceding -L
|
||||
dnl option.
|
||||
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
|
||||
;;
|
||||
*)
|
||||
dnl Most likely an immediate library name.
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
|
||||
LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
fi
|
||||
else
|
||||
dnl Didn't find the library; assume it is in the system directories
|
||||
dnl known to the linker and runtime loader. (All the system
|
||||
dnl directories known to the linker should also be known to the
|
||||
dnl runtime loader, otherwise the system is severely misconfigured.)
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
|
||||
LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
done
|
||||
done
|
||||
if test "X$rpathdirs" != "X"; then
|
||||
if test -n "$acl_hardcode_libdir_separator"; then
|
||||
dnl Weird platform: only the last -rpath option counts, the user must
|
||||
dnl pass all path elements in one option. We can arrange that for a
|
||||
dnl single library, but not when more than one $LIBNAMEs are used.
|
||||
alldirs=
|
||||
for found_dir in $rpathdirs; do
|
||||
alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
|
||||
done
|
||||
dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl.
|
||||
acl_save_libdir="$libdir"
|
||||
libdir="$alldirs"
|
||||
eval flag=\"$acl_hardcode_libdir_flag_spec\"
|
||||
libdir="$acl_save_libdir"
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
|
||||
else
|
||||
dnl The -rpath options are cumulative.
|
||||
for found_dir in $rpathdirs; do
|
||||
acl_save_libdir="$libdir"
|
||||
libdir="$found_dir"
|
||||
eval flag=\"$acl_hardcode_libdir_flag_spec\"
|
||||
libdir="$acl_save_libdir"
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
if test "X$ltrpathdirs" != "X"; then
|
||||
dnl When using libtool, the option that works for both libraries and
|
||||
dnl executables is -R. The -R options are cumulative.
|
||||
for found_dir in $ltrpathdirs; do
|
||||
LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
|
||||
done
|
||||
fi
|
||||
popdef([P_A_C_K])
|
||||
popdef([PACKLIBS])
|
||||
popdef([PACKUP])
|
||||
popdef([PACK])
|
||||
popdef([NAME])
|
||||
])
|
||||
|
||||
dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR,
|
||||
dnl unless already present in VAR.
|
||||
dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes
|
||||
dnl contains two or three consecutive elements that belong together.
|
||||
AC_DEFUN([AC_LIB_APPENDTOVAR],
|
||||
[
|
||||
for element in [$2]; do
|
||||
haveit=
|
||||
for x in $[$1]; do
|
||||
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
|
||||
if test "X$x" = "X$element"; then
|
||||
haveit=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$haveit"; then
|
||||
[$1]="${[$1]}${[$1]:+ }$element"
|
||||
fi
|
||||
done
|
||||
])
|
||||
|
||||
dnl For those cases where a variable contains several -L and -l options
|
||||
dnl referring to unknown libraries and directories, this macro determines the
|
||||
dnl necessary additional linker options for the runtime path.
|
||||
dnl AC_LIB_LINKFLAGS_FROM_LIBS([LDADDVAR], [LIBSVALUE], [USE-LIBTOOL])
|
||||
dnl sets LDADDVAR to linker options needed together with LIBSVALUE.
|
||||
dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed,
|
||||
dnl otherwise linking without libtool is assumed.
|
||||
AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS],
|
||||
[
|
||||
AC_REQUIRE([AC_LIB_RPATH])
|
||||
AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
|
||||
$1=
|
||||
if test "$enable_rpath" != no; then
|
||||
if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
|
||||
dnl Use an explicit option to hardcode directories into the resulting
|
||||
dnl binary.
|
||||
rpathdirs=
|
||||
next=
|
||||
for opt in $2; do
|
||||
if test -n "$next"; then
|
||||
dir="$next"
|
||||
dnl No need to hardcode the standard /usr/lib.
|
||||
if test "X$dir" != "X/usr/$acl_libdirstem" \
|
||||
&& test "X$dir" != "X/usr/$acl_libdirstem2"; then
|
||||
rpathdirs="$rpathdirs $dir"
|
||||
fi
|
||||
next=
|
||||
else
|
||||
case $opt in
|
||||
-L) next=yes ;;
|
||||
-L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'`
|
||||
dnl No need to hardcode the standard /usr/lib.
|
||||
if test "X$dir" != "X/usr/$acl_libdirstem" \
|
||||
&& test "X$dir" != "X/usr/$acl_libdirstem2"; then
|
||||
rpathdirs="$rpathdirs $dir"
|
||||
fi
|
||||
next= ;;
|
||||
*) next= ;;
|
||||
esac
|
||||
fi
|
||||
done
|
||||
if test "X$rpathdirs" != "X"; then
|
||||
if test -n ""$3""; then
|
||||
dnl libtool is used for linking. Use -R options.
|
||||
for dir in $rpathdirs; do
|
||||
$1="${$1}${$1:+ }-R$dir"
|
||||
done
|
||||
else
|
||||
dnl The linker is used for linking directly.
|
||||
if test -n "$acl_hardcode_libdir_separator"; then
|
||||
dnl Weird platform: only the last -rpath option counts, the user
|
||||
dnl must pass all path elements in one option.
|
||||
alldirs=
|
||||
for dir in $rpathdirs; do
|
||||
alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir"
|
||||
done
|
||||
acl_save_libdir="$libdir"
|
||||
libdir="$alldirs"
|
||||
eval flag=\"$acl_hardcode_libdir_flag_spec\"
|
||||
libdir="$acl_save_libdir"
|
||||
$1="$flag"
|
||||
else
|
||||
dnl The -rpath options are cumulative.
|
||||
for dir in $rpathdirs; do
|
||||
acl_save_libdir="$libdir"
|
||||
libdir="$dir"
|
||||
eval flag=\"$acl_hardcode_libdir_flag_spec\"
|
||||
libdir="$acl_save_libdir"
|
||||
$1="${$1}${$1:+ }$flag"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
AC_SUBST([$1])
|
||||
])
|
||||
224
powertop-v2.10/m4/lib-prefix.m4
Normal file
224
powertop-v2.10/m4/lib-prefix.m4
Normal file
@ -0,0 +1,224 @@
|
||||
# lib-prefix.m4 serial 7 (gettext-0.18)
|
||||
dnl Copyright (C) 2001-2005, 2008-2013 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
dnl with or without modifications, as long as this notice is preserved.
|
||||
|
||||
dnl From Bruno Haible.
|
||||
|
||||
dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and
|
||||
dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't
|
||||
dnl require excessive bracketing.
|
||||
ifdef([AC_HELP_STRING],
|
||||
[AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])],
|
||||
[AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])])
|
||||
|
||||
dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
|
||||
dnl to access previously installed libraries. The basic assumption is that
|
||||
dnl a user will want packages to use other packages he previously installed
|
||||
dnl with the same --prefix option.
|
||||
dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate
|
||||
dnl libraries, but is otherwise very convenient.
|
||||
AC_DEFUN([AC_LIB_PREFIX],
|
||||
[
|
||||
AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
|
||||
AC_REQUIRE([AC_PROG_CC])
|
||||
AC_REQUIRE([AC_CANONICAL_HOST])
|
||||
AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
|
||||
AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
|
||||
dnl By default, look in $includedir and $libdir.
|
||||
use_additional=yes
|
||||
AC_LIB_WITH_FINAL_PREFIX([
|
||||
eval additional_includedir=\"$includedir\"
|
||||
eval additional_libdir=\"$libdir\"
|
||||
])
|
||||
AC_LIB_ARG_WITH([lib-prefix],
|
||||
[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
|
||||
--without-lib-prefix don't search for libraries in includedir and libdir],
|
||||
[
|
||||
if test "X$withval" = "Xno"; then
|
||||
use_additional=no
|
||||
else
|
||||
if test "X$withval" = "X"; then
|
||||
AC_LIB_WITH_FINAL_PREFIX([
|
||||
eval additional_includedir=\"$includedir\"
|
||||
eval additional_libdir=\"$libdir\"
|
||||
])
|
||||
else
|
||||
additional_includedir="$withval/include"
|
||||
additional_libdir="$withval/$acl_libdirstem"
|
||||
fi
|
||||
fi
|
||||
])
|
||||
if test $use_additional = yes; then
|
||||
dnl Potentially add $additional_includedir to $CPPFLAGS.
|
||||
dnl But don't add it
|
||||
dnl 1. if it's the standard /usr/include,
|
||||
dnl 2. if it's already present in $CPPFLAGS,
|
||||
dnl 3. if it's /usr/local/include and we are using GCC on Linux,
|
||||
dnl 4. if it doesn't exist as a directory.
|
||||
if test "X$additional_includedir" != "X/usr/include"; then
|
||||
haveit=
|
||||
for x in $CPPFLAGS; do
|
||||
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
|
||||
if test "X$x" = "X-I$additional_includedir"; then
|
||||
haveit=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$haveit"; then
|
||||
if test "X$additional_includedir" = "X/usr/local/include"; then
|
||||
if test -n "$GCC"; then
|
||||
case $host_os in
|
||||
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
if test -z "$haveit"; then
|
||||
if test -d "$additional_includedir"; then
|
||||
dnl Really add $additional_includedir to $CPPFLAGS.
|
||||
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
dnl Potentially add $additional_libdir to $LDFLAGS.
|
||||
dnl But don't add it
|
||||
dnl 1. if it's the standard /usr/lib,
|
||||
dnl 2. if it's already present in $LDFLAGS,
|
||||
dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
|
||||
dnl 4. if it doesn't exist as a directory.
|
||||
if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
|
||||
haveit=
|
||||
for x in $LDFLAGS; do
|
||||
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
|
||||
if test "X$x" = "X-L$additional_libdir"; then
|
||||
haveit=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$haveit"; then
|
||||
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
|
||||
if test -n "$GCC"; then
|
||||
case $host_os in
|
||||
linux*) haveit=yes;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
if test -z "$haveit"; then
|
||||
if test -d "$additional_libdir"; then
|
||||
dnl Really add $additional_libdir to $LDFLAGS.
|
||||
LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
])
|
||||
|
||||
dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix,
|
||||
dnl acl_final_exec_prefix, containing the values to which $prefix and
|
||||
dnl $exec_prefix will expand at the end of the configure script.
|
||||
AC_DEFUN([AC_LIB_PREPARE_PREFIX],
|
||||
[
|
||||
dnl Unfortunately, prefix and exec_prefix get only finally determined
|
||||
dnl at the end of configure.
|
||||
if test "X$prefix" = "XNONE"; then
|
||||
acl_final_prefix="$ac_default_prefix"
|
||||
else
|
||||
acl_final_prefix="$prefix"
|
||||
fi
|
||||
if test "X$exec_prefix" = "XNONE"; then
|
||||
acl_final_exec_prefix='${prefix}'
|
||||
else
|
||||
acl_final_exec_prefix="$exec_prefix"
|
||||
fi
|
||||
acl_save_prefix="$prefix"
|
||||
prefix="$acl_final_prefix"
|
||||
eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
|
||||
prefix="$acl_save_prefix"
|
||||
])
|
||||
|
||||
dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the
|
||||
dnl variables prefix and exec_prefix bound to the values they will have
|
||||
dnl at the end of the configure script.
|
||||
AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX],
|
||||
[
|
||||
acl_save_prefix="$prefix"
|
||||
prefix="$acl_final_prefix"
|
||||
acl_save_exec_prefix="$exec_prefix"
|
||||
exec_prefix="$acl_final_exec_prefix"
|
||||
$1
|
||||
exec_prefix="$acl_save_exec_prefix"
|
||||
prefix="$acl_save_prefix"
|
||||
])
|
||||
|
||||
dnl AC_LIB_PREPARE_MULTILIB creates
|
||||
dnl - a variable acl_libdirstem, containing the basename of the libdir, either
|
||||
dnl "lib" or "lib64" or "lib/64",
|
||||
dnl - a variable acl_libdirstem2, as a secondary possible value for
|
||||
dnl acl_libdirstem, either the same as acl_libdirstem or "lib/sparcv9" or
|
||||
dnl "lib/amd64".
|
||||
AC_DEFUN([AC_LIB_PREPARE_MULTILIB],
|
||||
[
|
||||
dnl There is no formal standard regarding lib and lib64.
|
||||
dnl On glibc systems, the current practice is that on a system supporting
|
||||
dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under
|
||||
dnl $prefix/lib64 and 32-bit libraries go under $prefix/lib. We determine
|
||||
dnl the compiler's default mode by looking at the compiler's library search
|
||||
dnl path. If at least one of its elements ends in /lib64 or points to a
|
||||
dnl directory whose absolute pathname ends in /lib64, we assume a 64-bit ABI.
|
||||
dnl Otherwise we use the default, namely "lib".
|
||||
dnl On Solaris systems, the current practice is that on a system supporting
|
||||
dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under
|
||||
dnl $prefix/lib/64 (which is a symlink to either $prefix/lib/sparcv9 or
|
||||
dnl $prefix/lib/amd64) and 32-bit libraries go under $prefix/lib.
|
||||
AC_REQUIRE([AC_CANONICAL_HOST])
|
||||
acl_libdirstem=lib
|
||||
acl_libdirstem2=
|
||||
case "$host_os" in
|
||||
solaris*)
|
||||
dnl See Solaris 10 Software Developer Collection > Solaris 64-bit Developer's Guide > The Development Environment
|
||||
dnl <http://docs.sun.com/app/docs/doc/816-5138/dev-env?l=en&a=view>.
|
||||
dnl "Portable Makefiles should refer to any library directories using the 64 symbolic link."
|
||||
dnl But we want to recognize the sparcv9 or amd64 subdirectory also if the
|
||||
dnl symlink is missing, so we set acl_libdirstem2 too.
|
||||
AC_CACHE_CHECK([for 64-bit host], [gl_cv_solaris_64bit],
|
||||
[AC_EGREP_CPP([sixtyfour bits], [
|
||||
#ifdef _LP64
|
||||
sixtyfour bits
|
||||
#endif
|
||||
], [gl_cv_solaris_64bit=yes], [gl_cv_solaris_64bit=no])
|
||||
])
|
||||
if test $gl_cv_solaris_64bit = yes; then
|
||||
acl_libdirstem=lib/64
|
||||
case "$host_cpu" in
|
||||
sparc*) acl_libdirstem2=lib/sparcv9 ;;
|
||||
i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
|
||||
esac
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
|
||||
if test -n "$searchpath"; then
|
||||
acl_save_IFS="${IFS= }"; IFS=":"
|
||||
for searchdir in $searchpath; do
|
||||
if test -d "$searchdir"; then
|
||||
case "$searchdir" in
|
||||
*/lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
|
||||
*/../ | */.. )
|
||||
# Better ignore directories of this form. They are misleading.
|
||||
;;
|
||||
*) searchdir=`cd "$searchdir" && pwd`
|
||||
case "$searchdir" in
|
||||
*/lib64 ) acl_libdirstem=lib64 ;;
|
||||
esac ;;
|
||||
esac
|
||||
fi
|
||||
done
|
||||
IFS="$acl_save_IFS"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
|
||||
])
|
||||
8388
powertop-v2.10/m4/libtool.m4
vendored
Normal file
8388
powertop-v2.10/m4/libtool.m4
vendored
Normal file
File diff suppressed because it is too large
Load Diff
437
powertop-v2.10/m4/ltoptions.m4
vendored
Normal file
437
powertop-v2.10/m4/ltoptions.m4
vendored
Normal file
@ -0,0 +1,437 @@
|
||||
# Helper functions for option handling. -*- Autoconf -*-
|
||||
#
|
||||
# Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software
|
||||
# Foundation, Inc.
|
||||
# Written by Gary V. Vaughan, 2004
|
||||
#
|
||||
# This file is free software; the Free Software Foundation gives
|
||||
# unlimited permission to copy and/or distribute it, with or without
|
||||
# modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 8 ltoptions.m4
|
||||
|
||||
# This is to help aclocal find these macros, as it can't see m4_define.
|
||||
AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
|
||||
|
||||
|
||||
# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
|
||||
# ------------------------------------------
|
||||
m4_define([_LT_MANGLE_OPTION],
|
||||
[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
|
||||
|
||||
|
||||
# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
|
||||
# ---------------------------------------
|
||||
# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
|
||||
# matching handler defined, dispatch to it. Other OPTION-NAMEs are
|
||||
# saved as a flag.
|
||||
m4_define([_LT_SET_OPTION],
|
||||
[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
|
||||
m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
|
||||
_LT_MANGLE_DEFUN([$1], [$2]),
|
||||
[m4_warning([Unknown $1 option '$2'])])[]dnl
|
||||
])
|
||||
|
||||
|
||||
# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
|
||||
# ------------------------------------------------------------
|
||||
# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
|
||||
m4_define([_LT_IF_OPTION],
|
||||
[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
|
||||
|
||||
|
||||
# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
|
||||
# -------------------------------------------------------
|
||||
# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
|
||||
# are set.
|
||||
m4_define([_LT_UNLESS_OPTIONS],
|
||||
[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
|
||||
[m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
|
||||
[m4_define([$0_found])])])[]dnl
|
||||
m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
|
||||
])[]dnl
|
||||
])
|
||||
|
||||
|
||||
# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
|
||||
# ----------------------------------------
|
||||
# OPTION-LIST is a space-separated list of Libtool options associated
|
||||
# with MACRO-NAME. If any OPTION has a matching handler declared with
|
||||
# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
|
||||
# the unknown option and exit.
|
||||
m4_defun([_LT_SET_OPTIONS],
|
||||
[# Set options
|
||||
m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
|
||||
[_LT_SET_OPTION([$1], _LT_Option)])
|
||||
|
||||
m4_if([$1],[LT_INIT],[
|
||||
dnl
|
||||
dnl Simply set some default values (i.e off) if boolean options were not
|
||||
dnl specified:
|
||||
_LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
|
||||
])
|
||||
_LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
|
||||
])
|
||||
dnl
|
||||
dnl If no reference was made to various pairs of opposing options, then
|
||||
dnl we run the default mode handler for the pair. For example, if neither
|
||||
dnl 'shared' nor 'disable-shared' was passed, we enable building of shared
|
||||
dnl archives by default:
|
||||
_LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
|
||||
_LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
|
||||
_LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
|
||||
_LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
|
||||
[_LT_ENABLE_FAST_INSTALL])
|
||||
_LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4],
|
||||
[_LT_WITH_AIX_SONAME([aix])])
|
||||
])
|
||||
])# _LT_SET_OPTIONS
|
||||
|
||||
|
||||
## --------------------------------- ##
|
||||
## Macros to handle LT_INIT options. ##
|
||||
## --------------------------------- ##
|
||||
|
||||
# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
|
||||
# -----------------------------------------
|
||||
m4_define([_LT_MANGLE_DEFUN],
|
||||
[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
|
||||
|
||||
|
||||
# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
|
||||
# -----------------------------------------------
|
||||
m4_define([LT_OPTION_DEFINE],
|
||||
[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
|
||||
])# LT_OPTION_DEFINE
|
||||
|
||||
|
||||
# dlopen
|
||||
# ------
|
||||
LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
|
||||
])
|
||||
|
||||
AU_DEFUN([AC_LIBTOOL_DLOPEN],
|
||||
[_LT_SET_OPTION([LT_INIT], [dlopen])
|
||||
AC_DIAGNOSE([obsolete],
|
||||
[$0: Remove this warning and the call to _LT_SET_OPTION when you
|
||||
put the 'dlopen' option into LT_INIT's first parameter.])
|
||||
])
|
||||
|
||||
dnl aclocal-1.4 backwards compatibility:
|
||||
dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
|
||||
|
||||
|
||||
# win32-dll
|
||||
# ---------
|
||||
# Declare package support for building win32 dll's.
|
||||
LT_OPTION_DEFINE([LT_INIT], [win32-dll],
|
||||
[enable_win32_dll=yes
|
||||
|
||||
case $host in
|
||||
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
|
||||
AC_CHECK_TOOL(AS, as, false)
|
||||
AC_CHECK_TOOL(DLLTOOL, dlltool, false)
|
||||
AC_CHECK_TOOL(OBJDUMP, objdump, false)
|
||||
;;
|
||||
esac
|
||||
|
||||
test -z "$AS" && AS=as
|
||||
_LT_DECL([], [AS], [1], [Assembler program])dnl
|
||||
|
||||
test -z "$DLLTOOL" && DLLTOOL=dlltool
|
||||
_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
|
||||
|
||||
test -z "$OBJDUMP" && OBJDUMP=objdump
|
||||
_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
|
||||
])# win32-dll
|
||||
|
||||
AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
|
||||
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
||||
_LT_SET_OPTION([LT_INIT], [win32-dll])
|
||||
AC_DIAGNOSE([obsolete],
|
||||
[$0: Remove this warning and the call to _LT_SET_OPTION when you
|
||||
put the 'win32-dll' option into LT_INIT's first parameter.])
|
||||
])
|
||||
|
||||
dnl aclocal-1.4 backwards compatibility:
|
||||
dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
|
||||
|
||||
|
||||
# _LT_ENABLE_SHARED([DEFAULT])
|
||||
# ----------------------------
|
||||
# implement the --enable-shared flag, and supports the 'shared' and
|
||||
# 'disable-shared' LT_INIT options.
|
||||
# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
|
||||
m4_define([_LT_ENABLE_SHARED],
|
||||
[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
|
||||
AC_ARG_ENABLE([shared],
|
||||
[AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
|
||||
[build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
|
||||
[p=${PACKAGE-default}
|
||||
case $enableval in
|
||||
yes) enable_shared=yes ;;
|
||||
no) enable_shared=no ;;
|
||||
*)
|
||||
enable_shared=no
|
||||
# Look at the argument we got. We use all the common list separators.
|
||||
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
|
||||
for pkg in $enableval; do
|
||||
IFS=$lt_save_ifs
|
||||
if test "X$pkg" = "X$p"; then
|
||||
enable_shared=yes
|
||||
fi
|
||||
done
|
||||
IFS=$lt_save_ifs
|
||||
;;
|
||||
esac],
|
||||
[enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
|
||||
|
||||
_LT_DECL([build_libtool_libs], [enable_shared], [0],
|
||||
[Whether or not to build shared libraries])
|
||||
])# _LT_ENABLE_SHARED
|
||||
|
||||
LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
|
||||
LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
|
||||
|
||||
# Old names:
|
||||
AC_DEFUN([AC_ENABLE_SHARED],
|
||||
[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
|
||||
])
|
||||
|
||||
AC_DEFUN([AC_DISABLE_SHARED],
|
||||
[_LT_SET_OPTION([LT_INIT], [disable-shared])
|
||||
])
|
||||
|
||||
AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
|
||||
AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
|
||||
|
||||
dnl aclocal-1.4 backwards compatibility:
|
||||
dnl AC_DEFUN([AM_ENABLE_SHARED], [])
|
||||
dnl AC_DEFUN([AM_DISABLE_SHARED], [])
|
||||
|
||||
|
||||
|
||||
# _LT_ENABLE_STATIC([DEFAULT])
|
||||
# ----------------------------
|
||||
# implement the --enable-static flag, and support the 'static' and
|
||||
# 'disable-static' LT_INIT options.
|
||||
# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
|
||||
m4_define([_LT_ENABLE_STATIC],
|
||||
[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
|
||||
AC_ARG_ENABLE([static],
|
||||
[AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
|
||||
[build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
|
||||
[p=${PACKAGE-default}
|
||||
case $enableval in
|
||||
yes) enable_static=yes ;;
|
||||
no) enable_static=no ;;
|
||||
*)
|
||||
enable_static=no
|
||||
# Look at the argument we got. We use all the common list separators.
|
||||
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
|
||||
for pkg in $enableval; do
|
||||
IFS=$lt_save_ifs
|
||||
if test "X$pkg" = "X$p"; then
|
||||
enable_static=yes
|
||||
fi
|
||||
done
|
||||
IFS=$lt_save_ifs
|
||||
;;
|
||||
esac],
|
||||
[enable_static=]_LT_ENABLE_STATIC_DEFAULT)
|
||||
|
||||
_LT_DECL([build_old_libs], [enable_static], [0],
|
||||
[Whether or not to build static libraries])
|
||||
])# _LT_ENABLE_STATIC
|
||||
|
||||
LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
|
||||
LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
|
||||
|
||||
# Old names:
|
||||
AC_DEFUN([AC_ENABLE_STATIC],
|
||||
[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
|
||||
])
|
||||
|
||||
AC_DEFUN([AC_DISABLE_STATIC],
|
||||
[_LT_SET_OPTION([LT_INIT], [disable-static])
|
||||
])
|
||||
|
||||
AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
|
||||
AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
|
||||
|
||||
dnl aclocal-1.4 backwards compatibility:
|
||||
dnl AC_DEFUN([AM_ENABLE_STATIC], [])
|
||||
dnl AC_DEFUN([AM_DISABLE_STATIC], [])
|
||||
|
||||
|
||||
|
||||
# _LT_ENABLE_FAST_INSTALL([DEFAULT])
|
||||
# ----------------------------------
|
||||
# implement the --enable-fast-install flag, and support the 'fast-install'
|
||||
# and 'disable-fast-install' LT_INIT options.
|
||||
# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
|
||||
m4_define([_LT_ENABLE_FAST_INSTALL],
|
||||
[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
|
||||
AC_ARG_ENABLE([fast-install],
|
||||
[AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
|
||||
[optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
|
||||
[p=${PACKAGE-default}
|
||||
case $enableval in
|
||||
yes) enable_fast_install=yes ;;
|
||||
no) enable_fast_install=no ;;
|
||||
*)
|
||||
enable_fast_install=no
|
||||
# Look at the argument we got. We use all the common list separators.
|
||||
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
|
||||
for pkg in $enableval; do
|
||||
IFS=$lt_save_ifs
|
||||
if test "X$pkg" = "X$p"; then
|
||||
enable_fast_install=yes
|
||||
fi
|
||||
done
|
||||
IFS=$lt_save_ifs
|
||||
;;
|
||||
esac],
|
||||
[enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
|
||||
|
||||
_LT_DECL([fast_install], [enable_fast_install], [0],
|
||||
[Whether or not to optimize for fast installation])dnl
|
||||
])# _LT_ENABLE_FAST_INSTALL
|
||||
|
||||
LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
|
||||
LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
|
||||
|
||||
# Old names:
|
||||
AU_DEFUN([AC_ENABLE_FAST_INSTALL],
|
||||
[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
|
||||
AC_DIAGNOSE([obsolete],
|
||||
[$0: Remove this warning and the call to _LT_SET_OPTION when you put
|
||||
the 'fast-install' option into LT_INIT's first parameter.])
|
||||
])
|
||||
|
||||
AU_DEFUN([AC_DISABLE_FAST_INSTALL],
|
||||
[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
|
||||
AC_DIAGNOSE([obsolete],
|
||||
[$0: Remove this warning and the call to _LT_SET_OPTION when you put
|
||||
the 'disable-fast-install' option into LT_INIT's first parameter.])
|
||||
])
|
||||
|
||||
dnl aclocal-1.4 backwards compatibility:
|
||||
dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
|
||||
dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
|
||||
|
||||
|
||||
# _LT_WITH_AIX_SONAME([DEFAULT])
|
||||
# ----------------------------------
|
||||
# implement the --with-aix-soname flag, and support the `aix-soname=aix'
|
||||
# and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT
|
||||
# is either `aix', `both' or `svr4'. If omitted, it defaults to `aix'.
|
||||
m4_define([_LT_WITH_AIX_SONAME],
|
||||
[m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl
|
||||
shared_archive_member_spec=
|
||||
case $host,$enable_shared in
|
||||
power*-*-aix[[5-9]]*,yes)
|
||||
AC_MSG_CHECKING([which variant of shared library versioning to provide])
|
||||
AC_ARG_WITH([aix-soname],
|
||||
[AS_HELP_STRING([--with-aix-soname=aix|svr4|both],
|
||||
[shared library versioning (aka "SONAME") variant to provide on AIX, @<:@default=]_LT_WITH_AIX_SONAME_DEFAULT[@:>@.])],
|
||||
[case $withval in
|
||||
aix|svr4|both)
|
||||
;;
|
||||
*)
|
||||
AC_MSG_ERROR([Unknown argument to --with-aix-soname])
|
||||
;;
|
||||
esac
|
||||
lt_cv_with_aix_soname=$with_aix_soname],
|
||||
[AC_CACHE_VAL([lt_cv_with_aix_soname],
|
||||
[lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT)
|
||||
with_aix_soname=$lt_cv_with_aix_soname])
|
||||
AC_MSG_RESULT([$with_aix_soname])
|
||||
if test aix != "$with_aix_soname"; then
|
||||
# For the AIX way of multilib, we name the shared archive member
|
||||
# based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
|
||||
# and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
|
||||
# Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
|
||||
# the AIX toolchain works better with OBJECT_MODE set (default 32).
|
||||
if test 64 = "${OBJECT_MODE-32}"; then
|
||||
shared_archive_member_spec=shr_64
|
||||
else
|
||||
shared_archive_member_spec=shr
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
with_aix_soname=aix
|
||||
;;
|
||||
esac
|
||||
|
||||
_LT_DECL([], [shared_archive_member_spec], [0],
|
||||
[Shared archive member basename, for filename based shared library versioning on AIX])dnl
|
||||
])# _LT_WITH_AIX_SONAME
|
||||
|
||||
LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])])
|
||||
LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])])
|
||||
LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])])
|
||||
|
||||
|
||||
# _LT_WITH_PIC([MODE])
|
||||
# --------------------
|
||||
# implement the --with-pic flag, and support the 'pic-only' and 'no-pic'
|
||||
# LT_INIT options.
|
||||
# MODE is either 'yes' or 'no'. If omitted, it defaults to 'both'.
|
||||
m4_define([_LT_WITH_PIC],
|
||||
[AC_ARG_WITH([pic],
|
||||
[AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
|
||||
[try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
|
||||
[lt_p=${PACKAGE-default}
|
||||
case $withval in
|
||||
yes|no) pic_mode=$withval ;;
|
||||
*)
|
||||
pic_mode=default
|
||||
# Look at the argument we got. We use all the common list separators.
|
||||
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
|
||||
for lt_pkg in $withval; do
|
||||
IFS=$lt_save_ifs
|
||||
if test "X$lt_pkg" = "X$lt_p"; then
|
||||
pic_mode=yes
|
||||
fi
|
||||
done
|
||||
IFS=$lt_save_ifs
|
||||
;;
|
||||
esac],
|
||||
[pic_mode=m4_default([$1], [default])])
|
||||
|
||||
_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
|
||||
])# _LT_WITH_PIC
|
||||
|
||||
LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
|
||||
LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
|
||||
|
||||
# Old name:
|
||||
AU_DEFUN([AC_LIBTOOL_PICMODE],
|
||||
[_LT_SET_OPTION([LT_INIT], [pic-only])
|
||||
AC_DIAGNOSE([obsolete],
|
||||
[$0: Remove this warning and the call to _LT_SET_OPTION when you
|
||||
put the 'pic-only' option into LT_INIT's first parameter.])
|
||||
])
|
||||
|
||||
dnl aclocal-1.4 backwards compatibility:
|
||||
dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
|
||||
|
||||
## ----------------- ##
|
||||
## LTDL_INIT Options ##
|
||||
## ----------------- ##
|
||||
|
||||
m4_define([_LTDL_MODE], [])
|
||||
LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
|
||||
[m4_define([_LTDL_MODE], [nonrecursive])])
|
||||
LT_OPTION_DEFINE([LTDL_INIT], [recursive],
|
||||
[m4_define([_LTDL_MODE], [recursive])])
|
||||
LT_OPTION_DEFINE([LTDL_INIT], [subproject],
|
||||
[m4_define([_LTDL_MODE], [subproject])])
|
||||
|
||||
m4_define([_LTDL_TYPE], [])
|
||||
LT_OPTION_DEFINE([LTDL_INIT], [installable],
|
||||
[m4_define([_LTDL_TYPE], [installable])])
|
||||
LT_OPTION_DEFINE([LTDL_INIT], [convenience],
|
||||
[m4_define([_LTDL_TYPE], [convenience])])
|
||||
124
powertop-v2.10/m4/ltsugar.m4
vendored
Normal file
124
powertop-v2.10/m4/ltsugar.m4
vendored
Normal file
@ -0,0 +1,124 @@
|
||||
# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
|
||||
#
|
||||
# Copyright (C) 2004-2005, 2007-2008, 2011-2015 Free Software
|
||||
# Foundation, Inc.
|
||||
# Written by Gary V. Vaughan, 2004
|
||||
#
|
||||
# This file is free software; the Free Software Foundation gives
|
||||
# unlimited permission to copy and/or distribute it, with or without
|
||||
# modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 6 ltsugar.m4
|
||||
|
||||
# This is to help aclocal find these macros, as it can't see m4_define.
|
||||
AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
|
||||
|
||||
|
||||
# lt_join(SEP, ARG1, [ARG2...])
|
||||
# -----------------------------
|
||||
# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
|
||||
# associated separator.
|
||||
# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
|
||||
# versions in m4sugar had bugs.
|
||||
m4_define([lt_join],
|
||||
[m4_if([$#], [1], [],
|
||||
[$#], [2], [[$2]],
|
||||
[m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
|
||||
m4_define([_lt_join],
|
||||
[m4_if([$#$2], [2], [],
|
||||
[m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
|
||||
|
||||
|
||||
# lt_car(LIST)
|
||||
# lt_cdr(LIST)
|
||||
# ------------
|
||||
# Manipulate m4 lists.
|
||||
# These macros are necessary as long as will still need to support
|
||||
# Autoconf-2.59, which quotes differently.
|
||||
m4_define([lt_car], [[$1]])
|
||||
m4_define([lt_cdr],
|
||||
[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
|
||||
[$#], 1, [],
|
||||
[m4_dquote(m4_shift($@))])])
|
||||
m4_define([lt_unquote], $1)
|
||||
|
||||
|
||||
# lt_append(MACRO-NAME, STRING, [SEPARATOR])
|
||||
# ------------------------------------------
|
||||
# Redefine MACRO-NAME to hold its former content plus 'SEPARATOR''STRING'.
|
||||
# Note that neither SEPARATOR nor STRING are expanded; they are appended
|
||||
# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
|
||||
# No SEPARATOR is output if MACRO-NAME was previously undefined (different
|
||||
# than defined and empty).
|
||||
#
|
||||
# This macro is needed until we can rely on Autoconf 2.62, since earlier
|
||||
# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
|
||||
m4_define([lt_append],
|
||||
[m4_define([$1],
|
||||
m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
|
||||
|
||||
|
||||
|
||||
# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
|
||||
# ----------------------------------------------------------
|
||||
# Produce a SEP delimited list of all paired combinations of elements of
|
||||
# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
|
||||
# has the form PREFIXmINFIXSUFFIXn.
|
||||
# Needed until we can rely on m4_combine added in Autoconf 2.62.
|
||||
m4_define([lt_combine],
|
||||
[m4_if(m4_eval([$# > 3]), [1],
|
||||
[m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
|
||||
[[m4_foreach([_Lt_prefix], [$2],
|
||||
[m4_foreach([_Lt_suffix],
|
||||
]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
|
||||
[_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
|
||||
|
||||
|
||||
# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
|
||||
# -----------------------------------------------------------------------
|
||||
# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
|
||||
# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
|
||||
m4_define([lt_if_append_uniq],
|
||||
[m4_ifdef([$1],
|
||||
[m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
|
||||
[lt_append([$1], [$2], [$3])$4],
|
||||
[$5])],
|
||||
[lt_append([$1], [$2], [$3])$4])])
|
||||
|
||||
|
||||
# lt_dict_add(DICT, KEY, VALUE)
|
||||
# -----------------------------
|
||||
m4_define([lt_dict_add],
|
||||
[m4_define([$1($2)], [$3])])
|
||||
|
||||
|
||||
# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
|
||||
# --------------------------------------------
|
||||
m4_define([lt_dict_add_subkey],
|
||||
[m4_define([$1($2:$3)], [$4])])
|
||||
|
||||
|
||||
# lt_dict_fetch(DICT, KEY, [SUBKEY])
|
||||
# ----------------------------------
|
||||
m4_define([lt_dict_fetch],
|
||||
[m4_ifval([$3],
|
||||
m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
|
||||
m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
|
||||
|
||||
|
||||
# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
|
||||
# -----------------------------------------------------------------
|
||||
m4_define([lt_if_dict_fetch],
|
||||
[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
|
||||
[$5],
|
||||
[$6])])
|
||||
|
||||
|
||||
# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
|
||||
# --------------------------------------------------------------
|
||||
m4_define([lt_dict_filter],
|
||||
[m4_if([$5], [], [],
|
||||
[lt_join(m4_quote(m4_default([$4], [[, ]])),
|
||||
lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
|
||||
[lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
|
||||
])
|
||||
23
powertop-v2.10/m4/ltversion.m4
vendored
Normal file
23
powertop-v2.10/m4/ltversion.m4
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
# ltversion.m4 -- version numbers -*- Autoconf -*-
|
||||
#
|
||||
# Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc.
|
||||
# Written by Scott James Remnant, 2004
|
||||
#
|
||||
# This file is free software; the Free Software Foundation gives
|
||||
# unlimited permission to copy and/or distribute it, with or without
|
||||
# modifications, as long as this notice is preserved.
|
||||
|
||||
# @configure_input@
|
||||
|
||||
# serial 4179 ltversion.m4
|
||||
# This file is part of GNU Libtool
|
||||
|
||||
m4_define([LT_PACKAGE_VERSION], [2.4.6])
|
||||
m4_define([LT_PACKAGE_REVISION], [2.4.6])
|
||||
|
||||
AC_DEFUN([LTVERSION_VERSION],
|
||||
[macro_version='2.4.6'
|
||||
macro_revision='2.4.6'
|
||||
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
|
||||
_LT_DECL(, macro_revision, 0)
|
||||
])
|
||||
99
powertop-v2.10/m4/lt~obsolete.m4
vendored
Normal file
99
powertop-v2.10/m4/lt~obsolete.m4
vendored
Normal file
@ -0,0 +1,99 @@
|
||||
# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
|
||||
#
|
||||
# Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software
|
||||
# Foundation, Inc.
|
||||
# Written by Scott James Remnant, 2004.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation gives
|
||||
# unlimited permission to copy and/or distribute it, with or without
|
||||
# modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 5 lt~obsolete.m4
|
||||
|
||||
# These exist entirely to fool aclocal when bootstrapping libtool.
|
||||
#
|
||||
# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN),
|
||||
# which have later been changed to m4_define as they aren't part of the
|
||||
# exported API, or moved to Autoconf or Automake where they belong.
|
||||
#
|
||||
# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN
|
||||
# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
|
||||
# using a macro with the same name in our local m4/libtool.m4 it'll
|
||||
# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
|
||||
# and doesn't know about Autoconf macros at all.)
|
||||
#
|
||||
# So we provide this file, which has a silly filename so it's always
|
||||
# included after everything else. This provides aclocal with the
|
||||
# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
|
||||
# because those macros already exist, or will be overwritten later.
|
||||
# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
|
||||
#
|
||||
# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
|
||||
# Yes, that means every name once taken will need to remain here until
|
||||
# we give up compatibility with versions before 1.7, at which point
|
||||
# we need to keep only those names which we still refer to.
|
||||
|
||||
# This is to help aclocal find these macros, as it can't see m4_define.
|
||||
AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
|
||||
|
||||
m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
|
||||
m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])])
|
||||
m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
|
||||
m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])])
|
||||
m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
|
||||
m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])])
|
||||
m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])])
|
||||
m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
|
||||
m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])])
|
||||
m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])])
|
||||
m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])])
|
||||
m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
|
||||
m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
|
||||
m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
|
||||
m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
|
||||
m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
|
||||
m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])])
|
||||
m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
|
||||
m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
|
||||
m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])])
|
||||
m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])])
|
||||
m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
|
||||
m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
|
||||
m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
|
||||
m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
|
||||
m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
|
||||
m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
|
||||
m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
|
||||
m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])])
|
||||
m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])])
|
||||
m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])])
|
||||
m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
|
||||
m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
|
||||
m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])])
|
||||
m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])])
|
||||
m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
|
||||
m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
|
||||
m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])])
|
||||
m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
|
||||
m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
|
||||
m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
|
||||
m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
|
||||
m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
|
||||
m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
|
||||
m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
|
||||
m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
|
||||
m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
|
||||
m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
|
||||
m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
|
||||
m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
|
||||
m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
|
||||
m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
|
||||
m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
|
||||
m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
|
||||
m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
|
||||
m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])])
|
||||
m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
|
||||
m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
|
||||
m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])])
|
||||
m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])])
|
||||
m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])
|
||||
32
powertop-v2.10/m4/nls.m4
Normal file
32
powertop-v2.10/m4/nls.m4
Normal file
@ -0,0 +1,32 @@
|
||||
# nls.m4 serial 5 (gettext-0.18)
|
||||
dnl Copyright (C) 1995-2003, 2005-2006, 2008-2013 Free Software Foundation,
|
||||
dnl Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
dnl with or without modifications, as long as this notice is preserved.
|
||||
dnl
|
||||
dnl This file can can be used in projects which are not available under
|
||||
dnl the GNU General Public License or the GNU Library General Public
|
||||
dnl License but which still want to provide support for the GNU gettext
|
||||
dnl functionality.
|
||||
dnl Please note that the actual code of the GNU gettext library is covered
|
||||
dnl by the GNU Library General Public License, and the rest of the GNU
|
||||
dnl gettext package package is covered by the GNU General Public License.
|
||||
dnl They are *not* in the public domain.
|
||||
|
||||
dnl Authors:
|
||||
dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
|
||||
dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
|
||||
|
||||
AC_PREREQ([2.50])
|
||||
|
||||
AC_DEFUN([AM_NLS],
|
||||
[
|
||||
AC_MSG_CHECKING([whether NLS is requested])
|
||||
dnl Default is enabled NLS
|
||||
AC_ARG_ENABLE([nls],
|
||||
[ --disable-nls do not use Native Language Support],
|
||||
USE_NLS=$enableval, USE_NLS=yes)
|
||||
AC_MSG_RESULT([$USE_NLS])
|
||||
AC_SUBST([USE_NLS])
|
||||
])
|
||||
275
powertop-v2.10/m4/pkg.m4
Normal file
275
powertop-v2.10/m4/pkg.m4
Normal file
@ -0,0 +1,275 @@
|
||||
dnl pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
|
||||
dnl serial 11 (pkg-config-0.29.1)
|
||||
dnl
|
||||
dnl Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
|
||||
dnl Copyright © 2012-2015 Dan Nicholson <dbn.lists@gmail.com>
|
||||
dnl
|
||||
dnl This program is free software; you can redistribute it and/or modify
|
||||
dnl it under the terms of the GNU General Public License as published by
|
||||
dnl the Free Software Foundation; either version 2 of the License, or
|
||||
dnl (at your option) any later version.
|
||||
dnl
|
||||
dnl This program is distributed in the hope that it will be useful, but
|
||||
dnl WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
dnl General Public License for more details.
|
||||
dnl
|
||||
dnl You should have received a copy of the GNU General Public License
|
||||
dnl along with this program; if not, write to the Free Software
|
||||
dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
dnl 02111-1307, USA.
|
||||
dnl
|
||||
dnl As a special exception to the GNU General Public License, if you
|
||||
dnl distribute this file as part of a program that contains a
|
||||
dnl configuration script generated by Autoconf, you may include it under
|
||||
dnl the same distribution terms that you use for the rest of that
|
||||
dnl program.
|
||||
|
||||
dnl PKG_PREREQ(MIN-VERSION)
|
||||
dnl -----------------------
|
||||
dnl Since: 0.29
|
||||
dnl
|
||||
dnl Verify that the version of the pkg-config macros are at least
|
||||
dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's
|
||||
dnl installed version of pkg-config, this checks the developer's version
|
||||
dnl of pkg.m4 when generating configure.
|
||||
dnl
|
||||
dnl To ensure that this macro is defined, also add:
|
||||
dnl m4_ifndef([PKG_PREREQ],
|
||||
dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])])
|
||||
dnl
|
||||
dnl See the "Since" comment for each macro you use to see what version
|
||||
dnl of the macros you require.
|
||||
m4_defun([PKG_PREREQ],
|
||||
[m4_define([PKG_MACROS_VERSION], [0.29.1])
|
||||
m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1,
|
||||
[m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])])
|
||||
])dnl PKG_PREREQ
|
||||
|
||||
dnl PKG_PROG_PKG_CONFIG([MIN-VERSION])
|
||||
dnl ----------------------------------
|
||||
dnl Since: 0.16
|
||||
dnl
|
||||
dnl Search for the pkg-config tool and set the PKG_CONFIG variable to
|
||||
dnl first found in the path. Checks that the version of pkg-config found
|
||||
dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is
|
||||
dnl used since that's the first version where most current features of
|
||||
dnl pkg-config existed.
|
||||
AC_DEFUN([PKG_PROG_PKG_CONFIG],
|
||||
[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
|
||||
m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
|
||||
m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
|
||||
AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
|
||||
AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
|
||||
AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
|
||||
|
||||
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
|
||||
AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
|
||||
fi
|
||||
if test -n "$PKG_CONFIG"; then
|
||||
_pkg_min_version=m4_default([$1], [0.9.0])
|
||||
AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
|
||||
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
|
||||
AC_MSG_RESULT([yes])
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
PKG_CONFIG=""
|
||||
fi
|
||||
fi[]dnl
|
||||
])dnl PKG_PROG_PKG_CONFIG
|
||||
|
||||
dnl PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
|
||||
dnl -------------------------------------------------------------------
|
||||
dnl Since: 0.18
|
||||
dnl
|
||||
dnl Check to see whether a particular set of modules exists. Similar to
|
||||
dnl PKG_CHECK_MODULES(), but does not set variables or print errors.
|
||||
dnl
|
||||
dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
|
||||
dnl only at the first occurence in configure.ac, so if the first place
|
||||
dnl it's called might be skipped (such as if it is within an "if", you
|
||||
dnl have to call PKG_CHECK_EXISTS manually
|
||||
AC_DEFUN([PKG_CHECK_EXISTS],
|
||||
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
|
||||
if test -n "$PKG_CONFIG" && \
|
||||
AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
|
||||
m4_default([$2], [:])
|
||||
m4_ifvaln([$3], [else
|
||||
$3])dnl
|
||||
fi])
|
||||
|
||||
dnl _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
|
||||
dnl ---------------------------------------------
|
||||
dnl Internal wrapper calling pkg-config via PKG_CONFIG and setting
|
||||
dnl pkg_failed based on the result.
|
||||
m4_define([_PKG_CONFIG],
|
||||
[if test -n "$$1"; then
|
||||
pkg_cv_[]$1="$$1"
|
||||
elif test -n "$PKG_CONFIG"; then
|
||||
PKG_CHECK_EXISTS([$3],
|
||||
[pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
|
||||
test "x$?" != "x0" && pkg_failed=yes ],
|
||||
[pkg_failed=yes])
|
||||
else
|
||||
pkg_failed=untried
|
||||
fi[]dnl
|
||||
])dnl _PKG_CONFIG
|
||||
|
||||
dnl _PKG_SHORT_ERRORS_SUPPORTED
|
||||
dnl ---------------------------
|
||||
dnl Internal check to see if pkg-config supports short errors.
|
||||
AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
|
||||
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
|
||||
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
||||
_pkg_short_errors_supported=yes
|
||||
else
|
||||
_pkg_short_errors_supported=no
|
||||
fi[]dnl
|
||||
])dnl _PKG_SHORT_ERRORS_SUPPORTED
|
||||
|
||||
|
||||
dnl PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
|
||||
dnl [ACTION-IF-NOT-FOUND])
|
||||
dnl --------------------------------------------------------------
|
||||
dnl Since: 0.4.0
|
||||
dnl
|
||||
dnl Note that if there is a possibility the first call to
|
||||
dnl PKG_CHECK_MODULES might not happen, you should be sure to include an
|
||||
dnl explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
|
||||
AC_DEFUN([PKG_CHECK_MODULES],
|
||||
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
|
||||
AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
|
||||
AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
|
||||
|
||||
pkg_failed=no
|
||||
AC_MSG_CHECKING([for $1])
|
||||
|
||||
_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
|
||||
_PKG_CONFIG([$1][_LIBS], [libs], [$2])
|
||||
|
||||
m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
|
||||
and $1[]_LIBS to avoid the need to call pkg-config.
|
||||
See the pkg-config man page for more details.])
|
||||
|
||||
if test $pkg_failed = yes; then
|
||||
AC_MSG_RESULT([no])
|
||||
_PKG_SHORT_ERRORS_SUPPORTED
|
||||
if test $_pkg_short_errors_supported = yes; then
|
||||
$1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
|
||||
else
|
||||
$1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
|
||||
fi
|
||||
# Put the nasty error message in config.log where it belongs
|
||||
echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
|
||||
|
||||
m4_default([$4], [AC_MSG_ERROR(
|
||||
[Package requirements ($2) were not met:
|
||||
|
||||
$$1_PKG_ERRORS
|
||||
|
||||
Consider adjusting the PKG_CONFIG_PATH environment variable if you
|
||||
installed software in a non-standard prefix.
|
||||
|
||||
_PKG_TEXT])[]dnl
|
||||
])
|
||||
elif test $pkg_failed = untried; then
|
||||
AC_MSG_RESULT([no])
|
||||
m4_default([$4], [AC_MSG_FAILURE(
|
||||
[The pkg-config script could not be found or is too old. Make sure it
|
||||
is in your PATH or set the PKG_CONFIG environment variable to the full
|
||||
path to pkg-config.
|
||||
|
||||
_PKG_TEXT
|
||||
|
||||
To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
|
||||
])
|
||||
else
|
||||
$1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
|
||||
$1[]_LIBS=$pkg_cv_[]$1[]_LIBS
|
||||
AC_MSG_RESULT([yes])
|
||||
$3
|
||||
fi[]dnl
|
||||
])dnl PKG_CHECK_MODULES
|
||||
|
||||
|
||||
dnl PKG_CHECK_MODULES_STATIC(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
|
||||
dnl [ACTION-IF-NOT-FOUND])
|
||||
dnl ---------------------------------------------------------------------
|
||||
dnl Since: 0.29
|
||||
dnl
|
||||
dnl Checks for existence of MODULES and gathers its build flags with
|
||||
dnl static libraries enabled. Sets VARIABLE-PREFIX_CFLAGS from --cflags
|
||||
dnl and VARIABLE-PREFIX_LIBS from --libs.
|
||||
dnl
|
||||
dnl Note that if there is a possibility the first call to
|
||||
dnl PKG_CHECK_MODULES_STATIC might not happen, you should be sure to
|
||||
dnl include an explicit call to PKG_PROG_PKG_CONFIG in your
|
||||
dnl configure.ac.
|
||||
AC_DEFUN([PKG_CHECK_MODULES_STATIC],
|
||||
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
|
||||
_save_PKG_CONFIG=$PKG_CONFIG
|
||||
PKG_CONFIG="$PKG_CONFIG --static"
|
||||
PKG_CHECK_MODULES($@)
|
||||
PKG_CONFIG=$_save_PKG_CONFIG[]dnl
|
||||
])dnl PKG_CHECK_MODULES_STATIC
|
||||
|
||||
|
||||
dnl PKG_INSTALLDIR([DIRECTORY])
|
||||
dnl -------------------------
|
||||
dnl Since: 0.27
|
||||
dnl
|
||||
dnl Substitutes the variable pkgconfigdir as the location where a module
|
||||
dnl should install pkg-config .pc files. By default the directory is
|
||||
dnl $libdir/pkgconfig, but the default can be changed by passing
|
||||
dnl DIRECTORY. The user can override through the --with-pkgconfigdir
|
||||
dnl parameter.
|
||||
AC_DEFUN([PKG_INSTALLDIR],
|
||||
[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
|
||||
m4_pushdef([pkg_description],
|
||||
[pkg-config installation directory @<:@]pkg_default[@:>@])
|
||||
AC_ARG_WITH([pkgconfigdir],
|
||||
[AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
|
||||
[with_pkgconfigdir=]pkg_default)
|
||||
AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
|
||||
m4_popdef([pkg_default])
|
||||
m4_popdef([pkg_description])
|
||||
])dnl PKG_INSTALLDIR
|
||||
|
||||
|
||||
dnl PKG_NOARCH_INSTALLDIR([DIRECTORY])
|
||||
dnl --------------------------------
|
||||
dnl Since: 0.27
|
||||
dnl
|
||||
dnl Substitutes the variable noarch_pkgconfigdir as the location where a
|
||||
dnl module should install arch-independent pkg-config .pc files. By
|
||||
dnl default the directory is $datadir/pkgconfig, but the default can be
|
||||
dnl changed by passing DIRECTORY. The user can override through the
|
||||
dnl --with-noarch-pkgconfigdir parameter.
|
||||
AC_DEFUN([PKG_NOARCH_INSTALLDIR],
|
||||
[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])])
|
||||
m4_pushdef([pkg_description],
|
||||
[pkg-config arch-independent installation directory @<:@]pkg_default[@:>@])
|
||||
AC_ARG_WITH([noarch-pkgconfigdir],
|
||||
[AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,
|
||||
[with_noarch_pkgconfigdir=]pkg_default)
|
||||
AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir])
|
||||
m4_popdef([pkg_default])
|
||||
m4_popdef([pkg_description])
|
||||
])dnl PKG_NOARCH_INSTALLDIR
|
||||
|
||||
|
||||
dnl PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE,
|
||||
dnl [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
|
||||
dnl -------------------------------------------
|
||||
dnl Since: 0.28
|
||||
dnl
|
||||
dnl Retrieves the value of the pkg-config variable for the given module.
|
||||
AC_DEFUN([PKG_CHECK_VAR],
|
||||
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
|
||||
AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl
|
||||
|
||||
_PKG_CONFIG([$1], [variable="][$3]["], [$2])
|
||||
AS_VAR_COPY([$1], [pkg_cv_][$1])
|
||||
|
||||
AS_VAR_IF([$1], [""], [$5], [$4])dnl
|
||||
])dnl PKG_CHECK_VAR
|
||||
452
powertop-v2.10/m4/po.m4
Normal file
452
powertop-v2.10/m4/po.m4
Normal file
@ -0,0 +1,452 @@
|
||||
# po.m4 serial 20 (gettext-0.18.2)
|
||||
dnl Copyright (C) 1995-2013 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
dnl with or without modifications, as long as this notice is preserved.
|
||||
dnl
|
||||
dnl This file can can be used in projects which are not available under
|
||||
dnl the GNU General Public License or the GNU Library General Public
|
||||
dnl License but which still want to provide support for the GNU gettext
|
||||
dnl functionality.
|
||||
dnl Please note that the actual code of the GNU gettext library is covered
|
||||
dnl by the GNU Library General Public License, and the rest of the GNU
|
||||
dnl gettext package package is covered by the GNU General Public License.
|
||||
dnl They are *not* in the public domain.
|
||||
|
||||
dnl Authors:
|
||||
dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
|
||||
dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
|
||||
|
||||
AC_PREREQ([2.60])
|
||||
|
||||
dnl Checks for all prerequisites of the po subdirectory.
|
||||
AC_DEFUN([AM_PO_SUBDIRS],
|
||||
[
|
||||
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
|
||||
AC_REQUIRE([AC_PROG_INSTALL])dnl
|
||||
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
|
||||
AC_REQUIRE([AM_NLS])dnl
|
||||
|
||||
dnl Release version of the gettext macros. This is used to ensure that
|
||||
dnl the gettext macros and po/Makefile.in.in are in sync.
|
||||
AC_SUBST([GETTEXT_MACRO_VERSION], [0.18])
|
||||
|
||||
dnl Perform the following tests also if --disable-nls has been given,
|
||||
dnl because they are needed for "make dist" to work.
|
||||
|
||||
dnl Search for GNU msgfmt in the PATH.
|
||||
dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions.
|
||||
dnl The second test excludes FreeBSD msgfmt.
|
||||
AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
|
||||
[$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 &&
|
||||
(if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
|
||||
:)
|
||||
AC_PATH_PROG([GMSGFMT], [gmsgfmt], [$MSGFMT])
|
||||
|
||||
dnl Test whether it is GNU msgfmt >= 0.15.
|
||||
changequote(,)dnl
|
||||
case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
|
||||
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
|
||||
*) MSGFMT_015=$MSGFMT ;;
|
||||
esac
|
||||
changequote([,])dnl
|
||||
AC_SUBST([MSGFMT_015])
|
||||
changequote(,)dnl
|
||||
case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
|
||||
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
|
||||
*) GMSGFMT_015=$GMSGFMT ;;
|
||||
esac
|
||||
changequote([,])dnl
|
||||
AC_SUBST([GMSGFMT_015])
|
||||
|
||||
dnl Search for GNU xgettext 0.12 or newer in the PATH.
|
||||
dnl The first test excludes Solaris xgettext and early GNU xgettext versions.
|
||||
dnl The second test excludes FreeBSD xgettext.
|
||||
AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
|
||||
[$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 &&
|
||||
(if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
|
||||
:)
|
||||
dnl Remove leftover from FreeBSD xgettext call.
|
||||
rm -f messages.po
|
||||
|
||||
dnl Test whether it is GNU xgettext >= 0.15.
|
||||
changequote(,)dnl
|
||||
case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
|
||||
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
|
||||
*) XGETTEXT_015=$XGETTEXT ;;
|
||||
esac
|
||||
changequote([,])dnl
|
||||
AC_SUBST([XGETTEXT_015])
|
||||
|
||||
dnl Search for GNU msgmerge 0.11 or newer in the PATH.
|
||||
AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge,
|
||||
[$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :)
|
||||
|
||||
dnl Installation directories.
|
||||
dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we
|
||||
dnl have to define it here, so that it can be used in po/Makefile.
|
||||
test -n "$localedir" || localedir='${datadir}/locale'
|
||||
AC_SUBST([localedir])
|
||||
|
||||
dnl Support for AM_XGETTEXT_OPTION.
|
||||
test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
|
||||
AC_SUBST([XGETTEXT_EXTRA_OPTIONS])
|
||||
|
||||
AC_CONFIG_COMMANDS([po-directories], [[
|
||||
for ac_file in $CONFIG_FILES; do
|
||||
# Support "outfile[:infile[:infile...]]"
|
||||
case "$ac_file" in
|
||||
*:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
|
||||
esac
|
||||
# PO directories have a Makefile.in generated from Makefile.in.in.
|
||||
case "$ac_file" in */Makefile.in)
|
||||
# Adjust a relative srcdir.
|
||||
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
|
||||
ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
|
||||
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
|
||||
# In autoconf-2.13 it is called $ac_given_srcdir.
|
||||
# In autoconf-2.50 it is called $srcdir.
|
||||
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
|
||||
case "$ac_given_srcdir" in
|
||||
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
|
||||
/*) top_srcdir="$ac_given_srcdir" ;;
|
||||
*) top_srcdir="$ac_dots$ac_given_srcdir" ;;
|
||||
esac
|
||||
# Treat a directory as a PO directory if and only if it has a
|
||||
# POTFILES.in file. This allows packages to have multiple PO
|
||||
# directories under different names or in different locations.
|
||||
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
|
||||
rm -f "$ac_dir/POTFILES"
|
||||
test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
|
||||
gt_tab=`printf '\t'`
|
||||
cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
|
||||
POMAKEFILEDEPS="POTFILES.in"
|
||||
# ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
|
||||
# on $ac_dir but don't depend on user-specified configuration
|
||||
# parameters.
|
||||
if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
|
||||
# The LINGUAS file contains the set of available languages.
|
||||
if test -n "$OBSOLETE_ALL_LINGUAS"; then
|
||||
test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
|
||||
fi
|
||||
ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
|
||||
# Hide the ALL_LINGUAS assignment from automake < 1.5.
|
||||
eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
|
||||
POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
|
||||
else
|
||||
# The set of available languages was given in configure.in.
|
||||
# Hide the ALL_LINGUAS assignment from automake < 1.5.
|
||||
eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
|
||||
fi
|
||||
# Compute POFILES
|
||||
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
|
||||
# Compute UPDATEPOFILES
|
||||
# as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
|
||||
# Compute DUMMYPOFILES
|
||||
# as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
|
||||
# Compute GMOFILES
|
||||
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
|
||||
case "$ac_given_srcdir" in
|
||||
.) srcdirpre= ;;
|
||||
*) srcdirpre='$(srcdir)/' ;;
|
||||
esac
|
||||
POFILES=
|
||||
UPDATEPOFILES=
|
||||
DUMMYPOFILES=
|
||||
GMOFILES=
|
||||
for lang in $ALL_LINGUAS; do
|
||||
POFILES="$POFILES $srcdirpre$lang.po"
|
||||
UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
|
||||
DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
|
||||
GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
|
||||
done
|
||||
# CATALOGS depends on both $ac_dir and the user's LINGUAS
|
||||
# environment variable.
|
||||
INST_LINGUAS=
|
||||
if test -n "$ALL_LINGUAS"; then
|
||||
for presentlang in $ALL_LINGUAS; do
|
||||
useit=no
|
||||
if test "%UNSET%" != "$LINGUAS"; then
|
||||
desiredlanguages="$LINGUAS"
|
||||
else
|
||||
desiredlanguages="$ALL_LINGUAS"
|
||||
fi
|
||||
for desiredlang in $desiredlanguages; do
|
||||
# Use the presentlang catalog if desiredlang is
|
||||
# a. equal to presentlang, or
|
||||
# b. a variant of presentlang (because in this case,
|
||||
# presentlang can be used as a fallback for messages
|
||||
# which are not translated in the desiredlang catalog).
|
||||
case "$desiredlang" in
|
||||
"$presentlang"*) useit=yes;;
|
||||
esac
|
||||
done
|
||||
if test $useit = yes; then
|
||||
INST_LINGUAS="$INST_LINGUAS $presentlang"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
CATALOGS=
|
||||
if test -n "$INST_LINGUAS"; then
|
||||
for lang in $INST_LINGUAS; do
|
||||
CATALOGS="$CATALOGS $lang.gmo"
|
||||
done
|
||||
fi
|
||||
test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
|
||||
sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
|
||||
for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
|
||||
if test -f "$f"; then
|
||||
case "$f" in
|
||||
*.orig | *.bak | *~) ;;
|
||||
*) cat "$f" >> "$ac_dir/Makefile" ;;
|
||||
esac
|
||||
fi
|
||||
done
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done]],
|
||||
[# Capture the value of obsolete ALL_LINGUAS because we need it to compute
|
||||
# POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
|
||||
# from automake < 1.5.
|
||||
eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
|
||||
# Capture the value of LINGUAS because we need it to compute CATALOGS.
|
||||
LINGUAS="${LINGUAS-%UNSET%}"
|
||||
])
|
||||
])
|
||||
|
||||
dnl Postprocesses a Makefile in a directory containing PO files.
|
||||
AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE],
|
||||
[
|
||||
# When this code is run, in config.status, two variables have already been
|
||||
# set:
|
||||
# - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in,
|
||||
# - LINGUAS is the value of the environment variable LINGUAS at configure
|
||||
# time.
|
||||
|
||||
changequote(,)dnl
|
||||
# Adjust a relative srcdir.
|
||||
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
|
||||
ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
|
||||
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
|
||||
# In autoconf-2.13 it is called $ac_given_srcdir.
|
||||
# In autoconf-2.50 it is called $srcdir.
|
||||
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
|
||||
case "$ac_given_srcdir" in
|
||||
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
|
||||
/*) top_srcdir="$ac_given_srcdir" ;;
|
||||
*) top_srcdir="$ac_dots$ac_given_srcdir" ;;
|
||||
esac
|
||||
|
||||
# Find a way to echo strings without interpreting backslash.
|
||||
if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then
|
||||
gt_echo='echo'
|
||||
else
|
||||
if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then
|
||||
gt_echo='printf %s\n'
|
||||
else
|
||||
echo_func () {
|
||||
cat <<EOT
|
||||
$*
|
||||
EOT
|
||||
}
|
||||
gt_echo='echo_func'
|
||||
fi
|
||||
fi
|
||||
|
||||
# A sed script that extracts the value of VARIABLE from a Makefile.
|
||||
tab=`printf '\t'`
|
||||
sed_x_variable='
|
||||
# Test if the hold space is empty.
|
||||
x
|
||||
s/P/P/
|
||||
x
|
||||
ta
|
||||
# Yes it was empty. Look if we have the expected variable definition.
|
||||
/^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=/{
|
||||
# Seen the first line of the variable definition.
|
||||
s/^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=//
|
||||
ba
|
||||
}
|
||||
bd
|
||||
:a
|
||||
# Here we are processing a line from the variable definition.
|
||||
# Remove comment, more precisely replace it with a space.
|
||||
s/#.*$/ /
|
||||
# See if the line ends in a backslash.
|
||||
tb
|
||||
:b
|
||||
s/\\$//
|
||||
# Print the line, without the trailing backslash.
|
||||
p
|
||||
tc
|
||||
# There was no trailing backslash. The end of the variable definition is
|
||||
# reached. Clear the hold space.
|
||||
s/^.*$//
|
||||
x
|
||||
bd
|
||||
:c
|
||||
# A trailing backslash means that the variable definition continues in the
|
||||
# next line. Put a nonempty string into the hold space to indicate this.
|
||||
s/^.*$/P/
|
||||
x
|
||||
:d
|
||||
'
|
||||
changequote([,])dnl
|
||||
|
||||
# Set POTFILES to the value of the Makefile variable POTFILES.
|
||||
sed_x_POTFILES=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'`
|
||||
POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"`
|
||||
# Compute POTFILES_DEPS as
|
||||
# $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
|
||||
POTFILES_DEPS=
|
||||
for file in $POTFILES; do
|
||||
POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file"
|
||||
done
|
||||
POMAKEFILEDEPS=""
|
||||
|
||||
if test -n "$OBSOLETE_ALL_LINGUAS"; then
|
||||
test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
|
||||
fi
|
||||
if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
|
||||
# The LINGUAS file contains the set of available languages.
|
||||
ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
|
||||
POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
|
||||
else
|
||||
# Set ALL_LINGUAS to the value of the Makefile variable LINGUAS.
|
||||
sed_x_LINGUAS=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'`
|
||||
ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"`
|
||||
fi
|
||||
# Hide the ALL_LINGUAS assignment from automake < 1.5.
|
||||
eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
|
||||
# Compute POFILES
|
||||
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
|
||||
# Compute UPDATEPOFILES
|
||||
# as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
|
||||
# Compute DUMMYPOFILES
|
||||
# as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
|
||||
# Compute GMOFILES
|
||||
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
|
||||
# Compute PROPERTIESFILES
|
||||
# as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties)
|
||||
# Compute CLASSFILES
|
||||
# as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class)
|
||||
# Compute QMFILES
|
||||
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm)
|
||||
# Compute MSGFILES
|
||||
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg)
|
||||
# Compute RESOURCESDLLFILES
|
||||
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll)
|
||||
case "$ac_given_srcdir" in
|
||||
.) srcdirpre= ;;
|
||||
*) srcdirpre='$(srcdir)/' ;;
|
||||
esac
|
||||
POFILES=
|
||||
UPDATEPOFILES=
|
||||
DUMMYPOFILES=
|
||||
GMOFILES=
|
||||
PROPERTIESFILES=
|
||||
CLASSFILES=
|
||||
QMFILES=
|
||||
MSGFILES=
|
||||
RESOURCESDLLFILES=
|
||||
for lang in $ALL_LINGUAS; do
|
||||
POFILES="$POFILES $srcdirpre$lang.po"
|
||||
UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
|
||||
DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
|
||||
GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
|
||||
PROPERTIESFILES="$PROPERTIESFILES \$(top_srcdir)/\$(DOMAIN)_$lang.properties"
|
||||
CLASSFILES="$CLASSFILES \$(top_srcdir)/\$(DOMAIN)_$lang.class"
|
||||
QMFILES="$QMFILES $srcdirpre$lang.qm"
|
||||
frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
|
||||
MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg"
|
||||
frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
|
||||
RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll"
|
||||
done
|
||||
# CATALOGS depends on both $ac_dir and the user's LINGUAS
|
||||
# environment variable.
|
||||
INST_LINGUAS=
|
||||
if test -n "$ALL_LINGUAS"; then
|
||||
for presentlang in $ALL_LINGUAS; do
|
||||
useit=no
|
||||
if test "%UNSET%" != "$LINGUAS"; then
|
||||
desiredlanguages="$LINGUAS"
|
||||
else
|
||||
desiredlanguages="$ALL_LINGUAS"
|
||||
fi
|
||||
for desiredlang in $desiredlanguages; do
|
||||
# Use the presentlang catalog if desiredlang is
|
||||
# a. equal to presentlang, or
|
||||
# b. a variant of presentlang (because in this case,
|
||||
# presentlang can be used as a fallback for messages
|
||||
# which are not translated in the desiredlang catalog).
|
||||
case "$desiredlang" in
|
||||
"$presentlang"*) useit=yes;;
|
||||
esac
|
||||
done
|
||||
if test $useit = yes; then
|
||||
INST_LINGUAS="$INST_LINGUAS $presentlang"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
CATALOGS=
|
||||
JAVACATALOGS=
|
||||
QTCATALOGS=
|
||||
TCLCATALOGS=
|
||||
CSHARPCATALOGS=
|
||||
if test -n "$INST_LINGUAS"; then
|
||||
for lang in $INST_LINGUAS; do
|
||||
CATALOGS="$CATALOGS $lang.gmo"
|
||||
JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties"
|
||||
QTCATALOGS="$QTCATALOGS $lang.qm"
|
||||
frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
|
||||
TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg"
|
||||
frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
|
||||
CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll"
|
||||
done
|
||||
fi
|
||||
|
||||
sed -e "s|@POTFILES_DEPS@|$POTFILES_DEPS|g" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@PROPERTIESFILES@|$PROPERTIESFILES|g" -e "s|@CLASSFILES@|$CLASSFILES|g" -e "s|@QMFILES@|$QMFILES|g" -e "s|@MSGFILES@|$MSGFILES|g" -e "s|@RESOURCESDLLFILES@|$RESOURCESDLLFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@JAVACATALOGS@|$JAVACATALOGS|g" -e "s|@QTCATALOGS@|$QTCATALOGS|g" -e "s|@TCLCATALOGS@|$TCLCATALOGS|g" -e "s|@CSHARPCATALOGS@|$CSHARPCATALOGS|g" -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp"
|
||||
tab=`printf '\t'`
|
||||
if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then
|
||||
# Add dependencies that cannot be formulated as a simple suffix rule.
|
||||
for lang in $ALL_LINGUAS; do
|
||||
frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
|
||||
cat >> "$ac_file.tmp" <<EOF
|
||||
$frobbedlang.msg: $lang.po
|
||||
${tab}@echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \
|
||||
${tab}\$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
|
||||
EOF
|
||||
done
|
||||
fi
|
||||
if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then
|
||||
# Add dependencies that cannot be formulated as a simple suffix rule.
|
||||
for lang in $ALL_LINGUAS; do
|
||||
frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
|
||||
cat >> "$ac_file.tmp" <<EOF
|
||||
$frobbedlang/\$(DOMAIN).resources.dll: $lang.po
|
||||
${tab}@echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \
|
||||
${tab}\$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
|
||||
EOF
|
||||
done
|
||||
fi
|
||||
if test -n "$POMAKEFILEDEPS"; then
|
||||
cat >> "$ac_file.tmp" <<EOF
|
||||
Makefile: $POMAKEFILEDEPS
|
||||
EOF
|
||||
fi
|
||||
mv "$ac_file.tmp" "$ac_file"
|
||||
])
|
||||
|
||||
dnl Initializes the accumulator used by AM_XGETTEXT_OPTION.
|
||||
AC_DEFUN([AM_XGETTEXT_OPTION_INIT],
|
||||
[
|
||||
XGETTEXT_EXTRA_OPTIONS=
|
||||
])
|
||||
|
||||
dnl Registers an option to be passed to xgettext in the po subdirectory.
|
||||
AC_DEFUN([AM_XGETTEXT_OPTION],
|
||||
[
|
||||
AC_REQUIRE([AM_XGETTEXT_OPTION_INIT])
|
||||
XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS $1"
|
||||
])
|
||||
91
powertop-v2.10/m4/progtest.m4
Normal file
91
powertop-v2.10/m4/progtest.m4
Normal file
@ -0,0 +1,91 @@
|
||||
# progtest.m4 serial 7 (gettext-0.18.2)
|
||||
dnl Copyright (C) 1996-2003, 2005, 2008-2013 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
dnl with or without modifications, as long as this notice is preserved.
|
||||
dnl
|
||||
dnl This file can can be used in projects which are not available under
|
||||
dnl the GNU General Public License or the GNU Library General Public
|
||||
dnl License but which still want to provide support for the GNU gettext
|
||||
dnl functionality.
|
||||
dnl Please note that the actual code of the GNU gettext library is covered
|
||||
dnl by the GNU Library General Public License, and the rest of the GNU
|
||||
dnl gettext package package is covered by the GNU General Public License.
|
||||
dnl They are *not* in the public domain.
|
||||
|
||||
dnl Authors:
|
||||
dnl Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||
|
||||
AC_PREREQ([2.50])
|
||||
|
||||
# Search path for a program which passes the given test.
|
||||
|
||||
dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
|
||||
dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
|
||||
AC_DEFUN([AM_PATH_PROG_WITH_TEST],
|
||||
[
|
||||
# Prepare PATH_SEPARATOR.
|
||||
# The user is always right.
|
||||
if test "${PATH_SEPARATOR+set}" != set; then
|
||||
# Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
|
||||
# contains only /bin. Note that ksh looks also at the FPATH variable,
|
||||
# so we have to set that as well for the test.
|
||||
PATH_SEPARATOR=:
|
||||
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
|
||||
&& { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
|
||||
|| PATH_SEPARATOR=';'
|
||||
}
|
||||
fi
|
||||
|
||||
# Find out how to test for executable files. Don't use a zero-byte file,
|
||||
# as systems may use methods other than mode bits to determine executability.
|
||||
cat >conf$$.file <<_ASEOF
|
||||
#! /bin/sh
|
||||
exit 0
|
||||
_ASEOF
|
||||
chmod +x conf$$.file
|
||||
if test -x conf$$.file >/dev/null 2>&1; then
|
||||
ac_executable_p="test -x"
|
||||
else
|
||||
ac_executable_p="test -f"
|
||||
fi
|
||||
rm -f conf$$.file
|
||||
|
||||
# Extract the first word of "$2", so it can be a program name with args.
|
||||
set dummy $2; ac_word=[$]2
|
||||
AC_MSG_CHECKING([for $ac_word])
|
||||
AC_CACHE_VAL([ac_cv_path_$1],
|
||||
[case "[$]$1" in
|
||||
[[\\/]]* | ?:[[\\/]]*)
|
||||
ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
|
||||
;;
|
||||
*)
|
||||
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
|
||||
for ac_dir in ifelse([$5], , $PATH, [$5]); do
|
||||
IFS="$ac_save_IFS"
|
||||
test -z "$ac_dir" && ac_dir=.
|
||||
for ac_exec_ext in '' $ac_executable_extensions; do
|
||||
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
|
||||
echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD
|
||||
if [$3]; then
|
||||
ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext"
|
||||
break 2
|
||||
fi
|
||||
fi
|
||||
done
|
||||
done
|
||||
IFS="$ac_save_IFS"
|
||||
dnl If no 4th arg is given, leave the cache variable unset,
|
||||
dnl so AC_PATH_PROGS will keep looking.
|
||||
ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
|
||||
])dnl
|
||||
;;
|
||||
esac])dnl
|
||||
$1="$ac_cv_path_$1"
|
||||
if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
|
||||
AC_MSG_RESULT([$][$1])
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
AC_SUBST([$1])dnl
|
||||
])
|
||||
215
powertop-v2.10/missing
Executable file
215
powertop-v2.10/missing
Executable file
@ -0,0 +1,215 @@
|
||||
#! /bin/sh
|
||||
# Common wrapper for a few potentially missing GNU programs.
|
||||
|
||||
scriptversion=2013-10-28.13; # UTC
|
||||
|
||||
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
|
||||
# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
if test $# -eq 0; then
|
||||
echo 1>&2 "Try '$0 --help' for more information"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
case $1 in
|
||||
|
||||
--is-lightweight)
|
||||
# Used by our autoconf macros to check whether the available missing
|
||||
# script is modern enough.
|
||||
exit 0
|
||||
;;
|
||||
|
||||
--run)
|
||||
# Back-compat with the calling convention used by older automake.
|
||||
shift
|
||||
;;
|
||||
|
||||
-h|--h|--he|--hel|--help)
|
||||
echo "\
|
||||
$0 [OPTION]... PROGRAM [ARGUMENT]...
|
||||
|
||||
Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due
|
||||
to PROGRAM being missing or too old.
|
||||
|
||||
Options:
|
||||
-h, --help display this help and exit
|
||||
-v, --version output version information and exit
|
||||
|
||||
Supported PROGRAM values:
|
||||
aclocal autoconf autoheader autom4te automake makeinfo
|
||||
bison yacc flex lex help2man
|
||||
|
||||
Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
|
||||
'g' are ignored when checking the name.
|
||||
|
||||
Send bug reports to <bug-automake@gnu.org>."
|
||||
exit $?
|
||||
;;
|
||||
|
||||
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
|
||||
echo "missing $scriptversion (GNU Automake)"
|
||||
exit $?
|
||||
;;
|
||||
|
||||
-*)
|
||||
echo 1>&2 "$0: unknown '$1' option"
|
||||
echo 1>&2 "Try '$0 --help' for more information"
|
||||
exit 1
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
# Run the given program, remember its exit status.
|
||||
"$@"; st=$?
|
||||
|
||||
# If it succeeded, we are done.
|
||||
test $st -eq 0 && exit 0
|
||||
|
||||
# Also exit now if we it failed (or wasn't found), and '--version' was
|
||||
# passed; such an option is passed most likely to detect whether the
|
||||
# program is present and works.
|
||||
case $2 in --version|--help) exit $st;; esac
|
||||
|
||||
# Exit code 63 means version mismatch. This often happens when the user
|
||||
# tries to use an ancient version of a tool on a file that requires a
|
||||
# minimum version.
|
||||
if test $st -eq 63; then
|
||||
msg="probably too old"
|
||||
elif test $st -eq 127; then
|
||||
# Program was missing.
|
||||
msg="missing on your system"
|
||||
else
|
||||
# Program was found and executed, but failed. Give up.
|
||||
exit $st
|
||||
fi
|
||||
|
||||
perl_URL=http://www.perl.org/
|
||||
flex_URL=http://flex.sourceforge.net/
|
||||
gnu_software_URL=http://www.gnu.org/software
|
||||
|
||||
program_details ()
|
||||
{
|
||||
case $1 in
|
||||
aclocal|automake)
|
||||
echo "The '$1' program is part of the GNU Automake package:"
|
||||
echo "<$gnu_software_URL/automake>"
|
||||
echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
|
||||
echo "<$gnu_software_URL/autoconf>"
|
||||
echo "<$gnu_software_URL/m4/>"
|
||||
echo "<$perl_URL>"
|
||||
;;
|
||||
autoconf|autom4te|autoheader)
|
||||
echo "The '$1' program is part of the GNU Autoconf package:"
|
||||
echo "<$gnu_software_URL/autoconf/>"
|
||||
echo "It also requires GNU m4 and Perl in order to run:"
|
||||
echo "<$gnu_software_URL/m4/>"
|
||||
echo "<$perl_URL>"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
give_advice ()
|
||||
{
|
||||
# Normalize program name to check for.
|
||||
normalized_program=`echo "$1" | sed '
|
||||
s/^gnu-//; t
|
||||
s/^gnu//; t
|
||||
s/^g//; t'`
|
||||
|
||||
printf '%s\n' "'$1' is $msg."
|
||||
|
||||
configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
|
||||
case $normalized_program in
|
||||
autoconf*)
|
||||
echo "You should only need it if you modified 'configure.ac',"
|
||||
echo "or m4 files included by it."
|
||||
program_details 'autoconf'
|
||||
;;
|
||||
autoheader*)
|
||||
echo "You should only need it if you modified 'acconfig.h' or"
|
||||
echo "$configure_deps."
|
||||
program_details 'autoheader'
|
||||
;;
|
||||
automake*)
|
||||
echo "You should only need it if you modified 'Makefile.am' or"
|
||||
echo "$configure_deps."
|
||||
program_details 'automake'
|
||||
;;
|
||||
aclocal*)
|
||||
echo "You should only need it if you modified 'acinclude.m4' or"
|
||||
echo "$configure_deps."
|
||||
program_details 'aclocal'
|
||||
;;
|
||||
autom4te*)
|
||||
echo "You might have modified some maintainer files that require"
|
||||
echo "the 'autom4te' program to be rebuilt."
|
||||
program_details 'autom4te'
|
||||
;;
|
||||
bison*|yacc*)
|
||||
echo "You should only need it if you modified a '.y' file."
|
||||
echo "You may want to install the GNU Bison package:"
|
||||
echo "<$gnu_software_URL/bison/>"
|
||||
;;
|
||||
lex*|flex*)
|
||||
echo "You should only need it if you modified a '.l' file."
|
||||
echo "You may want to install the Fast Lexical Analyzer package:"
|
||||
echo "<$flex_URL>"
|
||||
;;
|
||||
help2man*)
|
||||
echo "You should only need it if you modified a dependency" \
|
||||
"of a man page."
|
||||
echo "You may want to install the GNU Help2man package:"
|
||||
echo "<$gnu_software_URL/help2man/>"
|
||||
;;
|
||||
makeinfo*)
|
||||
echo "You should only need it if you modified a '.texi' file, or"
|
||||
echo "any other file indirectly affecting the aspect of the manual."
|
||||
echo "You might want to install the Texinfo package:"
|
||||
echo "<$gnu_software_URL/texinfo/>"
|
||||
echo "The spurious makeinfo call might also be the consequence of"
|
||||
echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might"
|
||||
echo "want to install GNU make:"
|
||||
echo "<$gnu_software_URL/make/>"
|
||||
;;
|
||||
*)
|
||||
echo "You might have modified some files without having the proper"
|
||||
echo "tools for further handling them. Check the 'README' file, it"
|
||||
echo "often tells you about the needed prerequisites for installing"
|
||||
echo "this package. You may also peek at any GNU archive site, in"
|
||||
echo "case some other package contains this missing '$1' program."
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
give_advice "$1" | sed -e '1s/^/WARNING: /' \
|
||||
-e '2,$s/^/ /' >&2
|
||||
|
||||
# Propagate the correct exit status (expected to be 127 for a program
|
||||
# not found, 63 for a program that failed due to version mismatch).
|
||||
exit $st
|
||||
|
||||
# Local variables:
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
# time-stamp-start: "scriptversion="
|
||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
# time-stamp-time-zone: "UTC"
|
||||
# time-stamp-end: "; # UTC"
|
||||
# End:
|
||||
11
powertop-v2.10/po/ChangeLog
Normal file
11
powertop-v2.10/po/ChangeLog
Normal file
@ -0,0 +1,11 @@
|
||||
2016-08-03 gettextize <bug-gnu-gettext@gnu.org>
|
||||
|
||||
* Makefile.in.in: Upgrade to gettext-0.18.2.
|
||||
* boldquot.sed: New file, from gettext-0.18.2.
|
||||
* en@boldquot.header: New file, from gettext-0.18.2.
|
||||
* en@quot.header: New file, from gettext-0.18.2.
|
||||
* insert-header.sin: New file, from gettext-0.18.2.
|
||||
* quot.sed: New file, from gettext-0.18.2.
|
||||
* remove-potcdate.sin: New file, from gettext-0.18.2.
|
||||
* Rules-quot: New file, from gettext-0.18.2.
|
||||
|
||||
11
powertop-v2.10/po/LINGUAS
Normal file
11
powertop-v2.10/po/LINGUAS
Normal file
@ -0,0 +1,11 @@
|
||||
# set of available languages
|
||||
ca
|
||||
cs_CZ
|
||||
de_DE
|
||||
en_GB
|
||||
en_US
|
||||
es_ES
|
||||
hu_HU
|
||||
id_ID
|
||||
nl_NL
|
||||
zh_TW
|
||||
453
powertop-v2.10/po/Makefile.in.in
Normal file
453
powertop-v2.10/po/Makefile.in.in
Normal file
@ -0,0 +1,453 @@
|
||||
# Makefile for PO directory in any package using GNU gettext.
|
||||
# Copyright (C) 1995-1997, 2000-2007, 2009-2010 by Ulrich Drepper <drepper@gnu.ai.mit.edu>
|
||||
#
|
||||
# This file can be copied and used freely without restrictions. It can
|
||||
# be used in projects which are not available under the GNU General Public
|
||||
# License but which still want to provide support for the GNU gettext
|
||||
# functionality.
|
||||
# Please note that the actual code of GNU gettext is covered by the GNU
|
||||
# General Public License and is *not* in the public domain.
|
||||
#
|
||||
# Origin: gettext-0.18.2
|
||||
GETTEXT_MACRO_VERSION = 0.18
|
||||
|
||||
PACKAGE = @PACKAGE@
|
||||
VERSION = @VERSION@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
|
||||
SHELL = /bin/sh
|
||||
@SET_MAKE@
|
||||
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
datarootdir = @datarootdir@
|
||||
datadir = @datadir@
|
||||
localedir = @localedir@
|
||||
gettextsrcdir = $(datadir)/gettext/po
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
|
||||
# We use $(mkdir_p).
|
||||
# In automake <= 1.9.x, $(mkdir_p) is defined either as "mkdir -p --" or as
|
||||
# "$(mkinstalldirs)" or as "$(install_sh) -d". For these automake versions,
|
||||
# @install_sh@ does not start with $(SHELL), so we add it.
|
||||
# In automake >= 1.10, @mkdir_p@ is derived from ${MKDIR_P}, which is defined
|
||||
# either as "/path/to/mkdir -p" or ".../install-sh -c -d". For these automake
|
||||
# versions, $(mkinstalldirs) and $(install_sh) are unused.
|
||||
mkinstalldirs = $(SHELL) @install_sh@ -d
|
||||
install_sh = $(SHELL) @install_sh@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
mkdir_p = @mkdir_p@
|
||||
|
||||
GMSGFMT_ = @GMSGFMT@
|
||||
GMSGFMT_no = @GMSGFMT@
|
||||
GMSGFMT_yes = @GMSGFMT_015@
|
||||
GMSGFMT = $(GMSGFMT_$(USE_MSGCTXT))
|
||||
MSGFMT_ = @MSGFMT@
|
||||
MSGFMT_no = @MSGFMT@
|
||||
MSGFMT_yes = @MSGFMT_015@
|
||||
MSGFMT = $(MSGFMT_$(USE_MSGCTXT))
|
||||
XGETTEXT_ = @XGETTEXT@
|
||||
XGETTEXT_no = @XGETTEXT@
|
||||
XGETTEXT_yes = @XGETTEXT_015@
|
||||
XGETTEXT = $(XGETTEXT_$(USE_MSGCTXT))
|
||||
MSGMERGE = msgmerge
|
||||
MSGMERGE_UPDATE = @MSGMERGE@ --update
|
||||
MSGINIT = msginit
|
||||
MSGCONV = msgconv
|
||||
MSGFILTER = msgfilter
|
||||
|
||||
POFILES = @POFILES@
|
||||
GMOFILES = @GMOFILES@
|
||||
UPDATEPOFILES = @UPDATEPOFILES@
|
||||
DUMMYPOFILES = @DUMMYPOFILES@
|
||||
DISTFILES.common = Makefile.in.in remove-potcdate.sin \
|
||||
$(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3)
|
||||
DISTFILES = $(DISTFILES.common) Makevars POTFILES.in \
|
||||
$(POFILES) $(GMOFILES) \
|
||||
$(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3)
|
||||
|
||||
POTFILES = \
|
||||
|
||||
CATALOGS = @CATALOGS@
|
||||
|
||||
# Makevars gets inserted here. (Don't remove this line!)
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update
|
||||
|
||||
.po.mo:
|
||||
@echo "$(MSGFMT) -c -o $@ $<"; \
|
||||
$(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
|
||||
|
||||
.po.gmo:
|
||||
@lang=`echo $* | sed -e 's,.*/,,'`; \
|
||||
test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
|
||||
echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \
|
||||
cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
|
||||
|
||||
.sin.sed:
|
||||
sed -e '/^#/d' $< > t-$@
|
||||
mv t-$@ $@
|
||||
|
||||
|
||||
all: all-@USE_NLS@
|
||||
|
||||
all-yes: stamp-po
|
||||
all-no:
|
||||
|
||||
# Ensure that the gettext macros and this Makefile.in.in are in sync.
|
||||
CHECK_MACRO_VERSION = \
|
||||
test "$(GETTEXT_MACRO_VERSION)" = "@GETTEXT_MACRO_VERSION@" \
|
||||
|| { echo "*** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version $(GETTEXT_MACRO_VERSION) but the autoconf macros are from gettext version @GETTEXT_MACRO_VERSION@" 1>&2; \
|
||||
exit 1; \
|
||||
}
|
||||
|
||||
# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
|
||||
# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
|
||||
# we don't want to bother translators with empty POT files). We assume that
|
||||
# LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty.
|
||||
# In this case, stamp-po is a nop (i.e. a phony target).
|
||||
|
||||
# stamp-po is a timestamp denoting the last time at which the CATALOGS have
|
||||
# been loosely updated. Its purpose is that when a developer or translator
|
||||
# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
|
||||
# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
|
||||
# invocations of "make" will do nothing. This timestamp would not be necessary
|
||||
# if updating the $(CATALOGS) would always touch them; however, the rule for
|
||||
# $(POFILES) has been designed to not touch files that don't need to be
|
||||
# changed.
|
||||
stamp-po: $(srcdir)/$(DOMAIN).pot
|
||||
@$(CHECK_MACRO_VERSION)
|
||||
test ! -f $(srcdir)/$(DOMAIN).pot || \
|
||||
test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
|
||||
@test ! -f $(srcdir)/$(DOMAIN).pot || { \
|
||||
echo "touch stamp-po" && \
|
||||
echo timestamp > stamp-poT && \
|
||||
mv stamp-poT stamp-po; \
|
||||
}
|
||||
|
||||
# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
|
||||
# otherwise packages like GCC can not be built if only parts of the source
|
||||
# have been downloaded.
|
||||
|
||||
# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
|
||||
# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
|
||||
# The determination of whether the package xyz is a GNU one is based on the
|
||||
# heuristic whether some file in the top level directory mentions "GNU xyz".
|
||||
# If GNU 'find' is available, we avoid grepping through monster files.
|
||||
$(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed
|
||||
if { if (LC_ALL=C find --version) 2>/dev/null | grep GNU >/dev/null; then \
|
||||
LC_ALL=C find -L $(top_srcdir) -maxdepth 1 -type f -size -10000000c -exec grep 'GNU @PACKAGE@' /dev/null '{}' ';' 2>/dev/null; \
|
||||
else \
|
||||
LC_ALL=C grep 'GNU @PACKAGE@' $(top_srcdir)/* 2>/dev/null; \
|
||||
fi; \
|
||||
} | grep -v 'libtool:' >/dev/null; then \
|
||||
package_gnu='GNU '; \
|
||||
else \
|
||||
package_gnu=''; \
|
||||
fi; \
|
||||
if test -n '$(MSGID_BUGS_ADDRESS)' || test '$(PACKAGE_BUGREPORT)' = '@'PACKAGE_BUGREPORT'@'; then \
|
||||
msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
|
||||
else \
|
||||
msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \
|
||||
fi; \
|
||||
case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
|
||||
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
|
||||
$(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
|
||||
--add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
|
||||
--files-from=$(srcdir)/POTFILES.in \
|
||||
--copyright-holder='$(COPYRIGHT_HOLDER)' \
|
||||
--msgid-bugs-address="$$msgid_bugs_address" \
|
||||
;; \
|
||||
*) \
|
||||
$(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
|
||||
--add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
|
||||
--files-from=$(srcdir)/POTFILES.in \
|
||||
--copyright-holder='$(COPYRIGHT_HOLDER)' \
|
||||
--package-name="$${package_gnu}@PACKAGE@" \
|
||||
--package-version='@VERSION@' \
|
||||
--msgid-bugs-address="$$msgid_bugs_address" \
|
||||
;; \
|
||||
esac
|
||||
test ! -f $(DOMAIN).po || { \
|
||||
if test -f $(srcdir)/$(DOMAIN).pot; then \
|
||||
sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
|
||||
sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
|
||||
if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
|
||||
rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
|
||||
else \
|
||||
rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
|
||||
mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
|
||||
fi; \
|
||||
else \
|
||||
mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
|
||||
fi; \
|
||||
}
|
||||
|
||||
# This rule has no dependencies: we don't need to update $(DOMAIN).pot at
|
||||
# every "make" invocation, only create it when it is missing.
|
||||
# Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
|
||||
$(srcdir)/$(DOMAIN).pot:
|
||||
$(MAKE) $(DOMAIN).pot-update
|
||||
|
||||
# This target rebuilds a PO file if $(DOMAIN).pot has changed.
|
||||
# Note that a PO file is not touched if it doesn't need to be changed.
|
||||
$(POFILES): $(srcdir)/$(DOMAIN).pot
|
||||
@lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
|
||||
if test -f "$(srcdir)/$${lang}.po"; then \
|
||||
test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
|
||||
echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \
|
||||
cd $(srcdir) \
|
||||
&& { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
|
||||
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
|
||||
$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \
|
||||
*) \
|
||||
$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \
|
||||
esac; \
|
||||
}; \
|
||||
else \
|
||||
$(MAKE) $${lang}.po-create; \
|
||||
fi
|
||||
|
||||
|
||||
install: install-exec install-data
|
||||
install-exec:
|
||||
install-data: install-data-@USE_NLS@
|
||||
if test "$(PACKAGE)" = "gettext-tools"; then \
|
||||
$(mkdir_p) $(DESTDIR)$(gettextsrcdir); \
|
||||
for file in $(DISTFILES.common) Makevars.template; do \
|
||||
$(INSTALL_DATA) $(srcdir)/$$file \
|
||||
$(DESTDIR)$(gettextsrcdir)/$$file; \
|
||||
done; \
|
||||
for file in Makevars; do \
|
||||
rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
|
||||
done; \
|
||||
else \
|
||||
: ; \
|
||||
fi
|
||||
install-data-no: all
|
||||
install-data-yes: all
|
||||
@catalogs='$(CATALOGS)'; \
|
||||
for cat in $$catalogs; do \
|
||||
cat=`basename $$cat`; \
|
||||
lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
|
||||
dir=$(localedir)/$$lang/LC_MESSAGES; \
|
||||
$(mkdir_p) $(DESTDIR)$$dir; \
|
||||
if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
|
||||
$(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
|
||||
echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
|
||||
for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
|
||||
if test -n "$$lc"; then \
|
||||
if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
|
||||
link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
|
||||
mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
|
||||
mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
|
||||
(cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
|
||||
for file in *; do \
|
||||
if test -f $$file; then \
|
||||
ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
|
||||
fi; \
|
||||
done); \
|
||||
rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
|
||||
else \
|
||||
if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
|
||||
:; \
|
||||
else \
|
||||
rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
|
||||
mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
|
||||
fi; \
|
||||
fi; \
|
||||
rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
|
||||
ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
|
||||
ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
|
||||
cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
|
||||
echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \
|
||||
fi; \
|
||||
done; \
|
||||
done
|
||||
|
||||
install-strip: install
|
||||
|
||||
installdirs: installdirs-exec installdirs-data
|
||||
installdirs-exec:
|
||||
installdirs-data: installdirs-data-@USE_NLS@
|
||||
if test "$(PACKAGE)" = "gettext-tools"; then \
|
||||
$(mkdir_p) $(DESTDIR)$(gettextsrcdir); \
|
||||
else \
|
||||
: ; \
|
||||
fi
|
||||
installdirs-data-no:
|
||||
installdirs-data-yes:
|
||||
@catalogs='$(CATALOGS)'; \
|
||||
for cat in $$catalogs; do \
|
||||
cat=`basename $$cat`; \
|
||||
lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
|
||||
dir=$(localedir)/$$lang/LC_MESSAGES; \
|
||||
$(mkdir_p) $(DESTDIR)$$dir; \
|
||||
for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
|
||||
if test -n "$$lc"; then \
|
||||
if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
|
||||
link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
|
||||
mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
|
||||
mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
|
||||
(cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
|
||||
for file in *; do \
|
||||
if test -f $$file; then \
|
||||
ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
|
||||
fi; \
|
||||
done); \
|
||||
rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
|
||||
else \
|
||||
if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
|
||||
:; \
|
||||
else \
|
||||
rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
|
||||
mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
|
||||
fi; \
|
||||
fi; \
|
||||
fi; \
|
||||
done; \
|
||||
done
|
||||
|
||||
# Define this as empty until I found a useful application.
|
||||
installcheck:
|
||||
|
||||
uninstall: uninstall-exec uninstall-data
|
||||
uninstall-exec:
|
||||
uninstall-data: uninstall-data-@USE_NLS@
|
||||
if test "$(PACKAGE)" = "gettext-tools"; then \
|
||||
for file in $(DISTFILES.common) Makevars.template; do \
|
||||
rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
|
||||
done; \
|
||||
else \
|
||||
: ; \
|
||||
fi
|
||||
uninstall-data-no:
|
||||
uninstall-data-yes:
|
||||
catalogs='$(CATALOGS)'; \
|
||||
for cat in $$catalogs; do \
|
||||
cat=`basename $$cat`; \
|
||||
lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
|
||||
for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \
|
||||
rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
|
||||
done; \
|
||||
done
|
||||
|
||||
check: all
|
||||
|
||||
info dvi ps pdf html tags TAGS ctags CTAGS ID:
|
||||
|
||||
mostlyclean:
|
||||
rm -f remove-potcdate.sed
|
||||
rm -f stamp-poT
|
||||
rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
|
||||
rm -fr *.o
|
||||
|
||||
clean: mostlyclean
|
||||
|
||||
distclean: clean
|
||||
rm -f Makefile Makefile.in POTFILES *.mo
|
||||
|
||||
maintainer-clean: distclean
|
||||
@echo "This command is intended for maintainers to use;"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
rm -f stamp-po $(GMOFILES)
|
||||
|
||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
||||
dist distdir:
|
||||
$(MAKE) update-po
|
||||
@$(MAKE) dist2
|
||||
# This is a separate target because 'update-po' must be executed before.
|
||||
dist2: stamp-po $(DISTFILES)
|
||||
dists="$(DISTFILES)"; \
|
||||
if test "$(PACKAGE)" = "gettext-tools"; then \
|
||||
dists="$$dists Makevars.template"; \
|
||||
fi; \
|
||||
if test -f $(srcdir)/$(DOMAIN).pot; then \
|
||||
dists="$$dists $(DOMAIN).pot stamp-po"; \
|
||||
fi; \
|
||||
if test -f $(srcdir)/ChangeLog; then \
|
||||
dists="$$dists ChangeLog"; \
|
||||
fi; \
|
||||
for i in 0 1 2 3 4 5 6 7 8 9; do \
|
||||
if test -f $(srcdir)/ChangeLog.$$i; then \
|
||||
dists="$$dists ChangeLog.$$i"; \
|
||||
fi; \
|
||||
done; \
|
||||
if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \
|
||||
for file in $$dists; do \
|
||||
if test -f $$file; then \
|
||||
cp -p $$file $(distdir) || exit 1; \
|
||||
else \
|
||||
cp -p $(srcdir)/$$file $(distdir) || exit 1; \
|
||||
fi; \
|
||||
done
|
||||
|
||||
update-po: Makefile
|
||||
$(MAKE) $(DOMAIN).pot-update
|
||||
test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
|
||||
$(MAKE) update-gmo
|
||||
|
||||
# General rule for creating PO files.
|
||||
|
||||
.nop.po-create:
|
||||
@lang=`echo $@ | sed -e 's/\.po-create$$//'`; \
|
||||
echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \
|
||||
exit 1
|
||||
|
||||
# General rule for updating PO files.
|
||||
|
||||
.nop.po-update:
|
||||
@lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
|
||||
if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; fi; \
|
||||
tmpdir=`pwd`; \
|
||||
echo "$$lang:"; \
|
||||
test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
|
||||
echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
|
||||
cd $(srcdir); \
|
||||
if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
|
||||
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
|
||||
$(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
|
||||
*) \
|
||||
$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
|
||||
esac; \
|
||||
}; then \
|
||||
if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
|
||||
rm -f $$tmpdir/$$lang.new.po; \
|
||||
else \
|
||||
if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
|
||||
:; \
|
||||
else \
|
||||
echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
|
||||
exit 1; \
|
||||
fi; \
|
||||
fi; \
|
||||
else \
|
||||
echo "msgmerge for $$lang.po failed!" 1>&2; \
|
||||
rm -f $$tmpdir/$$lang.new.po; \
|
||||
fi
|
||||
|
||||
$(DUMMYPOFILES):
|
||||
|
||||
update-gmo: Makefile $(GMOFILES)
|
||||
@:
|
||||
|
||||
# Recreate Makefile by invoking config.status. Explicitly invoke the shell,
|
||||
# because execution permission bits may not work on the current file system.
|
||||
# Use @SHELL@, which is the shell determined by autoconf for the use by its
|
||||
# scripts, not $(SHELL) which is hardwired to /bin/sh and may be deficient.
|
||||
Makefile: Makefile.in.in Makevars $(top_builddir)/config.status @POMAKEFILEDEPS@
|
||||
cd $(top_builddir) \
|
||||
&& @SHELL@ ./config.status $(subdir)/$@.in po-directories
|
||||
|
||||
force:
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make not to export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
53
powertop-v2.10/po/Makevars
Normal file
53
powertop-v2.10/po/Makevars
Normal file
@ -0,0 +1,53 @@
|
||||
# Makefile variables for PO directory in any package using GNU gettext.
|
||||
|
||||
# Usually the message domain is the same as the package name.
|
||||
DOMAIN = $(PACKAGE)
|
||||
|
||||
# These two variables depend on the location of this directory.
|
||||
subdir = po
|
||||
top_builddir = ..
|
||||
|
||||
# These options get passed to xgettext.
|
||||
XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --keyword=__
|
||||
|
||||
# This is the copyright holder that gets inserted into the header of the
|
||||
# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
|
||||
# package. (Note that the msgstr strings, extracted from the package's
|
||||
# sources, belong to the copyright holder of the package.) Translators are
|
||||
# expected to transfer the copyright for their translations to this person
|
||||
# or entity, or to disclaim their copyright. The empty string stands for
|
||||
# the public domain; in this case the translators are expected to disclaim
|
||||
# their copyright.
|
||||
COPYRIGHT_HOLDER = Intel Corporation
|
||||
|
||||
# This is the email address or URL to which the translators shall report
|
||||
# bugs in the untranslated strings:
|
||||
# - Strings which are not entire sentences, see the maintainer guidelines
|
||||
# in the GNU gettext documentation, section 'Preparing Strings'.
|
||||
# - Strings which use unclear terms or require additional context to be
|
||||
# understood.
|
||||
# - Strings which make invalid assumptions about notation of date, time or
|
||||
# money.
|
||||
# - Pluralisation problems.
|
||||
# - Incorrect English spelling.
|
||||
# - Incorrect formatting.
|
||||
# It can be your email address, or a mailing list address where translators
|
||||
# can write to without being subscribed, or the URL of a web page through
|
||||
# which the translators can contact you.
|
||||
MSGID_BUGS_ADDRESS = "powertop@lists.01.org"
|
||||
|
||||
# This is the list of locale categories, beyond LC_MESSAGES, for which the
|
||||
# message catalogs shall be used. It is usually empty.
|
||||
EXTRA_LOCALE_CATEGORIES =
|
||||
|
||||
# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt'
|
||||
# context. Possible values are "yes" and "no". Set this to yes if the
|
||||
# package uses functions taking also a message context, like pgettext(), or
|
||||
# if in $(XGETTEXT_OPTIONS) you define keywords with a context argument.
|
||||
USE_MSGCTXT = no
|
||||
|
||||
# These options get passed to msgmerge.
|
||||
# Useful options are in particular:
|
||||
# --previous to keep previous msgids of translated messages,
|
||||
# --quiet to reduce the verbosity.
|
||||
MSGMERGE_OPTIONS =
|
||||
45
powertop-v2.10/po/POTFILES.in
Normal file
45
powertop-v2.10/po/POTFILES.in
Normal file
@ -0,0 +1,45 @@
|
||||
# List of source files which contain translatable strings.
|
||||
|
||||
src/calibrate/calibrate.cpp
|
||||
src/cpu/abstract_cpu.cpp
|
||||
src/cpu/cpu_core.cpp
|
||||
src/cpu/cpu.cpp
|
||||
src/cpu/cpu_linux.cpp
|
||||
src/cpu/cpu_package.cpp
|
||||
src/cpu/intel_cpus.cpp
|
||||
src/cpu/intel_gpu.cpp
|
||||
src/devices/ahci.cpp
|
||||
src/devices/alsa.cpp
|
||||
src/devices/devfreq.cpp
|
||||
src/devices/device.cpp
|
||||
src/devices/network.cpp
|
||||
src/devices/rfkill.cpp
|
||||
src/devices/runtime_pm.cpp
|
||||
src/devices/usb.cpp
|
||||
src/devlist.cpp
|
||||
src/display.cpp
|
||||
src/lib.cpp
|
||||
src/lib.h
|
||||
src/main.cpp
|
||||
src/parameters/persistent.cpp
|
||||
src/perf/perf_bundle.cpp
|
||||
src/perf/perf.cpp
|
||||
src/process/do_process.cpp
|
||||
src/report/report.cpp
|
||||
src/report/report-maker.h
|
||||
src/tuning/bluetooth.cpp
|
||||
src/tuning/ethernet.cpp
|
||||
src/tuning/nl80211.h
|
||||
src/tuning/runtime.cpp
|
||||
src/tuning/tunable.cpp
|
||||
src/tuning/tuning.cpp
|
||||
src/tuning/tuningi2c.cpp
|
||||
src/tuning/tuningsysfs.cpp
|
||||
src/tuning/tuningusb.cpp
|
||||
src/tuning/wifi.cpp
|
||||
src/wakeup/waketab.cpp
|
||||
src/wakeup/wakeup.cpp
|
||||
src/wakeup/wakeup_ethernet.cpp
|
||||
src/wakeup/wakeup_usb.cpp
|
||||
traceevent/event-parse.h
|
||||
traceevent/parse-utils.c
|
||||
47
powertop-v2.10/po/Rules-quot
Normal file
47
powertop-v2.10/po/Rules-quot
Normal file
@ -0,0 +1,47 @@
|
||||
# Special Makefile rules for English message catalogs with quotation marks.
|
||||
|
||||
DISTFILES.common.extra1 = quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot
|
||||
|
||||
.SUFFIXES: .insert-header .po-update-en
|
||||
|
||||
en@quot.po-create:
|
||||
$(MAKE) en@quot.po-update
|
||||
en@boldquot.po-create:
|
||||
$(MAKE) en@boldquot.po-update
|
||||
|
||||
en@quot.po-update: en@quot.po-update-en
|
||||
en@boldquot.po-update: en@boldquot.po-update-en
|
||||
|
||||
.insert-header.po-update-en:
|
||||
@lang=`echo $@ | sed -e 's/\.po-update-en$$//'`; \
|
||||
if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; GETTEXTLIBDIR=`cd $(top_srcdir)/src && pwd`; export GETTEXTLIBDIR; fi; \
|
||||
tmpdir=`pwd`; \
|
||||
echo "$$lang:"; \
|
||||
ll=`echo $$lang | sed -e 's/@.*//'`; \
|
||||
LC_ALL=C; export LC_ALL; \
|
||||
cd $(srcdir); \
|
||||
if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$lang -o - 2>/dev/null | sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | sed -e 's/.*@//'`.sed 2>/dev/null > $$tmpdir/$$lang.new.po; then \
|
||||
if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
|
||||
rm -f $$tmpdir/$$lang.new.po; \
|
||||
else \
|
||||
if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
|
||||
:; \
|
||||
else \
|
||||
echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
|
||||
exit 1; \
|
||||
fi; \
|
||||
fi; \
|
||||
else \
|
||||
echo "creation of $$lang.po failed!" 1>&2; \
|
||||
rm -f $$tmpdir/$$lang.new.po; \
|
||||
fi
|
||||
|
||||
en@quot.insert-header: insert-header.sin
|
||||
sed -e '/^#/d' -e 's/HEADER/en@quot.header/g' $(srcdir)/insert-header.sin > en@quot.insert-header
|
||||
|
||||
en@boldquot.insert-header: insert-header.sin
|
||||
sed -e '/^#/d' -e 's/HEADER/en@boldquot.header/g' $(srcdir)/insert-header.sin > en@boldquot.insert-header
|
||||
|
||||
mostlyclean: mostlyclean-quot
|
||||
mostlyclean-quot:
|
||||
rm -f *.insert-header
|
||||
10
powertop-v2.10/po/boldquot.sed
Normal file
10
powertop-v2.10/po/boldquot.sed
Normal file
@ -0,0 +1,10 @@
|
||||
s/"\([^"]*\)"/“\1”/g
|
||||
s/`\([^`']*\)'/‘\1’/g
|
||||
s/ '\([^`']*\)' / ‘\1’ /g
|
||||
s/ '\([^`']*\)'$/ ‘\1’/g
|
||||
s/^'\([^`']*\)' /‘\1’ /g
|
||||
s/“”/""/g
|
||||
s/“/“[1m/g
|
||||
s/”/[0m”/g
|
||||
s/‘/‘[1m/g
|
||||
s/’/[0m’/g
|
||||
BIN
powertop-v2.10/po/ca.gmo
Normal file
BIN
powertop-v2.10/po/ca.gmo
Normal file
Binary file not shown.
965
powertop-v2.10/po/ca.po
Normal file
965
powertop-v2.10/po/ca.po
Normal file
@ -0,0 +1,965 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR Intel Corporation
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
#
|
||||
# Translators:
|
||||
# capimans, 2012
|
||||
# Il_Tifossi <lluita_i_no_dorm@hotmail.com>, 2011
|
||||
# Juanma Hernández <juanmah@gmail.com>, 2012
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PowerTOP\n"
|
||||
"Report-Msgid-Bugs-To: \"powertop@lists.01.org\"\n"
|
||||
"POT-Creation-Date: 2019-01-04 16:21-0800\n"
|
||||
"PO-Revision-Date: 2013-11-05 08:40+0000\n"
|
||||
"Last-Translator: Margie Foster <margie@linux.intel.com>\n"
|
||||
"Language-Team: Catalan (http://www.transifex.com/projects/p/PowerTOP/"
|
||||
"language/ca/)\n"
|
||||
"Language: ca\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:238
|
||||
#, c-format
|
||||
msgid "Cannot create temp file\n"
|
||||
msgstr "No es pot crear el fitxer temporal\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:258
|
||||
#, c-format
|
||||
msgid "Calibrating: CPU usage on %i threads\n"
|
||||
msgstr "Calibrant: ús de CPU en %i discussions\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:273
|
||||
#, c-format
|
||||
msgid "Calibrating: CPU wakeup power consumption\n"
|
||||
msgstr "Calibrant: consum d'energia de l'encesa de CPU\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:290
|
||||
#, c-format
|
||||
msgid "Calibrating USB devices\n"
|
||||
msgstr "Calibrant dispositius USB\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:292 src/calibrate/calibrate.cpp:309
|
||||
#: src/calibrate/calibrate.cpp:317 src/calibrate/calibrate.cpp:334
|
||||
#, c-format
|
||||
msgid ".... device %s \n"
|
||||
msgstr ".... dispositiu %s\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:307
|
||||
#, c-format
|
||||
msgid "Calibrating radio devices\n"
|
||||
msgstr "Calibrant dispositius de ràdio\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:331
|
||||
#, c-format
|
||||
msgid "Calibrating backlight\n"
|
||||
msgstr "Calibrant llum de fons\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:355 src/calibrate/calibrate.cpp:365
|
||||
#, c-format
|
||||
msgid "Calibrating idle\n"
|
||||
msgstr "Calibrant repòs\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:378
|
||||
#, c-format
|
||||
msgid "Calibrating: disk usage \n"
|
||||
msgstr "Calibrant: ús de disc\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:403
|
||||
msgid "Starting PowerTOP power estimate calibration \n"
|
||||
msgstr "Iniciant calibrat d'estimació d'energia PowerTOP\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:426
|
||||
msgid "Finishing PowerTOP power estimate calibration \n"
|
||||
msgstr "Finalitzant calibració d'estimació d'energia de PowerTOP\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:430
|
||||
#, c-format
|
||||
msgid "Parameters after calibration:\n"
|
||||
msgstr "Paràmetres després del calibrat:\n"
|
||||
|
||||
#: src/cpu/abstract_cpu.cpp:74
|
||||
msgid "Idle"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/abstract_cpu.cpp:76
|
||||
msgid "Turbo Mode"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_core.cpp:37
|
||||
#, c-format
|
||||
msgid " Core(HW)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_core.cpp:37
|
||||
#, c-format
|
||||
msgid " Core(OS)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:324
|
||||
#, c-format
|
||||
msgid " Core"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:85
|
||||
#, c-format
|
||||
msgid "cpu package %i"
|
||||
msgstr "Paquet CPU %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:86
|
||||
msgid "cpu package"
|
||||
msgstr "paquet cpu"
|
||||
|
||||
#: src/cpu/cpu.cpp:89 src/cpu/cpu.cpp:96
|
||||
#, fuzzy, c-format
|
||||
msgid "package-%i"
|
||||
msgstr "Paquet CPU %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:90
|
||||
msgid "cpu rapl package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:97
|
||||
msgid "dram rapl package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:471
|
||||
msgid "Processor Idle State Report"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:535 src/cpu/cpu.cpp:753
|
||||
msgid "Package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:566 src/cpu/cpu.cpp:775
|
||||
#, c-format
|
||||
msgid "Core %d"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:573
|
||||
#, c-format
|
||||
msgid "GPU %d"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:594
|
||||
msgid "CPU"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:676
|
||||
msgid "Processor Frequency Report"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:796
|
||||
#, c-format
|
||||
msgid "CPU %d"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:997
|
||||
#, c-format
|
||||
msgid "cpu_idle event returned no state?\n"
|
||||
msgstr "l'event cpu_idle no ha retornat cap estat?\n"
|
||||
|
||||
#: src/cpu/cpu.cpp:1012
|
||||
#, c-format
|
||||
msgid "power or cpu_frequency event returned no state?\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_linux.cpp:79
|
||||
msgid "C0 polling"
|
||||
msgstr "C0 sondejant"
|
||||
|
||||
#: src/cpu/cpu_linux.cpp:242
|
||||
#, c-format
|
||||
msgid " CPU(OS) %i"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:651
|
||||
#, c-format
|
||||
msgid " CPU %i"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_package.cpp:47
|
||||
#, c-format
|
||||
msgid " Pkg(HW)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_package.cpp:47
|
||||
#, c-format
|
||||
msgid " Pkg(OS)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:412
|
||||
#, c-format
|
||||
msgid " Package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/intel_cpus.cpp:129
|
||||
#, c-format
|
||||
msgid "read_msr cpu%d 0x%llx : "
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/intel_cpus.cpp:574
|
||||
msgid "C0 active"
|
||||
msgstr "C0 actiu"
|
||||
|
||||
#: src/cpu/intel_cpus.cpp:632
|
||||
#, c-format
|
||||
msgid "Average"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/intel_gpu.cpp:64
|
||||
#, c-format
|
||||
msgid " GPU "
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:154
|
||||
#, c-format
|
||||
msgid "SATA link: %s"
|
||||
msgstr "Connexió SATA: %s"
|
||||
|
||||
#: src/devices/ahci.cpp:156
|
||||
#, c-format
|
||||
msgid "SATA disk: %s"
|
||||
msgstr "Disc SATA: %s"
|
||||
|
||||
#: src/devices/ahci.cpp:374
|
||||
msgid "AHCI ALPM Residency Statistics - Not supported on this macine"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:389
|
||||
msgid "Link"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:390
|
||||
#, fuzzy
|
||||
msgid "Active"
|
||||
msgstr "C0 actiu"
|
||||
|
||||
#: src/devices/ahci.cpp:391
|
||||
msgid "Partial"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:392
|
||||
msgid "Slumber"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:393
|
||||
msgid "Devslp"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:399
|
||||
msgid "AHCI ALPM Residency Statistics"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/alsa.cpp:77
|
||||
#, c-format
|
||||
msgid "Audio codec %s: %s (%s)"
|
||||
msgstr "Còdec d'àudio %s: %s (%s)"
|
||||
|
||||
#: src/devices/alsa.cpp:79 src/devices/alsa.cpp:81
|
||||
#, c-format
|
||||
msgid "Audio codec %s: %s"
|
||||
msgstr "Còdec d'àudio %s: %s"
|
||||
|
||||
#: src/devices/devfreq.cpp:261
|
||||
#, fuzzy
|
||||
msgid "Device Freq stats"
|
||||
msgstr "Estadístiques del dispositiu"
|
||||
|
||||
#: src/devices/devfreq.cpp:279
|
||||
msgid " Devfreq is not enabled"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/devfreq.cpp:284
|
||||
msgid " No devfreq devices available"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:172 src/process/do_process.cpp:831
|
||||
#, c-format
|
||||
msgid "The battery reports a discharge rate of %sW\n"
|
||||
msgstr "La bateria reporta un nivell de descàrrega de %sW\n"
|
||||
|
||||
#: src/devices/device.cpp:174 src/process/do_process.cpp:833
|
||||
#, c-format
|
||||
msgid "The power consumed was %sJ\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:180
|
||||
#, c-format
|
||||
msgid "System baseline power is estimated at %sW\n"
|
||||
msgstr "La línia base d'energia del sistema està estimada en %sW\n"
|
||||
|
||||
#: src/devices/device.cpp:187
|
||||
msgid "Power est. Usage Device name\n"
|
||||
msgstr "Energia est. Ús Nom del dispositiu\n"
|
||||
|
||||
#: src/devices/device.cpp:189
|
||||
msgid " Usage Device name\n"
|
||||
msgstr " Ús Nom del dispositiu\n"
|
||||
|
||||
#: src/devices/device.cpp:256
|
||||
#, fuzzy
|
||||
msgid "The battery reports a discharge rate of: "
|
||||
msgstr "La bateria reporta un nivell de descàrrega de %sW\n"
|
||||
|
||||
#: src/devices/device.cpp:261
|
||||
msgid "The power consumed was : "
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:268
|
||||
#, fuzzy
|
||||
msgid "The system baseline power is estimated at: "
|
||||
msgstr "La línia base d'energia del sistema està estimada en %sW\n"
|
||||
|
||||
#: src/devices/device.cpp:277 src/process/do_process.cpp:850
|
||||
#: src/process/do_process.cpp:852 src/process/do_process.cpp:926
|
||||
#: src/process/do_process.cpp:1077
|
||||
msgid "Usage"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:278
|
||||
#, fuzzy
|
||||
msgid "Device Name"
|
||||
msgstr "Estadístiques del dispositiu"
|
||||
|
||||
#: src/devices/device.cpp:280 src/process/do_process.cpp:935
|
||||
#: src/process/do_process.cpp:1082
|
||||
msgid "PW Estimate"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:317
|
||||
msgid "Device Power Report"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/network.cpp:177
|
||||
#, c-format
|
||||
msgid "Network interface: %s (%s)"
|
||||
msgstr "Interfície de xarxa: %s(%s)"
|
||||
|
||||
#: src/devices/rfkill.cpp:65 src/devices/rfkill.cpp:69
|
||||
#, c-format
|
||||
msgid "Radio device: %s"
|
||||
msgstr "Dispositiu de ràdio: %s"
|
||||
|
||||
#: src/devices/runtime_pm.cpp:216
|
||||
#, c-format
|
||||
msgid "I2C %s (%s): %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/runtime_pm.cpp:216 src/tuning/tuningi2c.cpp:57
|
||||
#: src/tuning/tuningi2c.cpp:59
|
||||
msgid "Adapter"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/runtime_pm.cpp:216 src/devlist.cpp:331
|
||||
#: src/tuning/tuningi2c.cpp:57 src/tuning/tuningi2c.cpp:59
|
||||
#, fuzzy
|
||||
msgid "Device"
|
||||
msgstr "Estadístiques del dispositiu"
|
||||
|
||||
#: src/devices/runtime_pm.cpp:241
|
||||
#, c-format
|
||||
msgid "PCI Device: %s"
|
||||
msgstr "Dispositiu PCI: %s"
|
||||
|
||||
#: src/devices/usb.cpp:51 src/devices/usb.cpp:96 src/devices/usb.cpp:98
|
||||
#, c-format
|
||||
msgid "USB device: %s"
|
||||
msgstr "Dispositiu USB: %s"
|
||||
|
||||
#: src/devices/usb.cpp:94
|
||||
#, c-format
|
||||
msgid "USB device: %s (%s)"
|
||||
msgstr "Dispositiu USB: %s (%s)"
|
||||
|
||||
#: src/devlist.cpp:330
|
||||
msgid "Process"
|
||||
msgstr ""
|
||||
|
||||
#: src/devlist.cpp:347
|
||||
msgid "Process Device Activity"
|
||||
msgstr ""
|
||||
|
||||
#: src/display.cpp:70
|
||||
msgid "Overview"
|
||||
msgstr "Informació general"
|
||||
|
||||
#: src/display.cpp:71
|
||||
msgid "Idle stats"
|
||||
msgstr "Estadístiques de repòs"
|
||||
|
||||
#: src/display.cpp:72
|
||||
msgid "Frequency stats"
|
||||
msgstr "Estadístiques de freqüència"
|
||||
|
||||
#: src/display.cpp:73
|
||||
msgid "Device stats"
|
||||
msgstr "Estadístiques del dispositiu"
|
||||
|
||||
#: src/display.cpp:131
|
||||
msgid "Exit"
|
||||
msgstr "Surt"
|
||||
|
||||
#: src/display.cpp:132
|
||||
msgid "Navigate"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:288
|
||||
#, c-format
|
||||
msgid "%7sW"
|
||||
msgstr "%7sW"
|
||||
|
||||
#: src/lib.cpp:291
|
||||
#, c-format
|
||||
msgid " 0 mW"
|
||||
msgstr " 0 mW"
|
||||
|
||||
#: src/lib.cpp:410
|
||||
msgid "PS/2 Touchpad / Keyboard / Mouse"
|
||||
msgstr "PS/2 Touchpad / Teclat / Ratolí"
|
||||
|
||||
#: src/lib.cpp:411
|
||||
msgid "SATA controller"
|
||||
msgstr "Controlador SATA"
|
||||
|
||||
#: src/lib.cpp:412
|
||||
msgid "Intel built in USB hub"
|
||||
msgstr "Intel connectat a port USB"
|
||||
|
||||
#: src/lib.cpp:467
|
||||
#, c-format
|
||||
msgid "glob returned GLOB_NOSPACE\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:471
|
||||
#, c-format
|
||||
msgid "glob returned GLOB_ABORTED\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:475
|
||||
#, c-format
|
||||
msgid "glob returned GLOB_NOMATCH\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:513 src/lib.cpp:549
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Model-specific registers (MSR)\t\t\t not found (try enabling "
|
||||
"CONFIG_X86_MSR).\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:103
|
||||
#, fuzzy, c-format
|
||||
msgid "PowerTOP version "
|
||||
msgstr "PowerTOP "
|
||||
|
||||
#: src/main.cpp:109
|
||||
msgid "Set refresh time out"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:122
|
||||
msgid "Usage: powertop [OPTIONS]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:123
|
||||
msgid "sets all tunable options to their GOOD setting"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:124
|
||||
msgid "runs powertop in calibration mode"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:125 src/main.cpp:128
|
||||
msgid "[=filename]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:125
|
||||
msgid "generate a csv report"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:126
|
||||
msgid "run in \"debug\" mode"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:127
|
||||
msgid "[=devnode]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:127
|
||||
msgid "uses an Extech Power Analyzer for measurements"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:128
|
||||
msgid "generate a html report"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:129
|
||||
msgid "[=iterations] number of times to run each test"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:130
|
||||
msgid "suppress stderr output"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:131 src/main.cpp:132
|
||||
msgid "[=seconds]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:131
|
||||
msgid "interval for power consumption measurement"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:132
|
||||
msgid "generate a report for 'x' seconds"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:133
|
||||
msgid "[=workload]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:133
|
||||
msgid "file to execute for workload"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:134
|
||||
msgid "print version information"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:135
|
||||
msgid "print this help menu"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:137
|
||||
msgid "For more help please refer to the 'man 8 powertop'"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:232
|
||||
#, c-format
|
||||
msgid "Unknown issue running workload!\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:289
|
||||
msgid "PowerTOP is out of memory. PowerTOP is Aborting"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:297
|
||||
#, c-format
|
||||
msgid "Preparing to take measurements\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:302
|
||||
#, c-format
|
||||
msgid "Taking %d measurement(s) for a duration of %d second(s) each.\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:304
|
||||
#, c-format
|
||||
msgid "Measuring workload %s.\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:329
|
||||
#, c-format
|
||||
msgid "PowerTOP "
|
||||
msgstr "PowerTOP "
|
||||
|
||||
#: src/main.cpp:330 src/main.cpp:380
|
||||
#, c-format
|
||||
msgid "exiting...\n"
|
||||
msgstr "sortint...\n"
|
||||
|
||||
#: src/main.cpp:364
|
||||
#, c-format
|
||||
msgid "modprobe cpufreq_stats failed"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:367
|
||||
#, c-format
|
||||
msgid "modprobe msr failed"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:379 src/main.cpp:383
|
||||
#, c-format
|
||||
msgid "Failed to mount debugfs!\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:384
|
||||
#, c-format
|
||||
msgid "Should still be able to auto tune...\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:466
|
||||
#, c-format
|
||||
msgid "Invalid CSV filename\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:482
|
||||
#, c-format
|
||||
msgid "Invalid HTML filename\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:491
|
||||
#, c-format
|
||||
msgid "Quiet mode failed!\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:559
|
||||
msgid "Leaving PowerTOP"
|
||||
msgstr ""
|
||||
|
||||
#: src/parameters/persistent.cpp:46 src/parameters/persistent.cpp:155
|
||||
msgid "Cannot save to file"
|
||||
msgstr ""
|
||||
|
||||
#: src/parameters/persistent.cpp:89 src/parameters/persistent.cpp:180
|
||||
msgid "Cannot load from file"
|
||||
msgstr ""
|
||||
|
||||
#: src/parameters/persistent.cpp:138
|
||||
#, c-format
|
||||
msgid "Loaded %i prior measurements\n"
|
||||
msgstr "Últimes mesuracions de %i carregades\n"
|
||||
|
||||
#: src/parameters/persistent.cpp:181
|
||||
msgid ""
|
||||
"File will be loaded after taking minimum number of measurement(s) with "
|
||||
"battery only \n"
|
||||
msgstr ""
|
||||
|
||||
#: src/perf/perf.cpp:115
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Too many open files, please increase the limit of open file descriptors.\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/perf/perf.cpp:117
|
||||
#, c-format
|
||||
msgid "PowerTOP %s needs the kernel to support the 'perf' subsystem\n"
|
||||
msgstr "PowerTOP %s necessita que el kernel suporti el subsistema 'perf'\n"
|
||||
|
||||
#: src/perf/perf.cpp:118
|
||||
#, c-format
|
||||
msgid "as well as support for trace points in the kernel:\n"
|
||||
msgstr "així com suport per a punts de seguiment en el kernel:\n"
|
||||
|
||||
#: src/process/do_process.cpp:819
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Estimated power: %5.1f Measured power: %5.1f Sum: %5.1f\n"
|
||||
"\n"
|
||||
msgstr ""
|
||||
"Potència estimada: %5.1f Potència mesurada: %5.1f Suma: %5.1f\n"
|
||||
"\n"
|
||||
|
||||
#: src/process/do_process.cpp:838
|
||||
#, c-format
|
||||
msgid "The estimated remaining time is %i hours, %i minutes\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "Summary"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "wakeups/second"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "GPU ops/seconds"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "VFS ops/sec and"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "CPU use"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:850
|
||||
msgid "Power est."
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:850 src/process/do_process.cpp:852
|
||||
#: src/process/do_process.cpp:1078
|
||||
msgid "Events/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:850 src/process/do_process.cpp:852
|
||||
#: src/process/do_process.cpp:931 src/process/do_process.cpp:1079
|
||||
msgid "Category"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:850 src/process/do_process.cpp:852
|
||||
#: src/process/do_process.cpp:932 src/process/do_process.cpp:1080
|
||||
#: src/tuning/tuning.cpp:242 src/tuning/tuning.cpp:270
|
||||
#: src/tuning/tuning.cpp:288 src/wakeup/waketab.cpp:155
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:927
|
||||
msgid "Wakeups/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:928
|
||||
msgid "GPU ops/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:929
|
||||
msgid "Disk IO/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:930
|
||||
msgid "GFX Wakeups/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1017
|
||||
msgid "Overview of Software Power Consumers"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1057
|
||||
msgid "Target:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1058
|
||||
msgid "1 units/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1059
|
||||
msgid "System: "
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1061
|
||||
msgid " wakeup/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1062
|
||||
msgid "CPU: "
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1064
|
||||
#, c-format
|
||||
msgid "% usage"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1065
|
||||
msgid "GPU:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1067 src/process/do_process.cpp:1073
|
||||
msgid " ops/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1068
|
||||
msgid "GFX:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1070
|
||||
msgid " wakeups/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1071
|
||||
msgid "VFS:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1139
|
||||
msgid "Top 10 Power Consumers"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:122
|
||||
#, fuzzy
|
||||
msgid "PowerTOP Version"
|
||||
msgstr "PowerTOP "
|
||||
|
||||
#: src/report/report.cpp:131
|
||||
msgid "Kernel Version"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:135
|
||||
msgid "System Name"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:142
|
||||
msgid "CPU Information"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:154
|
||||
msgid "OS Information"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:161
|
||||
msgid "System Information"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:195
|
||||
#, fuzzy, c-format
|
||||
msgid "Cannot open output file %s (%s)\n"
|
||||
msgstr "No es pot crear el fitxer temporal\n"
|
||||
|
||||
#: src/report/report.cpp:211
|
||||
#, c-format
|
||||
msgid "PowerTOP outputing using base filename %s\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/bluetooth.cpp:46 src/tuning/ethernet.cpp:50
|
||||
#: src/tuning/runtime.cpp:42 src/tuning/tunable.cpp:49
|
||||
#: src/tuning/tuningi2c.cpp:35 src/tuning/tuningsysfs.cpp:45
|
||||
#: src/tuning/tuningusb.cpp:39 src/tuning/wifi.cpp:45
|
||||
msgid "Good"
|
||||
msgstr "Bo"
|
||||
|
||||
#: src/tuning/bluetooth.cpp:46 src/tuning/ethernet.cpp:50
|
||||
#: src/tuning/runtime.cpp:42 src/tuning/tunable.cpp:50
|
||||
#: src/tuning/tuningi2c.cpp:35 src/tuning/tuningsysfs.cpp:45
|
||||
#: src/tuning/tuningusb.cpp:39 src/tuning/wifi.cpp:45
|
||||
msgid "Bad"
|
||||
msgstr "Malament"
|
||||
|
||||
#: src/tuning/bluetooth.cpp:46 src/tuning/ethernet.cpp:50
|
||||
#: src/tuning/runtime.cpp:42 src/tuning/tunable.cpp:51
|
||||
#: src/tuning/tuningi2c.cpp:35 src/tuning/tuningsysfs.cpp:45
|
||||
#: src/tuning/tuningusb.cpp:39 src/tuning/wifi.cpp:45 src/wakeup/wakeup.cpp:50
|
||||
msgid "Unknown"
|
||||
msgstr "Desconegut"
|
||||
|
||||
#: src/tuning/bluetooth.cpp:48
|
||||
#, c-format
|
||||
msgid "Bluetooth device interface status"
|
||||
msgstr "Estat de la interfície del dispositiu Bluetooth"
|
||||
|
||||
#: src/tuning/ethernet.cpp:54 src/wakeup/wakeup_ethernet.cpp:51
|
||||
#, c-format
|
||||
msgid "Wake-on-lan status for device %s"
|
||||
msgstr "Estat Wake-on-lan per a dispositiu %s"
|
||||
|
||||
#: src/tuning/runtime.cpp:48
|
||||
#, c-format
|
||||
msgid "Runtime PM for %s device %s"
|
||||
msgstr "Temps d'execució PM per %s dispositiu %s"
|
||||
|
||||
#: src/tuning/runtime.cpp:50
|
||||
#, c-format
|
||||
msgid "%s device %s has no runtime power management"
|
||||
msgstr "%s dispositiu %s no té administració d'energia en el funcionament"
|
||||
|
||||
#: src/tuning/runtime.cpp:74
|
||||
#, c-format
|
||||
msgid "PCI Device %s has no runtime power management"
|
||||
msgstr "El dispositiu PCI %s no té administració d'energia en temps d'execució"
|
||||
|
||||
#: src/tuning/runtime.cpp:76
|
||||
#, c-format
|
||||
msgid "Runtime PM for PCI Device %s"
|
||||
msgstr "Temps d'execució PM per dispositiu PCI %s"
|
||||
|
||||
#: src/tuning/tuning.cpp:62
|
||||
msgid "Enable Audio codec power management"
|
||||
msgstr "Habilita administració d'energia del còdec d'àudio"
|
||||
|
||||
#: src/tuning/tuning.cpp:63
|
||||
msgid "NMI watchdog should be turned off"
|
||||
msgstr "S'hauria d'apagar la vigilància NMI"
|
||||
|
||||
#: src/tuning/tuning.cpp:64
|
||||
msgid "Power Aware CPU scheduler"
|
||||
msgstr "Planificador de CPU conscient d'energia"
|
||||
|
||||
#: src/tuning/tuning.cpp:65
|
||||
msgid "VM writeback timeout"
|
||||
msgstr "Temps límint de reescriptura VM"
|
||||
|
||||
#: src/tuning/tuning.cpp:81
|
||||
msgid "Tunables"
|
||||
msgstr "Optimitzables"
|
||||
|
||||
#: src/tuning/tuning.cpp:81
|
||||
msgid " <ESC> Exit | <Enter> Toggle tunable | <r> Window refresh"
|
||||
msgstr "<ESC> Sortir | <ENTRAR> canvia optimitzable | <r> Actualitza finestra"
|
||||
|
||||
#: src/tuning/tuning.cpp:243 src/wakeup/waketab.cpp:156
|
||||
msgid "Script"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:257
|
||||
msgid "Software Settings in Need of Tuning"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:276
|
||||
msgid "Untunable Software Issues"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:300
|
||||
msgid "Optimal Tuned Software Settings"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuningi2c.cpp:57
|
||||
#, fuzzy, c-format
|
||||
msgid "Runtime PM for I2C %s %s (%s)"
|
||||
msgstr "Temps d'execució PM per %s dispositiu %s"
|
||||
|
||||
#: src/tuning/tuningi2c.cpp:59
|
||||
#, fuzzy, c-format
|
||||
msgid "I2C %s %s has no runtime power management"
|
||||
msgstr "%s dispositiu %s no té administració d'energia en el funcionament"
|
||||
|
||||
#: src/tuning/tuningsysfs.cpp:123
|
||||
#, fuzzy, c-format
|
||||
msgid "Enable SATA link power management for %s"
|
||||
msgstr "Habilita administració d'energia del còdec d'àudio"
|
||||
|
||||
#: src/tuning/tuningusb.cpp:54
|
||||
#, c-format
|
||||
msgid "Autosuspend for unknown USB device %s (%s:%s)"
|
||||
msgstr "Autosuspès per a dispositiu USB desconegut %s (%s:%s)"
|
||||
|
||||
#: src/tuning/tuningusb.cpp:71 src/tuning/tuningusb.cpp:73
|
||||
#: src/tuning/tuningusb.cpp:75
|
||||
#, c-format
|
||||
msgid "Autosuspend for USB device %s [%s]"
|
||||
msgstr "Autosuspès per a dipositiu USB %s [%s]"
|
||||
|
||||
#: src/tuning/wifi.cpp:48
|
||||
#, c-format
|
||||
msgid "Wireless Power Saving for interface %s"
|
||||
msgstr "Estalvi d'energia sense cable per a interfície %s"
|
||||
|
||||
#: src/wakeup/waketab.cpp:42
|
||||
msgid "WakeUp"
|
||||
msgstr ""
|
||||
|
||||
#: src/wakeup/waketab.cpp:42
|
||||
#, fuzzy
|
||||
msgid " <ESC> Exit | <Enter> Toggle wakeup | <r> Window refresh"
|
||||
msgstr "<ESC> Sortir | <ENTRAR> canvia optimitzable | <r> Actualitza finestra"
|
||||
|
||||
#: src/wakeup/waketab.cpp:170
|
||||
#, fuzzy
|
||||
msgid "Wake status of the devices"
|
||||
msgstr "Estat Wake-on-lan per a dispositiu %s"
|
||||
|
||||
#: src/wakeup/wakeup.cpp:48 src/wakeup/wakeup_ethernet.cpp:47
|
||||
#: src/wakeup/wakeup_usb.cpp:47
|
||||
#, fuzzy
|
||||
msgid "Enable"
|
||||
msgstr "Optimitzables"
|
||||
|
||||
#: src/wakeup/wakeup.cpp:49 src/wakeup/wakeup_ethernet.cpp:47
|
||||
#: src/wakeup/wakeup_usb.cpp:47
|
||||
msgid "Disable"
|
||||
msgstr ""
|
||||
|
||||
#: src/wakeup/wakeup_usb.cpp:51
|
||||
#, fuzzy, c-format
|
||||
msgid "Wake status for USB device %s"
|
||||
msgstr "Estat Wake-on-lan per a dispositiu %s"
|
||||
|
||||
#~ msgid "Actual"
|
||||
#~ msgstr "Autèntic"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "I2C Device: %s"
|
||||
#~ msgstr "Dispositiu PCI: %s"
|
||||
|
||||
#~ msgid "Using 'ondemand' cpufreq governor"
|
||||
#~ msgstr "Utilitzant governador de la freqüència CPU 'ondemand'"
|
||||
BIN
powertop-v2.10/po/cs_CZ.gmo
Normal file
BIN
powertop-v2.10/po/cs_CZ.gmo
Normal file
Binary file not shown.
992
powertop-v2.10/po/cs_CZ.po
Normal file
992
powertop-v2.10/po/cs_CZ.po
Normal file
@ -0,0 +1,992 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR Intel Corporation
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
#
|
||||
# Translators:
|
||||
# Alois Nešpor <info@aloisnespor.info>, 2013
|
||||
# Otto Bříza <otto.briza@gmail.com>, 2012
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PowerTOP\n"
|
||||
"Report-Msgid-Bugs-To: \"powertop@lists.01.org\"\n"
|
||||
"POT-Creation-Date: 2019-01-04 16:21-0800\n"
|
||||
"PO-Revision-Date: 2013-11-05 08:40+0000\n"
|
||||
"Last-Translator: Margie Foster <margie@linux.intel.com>\n"
|
||||
"Language-Team: Czech (Czech Republic) (http://www.transifex.com/projects/p/"
|
||||
"PowerTOP/language/cs_CZ/)\n"
|
||||
"Language: cs_CZ\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:238
|
||||
#, c-format
|
||||
msgid "Cannot create temp file\n"
|
||||
msgstr "Nelze vytvořit dočasný soubor\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:258
|
||||
#, c-format
|
||||
msgid "Calibrating: CPU usage on %i threads\n"
|
||||
msgstr "Kalibrace: CPU použito na %i vláken\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:273
|
||||
#, c-format
|
||||
msgid "Calibrating: CPU wakeup power consumption\n"
|
||||
msgstr "Kalibrace: spotřeba energie na probuzení CPU\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:290
|
||||
#, c-format
|
||||
msgid "Calibrating USB devices\n"
|
||||
msgstr "Kalibrace USB zařízení\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:292 src/calibrate/calibrate.cpp:309
|
||||
#: src/calibrate/calibrate.cpp:317 src/calibrate/calibrate.cpp:334
|
||||
#, c-format
|
||||
msgid ".... device %s \n"
|
||||
msgstr ".... zařízení %s \n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:307
|
||||
#, c-format
|
||||
msgid "Calibrating radio devices\n"
|
||||
msgstr "Kalibrace radio zařízení\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:331
|
||||
#, c-format
|
||||
msgid "Calibrating backlight\n"
|
||||
msgstr "Kalibrace podsvícení\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:355 src/calibrate/calibrate.cpp:365
|
||||
#, c-format
|
||||
msgid "Calibrating idle\n"
|
||||
msgstr "Kalibrace nečinnosti\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:378
|
||||
#, c-format
|
||||
msgid "Calibrating: disk usage \n"
|
||||
msgstr "Kalibrace: užití disku \n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:403
|
||||
msgid "Starting PowerTOP power estimate calibration \n"
|
||||
msgstr "Začínání kalibrace odhadování energie PowerTOP\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:426
|
||||
msgid "Finishing PowerTOP power estimate calibration \n"
|
||||
msgstr "Ukončování kalibrace odhadování energie PowerTOP\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:430
|
||||
#, c-format
|
||||
msgid "Parameters after calibration:\n"
|
||||
msgstr "Parametry po kalibraci:\n"
|
||||
|
||||
#: src/cpu/abstract_cpu.cpp:74
|
||||
msgid "Idle"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/abstract_cpu.cpp:76
|
||||
msgid "Turbo Mode"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_core.cpp:37
|
||||
#, fuzzy, c-format
|
||||
msgid " Core(HW)"
|
||||
msgstr " Jádro"
|
||||
|
||||
#: src/cpu/cpu_core.cpp:37
|
||||
#, fuzzy, c-format
|
||||
msgid " Core(OS)"
|
||||
msgstr " Jádro"
|
||||
|
||||
#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:324
|
||||
#, c-format
|
||||
msgid " Core"
|
||||
msgstr " Jádro"
|
||||
|
||||
#: src/cpu/cpu.cpp:85
|
||||
#, c-format
|
||||
msgid "cpu package %i"
|
||||
msgstr "cpu svazek %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:86
|
||||
msgid "cpu package"
|
||||
msgstr "cpu svazek"
|
||||
|
||||
#: src/cpu/cpu.cpp:89 src/cpu/cpu.cpp:96
|
||||
#, fuzzy, c-format
|
||||
msgid "package-%i"
|
||||
msgstr "Balíček %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:90
|
||||
msgid "cpu rapl package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:97
|
||||
msgid "dram rapl package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:471
|
||||
msgid "Processor Idle State Report"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:535 src/cpu/cpu.cpp:753
|
||||
msgid "Package"
|
||||
msgstr "Balíček"
|
||||
|
||||
#: src/cpu/cpu.cpp:566 src/cpu/cpu.cpp:775
|
||||
#, fuzzy, c-format
|
||||
msgid "Core %d"
|
||||
msgstr "Jádro %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:573
|
||||
#, fuzzy, c-format
|
||||
msgid "GPU %d"
|
||||
msgstr "GPU %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:594
|
||||
#, fuzzy
|
||||
msgid "CPU"
|
||||
msgstr "GPU %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:676
|
||||
msgid "Processor Frequency Report"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:796
|
||||
#, fuzzy, c-format
|
||||
msgid "CPU %d"
|
||||
msgstr "GPU %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:997
|
||||
#, c-format
|
||||
msgid "cpu_idle event returned no state?\n"
|
||||
msgstr "cpu_idle událost nevrátila stav?\n"
|
||||
|
||||
#: src/cpu/cpu.cpp:1012
|
||||
#, c-format
|
||||
msgid "power or cpu_frequency event returned no state?\n"
|
||||
msgstr ""
|
||||
"power nebo cpu_frequecny událost nevrátila žádný stav?\n"
|
||||
"\n"
|
||||
|
||||
#: src/cpu/cpu_linux.cpp:79
|
||||
msgid "C0 polling"
|
||||
msgstr "C0 sdílení"
|
||||
|
||||
#: src/cpu/cpu_linux.cpp:242
|
||||
#, fuzzy, c-format
|
||||
msgid " CPU(OS) %i"
|
||||
msgstr " CPU %i"
|
||||
|
||||
#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:651
|
||||
#, c-format
|
||||
msgid " CPU %i"
|
||||
msgstr " CPU %i"
|
||||
|
||||
#: src/cpu/cpu_package.cpp:47
|
||||
#, c-format
|
||||
msgid " Pkg(HW)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_package.cpp:47
|
||||
#, c-format
|
||||
msgid " Pkg(OS)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:412
|
||||
#, c-format
|
||||
msgid " Package"
|
||||
msgstr " Balíček"
|
||||
|
||||
#: src/cpu/intel_cpus.cpp:129
|
||||
#, c-format
|
||||
msgid "read_msr cpu%d 0x%llx : "
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/intel_cpus.cpp:574
|
||||
msgid "C0 active"
|
||||
msgstr "C0 aktivní"
|
||||
|
||||
#: src/cpu/intel_cpus.cpp:632
|
||||
#, c-format
|
||||
msgid "Average"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/intel_gpu.cpp:64
|
||||
#, fuzzy, c-format
|
||||
msgid " GPU "
|
||||
msgstr "GPU %i"
|
||||
|
||||
#: src/devices/ahci.cpp:154
|
||||
#, c-format
|
||||
msgid "SATA link: %s"
|
||||
msgstr "SATA link: %s"
|
||||
|
||||
#: src/devices/ahci.cpp:156
|
||||
#, c-format
|
||||
msgid "SATA disk: %s"
|
||||
msgstr "SATA disk: %s"
|
||||
|
||||
#: src/devices/ahci.cpp:374
|
||||
msgid "AHCI ALPM Residency Statistics - Not supported on this macine"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:389
|
||||
msgid "Link"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:390
|
||||
#, fuzzy
|
||||
msgid "Active"
|
||||
msgstr "C0 aktivní"
|
||||
|
||||
#: src/devices/ahci.cpp:391
|
||||
msgid "Partial"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:392
|
||||
msgid "Slumber"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:393
|
||||
msgid "Devslp"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:399
|
||||
msgid "AHCI ALPM Residency Statistics"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/alsa.cpp:77
|
||||
#, c-format
|
||||
msgid "Audio codec %s: %s (%s)"
|
||||
msgstr "Audio kodek %s: %s (%s)"
|
||||
|
||||
#: src/devices/alsa.cpp:79 src/devices/alsa.cpp:81
|
||||
#, c-format
|
||||
msgid "Audio codec %s: %s"
|
||||
msgstr "Audio kodek %s: %s"
|
||||
|
||||
#: src/devices/devfreq.cpp:261
|
||||
#, fuzzy
|
||||
msgid "Device Freq stats"
|
||||
msgstr "Zařízení"
|
||||
|
||||
#: src/devices/devfreq.cpp:279
|
||||
msgid " Devfreq is not enabled"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/devfreq.cpp:284
|
||||
msgid " No devfreq devices available"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:172 src/process/do_process.cpp:831
|
||||
#, c-format
|
||||
msgid "The battery reports a discharge rate of %sW\n"
|
||||
msgstr "Spotřeba při chodu na baterii: %sW\n"
|
||||
|
||||
#: src/devices/device.cpp:174 src/process/do_process.cpp:833
|
||||
#, c-format
|
||||
msgid "The power consumed was %sJ\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:180
|
||||
#, c-format
|
||||
msgid "System baseline power is estimated at %sW\n"
|
||||
msgstr "Systém základního napájení je odhadován na %sW\n"
|
||||
|
||||
#: src/devices/device.cpp:187
|
||||
msgid "Power est. Usage Device name\n"
|
||||
msgstr "Energie zbývá Použití Jméno zařízení\n"
|
||||
|
||||
#: src/devices/device.cpp:189
|
||||
msgid " Usage Device name\n"
|
||||
msgstr " Použití Jméno zařízení\n"
|
||||
|
||||
#: src/devices/device.cpp:256
|
||||
#, fuzzy
|
||||
msgid "The battery reports a discharge rate of: "
|
||||
msgstr "Spotřeba při chodu na baterii: %sW\n"
|
||||
|
||||
#: src/devices/device.cpp:261
|
||||
msgid "The power consumed was : "
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:268
|
||||
#, fuzzy
|
||||
msgid "The system baseline power is estimated at: "
|
||||
msgstr "Systém základního napájení je odhadován na %sW\n"
|
||||
|
||||
#: src/devices/device.cpp:277 src/process/do_process.cpp:850
|
||||
#: src/process/do_process.cpp:852 src/process/do_process.cpp:926
|
||||
#: src/process/do_process.cpp:1077
|
||||
msgid "Usage"
|
||||
msgstr "Využití"
|
||||
|
||||
#: src/devices/device.cpp:278
|
||||
#, fuzzy
|
||||
msgid "Device Name"
|
||||
msgstr "Zařízení"
|
||||
|
||||
#: src/devices/device.cpp:280 src/process/do_process.cpp:935
|
||||
#: src/process/do_process.cpp:1082
|
||||
msgid "PW Estimate"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:317
|
||||
msgid "Device Power Report"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/network.cpp:177
|
||||
#, c-format
|
||||
msgid "Network interface: %s (%s)"
|
||||
msgstr "Síťové rozhraní: %s (%s)"
|
||||
|
||||
#: src/devices/rfkill.cpp:65 src/devices/rfkill.cpp:69
|
||||
#, c-format
|
||||
msgid "Radio device: %s"
|
||||
msgstr "Radio zařízení: %s"
|
||||
|
||||
#: src/devices/runtime_pm.cpp:216
|
||||
#, c-format
|
||||
msgid "I2C %s (%s): %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/runtime_pm.cpp:216 src/tuning/tuningi2c.cpp:57
|
||||
#: src/tuning/tuningi2c.cpp:59
|
||||
msgid "Adapter"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/runtime_pm.cpp:216 src/devlist.cpp:331
|
||||
#: src/tuning/tuningi2c.cpp:57 src/tuning/tuningi2c.cpp:59
|
||||
#, fuzzy
|
||||
msgid "Device"
|
||||
msgstr "Zařízení"
|
||||
|
||||
#: src/devices/runtime_pm.cpp:241
|
||||
#, c-format
|
||||
msgid "PCI Device: %s"
|
||||
msgstr "PCI Zařízení: %s"
|
||||
|
||||
#: src/devices/usb.cpp:51 src/devices/usb.cpp:96 src/devices/usb.cpp:98
|
||||
#, c-format
|
||||
msgid "USB device: %s"
|
||||
msgstr "USB zařízení: %s"
|
||||
|
||||
#: src/devices/usb.cpp:94
|
||||
#, c-format
|
||||
msgid "USB device: %s (%s)"
|
||||
msgstr "USB zařízení: %s (%s)"
|
||||
|
||||
#: src/devlist.cpp:330
|
||||
msgid "Process"
|
||||
msgstr ""
|
||||
|
||||
#: src/devlist.cpp:347
|
||||
msgid "Process Device Activity"
|
||||
msgstr ""
|
||||
|
||||
#: src/display.cpp:70
|
||||
msgid "Overview"
|
||||
msgstr "Přehled"
|
||||
|
||||
#: src/display.cpp:71
|
||||
msgid "Idle stats"
|
||||
msgstr "Nečinné"
|
||||
|
||||
#: src/display.cpp:72
|
||||
msgid "Frequency stats"
|
||||
msgstr "Frekvence"
|
||||
|
||||
#: src/display.cpp:73
|
||||
msgid "Device stats"
|
||||
msgstr "Zařízení"
|
||||
|
||||
#: src/display.cpp:131
|
||||
msgid "Exit"
|
||||
msgstr "Konec"
|
||||
|
||||
#: src/display.cpp:132
|
||||
msgid "Navigate"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:288
|
||||
#, c-format
|
||||
msgid "%7sW"
|
||||
msgstr "%7sW"
|
||||
|
||||
#: src/lib.cpp:291
|
||||
#, c-format
|
||||
msgid " 0 mW"
|
||||
msgstr " 0 mW"
|
||||
|
||||
#: src/lib.cpp:410
|
||||
msgid "PS/2 Touchpad / Keyboard / Mouse"
|
||||
msgstr "PS/2 Touchpad / Klávesnice / Myš"
|
||||
|
||||
#: src/lib.cpp:411
|
||||
msgid "SATA controller"
|
||||
msgstr "SATA ovladač"
|
||||
|
||||
#: src/lib.cpp:412
|
||||
msgid "Intel built in USB hub"
|
||||
msgstr "Intel vestavěný v USB hubu"
|
||||
|
||||
#: src/lib.cpp:467
|
||||
#, c-format
|
||||
msgid "glob returned GLOB_NOSPACE\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:471
|
||||
#, c-format
|
||||
msgid "glob returned GLOB_ABORTED\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:475
|
||||
#, c-format
|
||||
msgid "glob returned GLOB_NOMATCH\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:513 src/lib.cpp:549
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Model-specific registers (MSR)\t\t\t not found (try enabling "
|
||||
"CONFIG_X86_MSR).\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:103
|
||||
#, fuzzy, c-format
|
||||
msgid "PowerTOP version "
|
||||
msgstr "PowerTOP verze"
|
||||
|
||||
#: src/main.cpp:109
|
||||
msgid "Set refresh time out"
|
||||
msgstr "Nastavit čas obnovení"
|
||||
|
||||
#: src/main.cpp:122
|
||||
msgid "Usage: powertop [OPTIONS]"
|
||||
msgstr "Použití: powertop [VOLBY]"
|
||||
|
||||
#: src/main.cpp:123
|
||||
msgid "sets all tunable options to their GOOD setting"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:124
|
||||
msgid "runs powertop in calibration mode"
|
||||
msgstr "spustit powertop v kalibračním režimu"
|
||||
|
||||
#: src/main.cpp:125 src/main.cpp:128
|
||||
msgid "[=filename]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:125
|
||||
msgid "generate a csv report"
|
||||
msgstr "vytvoření csv hlášení"
|
||||
|
||||
#: src/main.cpp:126
|
||||
msgid "run in \"debug\" mode"
|
||||
msgstr "spustit v \"debug\" módu"
|
||||
|
||||
#: src/main.cpp:127
|
||||
msgid "[=devnode]"
|
||||
msgstr "[=devnode]"
|
||||
|
||||
#: src/main.cpp:127
|
||||
msgid "uses an Extech Power Analyzer for measurements"
|
||||
msgstr "využití Extech Power Analyzéru pro měření"
|
||||
|
||||
#: src/main.cpp:128
|
||||
msgid "generate a html report"
|
||||
msgstr "vytvoření html hlášení"
|
||||
|
||||
#: src/main.cpp:129
|
||||
msgid "[=iterations] number of times to run each test"
|
||||
msgstr "[=iterace] počet spuštění každého testu"
|
||||
|
||||
#: src/main.cpp:130
|
||||
msgid "suppress stderr output"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:131 src/main.cpp:132
|
||||
msgid "[=seconds]"
|
||||
msgstr "[=sekundy]"
|
||||
|
||||
#: src/main.cpp:131
|
||||
msgid "interval for power consumption measurement"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:132
|
||||
msgid "generate a report for 'x' seconds"
|
||||
msgstr "vytvoření hlášení pro \"x\" sekund"
|
||||
|
||||
#: src/main.cpp:133
|
||||
msgid "[=workload]"
|
||||
msgstr "[=zatížení]"
|
||||
|
||||
#: src/main.cpp:133
|
||||
msgid "file to execute for workload"
|
||||
msgstr "soubor ke spuštění pro zatížení"
|
||||
|
||||
#: src/main.cpp:134
|
||||
msgid "print version information"
|
||||
msgstr "vypíše informace o verzi"
|
||||
|
||||
#: src/main.cpp:135
|
||||
msgid "print this help menu"
|
||||
msgstr "vypíše tuto nápovědu"
|
||||
|
||||
#: src/main.cpp:137
|
||||
#, fuzzy
|
||||
msgid "For more help please refer to the 'man 8 powertop'"
|
||||
msgstr "Pro více nápovědy přejděte prosím do README"
|
||||
|
||||
#: src/main.cpp:232
|
||||
#, c-format
|
||||
msgid "Unknown issue running workload!\n"
|
||||
msgstr "Neznámý problém při spuštění zatížení!\n"
|
||||
|
||||
#: src/main.cpp:289
|
||||
msgid "PowerTOP is out of memory. PowerTOP is Aborting"
|
||||
msgstr "PowerTOPu došla paměť. Power TOP je přerušen."
|
||||
|
||||
#: src/main.cpp:297
|
||||
#, c-format
|
||||
msgid "Preparing to take measurements\n"
|
||||
msgstr "Příprava k měření\n"
|
||||
|
||||
#: src/main.cpp:302
|
||||
#, c-format
|
||||
msgid "Taking %d measurement(s) for a duration of %d second(s) each.\n"
|
||||
msgstr "Změřeno %d výsledků za dobu trvání %d vteřin každý.\n"
|
||||
|
||||
#: src/main.cpp:304
|
||||
#, c-format
|
||||
msgid "Measuring workload %s.\n"
|
||||
msgstr "Měření zatížení %s.\n"
|
||||
|
||||
#: src/main.cpp:329
|
||||
#, c-format
|
||||
msgid "PowerTOP "
|
||||
msgstr "PowerTOP "
|
||||
|
||||
#: src/main.cpp:330 src/main.cpp:380
|
||||
#, c-format
|
||||
msgid "exiting...\n"
|
||||
msgstr "ukončuji...\n"
|
||||
|
||||
#: src/main.cpp:364
|
||||
#, c-format
|
||||
msgid "modprobe cpufreq_stats failed"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:367
|
||||
#, c-format
|
||||
msgid "modprobe msr failed"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:379 src/main.cpp:383
|
||||
#, c-format
|
||||
msgid "Failed to mount debugfs!\n"
|
||||
msgstr "Selhalo připojení debugfs!\n"
|
||||
|
||||
#: src/main.cpp:384
|
||||
#, c-format
|
||||
msgid "Should still be able to auto tune...\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:466
|
||||
#, c-format
|
||||
msgid "Invalid CSV filename\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:482
|
||||
#, c-format
|
||||
msgid "Invalid HTML filename\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:491
|
||||
#, fuzzy, c-format
|
||||
msgid "Quiet mode failed!\n"
|
||||
msgstr "Selhal tichý mód!\n"
|
||||
|
||||
#: src/main.cpp:559
|
||||
msgid "Leaving PowerTOP"
|
||||
msgstr "Ukončuji PowerTOP"
|
||||
|
||||
#: src/parameters/persistent.cpp:46 src/parameters/persistent.cpp:155
|
||||
msgid "Cannot save to file"
|
||||
msgstr "Nelze uložit soubor"
|
||||
|
||||
#: src/parameters/persistent.cpp:89 src/parameters/persistent.cpp:180
|
||||
msgid "Cannot load from file"
|
||||
msgstr "Nelze načíst ze souboru"
|
||||
|
||||
#: src/parameters/persistent.cpp:138
|
||||
#, c-format
|
||||
msgid "Loaded %i prior measurements\n"
|
||||
msgstr ""
|
||||
"Nahráno %i měření\n"
|
||||
"\n"
|
||||
|
||||
#: src/parameters/persistent.cpp:181
|
||||
msgid ""
|
||||
"File will be loaded after taking minimum number of measurement(s) with "
|
||||
"battery only \n"
|
||||
msgstr ""
|
||||
|
||||
#: src/perf/perf.cpp:115
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Too many open files, please increase the limit of open file descriptors.\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/perf/perf.cpp:117
|
||||
#, c-format
|
||||
msgid "PowerTOP %s needs the kernel to support the 'perf' subsystem\n"
|
||||
msgstr "PowerTOP %s potřebuje jádro k podpoře 'perf' subsystému\n"
|
||||
|
||||
#: src/perf/perf.cpp:118
|
||||
#, c-format
|
||||
msgid "as well as support for trace points in the kernel:\n"
|
||||
msgstr "stejně jako podpora pro sledované body v jádru:\n"
|
||||
|
||||
#: src/process/do_process.cpp:819
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Estimated power: %5.1f Measured power: %5.1f Sum: %5.1f\n"
|
||||
"\n"
|
||||
msgstr ""
|
||||
"Odhad energie: %5.1f Změřená energie: %5.1f Součet: %5.1f\n"
|
||||
"\n"
|
||||
|
||||
#: src/process/do_process.cpp:838
|
||||
#, c-format
|
||||
msgid "The estimated remaining time is %i hours, %i minutes\n"
|
||||
msgstr "Odhadovaný zbývající čas do vybití baterie je %i hodin, %i minut\n"
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "Summary"
|
||||
msgstr "Souhrn"
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "wakeups/second"
|
||||
msgstr "probuzení/sekund"
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "GPU ops/seconds"
|
||||
msgstr "GPU ops/sekund"
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "VFS ops/sec and"
|
||||
msgstr "VFS ops/sec a"
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "CPU use"
|
||||
msgstr "využití CPU"
|
||||
|
||||
#: src/process/do_process.cpp:850
|
||||
msgid "Power est."
|
||||
msgstr "Energie zbývá"
|
||||
|
||||
#: src/process/do_process.cpp:850 src/process/do_process.cpp:852
|
||||
#: src/process/do_process.cpp:1078
|
||||
msgid "Events/s"
|
||||
msgstr "Událost/i"
|
||||
|
||||
#: src/process/do_process.cpp:850 src/process/do_process.cpp:852
|
||||
#: src/process/do_process.cpp:931 src/process/do_process.cpp:1079
|
||||
msgid "Category"
|
||||
msgstr "Kategorie"
|
||||
|
||||
#: src/process/do_process.cpp:850 src/process/do_process.cpp:852
|
||||
#: src/process/do_process.cpp:932 src/process/do_process.cpp:1080
|
||||
#: src/tuning/tuning.cpp:242 src/tuning/tuning.cpp:270
|
||||
#: src/tuning/tuning.cpp:288 src/wakeup/waketab.cpp:155
|
||||
msgid "Description"
|
||||
msgstr "Popis"
|
||||
|
||||
#: src/process/do_process.cpp:927
|
||||
msgid "Wakeups/s"
|
||||
msgstr "Probuzení/s"
|
||||
|
||||
#: src/process/do_process.cpp:928
|
||||
msgid "GPU ops/s"
|
||||
msgstr "GPU ops/s"
|
||||
|
||||
#: src/process/do_process.cpp:929
|
||||
msgid "Disk IO/s"
|
||||
msgstr "Disk IO/s"
|
||||
|
||||
#: src/process/do_process.cpp:930
|
||||
msgid "GFX Wakeups/s"
|
||||
msgstr "GFX Probuzení/s"
|
||||
|
||||
#: src/process/do_process.cpp:1017
|
||||
msgid "Overview of Software Power Consumers"
|
||||
msgstr "Přehled Software Power uživatelů"
|
||||
|
||||
#: src/process/do_process.cpp:1057
|
||||
msgid "Target:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1058
|
||||
msgid "1 units/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1059
|
||||
msgid "System: "
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1061
|
||||
#, fuzzy
|
||||
msgid " wakeup/s"
|
||||
msgstr "Probuzení/s"
|
||||
|
||||
#: src/process/do_process.cpp:1062
|
||||
msgid "CPU: "
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1064
|
||||
#, fuzzy, c-format
|
||||
msgid "% usage"
|
||||
msgstr "Využití"
|
||||
|
||||
#: src/process/do_process.cpp:1065
|
||||
msgid "GPU:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1067 src/process/do_process.cpp:1073
|
||||
#, fuzzy
|
||||
msgid " ops/s"
|
||||
msgstr "GPU ops/s"
|
||||
|
||||
#: src/process/do_process.cpp:1068
|
||||
msgid "GFX:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1070
|
||||
#, fuzzy
|
||||
msgid " wakeups/s"
|
||||
msgstr "Probuzení/s"
|
||||
|
||||
#: src/process/do_process.cpp:1071
|
||||
msgid "VFS:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1139
|
||||
#, fuzzy
|
||||
msgid "Top 10 Power Consumers"
|
||||
msgstr "Přehled Software Power uživatelů"
|
||||
|
||||
#: src/report/report.cpp:122
|
||||
#, fuzzy
|
||||
msgid "PowerTOP Version"
|
||||
msgstr "PowerTOP verze"
|
||||
|
||||
#: src/report/report.cpp:131
|
||||
#, fuzzy
|
||||
msgid "Kernel Version"
|
||||
msgstr "PowerTOP verze"
|
||||
|
||||
#: src/report/report.cpp:135
|
||||
msgid "System Name"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:142
|
||||
msgid "CPU Information"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:154
|
||||
msgid "OS Information"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:161
|
||||
#, fuzzy
|
||||
msgid "System Information"
|
||||
msgstr "vypíše informace o verzi"
|
||||
|
||||
#: src/report/report.cpp:195
|
||||
#, fuzzy, c-format
|
||||
msgid "Cannot open output file %s (%s)\n"
|
||||
msgstr "Nelze vytvořit dočasný soubor\n"
|
||||
|
||||
#: src/report/report.cpp:211
|
||||
#, c-format
|
||||
msgid "PowerTOP outputing using base filename %s\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/bluetooth.cpp:46 src/tuning/ethernet.cpp:50
|
||||
#: src/tuning/runtime.cpp:42 src/tuning/tunable.cpp:49
|
||||
#: src/tuning/tuningi2c.cpp:35 src/tuning/tuningsysfs.cpp:45
|
||||
#: src/tuning/tuningusb.cpp:39 src/tuning/wifi.cpp:45
|
||||
msgid "Good"
|
||||
msgstr "Dobré"
|
||||
|
||||
#: src/tuning/bluetooth.cpp:46 src/tuning/ethernet.cpp:50
|
||||
#: src/tuning/runtime.cpp:42 src/tuning/tunable.cpp:50
|
||||
#: src/tuning/tuningi2c.cpp:35 src/tuning/tuningsysfs.cpp:45
|
||||
#: src/tuning/tuningusb.cpp:39 src/tuning/wifi.cpp:45
|
||||
msgid "Bad"
|
||||
msgstr "Špatné"
|
||||
|
||||
#: src/tuning/bluetooth.cpp:46 src/tuning/ethernet.cpp:50
|
||||
#: src/tuning/runtime.cpp:42 src/tuning/tunable.cpp:51
|
||||
#: src/tuning/tuningi2c.cpp:35 src/tuning/tuningsysfs.cpp:45
|
||||
#: src/tuning/tuningusb.cpp:39 src/tuning/wifi.cpp:45 src/wakeup/wakeup.cpp:50
|
||||
msgid "Unknown"
|
||||
msgstr "Neznámé"
|
||||
|
||||
#: src/tuning/bluetooth.cpp:48
|
||||
#, c-format
|
||||
msgid "Bluetooth device interface status"
|
||||
msgstr "Status rozhraní zařízení Bluetooth"
|
||||
|
||||
#: src/tuning/ethernet.cpp:54 src/wakeup/wakeup_ethernet.cpp:51
|
||||
#, c-format
|
||||
msgid "Wake-on-lan status for device %s"
|
||||
msgstr "Wake-on-lan status zařízení %s"
|
||||
|
||||
#: src/tuning/runtime.cpp:48
|
||||
#, c-format
|
||||
msgid "Runtime PM for %s device %s"
|
||||
msgstr "Runtime PM pro %s zařízení %s"
|
||||
|
||||
#: src/tuning/runtime.cpp:50
|
||||
#, c-format
|
||||
msgid "%s device %s has no runtime power management"
|
||||
msgstr "%s zařízení %s nemá spustitelnou správu napájení"
|
||||
|
||||
#: src/tuning/runtime.cpp:74
|
||||
#, c-format
|
||||
msgid "PCI Device %s has no runtime power management"
|
||||
msgstr "PCI Zařízení %s nemá spustitelnou správu napájení"
|
||||
|
||||
#: src/tuning/runtime.cpp:76
|
||||
#, c-format
|
||||
msgid "Runtime PM for PCI Device %s"
|
||||
msgstr "Trvání PM pro PCI zařízení %s"
|
||||
|
||||
#: src/tuning/tuning.cpp:62
|
||||
msgid "Enable Audio codec power management"
|
||||
msgstr "Zapnout správu napájení audio kodeku"
|
||||
|
||||
#: src/tuning/tuning.cpp:63
|
||||
msgid "NMI watchdog should be turned off"
|
||||
msgstr "Hlídací pes NMI by měl být vypnutý"
|
||||
|
||||
#: src/tuning/tuning.cpp:64
|
||||
msgid "Power Aware CPU scheduler"
|
||||
msgstr "Power Aware CPU plánovač"
|
||||
|
||||
#: src/tuning/tuning.cpp:65
|
||||
msgid "VM writeback timeout"
|
||||
msgstr "VM writeback timeout"
|
||||
|
||||
#: src/tuning/tuning.cpp:81
|
||||
msgid "Tunables"
|
||||
msgstr "Možnosti vyladění"
|
||||
|
||||
#: src/tuning/tuning.cpp:81
|
||||
msgid " <ESC> Exit | <Enter> Toggle tunable | <r> Window refresh"
|
||||
msgstr " <ESC> Konec | <Enter> Přepnout změnitelné | <r> Obnovit okno"
|
||||
|
||||
#: src/tuning/tuning.cpp:243 src/wakeup/waketab.cpp:156
|
||||
msgid "Script"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:257
|
||||
msgid "Software Settings in Need of Tuning"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:276
|
||||
msgid "Untunable Software Issues"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:300
|
||||
msgid "Optimal Tuned Software Settings"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuningi2c.cpp:57
|
||||
#, fuzzy, c-format
|
||||
msgid "Runtime PM for I2C %s %s (%s)"
|
||||
msgstr "Runtime PM pro %s zařízení %s"
|
||||
|
||||
#: src/tuning/tuningi2c.cpp:59
|
||||
#, fuzzy, c-format
|
||||
msgid "I2C %s %s has no runtime power management"
|
||||
msgstr "%s zařízení %s nemá spustitelnou správu napájení"
|
||||
|
||||
#: src/tuning/tuningsysfs.cpp:123
|
||||
#, fuzzy, c-format
|
||||
msgid "Enable SATA link power management for %s"
|
||||
msgstr "Zapnout správu napájení SATA linku pro %s"
|
||||
|
||||
#: src/tuning/tuningusb.cpp:54
|
||||
#, c-format
|
||||
msgid "Autosuspend for unknown USB device %s (%s:%s)"
|
||||
msgstr "Automatické uspání pro neznámé USB zařízení %s (%s:%s)"
|
||||
|
||||
#: src/tuning/tuningusb.cpp:71 src/tuning/tuningusb.cpp:73
|
||||
#: src/tuning/tuningusb.cpp:75
|
||||
#, c-format
|
||||
msgid "Autosuspend for USB device %s [%s]"
|
||||
msgstr "Automatické uspání pro USB zařízení %s [%s]"
|
||||
|
||||
#: src/tuning/wifi.cpp:48
|
||||
#, c-format
|
||||
msgid "Wireless Power Saving for interface %s"
|
||||
msgstr "Úspora energie bezdrátových zařízení %s"
|
||||
|
||||
#: src/wakeup/waketab.cpp:42
|
||||
#, fuzzy
|
||||
msgid "WakeUp"
|
||||
msgstr "Probuzení/s"
|
||||
|
||||
#: src/wakeup/waketab.cpp:42
|
||||
#, fuzzy
|
||||
msgid " <ESC> Exit | <Enter> Toggle wakeup | <r> Window refresh"
|
||||
msgstr " <ESC> Konec | <Enter> Přepnout změnitelné | <r> Obnovit okno"
|
||||
|
||||
#: src/wakeup/waketab.cpp:170
|
||||
#, fuzzy
|
||||
msgid "Wake status of the devices"
|
||||
msgstr "Wake-on-lan status zařízení %s"
|
||||
|
||||
#: src/wakeup/wakeup.cpp:48 src/wakeup/wakeup_ethernet.cpp:47
|
||||
#: src/wakeup/wakeup_usb.cpp:47
|
||||
#, fuzzy
|
||||
msgid "Enable"
|
||||
msgstr "Možnosti vyladění"
|
||||
|
||||
#: src/wakeup/wakeup.cpp:49 src/wakeup/wakeup_ethernet.cpp:47
|
||||
#: src/wakeup/wakeup_usb.cpp:47
|
||||
msgid "Disable"
|
||||
msgstr ""
|
||||
|
||||
#: src/wakeup/wakeup_usb.cpp:51
|
||||
#, fuzzy, c-format
|
||||
msgid "Wake status for USB device %s"
|
||||
msgstr "Wake-on-lan status zařízení %s"
|
||||
|
||||
#~ msgid "Actual"
|
||||
#~ msgstr "Aktuální"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "I2C Device: %s"
|
||||
#~ msgstr "PCI Zařízení: %s"
|
||||
|
||||
#~ msgid "[=FILENAME]"
|
||||
#~ msgstr "[=JMENOSOUBORU]"
|
||||
|
||||
#~ msgid "Using 'ondemand' cpufreq governor"
|
||||
#~ msgstr "Užití 'ondemand' cpufreq regulátoru"
|
||||
|
||||
#~ msgid "Power Consumption Summary"
|
||||
#~ msgstr "Souhrn spotřeby energie"
|
||||
|
||||
#~ msgid "GPU ops/second"
|
||||
#~ msgstr "GPU ops/sekund"
|
||||
|
||||
#~ msgid "VFS ops/sec"
|
||||
#~ msgstr "VFS ops/sekund"
|
||||
|
||||
#~ msgid "GFX wakes/sec and"
|
||||
#~ msgstr "GFX probuzení/sek a"
|
||||
BIN
powertop-v2.10/po/de_DE.gmo
Normal file
BIN
powertop-v2.10/po/de_DE.gmo
Normal file
Binary file not shown.
1001
powertop-v2.10/po/de_DE.po
Normal file
1001
powertop-v2.10/po/de_DE.po
Normal file
File diff suppressed because it is too large
Load Diff
25
powertop-v2.10/po/en@boldquot.header
Normal file
25
powertop-v2.10/po/en@boldquot.header
Normal file
@ -0,0 +1,25 @@
|
||||
# All this catalog "translates" are quotation characters.
|
||||
# The msgids must be ASCII and therefore cannot contain real quotation
|
||||
# characters, only substitutes like grave accent (0x60), apostrophe (0x27)
|
||||
# and double quote (0x22). These substitutes look strange; see
|
||||
# http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
|
||||
#
|
||||
# This catalog translates grave accent (0x60) and apostrophe (0x27) to
|
||||
# left single quotation mark (U+2018) and right single quotation mark (U+2019).
|
||||
# It also translates pairs of apostrophe (0x27) to
|
||||
# left single quotation mark (U+2018) and right single quotation mark (U+2019)
|
||||
# and pairs of quotation mark (0x22) to
|
||||
# left double quotation mark (U+201C) and right double quotation mark (U+201D).
|
||||
#
|
||||
# When output to an UTF-8 terminal, the quotation characters appear perfectly.
|
||||
# When output to an ISO-8859-1 terminal, the single quotation marks are
|
||||
# transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to
|
||||
# grave/acute accent (by libiconv), and the double quotation marks are
|
||||
# transliterated to 0x22.
|
||||
# When output to an ASCII terminal, the single quotation marks are
|
||||
# transliterated to apostrophes, and the double quotation marks are
|
||||
# transliterated to 0x22.
|
||||
#
|
||||
# This catalog furthermore displays the text between the quotation marks in
|
||||
# bold face, assuming the VT100/XTerm escape sequences.
|
||||
#
|
||||
22
powertop-v2.10/po/en@quot.header
Normal file
22
powertop-v2.10/po/en@quot.header
Normal file
@ -0,0 +1,22 @@
|
||||
# All this catalog "translates" are quotation characters.
|
||||
# The msgids must be ASCII and therefore cannot contain real quotation
|
||||
# characters, only substitutes like grave accent (0x60), apostrophe (0x27)
|
||||
# and double quote (0x22). These substitutes look strange; see
|
||||
# http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
|
||||
#
|
||||
# This catalog translates grave accent (0x60) and apostrophe (0x27) to
|
||||
# left single quotation mark (U+2018) and right single quotation mark (U+2019).
|
||||
# It also translates pairs of apostrophe (0x27) to
|
||||
# left single quotation mark (U+2018) and right single quotation mark (U+2019)
|
||||
# and pairs of quotation mark (0x22) to
|
||||
# left double quotation mark (U+201C) and right double quotation mark (U+201D).
|
||||
#
|
||||
# When output to an UTF-8 terminal, the quotation characters appear perfectly.
|
||||
# When output to an ISO-8859-1 terminal, the single quotation marks are
|
||||
# transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to
|
||||
# grave/acute accent (by libiconv), and the double quotation marks are
|
||||
# transliterated to 0x22.
|
||||
# When output to an ASCII terminal, the single quotation marks are
|
||||
# transliterated to apostrophes, and the double quotation marks are
|
||||
# transliterated to 0x22.
|
||||
#
|
||||
BIN
powertop-v2.10/po/en_GB.gmo
Normal file
BIN
powertop-v2.10/po/en_GB.gmo
Normal file
Binary file not shown.
957
powertop-v2.10/po/en_GB.po
Normal file
957
powertop-v2.10/po/en_GB.po
Normal file
@ -0,0 +1,957 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR Intel Corporation
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
#
|
||||
# Translators:
|
||||
# Margie Foster <margie@linux.intel.com>, 2012
|
||||
# Patrick McCarty <patrick.mccarty@linux.intel.com>, 2013
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PowerTOP\n"
|
||||
"Report-Msgid-Bugs-To: \"powertop@lists.01.org\"\n"
|
||||
"POT-Creation-Date: 2019-01-04 16:21-0800\n"
|
||||
"PO-Revision-Date: 2013-11-05 08:40+0000\n"
|
||||
"Last-Translator: Margie Foster <margie@linux.intel.com>\n"
|
||||
"Language-Team: English (United Kingdom) (http://www.transifex.com/projects/p/"
|
||||
"PowerTOP/language/en_GB/)\n"
|
||||
"Language: en_GB\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:238
|
||||
#, c-format
|
||||
msgid "Cannot create temp file\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/calibrate/calibrate.cpp:258
|
||||
#, c-format
|
||||
msgid "Calibrating: CPU usage on %i threads\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/calibrate/calibrate.cpp:273
|
||||
#, c-format
|
||||
msgid "Calibrating: CPU wakeup power consumption\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/calibrate/calibrate.cpp:290
|
||||
#, c-format
|
||||
msgid "Calibrating USB devices\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/calibrate/calibrate.cpp:292 src/calibrate/calibrate.cpp:309
|
||||
#: src/calibrate/calibrate.cpp:317 src/calibrate/calibrate.cpp:334
|
||||
#, c-format
|
||||
msgid ".... device %s \n"
|
||||
msgstr ""
|
||||
|
||||
#: src/calibrate/calibrate.cpp:307
|
||||
#, c-format
|
||||
msgid "Calibrating radio devices\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/calibrate/calibrate.cpp:331
|
||||
#, c-format
|
||||
msgid "Calibrating backlight\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/calibrate/calibrate.cpp:355 src/calibrate/calibrate.cpp:365
|
||||
#, c-format
|
||||
msgid "Calibrating idle\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/calibrate/calibrate.cpp:378
|
||||
#, c-format
|
||||
msgid "Calibrating: disk usage \n"
|
||||
msgstr ""
|
||||
|
||||
#: src/calibrate/calibrate.cpp:403
|
||||
msgid "Starting PowerTOP power estimate calibration \n"
|
||||
msgstr ""
|
||||
|
||||
#: src/calibrate/calibrate.cpp:426
|
||||
msgid "Finishing PowerTOP power estimate calibration \n"
|
||||
msgstr ""
|
||||
|
||||
#: src/calibrate/calibrate.cpp:430
|
||||
#, c-format
|
||||
msgid "Parameters after calibration:\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/abstract_cpu.cpp:74
|
||||
msgid "Idle"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/abstract_cpu.cpp:76
|
||||
msgid "Turbo Mode"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_core.cpp:37
|
||||
#, c-format
|
||||
msgid " Core(HW)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_core.cpp:37
|
||||
#, c-format
|
||||
msgid " Core(OS)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:324
|
||||
#, c-format
|
||||
msgid " Core"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:85
|
||||
#, c-format
|
||||
msgid "cpu package %i"
|
||||
msgstr "CPU package %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:86
|
||||
msgid "cpu package"
|
||||
msgstr "CPU package"
|
||||
|
||||
#: src/cpu/cpu.cpp:89 src/cpu/cpu.cpp:96
|
||||
#, fuzzy, c-format
|
||||
msgid "package-%i"
|
||||
msgstr "CPU package %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:90
|
||||
msgid "cpu rapl package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:97
|
||||
msgid "dram rapl package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:471
|
||||
msgid "Processor Idle State Report"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:535 src/cpu/cpu.cpp:753
|
||||
msgid "Package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:566 src/cpu/cpu.cpp:775
|
||||
#, c-format
|
||||
msgid "Core %d"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:573
|
||||
#, c-format
|
||||
msgid "GPU %d"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:594
|
||||
msgid "CPU"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:676
|
||||
msgid "Processor Frequency Report"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:796
|
||||
#, c-format
|
||||
msgid "CPU %d"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:997
|
||||
#, c-format
|
||||
msgid "cpu_idle event returned no state?\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:1012
|
||||
#, c-format
|
||||
msgid "power or cpu_frequency event returned no state?\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_linux.cpp:79
|
||||
msgid "C0 polling"
|
||||
msgstr "C0 polling"
|
||||
|
||||
#: src/cpu/cpu_linux.cpp:242
|
||||
#, c-format
|
||||
msgid " CPU(OS) %i"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:651
|
||||
#, c-format
|
||||
msgid " CPU %i"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_package.cpp:47
|
||||
#, c-format
|
||||
msgid " Pkg(HW)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_package.cpp:47
|
||||
#, c-format
|
||||
msgid " Pkg(OS)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:412
|
||||
#, c-format
|
||||
msgid " Package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/intel_cpus.cpp:129
|
||||
#, c-format
|
||||
msgid "read_msr cpu%d 0x%llx : "
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/intel_cpus.cpp:574
|
||||
msgid "C0 active"
|
||||
msgstr "C0 active"
|
||||
|
||||
#: src/cpu/intel_cpus.cpp:632
|
||||
#, c-format
|
||||
msgid "Average"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/intel_gpu.cpp:64
|
||||
#, c-format
|
||||
msgid " GPU "
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:154
|
||||
#, c-format
|
||||
msgid "SATA link: %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:156
|
||||
#, c-format
|
||||
msgid "SATA disk: %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:374
|
||||
msgid "AHCI ALPM Residency Statistics - Not supported on this macine"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:389
|
||||
msgid "Link"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:390
|
||||
#, fuzzy
|
||||
msgid "Active"
|
||||
msgstr "C0 active"
|
||||
|
||||
#: src/devices/ahci.cpp:391
|
||||
msgid "Partial"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:392
|
||||
msgid "Slumber"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:393
|
||||
msgid "Devslp"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:399
|
||||
msgid "AHCI ALPM Residency Statistics"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/alsa.cpp:77
|
||||
#, c-format
|
||||
msgid "Audio codec %s: %s (%s)"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/alsa.cpp:79 src/devices/alsa.cpp:81
|
||||
#, c-format
|
||||
msgid "Audio codec %s: %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/devfreq.cpp:261
|
||||
#, fuzzy
|
||||
msgid "Device Freq stats"
|
||||
msgstr "Device stats"
|
||||
|
||||
#: src/devices/devfreq.cpp:279
|
||||
msgid " Devfreq is not enabled"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/devfreq.cpp:284
|
||||
msgid " No devfreq devices available"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:172 src/process/do_process.cpp:831
|
||||
#, c-format
|
||||
msgid "The battery reports a discharge rate of %sW\n"
|
||||
msgstr "The battery reports a discharge rate of %sW\n"
|
||||
|
||||
#: src/devices/device.cpp:174 src/process/do_process.cpp:833
|
||||
#, c-format
|
||||
msgid "The power consumed was %sJ\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:180
|
||||
#, c-format
|
||||
msgid "System baseline power is estimated at %sW\n"
|
||||
msgstr "System baseline power is estimated at %sW\n"
|
||||
|
||||
#: src/devices/device.cpp:187
|
||||
msgid "Power est. Usage Device name\n"
|
||||
msgstr "Power est. Usage Device name\n"
|
||||
|
||||
#: src/devices/device.cpp:189
|
||||
msgid " Usage Device name\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:256
|
||||
#, fuzzy
|
||||
msgid "The battery reports a discharge rate of: "
|
||||
msgstr "The battery reports a discharge rate of %sW\n"
|
||||
|
||||
#: src/devices/device.cpp:261
|
||||
msgid "The power consumed was : "
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:268
|
||||
#, fuzzy
|
||||
msgid "The system baseline power is estimated at: "
|
||||
msgstr "System baseline power is estimated at %sW\n"
|
||||
|
||||
#: src/devices/device.cpp:277 src/process/do_process.cpp:850
|
||||
#: src/process/do_process.cpp:852 src/process/do_process.cpp:926
|
||||
#: src/process/do_process.cpp:1077
|
||||
msgid "Usage"
|
||||
msgstr "Usage"
|
||||
|
||||
#: src/devices/device.cpp:278
|
||||
#, fuzzy
|
||||
msgid "Device Name"
|
||||
msgstr "Device stats"
|
||||
|
||||
#: src/devices/device.cpp:280 src/process/do_process.cpp:935
|
||||
#: src/process/do_process.cpp:1082
|
||||
msgid "PW Estimate"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:317
|
||||
msgid "Device Power Report"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/network.cpp:177
|
||||
#, c-format
|
||||
msgid "Network interface: %s (%s)"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/rfkill.cpp:65 src/devices/rfkill.cpp:69
|
||||
#, c-format
|
||||
msgid "Radio device: %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/runtime_pm.cpp:216
|
||||
#, c-format
|
||||
msgid "I2C %s (%s): %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/runtime_pm.cpp:216 src/tuning/tuningi2c.cpp:57
|
||||
#: src/tuning/tuningi2c.cpp:59
|
||||
msgid "Adapter"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/runtime_pm.cpp:216 src/devlist.cpp:331
|
||||
#: src/tuning/tuningi2c.cpp:57 src/tuning/tuningi2c.cpp:59
|
||||
#, fuzzy
|
||||
msgid "Device"
|
||||
msgstr "Device stats"
|
||||
|
||||
#: src/devices/runtime_pm.cpp:241
|
||||
#, c-format
|
||||
msgid "PCI Device: %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/usb.cpp:51 src/devices/usb.cpp:96 src/devices/usb.cpp:98
|
||||
#, c-format
|
||||
msgid "USB device: %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/usb.cpp:94
|
||||
#, c-format
|
||||
msgid "USB device: %s (%s)"
|
||||
msgstr ""
|
||||
|
||||
#: src/devlist.cpp:330
|
||||
msgid "Process"
|
||||
msgstr ""
|
||||
|
||||
#: src/devlist.cpp:347
|
||||
msgid "Process Device Activity"
|
||||
msgstr ""
|
||||
|
||||
#: src/display.cpp:70
|
||||
msgid "Overview"
|
||||
msgstr "Overview"
|
||||
|
||||
#: src/display.cpp:71
|
||||
msgid "Idle stats"
|
||||
msgstr "Idle stats"
|
||||
|
||||
#: src/display.cpp:72
|
||||
msgid "Frequency stats"
|
||||
msgstr "Frequency stats"
|
||||
|
||||
#: src/display.cpp:73
|
||||
msgid "Device stats"
|
||||
msgstr "Device stats"
|
||||
|
||||
#: src/display.cpp:131
|
||||
msgid "Exit"
|
||||
msgstr ""
|
||||
|
||||
#: src/display.cpp:132
|
||||
msgid "Navigate"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:288
|
||||
#, c-format
|
||||
msgid "%7sW"
|
||||
msgstr "%7sW"
|
||||
|
||||
#: src/lib.cpp:291
|
||||
#, c-format
|
||||
msgid " 0 mW"
|
||||
msgstr " 0 mW"
|
||||
|
||||
#: src/lib.cpp:410
|
||||
msgid "PS/2 Touchpad / Keyboard / Mouse"
|
||||
msgstr "PS/2 Touchpad / Keyboard / Mouse"
|
||||
|
||||
#: src/lib.cpp:411
|
||||
msgid "SATA controller"
|
||||
msgstr "SATA controller"
|
||||
|
||||
#: src/lib.cpp:412
|
||||
msgid "Intel built in USB hub"
|
||||
msgstr "Intel built in USB hub"
|
||||
|
||||
#: src/lib.cpp:467
|
||||
#, c-format
|
||||
msgid "glob returned GLOB_NOSPACE\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:471
|
||||
#, c-format
|
||||
msgid "glob returned GLOB_ABORTED\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:475
|
||||
#, c-format
|
||||
msgid "glob returned GLOB_NOMATCH\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:513 src/lib.cpp:549
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Model-specific registers (MSR)\t\t\t not found (try enabling "
|
||||
"CONFIG_X86_MSR).\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:103
|
||||
#, c-format
|
||||
msgid "PowerTOP version "
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:109
|
||||
msgid "Set refresh time out"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:122
|
||||
msgid "Usage: powertop [OPTIONS]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:123
|
||||
msgid "sets all tunable options to their GOOD setting"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:124
|
||||
msgid "runs powertop in calibration mode"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:125 src/main.cpp:128
|
||||
msgid "[=filename]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:125
|
||||
msgid "generate a csv report"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:126
|
||||
msgid "run in \"debug\" mode"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:127
|
||||
msgid "[=devnode]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:127
|
||||
msgid "uses an Extech Power Analyzer for measurements"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:128
|
||||
msgid "generate a html report"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:129
|
||||
msgid "[=iterations] number of times to run each test"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:130
|
||||
msgid "suppress stderr output"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:131 src/main.cpp:132
|
||||
msgid "[=seconds]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:131
|
||||
msgid "interval for power consumption measurement"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:132
|
||||
msgid "generate a report for 'x' seconds"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:133
|
||||
msgid "[=workload]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:133
|
||||
msgid "file to execute for workload"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:134
|
||||
msgid "print version information"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:135
|
||||
msgid "print this help menu"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:137
|
||||
msgid "For more help please refer to the 'man 8 powertop'"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:232
|
||||
#, c-format
|
||||
msgid "Unknown issue running workload!\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:289
|
||||
msgid "PowerTOP is out of memory. PowerTOP is Aborting"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:297
|
||||
#, c-format
|
||||
msgid "Preparing to take measurements\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:302
|
||||
#, c-format
|
||||
msgid "Taking %d measurement(s) for a duration of %d second(s) each.\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:304
|
||||
#, c-format
|
||||
msgid "Measuring workload %s.\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:329
|
||||
#, c-format
|
||||
msgid "PowerTOP "
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:330 src/main.cpp:380
|
||||
#, c-format
|
||||
msgid "exiting...\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:364
|
||||
#, c-format
|
||||
msgid "modprobe cpufreq_stats failed"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:367
|
||||
#, c-format
|
||||
msgid "modprobe msr failed"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:379 src/main.cpp:383
|
||||
#, c-format
|
||||
msgid "Failed to mount debugfs!\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:384
|
||||
#, c-format
|
||||
msgid "Should still be able to auto tune...\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:466
|
||||
#, c-format
|
||||
msgid "Invalid CSV filename\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:482
|
||||
#, c-format
|
||||
msgid "Invalid HTML filename\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:491
|
||||
#, c-format
|
||||
msgid "Quiet mode failed!\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:559
|
||||
msgid "Leaving PowerTOP"
|
||||
msgstr ""
|
||||
|
||||
#: src/parameters/persistent.cpp:46 src/parameters/persistent.cpp:155
|
||||
msgid "Cannot save to file"
|
||||
msgstr ""
|
||||
|
||||
#: src/parameters/persistent.cpp:89 src/parameters/persistent.cpp:180
|
||||
msgid "Cannot load from file"
|
||||
msgstr ""
|
||||
|
||||
#: src/parameters/persistent.cpp:138
|
||||
#, c-format
|
||||
msgid "Loaded %i prior measurements\n"
|
||||
msgstr "Loaded %i prior measurements\n"
|
||||
|
||||
#: src/parameters/persistent.cpp:181
|
||||
msgid ""
|
||||
"File will be loaded after taking minimum number of measurement(s) with "
|
||||
"battery only \n"
|
||||
msgstr ""
|
||||
|
||||
#: src/perf/perf.cpp:115
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Too many open files, please increase the limit of open file descriptors.\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/perf/perf.cpp:117
|
||||
#, c-format
|
||||
msgid "PowerTOP %s needs the kernel to support the 'perf' subsystem\n"
|
||||
msgstr "PowerTOP %s needs the kernel to support the 'perf' subsystem\n"
|
||||
|
||||
#: src/perf/perf.cpp:118
|
||||
#, c-format
|
||||
msgid "as well as support for trace points in the kernel:\n"
|
||||
msgstr "as well as support for trace points in the kernel:\n"
|
||||
|
||||
#: src/process/do_process.cpp:819
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Estimated power: %5.1f Measured power: %5.1f Sum: %5.1f\n"
|
||||
"\n"
|
||||
msgstr ""
|
||||
"Estimated power: %5.1f Measured power: %5.1f Sum: %5.1f\n"
|
||||
"\n"
|
||||
|
||||
#: src/process/do_process.cpp:838
|
||||
#, c-format
|
||||
msgid "The estimated remaining time is %i hours, %i minutes\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "Summary"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "wakeups/second"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "GPU ops/seconds"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "VFS ops/sec and"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "CPU use"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:850
|
||||
msgid "Power est."
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:850 src/process/do_process.cpp:852
|
||||
#: src/process/do_process.cpp:1078
|
||||
msgid "Events/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:850 src/process/do_process.cpp:852
|
||||
#: src/process/do_process.cpp:931 src/process/do_process.cpp:1079
|
||||
msgid "Category"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:850 src/process/do_process.cpp:852
|
||||
#: src/process/do_process.cpp:932 src/process/do_process.cpp:1080
|
||||
#: src/tuning/tuning.cpp:242 src/tuning/tuning.cpp:270
|
||||
#: src/tuning/tuning.cpp:288 src/wakeup/waketab.cpp:155
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:927
|
||||
msgid "Wakeups/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:928
|
||||
msgid "GPU ops/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:929
|
||||
msgid "Disk IO/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:930
|
||||
msgid "GFX Wakeups/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1017
|
||||
msgid "Overview of Software Power Consumers"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1057
|
||||
msgid "Target:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1058
|
||||
msgid "1 units/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1059
|
||||
msgid "System: "
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1061
|
||||
msgid " wakeup/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1062
|
||||
msgid "CPU: "
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1064
|
||||
#, fuzzy, c-format
|
||||
msgid "% usage"
|
||||
msgstr "Usage"
|
||||
|
||||
#: src/process/do_process.cpp:1065
|
||||
msgid "GPU:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1067 src/process/do_process.cpp:1073
|
||||
msgid " ops/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1068
|
||||
msgid "GFX:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1070
|
||||
msgid " wakeups/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1071
|
||||
msgid "VFS:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1139
|
||||
msgid "Top 10 Power Consumers"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:122
|
||||
msgid "PowerTOP Version"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:131
|
||||
msgid "Kernel Version"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:135
|
||||
msgid "System Name"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:142
|
||||
msgid "CPU Information"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:154
|
||||
msgid "OS Information"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:161
|
||||
msgid "System Information"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:195
|
||||
#, c-format
|
||||
msgid "Cannot open output file %s (%s)\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:211
|
||||
#, c-format
|
||||
msgid "PowerTOP outputing using base filename %s\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/bluetooth.cpp:46 src/tuning/ethernet.cpp:50
|
||||
#: src/tuning/runtime.cpp:42 src/tuning/tunable.cpp:49
|
||||
#: src/tuning/tuningi2c.cpp:35 src/tuning/tuningsysfs.cpp:45
|
||||
#: src/tuning/tuningusb.cpp:39 src/tuning/wifi.cpp:45
|
||||
msgid "Good"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/bluetooth.cpp:46 src/tuning/ethernet.cpp:50
|
||||
#: src/tuning/runtime.cpp:42 src/tuning/tunable.cpp:50
|
||||
#: src/tuning/tuningi2c.cpp:35 src/tuning/tuningsysfs.cpp:45
|
||||
#: src/tuning/tuningusb.cpp:39 src/tuning/wifi.cpp:45
|
||||
msgid "Bad"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/bluetooth.cpp:46 src/tuning/ethernet.cpp:50
|
||||
#: src/tuning/runtime.cpp:42 src/tuning/tunable.cpp:51
|
||||
#: src/tuning/tuningi2c.cpp:35 src/tuning/tuningsysfs.cpp:45
|
||||
#: src/tuning/tuningusb.cpp:39 src/tuning/wifi.cpp:45 src/wakeup/wakeup.cpp:50
|
||||
msgid "Unknown"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/bluetooth.cpp:48
|
||||
#, c-format
|
||||
msgid "Bluetooth device interface status"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/ethernet.cpp:54 src/wakeup/wakeup_ethernet.cpp:51
|
||||
#, c-format
|
||||
msgid "Wake-on-lan status for device %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/runtime.cpp:48
|
||||
#, c-format
|
||||
msgid "Runtime PM for %s device %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/runtime.cpp:50
|
||||
#, c-format
|
||||
msgid "%s device %s has no runtime power management"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/runtime.cpp:74
|
||||
#, c-format
|
||||
msgid "PCI Device %s has no runtime power management"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/runtime.cpp:76
|
||||
#, c-format
|
||||
msgid "Runtime PM for PCI Device %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:62
|
||||
msgid "Enable Audio codec power management"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:63
|
||||
msgid "NMI watchdog should be turned off"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:64
|
||||
msgid "Power Aware CPU scheduler"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:65
|
||||
msgid "VM writeback timeout"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:81
|
||||
msgid "Tunables"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:81
|
||||
msgid " <ESC> Exit | <Enter> Toggle tunable | <r> Window refresh"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:243 src/wakeup/waketab.cpp:156
|
||||
msgid "Script"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:257
|
||||
msgid "Software Settings in Need of Tuning"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:276
|
||||
msgid "Untunable Software Issues"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:300
|
||||
msgid "Optimal Tuned Software Settings"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuningi2c.cpp:57
|
||||
#, c-format
|
||||
msgid "Runtime PM for I2C %s %s (%s)"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuningi2c.cpp:59
|
||||
#, c-format
|
||||
msgid "I2C %s %s has no runtime power management"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuningsysfs.cpp:123
|
||||
#, c-format
|
||||
msgid "Enable SATA link power management for %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuningusb.cpp:54
|
||||
#, c-format
|
||||
msgid "Autosuspend for unknown USB device %s (%s:%s)"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuningusb.cpp:71 src/tuning/tuningusb.cpp:73
|
||||
#: src/tuning/tuningusb.cpp:75
|
||||
#, c-format
|
||||
msgid "Autosuspend for USB device %s [%s]"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/wifi.cpp:48
|
||||
#, c-format
|
||||
msgid "Wireless Power Saving for interface %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/wakeup/waketab.cpp:42
|
||||
msgid "WakeUp"
|
||||
msgstr ""
|
||||
|
||||
#: src/wakeup/waketab.cpp:42
|
||||
msgid " <ESC> Exit | <Enter> Toggle wakeup | <r> Window refresh"
|
||||
msgstr ""
|
||||
|
||||
#: src/wakeup/waketab.cpp:170
|
||||
msgid "Wake status of the devices"
|
||||
msgstr ""
|
||||
|
||||
#: src/wakeup/wakeup.cpp:48 src/wakeup/wakeup_ethernet.cpp:47
|
||||
#: src/wakeup/wakeup_usb.cpp:47
|
||||
msgid "Enable"
|
||||
msgstr ""
|
||||
|
||||
#: src/wakeup/wakeup.cpp:49 src/wakeup/wakeup_ethernet.cpp:47
|
||||
#: src/wakeup/wakeup_usb.cpp:47
|
||||
msgid "Disable"
|
||||
msgstr ""
|
||||
|
||||
#: src/wakeup/wakeup_usb.cpp:51
|
||||
#, c-format
|
||||
msgid "Wake status for USB device %s"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Actual"
|
||||
#~ msgstr "Actual"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "I2C Device: %s"
|
||||
#~ msgstr "Device stats"
|
||||
BIN
powertop-v2.10/po/en_US.gmo
Normal file
BIN
powertop-v2.10/po/en_US.gmo
Normal file
Binary file not shown.
962
powertop-v2.10/po/en_US.po
Normal file
962
powertop-v2.10/po/en_US.po
Normal file
@ -0,0 +1,962 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR Intel Corporation
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
#
|
||||
# Translators:
|
||||
# Dimitris Glezos <glezos@indifex.com>, 2011
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PowerTOP\n"
|
||||
"Report-Msgid-Bugs-To: \"powertop@lists.01.org\"\n"
|
||||
"POT-Creation-Date: 2019-01-04 16:21-0800\n"
|
||||
"PO-Revision-Date: 2013-11-05 08:40+0000\n"
|
||||
"Last-Translator: Margie Foster <margie@linux.intel.com>\n"
|
||||
"Language-Team: English (United States) (http://www.transifex.com/projects/p/"
|
||||
"PowerTOP/language/en_US/)\n"
|
||||
"Language: en_US\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:238
|
||||
#, c-format
|
||||
msgid "Cannot create temp file\n"
|
||||
msgstr "Cannot create temp file\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:258
|
||||
#, c-format
|
||||
msgid "Calibrating: CPU usage on %i threads\n"
|
||||
msgstr "Calibrating: CPU usage on %i threads\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:273
|
||||
#, c-format
|
||||
msgid "Calibrating: CPU wakeup power consumption\n"
|
||||
msgstr "Calibrating: CPU wakeup power consumption\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:290
|
||||
#, c-format
|
||||
msgid "Calibrating USB devices\n"
|
||||
msgstr "Calibrating USB devices\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:292 src/calibrate/calibrate.cpp:309
|
||||
#: src/calibrate/calibrate.cpp:317 src/calibrate/calibrate.cpp:334
|
||||
#, c-format
|
||||
msgid ".... device %s \n"
|
||||
msgstr ".... device %s \n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:307
|
||||
#, c-format
|
||||
msgid "Calibrating radio devices\n"
|
||||
msgstr "Calibrating radio devices\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:331
|
||||
#, c-format
|
||||
msgid "Calibrating backlight\n"
|
||||
msgstr "Calibrating backlight\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:355 src/calibrate/calibrate.cpp:365
|
||||
#, c-format
|
||||
msgid "Calibrating idle\n"
|
||||
msgstr "Calibrating idle\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:378
|
||||
#, c-format
|
||||
msgid "Calibrating: disk usage \n"
|
||||
msgstr "Calibrating: disk usage \n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:403
|
||||
msgid "Starting PowerTOP power estimate calibration \n"
|
||||
msgstr "Starting PowerTOP power estimate calibration \n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:426
|
||||
msgid "Finishing PowerTOP power estimate calibration \n"
|
||||
msgstr "Finishing PowerTOP power estimate calibration \n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:430
|
||||
#, c-format
|
||||
msgid "Parameters after calibration:\n"
|
||||
msgstr "Parameters after calibration:\n"
|
||||
|
||||
#: src/cpu/abstract_cpu.cpp:74
|
||||
msgid "Idle"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/abstract_cpu.cpp:76
|
||||
msgid "Turbo Mode"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_core.cpp:37
|
||||
#, c-format
|
||||
msgid " Core(HW)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_core.cpp:37
|
||||
#, c-format
|
||||
msgid " Core(OS)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:324
|
||||
#, c-format
|
||||
msgid " Core"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:85
|
||||
#, c-format
|
||||
msgid "cpu package %i"
|
||||
msgstr "cpu package %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:86
|
||||
msgid "cpu package"
|
||||
msgstr "cpu package"
|
||||
|
||||
#: src/cpu/cpu.cpp:89 src/cpu/cpu.cpp:96
|
||||
#, fuzzy, c-format
|
||||
msgid "package-%i"
|
||||
msgstr "cpu package %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:90
|
||||
msgid "cpu rapl package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:97
|
||||
msgid "dram rapl package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:471
|
||||
msgid "Processor Idle State Report"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:535 src/cpu/cpu.cpp:753
|
||||
msgid "Package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:566 src/cpu/cpu.cpp:775
|
||||
#, c-format
|
||||
msgid "Core %d"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:573
|
||||
#, c-format
|
||||
msgid "GPU %d"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:594
|
||||
msgid "CPU"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:676
|
||||
msgid "Processor Frequency Report"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:796
|
||||
#, c-format
|
||||
msgid "CPU %d"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:997
|
||||
#, c-format
|
||||
msgid "cpu_idle event returned no state?\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:1012
|
||||
#, c-format
|
||||
msgid "power or cpu_frequency event returned no state?\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_linux.cpp:79
|
||||
msgid "C0 polling"
|
||||
msgstr "C0 polling"
|
||||
|
||||
#: src/cpu/cpu_linux.cpp:242
|
||||
#, c-format
|
||||
msgid " CPU(OS) %i"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:651
|
||||
#, c-format
|
||||
msgid " CPU %i"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_package.cpp:47
|
||||
#, c-format
|
||||
msgid " Pkg(HW)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_package.cpp:47
|
||||
#, c-format
|
||||
msgid " Pkg(OS)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:412
|
||||
#, c-format
|
||||
msgid " Package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/intel_cpus.cpp:129
|
||||
#, c-format
|
||||
msgid "read_msr cpu%d 0x%llx : "
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/intel_cpus.cpp:574
|
||||
msgid "C0 active"
|
||||
msgstr "C0 active"
|
||||
|
||||
#: src/cpu/intel_cpus.cpp:632
|
||||
#, c-format
|
||||
msgid "Average"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/intel_gpu.cpp:64
|
||||
#, c-format
|
||||
msgid " GPU "
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:154
|
||||
#, c-format
|
||||
msgid "SATA link: %s"
|
||||
msgstr "SATA link: %s"
|
||||
|
||||
#: src/devices/ahci.cpp:156
|
||||
#, c-format
|
||||
msgid "SATA disk: %s"
|
||||
msgstr "SATA disk: %s"
|
||||
|
||||
#: src/devices/ahci.cpp:374
|
||||
msgid "AHCI ALPM Residency Statistics - Not supported on this macine"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:389
|
||||
msgid "Link"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:390
|
||||
#, fuzzy
|
||||
msgid "Active"
|
||||
msgstr "C0 active"
|
||||
|
||||
#: src/devices/ahci.cpp:391
|
||||
msgid "Partial"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:392
|
||||
msgid "Slumber"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:393
|
||||
msgid "Devslp"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:399
|
||||
msgid "AHCI ALPM Residency Statistics"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/alsa.cpp:77
|
||||
#, c-format
|
||||
msgid "Audio codec %s: %s (%s)"
|
||||
msgstr "Audio codec %s: %s (%s)"
|
||||
|
||||
#: src/devices/alsa.cpp:79 src/devices/alsa.cpp:81
|
||||
#, c-format
|
||||
msgid "Audio codec %s: %s"
|
||||
msgstr "Audio codec %s: %s"
|
||||
|
||||
#: src/devices/devfreq.cpp:261
|
||||
#, fuzzy
|
||||
msgid "Device Freq stats"
|
||||
msgstr "Device stats"
|
||||
|
||||
#: src/devices/devfreq.cpp:279
|
||||
msgid " Devfreq is not enabled"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/devfreq.cpp:284
|
||||
msgid " No devfreq devices available"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:172 src/process/do_process.cpp:831
|
||||
#, c-format
|
||||
msgid "The battery reports a discharge rate of %sW\n"
|
||||
msgstr "The battery reports a discharge rate of %sW\n"
|
||||
|
||||
#: src/devices/device.cpp:174 src/process/do_process.cpp:833
|
||||
#, c-format
|
||||
msgid "The power consumed was %sJ\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:180
|
||||
#, c-format
|
||||
msgid "System baseline power is estimated at %sW\n"
|
||||
msgstr "System baseline power is estimated at %sW\n"
|
||||
|
||||
#: src/devices/device.cpp:187
|
||||
msgid "Power est. Usage Device name\n"
|
||||
msgstr "Power est. Usage Device name\n"
|
||||
|
||||
#: src/devices/device.cpp:189
|
||||
msgid " Usage Device name\n"
|
||||
msgstr " Usage Device name\n"
|
||||
|
||||
#: src/devices/device.cpp:256
|
||||
#, fuzzy
|
||||
msgid "The battery reports a discharge rate of: "
|
||||
msgstr "The battery reports a discharge rate of %sW\n"
|
||||
|
||||
#: src/devices/device.cpp:261
|
||||
msgid "The power consumed was : "
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:268
|
||||
#, fuzzy
|
||||
msgid "The system baseline power is estimated at: "
|
||||
msgstr "System baseline power is estimated at %sW\n"
|
||||
|
||||
#: src/devices/device.cpp:277 src/process/do_process.cpp:850
|
||||
#: src/process/do_process.cpp:852 src/process/do_process.cpp:926
|
||||
#: src/process/do_process.cpp:1077
|
||||
msgid "Usage"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:278
|
||||
#, fuzzy
|
||||
msgid "Device Name"
|
||||
msgstr "Device stats"
|
||||
|
||||
#: src/devices/device.cpp:280 src/process/do_process.cpp:935
|
||||
#: src/process/do_process.cpp:1082
|
||||
msgid "PW Estimate"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:317
|
||||
msgid "Device Power Report"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/network.cpp:177
|
||||
#, c-format
|
||||
msgid "Network interface: %s (%s)"
|
||||
msgstr "Network interface: %s (%s)"
|
||||
|
||||
#: src/devices/rfkill.cpp:65 src/devices/rfkill.cpp:69
|
||||
#, c-format
|
||||
msgid "Radio device: %s"
|
||||
msgstr "Radio device: %s"
|
||||
|
||||
#: src/devices/runtime_pm.cpp:216
|
||||
#, c-format
|
||||
msgid "I2C %s (%s): %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/runtime_pm.cpp:216 src/tuning/tuningi2c.cpp:57
|
||||
#: src/tuning/tuningi2c.cpp:59
|
||||
msgid "Adapter"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/runtime_pm.cpp:216 src/devlist.cpp:331
|
||||
#: src/tuning/tuningi2c.cpp:57 src/tuning/tuningi2c.cpp:59
|
||||
#, fuzzy
|
||||
msgid "Device"
|
||||
msgstr "Device stats"
|
||||
|
||||
#: src/devices/runtime_pm.cpp:241
|
||||
#, c-format
|
||||
msgid "PCI Device: %s"
|
||||
msgstr "PCI Device: %s"
|
||||
|
||||
#: src/devices/usb.cpp:51 src/devices/usb.cpp:96 src/devices/usb.cpp:98
|
||||
#, c-format
|
||||
msgid "USB device: %s"
|
||||
msgstr "USB device: %s"
|
||||
|
||||
#: src/devices/usb.cpp:94
|
||||
#, c-format
|
||||
msgid "USB device: %s (%s)"
|
||||
msgstr "USB device: %s (%s)"
|
||||
|
||||
#: src/devlist.cpp:330
|
||||
msgid "Process"
|
||||
msgstr ""
|
||||
|
||||
#: src/devlist.cpp:347
|
||||
msgid "Process Device Activity"
|
||||
msgstr ""
|
||||
|
||||
#: src/display.cpp:70
|
||||
msgid "Overview"
|
||||
msgstr "Overview"
|
||||
|
||||
#: src/display.cpp:71
|
||||
msgid "Idle stats"
|
||||
msgstr "Idle stats"
|
||||
|
||||
#: src/display.cpp:72
|
||||
msgid "Frequency stats"
|
||||
msgstr "Frequency stats"
|
||||
|
||||
#: src/display.cpp:73
|
||||
msgid "Device stats"
|
||||
msgstr "Device stats"
|
||||
|
||||
#: src/display.cpp:131
|
||||
msgid "Exit"
|
||||
msgstr ""
|
||||
|
||||
#: src/display.cpp:132
|
||||
msgid "Navigate"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:288
|
||||
#, c-format
|
||||
msgid "%7sW"
|
||||
msgstr "%7sW"
|
||||
|
||||
#: src/lib.cpp:291
|
||||
#, c-format
|
||||
msgid " 0 mW"
|
||||
msgstr " 0 mW"
|
||||
|
||||
#: src/lib.cpp:410
|
||||
msgid "PS/2 Touchpad / Keyboard / Mouse"
|
||||
msgstr "PS/2 Touchpad / Keyboard / Mouse"
|
||||
|
||||
#: src/lib.cpp:411
|
||||
msgid "SATA controller"
|
||||
msgstr "SATA controller"
|
||||
|
||||
#: src/lib.cpp:412
|
||||
msgid "Intel built in USB hub"
|
||||
msgstr "Intel built in USB hub"
|
||||
|
||||
#: src/lib.cpp:467
|
||||
#, c-format
|
||||
msgid "glob returned GLOB_NOSPACE\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:471
|
||||
#, c-format
|
||||
msgid "glob returned GLOB_ABORTED\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:475
|
||||
#, c-format
|
||||
msgid "glob returned GLOB_NOMATCH\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:513 src/lib.cpp:549
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Model-specific registers (MSR)\t\t\t not found (try enabling "
|
||||
"CONFIG_X86_MSR).\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:103
|
||||
#, fuzzy, c-format
|
||||
msgid "PowerTOP version "
|
||||
msgstr "PowerTOP "
|
||||
|
||||
#: src/main.cpp:109
|
||||
msgid "Set refresh time out"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:122
|
||||
msgid "Usage: powertop [OPTIONS]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:123
|
||||
msgid "sets all tunable options to their GOOD setting"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:124
|
||||
msgid "runs powertop in calibration mode"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:125 src/main.cpp:128
|
||||
msgid "[=filename]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:125
|
||||
msgid "generate a csv report"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:126
|
||||
msgid "run in \"debug\" mode"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:127
|
||||
msgid "[=devnode]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:127
|
||||
msgid "uses an Extech Power Analyzer for measurements"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:128
|
||||
msgid "generate a html report"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:129
|
||||
msgid "[=iterations] number of times to run each test"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:130
|
||||
msgid "suppress stderr output"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:131 src/main.cpp:132
|
||||
msgid "[=seconds]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:131
|
||||
msgid "interval for power consumption measurement"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:132
|
||||
msgid "generate a report for 'x' seconds"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:133
|
||||
msgid "[=workload]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:133
|
||||
msgid "file to execute for workload"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:134
|
||||
msgid "print version information"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:135
|
||||
msgid "print this help menu"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:137
|
||||
msgid "For more help please refer to the 'man 8 powertop'"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:232
|
||||
#, c-format
|
||||
msgid "Unknown issue running workload!\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:289
|
||||
msgid "PowerTOP is out of memory. PowerTOP is Aborting"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:297
|
||||
#, c-format
|
||||
msgid "Preparing to take measurements\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:302
|
||||
#, c-format
|
||||
msgid "Taking %d measurement(s) for a duration of %d second(s) each.\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:304
|
||||
#, c-format
|
||||
msgid "Measuring workload %s.\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:329
|
||||
#, c-format
|
||||
msgid "PowerTOP "
|
||||
msgstr "PowerTOP "
|
||||
|
||||
#: src/main.cpp:330 src/main.cpp:380
|
||||
#, c-format
|
||||
msgid "exiting...\n"
|
||||
msgstr "exiting...\n"
|
||||
|
||||
#: src/main.cpp:364
|
||||
#, c-format
|
||||
msgid "modprobe cpufreq_stats failed"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:367
|
||||
#, c-format
|
||||
msgid "modprobe msr failed"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:379 src/main.cpp:383
|
||||
#, c-format
|
||||
msgid "Failed to mount debugfs!\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:384
|
||||
#, c-format
|
||||
msgid "Should still be able to auto tune...\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:466
|
||||
#, c-format
|
||||
msgid "Invalid CSV filename\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:482
|
||||
#, c-format
|
||||
msgid "Invalid HTML filename\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:491
|
||||
#, c-format
|
||||
msgid "Quiet mode failed!\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:559
|
||||
msgid "Leaving PowerTOP"
|
||||
msgstr ""
|
||||
|
||||
#: src/parameters/persistent.cpp:46 src/parameters/persistent.cpp:155
|
||||
msgid "Cannot save to file"
|
||||
msgstr ""
|
||||
|
||||
#: src/parameters/persistent.cpp:89 src/parameters/persistent.cpp:180
|
||||
msgid "Cannot load from file"
|
||||
msgstr ""
|
||||
|
||||
#: src/parameters/persistent.cpp:138
|
||||
#, c-format
|
||||
msgid "Loaded %i prior measurements\n"
|
||||
msgstr "Loaded %i prior measurements\n"
|
||||
|
||||
#: src/parameters/persistent.cpp:181
|
||||
msgid ""
|
||||
"File will be loaded after taking minimum number of measurement(s) with "
|
||||
"battery only \n"
|
||||
msgstr ""
|
||||
|
||||
#: src/perf/perf.cpp:115
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Too many open files, please increase the limit of open file descriptors.\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/perf/perf.cpp:117
|
||||
#, c-format
|
||||
msgid "PowerTOP %s needs the kernel to support the 'perf' subsystem\n"
|
||||
msgstr "PowerTOP %s needs the kernel to support the 'perf' subsystem\n"
|
||||
|
||||
#: src/perf/perf.cpp:118
|
||||
#, c-format
|
||||
msgid "as well as support for trace points in the kernel:\n"
|
||||
msgstr "as well as support for trace points in the kernel:\n"
|
||||
|
||||
#: src/process/do_process.cpp:819
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Estimated power: %5.1f Measured power: %5.1f Sum: %5.1f\n"
|
||||
"\n"
|
||||
msgstr ""
|
||||
"Estimated power: %5.1f Measured power: %5.1f Sum: %5.1f\n"
|
||||
"\n"
|
||||
|
||||
#: src/process/do_process.cpp:838
|
||||
#, c-format
|
||||
msgid "The estimated remaining time is %i hours, %i minutes\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "Summary"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "wakeups/second"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "GPU ops/seconds"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "VFS ops/sec and"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "CPU use"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:850
|
||||
msgid "Power est."
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:850 src/process/do_process.cpp:852
|
||||
#: src/process/do_process.cpp:1078
|
||||
msgid "Events/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:850 src/process/do_process.cpp:852
|
||||
#: src/process/do_process.cpp:931 src/process/do_process.cpp:1079
|
||||
msgid "Category"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:850 src/process/do_process.cpp:852
|
||||
#: src/process/do_process.cpp:932 src/process/do_process.cpp:1080
|
||||
#: src/tuning/tuning.cpp:242 src/tuning/tuning.cpp:270
|
||||
#: src/tuning/tuning.cpp:288 src/wakeup/waketab.cpp:155
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:927
|
||||
msgid "Wakeups/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:928
|
||||
msgid "GPU ops/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:929
|
||||
msgid "Disk IO/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:930
|
||||
msgid "GFX Wakeups/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1017
|
||||
msgid "Overview of Software Power Consumers"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1057
|
||||
msgid "Target:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1058
|
||||
msgid "1 units/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1059
|
||||
msgid "System: "
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1061
|
||||
msgid " wakeup/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1062
|
||||
msgid "CPU: "
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1064
|
||||
#, c-format
|
||||
msgid "% usage"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1065
|
||||
msgid "GPU:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1067 src/process/do_process.cpp:1073
|
||||
msgid " ops/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1068
|
||||
msgid "GFX:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1070
|
||||
msgid " wakeups/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1071
|
||||
msgid "VFS:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1139
|
||||
msgid "Top 10 Power Consumers"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:122
|
||||
#, fuzzy
|
||||
msgid "PowerTOP Version"
|
||||
msgstr "PowerTOP "
|
||||
|
||||
#: src/report/report.cpp:131
|
||||
msgid "Kernel Version"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:135
|
||||
msgid "System Name"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:142
|
||||
msgid "CPU Information"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:154
|
||||
msgid "OS Information"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:161
|
||||
msgid "System Information"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:195
|
||||
#, fuzzy, c-format
|
||||
msgid "Cannot open output file %s (%s)\n"
|
||||
msgstr "Cannot create temp file\n"
|
||||
|
||||
#: src/report/report.cpp:211
|
||||
#, c-format
|
||||
msgid "PowerTOP outputing using base filename %s\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/bluetooth.cpp:46 src/tuning/ethernet.cpp:50
|
||||
#: src/tuning/runtime.cpp:42 src/tuning/tunable.cpp:49
|
||||
#: src/tuning/tuningi2c.cpp:35 src/tuning/tuningsysfs.cpp:45
|
||||
#: src/tuning/tuningusb.cpp:39 src/tuning/wifi.cpp:45
|
||||
msgid "Good"
|
||||
msgstr "Good"
|
||||
|
||||
#: src/tuning/bluetooth.cpp:46 src/tuning/ethernet.cpp:50
|
||||
#: src/tuning/runtime.cpp:42 src/tuning/tunable.cpp:50
|
||||
#: src/tuning/tuningi2c.cpp:35 src/tuning/tuningsysfs.cpp:45
|
||||
#: src/tuning/tuningusb.cpp:39 src/tuning/wifi.cpp:45
|
||||
msgid "Bad"
|
||||
msgstr "Bad"
|
||||
|
||||
#: src/tuning/bluetooth.cpp:46 src/tuning/ethernet.cpp:50
|
||||
#: src/tuning/runtime.cpp:42 src/tuning/tunable.cpp:51
|
||||
#: src/tuning/tuningi2c.cpp:35 src/tuning/tuningsysfs.cpp:45
|
||||
#: src/tuning/tuningusb.cpp:39 src/tuning/wifi.cpp:45 src/wakeup/wakeup.cpp:50
|
||||
msgid "Unknown"
|
||||
msgstr "Unknown"
|
||||
|
||||
#: src/tuning/bluetooth.cpp:48
|
||||
#, c-format
|
||||
msgid "Bluetooth device interface status"
|
||||
msgstr "Bluetooth device interface status"
|
||||
|
||||
#: src/tuning/ethernet.cpp:54 src/wakeup/wakeup_ethernet.cpp:51
|
||||
#, c-format
|
||||
msgid "Wake-on-lan status for device %s"
|
||||
msgstr "Wake-on-lan status for device %s"
|
||||
|
||||
#: src/tuning/runtime.cpp:48
|
||||
#, c-format
|
||||
msgid "Runtime PM for %s device %s"
|
||||
msgstr "Runtime PM for %s device %s"
|
||||
|
||||
#: src/tuning/runtime.cpp:50
|
||||
#, c-format
|
||||
msgid "%s device %s has no runtime power management"
|
||||
msgstr "%s device %s has no runtime power management"
|
||||
|
||||
#: src/tuning/runtime.cpp:74
|
||||
#, c-format
|
||||
msgid "PCI Device %s has no runtime power management"
|
||||
msgstr "PCI Device %s has no runtime power management"
|
||||
|
||||
#: src/tuning/runtime.cpp:76
|
||||
#, c-format
|
||||
msgid "Runtime PM for PCI Device %s"
|
||||
msgstr "Runtime PM for PCI Device %s"
|
||||
|
||||
#: src/tuning/tuning.cpp:62
|
||||
msgid "Enable Audio codec power management"
|
||||
msgstr "Enable Audio codec power management"
|
||||
|
||||
#: src/tuning/tuning.cpp:63
|
||||
msgid "NMI watchdog should be turned off"
|
||||
msgstr "NMI watchdog should be turned off"
|
||||
|
||||
#: src/tuning/tuning.cpp:64
|
||||
msgid "Power Aware CPU scheduler"
|
||||
msgstr "Power Aware CPU scheduler"
|
||||
|
||||
#: src/tuning/tuning.cpp:65
|
||||
msgid "VM writeback timeout"
|
||||
msgstr "VM writeback timeout"
|
||||
|
||||
#: src/tuning/tuning.cpp:81
|
||||
msgid "Tunables"
|
||||
msgstr "Tunables"
|
||||
|
||||
#: src/tuning/tuning.cpp:81
|
||||
msgid " <ESC> Exit | <Enter> Toggle tunable | <r> Window refresh"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:243 src/wakeup/waketab.cpp:156
|
||||
msgid "Script"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:257
|
||||
msgid "Software Settings in Need of Tuning"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:276
|
||||
msgid "Untunable Software Issues"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:300
|
||||
msgid "Optimal Tuned Software Settings"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuningi2c.cpp:57
|
||||
#, fuzzy, c-format
|
||||
msgid "Runtime PM for I2C %s %s (%s)"
|
||||
msgstr "Runtime PM for %s device %s"
|
||||
|
||||
#: src/tuning/tuningi2c.cpp:59
|
||||
#, fuzzy, c-format
|
||||
msgid "I2C %s %s has no runtime power management"
|
||||
msgstr "%s device %s has no runtime power management"
|
||||
|
||||
#: src/tuning/tuningsysfs.cpp:123
|
||||
#, fuzzy, c-format
|
||||
msgid "Enable SATA link power management for %s"
|
||||
msgstr "Enable Audio codec power management"
|
||||
|
||||
#: src/tuning/tuningusb.cpp:54
|
||||
#, c-format
|
||||
msgid "Autosuspend for unknown USB device %s (%s:%s)"
|
||||
msgstr "Autosuspend for unknown USB device %s (%s:%s)"
|
||||
|
||||
#: src/tuning/tuningusb.cpp:71 src/tuning/tuningusb.cpp:73
|
||||
#: src/tuning/tuningusb.cpp:75
|
||||
#, c-format
|
||||
msgid "Autosuspend for USB device %s [%s]"
|
||||
msgstr "Autosuspend for USB device %s [%s]"
|
||||
|
||||
#: src/tuning/wifi.cpp:48
|
||||
#, c-format
|
||||
msgid "Wireless Power Saving for interface %s"
|
||||
msgstr "Wireless Power Saving for interface %s"
|
||||
|
||||
#: src/wakeup/waketab.cpp:42
|
||||
msgid "WakeUp"
|
||||
msgstr ""
|
||||
|
||||
#: src/wakeup/waketab.cpp:42
|
||||
msgid " <ESC> Exit | <Enter> Toggle wakeup | <r> Window refresh"
|
||||
msgstr ""
|
||||
|
||||
#: src/wakeup/waketab.cpp:170
|
||||
#, fuzzy
|
||||
msgid "Wake status of the devices"
|
||||
msgstr "Wake-on-lan status for device %s"
|
||||
|
||||
#: src/wakeup/wakeup.cpp:48 src/wakeup/wakeup_ethernet.cpp:47
|
||||
#: src/wakeup/wakeup_usb.cpp:47
|
||||
#, fuzzy
|
||||
msgid "Enable"
|
||||
msgstr "Tunables"
|
||||
|
||||
#: src/wakeup/wakeup.cpp:49 src/wakeup/wakeup_ethernet.cpp:47
|
||||
#: src/wakeup/wakeup_usb.cpp:47
|
||||
msgid "Disable"
|
||||
msgstr ""
|
||||
|
||||
#: src/wakeup/wakeup_usb.cpp:51
|
||||
#, fuzzy, c-format
|
||||
msgid "Wake status for USB device %s"
|
||||
msgstr "Wake-on-lan status for device %s"
|
||||
|
||||
#~ msgid "Actual"
|
||||
#~ msgstr "Actual"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "I2C Device: %s"
|
||||
#~ msgstr "PCI Device: %s"
|
||||
|
||||
#~ msgid "Using 'ondemand' cpufreq governor"
|
||||
#~ msgstr "Using 'ondemand' cpufreq governor"
|
||||
BIN
powertop-v2.10/po/es_ES.gmo
Normal file
BIN
powertop-v2.10/po/es_ES.gmo
Normal file
Binary file not shown.
970
powertop-v2.10/po/es_ES.po
Normal file
970
powertop-v2.10/po/es_ES.po
Normal file
@ -0,0 +1,970 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR Intel Corporation
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
#
|
||||
# Translators:
|
||||
# Andres <andreshko9@hotmail.com>, 2011
|
||||
# Patrick McCarty <patrick.mccarty@linux.intel.com>, 2013
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PowerTOP\n"
|
||||
"Report-Msgid-Bugs-To: \"powertop@lists.01.org\"\n"
|
||||
"POT-Creation-Date: 2019-01-04 16:21-0800\n"
|
||||
"PO-Revision-Date: 2013-11-05 08:40+0000\n"
|
||||
"Last-Translator: Margie Foster <margie@linux.intel.com>\n"
|
||||
"Language-Team: Spanish (Spain) (http://www.transifex.com/projects/p/PowerTOP/"
|
||||
"language/es_ES/)\n"
|
||||
"Language: es_ES\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:238
|
||||
#, c-format
|
||||
msgid "Cannot create temp file\n"
|
||||
msgstr "No puede crear archivo temp\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:258
|
||||
#, c-format
|
||||
msgid "Calibrating: CPU usage on %i threads\n"
|
||||
msgstr "Calibrando: uso de CPU en %i discusiones\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:273
|
||||
#, c-format
|
||||
msgid "Calibrating: CPU wakeup power consumption\n"
|
||||
msgstr "Calibrando: consumo de energía del despertado de la CPU\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:290
|
||||
#, c-format
|
||||
msgid "Calibrating USB devices\n"
|
||||
msgstr "Calibrando dispositivos USB\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:292 src/calibrate/calibrate.cpp:309
|
||||
#: src/calibrate/calibrate.cpp:317 src/calibrate/calibrate.cpp:334
|
||||
#, c-format
|
||||
msgid ".... device %s \n"
|
||||
msgstr ".... dispositivo %s \n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:307
|
||||
#, c-format
|
||||
msgid "Calibrating radio devices\n"
|
||||
msgstr "Calibrando dispositivos de radio\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:331
|
||||
#, c-format
|
||||
msgid "Calibrating backlight\n"
|
||||
msgstr "Calibrando luz trasera\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:355 src/calibrate/calibrate.cpp:365
|
||||
#, c-format
|
||||
msgid "Calibrating idle\n"
|
||||
msgstr "Calibrando parado\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:378
|
||||
#, c-format
|
||||
msgid "Calibrating: disk usage \n"
|
||||
msgstr "Calibrando: uso de disco \n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:403
|
||||
msgid "Starting PowerTOP power estimate calibration \n"
|
||||
msgstr "Iniciando calibración de estimado de energía PowerTOP \n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:426
|
||||
msgid "Finishing PowerTOP power estimate calibration \n"
|
||||
msgstr "Finalizando calibración de estimación de energía de PowerTOP \n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:430
|
||||
#, c-format
|
||||
msgid "Parameters after calibration:\n"
|
||||
msgstr "Parámetros tras calibración:\n"
|
||||
|
||||
#: src/cpu/abstract_cpu.cpp:74
|
||||
msgid "Idle"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/abstract_cpu.cpp:76
|
||||
msgid "Turbo Mode"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_core.cpp:37
|
||||
#, c-format
|
||||
msgid " Core(HW)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_core.cpp:37
|
||||
#, c-format
|
||||
msgid " Core(OS)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:324
|
||||
#, c-format
|
||||
msgid " Core"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:85
|
||||
#, c-format
|
||||
msgid "cpu package %i"
|
||||
msgstr "package cpu %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:86
|
||||
msgid "cpu package"
|
||||
msgstr "paquete cpu"
|
||||
|
||||
#: src/cpu/cpu.cpp:89 src/cpu/cpu.cpp:96
|
||||
#, fuzzy, c-format
|
||||
msgid "package-%i"
|
||||
msgstr "package cpu %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:90
|
||||
msgid "cpu rapl package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:97
|
||||
msgid "dram rapl package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:471
|
||||
msgid "Processor Idle State Report"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:535 src/cpu/cpu.cpp:753
|
||||
msgid "Package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:566 src/cpu/cpu.cpp:775
|
||||
#, c-format
|
||||
msgid "Core %d"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:573
|
||||
#, fuzzy, c-format
|
||||
msgid "GPU %d"
|
||||
msgstr " CPU %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:594
|
||||
#, fuzzy
|
||||
msgid "CPU"
|
||||
msgstr " CPU %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:676
|
||||
msgid "Processor Frequency Report"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:796
|
||||
#, fuzzy, c-format
|
||||
msgid "CPU %d"
|
||||
msgstr " CPU %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:997
|
||||
#, c-format
|
||||
msgid "cpu_idle event returned no state?\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:1012
|
||||
#, c-format
|
||||
msgid "power or cpu_frequency event returned no state?\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_linux.cpp:79
|
||||
msgid "C0 polling"
|
||||
msgstr "C0 sondeando"
|
||||
|
||||
#: src/cpu/cpu_linux.cpp:242
|
||||
#, c-format
|
||||
msgid " CPU(OS) %i"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:651
|
||||
#, c-format
|
||||
msgid " CPU %i"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_package.cpp:47
|
||||
#, c-format
|
||||
msgid " Pkg(HW)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_package.cpp:47
|
||||
#, c-format
|
||||
msgid " Pkg(OS)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:412
|
||||
#, c-format
|
||||
msgid " Package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/intel_cpus.cpp:129
|
||||
#, c-format
|
||||
msgid "read_msr cpu%d 0x%llx : "
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/intel_cpus.cpp:574
|
||||
msgid "C0 active"
|
||||
msgstr "C0 activo"
|
||||
|
||||
#: src/cpu/intel_cpus.cpp:632
|
||||
#, c-format
|
||||
msgid "Average"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/intel_gpu.cpp:64
|
||||
#, fuzzy, c-format
|
||||
msgid " GPU "
|
||||
msgstr " CPU %i"
|
||||
|
||||
#: src/devices/ahci.cpp:154
|
||||
#, c-format
|
||||
msgid "SATA link: %s"
|
||||
msgstr "Enlace SATA: %s"
|
||||
|
||||
#: src/devices/ahci.cpp:156
|
||||
#, c-format
|
||||
msgid "SATA disk: %s"
|
||||
msgstr "Disco SATA: %s"
|
||||
|
||||
#: src/devices/ahci.cpp:374
|
||||
msgid "AHCI ALPM Residency Statistics - Not supported on this macine"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:389
|
||||
msgid "Link"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:390
|
||||
#, fuzzy
|
||||
msgid "Active"
|
||||
msgstr "C0 activo"
|
||||
|
||||
#: src/devices/ahci.cpp:391
|
||||
msgid "Partial"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:392
|
||||
msgid "Slumber"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:393
|
||||
msgid "Devslp"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:399
|
||||
msgid "AHCI ALPM Residency Statistics"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/alsa.cpp:77
|
||||
#, c-format
|
||||
msgid "Audio codec %s: %s (%s)"
|
||||
msgstr "Codec de audio %s: %s (%s)"
|
||||
|
||||
#: src/devices/alsa.cpp:79 src/devices/alsa.cpp:81
|
||||
#, c-format
|
||||
msgid "Audio codec %s: %s"
|
||||
msgstr "Codec de audio %s: %s"
|
||||
|
||||
#: src/devices/devfreq.cpp:261
|
||||
#, fuzzy
|
||||
msgid "Device Freq stats"
|
||||
msgstr "Estadísticas del dispositivo"
|
||||
|
||||
#: src/devices/devfreq.cpp:279
|
||||
msgid " Devfreq is not enabled"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/devfreq.cpp:284
|
||||
msgid " No devfreq devices available"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:172 src/process/do_process.cpp:831
|
||||
#, c-format
|
||||
msgid "The battery reports a discharge rate of %sW\n"
|
||||
msgstr "La batería reporta una tasa de descarga de %sW\n"
|
||||
|
||||
#: src/devices/device.cpp:174 src/process/do_process.cpp:833
|
||||
#, c-format
|
||||
msgid "The power consumed was %sJ\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:180
|
||||
#, c-format
|
||||
msgid "System baseline power is estimated at %sW\n"
|
||||
msgstr "Linea base de energía del sistema es estimada en %sW\n"
|
||||
|
||||
#: src/devices/device.cpp:187
|
||||
msgid "Power est. Usage Device name\n"
|
||||
msgstr "Power est. Usage Device name\n"
|
||||
|
||||
#: src/devices/device.cpp:189
|
||||
msgid " Usage Device name\n"
|
||||
msgstr " Uso Nombre del dispositivo\n"
|
||||
|
||||
#: src/devices/device.cpp:256
|
||||
#, fuzzy
|
||||
msgid "The battery reports a discharge rate of: "
|
||||
msgstr "La batería reporta una tasa de descarga de %sW\n"
|
||||
|
||||
#: src/devices/device.cpp:261
|
||||
msgid "The power consumed was : "
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:268
|
||||
#, fuzzy
|
||||
msgid "The system baseline power is estimated at: "
|
||||
msgstr "Linea base de energía del sistema es estimada en %sW\n"
|
||||
|
||||
#: src/devices/device.cpp:277 src/process/do_process.cpp:850
|
||||
#: src/process/do_process.cpp:852 src/process/do_process.cpp:926
|
||||
#: src/process/do_process.cpp:1077
|
||||
msgid "Usage"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:278
|
||||
#, fuzzy
|
||||
msgid "Device Name"
|
||||
msgstr "Estadísticas del dispositivo"
|
||||
|
||||
#: src/devices/device.cpp:280 src/process/do_process.cpp:935
|
||||
#: src/process/do_process.cpp:1082
|
||||
msgid "PW Estimate"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:317
|
||||
msgid "Device Power Report"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/network.cpp:177
|
||||
#, c-format
|
||||
msgid "Network interface: %s (%s)"
|
||||
msgstr "Interfaz de red: %s (%s)"
|
||||
|
||||
#: src/devices/rfkill.cpp:65 src/devices/rfkill.cpp:69
|
||||
#, c-format
|
||||
msgid "Radio device: %s"
|
||||
msgstr "Dispositivo de radio: %s"
|
||||
|
||||
#: src/devices/runtime_pm.cpp:216
|
||||
#, c-format
|
||||
msgid "I2C %s (%s): %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/runtime_pm.cpp:216 src/tuning/tuningi2c.cpp:57
|
||||
#: src/tuning/tuningi2c.cpp:59
|
||||
msgid "Adapter"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/runtime_pm.cpp:216 src/devlist.cpp:331
|
||||
#: src/tuning/tuningi2c.cpp:57 src/tuning/tuningi2c.cpp:59
|
||||
#, fuzzy
|
||||
msgid "Device"
|
||||
msgstr "Estadísticas del dispositivo"
|
||||
|
||||
#: src/devices/runtime_pm.cpp:241
|
||||
#, c-format
|
||||
msgid "PCI Device: %s"
|
||||
msgstr "Dispositivo PCI: %s"
|
||||
|
||||
#: src/devices/usb.cpp:51 src/devices/usb.cpp:96 src/devices/usb.cpp:98
|
||||
#, c-format
|
||||
msgid "USB device: %s"
|
||||
msgstr "Dispositivo USB: %s"
|
||||
|
||||
#: src/devices/usb.cpp:94
|
||||
#, c-format
|
||||
msgid "USB device: %s (%s)"
|
||||
msgstr "Dispositivo USB: %s (%s)"
|
||||
|
||||
#: src/devlist.cpp:330
|
||||
msgid "Process"
|
||||
msgstr ""
|
||||
|
||||
#: src/devlist.cpp:347
|
||||
msgid "Process Device Activity"
|
||||
msgstr ""
|
||||
|
||||
#: src/display.cpp:70
|
||||
msgid "Overview"
|
||||
msgstr "Información general"
|
||||
|
||||
#: src/display.cpp:71
|
||||
msgid "Idle stats"
|
||||
msgstr "Estadísticas de parado"
|
||||
|
||||
#: src/display.cpp:72
|
||||
msgid "Frequency stats"
|
||||
msgstr "Estadísticas de frecuencia"
|
||||
|
||||
#: src/display.cpp:73
|
||||
msgid "Device stats"
|
||||
msgstr "Estadísticas del dispositivo"
|
||||
|
||||
#: src/display.cpp:131
|
||||
msgid "Exit"
|
||||
msgstr "Salida"
|
||||
|
||||
#: src/display.cpp:132
|
||||
msgid "Navigate"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:288
|
||||
#, c-format
|
||||
msgid "%7sW"
|
||||
msgstr "%7sW"
|
||||
|
||||
#: src/lib.cpp:291
|
||||
#, c-format
|
||||
msgid " 0 mW"
|
||||
msgstr " 0 mW"
|
||||
|
||||
#: src/lib.cpp:410
|
||||
msgid "PS/2 Touchpad / Keyboard / Mouse"
|
||||
msgstr "PS/2 Touchpad / Teclado / Ratón"
|
||||
|
||||
#: src/lib.cpp:411
|
||||
msgid "SATA controller"
|
||||
msgstr "Controlador SATA"
|
||||
|
||||
#: src/lib.cpp:412
|
||||
msgid "Intel built in USB hub"
|
||||
msgstr "Intel construido en concentrador USB"
|
||||
|
||||
#: src/lib.cpp:467
|
||||
#, c-format
|
||||
msgid "glob returned GLOB_NOSPACE\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:471
|
||||
#, c-format
|
||||
msgid "glob returned GLOB_ABORTED\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:475
|
||||
#, c-format
|
||||
msgid "glob returned GLOB_NOMATCH\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:513 src/lib.cpp:549
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Model-specific registers (MSR)\t\t\t not found (try enabling "
|
||||
"CONFIG_X86_MSR).\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:103
|
||||
#, fuzzy, c-format
|
||||
msgid "PowerTOP version "
|
||||
msgstr "PowerTOP "
|
||||
|
||||
#: src/main.cpp:109
|
||||
msgid "Set refresh time out"
|
||||
msgstr "Actualización Set time out"
|
||||
|
||||
#: src/main.cpp:122
|
||||
msgid "Usage: powertop [OPTIONS]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:123
|
||||
msgid "sets all tunable options to their GOOD setting"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:124
|
||||
msgid "runs powertop in calibration mode"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:125 src/main.cpp:128
|
||||
msgid "[=filename]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:125
|
||||
msgid "generate a csv report"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:126
|
||||
msgid "run in \"debug\" mode"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:127
|
||||
msgid "[=devnode]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:127
|
||||
msgid "uses an Extech Power Analyzer for measurements"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:128
|
||||
msgid "generate a html report"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:129
|
||||
msgid "[=iterations] number of times to run each test"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:130
|
||||
msgid "suppress stderr output"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:131 src/main.cpp:132
|
||||
msgid "[=seconds]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:131
|
||||
msgid "interval for power consumption measurement"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:132
|
||||
msgid "generate a report for 'x' seconds"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:133
|
||||
msgid "[=workload]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:133
|
||||
msgid "file to execute for workload"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:134
|
||||
msgid "print version information"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:135
|
||||
msgid "print this help menu"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:137
|
||||
msgid "For more help please refer to the 'man 8 powertop'"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:232
|
||||
#, c-format
|
||||
msgid "Unknown issue running workload!\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:289
|
||||
msgid "PowerTOP is out of memory. PowerTOP is Aborting"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:297
|
||||
#, c-format
|
||||
msgid "Preparing to take measurements\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:302
|
||||
#, c-format
|
||||
msgid "Taking %d measurement(s) for a duration of %d second(s) each.\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:304
|
||||
#, c-format
|
||||
msgid "Measuring workload %s.\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:329
|
||||
#, c-format
|
||||
msgid "PowerTOP "
|
||||
msgstr "PowerTOP "
|
||||
|
||||
#: src/main.cpp:330 src/main.cpp:380
|
||||
#, c-format
|
||||
msgid "exiting...\n"
|
||||
msgstr "saliendo...\n"
|
||||
|
||||
#: src/main.cpp:364
|
||||
#, c-format
|
||||
msgid "modprobe cpufreq_stats failed"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:367
|
||||
#, c-format
|
||||
msgid "modprobe msr failed"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:379 src/main.cpp:383
|
||||
#, c-format
|
||||
msgid "Failed to mount debugfs!\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:384
|
||||
#, c-format
|
||||
msgid "Should still be able to auto tune...\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:466
|
||||
#, c-format
|
||||
msgid "Invalid CSV filename\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:482
|
||||
#, c-format
|
||||
msgid "Invalid HTML filename\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:491
|
||||
#, c-format
|
||||
msgid "Quiet mode failed!\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:559
|
||||
msgid "Leaving PowerTOP"
|
||||
msgstr ""
|
||||
|
||||
#: src/parameters/persistent.cpp:46 src/parameters/persistent.cpp:155
|
||||
msgid "Cannot save to file"
|
||||
msgstr ""
|
||||
|
||||
#: src/parameters/persistent.cpp:89 src/parameters/persistent.cpp:180
|
||||
msgid "Cannot load from file"
|
||||
msgstr ""
|
||||
|
||||
#: src/parameters/persistent.cpp:138
|
||||
#, c-format
|
||||
msgid "Loaded %i prior measurements\n"
|
||||
msgstr "Cargado %i medidas previas\n"
|
||||
|
||||
#: src/parameters/persistent.cpp:181
|
||||
msgid ""
|
||||
"File will be loaded after taking minimum number of measurement(s) with "
|
||||
"battery only \n"
|
||||
msgstr ""
|
||||
|
||||
#: src/perf/perf.cpp:115
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Too many open files, please increase the limit of open file descriptors.\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/perf/perf.cpp:117
|
||||
#, c-format
|
||||
msgid "PowerTOP %s needs the kernel to support the 'perf' subsystem\n"
|
||||
msgstr "PowerTOP %s necesita que el kernel soporte el subsistema 'perf'\n"
|
||||
|
||||
#: src/perf/perf.cpp:118
|
||||
#, c-format
|
||||
msgid "as well as support for trace points in the kernel:\n"
|
||||
msgstr "así como soporte para puntos de seguimiento en el kernel:\n"
|
||||
|
||||
#: src/process/do_process.cpp:819
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Estimated power: %5.1f Measured power: %5.1f Sum: %5.1f\n"
|
||||
"\n"
|
||||
msgstr ""
|
||||
"Energía estimada: %5.1f Energía medida: %5.1f Sum: %5.1f\n"
|
||||
"\n"
|
||||
|
||||
#: src/process/do_process.cpp:838
|
||||
#, c-format
|
||||
msgid "The estimated remaining time is %i hours, %i minutes\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "Summary"
|
||||
msgstr "Resumen"
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "wakeups/second"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "GPU ops/seconds"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "VFS ops/sec and"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "CPU use"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:850
|
||||
msgid "Power est."
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:850 src/process/do_process.cpp:852
|
||||
#: src/process/do_process.cpp:1078
|
||||
msgid "Events/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:850 src/process/do_process.cpp:852
|
||||
#: src/process/do_process.cpp:931 src/process/do_process.cpp:1079
|
||||
msgid "Category"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:850 src/process/do_process.cpp:852
|
||||
#: src/process/do_process.cpp:932 src/process/do_process.cpp:1080
|
||||
#: src/tuning/tuning.cpp:242 src/tuning/tuning.cpp:270
|
||||
#: src/tuning/tuning.cpp:288 src/wakeup/waketab.cpp:155
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:927
|
||||
msgid "Wakeups/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:928
|
||||
msgid "GPU ops/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:929
|
||||
msgid "Disk IO/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:930
|
||||
msgid "GFX Wakeups/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1017
|
||||
msgid "Overview of Software Power Consumers"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1057
|
||||
msgid "Target:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1058
|
||||
msgid "1 units/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1059
|
||||
msgid "System: "
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1061
|
||||
msgid " wakeup/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1062
|
||||
msgid "CPU: "
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1064
|
||||
#, c-format
|
||||
msgid "% usage"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1065
|
||||
msgid "GPU:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1067 src/process/do_process.cpp:1073
|
||||
msgid " ops/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1068
|
||||
msgid "GFX:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1070
|
||||
msgid " wakeups/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1071
|
||||
msgid "VFS:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1139
|
||||
msgid "Top 10 Power Consumers"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:122
|
||||
#, fuzzy
|
||||
msgid "PowerTOP Version"
|
||||
msgstr "PowerTOP "
|
||||
|
||||
#: src/report/report.cpp:131
|
||||
msgid "Kernel Version"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:135
|
||||
msgid "System Name"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:142
|
||||
msgid "CPU Information"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:154
|
||||
msgid "OS Information"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:161
|
||||
msgid "System Information"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:195
|
||||
#, fuzzy, c-format
|
||||
msgid "Cannot open output file %s (%s)\n"
|
||||
msgstr "No puede crear archivo temp\n"
|
||||
|
||||
#: src/report/report.cpp:211
|
||||
#, c-format
|
||||
msgid "PowerTOP outputing using base filename %s\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/bluetooth.cpp:46 src/tuning/ethernet.cpp:50
|
||||
#: src/tuning/runtime.cpp:42 src/tuning/tunable.cpp:49
|
||||
#: src/tuning/tuningi2c.cpp:35 src/tuning/tuningsysfs.cpp:45
|
||||
#: src/tuning/tuningusb.cpp:39 src/tuning/wifi.cpp:45
|
||||
msgid "Good"
|
||||
msgstr "Bueno"
|
||||
|
||||
#: src/tuning/bluetooth.cpp:46 src/tuning/ethernet.cpp:50
|
||||
#: src/tuning/runtime.cpp:42 src/tuning/tunable.cpp:50
|
||||
#: src/tuning/tuningi2c.cpp:35 src/tuning/tuningsysfs.cpp:45
|
||||
#: src/tuning/tuningusb.cpp:39 src/tuning/wifi.cpp:45
|
||||
msgid "Bad"
|
||||
msgstr "Malo"
|
||||
|
||||
#: src/tuning/bluetooth.cpp:46 src/tuning/ethernet.cpp:50
|
||||
#: src/tuning/runtime.cpp:42 src/tuning/tunable.cpp:51
|
||||
#: src/tuning/tuningi2c.cpp:35 src/tuning/tuningsysfs.cpp:45
|
||||
#: src/tuning/tuningusb.cpp:39 src/tuning/wifi.cpp:45 src/wakeup/wakeup.cpp:50
|
||||
msgid "Unknown"
|
||||
msgstr "Desconocido"
|
||||
|
||||
#: src/tuning/bluetooth.cpp:48
|
||||
#, c-format
|
||||
msgid "Bluetooth device interface status"
|
||||
msgstr "Estado de la interfaz de dispositivo Bluetooth"
|
||||
|
||||
#: src/tuning/ethernet.cpp:54 src/wakeup/wakeup_ethernet.cpp:51
|
||||
#, c-format
|
||||
msgid "Wake-on-lan status for device %s"
|
||||
msgstr "Estado Wake-on-lan para dispositivo %s"
|
||||
|
||||
#: src/tuning/runtime.cpp:48
|
||||
#, c-format
|
||||
msgid "Runtime PM for %s device %s"
|
||||
msgstr "Tiempo de ejecución PM para %s dispositivo %s"
|
||||
|
||||
#: src/tuning/runtime.cpp:50
|
||||
#, c-format
|
||||
msgid "%s device %s has no runtime power management"
|
||||
msgstr ""
|
||||
"%s dispositivo %s no tiene administración de energía en tiempo de ejecución"
|
||||
|
||||
#: src/tuning/runtime.cpp:74
|
||||
#, c-format
|
||||
msgid "PCI Device %s has no runtime power management"
|
||||
msgstr ""
|
||||
"Dispositivo PCI %s no tiene administración de energía en tiempo de ejecución"
|
||||
|
||||
#: src/tuning/runtime.cpp:76
|
||||
#, c-format
|
||||
msgid "Runtime PM for PCI Device %s"
|
||||
msgstr "Tiempo de ejecución PM para dispositivo PCI %s"
|
||||
|
||||
#: src/tuning/tuning.cpp:62
|
||||
msgid "Enable Audio codec power management"
|
||||
msgstr "Habilitar administración de energía del codec de Audio "
|
||||
|
||||
#: src/tuning/tuning.cpp:63
|
||||
msgid "NMI watchdog should be turned off"
|
||||
msgstr "Vigilancia NMI se debe apagar"
|
||||
|
||||
#: src/tuning/tuning.cpp:64
|
||||
msgid "Power Aware CPU scheduler"
|
||||
msgstr "Planificador de CPU Consciente de Energía "
|
||||
|
||||
#: src/tuning/tuning.cpp:65
|
||||
msgid "VM writeback timeout"
|
||||
msgstr "Tiempo límite de reescritura VM"
|
||||
|
||||
#: src/tuning/tuning.cpp:81
|
||||
msgid "Tunables"
|
||||
msgstr "Optimizables"
|
||||
|
||||
#: src/tuning/tuning.cpp:81
|
||||
msgid " <ESC> Exit | <Enter> Toggle tunable | <r> Window refresh"
|
||||
msgstr ""
|
||||
" Salida de <ESC>| <Enter>Palanca ajustable | Actualización de <r>ventana"
|
||||
|
||||
#: src/tuning/tuning.cpp:243 src/wakeup/waketab.cpp:156
|
||||
msgid "Script"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:257
|
||||
msgid "Software Settings in Need of Tuning"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:276
|
||||
msgid "Untunable Software Issues"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:300
|
||||
msgid "Optimal Tuned Software Settings"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuningi2c.cpp:57
|
||||
#, fuzzy, c-format
|
||||
msgid "Runtime PM for I2C %s %s (%s)"
|
||||
msgstr "Tiempo de ejecución PM para %s dispositivo %s"
|
||||
|
||||
#: src/tuning/tuningi2c.cpp:59
|
||||
#, fuzzy, c-format
|
||||
msgid "I2C %s %s has no runtime power management"
|
||||
msgstr ""
|
||||
"%s dispositivo %s no tiene administración de energía en tiempo de ejecución"
|
||||
|
||||
#: src/tuning/tuningsysfs.cpp:123
|
||||
#, fuzzy, c-format
|
||||
msgid "Enable SATA link power management for %s"
|
||||
msgstr "Habilitar administración de energía del codec de Audio "
|
||||
|
||||
#: src/tuning/tuningusb.cpp:54
|
||||
#, c-format
|
||||
msgid "Autosuspend for unknown USB device %s (%s:%s)"
|
||||
msgstr "Autosuspender para dispositivo USB desconocido %s (%s:%s)"
|
||||
|
||||
#: src/tuning/tuningusb.cpp:71 src/tuning/tuningusb.cpp:73
|
||||
#: src/tuning/tuningusb.cpp:75
|
||||
#, c-format
|
||||
msgid "Autosuspend for USB device %s [%s]"
|
||||
msgstr "Autosuspender para dispositivo USB %s [%s]"
|
||||
|
||||
#: src/tuning/wifi.cpp:48
|
||||
#, c-format
|
||||
msgid "Wireless Power Saving for interface %s"
|
||||
msgstr "Ahorro de Energía Wireless para interfaz %s"
|
||||
|
||||
#: src/wakeup/waketab.cpp:42
|
||||
msgid "WakeUp"
|
||||
msgstr ""
|
||||
|
||||
#: src/wakeup/waketab.cpp:42
|
||||
#, fuzzy
|
||||
msgid " <ESC> Exit | <Enter> Toggle wakeup | <r> Window refresh"
|
||||
msgstr ""
|
||||
" Salida de <ESC>| <Enter>Palanca ajustable | Actualización de <r>ventana"
|
||||
|
||||
#: src/wakeup/waketab.cpp:170
|
||||
#, fuzzy
|
||||
msgid "Wake status of the devices"
|
||||
msgstr "Estado Wake-on-lan para dispositivo %s"
|
||||
|
||||
#: src/wakeup/wakeup.cpp:48 src/wakeup/wakeup_ethernet.cpp:47
|
||||
#: src/wakeup/wakeup_usb.cpp:47
|
||||
#, fuzzy
|
||||
msgid "Enable"
|
||||
msgstr "Optimizables"
|
||||
|
||||
#: src/wakeup/wakeup.cpp:49 src/wakeup/wakeup_ethernet.cpp:47
|
||||
#: src/wakeup/wakeup_usb.cpp:47
|
||||
msgid "Disable"
|
||||
msgstr ""
|
||||
|
||||
#: src/wakeup/wakeup_usb.cpp:51
|
||||
#, fuzzy, c-format
|
||||
msgid "Wake status for USB device %s"
|
||||
msgstr "Estado Wake-on-lan para dispositivo %s"
|
||||
|
||||
#~ msgid "Actual"
|
||||
#~ msgstr "Actual"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "I2C Device: %s"
|
||||
#~ msgstr "Dispositivo PCI: %s"
|
||||
|
||||
#~ msgid "Using 'ondemand' cpufreq governor"
|
||||
#~ msgstr "Usando 'ondemand' cpufreq governor"
|
||||
BIN
powertop-v2.10/po/hu_HU.gmo
Normal file
BIN
powertop-v2.10/po/hu_HU.gmo
Normal file
Binary file not shown.
992
powertop-v2.10/po/hu_HU.po
Normal file
992
powertop-v2.10/po/hu_HU.po
Normal file
@ -0,0 +1,992 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR Intel Corporation
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
#
|
||||
# Translators:
|
||||
# ceferron <chris.e.ferron@linux.intel.com>, 2012
|
||||
# Márton Németh <nemeth.marton@gmail.com>, 2012
|
||||
# Márton Németh <nm127@freemail.hu>, 2012
|
||||
# Zoltan Hoppár <hopparz@gmail.com>, 2012
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PowerTOP\n"
|
||||
"Report-Msgid-Bugs-To: \"powertop@lists.01.org\"\n"
|
||||
"POT-Creation-Date: 2019-01-04 16:21-0800\n"
|
||||
"PO-Revision-Date: 2013-11-05 08:40+0000\n"
|
||||
"Last-Translator: Margie Foster <margie@linux.intel.com>\n"
|
||||
"Language-Team: Hungarian (Hungary) (http://www.transifex.com/projects/p/"
|
||||
"PowerTOP/language/hu_HU/)\n"
|
||||
"Language: hu_HU\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:238
|
||||
#, c-format
|
||||
msgid "Cannot create temp file\n"
|
||||
msgstr "Nem tudok létrehozni ideiglenes fájlt\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:258
|
||||
#, c-format
|
||||
msgid "Calibrating: CPU usage on %i threads\n"
|
||||
msgstr "Kalibrálás: CPU használtság %i szálon\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:273
|
||||
#, c-format
|
||||
msgid "Calibrating: CPU wakeup power consumption\n"
|
||||
msgstr "Kalibrálás: CPU felébredési teljesítményfelvétel\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:290
|
||||
#, c-format
|
||||
msgid "Calibrating USB devices\n"
|
||||
msgstr "USB eszközök kalibrálása\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:292 src/calibrate/calibrate.cpp:309
|
||||
#: src/calibrate/calibrate.cpp:317 src/calibrate/calibrate.cpp:334
|
||||
#, c-format
|
||||
msgid ".... device %s \n"
|
||||
msgstr ".... %s eszköz \n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:307
|
||||
#, c-format
|
||||
msgid "Calibrating radio devices\n"
|
||||
msgstr "Rádiós eszközök kalibrálása\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:331
|
||||
#, c-format
|
||||
msgid "Calibrating backlight\n"
|
||||
msgstr "Háttérvilágítás kalibrálása\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:355 src/calibrate/calibrate.cpp:365
|
||||
#, c-format
|
||||
msgid "Calibrating idle\n"
|
||||
msgstr "Üresjárat kalibrálása\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:378
|
||||
#, c-format
|
||||
msgid "Calibrating: disk usage \n"
|
||||
msgstr "Kalibrálás: lemezhasználat \n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:403
|
||||
msgid "Starting PowerTOP power estimate calibration \n"
|
||||
msgstr "PowerTop teljesítménybecslés kalibrálás indítása \n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:426
|
||||
msgid "Finishing PowerTOP power estimate calibration \n"
|
||||
msgstr "PowerTop teljesítménybecslés-kalibrálás befejezése \n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:430
|
||||
#, c-format
|
||||
msgid "Parameters after calibration:\n"
|
||||
msgstr "Paraméterek a kalibrálás után:\n"
|
||||
|
||||
#: src/cpu/abstract_cpu.cpp:74
|
||||
msgid "Idle"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/abstract_cpu.cpp:76
|
||||
msgid "Turbo Mode"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_core.cpp:37
|
||||
#, c-format
|
||||
msgid " Core(HW)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_core.cpp:37
|
||||
#, c-format
|
||||
msgid " Core(OS)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:324
|
||||
#, c-format
|
||||
msgid " Core"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:85
|
||||
#, c-format
|
||||
msgid "cpu package %i"
|
||||
msgstr "CPU tok %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:86
|
||||
msgid "cpu package"
|
||||
msgstr "CPU tok"
|
||||
|
||||
#: src/cpu/cpu.cpp:89 src/cpu/cpu.cpp:96
|
||||
#, fuzzy, c-format
|
||||
msgid "package-%i"
|
||||
msgstr "Csomag %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:90
|
||||
msgid "cpu rapl package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:97
|
||||
msgid "dram rapl package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:471
|
||||
msgid "Processor Idle State Report"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:535 src/cpu/cpu.cpp:753
|
||||
msgid "Package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:566 src/cpu/cpu.cpp:775
|
||||
#, fuzzy, c-format
|
||||
msgid "Core %d"
|
||||
msgstr "Mag %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:573
|
||||
#, fuzzy, c-format
|
||||
msgid "GPU %d"
|
||||
msgstr "GPU %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:594
|
||||
#, fuzzy
|
||||
msgid "CPU"
|
||||
msgstr "CPU %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:676
|
||||
msgid "Processor Frequency Report"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:796
|
||||
#, fuzzy, c-format
|
||||
msgid "CPU %d"
|
||||
msgstr "CPU %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:997
|
||||
#, c-format
|
||||
msgid "cpu_idle event returned no state?\n"
|
||||
msgstr "a CPU üresjáratesemény nem adott vissza állapotot?\n"
|
||||
|
||||
#: src/cpu/cpu.cpp:1012
|
||||
#, c-format
|
||||
msgid "power or cpu_frequency event returned no state?\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_linux.cpp:79
|
||||
msgid "C0 polling"
|
||||
msgstr "C0 ciklikus lekérdezés"
|
||||
|
||||
#: src/cpu/cpu_linux.cpp:242
|
||||
#, c-format
|
||||
msgid " CPU(OS) %i"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:651
|
||||
#, c-format
|
||||
msgid " CPU %i"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_package.cpp:47
|
||||
#, c-format
|
||||
msgid " Pkg(HW)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_package.cpp:47
|
||||
#, c-format
|
||||
msgid " Pkg(OS)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:412
|
||||
#, c-format
|
||||
msgid " Package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/intel_cpus.cpp:129
|
||||
#, c-format
|
||||
msgid "read_msr cpu%d 0x%llx : "
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/intel_cpus.cpp:574
|
||||
msgid "C0 active"
|
||||
msgstr "C0 aktív"
|
||||
|
||||
#: src/cpu/intel_cpus.cpp:632
|
||||
#, c-format
|
||||
msgid "Average"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/intel_gpu.cpp:64
|
||||
#, fuzzy, c-format
|
||||
msgid " GPU "
|
||||
msgstr "GPU %i"
|
||||
|
||||
#: src/devices/ahci.cpp:154
|
||||
#, c-format
|
||||
msgid "SATA link: %s"
|
||||
msgstr "SATA kapcsolat: %s"
|
||||
|
||||
#: src/devices/ahci.cpp:156
|
||||
#, c-format
|
||||
msgid "SATA disk: %s"
|
||||
msgstr "SATA lemez: %s"
|
||||
|
||||
#: src/devices/ahci.cpp:374
|
||||
msgid "AHCI ALPM Residency Statistics - Not supported on this macine"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:389
|
||||
msgid "Link"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:390
|
||||
#, fuzzy
|
||||
msgid "Active"
|
||||
msgstr "C0 aktív"
|
||||
|
||||
#: src/devices/ahci.cpp:391
|
||||
msgid "Partial"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:392
|
||||
msgid "Slumber"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:393
|
||||
msgid "Devslp"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:399
|
||||
msgid "AHCI ALPM Residency Statistics"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/alsa.cpp:77
|
||||
#, c-format
|
||||
msgid "Audio codec %s: %s (%s)"
|
||||
msgstr "Hangkodek %s: %s (%s)"
|
||||
|
||||
#: src/devices/alsa.cpp:79 src/devices/alsa.cpp:81
|
||||
#, c-format
|
||||
msgid "Audio codec %s: %s"
|
||||
msgstr "Hangkodek %s: %s"
|
||||
|
||||
#: src/devices/devfreq.cpp:261
|
||||
#, fuzzy
|
||||
msgid "Device Freq stats"
|
||||
msgstr "Eszközstatisztika"
|
||||
|
||||
#: src/devices/devfreq.cpp:279
|
||||
msgid " Devfreq is not enabled"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/devfreq.cpp:284
|
||||
msgid " No devfreq devices available"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:172 src/process/do_process.cpp:831
|
||||
#, c-format
|
||||
msgid "The battery reports a discharge rate of %sW\n"
|
||||
msgstr "Az akkumulátor %sW kisülési sebességet jelent\n"
|
||||
|
||||
#: src/devices/device.cpp:174 src/process/do_process.cpp:833
|
||||
#, c-format
|
||||
msgid "The power consumed was %sJ\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:180
|
||||
#, c-format
|
||||
msgid "System baseline power is estimated at %sW\n"
|
||||
msgstr "%sW a rendszer becsült alapteljesítménye\n"
|
||||
|
||||
#: src/devices/device.cpp:187
|
||||
msgid "Power est. Usage Device name\n"
|
||||
msgstr "Becsült telj. Használat Eszköz név\n"
|
||||
|
||||
#: src/devices/device.cpp:189
|
||||
msgid " Usage Device name\n"
|
||||
msgstr " Használat Eszköz név\n"
|
||||
|
||||
#: src/devices/device.cpp:256
|
||||
#, fuzzy
|
||||
msgid "The battery reports a discharge rate of: "
|
||||
msgstr "Az akkumulátor %sW kisülési sebességet jelent\n"
|
||||
|
||||
#: src/devices/device.cpp:261
|
||||
msgid "The power consumed was : "
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:268
|
||||
#, fuzzy
|
||||
msgid "The system baseline power is estimated at: "
|
||||
msgstr "%sW a rendszer becsült alapteljesítménye\n"
|
||||
|
||||
#: src/devices/device.cpp:277 src/process/do_process.cpp:850
|
||||
#: src/process/do_process.cpp:852 src/process/do_process.cpp:926
|
||||
#: src/process/do_process.cpp:1077
|
||||
msgid "Usage"
|
||||
msgstr "Használat"
|
||||
|
||||
#: src/devices/device.cpp:278
|
||||
#, fuzzy
|
||||
msgid "Device Name"
|
||||
msgstr "Eszközstatisztika"
|
||||
|
||||
#: src/devices/device.cpp:280 src/process/do_process.cpp:935
|
||||
#: src/process/do_process.cpp:1082
|
||||
msgid "PW Estimate"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:317
|
||||
msgid "Device Power Report"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/network.cpp:177
|
||||
#, c-format
|
||||
msgid "Network interface: %s (%s)"
|
||||
msgstr "Hálózati csatoló: %s (%s)"
|
||||
|
||||
#: src/devices/rfkill.cpp:65 src/devices/rfkill.cpp:69
|
||||
#, c-format
|
||||
msgid "Radio device: %s"
|
||||
msgstr "Rádiós eszköz: %s"
|
||||
|
||||
#: src/devices/runtime_pm.cpp:216
|
||||
#, c-format
|
||||
msgid "I2C %s (%s): %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/runtime_pm.cpp:216 src/tuning/tuningi2c.cpp:57
|
||||
#: src/tuning/tuningi2c.cpp:59
|
||||
msgid "Adapter"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/runtime_pm.cpp:216 src/devlist.cpp:331
|
||||
#: src/tuning/tuningi2c.cpp:57 src/tuning/tuningi2c.cpp:59
|
||||
#, fuzzy
|
||||
msgid "Device"
|
||||
msgstr "Eszközstatisztika"
|
||||
|
||||
#: src/devices/runtime_pm.cpp:241
|
||||
#, c-format
|
||||
msgid "PCI Device: %s"
|
||||
msgstr "PCI eszköz: %s"
|
||||
|
||||
#: src/devices/usb.cpp:51 src/devices/usb.cpp:96 src/devices/usb.cpp:98
|
||||
#, c-format
|
||||
msgid "USB device: %s"
|
||||
msgstr "USB eszköz: %s"
|
||||
|
||||
#: src/devices/usb.cpp:94
|
||||
#, c-format
|
||||
msgid "USB device: %s (%s)"
|
||||
msgstr "USB eszköz: %s (%s)"
|
||||
|
||||
#: src/devlist.cpp:330
|
||||
msgid "Process"
|
||||
msgstr ""
|
||||
|
||||
#: src/devlist.cpp:347
|
||||
msgid "Process Device Activity"
|
||||
msgstr ""
|
||||
|
||||
#: src/display.cpp:70
|
||||
msgid "Overview"
|
||||
msgstr "Áttekintés"
|
||||
|
||||
#: src/display.cpp:71
|
||||
msgid "Idle stats"
|
||||
msgstr "Üresjárat-statisztika"
|
||||
|
||||
#: src/display.cpp:72
|
||||
msgid "Frequency stats"
|
||||
msgstr "Frekvenciastatisztika"
|
||||
|
||||
#: src/display.cpp:73
|
||||
msgid "Device stats"
|
||||
msgstr "Eszközstatisztika"
|
||||
|
||||
#: src/display.cpp:131
|
||||
msgid "Exit"
|
||||
msgstr "Kilépés"
|
||||
|
||||
#: src/display.cpp:132
|
||||
msgid "Navigate"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:288
|
||||
#, c-format
|
||||
msgid "%7sW"
|
||||
msgstr "%7sW"
|
||||
|
||||
#: src/lib.cpp:291
|
||||
#, c-format
|
||||
msgid " 0 mW"
|
||||
msgstr " 0 mW"
|
||||
|
||||
#: src/lib.cpp:410
|
||||
msgid "PS/2 Touchpad / Keyboard / Mouse"
|
||||
msgstr "PS/2 tapipad / billentyűzet / egér"
|
||||
|
||||
#: src/lib.cpp:411
|
||||
msgid "SATA controller"
|
||||
msgstr "SATA vezérlő"
|
||||
|
||||
#: src/lib.cpp:412
|
||||
msgid "Intel built in USB hub"
|
||||
msgstr "Beépített Intel USB hub"
|
||||
|
||||
#: src/lib.cpp:467
|
||||
#, c-format
|
||||
msgid "glob returned GLOB_NOSPACE\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:471
|
||||
#, c-format
|
||||
msgid "glob returned GLOB_ABORTED\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:475
|
||||
#, c-format
|
||||
msgid "glob returned GLOB_NOMATCH\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:513 src/lib.cpp:549
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Model-specific registers (MSR)\t\t\t not found (try enabling "
|
||||
"CONFIG_X86_MSR).\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:103
|
||||
#, fuzzy, c-format
|
||||
msgid "PowerTOP version "
|
||||
msgstr "PowerTOP verzió"
|
||||
|
||||
#: src/main.cpp:109
|
||||
msgid "Set refresh time out"
|
||||
msgstr "Frissítés időkorlát leteltének beállítása"
|
||||
|
||||
#: src/main.cpp:122
|
||||
msgid "Usage: powertop [OPTIONS]"
|
||||
msgstr "Használat: powertop [OPCIÓK]"
|
||||
|
||||
#: src/main.cpp:123
|
||||
msgid "sets all tunable options to their GOOD setting"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:124
|
||||
msgid "runs powertop in calibration mode"
|
||||
msgstr "a powertop futtatása kalibrációs módban"
|
||||
|
||||
#: src/main.cpp:125 src/main.cpp:128
|
||||
msgid "[=filename]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:125
|
||||
msgid "generate a csv report"
|
||||
msgstr "CSV jelentés készítése"
|
||||
|
||||
#: src/main.cpp:126
|
||||
msgid "run in \"debug\" mode"
|
||||
msgstr "futtatás hibakeresési módban"
|
||||
|
||||
#: src/main.cpp:127
|
||||
msgid "[=devnode]"
|
||||
msgstr "[=eszköznév]"
|
||||
|
||||
#: src/main.cpp:127
|
||||
msgid "uses an Extech Power Analyzer for measurements"
|
||||
msgstr "Extech Power Analyzer eszköz használata a mérésekhez"
|
||||
|
||||
#: src/main.cpp:128
|
||||
msgid "generate a html report"
|
||||
msgstr "HTML jelentés készítése"
|
||||
|
||||
#: src/main.cpp:129
|
||||
msgid "[=iterations] number of times to run each test"
|
||||
msgstr "[=iterációk] ennyiszer fusson le minden egyes teszt"
|
||||
|
||||
#: src/main.cpp:130
|
||||
msgid "suppress stderr output"
|
||||
msgstr "szabványos hibakimenet elnyomása"
|
||||
|
||||
#: src/main.cpp:131 src/main.cpp:132
|
||||
msgid "[=seconds]"
|
||||
msgstr "[=másodperc]"
|
||||
|
||||
#: src/main.cpp:131
|
||||
msgid "interval for power consumption measurement"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:132
|
||||
msgid "generate a report for 'x' seconds"
|
||||
msgstr "ennyi másodpercig készüljön a jelentés"
|
||||
|
||||
#: src/main.cpp:133
|
||||
msgid "[=workload]"
|
||||
msgstr "[=terhelés]"
|
||||
|
||||
#: src/main.cpp:133
|
||||
msgid "file to execute for workload"
|
||||
msgstr "végrehajtandó fájl a terheléshez"
|
||||
|
||||
#: src/main.cpp:134
|
||||
msgid "print version information"
|
||||
msgstr "verzió-információ kiíratása"
|
||||
|
||||
#: src/main.cpp:135
|
||||
msgid "print this help menu"
|
||||
msgstr "e súgó kiíratása"
|
||||
|
||||
#: src/main.cpp:137
|
||||
#, fuzzy
|
||||
msgid "For more help please refer to the 'man 8 powertop'"
|
||||
msgstr "További információk a README fájlban találhatók"
|
||||
|
||||
#: src/main.cpp:232
|
||||
#, c-format
|
||||
msgid "Unknown issue running workload!\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:289
|
||||
msgid "PowerTOP is out of memory. PowerTOP is Aborting"
|
||||
msgstr "Nincs elég memória a PowerTOP-nak. A PowerTOP futása megszakad"
|
||||
|
||||
#: src/main.cpp:297
|
||||
#, c-format
|
||||
msgid "Preparing to take measurements\n"
|
||||
msgstr "Előkészülés a mérések elvégzéséhez\n"
|
||||
|
||||
#: src/main.cpp:302
|
||||
#, c-format
|
||||
msgid "Taking %d measurement(s) for a duration of %d second(s) each.\n"
|
||||
msgstr "%d darab, egyenként %d másodperces mérés készítése.\n"
|
||||
|
||||
#: src/main.cpp:304
|
||||
#, c-format
|
||||
msgid "Measuring workload %s.\n"
|
||||
msgstr "Terhelés mérése %s.\n"
|
||||
|
||||
#: src/main.cpp:329
|
||||
#, c-format
|
||||
msgid "PowerTOP "
|
||||
msgstr "PowerTOP "
|
||||
|
||||
#: src/main.cpp:330 src/main.cpp:380
|
||||
#, c-format
|
||||
msgid "exiting...\n"
|
||||
msgstr "kilépés...\n"
|
||||
|
||||
#: src/main.cpp:364
|
||||
#, c-format
|
||||
msgid "modprobe cpufreq_stats failed"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:367
|
||||
#, c-format
|
||||
msgid "modprobe msr failed"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:379 src/main.cpp:383
|
||||
#, c-format
|
||||
msgid "Failed to mount debugfs!\n"
|
||||
msgstr "Nem tudtam csatolni a debugfs-t!\n"
|
||||
|
||||
#: src/main.cpp:384
|
||||
#, c-format
|
||||
msgid "Should still be able to auto tune...\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:466
|
||||
#, c-format
|
||||
msgid "Invalid CSV filename\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:482
|
||||
#, c-format
|
||||
msgid "Invalid HTML filename\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:491
|
||||
#, c-format
|
||||
msgid "Quiet mode failed!\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:559
|
||||
msgid "Leaving PowerTOP"
|
||||
msgstr "A PowerTOP elhagyása"
|
||||
|
||||
#: src/parameters/persistent.cpp:46 src/parameters/persistent.cpp:155
|
||||
msgid "Cannot save to file"
|
||||
msgstr "Nem lehet elmenteni a fájlba "
|
||||
|
||||
#: src/parameters/persistent.cpp:89 src/parameters/persistent.cpp:180
|
||||
msgid "Cannot load from file"
|
||||
msgstr "Nem lehet betölteni a fájlból"
|
||||
|
||||
#: src/parameters/persistent.cpp:138
|
||||
#, c-format
|
||||
msgid "Loaded %i prior measurements\n"
|
||||
msgstr "%i korábbi mérés betöltve\n"
|
||||
|
||||
#: src/parameters/persistent.cpp:181
|
||||
msgid ""
|
||||
"File will be loaded after taking minimum number of measurement(s) with "
|
||||
"battery only \n"
|
||||
msgstr ""
|
||||
|
||||
#: src/perf/perf.cpp:115
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Too many open files, please increase the limit of open file descriptors.\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/perf/perf.cpp:117
|
||||
#, c-format
|
||||
msgid "PowerTOP %s needs the kernel to support the 'perf' subsystem\n"
|
||||
msgstr ""
|
||||
"A PowerTOP %s verziójának szüksége van arra, hogy a rendszermag támogassa a "
|
||||
"„perf” alrendszert\n"
|
||||
|
||||
#: src/perf/perf.cpp:118
|
||||
#, c-format
|
||||
msgid "as well as support for trace points in the kernel:\n"
|
||||
msgstr "valamint a nyomkövetési pontokra is a rendszermagban:\n"
|
||||
|
||||
#: src/process/do_process.cpp:819
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Estimated power: %5.1f Measured power: %5.1f Sum: %5.1f\n"
|
||||
"\n"
|
||||
msgstr ""
|
||||
"Becsült teljesítmény: %5.1f Mért teljesítmény: %5.1f Összeg: %5.1f\n"
|
||||
"\n"
|
||||
|
||||
#: src/process/do_process.cpp:838
|
||||
#, c-format
|
||||
msgid "The estimated remaining time is %i hours, %i minutes\n"
|
||||
msgstr "Becsült hátralévő idő %i óra %i perc\n"
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "Summary"
|
||||
msgstr "Összefoglalás"
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "wakeups/second"
|
||||
msgstr "felébredés/másodperc"
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "GPU ops/seconds"
|
||||
msgstr "GPU művelet/másodperc"
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "VFS ops/sec and"
|
||||
msgstr "VFS művelet/másodperc"
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "CPU use"
|
||||
msgstr "CPU használtság"
|
||||
|
||||
#: src/process/do_process.cpp:850
|
||||
msgid "Power est."
|
||||
msgstr "Becsült telj."
|
||||
|
||||
#: src/process/do_process.cpp:850 src/process/do_process.cpp:852
|
||||
#: src/process/do_process.cpp:1078
|
||||
msgid "Events/s"
|
||||
msgstr "Esemény/s"
|
||||
|
||||
#: src/process/do_process.cpp:850 src/process/do_process.cpp:852
|
||||
#: src/process/do_process.cpp:931 src/process/do_process.cpp:1079
|
||||
msgid "Category"
|
||||
msgstr "Kategória"
|
||||
|
||||
#: src/process/do_process.cpp:850 src/process/do_process.cpp:852
|
||||
#: src/process/do_process.cpp:932 src/process/do_process.cpp:1080
|
||||
#: src/tuning/tuning.cpp:242 src/tuning/tuning.cpp:270
|
||||
#: src/tuning/tuning.cpp:288 src/wakeup/waketab.cpp:155
|
||||
msgid "Description"
|
||||
msgstr "Leírás"
|
||||
|
||||
#: src/process/do_process.cpp:927
|
||||
msgid "Wakeups/s"
|
||||
msgstr "Felébredés/s"
|
||||
|
||||
#: src/process/do_process.cpp:928
|
||||
msgid "GPU ops/s"
|
||||
msgstr "GPU művelet/s"
|
||||
|
||||
#: src/process/do_process.cpp:929
|
||||
msgid "Disk IO/s"
|
||||
msgstr "Lemez BK/s"
|
||||
|
||||
#: src/process/do_process.cpp:930
|
||||
msgid "GFX Wakeups/s"
|
||||
msgstr "GFX felébredés/s"
|
||||
|
||||
#: src/process/do_process.cpp:1017
|
||||
msgid "Overview of Software Power Consumers"
|
||||
msgstr "Szofver teljesítményfogyasztók áttekintése"
|
||||
|
||||
#: src/process/do_process.cpp:1057
|
||||
msgid "Target:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1058
|
||||
msgid "1 units/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1059
|
||||
msgid "System: "
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1061
|
||||
#, fuzzy
|
||||
msgid " wakeup/s"
|
||||
msgstr "Felébredés/s"
|
||||
|
||||
#: src/process/do_process.cpp:1062
|
||||
msgid "CPU: "
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1064
|
||||
#, fuzzy, c-format
|
||||
msgid "% usage"
|
||||
msgstr "Használat"
|
||||
|
||||
#: src/process/do_process.cpp:1065
|
||||
msgid "GPU:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1067 src/process/do_process.cpp:1073
|
||||
#, fuzzy
|
||||
msgid " ops/s"
|
||||
msgstr "GPU művelet/s"
|
||||
|
||||
#: src/process/do_process.cpp:1068
|
||||
msgid "GFX:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1070
|
||||
#, fuzzy
|
||||
msgid " wakeups/s"
|
||||
msgstr "Felébredés/s"
|
||||
|
||||
#: src/process/do_process.cpp:1071
|
||||
msgid "VFS:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1139
|
||||
#, fuzzy
|
||||
msgid "Top 10 Power Consumers"
|
||||
msgstr "Szofver teljesítményfogyasztók áttekintése"
|
||||
|
||||
#: src/report/report.cpp:122
|
||||
#, fuzzy
|
||||
msgid "PowerTOP Version"
|
||||
msgstr "PowerTOP verzió"
|
||||
|
||||
#: src/report/report.cpp:131
|
||||
#, fuzzy
|
||||
msgid "Kernel Version"
|
||||
msgstr "PowerTOP verzió"
|
||||
|
||||
#: src/report/report.cpp:135
|
||||
msgid "System Name"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:142
|
||||
msgid "CPU Information"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:154
|
||||
msgid "OS Information"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:161
|
||||
#, fuzzy
|
||||
msgid "System Information"
|
||||
msgstr "verzió-információ kiíratása"
|
||||
|
||||
#: src/report/report.cpp:195
|
||||
#, fuzzy, c-format
|
||||
msgid "Cannot open output file %s (%s)\n"
|
||||
msgstr "Nem tudok létrehozni ideiglenes fájlt\n"
|
||||
|
||||
#: src/report/report.cpp:211
|
||||
#, c-format
|
||||
msgid "PowerTOP outputing using base filename %s\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/bluetooth.cpp:46 src/tuning/ethernet.cpp:50
|
||||
#: src/tuning/runtime.cpp:42 src/tuning/tunable.cpp:49
|
||||
#: src/tuning/tuningi2c.cpp:35 src/tuning/tuningsysfs.cpp:45
|
||||
#: src/tuning/tuningusb.cpp:39 src/tuning/wifi.cpp:45
|
||||
msgid "Good"
|
||||
msgstr "Jó"
|
||||
|
||||
#: src/tuning/bluetooth.cpp:46 src/tuning/ethernet.cpp:50
|
||||
#: src/tuning/runtime.cpp:42 src/tuning/tunable.cpp:50
|
||||
#: src/tuning/tuningi2c.cpp:35 src/tuning/tuningsysfs.cpp:45
|
||||
#: src/tuning/tuningusb.cpp:39 src/tuning/wifi.cpp:45
|
||||
msgid "Bad"
|
||||
msgstr "Rossz"
|
||||
|
||||
#: src/tuning/bluetooth.cpp:46 src/tuning/ethernet.cpp:50
|
||||
#: src/tuning/runtime.cpp:42 src/tuning/tunable.cpp:51
|
||||
#: src/tuning/tuningi2c.cpp:35 src/tuning/tuningsysfs.cpp:45
|
||||
#: src/tuning/tuningusb.cpp:39 src/tuning/wifi.cpp:45 src/wakeup/wakeup.cpp:50
|
||||
msgid "Unknown"
|
||||
msgstr "Ismeretlen"
|
||||
|
||||
#: src/tuning/bluetooth.cpp:48
|
||||
#, c-format
|
||||
msgid "Bluetooth device interface status"
|
||||
msgstr "Bluetooth eszközcsatoló állapota"
|
||||
|
||||
#: src/tuning/ethernet.cpp:54 src/wakeup/wakeup_ethernet.cpp:51
|
||||
#, c-format
|
||||
msgid "Wake-on-lan status for device %s"
|
||||
msgstr "Felébredés hálózati eseményre (wake-on-lan) állapot a(z) %s eszközön"
|
||||
|
||||
#: src/tuning/runtime.cpp:48
|
||||
#, c-format
|
||||
msgid "Runtime PM for %s device %s"
|
||||
msgstr "Futásidejű energiagazdálkodás a(z) %s buszon és %s eszközön"
|
||||
|
||||
#: src/tuning/runtime.cpp:50
|
||||
#, c-format
|
||||
msgid "%s device %s has no runtime power management"
|
||||
msgstr "A(z) %s busz %s eszközének nincs futásidejű energiagazdálkodása"
|
||||
|
||||
#: src/tuning/runtime.cpp:74
|
||||
#, c-format
|
||||
msgid "PCI Device %s has no runtime power management"
|
||||
msgstr "A(z) %s PCI eszköznek nincs futásidejű energiagazdálkodása"
|
||||
|
||||
#: src/tuning/runtime.cpp:76
|
||||
#, c-format
|
||||
msgid "Runtime PM for PCI Device %s"
|
||||
msgstr "Futásidejű energiagazdálkodás a(z) %s PCI eszközön"
|
||||
|
||||
#: src/tuning/tuning.cpp:62
|
||||
msgid "Enable Audio codec power management"
|
||||
msgstr "A hang kodek energiagazdálkodásának engedélyezése"
|
||||
|
||||
#: src/tuning/tuning.cpp:63
|
||||
msgid "NMI watchdog should be turned off"
|
||||
msgstr "NMI felügyeletnek (watchdog) kikapcsolva kellene lennie"
|
||||
|
||||
#: src/tuning/tuning.cpp:64
|
||||
msgid "Power Aware CPU scheduler"
|
||||
msgstr "Teljesítményt figyelembevevő CPU ütemező"
|
||||
|
||||
#: src/tuning/tuning.cpp:65
|
||||
msgid "VM writeback timeout"
|
||||
msgstr "VM visszaírás időtúllépése"
|
||||
|
||||
#: src/tuning/tuning.cpp:81
|
||||
msgid "Tunables"
|
||||
msgstr "Hangolások"
|
||||
|
||||
#: src/tuning/tuning.cpp:81
|
||||
msgid " <ESC> Exit | <Enter> Toggle tunable | <r> Window refresh"
|
||||
msgstr " <ESC> Kilépés | <Enter> Hangolás átkapcsolása | <r> Ablak frissítése"
|
||||
|
||||
#: src/tuning/tuning.cpp:243 src/wakeup/waketab.cpp:156
|
||||
msgid "Script"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:257
|
||||
msgid "Software Settings in Need of Tuning"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:276
|
||||
msgid "Untunable Software Issues"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:300
|
||||
msgid "Optimal Tuned Software Settings"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuningi2c.cpp:57
|
||||
#, fuzzy, c-format
|
||||
msgid "Runtime PM for I2C %s %s (%s)"
|
||||
msgstr "Futásidejű energiagazdálkodás a(z) %s buszon és %s eszközön"
|
||||
|
||||
#: src/tuning/tuningi2c.cpp:59
|
||||
#, fuzzy, c-format
|
||||
msgid "I2C %s %s has no runtime power management"
|
||||
msgstr "A(z) %s busz %s eszközének nincs futásidejű energiagazdálkodása"
|
||||
|
||||
#: src/tuning/tuningsysfs.cpp:123
|
||||
#, fuzzy, c-format
|
||||
msgid "Enable SATA link power management for %s"
|
||||
msgstr "SATA link energiaszabályozás engedélyezése %s számára"
|
||||
|
||||
#: src/tuning/tuningusb.cpp:54
|
||||
#, c-format
|
||||
msgid "Autosuspend for unknown USB device %s (%s:%s)"
|
||||
msgstr "Automatikus felfüggesztés a(z) %s (%s:%s) ismeretlen USB eszközön"
|
||||
|
||||
#: src/tuning/tuningusb.cpp:71 src/tuning/tuningusb.cpp:73
|
||||
#: src/tuning/tuningusb.cpp:75
|
||||
#, c-format
|
||||
msgid "Autosuspend for USB device %s [%s]"
|
||||
msgstr "Automatikus felfüggesztés a(z) %s [%s] USB eszközön"
|
||||
|
||||
#: src/tuning/wifi.cpp:48
|
||||
#, c-format
|
||||
msgid "Wireless Power Saving for interface %s"
|
||||
msgstr "Vezeték nélküli teljesítménymegtakarítás a(z) %s illesztőegységen"
|
||||
|
||||
#: src/wakeup/waketab.cpp:42
|
||||
#, fuzzy
|
||||
msgid "WakeUp"
|
||||
msgstr "Felébredés/s"
|
||||
|
||||
#: src/wakeup/waketab.cpp:42
|
||||
#, fuzzy
|
||||
msgid " <ESC> Exit | <Enter> Toggle wakeup | <r> Window refresh"
|
||||
msgstr " <ESC> Kilépés | <Enter> Hangolás átkapcsolása | <r> Ablak frissítése"
|
||||
|
||||
#: src/wakeup/waketab.cpp:170
|
||||
#, fuzzy
|
||||
msgid "Wake status of the devices"
|
||||
msgstr "Felébredés hálózati eseményre (wake-on-lan) állapot a(z) %s eszközön"
|
||||
|
||||
#: src/wakeup/wakeup.cpp:48 src/wakeup/wakeup_ethernet.cpp:47
|
||||
#: src/wakeup/wakeup_usb.cpp:47
|
||||
#, fuzzy
|
||||
msgid "Enable"
|
||||
msgstr "Hangolások"
|
||||
|
||||
#: src/wakeup/wakeup.cpp:49 src/wakeup/wakeup_ethernet.cpp:47
|
||||
#: src/wakeup/wakeup_usb.cpp:47
|
||||
msgid "Disable"
|
||||
msgstr ""
|
||||
|
||||
#: src/wakeup/wakeup_usb.cpp:51
|
||||
#, fuzzy, c-format
|
||||
msgid "Wake status for USB device %s"
|
||||
msgstr "Felébredés hálózati eseményre (wake-on-lan) állapot a(z) %s eszközön"
|
||||
|
||||
#~ msgid "Actual"
|
||||
#~ msgstr "Aktuális"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "I2C Device: %s"
|
||||
#~ msgstr "PCI eszköz: %s"
|
||||
|
||||
#~ msgid "[=FILENAME]"
|
||||
#~ msgstr "[=FÁJLNÉV]"
|
||||
|
||||
#~ msgid "Using 'ondemand' cpufreq governor"
|
||||
#~ msgstr "Igény szerinti (ondemand) cpufreq vezérlő használata"
|
||||
|
||||
#~ msgid "Power Consumption Summary"
|
||||
#~ msgstr "Teljesítményfelvétel összefoglaló"
|
||||
|
||||
#~ msgid "GPU ops/second"
|
||||
#~ msgstr "GPU művelet/másodperc"
|
||||
|
||||
#~ msgid "VFS ops/sec"
|
||||
#~ msgstr "VFS művelet/mp"
|
||||
|
||||
#~ msgid "GFX wakes/sec and"
|
||||
#~ msgstr "GFX felébredés/mp és"
|
||||
BIN
powertop-v2.10/po/id_ID.gmo
Normal file
BIN
powertop-v2.10/po/id_ID.gmo
Normal file
Binary file not shown.
987
powertop-v2.10/po/id_ID.po
Normal file
987
powertop-v2.10/po/id_ID.po
Normal file
@ -0,0 +1,987 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR Intel Corporation
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
#
|
||||
# Translators:
|
||||
# Andika Triwidada <andika@gmail.com>, 2012-2013
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PowerTOP\n"
|
||||
"Report-Msgid-Bugs-To: \"powertop@lists.01.org\"\n"
|
||||
"POT-Creation-Date: 2019-01-04 16:21-0800\n"
|
||||
"PO-Revision-Date: 2013-11-05 08:40+0000\n"
|
||||
"Last-Translator: Margie Foster <margie@linux.intel.com>\n"
|
||||
"Language-Team: Indonesian (Indonesia) (http://www.transifex.com/projects/p/"
|
||||
"PowerTOP/language/id_ID/)\n"
|
||||
"Language: id_ID\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:238
|
||||
#, c-format
|
||||
msgid "Cannot create temp file\n"
|
||||
msgstr "Tak bisa membuat berkas temp\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:258
|
||||
#, c-format
|
||||
msgid "Calibrating: CPU usage on %i threads\n"
|
||||
msgstr "Kalibrasi: Pemakaian CPU pada %i thread \n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:273
|
||||
#, c-format
|
||||
msgid "Calibrating: CPU wakeup power consumption\n"
|
||||
msgstr "Kalibrasi: Konsumsi daya CPU bangun \n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:290
|
||||
#, c-format
|
||||
msgid "Calibrating USB devices\n"
|
||||
msgstr "Kalibrasi perangkat USB \n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:292 src/calibrate/calibrate.cpp:309
|
||||
#: src/calibrate/calibrate.cpp:317 src/calibrate/calibrate.cpp:334
|
||||
#, c-format
|
||||
msgid ".... device %s \n"
|
||||
msgstr ".... perangkat %s \n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:307
|
||||
#, c-format
|
||||
msgid "Calibrating radio devices\n"
|
||||
msgstr "Kalibrasi perangkat radio \n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:331
|
||||
#, c-format
|
||||
msgid "Calibrating backlight\n"
|
||||
msgstr "Kalibrasi cahaya latar \n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:355 src/calibrate/calibrate.cpp:365
|
||||
#, c-format
|
||||
msgid "Calibrating idle\n"
|
||||
msgstr "Kalibrasi menganggur \n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:378
|
||||
#, c-format
|
||||
msgid "Calibrating: disk usage \n"
|
||||
msgstr "Kalibrasi: pemakaian disk \n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:403
|
||||
msgid "Starting PowerTOP power estimate calibration \n"
|
||||
msgstr "Memulai kalibrasi estimasi daya PowerTop \n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:426
|
||||
msgid "Finishing PowerTOP power estimate calibration \n"
|
||||
msgstr "Mengakhiri kalibrasi estimasi daya PowerTop \n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:430
|
||||
#, c-format
|
||||
msgid "Parameters after calibration:\n"
|
||||
msgstr "Parameter setelah kalibrasi:\n"
|
||||
|
||||
#: src/cpu/abstract_cpu.cpp:74
|
||||
msgid "Idle"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/abstract_cpu.cpp:76
|
||||
msgid "Turbo Mode"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_core.cpp:37
|
||||
#, fuzzy, c-format
|
||||
msgid " Core(HW)"
|
||||
msgstr " Core"
|
||||
|
||||
#: src/cpu/cpu_core.cpp:37
|
||||
#, fuzzy, c-format
|
||||
msgid " Core(OS)"
|
||||
msgstr " Core"
|
||||
|
||||
#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:324
|
||||
#, c-format
|
||||
msgid " Core"
|
||||
msgstr " Core"
|
||||
|
||||
#: src/cpu/cpu.cpp:85
|
||||
#, c-format
|
||||
msgid "cpu package %i"
|
||||
msgstr "paket %i cpu"
|
||||
|
||||
#: src/cpu/cpu.cpp:86
|
||||
msgid "cpu package"
|
||||
msgstr "paket cpu"
|
||||
|
||||
#: src/cpu/cpu.cpp:89 src/cpu/cpu.cpp:96
|
||||
#, fuzzy, c-format
|
||||
msgid "package-%i"
|
||||
msgstr "Paket %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:90
|
||||
msgid "cpu rapl package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:97
|
||||
msgid "dram rapl package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:471
|
||||
msgid "Processor Idle State Report"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:535 src/cpu/cpu.cpp:753
|
||||
msgid "Package"
|
||||
msgstr "Paket"
|
||||
|
||||
#: src/cpu/cpu.cpp:566 src/cpu/cpu.cpp:775
|
||||
#, fuzzy, c-format
|
||||
msgid "Core %d"
|
||||
msgstr "Core %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:573
|
||||
#, fuzzy, c-format
|
||||
msgid "GPU %d"
|
||||
msgstr "GPU %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:594
|
||||
#, fuzzy
|
||||
msgid "CPU"
|
||||
msgstr "CPU %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:676
|
||||
msgid "Processor Frequency Report"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:796
|
||||
#, fuzzy, c-format
|
||||
msgid "CPU %d"
|
||||
msgstr "CPU %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:997
|
||||
#, c-format
|
||||
msgid "cpu_idle event returned no state?\n"
|
||||
msgstr "kejadian cpu_idle tak mengembalikan keadaan?\n"
|
||||
|
||||
#: src/cpu/cpu.cpp:1012
|
||||
#, c-format
|
||||
msgid "power or cpu_frequency event returned no state?\n"
|
||||
msgstr "kejadian power atau cpu_frequency tak mengembalikan keadaan?\n"
|
||||
|
||||
#: src/cpu/cpu_linux.cpp:79
|
||||
msgid "C0 polling"
|
||||
msgstr "C0 polling"
|
||||
|
||||
#: src/cpu/cpu_linux.cpp:242
|
||||
#, fuzzy, c-format
|
||||
msgid " CPU(OS) %i"
|
||||
msgstr " CPU %i"
|
||||
|
||||
#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:651
|
||||
#, c-format
|
||||
msgid " CPU %i"
|
||||
msgstr " CPU %i"
|
||||
|
||||
#: src/cpu/cpu_package.cpp:47
|
||||
#, c-format
|
||||
msgid " Pkg(HW)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_package.cpp:47
|
||||
#, c-format
|
||||
msgid " Pkg(OS)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:412
|
||||
#, c-format
|
||||
msgid " Package"
|
||||
msgstr "Paket"
|
||||
|
||||
#: src/cpu/intel_cpus.cpp:129
|
||||
#, c-format
|
||||
msgid "read_msr cpu%d 0x%llx : "
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/intel_cpus.cpp:574
|
||||
msgid "C0 active"
|
||||
msgstr "C0 aktif"
|
||||
|
||||
#: src/cpu/intel_cpus.cpp:632
|
||||
#, c-format
|
||||
msgid "Average"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/intel_gpu.cpp:64
|
||||
#, fuzzy, c-format
|
||||
msgid " GPU "
|
||||
msgstr "GPU %i"
|
||||
|
||||
#: src/devices/ahci.cpp:154
|
||||
#, c-format
|
||||
msgid "SATA link: %s"
|
||||
msgstr "Link SATA: %s"
|
||||
|
||||
#: src/devices/ahci.cpp:156
|
||||
#, c-format
|
||||
msgid "SATA disk: %s"
|
||||
msgstr "Disk SATA: %s"
|
||||
|
||||
#: src/devices/ahci.cpp:374
|
||||
msgid "AHCI ALPM Residency Statistics - Not supported on this macine"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:389
|
||||
msgid "Link"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:390
|
||||
#, fuzzy
|
||||
msgid "Active"
|
||||
msgstr "C0 aktif"
|
||||
|
||||
#: src/devices/ahci.cpp:391
|
||||
msgid "Partial"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:392
|
||||
msgid "Slumber"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:393
|
||||
msgid "Devslp"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:399
|
||||
msgid "AHCI ALPM Residency Statistics"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/alsa.cpp:77
|
||||
#, c-format
|
||||
msgid "Audio codec %s: %s (%s)"
|
||||
msgstr "Codec audio %s: %s (%s)"
|
||||
|
||||
#: src/devices/alsa.cpp:79 src/devices/alsa.cpp:81
|
||||
#, c-format
|
||||
msgid "Audio codec %s: %s"
|
||||
msgstr "Codec audio %s: %s"
|
||||
|
||||
#: src/devices/devfreq.cpp:261
|
||||
#, fuzzy
|
||||
msgid "Device Freq stats"
|
||||
msgstr "Stat perangkat"
|
||||
|
||||
#: src/devices/devfreq.cpp:279
|
||||
msgid " Devfreq is not enabled"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/devfreq.cpp:284
|
||||
msgid " No devfreq devices available"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:172 src/process/do_process.cpp:831
|
||||
#, c-format
|
||||
msgid "The battery reports a discharge rate of %sW\n"
|
||||
msgstr "Baterai melaporkan laju pengosongan %sW\n"
|
||||
|
||||
#: src/devices/device.cpp:174 src/process/do_process.cpp:833
|
||||
#, c-format
|
||||
msgid "The power consumed was %sJ\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:180
|
||||
#, c-format
|
||||
msgid "System baseline power is estimated at %sW\n"
|
||||
msgstr "Daya baseline sistem diperkirakan %sW\n"
|
||||
|
||||
#: src/devices/device.cpp:187
|
||||
msgid "Power est. Usage Device name\n"
|
||||
msgstr "Est. daya Pakai Nama perangkat\n"
|
||||
|
||||
#: src/devices/device.cpp:189
|
||||
msgid " Usage Device name\n"
|
||||
msgstr " Pakai Nama perangkat\n"
|
||||
|
||||
#: src/devices/device.cpp:256
|
||||
#, fuzzy
|
||||
msgid "The battery reports a discharge rate of: "
|
||||
msgstr "Baterai melaporkan laju pengosongan %sW\n"
|
||||
|
||||
#: src/devices/device.cpp:261
|
||||
msgid "The power consumed was : "
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:268
|
||||
#, fuzzy
|
||||
msgid "The system baseline power is estimated at: "
|
||||
msgstr "Daya baseline sistem diperkirakan %sW\n"
|
||||
|
||||
#: src/devices/device.cpp:277 src/process/do_process.cpp:850
|
||||
#: src/process/do_process.cpp:852 src/process/do_process.cpp:926
|
||||
#: src/process/do_process.cpp:1077
|
||||
msgid "Usage"
|
||||
msgstr "Pakai"
|
||||
|
||||
#: src/devices/device.cpp:278
|
||||
#, fuzzy
|
||||
msgid "Device Name"
|
||||
msgstr "Stat perangkat"
|
||||
|
||||
#: src/devices/device.cpp:280 src/process/do_process.cpp:935
|
||||
#: src/process/do_process.cpp:1082
|
||||
msgid "PW Estimate"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:317
|
||||
msgid "Device Power Report"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/network.cpp:177
|
||||
#, c-format
|
||||
msgid "Network interface: %s (%s)"
|
||||
msgstr "Antarmuka jaringa: %s (%s)"
|
||||
|
||||
#: src/devices/rfkill.cpp:65 src/devices/rfkill.cpp:69
|
||||
#, c-format
|
||||
msgid "Radio device: %s"
|
||||
msgstr "Perangkat radio: %s"
|
||||
|
||||
#: src/devices/runtime_pm.cpp:216
|
||||
#, c-format
|
||||
msgid "I2C %s (%s): %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/runtime_pm.cpp:216 src/tuning/tuningi2c.cpp:57
|
||||
#: src/tuning/tuningi2c.cpp:59
|
||||
msgid "Adapter"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/runtime_pm.cpp:216 src/devlist.cpp:331
|
||||
#: src/tuning/tuningi2c.cpp:57 src/tuning/tuningi2c.cpp:59
|
||||
#, fuzzy
|
||||
msgid "Device"
|
||||
msgstr "Stat perangkat"
|
||||
|
||||
#: src/devices/runtime_pm.cpp:241
|
||||
#, c-format
|
||||
msgid "PCI Device: %s"
|
||||
msgstr "Perangkat PCI: %s"
|
||||
|
||||
#: src/devices/usb.cpp:51 src/devices/usb.cpp:96 src/devices/usb.cpp:98
|
||||
#, c-format
|
||||
msgid "USB device: %s"
|
||||
msgstr "Perangkat USB: %s"
|
||||
|
||||
#: src/devices/usb.cpp:94
|
||||
#, c-format
|
||||
msgid "USB device: %s (%s)"
|
||||
msgstr "Perangkat USB: %s (%s)"
|
||||
|
||||
#: src/devlist.cpp:330
|
||||
msgid "Process"
|
||||
msgstr ""
|
||||
|
||||
#: src/devlist.cpp:347
|
||||
msgid "Process Device Activity"
|
||||
msgstr ""
|
||||
|
||||
#: src/display.cpp:70
|
||||
msgid "Overview"
|
||||
msgstr "Ringkasan"
|
||||
|
||||
#: src/display.cpp:71
|
||||
msgid "Idle stats"
|
||||
msgstr "Stat menganggur"
|
||||
|
||||
#: src/display.cpp:72
|
||||
msgid "Frequency stats"
|
||||
msgstr "Stat frekuensi"
|
||||
|
||||
#: src/display.cpp:73
|
||||
msgid "Device stats"
|
||||
msgstr "Stat perangkat"
|
||||
|
||||
#: src/display.cpp:131
|
||||
msgid "Exit"
|
||||
msgstr "Keluar"
|
||||
|
||||
#: src/display.cpp:132
|
||||
msgid "Navigate"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:288
|
||||
#, c-format
|
||||
msgid "%7sW"
|
||||
msgstr "%7sW"
|
||||
|
||||
#: src/lib.cpp:291
|
||||
#, c-format
|
||||
msgid " 0 mW"
|
||||
msgstr " 0 mW"
|
||||
|
||||
#: src/lib.cpp:410
|
||||
msgid "PS/2 Touchpad / Keyboard / Mouse"
|
||||
msgstr "PS/2 Touchpad / Keyboard / Mouse"
|
||||
|
||||
#: src/lib.cpp:411
|
||||
msgid "SATA controller"
|
||||
msgstr "Pengendali SATA"
|
||||
|
||||
#: src/lib.cpp:412
|
||||
msgid "Intel built in USB hub"
|
||||
msgstr "Hub USB built in Intel"
|
||||
|
||||
#: src/lib.cpp:467
|
||||
#, c-format
|
||||
msgid "glob returned GLOB_NOSPACE\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:471
|
||||
#, c-format
|
||||
msgid "glob returned GLOB_ABORTED\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:475
|
||||
#, c-format
|
||||
msgid "glob returned GLOB_NOMATCH\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:513 src/lib.cpp:549
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Model-specific registers (MSR)\t\t\t not found (try enabling "
|
||||
"CONFIG_X86_MSR).\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:103
|
||||
#, fuzzy, c-format
|
||||
msgid "PowerTOP version "
|
||||
msgstr "PowerTop versi"
|
||||
|
||||
#: src/main.cpp:109
|
||||
msgid "Set refresh time out"
|
||||
msgstr "Tata tenggang waktu penyegaran"
|
||||
|
||||
#: src/main.cpp:122
|
||||
msgid "Usage: powertop [OPTIONS]"
|
||||
msgstr "Cara pakai: powertop [OPSI]"
|
||||
|
||||
#: src/main.cpp:123
|
||||
msgid "sets all tunable options to their GOOD setting"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:124
|
||||
msgid "runs powertop in calibration mode"
|
||||
msgstr "jalankan powertop dalam mode kalibrasi"
|
||||
|
||||
#: src/main.cpp:125 src/main.cpp:128
|
||||
msgid "[=filename]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:125
|
||||
msgid "generate a csv report"
|
||||
msgstr "buat laporan csv"
|
||||
|
||||
#: src/main.cpp:126
|
||||
msgid "run in \"debug\" mode"
|
||||
msgstr "jalankan dalam mode \"debug\""
|
||||
|
||||
#: src/main.cpp:127
|
||||
msgid "[=devnode]"
|
||||
msgstr "[=devnode]"
|
||||
|
||||
#: src/main.cpp:127
|
||||
msgid "uses an Extech Power Analyzer for measurements"
|
||||
msgstr "pakai Extech Power Analyzer untuk pengukuran"
|
||||
|
||||
#: src/main.cpp:128
|
||||
msgid "generate a html report"
|
||||
msgstr "buat laporan html"
|
||||
|
||||
#: src/main.cpp:129
|
||||
msgid "[=iterations] number of times to run each test"
|
||||
msgstr "[=iterasi] berapa kali menjalankan tiap tes"
|
||||
|
||||
#: src/main.cpp:130
|
||||
msgid "suppress stderr output"
|
||||
msgstr "redam keluaran stderr"
|
||||
|
||||
#: src/main.cpp:131 src/main.cpp:132
|
||||
msgid "[=seconds]"
|
||||
msgstr "[=detik]"
|
||||
|
||||
#: src/main.cpp:131
|
||||
msgid "interval for power consumption measurement"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:132
|
||||
msgid "generate a report for 'x' seconds"
|
||||
msgstr "buat laporan untuk 'x' detik"
|
||||
|
||||
#: src/main.cpp:133
|
||||
msgid "[=workload]"
|
||||
msgstr "[=beban kerja]"
|
||||
|
||||
#: src/main.cpp:133
|
||||
msgid "file to execute for workload"
|
||||
msgstr "berkas yang akan dieksekusi untuk beban kerja"
|
||||
|
||||
#: src/main.cpp:134
|
||||
msgid "print version information"
|
||||
msgstr "cetak informasi versi"
|
||||
|
||||
#: src/main.cpp:135
|
||||
msgid "print this help menu"
|
||||
msgstr "cetik menu bantuan ini"
|
||||
|
||||
#: src/main.cpp:137
|
||||
#, fuzzy
|
||||
msgid "For more help please refer to the 'man 8 powertop'"
|
||||
msgstr "Untuk bantuan lebih lanjut lihatlah README"
|
||||
|
||||
#: src/main.cpp:232
|
||||
#, c-format
|
||||
msgid "Unknown issue running workload!\n"
|
||||
msgstr "Masalah tak dikenal saat menjalankan beban!\n"
|
||||
|
||||
#: src/main.cpp:289
|
||||
msgid "PowerTOP is out of memory. PowerTOP is Aborting"
|
||||
msgstr "PowerTop kehabisan memori. PowerTop digugurkan."
|
||||
|
||||
#: src/main.cpp:297
|
||||
#, c-format
|
||||
msgid "Preparing to take measurements\n"
|
||||
msgstr "Bersiap melakukan pengkukuran\n"
|
||||
|
||||
#: src/main.cpp:302
|
||||
#, c-format
|
||||
msgid "Taking %d measurement(s) for a duration of %d second(s) each.\n"
|
||||
msgstr "Melakukan %d pengukuran selama masing-masing %d detik.\n"
|
||||
|
||||
#: src/main.cpp:304
|
||||
#, c-format
|
||||
msgid "Measuring workload %s.\n"
|
||||
msgstr "Mengukur beban kerja %s.\n"
|
||||
|
||||
#: src/main.cpp:329
|
||||
#, c-format
|
||||
msgid "PowerTOP "
|
||||
msgstr "PowerTOP "
|
||||
|
||||
#: src/main.cpp:330 src/main.cpp:380
|
||||
#, c-format
|
||||
msgid "exiting...\n"
|
||||
msgstr "keluar...\n"
|
||||
|
||||
#: src/main.cpp:364
|
||||
#, c-format
|
||||
msgid "modprobe cpufreq_stats failed"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:367
|
||||
#, c-format
|
||||
msgid "modprobe msr failed"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:379 src/main.cpp:383
|
||||
#, c-format
|
||||
msgid "Failed to mount debugfs!\n"
|
||||
msgstr "Gagal mengait debugfs!\n"
|
||||
|
||||
#: src/main.cpp:384
|
||||
#, c-format
|
||||
msgid "Should still be able to auto tune...\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:466
|
||||
#, c-format
|
||||
msgid "Invalid CSV filename\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:482
|
||||
#, c-format
|
||||
msgid "Invalid HTML filename\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:491
|
||||
#, fuzzy, c-format
|
||||
msgid "Quiet mode failed!\n"
|
||||
msgstr "Mode hening gagal!\n"
|
||||
|
||||
#: src/main.cpp:559
|
||||
msgid "Leaving PowerTOP"
|
||||
msgstr "Meninggalkan PowerTop"
|
||||
|
||||
#: src/parameters/persistent.cpp:46 src/parameters/persistent.cpp:155
|
||||
msgid "Cannot save to file"
|
||||
msgstr "Tak bisa menyimpan ke berkas"
|
||||
|
||||
#: src/parameters/persistent.cpp:89 src/parameters/persistent.cpp:180
|
||||
msgid "Cannot load from file"
|
||||
msgstr "Tak bisa memuat dari berkas"
|
||||
|
||||
#: src/parameters/persistent.cpp:138
|
||||
#, c-format
|
||||
msgid "Loaded %i prior measurements\n"
|
||||
msgstr "Dimuat %i pengukuran sebelumnya\n"
|
||||
|
||||
#: src/parameters/persistent.cpp:181
|
||||
msgid ""
|
||||
"File will be loaded after taking minimum number of measurement(s) with "
|
||||
"battery only \n"
|
||||
msgstr ""
|
||||
|
||||
#: src/perf/perf.cpp:115
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Too many open files, please increase the limit of open file descriptors.\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/perf/perf.cpp:117
|
||||
#, c-format
|
||||
msgid "PowerTOP %s needs the kernel to support the 'perf' subsystem\n"
|
||||
msgstr "PowerTop %s memerlukan kernel yang mendukung subsistem 'perf'\n"
|
||||
|
||||
#: src/perf/perf.cpp:118
|
||||
#, c-format
|
||||
msgid "as well as support for trace points in the kernel:\n"
|
||||
msgstr "dan juga dukungan trace point dalam kernel:\n"
|
||||
|
||||
#: src/process/do_process.cpp:819
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Estimated power: %5.1f Measured power: %5.1f Sum: %5.1f\n"
|
||||
"\n"
|
||||
msgstr ""
|
||||
"Perkiraan daya: %5.1f Daya terukur: %5.1f Jumlah: %5.1f\n"
|
||||
"\n"
|
||||
|
||||
#: src/process/do_process.cpp:838
|
||||
#, c-format
|
||||
msgid "The estimated remaining time is %i hours, %i minutes\n"
|
||||
msgstr "Perkiraan sisa waktu adalah %i jam, %i menit\n"
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "Summary"
|
||||
msgstr "Ringkasan"
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "wakeups/second"
|
||||
msgstr "bangun/detik"
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "GPU ops/seconds"
|
||||
msgstr "op GPU/detik"
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "VFS ops/sec and"
|
||||
msgstr "op VFS/detik"
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "CPU use"
|
||||
msgstr "pakai CPU"
|
||||
|
||||
#: src/process/do_process.cpp:850
|
||||
msgid "Power est."
|
||||
msgstr "Est. daya"
|
||||
|
||||
#: src/process/do_process.cpp:850 src/process/do_process.cpp:852
|
||||
#: src/process/do_process.cpp:1078
|
||||
msgid "Events/s"
|
||||
msgstr "Kejadian/d"
|
||||
|
||||
#: src/process/do_process.cpp:850 src/process/do_process.cpp:852
|
||||
#: src/process/do_process.cpp:931 src/process/do_process.cpp:1079
|
||||
msgid "Category"
|
||||
msgstr "Kategori"
|
||||
|
||||
#: src/process/do_process.cpp:850 src/process/do_process.cpp:852
|
||||
#: src/process/do_process.cpp:932 src/process/do_process.cpp:1080
|
||||
#: src/tuning/tuning.cpp:242 src/tuning/tuning.cpp:270
|
||||
#: src/tuning/tuning.cpp:288 src/wakeup/waketab.cpp:155
|
||||
msgid "Description"
|
||||
msgstr "Deskripsi"
|
||||
|
||||
#: src/process/do_process.cpp:927
|
||||
msgid "Wakeups/s"
|
||||
msgstr "Bangun/d"
|
||||
|
||||
#: src/process/do_process.cpp:928
|
||||
msgid "GPU ops/s"
|
||||
msgstr "Op GPU/d"
|
||||
|
||||
#: src/process/do_process.cpp:929
|
||||
msgid "Disk IO/s"
|
||||
msgstr "IO Disk/d"
|
||||
|
||||
#: src/process/do_process.cpp:930
|
||||
msgid "GFX Wakeups/s"
|
||||
msgstr "GFX Bangun/d"
|
||||
|
||||
#: src/process/do_process.cpp:1017
|
||||
msgid "Overview of Software Power Consumers"
|
||||
msgstr "Ringkasan Pemakai Daya Perangkat Lunak"
|
||||
|
||||
#: src/process/do_process.cpp:1057
|
||||
msgid "Target:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1058
|
||||
msgid "1 units/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1059
|
||||
msgid "System: "
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1061
|
||||
#, fuzzy
|
||||
msgid " wakeup/s"
|
||||
msgstr "Bangun/d"
|
||||
|
||||
#: src/process/do_process.cpp:1062
|
||||
msgid "CPU: "
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1064
|
||||
#, fuzzy, c-format
|
||||
msgid "% usage"
|
||||
msgstr "Pakai"
|
||||
|
||||
#: src/process/do_process.cpp:1065
|
||||
msgid "GPU:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1067 src/process/do_process.cpp:1073
|
||||
#, fuzzy
|
||||
msgid " ops/s"
|
||||
msgstr "Op GPU/d"
|
||||
|
||||
#: src/process/do_process.cpp:1068
|
||||
msgid "GFX:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1070
|
||||
#, fuzzy
|
||||
msgid " wakeups/s"
|
||||
msgstr "Bangun/d"
|
||||
|
||||
#: src/process/do_process.cpp:1071
|
||||
msgid "VFS:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1139
|
||||
#, fuzzy
|
||||
msgid "Top 10 Power Consumers"
|
||||
msgstr "Ringkasan Pemakai Daya Perangkat Lunak"
|
||||
|
||||
#: src/report/report.cpp:122
|
||||
#, fuzzy
|
||||
msgid "PowerTOP Version"
|
||||
msgstr "PowerTop versi"
|
||||
|
||||
#: src/report/report.cpp:131
|
||||
#, fuzzy
|
||||
msgid "Kernel Version"
|
||||
msgstr "PowerTop versi"
|
||||
|
||||
#: src/report/report.cpp:135
|
||||
msgid "System Name"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:142
|
||||
msgid "CPU Information"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:154
|
||||
msgid "OS Information"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:161
|
||||
#, fuzzy
|
||||
msgid "System Information"
|
||||
msgstr "cetak informasi versi"
|
||||
|
||||
#: src/report/report.cpp:195
|
||||
#, fuzzy, c-format
|
||||
msgid "Cannot open output file %s (%s)\n"
|
||||
msgstr "Tak bisa membuat berkas temp\n"
|
||||
|
||||
#: src/report/report.cpp:211
|
||||
#, c-format
|
||||
msgid "PowerTOP outputing using base filename %s\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/bluetooth.cpp:46 src/tuning/ethernet.cpp:50
|
||||
#: src/tuning/runtime.cpp:42 src/tuning/tunable.cpp:49
|
||||
#: src/tuning/tuningi2c.cpp:35 src/tuning/tuningsysfs.cpp:45
|
||||
#: src/tuning/tuningusb.cpp:39 src/tuning/wifi.cpp:45
|
||||
msgid "Good"
|
||||
msgstr "Baik"
|
||||
|
||||
#: src/tuning/bluetooth.cpp:46 src/tuning/ethernet.cpp:50
|
||||
#: src/tuning/runtime.cpp:42 src/tuning/tunable.cpp:50
|
||||
#: src/tuning/tuningi2c.cpp:35 src/tuning/tuningsysfs.cpp:45
|
||||
#: src/tuning/tuningusb.cpp:39 src/tuning/wifi.cpp:45
|
||||
msgid "Bad"
|
||||
msgstr "Buruk"
|
||||
|
||||
#: src/tuning/bluetooth.cpp:46 src/tuning/ethernet.cpp:50
|
||||
#: src/tuning/runtime.cpp:42 src/tuning/tunable.cpp:51
|
||||
#: src/tuning/tuningi2c.cpp:35 src/tuning/tuningsysfs.cpp:45
|
||||
#: src/tuning/tuningusb.cpp:39 src/tuning/wifi.cpp:45 src/wakeup/wakeup.cpp:50
|
||||
msgid "Unknown"
|
||||
msgstr "Tak diketahui"
|
||||
|
||||
#: src/tuning/bluetooth.cpp:48
|
||||
#, c-format
|
||||
msgid "Bluetooth device interface status"
|
||||
msgstr "Status antarmuka perangkat Bluetooth"
|
||||
|
||||
#: src/tuning/ethernet.cpp:54 src/wakeup/wakeup_ethernet.cpp:51
|
||||
#, c-format
|
||||
msgid "Wake-on-lan status for device %s"
|
||||
msgstr "Status wake-on-lan bagi perangkat %s"
|
||||
|
||||
#: src/tuning/runtime.cpp:48
|
||||
#, c-format
|
||||
msgid "Runtime PM for %s device %s"
|
||||
msgstr "PM runtime bagi %s perangkat %s"
|
||||
|
||||
#: src/tuning/runtime.cpp:50
|
||||
#, c-format
|
||||
msgid "%s device %s has no runtime power management"
|
||||
msgstr "%s perangkat %s tak memiliki manajemen daya runtime"
|
||||
|
||||
#: src/tuning/runtime.cpp:74
|
||||
#, c-format
|
||||
msgid "PCI Device %s has no runtime power management"
|
||||
msgstr "Perangkat PCI %s tak memiliki manajemen daya runtime"
|
||||
|
||||
#: src/tuning/runtime.cpp:76
|
||||
#, c-format
|
||||
msgid "Runtime PM for PCI Device %s"
|
||||
msgstr "PM runtime bagi Perangkat PCI %s"
|
||||
|
||||
#: src/tuning/tuning.cpp:62
|
||||
msgid "Enable Audio codec power management"
|
||||
msgstr "Aktifkan manajemen daya codec audio"
|
||||
|
||||
#: src/tuning/tuning.cpp:63
|
||||
msgid "NMI watchdog should be turned off"
|
||||
msgstr "Watchdog NMI mesti dimatikan"
|
||||
|
||||
#: src/tuning/tuning.cpp:64
|
||||
msgid "Power Aware CPU scheduler"
|
||||
msgstr "Scheduler CPU Sadar Daya"
|
||||
|
||||
#: src/tuning/tuning.cpp:65
|
||||
msgid "VM writeback timeout"
|
||||
msgstr "Tenggang waktu writeback VM"
|
||||
|
||||
#: src/tuning/tuning.cpp:81
|
||||
msgid "Tunables"
|
||||
msgstr "Tunables"
|
||||
|
||||
#: src/tuning/tuning.cpp:81
|
||||
msgid " <ESC> Exit | <Enter> Toggle tunable | <r> Window refresh"
|
||||
msgstr " <ESC> Keluar | <Enter> Jungkit tunable | <r> Segarkan jendela"
|
||||
|
||||
#: src/tuning/tuning.cpp:243 src/wakeup/waketab.cpp:156
|
||||
msgid "Script"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:257
|
||||
msgid "Software Settings in Need of Tuning"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:276
|
||||
msgid "Untunable Software Issues"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:300
|
||||
msgid "Optimal Tuned Software Settings"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuningi2c.cpp:57
|
||||
#, fuzzy, c-format
|
||||
msgid "Runtime PM for I2C %s %s (%s)"
|
||||
msgstr "PM runtime bagi %s perangkat %s"
|
||||
|
||||
#: src/tuning/tuningi2c.cpp:59
|
||||
#, fuzzy, c-format
|
||||
msgid "I2C %s %s has no runtime power management"
|
||||
msgstr "%s perangkat %s tak memiliki manajemen daya runtime"
|
||||
|
||||
#: src/tuning/tuningsysfs.cpp:123
|
||||
#, fuzzy, c-format
|
||||
msgid "Enable SATA link power management for %s"
|
||||
msgstr "Fungsikan Manajemen daya link SATA bagi %s"
|
||||
|
||||
#: src/tuning/tuningusb.cpp:54
|
||||
#, c-format
|
||||
msgid "Autosuspend for unknown USB device %s (%s:%s)"
|
||||
msgstr "Suspensi otomatis bagi perangkat USB tak dikenal %s (%s:%s)"
|
||||
|
||||
#: src/tuning/tuningusb.cpp:71 src/tuning/tuningusb.cpp:73
|
||||
#: src/tuning/tuningusb.cpp:75
|
||||
#, c-format
|
||||
msgid "Autosuspend for USB device %s [%s]"
|
||||
msgstr "Suspensi otomatis bagi perangkat USB %s [%s]"
|
||||
|
||||
#: src/tuning/wifi.cpp:48
|
||||
#, c-format
|
||||
msgid "Wireless Power Saving for interface %s"
|
||||
msgstr "Penghematan Daya Nirkabel bagi antarmuka %s"
|
||||
|
||||
#: src/wakeup/waketab.cpp:42
|
||||
#, fuzzy
|
||||
msgid "WakeUp"
|
||||
msgstr "Bangun/d"
|
||||
|
||||
#: src/wakeup/waketab.cpp:42
|
||||
#, fuzzy
|
||||
msgid " <ESC> Exit | <Enter> Toggle wakeup | <r> Window refresh"
|
||||
msgstr " <ESC> Keluar | <Enter> Jungkit tunable | <r> Segarkan jendela"
|
||||
|
||||
#: src/wakeup/waketab.cpp:170
|
||||
#, fuzzy
|
||||
msgid "Wake status of the devices"
|
||||
msgstr "Status wake-on-lan bagi perangkat %s"
|
||||
|
||||
#: src/wakeup/wakeup.cpp:48 src/wakeup/wakeup_ethernet.cpp:47
|
||||
#: src/wakeup/wakeup_usb.cpp:47
|
||||
#, fuzzy
|
||||
msgid "Enable"
|
||||
msgstr "Tunables"
|
||||
|
||||
#: src/wakeup/wakeup.cpp:49 src/wakeup/wakeup_ethernet.cpp:47
|
||||
#: src/wakeup/wakeup_usb.cpp:47
|
||||
msgid "Disable"
|
||||
msgstr ""
|
||||
|
||||
#: src/wakeup/wakeup_usb.cpp:51
|
||||
#, fuzzy, c-format
|
||||
msgid "Wake status for USB device %s"
|
||||
msgstr "Status wake-on-lan bagi perangkat %s"
|
||||
|
||||
#~ msgid "Actual"
|
||||
#~ msgstr "Aktual"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "I2C Device: %s"
|
||||
#~ msgstr "Perangkat PCI: %s"
|
||||
|
||||
#~ msgid "[=FILENAME]"
|
||||
#~ msgstr "[=NAMAFILE]"
|
||||
|
||||
#~ msgid "Using 'ondemand' cpufreq governor"
|
||||
#~ msgstr "Memakai governor cpufreq 'ondemand'"
|
||||
|
||||
#~ msgid "Power Consumption Summary"
|
||||
#~ msgstr "Ringkasan Konsumsi Daya"
|
||||
|
||||
#~ msgid "GPU ops/second"
|
||||
#~ msgstr "Op GPU/detik"
|
||||
|
||||
#~ msgid "VFS ops/sec"
|
||||
#~ msgstr "Op VFS/det"
|
||||
|
||||
#~ msgid "GFX wakes/sec and"
|
||||
#~ msgstr "GFX bangu/det dan"
|
||||
23
powertop-v2.10/po/insert-header.sin
Normal file
23
powertop-v2.10/po/insert-header.sin
Normal file
@ -0,0 +1,23 @@
|
||||
# Sed script that inserts the file called HEADER before the header entry.
|
||||
#
|
||||
# At each occurrence of a line starting with "msgid ", we execute the following
|
||||
# commands. At the first occurrence, insert the file. At the following
|
||||
# occurrences, do nothing. The distinction between the first and the following
|
||||
# occurrences is achieved by looking at the hold space.
|
||||
/^msgid /{
|
||||
x
|
||||
# Test if the hold space is empty.
|
||||
s/m/m/
|
||||
ta
|
||||
# Yes it was empty. First occurrence. Read the file.
|
||||
r HEADER
|
||||
# Output the file's contents by reading the next line. But don't lose the
|
||||
# current line while doing this.
|
||||
g
|
||||
N
|
||||
bb
|
||||
:a
|
||||
# The hold space was nonempty. Following occurrences. Do nothing.
|
||||
x
|
||||
:b
|
||||
}
|
||||
BIN
powertop-v2.10/po/nl_NL.gmo
Normal file
BIN
powertop-v2.10/po/nl_NL.gmo
Normal file
Binary file not shown.
957
powertop-v2.10/po/nl_NL.po
Normal file
957
powertop-v2.10/po/nl_NL.po
Normal file
@ -0,0 +1,957 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR Intel Corporation
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
#
|
||||
# Translators:
|
||||
# auke <auke-jan.h.kok@intel.com>, 2012
|
||||
# JanCeuleers <jan.ceuleers@computer.org>, 2012
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PowerTOP\n"
|
||||
"Report-Msgid-Bugs-To: \"powertop@lists.01.org\"\n"
|
||||
"POT-Creation-Date: 2019-01-04 16:21-0800\n"
|
||||
"PO-Revision-Date: 2013-11-05 08:40+0000\n"
|
||||
"Last-Translator: Margie Foster <margie@linux.intel.com>\n"
|
||||
"Language-Team: Dutch (Netherlands) (http://www.transifex.com/projects/p/"
|
||||
"PowerTOP/language/nl_NL/)\n"
|
||||
"Language: nl_NL\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:238
|
||||
#, c-format
|
||||
msgid "Cannot create temp file\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/calibrate/calibrate.cpp:258
|
||||
#, c-format
|
||||
msgid "Calibrating: CPU usage on %i threads\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/calibrate/calibrate.cpp:273
|
||||
#, c-format
|
||||
msgid "Calibrating: CPU wakeup power consumption\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/calibrate/calibrate.cpp:290
|
||||
#, c-format
|
||||
msgid "Calibrating USB devices\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/calibrate/calibrate.cpp:292 src/calibrate/calibrate.cpp:309
|
||||
#: src/calibrate/calibrate.cpp:317 src/calibrate/calibrate.cpp:334
|
||||
#, c-format
|
||||
msgid ".... device %s \n"
|
||||
msgstr ""
|
||||
|
||||
#: src/calibrate/calibrate.cpp:307
|
||||
#, c-format
|
||||
msgid "Calibrating radio devices\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/calibrate/calibrate.cpp:331
|
||||
#, c-format
|
||||
msgid "Calibrating backlight\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/calibrate/calibrate.cpp:355 src/calibrate/calibrate.cpp:365
|
||||
#, c-format
|
||||
msgid "Calibrating idle\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/calibrate/calibrate.cpp:378
|
||||
#, c-format
|
||||
msgid "Calibrating: disk usage \n"
|
||||
msgstr ""
|
||||
|
||||
#: src/calibrate/calibrate.cpp:403
|
||||
msgid "Starting PowerTOP power estimate calibration \n"
|
||||
msgstr ""
|
||||
|
||||
#: src/calibrate/calibrate.cpp:426
|
||||
msgid "Finishing PowerTOP power estimate calibration \n"
|
||||
msgstr ""
|
||||
|
||||
#: src/calibrate/calibrate.cpp:430
|
||||
#, c-format
|
||||
msgid "Parameters after calibration:\n"
|
||||
msgstr "Parameters na calibratie:\n"
|
||||
|
||||
#: src/cpu/abstract_cpu.cpp:74
|
||||
msgid "Idle"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/abstract_cpu.cpp:76
|
||||
msgid "Turbo Mode"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_core.cpp:37
|
||||
#, c-format
|
||||
msgid " Core(HW)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_core.cpp:37
|
||||
#, c-format
|
||||
msgid " Core(OS)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:324
|
||||
#, c-format
|
||||
msgid " Core"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:85
|
||||
#, c-format
|
||||
msgid "cpu package %i"
|
||||
msgstr "cpu package %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:86
|
||||
msgid "cpu package"
|
||||
msgstr "cpu package"
|
||||
|
||||
#: src/cpu/cpu.cpp:89 src/cpu/cpu.cpp:96
|
||||
#, fuzzy, c-format
|
||||
msgid "package-%i"
|
||||
msgstr "cpu package %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:90
|
||||
msgid "cpu rapl package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:97
|
||||
msgid "dram rapl package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:471
|
||||
msgid "Processor Idle State Report"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:535 src/cpu/cpu.cpp:753
|
||||
msgid "Package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:566 src/cpu/cpu.cpp:775
|
||||
#, c-format
|
||||
msgid "Core %d"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:573
|
||||
#, c-format
|
||||
msgid "GPU %d"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:594
|
||||
msgid "CPU"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:676
|
||||
msgid "Processor Frequency Report"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:796
|
||||
#, c-format
|
||||
msgid "CPU %d"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:997
|
||||
#, c-format
|
||||
msgid "cpu_idle event returned no state?\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:1012
|
||||
#, c-format
|
||||
msgid "power or cpu_frequency event returned no state?\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_linux.cpp:79
|
||||
msgid "C0 polling"
|
||||
msgstr "C0 polling"
|
||||
|
||||
#: src/cpu/cpu_linux.cpp:242
|
||||
#, c-format
|
||||
msgid " CPU(OS) %i"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:651
|
||||
#, c-format
|
||||
msgid " CPU %i"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_package.cpp:47
|
||||
#, c-format
|
||||
msgid " Pkg(HW)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_package.cpp:47
|
||||
#, c-format
|
||||
msgid " Pkg(OS)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:412
|
||||
#, c-format
|
||||
msgid " Package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/intel_cpus.cpp:129
|
||||
#, c-format
|
||||
msgid "read_msr cpu%d 0x%llx : "
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/intel_cpus.cpp:574
|
||||
msgid "C0 active"
|
||||
msgstr "C0 active"
|
||||
|
||||
#: src/cpu/intel_cpus.cpp:632
|
||||
#, c-format
|
||||
msgid "Average"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/intel_gpu.cpp:64
|
||||
#, c-format
|
||||
msgid " GPU "
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:154
|
||||
#, c-format
|
||||
msgid "SATA link: %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:156
|
||||
#, c-format
|
||||
msgid "SATA disk: %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:374
|
||||
msgid "AHCI ALPM Residency Statistics - Not supported on this macine"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:389
|
||||
msgid "Link"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:390
|
||||
#, fuzzy
|
||||
msgid "Active"
|
||||
msgstr "C0 active"
|
||||
|
||||
#: src/devices/ahci.cpp:391
|
||||
msgid "Partial"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:392
|
||||
msgid "Slumber"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:393
|
||||
msgid "Devslp"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:399
|
||||
msgid "AHCI ALPM Residency Statistics"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/alsa.cpp:77
|
||||
#, c-format
|
||||
msgid "Audio codec %s: %s (%s)"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/alsa.cpp:79 src/devices/alsa.cpp:81
|
||||
#, c-format
|
||||
msgid "Audio codec %s: %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/devfreq.cpp:261
|
||||
#, fuzzy
|
||||
msgid "Device Freq stats"
|
||||
msgstr "Apparaat stats"
|
||||
|
||||
#: src/devices/devfreq.cpp:279
|
||||
msgid " Devfreq is not enabled"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/devfreq.cpp:284
|
||||
msgid " No devfreq devices available"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:172 src/process/do_process.cpp:831
|
||||
#, c-format
|
||||
msgid "The battery reports a discharge rate of %sW\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:174 src/process/do_process.cpp:833
|
||||
#, c-format
|
||||
msgid "The power consumed was %sJ\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:180
|
||||
#, c-format
|
||||
msgid "System baseline power is estimated at %sW\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:187
|
||||
msgid "Power est. Usage Device name\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:189
|
||||
msgid " Usage Device name\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:256
|
||||
msgid "The battery reports a discharge rate of: "
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:261
|
||||
msgid "The power consumed was : "
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:268
|
||||
msgid "The system baseline power is estimated at: "
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:277 src/process/do_process.cpp:850
|
||||
#: src/process/do_process.cpp:852 src/process/do_process.cpp:926
|
||||
#: src/process/do_process.cpp:1077
|
||||
msgid "Usage"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:278
|
||||
#, fuzzy
|
||||
msgid "Device Name"
|
||||
msgstr "Apparaat stats"
|
||||
|
||||
#: src/devices/device.cpp:280 src/process/do_process.cpp:935
|
||||
#: src/process/do_process.cpp:1082
|
||||
msgid "PW Estimate"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:317
|
||||
msgid "Device Power Report"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/network.cpp:177
|
||||
#, c-format
|
||||
msgid "Network interface: %s (%s)"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/rfkill.cpp:65 src/devices/rfkill.cpp:69
|
||||
#, c-format
|
||||
msgid "Radio device: %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/runtime_pm.cpp:216
|
||||
#, c-format
|
||||
msgid "I2C %s (%s): %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/runtime_pm.cpp:216 src/tuning/tuningi2c.cpp:57
|
||||
#: src/tuning/tuningi2c.cpp:59
|
||||
msgid "Adapter"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/runtime_pm.cpp:216 src/devlist.cpp:331
|
||||
#: src/tuning/tuningi2c.cpp:57 src/tuning/tuningi2c.cpp:59
|
||||
#, fuzzy
|
||||
msgid "Device"
|
||||
msgstr "Apparaat stats"
|
||||
|
||||
#: src/devices/runtime_pm.cpp:241
|
||||
#, c-format
|
||||
msgid "PCI Device: %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/usb.cpp:51 src/devices/usb.cpp:96 src/devices/usb.cpp:98
|
||||
#, c-format
|
||||
msgid "USB device: %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/usb.cpp:94
|
||||
#, c-format
|
||||
msgid "USB device: %s (%s)"
|
||||
msgstr ""
|
||||
|
||||
#: src/devlist.cpp:330
|
||||
msgid "Process"
|
||||
msgstr ""
|
||||
|
||||
#: src/devlist.cpp:347
|
||||
msgid "Process Device Activity"
|
||||
msgstr ""
|
||||
|
||||
#: src/display.cpp:70
|
||||
msgid "Overview"
|
||||
msgstr "Overzicht"
|
||||
|
||||
#: src/display.cpp:71
|
||||
msgid "Idle stats"
|
||||
msgstr "Rust stats"
|
||||
|
||||
#: src/display.cpp:72
|
||||
msgid "Frequency stats"
|
||||
msgstr "Frekwentie stats"
|
||||
|
||||
#: src/display.cpp:73
|
||||
msgid "Device stats"
|
||||
msgstr "Apparaat stats"
|
||||
|
||||
#: src/display.cpp:131
|
||||
msgid "Exit"
|
||||
msgstr ""
|
||||
|
||||
#: src/display.cpp:132
|
||||
msgid "Navigate"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:288
|
||||
#, c-format
|
||||
msgid "%7sW"
|
||||
msgstr "%7sW"
|
||||
|
||||
#: src/lib.cpp:291
|
||||
#, c-format
|
||||
msgid " 0 mW"
|
||||
msgstr " 0 mW"
|
||||
|
||||
#: src/lib.cpp:410
|
||||
msgid "PS/2 Touchpad / Keyboard / Mouse"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:411
|
||||
msgid "SATA controller"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:412
|
||||
msgid "Intel built in USB hub"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:467
|
||||
#, c-format
|
||||
msgid "glob returned GLOB_NOSPACE\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:471
|
||||
#, c-format
|
||||
msgid "glob returned GLOB_ABORTED\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:475
|
||||
#, c-format
|
||||
msgid "glob returned GLOB_NOMATCH\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:513 src/lib.cpp:549
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Model-specific registers (MSR)\t\t\t not found (try enabling "
|
||||
"CONFIG_X86_MSR).\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:103
|
||||
#, fuzzy, c-format
|
||||
msgid "PowerTOP version "
|
||||
msgstr "PowerTOP"
|
||||
|
||||
#: src/main.cpp:109
|
||||
msgid "Set refresh time out"
|
||||
msgstr "Stel verversingstijd in"
|
||||
|
||||
#: src/main.cpp:122
|
||||
msgid "Usage: powertop [OPTIONS]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:123
|
||||
msgid "sets all tunable options to their GOOD setting"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:124
|
||||
msgid "runs powertop in calibration mode"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:125 src/main.cpp:128
|
||||
msgid "[=filename]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:125
|
||||
msgid "generate a csv report"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:126
|
||||
msgid "run in \"debug\" mode"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:127
|
||||
msgid "[=devnode]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:127
|
||||
msgid "uses an Extech Power Analyzer for measurements"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:128
|
||||
msgid "generate a html report"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:129
|
||||
msgid "[=iterations] number of times to run each test"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:130
|
||||
msgid "suppress stderr output"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:131 src/main.cpp:132
|
||||
msgid "[=seconds]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:131
|
||||
msgid "interval for power consumption measurement"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:132
|
||||
msgid "generate a report for 'x' seconds"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:133
|
||||
msgid "[=workload]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:133
|
||||
msgid "file to execute for workload"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:134
|
||||
msgid "print version information"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:135
|
||||
msgid "print this help menu"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:137
|
||||
msgid "For more help please refer to the 'man 8 powertop'"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:232
|
||||
#, c-format
|
||||
msgid "Unknown issue running workload!\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:289
|
||||
msgid "PowerTOP is out of memory. PowerTOP is Aborting"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:297
|
||||
#, c-format
|
||||
msgid "Preparing to take measurements\n"
|
||||
msgstr "Voorbereiding om metingen te nemen\n"
|
||||
|
||||
#: src/main.cpp:302
|
||||
#, c-format
|
||||
msgid "Taking %d measurement(s) for a duration of %d second(s) each.\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:304
|
||||
#, c-format
|
||||
msgid "Measuring workload %s.\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:329
|
||||
#, c-format
|
||||
msgid "PowerTOP "
|
||||
msgstr "PowerTOP"
|
||||
|
||||
#: src/main.cpp:330 src/main.cpp:380
|
||||
#, c-format
|
||||
msgid "exiting...\n"
|
||||
msgstr "afsluiten...\n"
|
||||
|
||||
#: src/main.cpp:364
|
||||
#, c-format
|
||||
msgid "modprobe cpufreq_stats failed"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:367
|
||||
#, c-format
|
||||
msgid "modprobe msr failed"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:379 src/main.cpp:383
|
||||
#, c-format
|
||||
msgid "Failed to mount debugfs!\n"
|
||||
msgstr "Kan debugfs niet aankoppelen!\n"
|
||||
|
||||
#: src/main.cpp:384
|
||||
#, c-format
|
||||
msgid "Should still be able to auto tune...\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:466
|
||||
#, c-format
|
||||
msgid "Invalid CSV filename\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:482
|
||||
#, c-format
|
||||
msgid "Invalid HTML filename\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:491
|
||||
#, c-format
|
||||
msgid "Quiet mode failed!\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:559
|
||||
msgid "Leaving PowerTOP"
|
||||
msgstr ""
|
||||
|
||||
#: src/parameters/persistent.cpp:46 src/parameters/persistent.cpp:155
|
||||
msgid "Cannot save to file"
|
||||
msgstr ""
|
||||
|
||||
#: src/parameters/persistent.cpp:89 src/parameters/persistent.cpp:180
|
||||
msgid "Cannot load from file"
|
||||
msgstr ""
|
||||
|
||||
#: src/parameters/persistent.cpp:138
|
||||
#, c-format
|
||||
msgid "Loaded %i prior measurements\n"
|
||||
msgstr "%i eerdere metingen ingeladen\n"
|
||||
|
||||
#: src/parameters/persistent.cpp:181
|
||||
msgid ""
|
||||
"File will be loaded after taking minimum number of measurement(s) with "
|
||||
"battery only \n"
|
||||
msgstr ""
|
||||
|
||||
#: src/perf/perf.cpp:115
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Too many open files, please increase the limit of open file descriptors.\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/perf/perf.cpp:117
|
||||
#, c-format
|
||||
msgid "PowerTOP %s needs the kernel to support the 'perf' subsystem\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/perf/perf.cpp:118
|
||||
#, c-format
|
||||
msgid "as well as support for trace points in the kernel:\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:819
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Estimated power: %5.1f Measured power: %5.1f Sum: %5.1f\n"
|
||||
"\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:838
|
||||
#, c-format
|
||||
msgid "The estimated remaining time is %i hours, %i minutes\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "Summary"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "wakeups/second"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "GPU ops/seconds"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "VFS ops/sec and"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "CPU use"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:850
|
||||
msgid "Power est."
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:850 src/process/do_process.cpp:852
|
||||
#: src/process/do_process.cpp:1078
|
||||
msgid "Events/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:850 src/process/do_process.cpp:852
|
||||
#: src/process/do_process.cpp:931 src/process/do_process.cpp:1079
|
||||
msgid "Category"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:850 src/process/do_process.cpp:852
|
||||
#: src/process/do_process.cpp:932 src/process/do_process.cpp:1080
|
||||
#: src/tuning/tuning.cpp:242 src/tuning/tuning.cpp:270
|
||||
#: src/tuning/tuning.cpp:288 src/wakeup/waketab.cpp:155
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:927
|
||||
msgid "Wakeups/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:928
|
||||
msgid "GPU ops/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:929
|
||||
msgid "Disk IO/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:930
|
||||
msgid "GFX Wakeups/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1017
|
||||
msgid "Overview of Software Power Consumers"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1057
|
||||
msgid "Target:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1058
|
||||
msgid "1 units/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1059
|
||||
msgid "System: "
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1061
|
||||
msgid " wakeup/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1062
|
||||
msgid "CPU: "
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1064
|
||||
#, c-format
|
||||
msgid "% usage"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1065
|
||||
msgid "GPU:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1067 src/process/do_process.cpp:1073
|
||||
msgid " ops/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1068
|
||||
msgid "GFX:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1070
|
||||
msgid " wakeups/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1071
|
||||
msgid "VFS:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1139
|
||||
msgid "Top 10 Power Consumers"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:122
|
||||
#, fuzzy
|
||||
msgid "PowerTOP Version"
|
||||
msgstr "PowerTOP"
|
||||
|
||||
#: src/report/report.cpp:131
|
||||
msgid "Kernel Version"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:135
|
||||
msgid "System Name"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:142
|
||||
msgid "CPU Information"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:154
|
||||
msgid "OS Information"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:161
|
||||
msgid "System Information"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:195
|
||||
#, c-format
|
||||
msgid "Cannot open output file %s (%s)\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:211
|
||||
#, c-format
|
||||
msgid "PowerTOP outputing using base filename %s\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/bluetooth.cpp:46 src/tuning/ethernet.cpp:50
|
||||
#: src/tuning/runtime.cpp:42 src/tuning/tunable.cpp:49
|
||||
#: src/tuning/tuningi2c.cpp:35 src/tuning/tuningsysfs.cpp:45
|
||||
#: src/tuning/tuningusb.cpp:39 src/tuning/wifi.cpp:45
|
||||
msgid "Good"
|
||||
msgstr "Goed"
|
||||
|
||||
#: src/tuning/bluetooth.cpp:46 src/tuning/ethernet.cpp:50
|
||||
#: src/tuning/runtime.cpp:42 src/tuning/tunable.cpp:50
|
||||
#: src/tuning/tuningi2c.cpp:35 src/tuning/tuningsysfs.cpp:45
|
||||
#: src/tuning/tuningusb.cpp:39 src/tuning/wifi.cpp:45
|
||||
msgid "Bad"
|
||||
msgstr "Slecht"
|
||||
|
||||
#: src/tuning/bluetooth.cpp:46 src/tuning/ethernet.cpp:50
|
||||
#: src/tuning/runtime.cpp:42 src/tuning/tunable.cpp:51
|
||||
#: src/tuning/tuningi2c.cpp:35 src/tuning/tuningsysfs.cpp:45
|
||||
#: src/tuning/tuningusb.cpp:39 src/tuning/wifi.cpp:45 src/wakeup/wakeup.cpp:50
|
||||
msgid "Unknown"
|
||||
msgstr "Onbekend"
|
||||
|
||||
#: src/tuning/bluetooth.cpp:48
|
||||
#, c-format
|
||||
msgid "Bluetooth device interface status"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/ethernet.cpp:54 src/wakeup/wakeup_ethernet.cpp:51
|
||||
#, c-format
|
||||
msgid "Wake-on-lan status for device %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/runtime.cpp:48
|
||||
#, c-format
|
||||
msgid "Runtime PM for %s device %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/runtime.cpp:50
|
||||
#, c-format
|
||||
msgid "%s device %s has no runtime power management"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/runtime.cpp:74
|
||||
#, c-format
|
||||
msgid "PCI Device %s has no runtime power management"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/runtime.cpp:76
|
||||
#, c-format
|
||||
msgid "Runtime PM for PCI Device %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:62
|
||||
msgid "Enable Audio codec power management"
|
||||
msgstr "Audio codec energiebeheer inschakelen"
|
||||
|
||||
#: src/tuning/tuning.cpp:63
|
||||
msgid "NMI watchdog should be turned off"
|
||||
msgstr "NMI watchdog is beter uitgeschakeld"
|
||||
|
||||
#: src/tuning/tuning.cpp:64
|
||||
msgid "Power Aware CPU scheduler"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:65
|
||||
msgid "VM writeback timeout"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:81
|
||||
msgid "Tunables"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:81
|
||||
msgid " <ESC> Exit | <Enter> Toggle tunable | <r> Window refresh"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:243 src/wakeup/waketab.cpp:156
|
||||
msgid "Script"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:257
|
||||
msgid "Software Settings in Need of Tuning"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:276
|
||||
msgid "Untunable Software Issues"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:300
|
||||
msgid "Optimal Tuned Software Settings"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuningi2c.cpp:57
|
||||
#, c-format
|
||||
msgid "Runtime PM for I2C %s %s (%s)"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuningi2c.cpp:59
|
||||
#, c-format
|
||||
msgid "I2C %s %s has no runtime power management"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuningsysfs.cpp:123
|
||||
#, fuzzy, c-format
|
||||
msgid "Enable SATA link power management for %s"
|
||||
msgstr "Audio codec energiebeheer inschakelen"
|
||||
|
||||
#: src/tuning/tuningusb.cpp:54
|
||||
#, c-format
|
||||
msgid "Autosuspend for unknown USB device %s (%s:%s)"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuningusb.cpp:71 src/tuning/tuningusb.cpp:73
|
||||
#: src/tuning/tuningusb.cpp:75
|
||||
#, c-format
|
||||
msgid "Autosuspend for USB device %s [%s]"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/wifi.cpp:48
|
||||
#, c-format
|
||||
msgid "Wireless Power Saving for interface %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/wakeup/waketab.cpp:42
|
||||
msgid "WakeUp"
|
||||
msgstr ""
|
||||
|
||||
#: src/wakeup/waketab.cpp:42
|
||||
msgid " <ESC> Exit | <Enter> Toggle wakeup | <r> Window refresh"
|
||||
msgstr ""
|
||||
|
||||
#: src/wakeup/waketab.cpp:170
|
||||
msgid "Wake status of the devices"
|
||||
msgstr ""
|
||||
|
||||
#: src/wakeup/wakeup.cpp:48 src/wakeup/wakeup_ethernet.cpp:47
|
||||
#: src/wakeup/wakeup_usb.cpp:47
|
||||
msgid "Enable"
|
||||
msgstr ""
|
||||
|
||||
#: src/wakeup/wakeup.cpp:49 src/wakeup/wakeup_ethernet.cpp:47
|
||||
#: src/wakeup/wakeup_usb.cpp:47
|
||||
msgid "Disable"
|
||||
msgstr ""
|
||||
|
||||
#: src/wakeup/wakeup_usb.cpp:51
|
||||
#, c-format
|
||||
msgid "Wake status for USB device %s"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Actual"
|
||||
#~ msgstr "Huidig"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "I2C Device: %s"
|
||||
#~ msgstr "Apparaat stats"
|
||||
|
||||
#~ msgid "Using 'ondemand' cpufreq governor"
|
||||
#~ msgstr "'ondemand' cpufreq governor in gebruik"
|
||||
939
powertop-v2.10/po/powertop.pot
Normal file
939
powertop-v2.10/po/powertop.pot
Normal file
@ -0,0 +1,939 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR Intel Corporation
|
||||
# This file is distributed under the same license as the powertop package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: powertop v2.10\n"
|
||||
"Report-Msgid-Bugs-To: \"powertop@lists.01.org\"\n"
|
||||
"POT-Creation-Date: 2019-01-04 16:21-0800\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:238
|
||||
#, c-format
|
||||
msgid "Cannot create temp file\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/calibrate/calibrate.cpp:258
|
||||
#, c-format
|
||||
msgid "Calibrating: CPU usage on %i threads\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/calibrate/calibrate.cpp:273
|
||||
#, c-format
|
||||
msgid "Calibrating: CPU wakeup power consumption\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/calibrate/calibrate.cpp:290
|
||||
#, c-format
|
||||
msgid "Calibrating USB devices\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/calibrate/calibrate.cpp:292 src/calibrate/calibrate.cpp:309
|
||||
#: src/calibrate/calibrate.cpp:317 src/calibrate/calibrate.cpp:334
|
||||
#, c-format
|
||||
msgid ".... device %s \n"
|
||||
msgstr ""
|
||||
|
||||
#: src/calibrate/calibrate.cpp:307
|
||||
#, c-format
|
||||
msgid "Calibrating radio devices\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/calibrate/calibrate.cpp:331
|
||||
#, c-format
|
||||
msgid "Calibrating backlight\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/calibrate/calibrate.cpp:355 src/calibrate/calibrate.cpp:365
|
||||
#, c-format
|
||||
msgid "Calibrating idle\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/calibrate/calibrate.cpp:378
|
||||
#, c-format
|
||||
msgid "Calibrating: disk usage \n"
|
||||
msgstr ""
|
||||
|
||||
#: src/calibrate/calibrate.cpp:403
|
||||
msgid "Starting PowerTOP power estimate calibration \n"
|
||||
msgstr ""
|
||||
|
||||
#: src/calibrate/calibrate.cpp:426
|
||||
msgid "Finishing PowerTOP power estimate calibration \n"
|
||||
msgstr ""
|
||||
|
||||
#: src/calibrate/calibrate.cpp:430
|
||||
#, c-format
|
||||
msgid "Parameters after calibration:\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/abstract_cpu.cpp:74
|
||||
msgid "Idle"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/abstract_cpu.cpp:76
|
||||
msgid "Turbo Mode"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_core.cpp:37
|
||||
#, c-format
|
||||
msgid " Core(HW)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_core.cpp:37
|
||||
#, c-format
|
||||
msgid " Core(OS)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:324
|
||||
#, c-format
|
||||
msgid " Core"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:85
|
||||
#, c-format
|
||||
msgid "cpu package %i"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:86
|
||||
msgid "cpu package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:89 src/cpu/cpu.cpp:96
|
||||
#, c-format
|
||||
msgid "package-%i"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:90
|
||||
msgid "cpu rapl package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:97
|
||||
msgid "dram rapl package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:471
|
||||
msgid "Processor Idle State Report"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:535 src/cpu/cpu.cpp:753
|
||||
msgid "Package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:566 src/cpu/cpu.cpp:775
|
||||
#, c-format
|
||||
msgid "Core %d"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:573
|
||||
#, c-format
|
||||
msgid "GPU %d"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:594
|
||||
msgid "CPU"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:676
|
||||
msgid "Processor Frequency Report"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:796
|
||||
#, c-format
|
||||
msgid "CPU %d"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:997
|
||||
#, c-format
|
||||
msgid "cpu_idle event returned no state?\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:1012
|
||||
#, c-format
|
||||
msgid "power or cpu_frequency event returned no state?\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_linux.cpp:79
|
||||
msgid "C0 polling"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_linux.cpp:242
|
||||
#, c-format
|
||||
msgid " CPU(OS) %i"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:651
|
||||
#, c-format
|
||||
msgid " CPU %i"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_package.cpp:47
|
||||
#, c-format
|
||||
msgid " Pkg(HW)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_package.cpp:47
|
||||
#, c-format
|
||||
msgid " Pkg(OS)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:412
|
||||
#, c-format
|
||||
msgid " Package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/intel_cpus.cpp:129
|
||||
#, c-format
|
||||
msgid "read_msr cpu%d 0x%llx : "
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/intel_cpus.cpp:574
|
||||
msgid "C0 active"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/intel_cpus.cpp:632
|
||||
#, c-format
|
||||
msgid "Average"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/intel_gpu.cpp:64
|
||||
#, c-format
|
||||
msgid " GPU "
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:154
|
||||
#, c-format
|
||||
msgid "SATA link: %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:156
|
||||
#, c-format
|
||||
msgid "SATA disk: %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:374
|
||||
msgid "AHCI ALPM Residency Statistics - Not supported on this macine"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:389
|
||||
msgid "Link"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:390
|
||||
msgid "Active"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:391
|
||||
msgid "Partial"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:392
|
||||
msgid "Slumber"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:393
|
||||
msgid "Devslp"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:399
|
||||
msgid "AHCI ALPM Residency Statistics"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/alsa.cpp:77
|
||||
#, c-format
|
||||
msgid "Audio codec %s: %s (%s)"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/alsa.cpp:79 src/devices/alsa.cpp:81
|
||||
#, c-format
|
||||
msgid "Audio codec %s: %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/devfreq.cpp:261
|
||||
msgid "Device Freq stats"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/devfreq.cpp:279
|
||||
msgid " Devfreq is not enabled"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/devfreq.cpp:284
|
||||
msgid " No devfreq devices available"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:172 src/process/do_process.cpp:831
|
||||
#, c-format
|
||||
msgid "The battery reports a discharge rate of %sW\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:174 src/process/do_process.cpp:833
|
||||
#, c-format
|
||||
msgid "The power consumed was %sJ\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:180
|
||||
#, c-format
|
||||
msgid "System baseline power is estimated at %sW\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:187
|
||||
msgid "Power est. Usage Device name\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:189
|
||||
msgid " Usage Device name\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:256
|
||||
msgid "The battery reports a discharge rate of: "
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:261
|
||||
msgid "The power consumed was : "
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:268
|
||||
msgid "The system baseline power is estimated at: "
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:277 src/process/do_process.cpp:850
|
||||
#: src/process/do_process.cpp:852 src/process/do_process.cpp:926
|
||||
#: src/process/do_process.cpp:1077
|
||||
msgid "Usage"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:278
|
||||
msgid "Device Name"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:280 src/process/do_process.cpp:935
|
||||
#: src/process/do_process.cpp:1082
|
||||
msgid "PW Estimate"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:317
|
||||
msgid "Device Power Report"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/network.cpp:177
|
||||
#, c-format
|
||||
msgid "Network interface: %s (%s)"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/rfkill.cpp:65 src/devices/rfkill.cpp:69
|
||||
#, c-format
|
||||
msgid "Radio device: %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/runtime_pm.cpp:216
|
||||
#, c-format
|
||||
msgid "I2C %s (%s): %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/runtime_pm.cpp:216 src/tuning/tuningi2c.cpp:57
|
||||
#: src/tuning/tuningi2c.cpp:59
|
||||
msgid "Adapter"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/runtime_pm.cpp:216 src/devlist.cpp:331
|
||||
#: src/tuning/tuningi2c.cpp:57 src/tuning/tuningi2c.cpp:59
|
||||
msgid "Device"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/runtime_pm.cpp:241
|
||||
#, c-format
|
||||
msgid "PCI Device: %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/usb.cpp:51 src/devices/usb.cpp:96 src/devices/usb.cpp:98
|
||||
#, c-format
|
||||
msgid "USB device: %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/usb.cpp:94
|
||||
#, c-format
|
||||
msgid "USB device: %s (%s)"
|
||||
msgstr ""
|
||||
|
||||
#: src/devlist.cpp:330
|
||||
msgid "Process"
|
||||
msgstr ""
|
||||
|
||||
#: src/devlist.cpp:347
|
||||
msgid "Process Device Activity"
|
||||
msgstr ""
|
||||
|
||||
#: src/display.cpp:70
|
||||
msgid "Overview"
|
||||
msgstr ""
|
||||
|
||||
#: src/display.cpp:71
|
||||
msgid "Idle stats"
|
||||
msgstr ""
|
||||
|
||||
#: src/display.cpp:72
|
||||
msgid "Frequency stats"
|
||||
msgstr ""
|
||||
|
||||
#: src/display.cpp:73
|
||||
msgid "Device stats"
|
||||
msgstr ""
|
||||
|
||||
#: src/display.cpp:131
|
||||
msgid "Exit"
|
||||
msgstr ""
|
||||
|
||||
#: src/display.cpp:132
|
||||
msgid "Navigate"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:288
|
||||
#, c-format
|
||||
msgid "%7sW"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:291
|
||||
#, c-format
|
||||
msgid " 0 mW"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:410
|
||||
msgid "PS/2 Touchpad / Keyboard / Mouse"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:411
|
||||
msgid "SATA controller"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:412
|
||||
msgid "Intel built in USB hub"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:467
|
||||
#, c-format
|
||||
msgid "glob returned GLOB_NOSPACE\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:471
|
||||
#, c-format
|
||||
msgid "glob returned GLOB_ABORTED\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:475
|
||||
#, c-format
|
||||
msgid "glob returned GLOB_NOMATCH\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:513 src/lib.cpp:549
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Model-specific registers (MSR)\t\t\t not found (try enabling "
|
||||
"CONFIG_X86_MSR).\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:103
|
||||
#, c-format
|
||||
msgid "PowerTOP version "
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:109
|
||||
msgid "Set refresh time out"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:122
|
||||
msgid "Usage: powertop [OPTIONS]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:123
|
||||
msgid "sets all tunable options to their GOOD setting"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:124
|
||||
msgid "runs powertop in calibration mode"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:125 src/main.cpp:128
|
||||
msgid "[=filename]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:125
|
||||
msgid "generate a csv report"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:126
|
||||
msgid "run in \"debug\" mode"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:127
|
||||
msgid "[=devnode]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:127
|
||||
msgid "uses an Extech Power Analyzer for measurements"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:128
|
||||
msgid "generate a html report"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:129
|
||||
msgid "[=iterations] number of times to run each test"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:130
|
||||
msgid "suppress stderr output"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:131 src/main.cpp:132
|
||||
msgid "[=seconds]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:131
|
||||
msgid "interval for power consumption measurement"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:132
|
||||
msgid "generate a report for 'x' seconds"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:133
|
||||
msgid "[=workload]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:133
|
||||
msgid "file to execute for workload"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:134
|
||||
msgid "print version information"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:135
|
||||
msgid "print this help menu"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:137
|
||||
msgid "For more help please refer to the 'man 8 powertop'"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:232
|
||||
#, c-format
|
||||
msgid "Unknown issue running workload!\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:289
|
||||
msgid "PowerTOP is out of memory. PowerTOP is Aborting"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:297
|
||||
#, c-format
|
||||
msgid "Preparing to take measurements\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:302
|
||||
#, c-format
|
||||
msgid "Taking %d measurement(s) for a duration of %d second(s) each.\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:304
|
||||
#, c-format
|
||||
msgid "Measuring workload %s.\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:329
|
||||
#, c-format
|
||||
msgid "PowerTOP "
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:330 src/main.cpp:380
|
||||
#, c-format
|
||||
msgid "exiting...\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:364
|
||||
#, c-format
|
||||
msgid "modprobe cpufreq_stats failed"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:367
|
||||
#, c-format
|
||||
msgid "modprobe msr failed"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:379 src/main.cpp:383
|
||||
#, c-format
|
||||
msgid "Failed to mount debugfs!\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:384
|
||||
#, c-format
|
||||
msgid "Should still be able to auto tune...\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:466
|
||||
#, c-format
|
||||
msgid "Invalid CSV filename\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:482
|
||||
#, c-format
|
||||
msgid "Invalid HTML filename\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:491
|
||||
#, c-format
|
||||
msgid "Quiet mode failed!\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:559
|
||||
msgid "Leaving PowerTOP"
|
||||
msgstr ""
|
||||
|
||||
#: src/parameters/persistent.cpp:46 src/parameters/persistent.cpp:155
|
||||
msgid "Cannot save to file"
|
||||
msgstr ""
|
||||
|
||||
#: src/parameters/persistent.cpp:89 src/parameters/persistent.cpp:180
|
||||
msgid "Cannot load from file"
|
||||
msgstr ""
|
||||
|
||||
#: src/parameters/persistent.cpp:138
|
||||
#, c-format
|
||||
msgid "Loaded %i prior measurements\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/parameters/persistent.cpp:181
|
||||
msgid ""
|
||||
"File will be loaded after taking minimum number of measurement(s) with "
|
||||
"battery only \n"
|
||||
msgstr ""
|
||||
|
||||
#: src/perf/perf.cpp:115
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Too many open files, please increase the limit of open file descriptors.\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/perf/perf.cpp:117
|
||||
#, c-format
|
||||
msgid "PowerTOP %s needs the kernel to support the 'perf' subsystem\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/perf/perf.cpp:118
|
||||
#, c-format
|
||||
msgid "as well as support for trace points in the kernel:\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:819
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Estimated power: %5.1f Measured power: %5.1f Sum: %5.1f\n"
|
||||
"\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:838
|
||||
#, c-format
|
||||
msgid "The estimated remaining time is %i hours, %i minutes\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "Summary"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "wakeups/second"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "GPU ops/seconds"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "VFS ops/sec and"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "CPU use"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:850
|
||||
msgid "Power est."
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:850 src/process/do_process.cpp:852
|
||||
#: src/process/do_process.cpp:1078
|
||||
msgid "Events/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:850 src/process/do_process.cpp:852
|
||||
#: src/process/do_process.cpp:931 src/process/do_process.cpp:1079
|
||||
msgid "Category"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:850 src/process/do_process.cpp:852
|
||||
#: src/process/do_process.cpp:932 src/process/do_process.cpp:1080
|
||||
#: src/tuning/tuning.cpp:242 src/tuning/tuning.cpp:270
|
||||
#: src/tuning/tuning.cpp:288 src/wakeup/waketab.cpp:155
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:927
|
||||
msgid "Wakeups/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:928
|
||||
msgid "GPU ops/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:929
|
||||
msgid "Disk IO/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:930
|
||||
msgid "GFX Wakeups/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1017
|
||||
msgid "Overview of Software Power Consumers"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1057
|
||||
msgid "Target:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1058
|
||||
msgid "1 units/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1059
|
||||
msgid "System: "
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1061
|
||||
msgid " wakeup/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1062
|
||||
msgid "CPU: "
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1064
|
||||
#, c-format
|
||||
msgid "% usage"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1065
|
||||
msgid "GPU:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1067 src/process/do_process.cpp:1073
|
||||
msgid " ops/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1068
|
||||
msgid "GFX:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1070
|
||||
msgid " wakeups/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1071
|
||||
msgid "VFS:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1139
|
||||
msgid "Top 10 Power Consumers"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:122
|
||||
msgid "PowerTOP Version"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:131
|
||||
msgid "Kernel Version"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:135
|
||||
msgid "System Name"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:142
|
||||
msgid "CPU Information"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:154
|
||||
msgid "OS Information"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:161
|
||||
msgid "System Information"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:195
|
||||
#, c-format
|
||||
msgid "Cannot open output file %s (%s)\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:211
|
||||
#, c-format
|
||||
msgid "PowerTOP outputing using base filename %s\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/bluetooth.cpp:46 src/tuning/ethernet.cpp:50
|
||||
#: src/tuning/runtime.cpp:42 src/tuning/tunable.cpp:49
|
||||
#: src/tuning/tuningi2c.cpp:35 src/tuning/tuningsysfs.cpp:45
|
||||
#: src/tuning/tuningusb.cpp:39 src/tuning/wifi.cpp:45
|
||||
msgid "Good"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/bluetooth.cpp:46 src/tuning/ethernet.cpp:50
|
||||
#: src/tuning/runtime.cpp:42 src/tuning/tunable.cpp:50
|
||||
#: src/tuning/tuningi2c.cpp:35 src/tuning/tuningsysfs.cpp:45
|
||||
#: src/tuning/tuningusb.cpp:39 src/tuning/wifi.cpp:45
|
||||
msgid "Bad"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/bluetooth.cpp:46 src/tuning/ethernet.cpp:50
|
||||
#: src/tuning/runtime.cpp:42 src/tuning/tunable.cpp:51
|
||||
#: src/tuning/tuningi2c.cpp:35 src/tuning/tuningsysfs.cpp:45
|
||||
#: src/tuning/tuningusb.cpp:39 src/tuning/wifi.cpp:45 src/wakeup/wakeup.cpp:50
|
||||
msgid "Unknown"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/bluetooth.cpp:48
|
||||
#, c-format
|
||||
msgid "Bluetooth device interface status"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/ethernet.cpp:54 src/wakeup/wakeup_ethernet.cpp:51
|
||||
#, c-format
|
||||
msgid "Wake-on-lan status for device %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/runtime.cpp:48
|
||||
#, c-format
|
||||
msgid "Runtime PM for %s device %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/runtime.cpp:50
|
||||
#, c-format
|
||||
msgid "%s device %s has no runtime power management"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/runtime.cpp:74
|
||||
#, c-format
|
||||
msgid "PCI Device %s has no runtime power management"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/runtime.cpp:76
|
||||
#, c-format
|
||||
msgid "Runtime PM for PCI Device %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:62
|
||||
msgid "Enable Audio codec power management"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:63
|
||||
msgid "NMI watchdog should be turned off"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:64
|
||||
msgid "Power Aware CPU scheduler"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:65
|
||||
msgid "VM writeback timeout"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:81
|
||||
msgid "Tunables"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:81
|
||||
msgid " <ESC> Exit | <Enter> Toggle tunable | <r> Window refresh"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:243 src/wakeup/waketab.cpp:156
|
||||
msgid "Script"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:257
|
||||
msgid "Software Settings in Need of Tuning"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:276
|
||||
msgid "Untunable Software Issues"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:300
|
||||
msgid "Optimal Tuned Software Settings"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuningi2c.cpp:57
|
||||
#, c-format
|
||||
msgid "Runtime PM for I2C %s %s (%s)"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuningi2c.cpp:59
|
||||
#, c-format
|
||||
msgid "I2C %s %s has no runtime power management"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuningsysfs.cpp:123
|
||||
#, c-format
|
||||
msgid "Enable SATA link power management for %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuningusb.cpp:54
|
||||
#, c-format
|
||||
msgid "Autosuspend for unknown USB device %s (%s:%s)"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuningusb.cpp:71 src/tuning/tuningusb.cpp:73
|
||||
#: src/tuning/tuningusb.cpp:75
|
||||
#, c-format
|
||||
msgid "Autosuspend for USB device %s [%s]"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/wifi.cpp:48
|
||||
#, c-format
|
||||
msgid "Wireless Power Saving for interface %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/wakeup/waketab.cpp:42
|
||||
msgid "WakeUp"
|
||||
msgstr ""
|
||||
|
||||
#: src/wakeup/waketab.cpp:42
|
||||
msgid " <ESC> Exit | <Enter> Toggle wakeup | <r> Window refresh"
|
||||
msgstr ""
|
||||
|
||||
#: src/wakeup/waketab.cpp:170
|
||||
msgid "Wake status of the devices"
|
||||
msgstr ""
|
||||
|
||||
#: src/wakeup/wakeup.cpp:48 src/wakeup/wakeup_ethernet.cpp:47
|
||||
#: src/wakeup/wakeup_usb.cpp:47
|
||||
msgid "Enable"
|
||||
msgstr ""
|
||||
|
||||
#: src/wakeup/wakeup.cpp:49 src/wakeup/wakeup_ethernet.cpp:47
|
||||
#: src/wakeup/wakeup_usb.cpp:47
|
||||
msgid "Disable"
|
||||
msgstr ""
|
||||
|
||||
#: src/wakeup/wakeup_usb.cpp:51
|
||||
#, c-format
|
||||
msgid "Wake status for USB device %s"
|
||||
msgstr ""
|
||||
6
powertop-v2.10/po/quot.sed
Normal file
6
powertop-v2.10/po/quot.sed
Normal file
@ -0,0 +1,6 @@
|
||||
s/"\([^"]*\)"/“\1”/g
|
||||
s/`\([^`']*\)'/‘\1’/g
|
||||
s/ '\([^`']*\)' / ‘\1’ /g
|
||||
s/ '\([^`']*\)'$/ ‘\1’/g
|
||||
s/^'\([^`']*\)' /‘\1’ /g
|
||||
s/“”/""/g
|
||||
19
powertop-v2.10/po/remove-potcdate.sin
Normal file
19
powertop-v2.10/po/remove-potcdate.sin
Normal file
@ -0,0 +1,19 @@
|
||||
# Sed script that remove the POT-Creation-Date line in the header entry
|
||||
# from a POT file.
|
||||
#
|
||||
# The distinction between the first and the following occurrences of the
|
||||
# pattern is achieved by looking at the hold space.
|
||||
/^"POT-Creation-Date: .*"$/{
|
||||
x
|
||||
# Test if the hold space is empty.
|
||||
s/P/P/
|
||||
ta
|
||||
# Yes it was empty. First occurrence. Remove the line.
|
||||
g
|
||||
d
|
||||
bb
|
||||
:a
|
||||
# The hold space was nonempty. Following occurrences. Do nothing.
|
||||
x
|
||||
:b
|
||||
}
|
||||
1
powertop-v2.10/po/stamp-po
Normal file
1
powertop-v2.10/po/stamp-po
Normal file
@ -0,0 +1 @@
|
||||
timestamp
|
||||
BIN
powertop-v2.10/po/zh_TW.gmo
Normal file
BIN
powertop-v2.10/po/zh_TW.gmo
Normal file
Binary file not shown.
987
powertop-v2.10/po/zh_TW.po
Normal file
987
powertop-v2.10/po/zh_TW.po
Normal file
@ -0,0 +1,987 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR Intel Corporation
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
#
|
||||
# Translators:
|
||||
# Yuan CHAO <yuanchao@gmail.com>, 2012-2013
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PowerTOP\n"
|
||||
"Report-Msgid-Bugs-To: \"powertop@lists.01.org\"\n"
|
||||
"POT-Creation-Date: 2019-01-04 16:21-0800\n"
|
||||
"PO-Revision-Date: 2013-11-05 08:40+0000\n"
|
||||
"Last-Translator: Margie Foster <margie@linux.intel.com>\n"
|
||||
"Language-Team: Chinese (Taiwan) (http://www.transifex.com/projects/p/"
|
||||
"PowerTOP/language/zh_TW/)\n"
|
||||
"Language: zh_TW\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:238
|
||||
#, c-format
|
||||
msgid "Cannot create temp file\n"
|
||||
msgstr "無法建立暫存檔案\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:258
|
||||
#, c-format
|
||||
msgid "Calibrating: CPU usage on %i threads\n"
|
||||
msgstr "校正: CPU 使用量於 %i 執行緒\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:273
|
||||
#, c-format
|
||||
msgid "Calibrating: CPU wakeup power consumption\n"
|
||||
msgstr "校正: CPU 喚醒電源使用量\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:290
|
||||
#, c-format
|
||||
msgid "Calibrating USB devices\n"
|
||||
msgstr "校正 USB 設備\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:292 src/calibrate/calibrate.cpp:309
|
||||
#: src/calibrate/calibrate.cpp:317 src/calibrate/calibrate.cpp:334
|
||||
#, c-format
|
||||
msgid ".... device %s \n"
|
||||
msgstr ".... 裝置 %s \n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:307
|
||||
#, c-format
|
||||
msgid "Calibrating radio devices\n"
|
||||
msgstr "校正無線電設備\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:331
|
||||
#, c-format
|
||||
msgid "Calibrating backlight\n"
|
||||
msgstr "校正螢幕背光\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:355 src/calibrate/calibrate.cpp:365
|
||||
#, c-format
|
||||
msgid "Calibrating idle\n"
|
||||
msgstr "校正閒置\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:378
|
||||
#, c-format
|
||||
msgid "Calibrating: disk usage \n"
|
||||
msgstr "校正: 磁碟使用\n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:403
|
||||
msgid "Starting PowerTOP power estimate calibration \n"
|
||||
msgstr "開始 PowerTOP 電源估計校正 \n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:426
|
||||
msgid "Finishing PowerTOP power estimate calibration \n"
|
||||
msgstr "完成 PowerTOP 電源估計校正 \n"
|
||||
|
||||
#: src/calibrate/calibrate.cpp:430
|
||||
#, c-format
|
||||
msgid "Parameters after calibration:\n"
|
||||
msgstr "校正取得參數:\n"
|
||||
|
||||
#: src/cpu/abstract_cpu.cpp:74
|
||||
msgid "Idle"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/abstract_cpu.cpp:76
|
||||
msgid "Turbo Mode"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_core.cpp:37
|
||||
#, fuzzy, c-format
|
||||
msgid " Core(HW)"
|
||||
msgstr " 核心"
|
||||
|
||||
#: src/cpu/cpu_core.cpp:37
|
||||
#, fuzzy, c-format
|
||||
msgid " Core(OS)"
|
||||
msgstr " 核心"
|
||||
|
||||
#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:324
|
||||
#, c-format
|
||||
msgid " Core"
|
||||
msgstr " 核心"
|
||||
|
||||
#: src/cpu/cpu.cpp:85
|
||||
#, c-format
|
||||
msgid "cpu package %i"
|
||||
msgstr "cpu 代號 %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:86
|
||||
msgid "cpu package"
|
||||
msgstr "cpu 代號"
|
||||
|
||||
#: src/cpu/cpu.cpp:89 src/cpu/cpu.cpp:96
|
||||
#, fuzzy, c-format
|
||||
msgid "package-%i"
|
||||
msgstr "代號 %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:90
|
||||
msgid "cpu rapl package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:97
|
||||
msgid "dram rapl package"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:471
|
||||
msgid "Processor Idle State Report"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:535 src/cpu/cpu.cpp:753
|
||||
msgid "Package"
|
||||
msgstr "代號"
|
||||
|
||||
#: src/cpu/cpu.cpp:566 src/cpu/cpu.cpp:775
|
||||
#, fuzzy, c-format
|
||||
msgid "Core %d"
|
||||
msgstr "核心 %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:573
|
||||
#, fuzzy, c-format
|
||||
msgid "GPU %d"
|
||||
msgstr "GPU %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:594
|
||||
#, fuzzy
|
||||
msgid "CPU"
|
||||
msgstr "CPU %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:676
|
||||
msgid "Processor Frequency Report"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu.cpp:796
|
||||
#, fuzzy, c-format
|
||||
msgid "CPU %d"
|
||||
msgstr "CPU %i"
|
||||
|
||||
#: src/cpu/cpu.cpp:997
|
||||
#, c-format
|
||||
msgid "cpu_idle event returned no state?\n"
|
||||
msgstr "cpu_idle 事件沒有傳回狀態?\n"
|
||||
|
||||
#: src/cpu/cpu.cpp:1012
|
||||
#, c-format
|
||||
msgid "power or cpu_frequency event returned no state?\n"
|
||||
msgstr "power 或 cpu_frequecny 事件沒有傳回狀態?\n"
|
||||
|
||||
#: src/cpu/cpu_linux.cpp:79
|
||||
msgid "C0 polling"
|
||||
msgstr "C0 輪巡"
|
||||
|
||||
#: src/cpu/cpu_linux.cpp:242
|
||||
#, fuzzy, c-format
|
||||
msgid " CPU(OS) %i"
|
||||
msgstr " CPU %i"
|
||||
|
||||
#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:651
|
||||
#, c-format
|
||||
msgid " CPU %i"
|
||||
msgstr " CPU %i"
|
||||
|
||||
#: src/cpu/cpu_package.cpp:47
|
||||
#, c-format
|
||||
msgid " Pkg(HW)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_package.cpp:47
|
||||
#, c-format
|
||||
msgid " Pkg(OS)"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:412
|
||||
#, c-format
|
||||
msgid " Package"
|
||||
msgstr "代號"
|
||||
|
||||
#: src/cpu/intel_cpus.cpp:129
|
||||
#, c-format
|
||||
msgid "read_msr cpu%d 0x%llx : "
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/intel_cpus.cpp:574
|
||||
msgid "C0 active"
|
||||
msgstr "C0 運作中"
|
||||
|
||||
#: src/cpu/intel_cpus.cpp:632
|
||||
#, c-format
|
||||
msgid "Average"
|
||||
msgstr ""
|
||||
|
||||
#: src/cpu/intel_gpu.cpp:64
|
||||
#, fuzzy, c-format
|
||||
msgid " GPU "
|
||||
msgstr "GPU %i"
|
||||
|
||||
#: src/devices/ahci.cpp:154
|
||||
#, c-format
|
||||
msgid "SATA link: %s"
|
||||
msgstr "SATA 連線: %s"
|
||||
|
||||
#: src/devices/ahci.cpp:156
|
||||
#, c-format
|
||||
msgid "SATA disk: %s"
|
||||
msgstr "SATA 磁碟: %s"
|
||||
|
||||
#: src/devices/ahci.cpp:374
|
||||
msgid "AHCI ALPM Residency Statistics - Not supported on this macine"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:389
|
||||
msgid "Link"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:390
|
||||
#, fuzzy
|
||||
msgid "Active"
|
||||
msgstr "C0 運作中"
|
||||
|
||||
#: src/devices/ahci.cpp:391
|
||||
msgid "Partial"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:392
|
||||
msgid "Slumber"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:393
|
||||
msgid "Devslp"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/ahci.cpp:399
|
||||
msgid "AHCI ALPM Residency Statistics"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/alsa.cpp:77
|
||||
#, c-format
|
||||
msgid "Audio codec %s: %s (%s)"
|
||||
msgstr "音效設備 %s: %s (%s)"
|
||||
|
||||
#: src/devices/alsa.cpp:79 src/devices/alsa.cpp:81
|
||||
#, c-format
|
||||
msgid "Audio codec %s: %s"
|
||||
msgstr "音效設備 %s: %s"
|
||||
|
||||
#: src/devices/devfreq.cpp:261
|
||||
#, fuzzy
|
||||
msgid "Device Freq stats"
|
||||
msgstr "設備統計"
|
||||
|
||||
#: src/devices/devfreq.cpp:279
|
||||
msgid " Devfreq is not enabled"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/devfreq.cpp:284
|
||||
msgid " No devfreq devices available"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:172 src/process/do_process.cpp:831
|
||||
#, c-format
|
||||
msgid "The battery reports a discharge rate of %sW\n"
|
||||
msgstr "電池回報放電速率為 %sW\n"
|
||||
|
||||
#: src/devices/device.cpp:174 src/process/do_process.cpp:833
|
||||
#, c-format
|
||||
msgid "The power consumed was %sJ\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:180
|
||||
#, c-format
|
||||
msgid "System baseline power is estimated at %sW\n"
|
||||
msgstr "預期系統基礎用電量為 %sW\n"
|
||||
|
||||
#: src/devices/device.cpp:187
|
||||
msgid "Power est. Usage Device name\n"
|
||||
msgstr "電源預估 使用量 設備名稱\n"
|
||||
|
||||
#: src/devices/device.cpp:189
|
||||
msgid " Usage Device name\n"
|
||||
msgstr " 使用量 設備名稱\n"
|
||||
|
||||
#: src/devices/device.cpp:256
|
||||
#, fuzzy
|
||||
msgid "The battery reports a discharge rate of: "
|
||||
msgstr "電池回報放電速率為 %sW\n"
|
||||
|
||||
#: src/devices/device.cpp:261
|
||||
msgid "The power consumed was : "
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:268
|
||||
#, fuzzy
|
||||
msgid "The system baseline power is estimated at: "
|
||||
msgstr "預期系統基礎用電量為 %sW\n"
|
||||
|
||||
#: src/devices/device.cpp:277 src/process/do_process.cpp:850
|
||||
#: src/process/do_process.cpp:852 src/process/do_process.cpp:926
|
||||
#: src/process/do_process.cpp:1077
|
||||
msgid "Usage"
|
||||
msgstr "用法"
|
||||
|
||||
#: src/devices/device.cpp:278
|
||||
#, fuzzy
|
||||
msgid "Device Name"
|
||||
msgstr "設備統計"
|
||||
|
||||
#: src/devices/device.cpp:280 src/process/do_process.cpp:935
|
||||
#: src/process/do_process.cpp:1082
|
||||
msgid "PW Estimate"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/device.cpp:317
|
||||
msgid "Device Power Report"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/network.cpp:177
|
||||
#, c-format
|
||||
msgid "Network interface: %s (%s)"
|
||||
msgstr "網路介面卡: %s (%s)"
|
||||
|
||||
#: src/devices/rfkill.cpp:65 src/devices/rfkill.cpp:69
|
||||
#, c-format
|
||||
msgid "Radio device: %s"
|
||||
msgstr "無線電設備: %s"
|
||||
|
||||
#: src/devices/runtime_pm.cpp:216
|
||||
#, c-format
|
||||
msgid "I2C %s (%s): %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/runtime_pm.cpp:216 src/tuning/tuningi2c.cpp:57
|
||||
#: src/tuning/tuningi2c.cpp:59
|
||||
msgid "Adapter"
|
||||
msgstr ""
|
||||
|
||||
#: src/devices/runtime_pm.cpp:216 src/devlist.cpp:331
|
||||
#: src/tuning/tuningi2c.cpp:57 src/tuning/tuningi2c.cpp:59
|
||||
#, fuzzy
|
||||
msgid "Device"
|
||||
msgstr "設備統計"
|
||||
|
||||
#: src/devices/runtime_pm.cpp:241
|
||||
#, c-format
|
||||
msgid "PCI Device: %s"
|
||||
msgstr "PCI 設備: %s"
|
||||
|
||||
#: src/devices/usb.cpp:51 src/devices/usb.cpp:96 src/devices/usb.cpp:98
|
||||
#, c-format
|
||||
msgid "USB device: %s"
|
||||
msgstr "USB 設備: %s"
|
||||
|
||||
#: src/devices/usb.cpp:94
|
||||
#, c-format
|
||||
msgid "USB device: %s (%s)"
|
||||
msgstr "USB 設備: %s (%s)"
|
||||
|
||||
#: src/devlist.cpp:330
|
||||
msgid "Process"
|
||||
msgstr ""
|
||||
|
||||
#: src/devlist.cpp:347
|
||||
msgid "Process Device Activity"
|
||||
msgstr ""
|
||||
|
||||
#: src/display.cpp:70
|
||||
msgid "Overview"
|
||||
msgstr "總覽"
|
||||
|
||||
#: src/display.cpp:71
|
||||
msgid "Idle stats"
|
||||
msgstr "閒置統計"
|
||||
|
||||
#: src/display.cpp:72
|
||||
msgid "Frequency stats"
|
||||
msgstr "頻率統計"
|
||||
|
||||
#: src/display.cpp:73
|
||||
msgid "Device stats"
|
||||
msgstr "設備統計"
|
||||
|
||||
#: src/display.cpp:131
|
||||
msgid "Exit"
|
||||
msgstr "離開"
|
||||
|
||||
#: src/display.cpp:132
|
||||
msgid "Navigate"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:288
|
||||
#, c-format
|
||||
msgid "%7sW"
|
||||
msgstr "%7sW"
|
||||
|
||||
#: src/lib.cpp:291
|
||||
#, c-format
|
||||
msgid " 0 mW"
|
||||
msgstr " 0 mW"
|
||||
|
||||
#: src/lib.cpp:410
|
||||
msgid "PS/2 Touchpad / Keyboard / Mouse"
|
||||
msgstr "PS/2 觸控板 / 鍵盤 / 滑鼠"
|
||||
|
||||
#: src/lib.cpp:411
|
||||
msgid "SATA controller"
|
||||
msgstr "SATA 控制器"
|
||||
|
||||
#: src/lib.cpp:412
|
||||
msgid "Intel built in USB hub"
|
||||
msgstr "Intel 內建 USB 集線器"
|
||||
|
||||
#: src/lib.cpp:467
|
||||
#, c-format
|
||||
msgid "glob returned GLOB_NOSPACE\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:471
|
||||
#, c-format
|
||||
msgid "glob returned GLOB_ABORTED\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:475
|
||||
#, c-format
|
||||
msgid "glob returned GLOB_NOMATCH\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/lib.cpp:513 src/lib.cpp:549
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Model-specific registers (MSR)\t\t\t not found (try enabling "
|
||||
"CONFIG_X86_MSR).\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:103
|
||||
#, fuzzy, c-format
|
||||
msgid "PowerTOP version "
|
||||
msgstr "PowerTop 版本"
|
||||
|
||||
#: src/main.cpp:109
|
||||
msgid "Set refresh time out"
|
||||
msgstr "設定更新週期"
|
||||
|
||||
#: src/main.cpp:122
|
||||
msgid "Usage: powertop [OPTIONS]"
|
||||
msgstr "用法: powertop [選項]"
|
||||
|
||||
#: src/main.cpp:123
|
||||
msgid "sets all tunable options to their GOOD setting"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:124
|
||||
msgid "runs powertop in calibration mode"
|
||||
msgstr "以校正模式執行 powertop"
|
||||
|
||||
#: src/main.cpp:125 src/main.cpp:128
|
||||
msgid "[=filename]"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:125
|
||||
msgid "generate a csv report"
|
||||
msgstr "產生 csv 報告"
|
||||
|
||||
#: src/main.cpp:126
|
||||
msgid "run in \"debug\" mode"
|
||||
msgstr "以 \"debug\" 模式執行"
|
||||
|
||||
#: src/main.cpp:127
|
||||
msgid "[=devnode]"
|
||||
msgstr "[= 設備節點]"
|
||||
|
||||
#: src/main.cpp:127
|
||||
msgid "uses an Extech Power Analyzer for measurements"
|
||||
msgstr "使用 Extech 電源分析儀進行量測"
|
||||
|
||||
#: src/main.cpp:128
|
||||
msgid "generate a html report"
|
||||
msgstr "產生 html 報告"
|
||||
|
||||
#: src/main.cpp:129
|
||||
msgid "[=iterations] number of times to run each test"
|
||||
msgstr "[=iterations] 每次檢驗進行量測次數"
|
||||
|
||||
#: src/main.cpp:130
|
||||
msgid "suppress stderr output"
|
||||
msgstr "關閉標準錯誤輸出"
|
||||
|
||||
#: src/main.cpp:131 src/main.cpp:132
|
||||
msgid "[=seconds]"
|
||||
msgstr "[= 秒]"
|
||||
|
||||
#: src/main.cpp:131
|
||||
msgid "interval for power consumption measurement"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:132
|
||||
msgid "generate a report for 'x' seconds"
|
||||
msgstr "產生蒐集資料 'x' 秒鐘的報告"
|
||||
|
||||
#: src/main.cpp:133
|
||||
msgid "[=workload]"
|
||||
msgstr "[=工作負載]"
|
||||
|
||||
#: src/main.cpp:133
|
||||
msgid "file to execute for workload"
|
||||
msgstr "工作負載要執行的檔案"
|
||||
|
||||
#: src/main.cpp:134
|
||||
msgid "print version information"
|
||||
msgstr "顯示版本資訊"
|
||||
|
||||
#: src/main.cpp:135
|
||||
msgid "print this help menu"
|
||||
msgstr "顯示此輔助說明選單"
|
||||
|
||||
#: src/main.cpp:137
|
||||
#, fuzzy
|
||||
msgid "For more help please refer to the 'man 8 powertop'"
|
||||
msgstr "更多的輔助說明請參閱 README"
|
||||
|
||||
#: src/main.cpp:232
|
||||
#, c-format
|
||||
msgid "Unknown issue running workload!\n"
|
||||
msgstr "執行工作負載發生未知問題!\n"
|
||||
|
||||
#: src/main.cpp:289
|
||||
msgid "PowerTOP is out of memory. PowerTOP is Aborting"
|
||||
msgstr "PowerTOP 已耗盡記憶體,退出中。"
|
||||
|
||||
#: src/main.cpp:297
|
||||
#, c-format
|
||||
msgid "Preparing to take measurements\n"
|
||||
msgstr "量測準備中\n"
|
||||
|
||||
#: src/main.cpp:302
|
||||
#, c-format
|
||||
msgid "Taking %d measurement(s) for a duration of %d second(s) each.\n"
|
||||
msgstr "測量 %d 次於每 %d 秒。\n"
|
||||
|
||||
#: src/main.cpp:304
|
||||
#, c-format
|
||||
msgid "Measuring workload %s.\n"
|
||||
msgstr "量測工作負載 %s 。\n"
|
||||
|
||||
#: src/main.cpp:329
|
||||
#, c-format
|
||||
msgid "PowerTOP "
|
||||
msgstr "PowerTOP "
|
||||
|
||||
#: src/main.cpp:330 src/main.cpp:380
|
||||
#, c-format
|
||||
msgid "exiting...\n"
|
||||
msgstr "離開中...\n"
|
||||
|
||||
#: src/main.cpp:364
|
||||
#, c-format
|
||||
msgid "modprobe cpufreq_stats failed"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:367
|
||||
#, c-format
|
||||
msgid "modprobe msr failed"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:379 src/main.cpp:383
|
||||
#, c-format
|
||||
msgid "Failed to mount debugfs!\n"
|
||||
msgstr "debugfs 掛載失敗!\n"
|
||||
|
||||
#: src/main.cpp:384
|
||||
#, c-format
|
||||
msgid "Should still be able to auto tune...\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:466
|
||||
#, c-format
|
||||
msgid "Invalid CSV filename\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:482
|
||||
#, c-format
|
||||
msgid "Invalid HTML filename\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/main.cpp:491
|
||||
#, fuzzy, c-format
|
||||
msgid "Quiet mode failed!\n"
|
||||
msgstr "進入安靜模式失敗!\n"
|
||||
|
||||
#: src/main.cpp:559
|
||||
msgid "Leaving PowerTOP"
|
||||
msgstr "離開 PowerTOP"
|
||||
|
||||
#: src/parameters/persistent.cpp:46 src/parameters/persistent.cpp:155
|
||||
msgid "Cannot save to file"
|
||||
msgstr "無法儲存檔案"
|
||||
|
||||
#: src/parameters/persistent.cpp:89 src/parameters/persistent.cpp:180
|
||||
msgid "Cannot load from file"
|
||||
msgstr "無法讀取檔案"
|
||||
|
||||
#: src/parameters/persistent.cpp:138
|
||||
#, c-format
|
||||
msgid "Loaded %i prior measurements\n"
|
||||
msgstr "已載入 %i 筆先前量測數據\n"
|
||||
|
||||
#: src/parameters/persistent.cpp:181
|
||||
msgid ""
|
||||
"File will be loaded after taking minimum number of measurement(s) with "
|
||||
"battery only \n"
|
||||
msgstr ""
|
||||
|
||||
#: src/perf/perf.cpp:115
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Too many open files, please increase the limit of open file descriptors.\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/perf/perf.cpp:117
|
||||
#, c-format
|
||||
msgid "PowerTOP %s needs the kernel to support the 'perf' subsystem\n"
|
||||
msgstr "PowerTOP %s 需要 Linux 核心 'perf' 子系統支援\n"
|
||||
|
||||
#: src/perf/perf.cpp:118
|
||||
#, c-format
|
||||
msgid "as well as support for trace points in the kernel:\n"
|
||||
msgstr "以及 Linux 核心中斷點 (trace point) 支援:\n"
|
||||
|
||||
#: src/process/do_process.cpp:819
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Estimated power: %5.1f Measured power: %5.1f Sum: %5.1f\n"
|
||||
"\n"
|
||||
msgstr ""
|
||||
"預估用電量: %5.1f 實測用電量: %5.1f 總計: %5.1f\n"
|
||||
"\n"
|
||||
|
||||
#: src/process/do_process.cpp:838
|
||||
#, c-format
|
||||
msgid "The estimated remaining time is %i hours, %i minutes\n"
|
||||
msgstr "估計剩餘時間為 %i 小時 %i 分鐘\n"
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "Summary"
|
||||
msgstr "總覽"
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "wakeups/second"
|
||||
msgstr "喚醒 / 秒"
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "GPU ops/seconds"
|
||||
msgstr "GPU 指令 / 秒"
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "VFS ops/sec and"
|
||||
msgstr "VFS 指令 / 秒 以及"
|
||||
|
||||
#: src/process/do_process.cpp:846
|
||||
msgid "CPU use"
|
||||
msgstr "CPU 用量"
|
||||
|
||||
#: src/process/do_process.cpp:850
|
||||
msgid "Power est."
|
||||
msgstr "電源預計"
|
||||
|
||||
#: src/process/do_process.cpp:850 src/process/do_process.cpp:852
|
||||
#: src/process/do_process.cpp:1078
|
||||
msgid "Events/s"
|
||||
msgstr "事件 / 秒"
|
||||
|
||||
#: src/process/do_process.cpp:850 src/process/do_process.cpp:852
|
||||
#: src/process/do_process.cpp:931 src/process/do_process.cpp:1079
|
||||
msgid "Category"
|
||||
msgstr "分類"
|
||||
|
||||
#: src/process/do_process.cpp:850 src/process/do_process.cpp:852
|
||||
#: src/process/do_process.cpp:932 src/process/do_process.cpp:1080
|
||||
#: src/tuning/tuning.cpp:242 src/tuning/tuning.cpp:270
|
||||
#: src/tuning/tuning.cpp:288 src/wakeup/waketab.cpp:155
|
||||
msgid "Description"
|
||||
msgstr "描述"
|
||||
|
||||
#: src/process/do_process.cpp:927
|
||||
msgid "Wakeups/s"
|
||||
msgstr "喚醒 / 秒"
|
||||
|
||||
#: src/process/do_process.cpp:928
|
||||
msgid "GPU ops/s"
|
||||
msgstr "GPU 指令 / 秒"
|
||||
|
||||
#: src/process/do_process.cpp:929
|
||||
msgid "Disk IO/s"
|
||||
msgstr "磁碟 IO / 秒"
|
||||
|
||||
#: src/process/do_process.cpp:930
|
||||
msgid "GFX Wakeups/s"
|
||||
msgstr "GFX 喚醒 / 秒"
|
||||
|
||||
#: src/process/do_process.cpp:1017
|
||||
msgid "Overview of Software Power Consumers"
|
||||
msgstr "軟體耗電量大戶總覽"
|
||||
|
||||
#: src/process/do_process.cpp:1057
|
||||
msgid "Target:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1058
|
||||
msgid "1 units/s"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1059
|
||||
msgid "System: "
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1061
|
||||
#, fuzzy
|
||||
msgid " wakeup/s"
|
||||
msgstr "喚醒 / 秒"
|
||||
|
||||
#: src/process/do_process.cpp:1062
|
||||
msgid "CPU: "
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1064
|
||||
#, fuzzy, c-format
|
||||
msgid "% usage"
|
||||
msgstr "用法"
|
||||
|
||||
#: src/process/do_process.cpp:1065
|
||||
msgid "GPU:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1067 src/process/do_process.cpp:1073
|
||||
#, fuzzy
|
||||
msgid " ops/s"
|
||||
msgstr "GPU 指令 / 秒"
|
||||
|
||||
#: src/process/do_process.cpp:1068
|
||||
msgid "GFX:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1070
|
||||
#, fuzzy
|
||||
msgid " wakeups/s"
|
||||
msgstr "喚醒 / 秒"
|
||||
|
||||
#: src/process/do_process.cpp:1071
|
||||
msgid "VFS:"
|
||||
msgstr ""
|
||||
|
||||
#: src/process/do_process.cpp:1139
|
||||
#, fuzzy
|
||||
msgid "Top 10 Power Consumers"
|
||||
msgstr "軟體耗電量大戶總覽"
|
||||
|
||||
#: src/report/report.cpp:122
|
||||
#, fuzzy
|
||||
msgid "PowerTOP Version"
|
||||
msgstr "PowerTop 版本"
|
||||
|
||||
#: src/report/report.cpp:131
|
||||
#, fuzzy
|
||||
msgid "Kernel Version"
|
||||
msgstr "PowerTop 版本"
|
||||
|
||||
#: src/report/report.cpp:135
|
||||
msgid "System Name"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:142
|
||||
msgid "CPU Information"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:154
|
||||
msgid "OS Information"
|
||||
msgstr ""
|
||||
|
||||
#: src/report/report.cpp:161
|
||||
#, fuzzy
|
||||
msgid "System Information"
|
||||
msgstr "顯示版本資訊"
|
||||
|
||||
#: src/report/report.cpp:195
|
||||
#, fuzzy, c-format
|
||||
msgid "Cannot open output file %s (%s)\n"
|
||||
msgstr "無法建立暫存檔案\n"
|
||||
|
||||
#: src/report/report.cpp:211
|
||||
#, c-format
|
||||
msgid "PowerTOP outputing using base filename %s\n"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/bluetooth.cpp:46 src/tuning/ethernet.cpp:50
|
||||
#: src/tuning/runtime.cpp:42 src/tuning/tunable.cpp:49
|
||||
#: src/tuning/tuningi2c.cpp:35 src/tuning/tuningsysfs.cpp:45
|
||||
#: src/tuning/tuningusb.cpp:39 src/tuning/wifi.cpp:45
|
||||
msgid "Good"
|
||||
msgstr "好"
|
||||
|
||||
#: src/tuning/bluetooth.cpp:46 src/tuning/ethernet.cpp:50
|
||||
#: src/tuning/runtime.cpp:42 src/tuning/tunable.cpp:50
|
||||
#: src/tuning/tuningi2c.cpp:35 src/tuning/tuningsysfs.cpp:45
|
||||
#: src/tuning/tuningusb.cpp:39 src/tuning/wifi.cpp:45
|
||||
msgid "Bad"
|
||||
msgstr "壞"
|
||||
|
||||
#: src/tuning/bluetooth.cpp:46 src/tuning/ethernet.cpp:50
|
||||
#: src/tuning/runtime.cpp:42 src/tuning/tunable.cpp:51
|
||||
#: src/tuning/tuningi2c.cpp:35 src/tuning/tuningsysfs.cpp:45
|
||||
#: src/tuning/tuningusb.cpp:39 src/tuning/wifi.cpp:45 src/wakeup/wakeup.cpp:50
|
||||
msgid "Unknown"
|
||||
msgstr "未知"
|
||||
|
||||
#: src/tuning/bluetooth.cpp:48
|
||||
#, c-format
|
||||
msgid "Bluetooth device interface status"
|
||||
msgstr "藍牙設備介面狀態"
|
||||
|
||||
#: src/tuning/ethernet.cpp:54 src/wakeup/wakeup_ethernet.cpp:51
|
||||
#, c-format
|
||||
msgid "Wake-on-lan status for device %s"
|
||||
msgstr "網路喚醒啟用狀態於設備 %s"
|
||||
|
||||
#: src/tuning/runtime.cpp:48
|
||||
#, c-format
|
||||
msgid "Runtime PM for %s device %s"
|
||||
msgstr "執行時期省電 %s 設備 %s"
|
||||
|
||||
#: src/tuning/runtime.cpp:50
|
||||
#, c-format
|
||||
msgid "%s device %s has no runtime power management"
|
||||
msgstr "%s 設備 %s 沒有執行時期電源管理功能"
|
||||
|
||||
#: src/tuning/runtime.cpp:74
|
||||
#, c-format
|
||||
msgid "PCI Device %s has no runtime power management"
|
||||
msgstr "PCI 設備 %s 沒有執行時期電源管理功能"
|
||||
|
||||
#: src/tuning/runtime.cpp:76
|
||||
#, c-format
|
||||
msgid "Runtime PM for PCI Device %s"
|
||||
msgstr "PCI 設備 %s 電源管理"
|
||||
|
||||
#: src/tuning/tuning.cpp:62
|
||||
msgid "Enable Audio codec power management"
|
||||
msgstr "啟用音效設備電源管理功能"
|
||||
|
||||
#: src/tuning/tuning.cpp:63
|
||||
msgid "NMI watchdog should be turned off"
|
||||
msgstr "NMI watchdog 監控應該關閉"
|
||||
|
||||
#: src/tuning/tuning.cpp:64
|
||||
msgid "Power Aware CPU scheduler"
|
||||
msgstr "省電型 CPU 排程器 "
|
||||
|
||||
#: src/tuning/tuning.cpp:65
|
||||
msgid "VM writeback timeout"
|
||||
msgstr "VM 回寫延時"
|
||||
|
||||
#: src/tuning/tuning.cpp:81
|
||||
msgid "Tunables"
|
||||
msgstr "可調選項"
|
||||
|
||||
#: src/tuning/tuning.cpp:81
|
||||
msgid " <ESC> Exit | <Enter> Toggle tunable | <r> Window refresh"
|
||||
msgstr " <ESC> 離開 | <Enter> 切換選項開關 | <r> 更新視窗內容"
|
||||
|
||||
#: src/tuning/tuning.cpp:243 src/wakeup/waketab.cpp:156
|
||||
msgid "Script"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:257
|
||||
msgid "Software Settings in Need of Tuning"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:276
|
||||
msgid "Untunable Software Issues"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuning.cpp:300
|
||||
msgid "Optimal Tuned Software Settings"
|
||||
msgstr ""
|
||||
|
||||
#: src/tuning/tuningi2c.cpp:57
|
||||
#, fuzzy, c-format
|
||||
msgid "Runtime PM for I2C %s %s (%s)"
|
||||
msgstr "執行時期省電 %s 設備 %s"
|
||||
|
||||
#: src/tuning/tuningi2c.cpp:59
|
||||
#, fuzzy, c-format
|
||||
msgid "I2C %s %s has no runtime power management"
|
||||
msgstr "%s 設備 %s 沒有執行時期電源管理功能"
|
||||
|
||||
#: src/tuning/tuningsysfs.cpp:123
|
||||
#, fuzzy, c-format
|
||||
msgid "Enable SATA link power management for %s"
|
||||
msgstr "啟用 %s 的 SATA 連線電源管理"
|
||||
|
||||
#: src/tuning/tuningusb.cpp:54
|
||||
#, c-format
|
||||
msgid "Autosuspend for unknown USB device %s (%s:%s)"
|
||||
msgstr "自動閒置於未知的 USB 設備 %s (%s:%s)"
|
||||
|
||||
#: src/tuning/tuningusb.cpp:71 src/tuning/tuningusb.cpp:73
|
||||
#: src/tuning/tuningusb.cpp:75
|
||||
#, c-format
|
||||
msgid "Autosuspend for USB device %s [%s]"
|
||||
msgstr "自動閒置於 USB 設備 %s [%s]"
|
||||
|
||||
#: src/tuning/wifi.cpp:48
|
||||
#, c-format
|
||||
msgid "Wireless Power Saving for interface %s"
|
||||
msgstr "無線網路省電狀態於設備 %s"
|
||||
|
||||
#: src/wakeup/waketab.cpp:42
|
||||
#, fuzzy
|
||||
msgid "WakeUp"
|
||||
msgstr "喚醒 / 秒"
|
||||
|
||||
#: src/wakeup/waketab.cpp:42
|
||||
#, fuzzy
|
||||
msgid " <ESC> Exit | <Enter> Toggle wakeup | <r> Window refresh"
|
||||
msgstr " <ESC> 離開 | <Enter> 切換選項開關 | <r> 更新視窗內容"
|
||||
|
||||
#: src/wakeup/waketab.cpp:170
|
||||
#, fuzzy
|
||||
msgid "Wake status of the devices"
|
||||
msgstr "網路喚醒啟用狀態於設備 %s"
|
||||
|
||||
#: src/wakeup/wakeup.cpp:48 src/wakeup/wakeup_ethernet.cpp:47
|
||||
#: src/wakeup/wakeup_usb.cpp:47
|
||||
#, fuzzy
|
||||
msgid "Enable"
|
||||
msgstr "可調選項"
|
||||
|
||||
#: src/wakeup/wakeup.cpp:49 src/wakeup/wakeup_ethernet.cpp:47
|
||||
#: src/wakeup/wakeup_usb.cpp:47
|
||||
msgid "Disable"
|
||||
msgstr ""
|
||||
|
||||
#: src/wakeup/wakeup_usb.cpp:51
|
||||
#, fuzzy, c-format
|
||||
msgid "Wake status for USB device %s"
|
||||
msgstr "網路喚醒啟用狀態於設備 %s"
|
||||
|
||||
#~ msgid "Actual"
|
||||
#~ msgstr "實際"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "I2C Device: %s"
|
||||
#~ msgstr "PCI 設備: %s"
|
||||
|
||||
#~ msgid "[=FILENAME]"
|
||||
#~ msgstr "[= 檔案名稱]"
|
||||
|
||||
#~ msgid "Using 'ondemand' cpufreq governor"
|
||||
#~ msgstr "使用 'ondemand' cpu 排程器"
|
||||
|
||||
#~ msgid "Power Consumption Summary"
|
||||
#~ msgstr "電源使用量總覽"
|
||||
|
||||
#~ msgid "GPU ops/second"
|
||||
#~ msgstr "GPU 指令 / 秒"
|
||||
|
||||
#~ msgid "VFS ops/sec"
|
||||
#~ msgstr "VFS 指令 / 秒"
|
||||
|
||||
#~ msgid "GFX wakes/sec and"
|
||||
#~ msgstr "GFX 喚醒 / 秒 以及"
|
||||
1
powertop-v2.10/src
Submodule
1
powertop-v2.10/src
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 4197595d69fa9bff5e9c3d47a22fbff2fbb496cc
|
||||
7
powertop-v2.10/traceevent/Makefile.am
Normal file
7
powertop-v2.10/traceevent/Makefile.am
Normal file
@ -0,0 +1,7 @@
|
||||
noinst_LTLIBRARIES = libtraceevnet.la
|
||||
libtraceevnet_la_SOURCES = event-parse.c \
|
||||
event-parse.h \
|
||||
event-utils.h \
|
||||
parse-filter.c\
|
||||
parse-utils.c \
|
||||
trace-seq.c
|
||||
638
powertop-v2.10/traceevent/Makefile.in
Normal file
638
powertop-v2.10/traceevent/Makefile.in
Normal file
@ -0,0 +1,638 @@
|
||||
# Makefile.in generated by automake 1.15 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994-2014 Free Software Foundation, Inc.
|
||||
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
VPATH = @srcdir@
|
||||
am__is_gnu_make = { \
|
||||
if test -z '$(MAKELEVEL)'; then \
|
||||
false; \
|
||||
elif test -n '$(MAKE_HOST)'; then \
|
||||
true; \
|
||||
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
|
||||
true; \
|
||||
else \
|
||||
false; \
|
||||
fi; \
|
||||
}
|
||||
am__make_running_with_option = \
|
||||
case $${target_option-} in \
|
||||
?) ;; \
|
||||
*) echo "am__make_running_with_option: internal error: invalid" \
|
||||
"target option '$${target_option-}' specified" >&2; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
has_opt=no; \
|
||||
sane_makeflags=$$MAKEFLAGS; \
|
||||
if $(am__is_gnu_make); then \
|
||||
sane_makeflags=$$MFLAGS; \
|
||||
else \
|
||||
case $$MAKEFLAGS in \
|
||||
*\\[\ \ ]*) \
|
||||
bs=\\; \
|
||||
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
|
||||
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
|
||||
esac; \
|
||||
fi; \
|
||||
skip_next=no; \
|
||||
strip_trailopt () \
|
||||
{ \
|
||||
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
|
||||
}; \
|
||||
for flg in $$sane_makeflags; do \
|
||||
test $$skip_next = yes && { skip_next=no; continue; }; \
|
||||
case $$flg in \
|
||||
*=*|--*) continue;; \
|
||||
-*I) strip_trailopt 'I'; skip_next=yes;; \
|
||||
-*I?*) strip_trailopt 'I';; \
|
||||
-*O) strip_trailopt 'O'; skip_next=yes;; \
|
||||
-*O?*) strip_trailopt 'O';; \
|
||||
-*l) strip_trailopt 'l'; skip_next=yes;; \
|
||||
-*l?*) strip_trailopt 'l';; \
|
||||
-[dEDm]) skip_next=yes;; \
|
||||
-[JT]) skip_next=yes;; \
|
||||
esac; \
|
||||
case $$flg in \
|
||||
*$$target_option*) has_opt=yes; break;; \
|
||||
esac; \
|
||||
done; \
|
||||
test $$has_opt = yes
|
||||
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
|
||||
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
subdir = traceevent
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_cxx_compile_stdcxx_11.m4 \
|
||||
$(top_srcdir)/m4/ax_pthread.m4 \
|
||||
$(top_srcdir)/m4/gcc_fortify_source_cc.m4 \
|
||||
$(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/iconv.m4 \
|
||||
$(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/lib-ld.m4 \
|
||||
$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
|
||||
$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
|
||||
$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
|
||||
$(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
|
||||
$(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/po.m4 \
|
||||
$(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
CONFIG_CLEAN_VPATH_FILES =
|
||||
LTLIBRARIES = $(noinst_LTLIBRARIES)
|
||||
libtraceevnet_la_LIBADD =
|
||||
am_libtraceevnet_la_OBJECTS = event-parse.lo parse-filter.lo \
|
||||
parse-utils.lo trace-seq.lo
|
||||
libtraceevnet_la_OBJECTS = $(am_libtraceevnet_la_OBJECTS)
|
||||
AM_V_lt = $(am__v_lt_@AM_V@)
|
||||
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
|
||||
am__v_lt_0 = --silent
|
||||
am__v_lt_1 =
|
||||
AM_V_P = $(am__v_P_@AM_V@)
|
||||
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
|
||||
am__v_P_0 = false
|
||||
am__v_P_1 = :
|
||||
AM_V_GEN = $(am__v_GEN_@AM_V@)
|
||||
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
|
||||
am__v_GEN_0 = @echo " GEN " $@;
|
||||
am__v_GEN_1 =
|
||||
AM_V_at = $(am__v_at_@AM_V@)
|
||||
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
|
||||
am__v_at_0 = @
|
||||
am__v_at_1 =
|
||||
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
am__depfiles_maybe = depfiles
|
||||
am__mv = mv -f
|
||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
|
||||
$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
|
||||
$(AM_CFLAGS) $(CFLAGS)
|
||||
AM_V_CC = $(am__v_CC_@AM_V@)
|
||||
am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
|
||||
am__v_CC_0 = @echo " CC " $@;
|
||||
am__v_CC_1 =
|
||||
CCLD = $(CC)
|
||||
LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||
AM_V_CCLD = $(am__v_CCLD_@AM_V@)
|
||||
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
|
||||
am__v_CCLD_0 = @echo " CCLD " $@;
|
||||
am__v_CCLD_1 =
|
||||
SOURCES = $(libtraceevnet_la_SOURCES)
|
||||
DIST_SOURCES = $(libtraceevnet_la_SOURCES)
|
||||
am__can_run_installinfo = \
|
||||
case $$AM_UPDATE_INFO_DIR in \
|
||||
n|no|NO) false;; \
|
||||
*) (install-info --version) >/dev/null 2>&1;; \
|
||||
esac
|
||||
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
|
||||
# Read a list of newline-separated strings from the standard input,
|
||||
# and print each of them once, without duplicates. Input order is
|
||||
# *not* preserved.
|
||||
am__uniquify_input = $(AWK) '\
|
||||
BEGIN { nonempty = 0; } \
|
||||
{ items[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in items) print i; }; } \
|
||||
'
|
||||
# Make sure the list of sources is unique. This is necessary because,
|
||||
# e.g., the same source file might be shared among _SOURCES variables
|
||||
# for different programs/libraries.
|
||||
am__define_uniq_tagged_files = \
|
||||
list='$(am__tagged_files)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | $(am__uniquify_input)`
|
||||
ETAGS = etags
|
||||
CTAGS = ctags
|
||||
am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AMTAR = @AMTAR@
|
||||
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||
AR = @AR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
DSYMUTIL = @DSYMUTIL@
|
||||
DUMPBIN = @DUMPBIN@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
FGREP = @FGREP@
|
||||
GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
|
||||
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
|
||||
GMSGFMT = @GMSGFMT@
|
||||
GMSGFMT_015 = @GMSGFMT_015@
|
||||
GREP = @GREP@
|
||||
HAVE_CXX11 = @HAVE_CXX11@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
INTLLIBS = @INTLLIBS@
|
||||
INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
|
||||
LD = @LD@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBICONV = @LIBICONV@
|
||||
LIBINTL = @LIBINTL@
|
||||
LIBNL_CFLAGS = @LIBNL_CFLAGS@
|
||||
LIBNL_LIBS = @LIBNL_LIBS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LIPO = @LIPO@
|
||||
LN_S = @LN_S@
|
||||
LTLIBICONV = @LTLIBICONV@
|
||||
LTLIBINTL = @LTLIBINTL@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
MSGFMT = @MSGFMT@
|
||||
MSGFMT_015 = @MSGFMT_015@
|
||||
MSGMERGE = @MSGMERGE@
|
||||
NCURSES_CFLAGS = @NCURSES_CFLAGS@
|
||||
NCURSES_LIBS = @NCURSES_LIBS@
|
||||
NM = @NM@
|
||||
NMEDIT = @NMEDIT@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
OBJEXT = @OBJEXT@
|
||||
OTOOL = @OTOOL@
|
||||
OTOOL64 = @OTOOL64@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_URL = @PACKAGE_URL@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
PCIUTILS_CFLAGS = @PCIUTILS_CFLAGS@
|
||||
PCIUTILS_LIBS = @PCIUTILS_LIBS@
|
||||
PKG_CONFIG = @PKG_CONFIG@
|
||||
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
|
||||
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
|
||||
POSUB = @POSUB@
|
||||
POW_LIB = @POW_LIB@
|
||||
PTHREAD_CC = @PTHREAD_CC@
|
||||
PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
|
||||
PTHREAD_LIBS = @PTHREAD_LIBS@
|
||||
RANLIB = @RANLIB@
|
||||
SED = @SED@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
XGETTEXT_015 = @XGETTEXT_015@
|
||||
XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_AR = @ac_ct_AR@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_CXX = @ac_ct_CXX@
|
||||
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
ax_pthread_config = @ax_pthread_config@
|
||||
bindir = @bindir@
|
||||
build = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
builddir = @builddir@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
runstatedir = @runstatedir@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
srcdir = @srcdir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
noinst_LTLIBRARIES = libtraceevnet.la
|
||||
libtraceevnet_la_SOURCES = event-parse.c \
|
||||
event-parse.h \
|
||||
event-utils.h \
|
||||
parse-filter.c\
|
||||
parse-utils.c \
|
||||
trace-seq.c
|
||||
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .lo .o .obj
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
||||
&& { if test -f $@; then exit 0; else break; fi; }; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign traceevent/Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign traceevent/Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(am__aclocal_m4_deps):
|
||||
|
||||
clean-noinstLTLIBRARIES:
|
||||
-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
|
||||
@list='$(noinst_LTLIBRARIES)'; \
|
||||
locs=`for p in $$list; do echo $$p; done | \
|
||||
sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
|
||||
sort -u`; \
|
||||
test -z "$$locs" || { \
|
||||
echo rm -f $${locs}; \
|
||||
rm -f $${locs}; \
|
||||
}
|
||||
|
||||
libtraceevnet.la: $(libtraceevnet_la_OBJECTS) $(libtraceevnet_la_DEPENDENCIES) $(EXTRA_libtraceevnet_la_DEPENDENCIES)
|
||||
$(AM_V_CCLD)$(LINK) $(libtraceevnet_la_OBJECTS) $(libtraceevnet_la_LIBADD) $(LIBS)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT)
|
||||
|
||||
distclean-compile:
|
||||
-rm -f *.tab.c
|
||||
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/event-parse.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parse-filter.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parse-utils.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/trace-seq.Plo@am__quote@
|
||||
|
||||
.c.o:
|
||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
|
||||
|
||||
.c.obj:
|
||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
|
||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
|
||||
|
||||
.c.lo:
|
||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
|
||||
ID: $(am__tagged_files)
|
||||
$(am__define_uniq_tagged_files); mkid -fID $$unique
|
||||
tags: tags-am
|
||||
TAGS: tags
|
||||
|
||||
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
||||
set x; \
|
||||
here=`pwd`; \
|
||||
$(am__define_uniq_tagged_files); \
|
||||
shift; \
|
||||
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
||||
test -n "$$unique" || unique=$$empty_fix; \
|
||||
if test $$# -gt 0; then \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
"$$@" $$unique; \
|
||||
else \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$unique; \
|
||||
fi; \
|
||||
fi
|
||||
ctags: ctags-am
|
||||
|
||||
CTAGS: ctags
|
||||
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
||||
$(am__define_uniq_tagged_files); \
|
||||
test -z "$(CTAGS_ARGS)$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& $(am__cd) $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) "$$here"
|
||||
cscopelist: cscopelist-am
|
||||
|
||||
cscopelist-am: $(am__tagged_files)
|
||||
list='$(am__tagged_files)'; \
|
||||
case "$(srcdir)" in \
|
||||
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
|
||||
*) sdir=$(subdir)/$(srcdir) ;; \
|
||||
esac; \
|
||||
for i in $$list; do \
|
||||
if test -f "$$i"; then \
|
||||
echo "$(subdir)/$$i"; \
|
||||
else \
|
||||
echo "$$sdir/$$i"; \
|
||||
fi; \
|
||||
done >> $(top_builddir)/cscope.files
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
list='$(DISTFILES)'; \
|
||||
dist_files=`for file in $$list; do echo $$file; done | \
|
||||
sed -e "s|^$$srcdirstrip/||;t" \
|
||||
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||
case $$dist_files in \
|
||||
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||
sort -u` ;; \
|
||||
esac; \
|
||||
for file in $$dist_files; do \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test -d "$(distdir)/$$file"; then \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
||||
else \
|
||||
test -f "$(distdir)/$$file" \
|
||||
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
all-am: Makefile $(LTLIBRARIES)
|
||||
installdirs:
|
||||
install: install-am
|
||||
install-exec: install-exec-am
|
||||
install-data: install-data-am
|
||||
uninstall: uninstall-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
install-strip:
|
||||
if test -z '$(STRIP)'; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
install; \
|
||||
else \
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
|
||||
fi
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
|
||||
mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
-rm -rf ./$(DEPDIR)
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-compile distclean-generic \
|
||||
distclean-tags
|
||||
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-am
|
||||
|
||||
html-am:
|
||||
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am:
|
||||
|
||||
install-dvi: install-dvi-am
|
||||
|
||||
install-dvi-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-html: install-html-am
|
||||
|
||||
install-html-am:
|
||||
|
||||
install-info: install-info-am
|
||||
|
||||
install-info-am:
|
||||
|
||||
install-man:
|
||||
|
||||
install-pdf: install-pdf-am
|
||||
|
||||
install-pdf-am:
|
||||
|
||||
install-ps: install-ps-am
|
||||
|
||||
install-ps-am:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
-rm -rf ./$(DEPDIR)
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||
mostlyclean-libtool
|
||||
|
||||
pdf: pdf-am
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-am
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am:
|
||||
|
||||
.MAKE: install-am install-strip
|
||||
|
||||
.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
|
||||
clean-libtool clean-noinstLTLIBRARIES cscopelist-am ctags \
|
||||
ctags-am distclean distclean-compile distclean-generic \
|
||||
distclean-libtool distclean-tags distdir dvi dvi-am html \
|
||||
html-am info info-am install install-am install-data \
|
||||
install-data-am install-dvi install-dvi-am install-exec \
|
||||
install-exec-am install-html install-html-am install-info \
|
||||
install-info-am install-man install-pdf install-pdf-am \
|
||||
install-ps install-ps-am install-strip installcheck \
|
||||
installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
||||
tags tags-am uninstall uninstall-am
|
||||
|
||||
.PRECIOUS: Makefile
|
||||
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
5659
powertop-v2.10/traceevent/event-parse.c
Normal file
5659
powertop-v2.10/traceevent/event-parse.c
Normal file
File diff suppressed because it is too large
Load Diff
857
powertop-v2.10/traceevent/event-parse.h
Normal file
857
powertop-v2.10/traceevent/event-parse.h
Normal file
@ -0,0 +1,857 @@
|
||||
/*
|
||||
* Copyright (C) 2009, 2010 Red Hat Inc, Steven Rostedt <srostedt@redhat.com>
|
||||
*
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation;
|
||||
* version 2.1 of the License (not later!)
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this program; if not, see <http://www.gnu.org/licenses>
|
||||
*
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
*/
|
||||
#ifndef _PARSE_EVENTS_H
|
||||
#define _PARSE_EVENTS_H
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <regex.h>
|
||||
|
||||
#ifndef __maybe_unused
|
||||
#define __maybe_unused __attribute__((unused))
|
||||
#endif
|
||||
|
||||
/* ----------------------- trace_seq ----------------------- */
|
||||
|
||||
|
||||
#ifndef TRACE_SEQ_BUF_SIZE
|
||||
#define TRACE_SEQ_BUF_SIZE 4096
|
||||
#endif
|
||||
|
||||
#ifndef DEBUG_RECORD
|
||||
#define DEBUG_RECORD 0
|
||||
#endif
|
||||
|
||||
struct pevent_record {
|
||||
unsigned long long ts;
|
||||
unsigned long long offset;
|
||||
long long missed_events; /* buffer dropped events before */
|
||||
int record_size; /* size of binary record */
|
||||
int size; /* size of data */
|
||||
void *data;
|
||||
int cpu;
|
||||
int ref_count;
|
||||
int locked; /* Do not free, even if ref_count is zero */
|
||||
void *priv;
|
||||
#if DEBUG_RECORD
|
||||
struct pevent_record *prev;
|
||||
struct pevent_record *next;
|
||||
long alloc_addr;
|
||||
#endif
|
||||
};
|
||||
|
||||
/*
|
||||
* Trace sequences are used to allow a function to call several other functions
|
||||
* to create a string of data to use (up to a max of PAGE_SIZE).
|
||||
*/
|
||||
|
||||
struct trace_seq {
|
||||
char *buffer;
|
||||
unsigned int buffer_size;
|
||||
unsigned int len;
|
||||
unsigned int readpos;
|
||||
};
|
||||
|
||||
void trace_seq_init(struct trace_seq *s);
|
||||
void trace_seq_reset(struct trace_seq *s);
|
||||
void trace_seq_destroy(struct trace_seq *s);
|
||||
|
||||
extern int trace_seq_printf(struct trace_seq *s, const char *fmt, ...)
|
||||
__attribute__ ((format (printf, 2, 3)));
|
||||
extern int trace_seq_vprintf(struct trace_seq *s, const char *fmt, va_list args)
|
||||
__attribute__ ((format (printf, 2, 0)));
|
||||
|
||||
extern int trace_seq_puts(struct trace_seq *s, const char *str);
|
||||
extern int trace_seq_putc(struct trace_seq *s, unsigned char c);
|
||||
|
||||
extern void trace_seq_terminate(struct trace_seq *s);
|
||||
|
||||
extern int trace_seq_do_printf(struct trace_seq *s);
|
||||
|
||||
|
||||
/* ----------------------- pevent ----------------------- */
|
||||
|
||||
struct pevent;
|
||||
struct event_format;
|
||||
|
||||
typedef int (*pevent_event_handler_func)(struct trace_seq *s,
|
||||
struct pevent_record *record,
|
||||
struct event_format *event,
|
||||
void *context);
|
||||
|
||||
typedef int (*pevent_plugin_load_func)(struct pevent *pevent);
|
||||
typedef int (*pevent_plugin_unload_func)(void);
|
||||
|
||||
struct plugin_option {
|
||||
struct plugin_option *next;
|
||||
void *handle;
|
||||
char *file;
|
||||
char *name;
|
||||
char *plugin_alias;
|
||||
char *description;
|
||||
char *value;
|
||||
void *priv;
|
||||
int set;
|
||||
};
|
||||
|
||||
/*
|
||||
* Plugin hooks that can be called:
|
||||
*
|
||||
* PEVENT_PLUGIN_LOADER: (required)
|
||||
* The function name to initialized the plugin.
|
||||
*
|
||||
* int PEVENT_PLUGIN_LOADER(struct pevent *pevent)
|
||||
*
|
||||
* PEVENT_PLUGIN_UNLOADER: (optional)
|
||||
* The function called just before unloading
|
||||
*
|
||||
* int PEVENT_PLUGIN_UNLOADER(void)
|
||||
*
|
||||
* PEVENT_PLUGIN_OPTIONS: (optional)
|
||||
* Plugin options that can be set before loading
|
||||
*
|
||||
* struct plugin_option PEVENT_PLUGIN_OPTIONS[] = {
|
||||
* {
|
||||
* .name = "option-name",
|
||||
* .plugin_alias = "overide-file-name", (optional)
|
||||
* .description = "description of option to show users",
|
||||
* },
|
||||
* {
|
||||
* .name = NULL,
|
||||
* },
|
||||
* };
|
||||
*
|
||||
* Array must end with .name = NULL;
|
||||
*
|
||||
*
|
||||
* .plugin_alias is used to give a shorter name to access
|
||||
* the vairable. Useful if a plugin handles more than one event.
|
||||
*
|
||||
* PEVENT_PLUGIN_ALIAS: (optional)
|
||||
* The name to use for finding options (uses filename if not defined)
|
||||
*/
|
||||
#define PEVENT_PLUGIN_LOADER pevent_plugin_loader
|
||||
#define PEVENT_PLUGIN_UNLOADER pevent_plugin_unloader
|
||||
#define PEVENT_PLUGIN_OPTIONS pevent_plugin_options
|
||||
#define PEVENT_PLUGIN_ALIAS pevent_plugin_alias
|
||||
#define _MAKE_STR(x) #x
|
||||
#define MAKE_STR(x) _MAKE_STR(x)
|
||||
#define PEVENT_PLUGIN_LOADER_NAME MAKE_STR(PEVENT_PLUGIN_LOADER)
|
||||
#define PEVENT_PLUGIN_UNLOADER_NAME MAKE_STR(PEVENT_PLUGIN_UNLOADER)
|
||||
#define PEVENT_PLUGIN_OPTIONS_NAME MAKE_STR(PEVENT_PLUGIN_OPTIONS)
|
||||
#define PEVENT_PLUGIN_ALIAS_NAME MAKE_STR(PEVENT_PLUGIN_ALIAS)
|
||||
|
||||
#define NSECS_PER_SEC 1000000000ULL
|
||||
#define NSECS_PER_USEC 1000ULL
|
||||
|
||||
enum format_flags {
|
||||
FIELD_IS_ARRAY = 1,
|
||||
FIELD_IS_POINTER = 2,
|
||||
FIELD_IS_SIGNED = 4,
|
||||
FIELD_IS_STRING = 8,
|
||||
FIELD_IS_DYNAMIC = 16,
|
||||
FIELD_IS_LONG = 32,
|
||||
FIELD_IS_FLAG = 64,
|
||||
FIELD_IS_SYMBOLIC = 128,
|
||||
};
|
||||
|
||||
struct format_field {
|
||||
struct format_field *next;
|
||||
struct event_format *event;
|
||||
char *type;
|
||||
char *name;
|
||||
int offset;
|
||||
int size;
|
||||
unsigned int arraylen;
|
||||
unsigned int elementsize;
|
||||
unsigned long flags;
|
||||
};
|
||||
|
||||
struct format {
|
||||
int nr_common;
|
||||
int nr_fields;
|
||||
struct format_field *common_fields;
|
||||
struct format_field *fields;
|
||||
};
|
||||
|
||||
struct print_arg_atom {
|
||||
char *atom;
|
||||
};
|
||||
|
||||
struct print_arg_string {
|
||||
char *string;
|
||||
int offset;
|
||||
};
|
||||
|
||||
struct print_arg_field {
|
||||
char *name;
|
||||
struct format_field *field;
|
||||
};
|
||||
|
||||
struct print_flag_sym {
|
||||
struct print_flag_sym *next;
|
||||
char *value;
|
||||
char *str;
|
||||
};
|
||||
|
||||
struct print_arg_typecast {
|
||||
char *type;
|
||||
struct print_arg *item;
|
||||
};
|
||||
|
||||
struct print_arg_flags {
|
||||
struct print_arg *field;
|
||||
char *delim;
|
||||
struct print_flag_sym *flags;
|
||||
};
|
||||
|
||||
struct print_arg_symbol {
|
||||
struct print_arg *field;
|
||||
struct print_flag_sym *symbols;
|
||||
};
|
||||
|
||||
struct print_arg_hex {
|
||||
struct print_arg *field;
|
||||
struct print_arg *size;
|
||||
};
|
||||
|
||||
struct print_arg_dynarray {
|
||||
struct format_field *field;
|
||||
struct print_arg *index;
|
||||
};
|
||||
|
||||
struct print_arg;
|
||||
|
||||
struct print_arg_op {
|
||||
char *op;
|
||||
int prio;
|
||||
struct print_arg *left;
|
||||
struct print_arg *right;
|
||||
};
|
||||
|
||||
struct pevent_function_handler;
|
||||
|
||||
struct print_arg_func {
|
||||
struct pevent_function_handler *func;
|
||||
struct print_arg *args;
|
||||
};
|
||||
|
||||
enum print_arg_type {
|
||||
PRINT_NULL,
|
||||
PRINT_ATOM,
|
||||
PRINT_FIELD,
|
||||
PRINT_FLAGS,
|
||||
PRINT_SYMBOL,
|
||||
PRINT_HEX,
|
||||
PRINT_TYPE,
|
||||
PRINT_STRING,
|
||||
PRINT_BSTRING,
|
||||
PRINT_DYNAMIC_ARRAY,
|
||||
PRINT_OP,
|
||||
PRINT_FUNC,
|
||||
};
|
||||
|
||||
struct print_arg {
|
||||
struct print_arg *next;
|
||||
enum print_arg_type type;
|
||||
union {
|
||||
struct print_arg_atom atom;
|
||||
struct print_arg_field field;
|
||||
struct print_arg_typecast typecast;
|
||||
struct print_arg_flags flags;
|
||||
struct print_arg_symbol symbol;
|
||||
struct print_arg_hex hex;
|
||||
struct print_arg_func func;
|
||||
struct print_arg_string string;
|
||||
struct print_arg_op op;
|
||||
struct print_arg_dynarray dynarray;
|
||||
};
|
||||
};
|
||||
|
||||
struct print_fmt {
|
||||
char *format;
|
||||
struct print_arg *args;
|
||||
};
|
||||
|
||||
struct event_format {
|
||||
struct pevent *pevent;
|
||||
char *name;
|
||||
int id;
|
||||
int flags;
|
||||
struct format format;
|
||||
struct print_fmt print_fmt;
|
||||
char *system;
|
||||
pevent_event_handler_func handler;
|
||||
void *context;
|
||||
};
|
||||
|
||||
enum {
|
||||
EVENT_FL_ISFTRACE = 0x01,
|
||||
EVENT_FL_ISPRINT = 0x02,
|
||||
EVENT_FL_ISBPRINT = 0x04,
|
||||
EVENT_FL_ISFUNCENT = 0x10,
|
||||
EVENT_FL_ISFUNCRET = 0x20,
|
||||
|
||||
EVENT_FL_FAILED = 0x80000000
|
||||
};
|
||||
|
||||
enum event_sort_type {
|
||||
EVENT_SORT_ID,
|
||||
EVENT_SORT_NAME,
|
||||
EVENT_SORT_SYSTEM,
|
||||
};
|
||||
|
||||
enum event_type {
|
||||
EVENT_ERROR,
|
||||
EVENT_NONE,
|
||||
EVENT_SPACE,
|
||||
EVENT_NEWLINE,
|
||||
EVENT_OP,
|
||||
EVENT_DELIM,
|
||||
EVENT_ITEM,
|
||||
EVENT_DQUOTE,
|
||||
EVENT_SQUOTE,
|
||||
};
|
||||
|
||||
typedef unsigned long long (*pevent_func_handler)(struct trace_seq *s,
|
||||
unsigned long long *args);
|
||||
|
||||
enum pevent_func_arg_type {
|
||||
PEVENT_FUNC_ARG_VOID,
|
||||
PEVENT_FUNC_ARG_INT,
|
||||
PEVENT_FUNC_ARG_LONG,
|
||||
PEVENT_FUNC_ARG_STRING,
|
||||
PEVENT_FUNC_ARG_PTR,
|
||||
PEVENT_FUNC_ARG_MAX_TYPES
|
||||
};
|
||||
|
||||
enum pevent_flag {
|
||||
PEVENT_NSEC_OUTPUT = 1, /* output in NSECS */
|
||||
};
|
||||
|
||||
#define PEVENT_ERRORS \
|
||||
_PE(MEM_ALLOC_FAILED, "failed to allocate memory"), \
|
||||
_PE(PARSE_EVENT_FAILED, "failed to parse event"), \
|
||||
_PE(READ_ID_FAILED, "failed to read event id"), \
|
||||
_PE(READ_FORMAT_FAILED, "failed to read event format"), \
|
||||
_PE(READ_PRINT_FAILED, "failed to read event print fmt"), \
|
||||
_PE(OLD_FTRACE_ARG_FAILED,"failed to allocate field name for ftrace"),\
|
||||
_PE(INVALID_ARG_TYPE, "invalid argument type")
|
||||
|
||||
#undef _PE
|
||||
#define _PE(__code, __str) PEVENT_ERRNO__ ## __code
|
||||
enum pevent_errno {
|
||||
PEVENT_ERRNO__SUCCESS = 0,
|
||||
|
||||
/*
|
||||
* Choose an arbitrary negative big number not to clash with standard
|
||||
* errno since SUS requires the errno has distinct positive values.
|
||||
* See 'Issue 6' in the link below.
|
||||
*
|
||||
* http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/errno.h.html
|
||||
*/
|
||||
__PEVENT_ERRNO__START = -100000,
|
||||
|
||||
PEVENT_ERRORS,
|
||||
|
||||
__PEVENT_ERRNO__END,
|
||||
};
|
||||
#undef _PE
|
||||
|
||||
struct cmdline;
|
||||
struct cmdline_list;
|
||||
struct func_map;
|
||||
struct func_list;
|
||||
struct event_handler;
|
||||
|
||||
struct pevent {
|
||||
int ref_count;
|
||||
|
||||
int header_page_ts_offset;
|
||||
int header_page_ts_size;
|
||||
int header_page_size_offset;
|
||||
int header_page_size_size;
|
||||
int header_page_data_offset;
|
||||
int header_page_data_size;
|
||||
int header_page_overwrite;
|
||||
|
||||
int file_bigendian;
|
||||
int host_bigendian;
|
||||
|
||||
int latency_format;
|
||||
|
||||
int old_format;
|
||||
|
||||
int cpus;
|
||||
int long_size;
|
||||
int page_size;
|
||||
|
||||
struct cmdline *cmdlines;
|
||||
struct cmdline_list *cmdlist;
|
||||
int cmdline_count;
|
||||
|
||||
struct func_map *func_map;
|
||||
struct func_list *funclist;
|
||||
unsigned int func_count;
|
||||
|
||||
struct printk_map *printk_map;
|
||||
struct printk_list *printklist;
|
||||
unsigned int printk_count;
|
||||
|
||||
|
||||
struct event_format **events;
|
||||
int nr_events;
|
||||
struct event_format **sort_events;
|
||||
enum event_sort_type last_type;
|
||||
|
||||
int type_offset;
|
||||
int type_size;
|
||||
|
||||
int pid_offset;
|
||||
int pid_size;
|
||||
|
||||
int pc_offset;
|
||||
int pc_size;
|
||||
|
||||
int flags_offset;
|
||||
int flags_size;
|
||||
|
||||
int ld_offset;
|
||||
int ld_size;
|
||||
|
||||
int print_raw;
|
||||
|
||||
int test_filters;
|
||||
|
||||
int flags;
|
||||
|
||||
struct format_field *bprint_ip_field;
|
||||
struct format_field *bprint_fmt_field;
|
||||
struct format_field *bprint_buf_field;
|
||||
|
||||
struct event_handler *handlers;
|
||||
struct pevent_function_handler *func_handlers;
|
||||
|
||||
/* cache */
|
||||
struct event_format *last_event;
|
||||
};
|
||||
|
||||
static inline void pevent_set_flag(struct pevent *pevent, int flag)
|
||||
{
|
||||
pevent->flags |= flag;
|
||||
}
|
||||
|
||||
static inline unsigned short
|
||||
__data2host2(struct pevent *pevent, unsigned short data)
|
||||
{
|
||||
unsigned short swap;
|
||||
|
||||
if (pevent->host_bigendian == pevent->file_bigendian)
|
||||
return data;
|
||||
|
||||
swap = ((data & 0xffULL) << 8) |
|
||||
((data & (0xffULL << 8)) >> 8);
|
||||
|
||||
return swap;
|
||||
}
|
||||
|
||||
static inline unsigned int
|
||||
__data2host4(struct pevent *pevent, unsigned int data)
|
||||
{
|
||||
unsigned int swap;
|
||||
|
||||
if (pevent->host_bigendian == pevent->file_bigendian)
|
||||
return data;
|
||||
|
||||
swap = ((data & 0xffULL) << 24) |
|
||||
((data & (0xffULL << 8)) << 8) |
|
||||
((data & (0xffULL << 16)) >> 8) |
|
||||
((data & (0xffULL << 24)) >> 24);
|
||||
|
||||
return swap;
|
||||
}
|
||||
|
||||
static inline unsigned long long
|
||||
__data2host8(struct pevent *pevent, unsigned long long data)
|
||||
{
|
||||
unsigned long long swap;
|
||||
|
||||
if (pevent->host_bigendian == pevent->file_bigendian)
|
||||
return data;
|
||||
|
||||
swap = ((data & 0xffULL) << 56) |
|
||||
((data & (0xffULL << 8)) << 40) |
|
||||
((data & (0xffULL << 16)) << 24) |
|
||||
((data & (0xffULL << 24)) << 8) |
|
||||
((data & (0xffULL << 32)) >> 8) |
|
||||
((data & (0xffULL << 40)) >> 24) |
|
||||
((data & (0xffULL << 48)) >> 40) |
|
||||
((data & (0xffULL << 56)) >> 56);
|
||||
|
||||
return swap;
|
||||
}
|
||||
|
||||
#define data2host2(pevent, ptr) __data2host2(pevent, *(unsigned short *)(ptr))
|
||||
#define data2host4(pevent, ptr) __data2host4(pevent, *(unsigned int *)(ptr))
|
||||
#define data2host8(pevent, ptr) \
|
||||
({ \
|
||||
unsigned long long __val; \
|
||||
\
|
||||
memcpy(&__val, (ptr), sizeof(unsigned long long)); \
|
||||
__data2host8(pevent, __val); \
|
||||
})
|
||||
|
||||
/* taken from kernel/trace/trace.h */
|
||||
enum trace_flag_type {
|
||||
TRACE_FLAG_IRQS_OFF = 0x01,
|
||||
TRACE_FLAG_IRQS_NOSUPPORT = 0x02,
|
||||
TRACE_FLAG_NEED_RESCHED = 0x04,
|
||||
TRACE_FLAG_HARDIRQ = 0x08,
|
||||
TRACE_FLAG_SOFTIRQ = 0x10,
|
||||
};
|
||||
|
||||
int pevent_register_comm(struct pevent *pevent, const char *comm, int pid);
|
||||
int pevent_register_function(struct pevent *pevent, char *name,
|
||||
unsigned long long addr, char *mod);
|
||||
int pevent_register_print_string(struct pevent *pevent, char *fmt,
|
||||
unsigned long long addr);
|
||||
int pevent_pid_is_registered(struct pevent *pevent, int pid);
|
||||
|
||||
void pevent_print_event(struct pevent *pevent, struct trace_seq *s,
|
||||
struct pevent_record *record);
|
||||
|
||||
int pevent_parse_header_page(struct pevent *pevent, char *buf, unsigned long size,
|
||||
int long_size);
|
||||
|
||||
enum pevent_errno pevent_parse_event(struct pevent *pevent, const char *buf,
|
||||
unsigned long size, const char *sys);
|
||||
enum pevent_errno pevent_parse_format(struct event_format **eventp, const char *buf,
|
||||
unsigned long size, const char *sys);
|
||||
void pevent_free_format(struct event_format *event);
|
||||
|
||||
void *pevent_get_field_raw(struct trace_seq *s, struct event_format *event,
|
||||
const char *name, struct pevent_record *record,
|
||||
int *len, int err);
|
||||
|
||||
int pevent_get_field_val(struct trace_seq *s, struct event_format *event,
|
||||
const char *name, struct pevent_record *record,
|
||||
unsigned long long *val, int err);
|
||||
int pevent_get_common_field_val(struct trace_seq *s, struct event_format *event,
|
||||
const char *name, struct pevent_record *record,
|
||||
unsigned long long *val, int err);
|
||||
int pevent_get_any_field_val(struct trace_seq *s, struct event_format *event,
|
||||
const char *name, struct pevent_record *record,
|
||||
unsigned long long *val, int err);
|
||||
|
||||
int pevent_print_num_field(struct trace_seq *s, const char *fmt,
|
||||
struct event_format *event, const char *name,
|
||||
struct pevent_record *record, int err);
|
||||
|
||||
int pevent_register_event_handler(struct pevent *pevent, int id,
|
||||
const char *sys_name, const char *event_name,
|
||||
pevent_event_handler_func func, void *context);
|
||||
int pevent_register_print_function(struct pevent *pevent,
|
||||
pevent_func_handler func,
|
||||
enum pevent_func_arg_type ret_type,
|
||||
char *name, ...);
|
||||
|
||||
struct format_field *pevent_find_common_field(struct event_format *event, const char *name);
|
||||
struct format_field *pevent_find_field(struct event_format *event, const char *name);
|
||||
struct format_field *pevent_find_any_field(struct event_format *event, const char *name);
|
||||
|
||||
const char *pevent_find_function(struct pevent *pevent, unsigned long long addr);
|
||||
unsigned long long
|
||||
pevent_find_function_address(struct pevent *pevent, unsigned long long addr);
|
||||
unsigned long long pevent_read_number(struct pevent *pevent, const void *ptr, int size);
|
||||
int pevent_read_number_field(struct format_field *field, const void *data,
|
||||
unsigned long long *value);
|
||||
|
||||
struct event_format *pevent_find_event(struct pevent *pevent, int id);
|
||||
|
||||
struct event_format *
|
||||
pevent_find_event_by_name(struct pevent *pevent, const char *sys, const char *name);
|
||||
|
||||
void pevent_data_lat_fmt(struct pevent *pevent,
|
||||
struct trace_seq *s, struct pevent_record *record);
|
||||
int pevent_data_type(struct pevent *pevent, struct pevent_record *rec);
|
||||
struct event_format *pevent_data_event_from_type(struct pevent *pevent, int type);
|
||||
int pevent_data_pid(struct pevent *pevent, struct pevent_record *rec);
|
||||
const char *pevent_data_comm_from_pid(struct pevent *pevent, int pid);
|
||||
void pevent_event_info(struct trace_seq *s, struct event_format *event,
|
||||
struct pevent_record *record);
|
||||
int pevent_strerror(struct pevent *pevent, enum pevent_errno errnum,
|
||||
char *buf, size_t buflen);
|
||||
|
||||
struct event_format **pevent_list_events(struct pevent *pevent, enum event_sort_type);
|
||||
struct format_field **pevent_event_common_fields(struct event_format *event);
|
||||
struct format_field **pevent_event_fields(struct event_format *event);
|
||||
|
||||
static inline int pevent_get_cpus(struct pevent *pevent)
|
||||
{
|
||||
return pevent->cpus;
|
||||
}
|
||||
|
||||
static inline void pevent_set_cpus(struct pevent *pevent, int cpus)
|
||||
{
|
||||
pevent->cpus = cpus;
|
||||
}
|
||||
|
||||
static inline int pevent_get_long_size(struct pevent *pevent)
|
||||
{
|
||||
return pevent->long_size;
|
||||
}
|
||||
|
||||
static inline void pevent_set_long_size(struct pevent *pevent, int long_size)
|
||||
{
|
||||
pevent->long_size = long_size;
|
||||
}
|
||||
|
||||
static inline int pevent_get_page_size(struct pevent *pevent)
|
||||
{
|
||||
return pevent->page_size;
|
||||
}
|
||||
|
||||
static inline void pevent_set_page_size(struct pevent *pevent, int _page_size)
|
||||
{
|
||||
pevent->page_size = _page_size;
|
||||
}
|
||||
|
||||
static inline int pevent_is_file_bigendian(struct pevent *pevent)
|
||||
{
|
||||
return pevent->file_bigendian;
|
||||
}
|
||||
|
||||
static inline void pevent_set_file_bigendian(struct pevent *pevent, int endian)
|
||||
{
|
||||
pevent->file_bigendian = endian;
|
||||
}
|
||||
|
||||
static inline int pevent_is_host_bigendian(struct pevent *pevent)
|
||||
{
|
||||
return pevent->host_bigendian;
|
||||
}
|
||||
|
||||
static inline void pevent_set_host_bigendian(struct pevent *pevent, int endian)
|
||||
{
|
||||
pevent->host_bigendian = endian;
|
||||
}
|
||||
|
||||
static inline int pevent_is_latency_format(struct pevent *pevent)
|
||||
{
|
||||
return pevent->latency_format;
|
||||
}
|
||||
|
||||
static inline void pevent_set_latency_format(struct pevent *pevent, int lat)
|
||||
{
|
||||
pevent->latency_format = lat;
|
||||
}
|
||||
|
||||
struct pevent *pevent_alloc(void);
|
||||
void pevent_free(struct pevent *pevent);
|
||||
void pevent_ref(struct pevent *pevent);
|
||||
void pevent_unref(struct pevent *pevent);
|
||||
|
||||
/* access to the internal parser */
|
||||
void pevent_buffer_init(const char *buf, unsigned long long size);
|
||||
enum event_type pevent_read_token(char **tok);
|
||||
void pevent_free_token(char *token);
|
||||
int pevent_peek_char(void);
|
||||
const char *pevent_get_input_buf(void);
|
||||
unsigned long long pevent_get_input_buf_ptr(void);
|
||||
|
||||
/* for debugging */
|
||||
void pevent_print_funcs(struct pevent *pevent);
|
||||
void pevent_print_printk(struct pevent *pevent);
|
||||
|
||||
/* ----------------------- filtering ----------------------- */
|
||||
|
||||
enum filter_boolean_type {
|
||||
FILTER_FALSE,
|
||||
FILTER_TRUE,
|
||||
};
|
||||
|
||||
enum filter_op_type {
|
||||
FILTER_OP_AND = 1,
|
||||
FILTER_OP_OR,
|
||||
FILTER_OP_NOT,
|
||||
};
|
||||
|
||||
enum filter_cmp_type {
|
||||
FILTER_CMP_NONE,
|
||||
FILTER_CMP_EQ,
|
||||
FILTER_CMP_NE,
|
||||
FILTER_CMP_GT,
|
||||
FILTER_CMP_LT,
|
||||
FILTER_CMP_GE,
|
||||
FILTER_CMP_LE,
|
||||
FILTER_CMP_MATCH,
|
||||
FILTER_CMP_NOT_MATCH,
|
||||
FILTER_CMP_REGEX,
|
||||
FILTER_CMP_NOT_REGEX,
|
||||
};
|
||||
|
||||
enum filter_exp_type {
|
||||
FILTER_EXP_NONE,
|
||||
FILTER_EXP_ADD,
|
||||
FILTER_EXP_SUB,
|
||||
FILTER_EXP_MUL,
|
||||
FILTER_EXP_DIV,
|
||||
FILTER_EXP_MOD,
|
||||
FILTER_EXP_RSHIFT,
|
||||
FILTER_EXP_LSHIFT,
|
||||
FILTER_EXP_AND,
|
||||
FILTER_EXP_OR,
|
||||
FILTER_EXP_XOR,
|
||||
FILTER_EXP_NOT,
|
||||
};
|
||||
|
||||
enum filter_arg_type {
|
||||
FILTER_ARG_NONE,
|
||||
FILTER_ARG_BOOLEAN,
|
||||
FILTER_ARG_VALUE,
|
||||
FILTER_ARG_FIELD,
|
||||
FILTER_ARG_EXP,
|
||||
FILTER_ARG_OP,
|
||||
FILTER_ARG_NUM,
|
||||
FILTER_ARG_STR,
|
||||
};
|
||||
|
||||
enum filter_value_type {
|
||||
FILTER_NUMBER,
|
||||
FILTER_STRING,
|
||||
FILTER_CHAR
|
||||
};
|
||||
|
||||
struct fliter_arg;
|
||||
|
||||
struct filter_arg_boolean {
|
||||
enum filter_boolean_type value;
|
||||
};
|
||||
|
||||
struct filter_arg_field {
|
||||
struct format_field *field;
|
||||
};
|
||||
|
||||
struct filter_arg_value {
|
||||
enum filter_value_type type;
|
||||
union {
|
||||
char *str;
|
||||
unsigned long long val;
|
||||
};
|
||||
};
|
||||
|
||||
struct filter_arg_op {
|
||||
enum filter_op_type type;
|
||||
struct filter_arg *left;
|
||||
struct filter_arg *right;
|
||||
};
|
||||
|
||||
struct filter_arg_exp {
|
||||
enum filter_exp_type type;
|
||||
struct filter_arg *left;
|
||||
struct filter_arg *right;
|
||||
};
|
||||
|
||||
struct filter_arg_num {
|
||||
enum filter_cmp_type type;
|
||||
struct filter_arg *left;
|
||||
struct filter_arg *right;
|
||||
};
|
||||
|
||||
struct filter_arg_str {
|
||||
enum filter_cmp_type type;
|
||||
struct format_field *field;
|
||||
char *val;
|
||||
char *buffer;
|
||||
regex_t reg;
|
||||
};
|
||||
|
||||
struct filter_arg {
|
||||
enum filter_arg_type type;
|
||||
union {
|
||||
struct filter_arg_boolean boolean;
|
||||
struct filter_arg_field field;
|
||||
struct filter_arg_value value;
|
||||
struct filter_arg_op op;
|
||||
struct filter_arg_exp exp;
|
||||
struct filter_arg_num num;
|
||||
struct filter_arg_str str;
|
||||
};
|
||||
};
|
||||
|
||||
struct filter_type {
|
||||
int event_id;
|
||||
struct event_format *event;
|
||||
struct filter_arg *filter;
|
||||
};
|
||||
|
||||
struct event_filter {
|
||||
struct pevent *pevent;
|
||||
int filters;
|
||||
struct filter_type *event_filters;
|
||||
};
|
||||
|
||||
struct event_filter *pevent_filter_alloc(struct pevent *pevent);
|
||||
|
||||
#define FILTER_NONE -2
|
||||
#define FILTER_NOEXIST -1
|
||||
#define FILTER_MISS 0
|
||||
#define FILTER_MATCH 1
|
||||
|
||||
enum filter_trivial_type {
|
||||
FILTER_TRIVIAL_FALSE,
|
||||
FILTER_TRIVIAL_TRUE,
|
||||
FILTER_TRIVIAL_BOTH,
|
||||
};
|
||||
|
||||
int pevent_filter_add_filter_str(struct event_filter *filter,
|
||||
const char *filter_str,
|
||||
char **error_str);
|
||||
|
||||
|
||||
int pevent_filter_match(struct event_filter *filter,
|
||||
struct pevent_record *record);
|
||||
|
||||
int pevent_event_filtered(struct event_filter *filter,
|
||||
int event_id);
|
||||
|
||||
void pevent_filter_reset(struct event_filter *filter);
|
||||
|
||||
void pevent_filter_clear_trivial(struct event_filter *filter,
|
||||
enum filter_trivial_type type);
|
||||
|
||||
void pevent_filter_free(struct event_filter *filter);
|
||||
|
||||
char *pevent_filter_make_string(struct event_filter *filter, int event_id);
|
||||
|
||||
int pevent_filter_remove_event(struct event_filter *filter,
|
||||
int event_id);
|
||||
|
||||
int pevent_filter_event_has_trivial(struct event_filter *filter,
|
||||
int event_id,
|
||||
enum filter_trivial_type type);
|
||||
|
||||
int pevent_filter_copy(struct event_filter *dest, struct event_filter *source);
|
||||
|
||||
int pevent_update_trivial(struct event_filter *dest, struct event_filter *source,
|
||||
enum filter_trivial_type type);
|
||||
|
||||
int pevent_filter_compare(struct event_filter *filter1, struct event_filter *filter2);
|
||||
|
||||
#endif /* _PARSE_EVENTS_H */
|
||||
85
powertop-v2.10/traceevent/event-utils.h
Normal file
85
powertop-v2.10/traceevent/event-utils.h
Normal file
@ -0,0 +1,85 @@
|
||||
/*
|
||||
* Copyright (C) 2010 Red Hat Inc, Steven Rostedt <srostedt@redhat.com>
|
||||
*
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation;
|
||||
* version 2.1 of the License (not later!)
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this program; if not, see <http://www.gnu.org/licenses>
|
||||
*
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
*/
|
||||
#ifndef __UTIL_H
|
||||
#define __UTIL_H
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
/* Can be overridden */
|
||||
void die(const char *fmt, ...);
|
||||
void *malloc_or_die(unsigned int size);
|
||||
void warning(const char *fmt, ...);
|
||||
void pr_stat(const char *fmt, ...);
|
||||
void vpr_stat(const char *fmt, va_list ap);
|
||||
|
||||
/* Always available */
|
||||
void __die(const char *fmt, ...);
|
||||
void __warning(const char *fmt, ...);
|
||||
void __pr_stat(const char *fmt, ...);
|
||||
|
||||
void __vdie(const char *fmt, ...);
|
||||
void __vwarning(const char *fmt, ...);
|
||||
void __vpr_stat(const char *fmt, ...);
|
||||
|
||||
#define min(x, y) ({ \
|
||||
typeof(x) _min1 = (x); \
|
||||
typeof(y) _min2 = (y); \
|
||||
(void) (&_min1 == &_min2); \
|
||||
_min1 < _min2 ? _min1 : _min2; })
|
||||
|
||||
static inline char *strim(char *string)
|
||||
{
|
||||
char *ret;
|
||||
|
||||
if (!string)
|
||||
return NULL;
|
||||
while (*string) {
|
||||
if (!isspace(*string))
|
||||
break;
|
||||
string++;
|
||||
}
|
||||
ret = string;
|
||||
|
||||
string = ret + strlen(ret) - 1;
|
||||
while (string > ret) {
|
||||
if (!isspace(*string))
|
||||
break;
|
||||
string--;
|
||||
}
|
||||
string[1] = 0;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
static inline int has_text(const char *text)
|
||||
{
|
||||
if (!text)
|
||||
return 0;
|
||||
|
||||
while (*text) {
|
||||
if (!isspace(*text))
|
||||
return 1;
|
||||
text++;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
2303
powertop-v2.10/traceevent/parse-filter.c
Normal file
2303
powertop-v2.10/traceevent/parse-filter.c
Normal file
File diff suppressed because it is too large
Load Diff
129
powertop-v2.10/traceevent/parse-utils.c
Normal file
129
powertop-v2.10/traceevent/parse-utils.c
Normal file
@ -0,0 +1,129 @@
|
||||
/*
|
||||
* Copyright (C) 2010 Red Hat Inc, Steven Rostedt <srostedt@redhat.com>
|
||||
*
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation;
|
||||
* version 2.1 of the License (not later!)
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this program; if not, see <http://www.gnu.org/licenses>
|
||||
*
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
*/
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
#include <errno.h>
|
||||
|
||||
#define __weak __attribute__((weak))
|
||||
|
||||
void __vdie(const char *fmt, va_list ap)
|
||||
{
|
||||
int ret = errno;
|
||||
|
||||
if (errno)
|
||||
perror("trace-cmd");
|
||||
else
|
||||
ret = -1;
|
||||
|
||||
fprintf(stderr, " ");
|
||||
vfprintf(stderr, fmt, ap);
|
||||
|
||||
fprintf(stderr, "\n");
|
||||
exit(ret);
|
||||
}
|
||||
|
||||
void __die(const char *fmt, ...)
|
||||
{
|
||||
va_list ap;
|
||||
|
||||
va_start(ap, fmt);
|
||||
__vdie(fmt, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
|
||||
void __weak die(const char *fmt, ...)
|
||||
{
|
||||
va_list ap;
|
||||
|
||||
va_start(ap, fmt);
|
||||
__vdie(fmt, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
|
||||
void __vwarning(const char *fmt, va_list ap)
|
||||
{
|
||||
if (errno)
|
||||
perror("trace-cmd");
|
||||
errno = 0;
|
||||
|
||||
fprintf(stderr, " ");
|
||||
vfprintf(stderr, fmt, ap);
|
||||
|
||||
fprintf(stderr, "\n");
|
||||
}
|
||||
|
||||
void __warning(const char *fmt, ...)
|
||||
{
|
||||
va_list ap;
|
||||
|
||||
va_start(ap, fmt);
|
||||
__vwarning(fmt, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
|
||||
void __weak warning(const char *fmt, ...)
|
||||
{
|
||||
va_list ap;
|
||||
|
||||
va_start(ap, fmt);
|
||||
__vwarning(fmt, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
|
||||
void __vpr_stat(const char *fmt, va_list ap)
|
||||
{
|
||||
vprintf(fmt, ap);
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
void __pr_stat(const char *fmt, ...)
|
||||
{
|
||||
va_list ap;
|
||||
|
||||
va_start(ap, fmt);
|
||||
__vpr_stat(fmt, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
|
||||
void __weak vpr_stat(const char *fmt, va_list ap)
|
||||
{
|
||||
__vpr_stat(fmt, ap);
|
||||
}
|
||||
|
||||
void __weak pr_stat(const char *fmt, ...)
|
||||
{
|
||||
va_list ap;
|
||||
|
||||
va_start(ap, fmt);
|
||||
__vpr_stat(fmt, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
|
||||
void __weak *malloc_or_die(unsigned int size)
|
||||
{
|
||||
void *data;
|
||||
|
||||
data = malloc(size);
|
||||
if (!data)
|
||||
die("malloc");
|
||||
return data;
|
||||
}
|
||||
212
powertop-v2.10/traceevent/trace-seq.c
Normal file
212
powertop-v2.10/traceevent/trace-seq.c
Normal file
@ -0,0 +1,212 @@
|
||||
/*
|
||||
* Copyright (C) 2009 Red Hat Inc, Steven Rostedt <srostedt@redhat.com>
|
||||
*
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation;
|
||||
* version 2.1 of the License (not later!)
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this program; if not, see <http://www.gnu.org/licenses>
|
||||
*
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
*/
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "event-parse.h"
|
||||
#include "event-utils.h"
|
||||
|
||||
/*
|
||||
* The TRACE_SEQ_POISON is to catch the use of using
|
||||
* a trace_seq structure after it was destroyed.
|
||||
*/
|
||||
#define TRACE_SEQ_POISON ((void *)0xdeadbeef)
|
||||
#define TRACE_SEQ_CHECK(s) \
|
||||
do { \
|
||||
if ((s)->buffer == TRACE_SEQ_POISON) \
|
||||
die("Usage of trace_seq after it was destroyed"); \
|
||||
} while (0)
|
||||
|
||||
/**
|
||||
* trace_seq_init - initialize the trace_seq structure
|
||||
* @s: a pointer to the trace_seq structure to initialize
|
||||
*/
|
||||
void trace_seq_init(struct trace_seq *s)
|
||||
{
|
||||
s->len = 0;
|
||||
s->readpos = 0;
|
||||
s->buffer_size = TRACE_SEQ_BUF_SIZE;
|
||||
s->buffer = malloc_or_die(s->buffer_size);
|
||||
}
|
||||
|
||||
/**
|
||||
* trace_seq_reset - re-initialize the trace_seq structure
|
||||
* @s: a pointer to the trace_seq structure to reset
|
||||
*/
|
||||
void trace_seq_reset(struct trace_seq *s)
|
||||
{
|
||||
if (!s)
|
||||
return;
|
||||
TRACE_SEQ_CHECK(s);
|
||||
s->len = 0;
|
||||
s->readpos = 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* trace_seq_destroy - free up memory of a trace_seq
|
||||
* @s: a pointer to the trace_seq to free the buffer
|
||||
*
|
||||
* Only frees the buffer, not the trace_seq struct itself.
|
||||
*/
|
||||
void trace_seq_destroy(struct trace_seq *s)
|
||||
{
|
||||
if (!s)
|
||||
return;
|
||||
TRACE_SEQ_CHECK(s);
|
||||
free(s->buffer);
|
||||
s->buffer = TRACE_SEQ_POISON;
|
||||
}
|
||||
|
||||
static void expand_buffer(struct trace_seq *s)
|
||||
{
|
||||
s->buffer_size += TRACE_SEQ_BUF_SIZE;
|
||||
s->buffer = realloc(s->buffer, s->buffer_size);
|
||||
if (!s->buffer)
|
||||
die("Can't allocate trace_seq buffer memory");
|
||||
}
|
||||
|
||||
/**
|
||||
* trace_seq_printf - sequence printing of trace information
|
||||
* @s: trace sequence descriptor
|
||||
* @fmt: printf format string
|
||||
*
|
||||
* It returns 0 if the trace oversizes the buffer's free
|
||||
* space, 1 otherwise.
|
||||
*
|
||||
* The tracer may use either sequence operations or its own
|
||||
* copy to user routines. To simplify formating of a trace
|
||||
* trace_seq_printf is used to store strings into a special
|
||||
* buffer (@s). Then the output may be either used by
|
||||
* the sequencer or pulled into another buffer.
|
||||
*/
|
||||
int
|
||||
trace_seq_printf(struct trace_seq *s, const char *fmt, ...)
|
||||
{
|
||||
va_list ap;
|
||||
int len;
|
||||
int ret;
|
||||
|
||||
TRACE_SEQ_CHECK(s);
|
||||
|
||||
try_again:
|
||||
len = (s->buffer_size - 1) - s->len;
|
||||
|
||||
va_start(ap, fmt);
|
||||
ret = vsnprintf(s->buffer + s->len, len, fmt, ap);
|
||||
va_end(ap);
|
||||
|
||||
if (ret >= len) {
|
||||
expand_buffer(s);
|
||||
goto try_again;
|
||||
}
|
||||
|
||||
s->len += ret;
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
/**
|
||||
* trace_seq_vprintf - sequence printing of trace information
|
||||
* @s: trace sequence descriptor
|
||||
* @fmt: printf format string
|
||||
*
|
||||
* The tracer may use either sequence operations or its own
|
||||
* copy to user routines. To simplify formating of a trace
|
||||
* trace_seq_printf is used to store strings into a special
|
||||
* buffer (@s). Then the output may be either used by
|
||||
* the sequencer or pulled into another buffer.
|
||||
*/
|
||||
int
|
||||
trace_seq_vprintf(struct trace_seq *s, const char *fmt, va_list args)
|
||||
{
|
||||
int len;
|
||||
int ret;
|
||||
|
||||
TRACE_SEQ_CHECK(s);
|
||||
|
||||
try_again:
|
||||
len = (s->buffer_size - 1) - s->len;
|
||||
|
||||
ret = vsnprintf(s->buffer + s->len, len, fmt, args);
|
||||
|
||||
if (ret >= len) {
|
||||
expand_buffer(s);
|
||||
goto try_again;
|
||||
}
|
||||
|
||||
s->len += ret;
|
||||
|
||||
return len;
|
||||
}
|
||||
|
||||
/**
|
||||
* trace_seq_puts - trace sequence printing of simple string
|
||||
* @s: trace sequence descriptor
|
||||
* @str: simple string to record
|
||||
*
|
||||
* The tracer may use either the sequence operations or its own
|
||||
* copy to user routines. This function records a simple string
|
||||
* into a special buffer (@s) for later retrieval by a sequencer
|
||||
* or other mechanism.
|
||||
*/
|
||||
int trace_seq_puts(struct trace_seq *s, const char *str)
|
||||
{
|
||||
int len;
|
||||
|
||||
TRACE_SEQ_CHECK(s);
|
||||
|
||||
len = strlen(str);
|
||||
|
||||
while (len > ((s->buffer_size - 1) - s->len))
|
||||
expand_buffer(s);
|
||||
|
||||
memcpy(s->buffer + s->len, str, len);
|
||||
s->len += len;
|
||||
|
||||
return len;
|
||||
}
|
||||
|
||||
int trace_seq_putc(struct trace_seq *s, unsigned char c)
|
||||
{
|
||||
TRACE_SEQ_CHECK(s);
|
||||
|
||||
while (s->len >= (s->buffer_size - 1))
|
||||
expand_buffer(s);
|
||||
|
||||
s->buffer[s->len++] = c;
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
void trace_seq_terminate(struct trace_seq *s)
|
||||
{
|
||||
TRACE_SEQ_CHECK(s);
|
||||
|
||||
/* There's always one character left on the buffer */
|
||||
s->buffer[s->len] = 0;
|
||||
}
|
||||
|
||||
int trace_seq_do_printf(struct trace_seq *s)
|
||||
{
|
||||
TRACE_SEQ_CHECK(s);
|
||||
return printf("%.*s", s->len, s->buffer);
|
||||
}
|
||||
1
powertop-v2.10/version-long
Normal file
1
powertop-v2.10/version-long
Normal file
@ -0,0 +1 @@
|
||||
v2.10
|
||||
1
powertop-v2.10/version-short
Normal file
1
powertop-v2.10/version-short
Normal file
@ -0,0 +1 @@
|
||||
"v2.10"
|
||||
@ -1,6 +1,6 @@
|
||||
Name: powertop
|
||||
Version: 2.10
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Power consumption monitor
|
||||
|
||||
License: GPLv2
|
||||
@ -10,6 +10,7 @@ Source1: powertop.service
|
||||
|
||||
# Sent upstream
|
||||
Patch0: powertop-2.7-always-create-params.patch
|
||||
Patch1: powertop-2.10-fix-vert-scrolling.patch
|
||||
BuildRequires: gettext-devel, ncurses-devel, pciutils-devel, zlib-devel, libnl3-devel
|
||||
BuildRequires: systemd
|
||||
BuildRequires: gcc, gcc-c++
|
||||
@ -25,6 +26,8 @@ computer use more power than necessary while it is idle.
|
||||
%prep
|
||||
%setup -q -n %{name}-v%{version}
|
||||
%patch0 -p1 -b .always-create-params
|
||||
# Sent upstream
|
||||
%patch1 -p1 -b .fix-vert-scrolling
|
||||
|
||||
%build
|
||||
%configure
|
||||
@ -61,6 +64,9 @@ touch %{_localstatedir}/cache/powertop/{saved_parameters.powertop,saved_results.
|
||||
%{_unitdir}/powertop.service
|
||||
|
||||
%changelog
|
||||
* Thu Mar 21 2019 Jaroslav Škarvada <jskarvad@redhat.com> - 2.10-2
|
||||
- Fixed vertical scrolling
|
||||
|
||||
* Mon Mar 18 2019 Jaroslav Škarvada <jskarvad@redhat.com> - 2.10-1
|
||||
- New version
|
||||
Resolves: rhbz#1689490
|
||||
|
||||
Loading…
Reference in New Issue
Block a user