git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpowersave@1092957 283d02a7-25f6-0310-bc7c-ecb5cbfe19dapull/1/head
commit
be4fc77c29
@ -0,0 +1,2 @@
|
||||
Danny Kukawka <dkukawka@suse.de>, <danny.kukawka@web.de>
|
||||
Thomas Renninger <trenn@suse.de>
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,276 @@
|
||||
# Doxyfile 1.4.1-KDevelop
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# Project related configuration options
|
||||
#---------------------------------------------------------------------------
|
||||
PROJECT_NAME = kpowersave.kdevelop
|
||||
PROJECT_NUMBER = "0.7.x - SVN-trunk"
|
||||
OUTPUT_DIRECTORY =
|
||||
CREATE_SUBDIRS = NO
|
||||
OUTPUT_LANGUAGE = English
|
||||
USE_WINDOWS_ENCODING = NO
|
||||
BRIEF_MEMBER_DESC = YES
|
||||
REPEAT_BRIEF = NO
|
||||
ABBREVIATE_BRIEF = "The $name class" \
|
||||
"The $name widget" \
|
||||
"The $name file" \
|
||||
is \
|
||||
provides \
|
||||
specifies \
|
||||
contains \
|
||||
represents \
|
||||
a \
|
||||
an \
|
||||
the
|
||||
ALWAYS_DETAILED_SEC = YES
|
||||
INLINE_INHERITED_MEMB = NO
|
||||
FULL_PATH_NAMES = NO
|
||||
STRIP_FROM_PATH =
|
||||
STRIP_FROM_INC_PATH =
|
||||
SHORT_NAMES = NO
|
||||
JAVADOC_AUTOBRIEF = YES
|
||||
MULTILINE_CPP_IS_BRIEF = NO
|
||||
DETAILS_AT_TOP = YES
|
||||
INHERIT_DOCS = YES
|
||||
DISTRIBUTE_GROUP_DOC = NO
|
||||
TAB_SIZE = 5
|
||||
ALIASES =
|
||||
OPTIMIZE_OUTPUT_FOR_C = NO
|
||||
OPTIMIZE_OUTPUT_JAVA = NO
|
||||
SUBGROUPING = YES
|
||||
#---------------------------------------------------------------------------
|
||||
# Build related configuration options
|
||||
#---------------------------------------------------------------------------
|
||||
EXTRACT_ALL = YES
|
||||
EXTRACT_PRIVATE = YES
|
||||
EXTRACT_STATIC = YES
|
||||
EXTRACT_LOCAL_CLASSES = YES
|
||||
EXTRACT_LOCAL_METHODS = YES
|
||||
HIDE_UNDOC_MEMBERS = NO
|
||||
HIDE_UNDOC_CLASSES = NO
|
||||
HIDE_FRIEND_COMPOUNDS = NO
|
||||
HIDE_IN_BODY_DOCS = NO
|
||||
INTERNAL_DOCS = NO
|
||||
CASE_SENSE_NAMES = YES
|
||||
HIDE_SCOPE_NAMES = YES
|
||||
SHOW_INCLUDE_FILES = YES
|
||||
INLINE_INFO = YES
|
||||
SORT_MEMBER_DOCS = YES
|
||||
SORT_BRIEF_DOCS = NO
|
||||
SORT_BY_SCOPE_NAME = YES
|
||||
GENERATE_TODOLIST = YES
|
||||
GENERATE_TESTLIST = NO
|
||||
GENERATE_BUGLIST = YES
|
||||
GENERATE_DEPRECATEDLIST= YES
|
||||
ENABLED_SECTIONS =
|
||||
MAX_INITIALIZER_LINES = 30
|
||||
SHOW_USED_FILES = YES
|
||||
SHOW_DIRECTORIES = YES
|
||||
FILE_VERSION_FILTER =
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to warning and progress messages
|
||||
#---------------------------------------------------------------------------
|
||||
QUIET = NO
|
||||
WARNINGS = YES
|
||||
WARN_IF_UNDOCUMENTED = YES
|
||||
WARN_IF_DOC_ERROR = YES
|
||||
WARN_NO_PARAMDOC = NO
|
||||
WARN_FORMAT = "$file:$line: $text"
|
||||
WARN_LOGFILE =
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the input files
|
||||
#---------------------------------------------------------------------------
|
||||
INPUT = doc/doxy \
|
||||
src
|
||||
FILE_PATTERNS = *.c \
|
||||
*.cc \
|
||||
*.cxx \
|
||||
*.cpp \
|
||||
*.c++ \
|
||||
*.java \
|
||||
*.ii \
|
||||
*.ixx \
|
||||
*.ipp \
|
||||
*.i++ \
|
||||
*.inl \
|
||||
*.h \
|
||||
*.hh \
|
||||
*.hxx \
|
||||
*.hpp \
|
||||
*.h++ \
|
||||
*.idl \
|
||||
*.odl \
|
||||
*.cs \
|
||||
*.php \
|
||||
*.php3 \
|
||||
*.inc \
|
||||
*.C \
|
||||
*.H \
|
||||
*.tlh \
|
||||
*.diff \
|
||||
*.patch \
|
||||
*.xpm \
|
||||
*.dox
|
||||
RECURSIVE = YES
|
||||
EXCLUDE = ./src/kpowersave_dummy.cpp \
|
||||
./src/screen.moc.cpp \
|
||||
./src/kpowersave.la.cpp \
|
||||
./src/kpowersave_skel.cpp \
|
||||
./src/info_Dialog.cpp \
|
||||
./src/suspend_Dialog.cpp \
|
||||
./src/configure_Dialog.cpp \
|
||||
./src/blacklistedit_Dialog.cpp \
|
||||
./src/detailed_Dialog.cpp \
|
||||
./src/blacklistedit_Dialog.h \
|
||||
./src/detailed_Dialog.h \
|
||||
./src/suspend_Dialog.h \
|
||||
./src/info_Dialog.h \
|
||||
./src/configure_Dialog.h \
|
||||
./src/kdeinit_kpowersave.cpp
|
||||
EXCLUDE_SYMLINKS = NO
|
||||
EXCLUDE_PATTERNS = *.moc.cpp \
|
||||
*_dummy.* \
|
||||
*.la.cpp \
|
||||
*_la.all_cpp.cpp
|
||||
EXAMPLE_PATH =
|
||||
EXAMPLE_PATTERNS = *
|
||||
EXAMPLE_RECURSIVE = NO
|
||||
IMAGE_PATH =
|
||||
INPUT_FILTER =
|
||||
FILTER_PATTERNS =
|
||||
FILTER_SOURCE_FILES = NO
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to source browsing
|
||||
#---------------------------------------------------------------------------
|
||||
SOURCE_BROWSER = YES
|
||||
INLINE_SOURCES = YES
|
||||
STRIP_CODE_COMMENTS = YES
|
||||
REFERENCED_BY_RELATION = YES
|
||||
REFERENCES_RELATION = YES
|
||||
VERBATIM_HEADERS = YES
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the alphabetical class index
|
||||
#---------------------------------------------------------------------------
|
||||
ALPHABETICAL_INDEX = NO
|
||||
COLS_IN_ALPHA_INDEX = 5
|
||||
IGNORE_PREFIX =
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the HTML output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_HTML = YES
|
||||
HTML_OUTPUT = ./doc/html
|
||||
HTML_FILE_EXTENSION = .html
|
||||
HTML_HEADER =
|
||||
HTML_FOOTER =
|
||||
HTML_STYLESHEET = ./doc/doxy/styleSheet.css
|
||||
HTML_ALIGN_MEMBERS = YES
|
||||
GENERATE_HTMLHELP = NO
|
||||
CHM_FILE =
|
||||
HHC_LOCATION =
|
||||
GENERATE_CHI = NO
|
||||
BINARY_TOC = NO
|
||||
TOC_EXPAND = NO
|
||||
DISABLE_INDEX = NO
|
||||
ENUM_VALUES_PER_LINE = 4
|
||||
GENERATE_TREEVIEW = NO
|
||||
TREEVIEW_WIDTH = 250
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the LaTeX output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_LATEX = YES
|
||||
LATEX_OUTPUT = ./doc/latex/
|
||||
LATEX_CMD_NAME = latex
|
||||
MAKEINDEX_CMD_NAME = makeindex
|
||||
COMPACT_LATEX = YES
|
||||
PAPER_TYPE = a4wide
|
||||
EXTRA_PACKAGES =
|
||||
LATEX_HEADER =
|
||||
PDF_HYPERLINKS = NO
|
||||
USE_PDFLATEX = NO
|
||||
LATEX_BATCHMODE = NO
|
||||
LATEX_HIDE_INDICES = NO
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the RTF output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_RTF = NO
|
||||
RTF_OUTPUT = rtf
|
||||
COMPACT_RTF = NO
|
||||
RTF_HYPERLINKS = NO
|
||||
RTF_STYLESHEET_FILE =
|
||||
RTF_EXTENSIONS_FILE =
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the man page output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_MAN = NO
|
||||
MAN_OUTPUT = man
|
||||
MAN_EXTENSION = .3
|
||||
MAN_LINKS = NO
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the XML output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_XML = NO
|
||||
XML_OUTPUT = xml
|
||||
XML_SCHEMA =
|
||||
XML_DTD =
|
||||
XML_PROGRAMLISTING = YES
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options for the AutoGen Definitions output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_AUTOGEN_DEF = NO
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the Perl module output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_PERLMOD = NO
|
||||
PERLMOD_LATEX = NO
|
||||
PERLMOD_PRETTY = YES
|
||||
PERLMOD_MAKEVAR_PREFIX =
|
||||
#---------------------------------------------------------------------------
|
||||
# Configuration options related to the preprocessor
|
||||
#---------------------------------------------------------------------------
|
||||
ENABLE_PREPROCESSING = YES
|
||||
MACRO_EXPANSION = NO
|
||||
EXPAND_ONLY_PREDEF = NO
|
||||
SEARCH_INCLUDES = YES
|
||||
INCLUDE_PATH =
|
||||
INCLUDE_FILE_PATTERNS =
|
||||
PREDEFINED =
|
||||
EXPAND_AS_DEFINED =
|
||||
SKIP_FUNCTION_MACROS = YES
|
||||
#---------------------------------------------------------------------------
|
||||
# Configuration::additions related to external references
|
||||
#---------------------------------------------------------------------------
|
||||
TAGFILES =
|
||||
GENERATE_TAGFILE =
|
||||
ALLEXTERNALS = NO
|
||||
EXTERNAL_GROUPS = YES
|
||||
PERL_PATH = /usr/bin/perl
|
||||
#---------------------------------------------------------------------------
|
||||
# Configuration options related to the dot tool
|
||||
#---------------------------------------------------------------------------
|
||||
CLASS_DIAGRAMS = YES
|
||||
HIDE_UNDOC_RELATIONS = YES
|
||||
HAVE_DOT = YES
|
||||
CLASS_GRAPH = YES
|
||||
COLLABORATION_GRAPH = YES
|
||||
GROUP_GRAPHS = YES
|
||||
UML_LOOK = NO
|
||||
TEMPLATE_RELATIONS = YES
|
||||
INCLUDE_GRAPH = YES
|
||||
INCLUDED_BY_GRAPH = YES
|
||||
CALL_GRAPH = NO
|
||||
GRAPHICAL_HIERARCHY = YES
|
||||
DIRECTORY_GRAPH = YES
|
||||
DOT_IMAGE_FORMAT = png
|
||||
DOT_PATH =
|
||||
DOTFILE_DIRS =
|
||||
MAX_DOT_GRAPH_WIDTH = 1024
|
||||
MAX_DOT_GRAPH_HEIGHT = 1024
|
||||
MAX_DOT_GRAPH_DEPTH = 1000
|
||||
DOT_TRANSPARENT = NO
|
||||
DOT_MULTI_TARGETS = NO
|
||||
GENERATE_LEGEND = YES
|
||||
DOT_CLEANUP = YES
|
||||
#---------------------------------------------------------------------------
|
||||
# Configuration::additions related to the search engine
|
||||
#---------------------------------------------------------------------------
|
||||
SEARCHENGINE = NO
|
@ -0,0 +1,236 @@
|
||||
Installation Instructions
|
||||
*************************
|
||||
|
||||
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free
|
||||
Software Foundation, Inc.
|
||||
|
||||
This file is free documentation; the Free Software Foundation gives
|
||||
unlimited permission to copy, distribute and modify it.
|
||||
|
||||
Basic Installation
|
||||
==================
|
||||
|
||||
These are generic installation instructions.
|
||||
|
||||
The `configure' shell script attempts to guess correct values for
|
||||
various system-dependent variables used during compilation. It uses
|
||||
those values to create a `Makefile' in each directory of the package.
|
||||
It may also create one or more `.h' files containing system-dependent
|
||||
definitions. Finally, it creates a shell script `config.status' that
|
||||
you can run in the future to recreate the current configuration, and a
|
||||
file `config.log' containing compiler output (useful mainly for
|
||||
debugging `configure').
|
||||
|
||||
It can also use an optional file (typically called `config.cache'
|
||||
and enabled with `--cache-file=config.cache' or simply `-C') that saves
|
||||
the results of its tests to speed up reconfiguring. (Caching is
|
||||
disabled by default to prevent problems with accidental use of stale
|
||||
cache files.)
|
||||
|
||||
If you need to do unusual things to compile the package, please try
|
||||
to figure out how `configure' could check whether to do them, and mail
|
||||
diffs or instructions to the address given in the `README' so they can
|
||||
be considered for the next release. If you are using the cache, and at
|
||||
some point `config.cache' contains results you don't want to keep, you
|
||||
may remove or edit it.
|
||||
|
||||
The file `configure.ac' (or `configure.in') is used to create
|
||||
`configure' by a program called `autoconf'. You only need
|
||||
`configure.ac' if you want to change it or regenerate `configure' using
|
||||
a newer version of `autoconf'.
|
||||
|
||||
The simplest way to compile this package is:
|
||||
|
||||
1. `cd' to the directory containing the package's source code and type
|
||||
`./configure' to configure the package for your system. If you're
|
||||
using `csh' on an old version of System V, you might need to type
|
||||
`sh ./configure' instead to prevent `csh' from trying to execute
|
||||
`configure' itself.
|
||||
|
||||
Running `configure' takes awhile. While running, it prints some
|
||||
messages telling which features it is checking for.
|
||||
|
||||
2. Type `make' to compile the package.
|
||||
|
||||
3. Optionally, type `make check' to run any self-tests that come with
|
||||
the package.
|
||||
|
||||
4. Type `make install' to install the programs and any data files and
|
||||
documentation.
|
||||
|
||||
5. You can remove the program binaries and object files from the
|
||||
source code directory by typing `make clean'. To also remove the
|
||||
files that `configure' created (so you can compile the package for
|
||||
a different kind of computer), type `make distclean'. There is
|
||||
also a `make maintainer-clean' target, but that is intended mainly
|
||||
for the package's developers. If you use it, you may have to get
|
||||
all sorts of other programs in order to regenerate files that came
|
||||
with the distribution.
|
||||
|
||||
Compilers and Options
|
||||
=====================
|
||||
|
||||
Some systems require unusual options for compilation or linking that the
|
||||
`configure' script does not know about. Run `./configure --help' for
|
||||
details on some of the pertinent environment variables.
|
||||
|
||||
You can give `configure' initial values for configuration parameters
|
||||
by setting variables in the command line or in the environment. Here
|
||||
is an example:
|
||||
|
||||
./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
|
||||
|
||||
*Note Defining Variables::, for more details.
|
||||
|
||||
Compiling For Multiple Architectures
|
||||
====================================
|
||||
|
||||
You can compile the package for more than one kind of computer at the
|
||||
same time, by placing the object files for each architecture in their
|
||||
own directory. To do this, you must use a version of `make' that
|
||||
supports the `VPATH' variable, such as GNU `make'. `cd' to the
|
||||
directory where you want the object files and executables to go and run
|
||||
the `configure' script. `configure' automatically checks for the
|
||||
source code in the directory that `configure' is in and in `..'.
|
||||
|
||||
If you have to use a `make' that does not support the `VPATH'
|
||||
variable, you have to compile the package for one architecture at a
|
||||
time in the source code directory. After you have installed the
|
||||
package for one architecture, use `make distclean' before reconfiguring
|
||||
for another architecture.
|
||||
|
||||
Installation Names
|
||||
==================
|
||||
|
||||
By default, `make install' installs the package's commands under
|
||||
`/usr/local/bin', include files under `/usr/local/include', etc. You
|
||||
can specify an installation prefix other than `/usr/local' by giving
|
||||
`configure' the option `--prefix=PREFIX'.
|
||||
|
||||
You can specify separate installation prefixes for
|
||||
architecture-specific files and architecture-independent files. If you
|
||||
pass the option `--exec-prefix=PREFIX' to `configure', the package uses
|
||||
PREFIX as the prefix for installing programs and libraries.
|
||||
Documentation and other data files still use the regular prefix.
|
||||
|
||||
In addition, if you use an unusual directory layout you can give
|
||||
options like `--bindir=DIR' to specify different values for particular
|
||||
kinds of files. Run `configure --help' for a list of the directories
|
||||
you can set and what kinds of files go in them.
|
||||
|
||||
If the package supports it, you can cause programs to be installed
|
||||
with an extra prefix or suffix on their names by giving `configure' the
|
||||
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
|
||||
|
||||
Optional Features
|
||||
=================
|
||||
|
||||
Some packages pay attention to `--enable-FEATURE' options to
|
||||
`configure', where FEATURE indicates an optional part of the package.
|
||||
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
|
||||
is something like `gnu-as' or `x' (for the X Window System). The
|
||||
`README' should mention any `--enable-' and `--with-' options that the
|
||||
package recognizes.
|
||||
|
||||
For packages that use the X Window System, `configure' can usually
|
||||
find the X include and library files automatically, but if it doesn't,
|
||||
you can use the `configure' options `--x-includes=DIR' and
|
||||
`--x-libraries=DIR' to specify their locations.
|
||||
|
||||
Specifying the System Type
|
||||
==========================
|
||||
|
||||
There may be some features `configure' cannot figure out automatically,
|
||||
but needs to determine by the type of machine the package will run on.
|
||||
Usually, assuming the package is built to be run on the _same_
|
||||
architectures, `configure' can figure that out, but if it prints a
|
||||
message saying it cannot guess the machine type, give it the
|
||||
`--build=TYPE' option. TYPE can either be a short name for the system
|
||||
type, such as `sun4', or a canonical name which has the form:
|
||||
|
||||
CPU-COMPANY-SYSTEM
|
||||
|
||||
where SYSTEM can have one of these forms:
|
||||
|
||||
OS KERNEL-OS
|
||||
|
||||
See the file `config.sub' for the possible values of each field. If
|
||||
`config.sub' isn't included in this package, then this package doesn't
|
||||
need to know the machine type.
|
||||
|
||||
If you are _building_ compiler tools for cross-compiling, you should
|
||||
use the option `--target=TYPE' to select the type of system they will
|
||||
produce code for.
|
||||
|
||||
If you want to _use_ a cross compiler, that generates code for a
|
||||
platform different from the build platform, you should specify the
|
||||
"host" platform (i.e., that on which the generated programs will
|
||||
eventually be run) with `--host=TYPE'.
|
||||
|
||||
Sharing Defaults
|
||||
================
|
||||
|
||||
If you want to set default values for `configure' scripts to share, you
|
||||
can create a site shell script called `config.site' that gives default
|
||||
values for variables like `CC', `cache_file', and `prefix'.
|
||||
`configure' looks for `PREFIX/share/config.site' if it exists, then
|
||||
`PREFIX/etc/config.site' if it exists. Or, you can set the
|
||||
`CONFIG_SITE' environment variable to the location of the site script.
|
||||
A warning: not all `configure' scripts look for a site script.
|
||||
|
||||
Defining Variables
|
||||
==================
|
||||
|
||||
Variables not defined in a site shell script can be set in the
|
||||
environment passed to `configure'. However, some packages may run
|
||||
configure again during the build, and the customized values of these
|
||||
variables may be lost. In order to avoid this problem, you should set
|
||||
them in the `configure' command line, using `VAR=value'. For example:
|
||||
|
||||
./configure CC=/usr/local2/bin/gcc
|
||||
|
||||
causes the specified `gcc' to be used as the C compiler (unless it is
|
||||
overridden in the site shell script). Here is a another example:
|
||||
|
||||
/bin/bash ./configure CONFIG_SHELL=/bin/bash
|
||||
|
||||
Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent
|
||||
configuration-related scripts to be executed by `/bin/bash'.
|
||||
|
||||
`configure' Invocation
|
||||
======================
|
||||
|
||||
`configure' recognizes the following options to control how it operates.
|
||||
|
||||
`--help'
|
||||
`-h'
|
||||
Print a summary of the options to `configure', and exit.
|
||||
|
||||
`--version'
|
||||
`-V'
|
||||
Print the version of Autoconf used to generate the `configure'
|
||||
script, and exit.
|
||||
|
||||
`--cache-file=FILE'
|
||||
Enable the cache: use and save the results of the tests in FILE,
|
||||
traditionally `config.cache'. FILE defaults to `/dev/null' to
|
||||
disable caching.
|
||||
|
||||
`--config-cache'
|
||||
`-C'
|
||||
Alias for `--cache-file=config.cache'.
|
||||
|
||||
`--quiet'
|
||||
`--silent'
|
||||
`-q'
|
||||
Do not print messages saying which checks are being made. To
|
||||
suppress all normal output, redirect it to `/dev/null' (any error
|
||||
messages will still be shown).
|
||||
|
||||
`--srcdir=DIR'
|
||||
Look for the package's source code in directory DIR. Usually
|
||||
`configure' can determine that directory automatically.
|
||||
|
||||
`configure' also accepts some other, not widely useful, options. Run
|
||||
`configure --help' for more details.
|
||||
|
@ -0,0 +1,22 @@
|
||||
SUBDIRS = $(TOPSUBDIRS)
|
||||
|
||||
$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
|
||||
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ;
|
||||
|
||||
$(top_srcdir)/subdirs:
|
||||
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
|
||||
|
||||
$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
|
||||
@cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4
|
||||
|
||||
MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files
|
||||
|
||||
package-messages:
|
||||
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common package-messages
|
||||
$(MAKE) -C po merge
|
||||
|
||||
EXTRA_DIST = admin COPYING configure.in.in
|
||||
|
||||
dist-hook:
|
||||
cd $(top_distdir) && perl admin/am_edit -padmin
|
||||
cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs
|
@ -0,0 +1,455 @@
|
||||
New: KPowersave 0.7.3
|
||||
=================================================
|
||||
|
||||
Note: The last release is now 4 months ago, so the NEWS are longer than
|
||||
normal. For all changes read the Changelog.
|
||||
|
||||
Major changes since the last version/release:
|
||||
- added new dialog to show logfiles if a suspend/resume fail and allow
|
||||
the user to save the log (need to get enabled per distro)
|
||||
- added support to handle brightness key events if the machine not already
|
||||
handle this in the hardware directly
|
||||
- added new feature named autodimm to reduce the brightness of the display
|
||||
if the user is inactive and dimm up if the user get active again
|
||||
- new dialog shown up 30 seconds before autosuspend call the suspend to
|
||||
warn the user and allow chancel the suspend
|
||||
- added code to work with new PolicyKit/ConsoleKit/HAL combi to check if
|
||||
the user is privileged (for HAL >= 0.5.10 and related PolicyKit versions)
|
||||
- added code to check if the current desktop session is avtive and handle
|
||||
if the session get inactive (via ConsoleKit)
|
||||
- added code to release/aquire org.freedesktop.Policy.Power if the session
|
||||
get inactive/active to allow powersaved or other active KPowersave
|
||||
instances to handle powermanagement
|
||||
- prepared KPowersave to work also with HAL >= 0.5.10 (handle renamed
|
||||
policy names in HAL)
|
||||
- use now kdebug functions instead of own macros, added --dbg-trace option
|
||||
to allow trace function entry and leave points.
|
||||
|
||||
Minor changes:
|
||||
- added wodim to autosuspend blacklist
|
||||
- changed logic for resume if a timeout happen
|
||||
- change default timeout to fake keyevent for locked screen to 2.5 sec
|
||||
- don't fake key event after locked screen and lidopen if config variable
|
||||
timeToFakeKeyAfterLock < 0
|
||||
- added new config variable (callSetPowerSaveOnAC in [General] section)
|
||||
to disable call SetPowerSave() on HAL.
|
||||
- fix code to guess if a 6-hour-timeout occours while suspend/resume or
|
||||
if there was really a error
|
||||
- removed Portuguese version of the help, since only one paragraph was
|
||||
translated
|
||||
- fixed configure script to detect if we should use HAL to get information
|
||||
about policies instead of PolicyKit
|
||||
- force update detailed dialog on AC events to get always e.g. the
|
||||
correct scheme info in the dialog
|
||||
- reworked code for mouse wheel events to reuse code for brightness keys
|
||||
- several HAL/D-Bus/PolicyKit/ConsoleKit related fixes/updates
|
||||
- cleanup code, fixed compiler warnings, added new functions to removed
|
||||
doubled code
|
||||
|
||||
Bugfixes:
|
||||
- fixed problems with usage of enum cpufreq_type: don't assign integer
|
||||
values to a enum (lead to segfault since enum is a 8bit char object)
|
||||
- fixed wrong unit for power consumption (removed 'h' from unit)
|
||||
- only suspend on button events if we resumed to avoid double suspends
|
||||
- several fixes to make signals from HAL/DBus idependent from the QT
|
||||
eventloop due to problems with the QT3 DBus bindings
|
||||
- several patches from Mandriva (lmontel@mandriva.com) to fix problems
|
||||
with translations, format messages, speedup build and memory leaks
|
||||
- fixed detection if brightness is really supported by the system
|
||||
- call setPowerSave() always depending on AC state if a scheme get set.
|
||||
- use float for internal calculation of battery values
|
||||
- When use DBUS_TYPE_BOOLEAN use as variable type dbus_bool_t to avoid
|
||||
possible trouble on big endian machines
|
||||
|
||||
Fixed bugs (from bugzilla.novell.com if no other comment):
|
||||
- #182609: autosuspend warn dialog, feature request
|
||||
- #229234: kpowersave does not fall back to userspace governor
|
||||
- #256372: make HAL events independent from QT eventloop
|
||||
- #257326: ignore battery warnings if on AC
|
||||
- #266243: check info.capability and not info.category for laptop_panel
|
||||
- #274705: feature request autodimm
|
||||
- #282640: fixed brightness up/down handling
|
||||
- #284622: fixed segfault
|
||||
- #293707: de.po: missing space between text and ellipsis (...)
|
||||
- #298332: crash, fixed typo
|
||||
- #299577: disable Yast module on >= openSUSE 10.3
|
||||
- #301692: fix switch schemes on AC events, fixed detection session
|
||||
state, fixed possible segfault on ix86
|
||||
- #302493: don't use kdFatal() befor exit(), it would look like a crash
|
||||
- #303963: fix segfault if XDG_SESSION_COOKIE is not set
|
||||
- #307431: prevent AC notifications if session state get changed
|
||||
- #309491: fixed code to free KProcess object if gnome-screensaver runs
|
||||
- Debian #413638: if config dialog is minimized and the user try to
|
||||
start config dialog via applet reactivate the dialog.
|
||||
- Debian #413811: fails to notify if suspend-to-ram fails
|
||||
- (K)Ubuntu #94396: stop autosuspend before suspend
|
||||
|
||||
Tranlation updates:
|
||||
- german: Danny Kukawka
|
||||
- arabic: Youssef Chahibi
|
||||
- slovenian: Jure Repinc
|
||||
- several other from forgesvn1.novell.com/svn/suse-i18n/trunk/lcn
|
||||
|
||||
|
||||
New: KPowersave 0.7.2 (development tree/unstable)
|
||||
=================================================
|
||||
|
||||
This version is a major step to the next KPowersave stable version.
|
||||
At first: you don't need to change the KPowersave config file manually
|
||||
any longer - this version provide now all options for powermanagement
|
||||
in KPowersave via the updated and extended configure dialog.
|
||||
|
||||
You can find all changes since the last release in this file or in the
|
||||
Changelog. Please test KPowersave and feel free to report bugs to the
|
||||
powersave-devel mailinglist or for SUSE products via the Novell bugzilla.
|
||||
|
||||
Because of the changes in the GUI the most translations are not
|
||||
up-to-date. Feel free to checkout the source, update your translations
|
||||
file and send it to us.
|
||||
|
||||
Major changes since the last version:
|
||||
- extended configure dialog to provide this functionality:
|
||||
* schemes settings:
|
||||
- add new and delete existing (no default) schemes
|
||||
- define a CPU Frequency policy for each scheme
|
||||
* general settings:
|
||||
- define battery warning levels and actions if a level reached
|
||||
as e.g. Suspend to disk, Shutdown or change the brightness
|
||||
- configure actions for button events (Power/Lid/Suspend/Sleep)
|
||||
- define the default AC and battery schemes
|
||||
- show the power consumtion of the battery in the detailed info dialog
|
||||
- umount external media before suspend (need a patch of the KDE media
|
||||
manager) to avoid data loss and remount on resume
|
||||
- reset the CPU Freq settings on resume to avoid different settings for
|
||||
the CPU governor on multicore machines
|
||||
- call now SetCPUFreqConsiderNice(), SetCPUFreqPerformance() on dynamic
|
||||
CPU Freq policy (as poweruser setting only changeable via config file),
|
||||
and also SetPowerSave() with true on battery and false otherwise.
|
||||
- support also conservative governor as DYNAMIC fallback
|
||||
- fixed brightness handling in the configure dialog if not activated
|
||||
- removed accelerator tags from i18n() strings. KDE handle this by itself.
|
||||
Improved config GUI to be better accessible via keyboard.
|
||||
- code and code documentation cleanups and updates
|
||||
|
||||
Fixed bugs (from bugzilla.novell.com if no other comment):
|
||||
- #245081: KPowersave does not set (ondemand) governor on startup
|
||||
- #244052: Close lid of a laptop and suspend to ram cause 100% CPU
|
||||
- #229960: CPUFREQ_DYNAMIC_PERFORMANCE seems to be ignored during
|
||||
boot and scheme change
|
||||
- #230686: KPowersave need to be restarted to apply DPMS settings
|
||||
- #230965: puzzling battery state info
|
||||
- #231709: kpowersave-0.7.1-12: comparison with string literal
|
||||
- #231184: KPowersave crashes due to uninitalized LibHalContext
|
||||
- #229234: KPowersave does not fall back to userspace governor
|
||||
- #215262: Suspend to disk with attached usb storage not working
|
||||
- #223164: After suspend, second core has performance governor set
|
||||
- #223517: Powersave: CPU scheme "dynamic" reduces speed if only
|
||||
nice -19 processes run
|
||||
- #223637: kpowersave crashes in first login
|
||||
- #225212: KPowersave crash on ThinkPad X60s
|
||||
- #221715: Functionality for configuring lid close event etc.
|
||||
missing in KPowersave
|
||||
- #223922: System not shuting down on pressing power button
|
||||
|
||||
Tranlation updates:
|
||||
- german: Danny Kukawka
|
||||
- danish: Stefan Skotte
|
||||
- turkish: S.รaฤlar Onur
|
||||
- chinese: Zhengpeng Hou
|
||||
|
||||
|
||||
|
||||
KPowersave 0.7.1 (development tree/unstable)
|
||||
=================================================
|
||||
|
||||
I'm glad to announce the first new offical release from the KPowersave
|
||||
development version 0.7.1. This is the first version of KPowersave without
|
||||
dependency to the powersave daemon. From now KPowersave use directly the
|
||||
HAL daemon to get Hardware information and set e.g. brightness or trigger
|
||||
Suspend.
|
||||
|
||||
Also if KPowersave depend no longer on powersave, I would recommend to use
|
||||
the new/current powersave version furthermore. You can use the powersave
|
||||
daemon if there is no client as e.g. KPowersave to handle system power-
|
||||
management. If KPowersave (there is also a patch for g-p-m available) start
|
||||
up the daemon stop automatically to handle powermanagement policy and
|
||||
the KPowersave applet force (if allowed) the user specific policy.
|
||||
|
||||
You can find all changes since the last stable release in this file or in
|
||||
the Changelog. Please test KPowersave and feel free to report bugs to
|
||||
the powersave-devel mailinglist or for SUSE products via the Novell bugzilla.
|
||||
|
||||
Major changes since the last version:
|
||||
- Initial port from powersave to HAL/D-Bus/PolicyKit:
|
||||
- replaced most features from the last stable version base on powersave
|
||||
with new code. (Only missing atm eyecandy stuff as suspend progress dialog)
|
||||
- replaced code to get hardware information from powersave with get info
|
||||
from the HAL daemon
|
||||
- changed resume from suspend/standby detection and handling of the event
|
||||
- KPowersave claim now org.freedesktop.Policy.Power interface from D-Bus
|
||||
to stop powersave from handle powermanagement policy and to prevent
|
||||
handle other clients to start powermanagement.
|
||||
- Extended existing schemes to be complete handled in KPowersave instead
|
||||
of the powersave daemon. Added new (scheme) settings for:
|
||||
* battery warning levels
|
||||
* actions for battery warning levels and for lidclose events (as e.g.
|
||||
SHUTDOWN, SUSPEND2DISK, SUSPEND2RAM, CPUFREQ_POWERSAVE, CPUFREQ_DYNAMIC,
|
||||
or BRIGHTNESS)
|
||||
* AC and Battery default schemes
|
||||
* CPU Frequency Policies per scheme
|
||||
--> NOTE: you can change this settings currently only via the config file
|
||||
and not via the GUI configure dialog. This is the next step, we
|
||||
concentrated on get KPowersave running for this release.
|
||||
- Fixed KDE screensaver and DPMS handling to reduce/avoid interfer with the
|
||||
KDE user settings. There is a KDE patch available to check if KPowersave
|
||||
handle DPMS settings already and call the KPowersave config dialog.
|
||||
|
||||
|
||||
|
||||
KPowersave 0.6.2 (stable update)
|
||||
================================
|
||||
|
||||
Changes/fixes since last stable release:
|
||||
- KPowersave depends now on powersave >= 0.12.18
|
||||
- fixed bugs:
|
||||
- sf.net #1483392/ SUSE #177792: set changes for autosuspend state via DCOP
|
||||
back to the applet menu, added DCOP functions to set the current scheme,
|
||||
the current CPUFreq policy and to open/close the detailed dialog
|
||||
- sf.net #1483392/ SUSE #177788,180000: added workaround to fix two bugs in
|
||||
the DPMS- and Screensaver extension of X, related to autosuspend and detect
|
||||
user inactivity (DPMS timeouts are abstracted from current idle time, but
|
||||
shouldn't / DPMS timeouts are currently additive but shouldn*'t). This fix
|
||||
problems with autosuspend if the timeout is longer than the DPMS timeouts.
|
||||
- SUSE #168619: changed errorhandling if HAL, DBUS or the powersave daemon
|
||||
is not running or if the user has not the needed rights to access the
|
||||
powersave daemon via DBUS. Added new errormessages and translations.
|
||||
- SUSE #182515: Changed configure dialog to respect rules for DPMS timeouts
|
||||
- SUSE #176782: patch from Timo Hรถnig <thoenig@suse.de> to allow (if
|
||||
supported and enabled in the scheme) change brighness via mousewheel over
|
||||
the applet icon.
|
||||
- SUSE (SLED) #183745: fixed detection of SUSE Linux/SLES/SLED and added
|
||||
configure option to force SLES/SLED as distro with --enable-suse-sles.
|
||||
Fixed bugzilla link for SLED/SLES
|
||||
- SUSE #184076: fixed wrong command to start dbus daemon in errormessage.
|
||||
- added additional check before autosuspend if this was disabled via applet
|
||||
- added new configure check to detect Ubuntu/Kubuntu
|
||||
- changed link to Ubuntu bugzilla to launchpad.net and use now the same link
|
||||
for applet menu entry "Report a bug ..." if compiled for Ubuntu/Kubuntu
|
||||
- updated default blacklist for autosuspend with gmplayer,kaffeine,xine,mencoder
|
||||
- updated translation: cs,de,es,fi,fr,hu,it,km,pl,pt_BR,zh_CN,zh_TW
|
||||
- updated (cs) and fixed translation of eventsrc for KNotify
|
||||
- fixed and updated code documentation
|
||||
|
||||
KPowersave 0.6.1 (stable update)
|
||||
================================
|
||||
|
||||
Changes/fixes since last stable release:
|
||||
- fixed SUSE bug #167296: fixed tooltip and removed unneeded checks for battery
|
||||
related infos. Should fix display wrong remaining time on charging with APM
|
||||
- fixed SUSE bug #165462: removed utf8 tag from eventsrc which results in
|
||||
"unknown source ..." message in knotify dialog
|
||||
- fixed SUSE bug #168838; event for resumeFromSuspendToDisk displayed twice in
|
||||
knotify dialog (typo and translation issue in eventsrc)
|
||||
- fixed detailed dialog for multiprocessor/-core machines without CPUFreq or
|
||||
throttling support and offline CPUs/Cores
|
||||
- updated translations (fi,km,pl,ru) including desktop files and eventsrc (ru,
|
||||
from Anton Farygin <rider@altlinux.com>)
|
||||
- added configure check for dbus-1-qt3-devel headers
|
||||
- updated README (ALT Linux bugzilla link)
|
||||
|
||||
KPowersave 0.6.0 (stable)
|
||||
================================
|
||||
|
||||
I'm glad to announce the new official stable release of KPowersave (v0.6.0).
|
||||
You can find all changes since the last stable release in this file or in
|
||||
the Changelog.
|
||||
|
||||
Thanks to all persons which helped to develop KPowersave with patches,
|
||||
testing new unstable versions and report bugs back to us. A special thanks
|
||||
to:
|
||||
Holger Macht, Stefan Seyfried, Michael Biebl, Daniel Gollub
|
||||
and last but not least SUSE/Novell.
|
||||
|
||||
Danny Kukawka
|
||||
|
||||
|
||||
Changes since last release:
|
||||
- changed powersave dependency to current stable version >= 0.12.7
|
||||
- reduced the size of the package by optimize the size of included png files.
|
||||
The size off all png files is now reduced by ~709KByte.
|
||||
- added german version of the handbook
|
||||
- fixed processor bar in detailed dialog to set correct for the first call.
|
||||
- fixed tooltip for machines which always report charging also if 100%
|
||||
charged and on AC
|
||||
- fix from Michael Biebl for notify about autosuspend after resume and a
|
||||
remove no longer needed check from configure
|
||||
- added support for lock screen via gnome-screensaver (only under GNOME)
|
||||
- added fake keyevent (shift) after resume if machine was locked before
|
||||
suspend to show the login dialog automatically
|
||||
- fixed detailed dialog for machines without CPUFreq and more than one CPU/
|
||||
Core or with throttling support (see SUSE bug #164683).
|
||||
- added patch from Daniel Gollub to be able to fake CPU infos for develop
|
||||
- fixed errorhandling for YaST power management module (SUSE specific)
|
||||
- changed link for report bug opened via the applet menu if this is a
|
||||
SUSE package. Open now the related opensuse.org wiki page.
|
||||
- fixed bug report address in the about dialog (to powersave-users ML)
|
||||
- translation updates
|
||||
- changed timeout for recheck powersave on startup from 10 secs to 20 to
|
||||
avoid annoying messages on slow machines or autologin
|
||||
- updated README with install/compile and help/bugreport information
|
||||
- updated code docu (added planed features/enhancements for 0.7/0.8 tree)
|
||||
- updated spec files for packaging
|
||||
|
||||
|
||||
KPowersave 0.5.11 (rc5)
|
||||
================================
|
||||
|
||||
Changes since last release:
|
||||
- added function to check if the machine is a laptop and to allow hide
|
||||
laptop specific widgets/code e.g. on workstations
|
||||
- hide 'Lock screen on lid close' checkbox in config dialog on non-Laptop
|
||||
- changed brightness settings to be sure that we use the lowest 'usable'
|
||||
min level of brightness and to avoid off the display on e.g. pmu
|
||||
- allow root user always all kind of suspend/standby
|
||||
- little fix to prepare for QT4 (s/TRUE/true/)
|
||||
- translation, handbook and code documenatation updates and fixes
|
||||
- code cleanups, SVN file attributes fixed
|
||||
|
||||
KPowersave 0.5.10 (rc4)
|
||||
================================
|
||||
|
||||
Changes since last release:
|
||||
- KPowersave depends now on: powersave >= 0.12.2
|
||||
- fixed lidclose handling: added call xset to off the backlight of LCD
|
||||
displays and reset DPMS settings on lidopen
|
||||
- fixed read throttling state for multiprocessor machines (patch from
|
||||
Daniel Gollub <dgollub@suse.de>)
|
||||
- fixed display processor infos on multiprocessor/-core machines dislay now
|
||||
values for each CPU/core also on non CPUfreq and non-throttling machines
|
||||
- fix to display battery infos only if at least min. 1 batteryslot available
|
||||
- translation updates (po files and handbook) from SUSE/Novell translation
|
||||
team and Dawid Wrรณbel <cromo@klej.net>
|
||||
- added and updated screenshots for handbook
|
||||
- added missing icon on non-SUSE distributions
|
||||
- autotools releated fixes: better detection of Mandriva, use now pkgconfig
|
||||
from powersave for checks and linking, read name/location of dbus system
|
||||
socket from pkgconfig.
|
||||
|
||||
KPowersave 0.5.9 (rc3)
|
||||
================================
|
||||
|
||||
Changes since last release:
|
||||
- fixed battery and processor information for APM and machines without
|
||||
CPU freq or throttling support
|
||||
- fixed battery state in the detailed dialog if no battery is available
|
||||
- translation and handbook updates and fixes
|
||||
|
||||
KPowersave 0.5.8 (rc2)
|
||||
================================
|
||||
|
||||
Changes since last release:
|
||||
- removed sound settings from configure dialog and added KNotify support
|
||||
and more events, KNotify config dialog is available via applet menu and
|
||||
in the configure dialog (Michael Biebl/Danny Kukawka)
|
||||
- added dcop function to open configure dialog
|
||||
- fixed path to powersaved in code and translations to be more portable
|
||||
(Michael Biebl)
|
||||
- fixed cpu info in the info dialog to display also for machines which
|
||||
only support throttling (Daniel Gollub/Danny Kukawka)
|
||||
- fixed battery part in the info dialog to have same sized progressbars
|
||||
- fixed strings in the code, fixed sting in tooltip if charging
|
||||
- fixed problems with pidof on Fedora: pidof should be in PATH of user.
|
||||
- removed no longer needed parts from handbook
|
||||
- updated translations related to the changes
|
||||
- cleanups (code and files)
|
||||
|
||||
|
||||
KPowersave 0.5.7 (rc1)
|
||||
================================
|
||||
|
||||
Changes since last release:
|
||||
- added brightness support and battery state info to the detailed dialog
|
||||
- updated translations: bg,cs,es,fr,it,ja,pt,nb,pt_BR,zh_CN,zh_TW
|
||||
- added new language: km
|
||||
- added new help file (currently without pics): Finnish
|
||||
- fixed bugs:
|
||||
- fixed again display CPU Freq Policy on machines without cpufreq support
|
||||
- autotools related fixes (Michael Biebl <biebl@teco.edu>)
|
||||
|
||||
KPowersave 0.5.6 (unstable)
|
||||
================================
|
||||
|
||||
Changes since last release:
|
||||
- added new summary battery progress bar if more than one battery bay is
|
||||
available in the system
|
||||
- updated translation files (nb,nl,pl,pt,zh_CN) thanks to Dawei Pang
|
||||
(zh_CN) and Dawid Wrรณbel (pl)
|
||||
- added new helpfiles for Czech and Portuguese (not complete translated),
|
||||
removed some pics to reduce package size
|
||||
- fixed bugs:
|
||||
- wrong path to pidof prevented autosuspend (fixed path to /bin )
|
||||
- fixed autotools releated issues
|
||||
- included header for Slackware 10.2
|
||||
- fixed excessive CPU usage of detailed dialog
|
||||
- fixed problems if CPU Freq Policy not supported
|
||||
|
||||
KPowersave 0.5.5 (unstable)
|
||||
================================
|
||||
|
||||
Changes since last release:
|
||||
- reworked the detailed dialog to a new design
|
||||
- fixed problems with offline CPUs
|
||||
- fixed battery handling
|
||||
- updated pot/po files and completed german translation
|
||||
- added new help menu to the applet, added new about dialog and a link
|
||||
to the sourceforge bugzilla for easy report bugs
|
||||
- added new icon for the 'Advanced Powersave' scheme
|
||||
- several cleanups and little fixes
|
||||
|
||||
KPowersave 0.5.4 (unstable)
|
||||
================================
|
||||
|
||||
Changes since last release:
|
||||
- added new detailed information dialog to the left button on the applet
|
||||
which provide currently following information:
|
||||
- battery info for multiple batteries
|
||||
- CPU Frequency info also for multiprozessor machines
|
||||
- current scheme, current CPU Frequency policy, AC status, powersave
|
||||
status
|
||||
- updated code dokumentation and enhancement/implementation doc
|
||||
|
||||
KPowersave 0.5.3 (unstable)
|
||||
================================
|
||||
|
||||
Changes since last release:
|
||||
- implemented scheme specific brightness settings in KPowersave
|
||||
and in the configure dialog and added capability for brightness to disable
|
||||
set brightness in powersave if KPowersave is running.
|
||||
- added warning dialog is 'Advanced Powersave' scheme is selected to avoid
|
||||
problems with this EXPERIMENTAL feature
|
||||
- updated: translation (nl), code documentation
|
||||
- fixed compiler warning, patch by Daniel Gollub <dgollub@suse.de>
|
||||
|
||||
KPowersave 0.5.2 (unstable)
|
||||
================================
|
||||
|
||||
Changes since last release (KPowersave 0.5.0):
|
||||
- updated to new powersave (>= v0.11.2)
|
||||
- added new dialog/error message if powersave is not running, from now
|
||||
'Don't show again' checkbox is available to disable the message
|
||||
- added popup if HAL is not running (special if also powersave is not available)
|
||||
and kpowersave get no information about battery/AC status
|
||||
- changed settings of sounds filedialog to be more portable
|
||||
- removed old and not needed qt1/qt2 includes
|
||||
- changed handling with not available connection to powersave on
|
||||
startup of KDE (special for autologin)
|
||||
- updated help files and added new Norsk and Hungarian help files, added
|
||||
language specific screenshots
|
||||
- fixed dialogs to be respect KDE user interface style guide, fixed
|
||||
icon handling and desktop file (thanks to Stephan Binner <stbinner@suse.de>)
|
||||
- added admin dir and updated README for compile on non-SUSE distributions
|
||||
- updated translation files
|
||||
- updated code documentation
|
||||
- code and file cleanups
|
||||
- several little bugfixes
|
||||
- switched from CVS to SVN
|
@ -0,0 +1,99 @@
|
||||
****************************************************************************
|
||||
* DEPENDENCIES *
|
||||
****************************************************************************
|
||||
|
||||
You need the following packages (the package names maybe differ for each
|
||||
distribution) to compile KPowersave:
|
||||
|
||||
- dbus (dbus-devel, dbus-qt3-devel) >= 0.6.x recommended: >= 0.9.x
|
||||
- hal (hal-devel) recommended: >= 0.5.9.1
|
||||
- kdelibs3-devel recommended: >= 3.4.3/3.5.x
|
||||
- pkgconfig
|
||||
- xorg-x11-devel (for detect inactivity and set DPMS)
|
||||
|
||||
and maybe also these packages:
|
||||
- doxygen (for code documentation)
|
||||
- docbook, kde3sdk (handbook)
|
||||
|
||||
other (may) needed packages for run all KPowersave features:
|
||||
- PolicyKit, recommended >= 0.2
|
||||
- ConsoleKit
|
||||
|
||||
|
||||
****************************************************************************
|
||||
* INSTALLATION *
|
||||
****************************************************************************
|
||||
|
||||
* For SUSE users how to generate configure:
|
||||
|
||||
. /etc/opt/kde3/common_options
|
||||
update_admin
|
||||
|
||||
* For other distributions try this to generate configure:
|
||||
|
||||
make -f admin/Makefile.common cvs
|
||||
|
||||
|
||||
* Execute the following commands to compile, make and install kpowersave:
|
||||
|
||||
./configure --prefix=/opt/kde3 [--enable-debug=full]
|
||||
make
|
||||
make install
|
||||
|
||||
|
||||
For the rest (or more general information) read the INSTALL file.
|
||||
|
||||
|
||||
|
||||
****************************************************************************
|
||||
* HELP/SUPPORT *
|
||||
****************************************************************************
|
||||
|
||||
Project Websites:
|
||||
===================
|
||||
|
||||
KPowersave@freshmeat.net:
|
||||
* http://freshmeat.net/projects/kpowersave
|
||||
|
||||
KPowersave@kde-apps.org:
|
||||
* http://www.kde-apps.org/content/show.php?content=29295
|
||||
|
||||
(K)Powersave@sourceforge.net:
|
||||
* http://sourceforge.net/projects/powersave
|
||||
|
||||
(K)Powersave@forge.novell.com:
|
||||
* http://developer.novell.com/wiki/index.php/Powersave
|
||||
|
||||
Mailinglists:
|
||||
===============
|
||||
|
||||
powersave-users with enduser support:
|
||||
* http://forge.novell.com/mailman/listinfo/powersave-users
|
||||
|
||||
powersave-devel for developer and port to distributions:
|
||||
* http://forge.novell.com/mailman/listinfo/powersave-devel
|
||||
|
||||
|
||||
Forums:
|
||||
=========
|
||||
|
||||
* http://sourceforge.net/forum/?group_id=124576
|
||||
|
||||
|
||||
Bugreports:
|
||||
=============
|
||||
|
||||
Please report distribution or packaging related bugs to the bugreport
|
||||
system of your distribution e.g.:
|
||||
* SUSE Linux: http://en.opensuse.org/Report_a_Bug
|
||||
* SLES/SLED: https://bugzilla.novell.com/
|
||||
* Debian: http://www.debian.org/Bugs/
|
||||
* K/Ubuntu: https://launchpad.net/distros/ubuntu/+bugs
|
||||
* RedHat: https://bugzilla.redhat.com/
|
||||
* Mandriva: http://qa.mandriva.com/
|
||||
* ALT Linux: http://bugzilla.altlinux.org/
|
||||
* Pardus: http://bugs.pardus.org.tr/
|
||||
|
||||
For general Bugs use:
|
||||
* http://sourceforge.net/tracker/?group_id=124576&atid=700009
|
||||
* powersave-users mailinglist
|
@ -0,0 +1,48 @@
|
||||
Currently we porting KPowersave to use HAL instead of the powersave daemon.
|
||||
|
||||
********************************************************************************
|
||||
|
||||
For more information read this:
|
||||
http://dkukawka.blogspot.com/2006/10/kpowersave-development-for-next-stable.html
|
||||
|
||||
or in general about the current state of development:
|
||||
http://dkukawka.blogspot.com/
|
||||
|
||||
|
||||
or the powersave-devel mailinglist archive:
|
||||
http://forge.novell.com/pipermail/powersave-devel/
|
||||
|
||||
or at gmane.org:
|
||||
http://news.gmane.org/gmane.linux.power-management.powersave
|
||||
|
||||
********************************************************************************
|
||||
|
||||
Currently TODOs: (except as TODO marked issues in the code)
|
||||
|
||||
IMPORTANT:
|
||||
|
||||
* related to new PolicyKit/ConsoleKit/HAL combination and 'Session'-handling:
|
||||
- fix scheme handling (don't set scheme if inactive, force correct scheme if
|
||||
active session again)
|
||||
- the running KPowersave instance can may not react as configured on empty/
|
||||
low battery if the session is inactive. May only a shutdown via KDE is
|
||||
possible.
|
||||
Think about this possible solutions:
|
||||
- fall back to shutdown via KDE on lowest battery level
|
||||
- drop org.freedesktop.Policy.Power interface and let powersaved to the
|
||||
job
|
||||
|
||||
NORMAL:
|
||||
|
||||
* fix suspend workflow, including:
|
||||
- handle errors (50 % done)
|
||||
|
||||
* add code to react if KPowersave could not claim the
|
||||
org.freedesktop.Policy.Power interface from D-Bus
|
||||
|
||||
* update doxygen files, remove/update tasks etc.
|
||||
|
||||
* testing and bugfixing (always!)
|
||||
|
||||
* check if there is room of improvment for:
|
||||
- reduce calls and set/force settings (partly done)
|
@ -0,0 +1,173 @@
|
||||
#MIN_CONFIG(3.2.0)
|
||||
|
||||
AM_INIT_AUTOMAKE(kpowersave, 0.7.3, danny.kukawka@web.de)
|
||||
AC_C_BIGENDIAN
|
||||
AC_CHECK_KDEMAXPATHLEN
|
||||
|
||||
AC_ARG_ENABLE(debug-msg, [ --enable-debug-msg build with debug messages],enable_debug_msg=$enableval,enable_debug_msg=auto)
|
||||
AC_ARG_ENABLE(yast-entry, [ --enable-yast-entry build with a YaST entry in the applet menu],enable_yast_entry=$enableval,enable_yast_entry=auto)
|
||||
AC_ARG_ENABLE(fake-cpu, [ --enable-fake-cpu use fake cpu environment],enable_fake_cpu=$enableval,enable_fake_cpu=auto)
|
||||
AC_ARG_ENABLE(suse-sles, [ --enable-suse-sles set SLES/SLED as distribution],enable_suse_sles=$enableval,enable_suse_sles=auto)
|
||||
|
||||
YAST_ENTRY="no"
|
||||
PKG_PROG_PKG_CONFIG
|
||||
|
||||
if test x$enable_suse_sles = xyes; then
|
||||
AC_DEFINE([DISTRO_IS_SUSE],1,[define if the distro is SUSE])
|
||||
AC_DEFINE([DISTRO_IS_SLES_SLED],1,[define if the distro is a SUSE Linux Enterprise product])
|
||||
YAST_ENTRY="yes"
|
||||
echo "detected distribution: SUSE Linux / a SUSE Linux Enterprise product"
|
||||
elif test -f /etc/SuSE-release ; then
|
||||
AC_DEFINE([DISTRO_IS_SUSE],1,[define if the distro is SUSE])
|
||||
echo -n "detected distribution: SUSE Linux "
|
||||
YAST_ENTRY="yes"
|
||||
if test -x /usr/bin/lsb_release ; then
|
||||
/usr/bin/lsb_release -d -s > lsb_id.tmp
|
||||
if test -f lsb_id.tmp; then
|
||||
read LSB_ID < lsb_id.tmp
|
||||
case "$LSB_ID" in
|
||||
*SUSE*Linux*Enterprise*)
|
||||
AC_DEFINE([DISTRO_IS_SLES_SLED],1,[define if the distro is a SUSE Linux Enterprise product])
|
||||
echo "/ a SUSE Linux Enterprise product"
|
||||
;;
|
||||
*)
|
||||
/usr/bin/lsb_release -r -s > lsb_release.tmp
|
||||
if test -f lsb_release.tmp; then
|
||||
read LSB_RELEASE < lsb_release.tmp
|
||||
case "$LSB_RELEASE" in
|
||||
*10)
|
||||
;;
|
||||
*10.1)
|
||||
;;
|
||||
*10.2)
|
||||
;;
|
||||
*)
|
||||
YAST_ENTRY="no"
|
||||
;;
|
||||
esac
|
||||
rm -f lsb_release.tmp;
|
||||
fi
|
||||
echo ""
|
||||
;;
|
||||
esac
|
||||
rm -f lsb_id.tmp;
|
||||
else
|
||||
echo ""
|
||||
fi
|
||||
fi
|
||||
elif test -f /etc/altlinux-release ; then
|
||||
AC_DEFINE([DISTRO_IS_ALTLINUX],1,[define if the distro is AltLinux])
|
||||
echo "detected distribution: ALT Linux"
|
||||
elif test -f /etc/fedora-release ; then
|
||||
AC_DEFINE([DISTRO_IS_FEDORA],1,[define if the distro is RedHat/Fedora])
|
||||
echo "detected distribution: RedHat/Fedora"
|
||||
elif test -f /etc/mandrake-release -o -f /etc/mandriva-release -o -f /etc/mandrakelinux-release; then
|
||||
AC_DEFINE([DISTRO_IS_MANDRAKE],1,[define if the distro is Mandrake])
|
||||
echo "detected distribution: Mandrake/Mandriva"
|
||||
elif test -f /etc/pardus-release ; then
|
||||
AC_DEFINE([DISTRO_IS_PARDUS],1,[define if the distro is Pardus])
|
||||
echo "detected distribution: Pardus"
|
||||
elif test -f /etc/redhat-release ; then
|
||||
AC_DEFINE([DISTRO_IS_REDHAT],1,[define if the distro is RedHat])
|
||||
echo "detected distribution: RedHat"
|
||||
elif test -f /etc/gentoo-release ; then
|
||||
AC_DEFINE([DISTRO_IS_GENTOO],1,[define if the distro is Gentoo])
|
||||
echo "detected distribution: Gentoo"
|
||||
elif test -f /etc/slackware-version ; then
|
||||
AC_DEFINE([DISTRO_IS_SLACKWARE],1,[define if the distro is Slackware])
|
||||
echo "detected distribution: Slackware"
|
||||
elif test -f /etc/debian_version ; then
|
||||
if test -x /bin/lsb_release ; then
|
||||
/bin/lsb_release -id -s > lsb_id.tmp
|
||||
if test -f lsb_id.tmp; then
|
||||
read LSB_ID < lsb_id.tmp
|
||||
case "$LSB_ID" in
|
||||
Ubuntu*)
|
||||
AC_DEFINE([DISTRO_IS_UBUNTU],1,[define if the distro is Ubuntu/Kubuntu])
|
||||
echo "detected distribution: Ubuntu/Kubuntu"
|
||||
;;
|
||||
*)
|
||||
# couldn't detect special derivat, set to Debian
|
||||
AC_DEFINE([DISTRO_IS_DEBIAN],1,[define if the distro is Debian])
|
||||
echo "detected distribution: Debian"
|
||||
;;
|
||||
esac
|
||||
rm -f lsb_id.tmp;
|
||||
else
|
||||
# paranoid Fallback
|
||||
AC_DEFINE([DISTRO_IS_DEBIAN],1,[define if the distro is Debian])
|
||||
echo "detected distribution: Debian"
|
||||
fi
|
||||
else
|
||||
# Fallback if /bin/lsb_release is not available
|
||||
AC_DEFINE([DISTRO_IS_DEBIAN],1,[define if the distro is Debian])
|
||||
echo "detected distribution: Debian"
|
||||
fi
|
||||
else
|
||||
AC_DEFINE([DISTRO_IS_UNKNOW],1,[define if the distro is unknown])
|
||||
echo "detected distribution: unknown"
|
||||
fi
|
||||
|
||||
if test x$enable_debug_msg = xyes; then
|
||||
AC_DEFINE([ENABLE_DEBUG_MSG_MODE],1,[Support a verbose mode with debug messages])
|
||||
echo "enabled debug messages: yes"
|
||||
else
|
||||
echo "enabled debug messages: no"
|
||||
fi
|
||||
if test x$enable_yast_entry = xyes; then
|
||||
AC_DEFINE([ENABLE_YAST_ENTRY],1,[Add YaST entry in the applet menu])
|
||||
echo "enabled YaST menu entry: yes"
|
||||
else
|
||||
echo "enabled YaST menu entry: $YAST_ENTRY"
|
||||
if test x$YAST_ENTRY = xyes; then
|
||||
AC_DEFINE([ENABLE_YAST_ENTRY],1,[Add YaST entry in the applet menu])
|
||||
fi
|
||||
fi
|
||||
|
||||
if test x$enable_fake_cpu = xyes; then
|
||||
AC_DEFINE([FAKE_CPU],1,[Fake /sys and /proc - for developing])
|
||||
echo "enabled faked sysfs - proc environment: yes"
|
||||
else
|
||||
echo "enabled faked sysfs - proc environment: no"
|
||||
fi
|
||||
|
||||
pkg_modules="dbus-1 >= 0.6, hal >= 0.5.6"
|
||||
PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
|
||||
|
||||
# get dbus system bus socket
|
||||
DBUS_SYSTEM_BUS_SOCKET="`pkg-config --variable=system_bus_default_address dbus-1`"
|
||||
if test -z "$DBUS_SYSTEM_BUS_SOCKET"; then
|
||||
# use default
|
||||
DBUS_SYSTEM_BUS_SOCKET="unix:path=/var/run/dbus/system_bus_socket"
|
||||
fi
|
||||
|
||||
AC_DEFINE_UNQUOTED(DBUS_SYSTEM_BUS_SOCKET, ["$DBUS_SYSTEM_BUS_SOCKET"],
|
||||
[dbus system bus socket path])
|
||||
|
||||
|
||||
#check for PolicyKit version
|
||||
LIBHAL_POLICYCHECK=no
|
||||
AC_CHECK_LIB([hal], [libhal_device_is_caller_privileged], [LIBHAL_POLICYCHECK=yes], [LIBHAL_POLICYCHECK=no])
|
||||
if test "x$LIBHAL_POLICYCHECK" = "xyes"; then
|
||||
AC_DEFINE([USE_LIBHAL_POLICYCHECK],1,[Set if should use libhal to check policy.])
|
||||
fi
|
||||
|
||||
#check for HAL version >= 0.5.10
|
||||
if $PKG_CONFIG --atleast-version 0.5.10 hal; then
|
||||
AC_DEFINE([HAVE_HAL_0_5_10],1,[Set if we use HAL >= 0.5.10])
|
||||
fi
|
||||
|
||||
# check for dbus qt bindings --> copied from KNetworkmanager
|
||||
safe_CPPFLAGS=$CPPFLAGS
|
||||
CPPFLAGS="$CPPFLAGS $PACKAGE_CFLAGS $all_includes"
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_CPLUSPLUS
|
||||
AC_CHECK_HEADER([dbus/connection.h],,[AC_MSG_ERROR([You need D-BUS/Qt3 bindings])])
|
||||
AC_CHECK_HEADER([dbus/message.h],,[AC_MSG_ERROR([You need D-BUS/Qt3 bindings])])
|
||||
CPPFLAGS=$safe_CPPFLAGS
|
||||
AC_LANG_RESTORE
|
||||
|
||||
# call needed substitutions
|
||||
AC_SUBST(PACKAGE_CFLAGS)
|
||||
AC_SUBST(PACKAGE_LIBS)
|
||||
AC_SUBST(XGETTEXT)
|
@ -0,0 +1,6 @@
|
||||
# the SUBDIRS is filled automatically by am_edit. If files are
|
||||
# in this directory they are installed into the english dir
|
||||
|
||||
KDE_LANG = en
|
||||
KDE_DOCS = AUTO
|
||||
SUBDIRS = $(AUTODIRS)
|
@ -0,0 +1,2 @@
|
||||
KDE_DOCS = kpowersave
|
||||
KDE_LANG = cs
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.