Commit 1ee2c365 authored by Martin Pitt's avatar Martin Pitt

Imported Upstream version 0.9.5

parent c012428c
......@@ -3,7 +3,7 @@ Copyright (C) 2008 David Zeuthen <davidz@redhat.com>
All Rights Reserved.
The DeviceKit-power source code is licensed to you under the GNU
The UPower source code is licensed to you under the GNU
General Public License. Either version 2 of the License, or (at your
option) any later version. The license is included below.
......
......@@ -3,11 +3,11 @@ SCM
- anonymous checkouts
$ git clone git://git.freedesktop.org/git/DeviceKit/DeviceKit-power.git
$ git clone git://git.freedesktop.org/git/UPower.git
- checkouts if you got an ssh account on fd.o (username@ is optional)
$ git clone ssh://[username@]git.freedesktop.org/git/DeviceKit/DeviceKit-power.git
$ git clone ssh://[username@]git.freedesktop.org/git/UPower.git
- commit to local repository
......
......@@ -186,6 +186,8 @@ GTKDOC_REBASE = @GTKDOC_REBASE@
GUDEV_CFLAGS = @GUDEV_CFLAGS@
GUDEV_LIBS = @GUDEV_LIBS@
HTML_DIR = @HTML_DIR@
IDEVICE_CFLAGS = @IDEVICE_CFLAGS@
IDEVICE_LIBS = @IDEVICE_LIBS@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
......@@ -237,6 +239,8 @@ PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PKG_CONFIG = @PKG_CONFIG@
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
POFILES = @POFILES@
POLKIT_CFLAGS = @POLKIT_CFLAGS@
POLKIT_LIBS = @POLKIT_LIBS@
......@@ -251,6 +255,8 @@ STRIP = @STRIP@
UP_MAJOR_VERSION = @UP_MAJOR_VERSION@
UP_MICRO_VERSION = @UP_MICRO_VERSION@
UP_MINOR_VERSION = @UP_MINOR_VERSION@
USB_CFLAGS = @USB_CFLAGS@
USB_LIBS = @USB_LIBS@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
WARNINGFLAGS_C = @WARNINGFLAGS_C@
......@@ -292,7 +298,6 @@ libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
lt_ECHO = @lt_ECHO@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
......
Version 0.9.5
~~~~~~~~~~~
Released: 2010-07-12
New Features:
- Add battery query support for iDevices (Bastien Nocera)
- Assign names to our idle sources when using new versions of glib2 (Richard Hughes)
- Dynamic testing for enough hibernate swap (Martin Pitt)
- Port UPower to libusb1 to avoid unfixable crashes (Richard Hughes)
- Port to GTest (Richard Hughes)
- Get the powersave command from the backend rather than hardcoding Linux specifics (Richard Hughes)
Bugfixes:
- Update the list of supported TrippLite HID Power Devices (Joseph Stockman)
- Fix a potential daemon crash. Fixes fd#27902 (Mariusz Ceier)
- Increase UP_DAEMON_SWAP_WATERLINE (Martin Pitt)
- Fix up a potential crasher in the CSR device code (Richard Hughes)
- When calculating used swap space, only use anonymous pages (Steven Walter)
- Use pm-is-supported to test if various sleep modes are supported (Victor Lowther)
IMPORTANT NOTE:
- This is the last release with the deprecated devkit-power-gobject library
included. Users should have ported to libupower-glib months ago...
Version 0.9.4
~~~~~~~~~~~
Released: 2010-05-12
......
......@@ -13,8 +13,8 @@
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
[m4_warning([this file was generated for autoconf 2.65.
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.66],,
[m4_warning([this file was generated for autoconf 2.66.
You have another version of autoconf. It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically `autoreconf'.])])
......@@ -547,8 +547,9 @@ AC_DEFUN([GOBJECT_INTROSPECTION_REQUIRE],
_GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1], [require])
])
# nls.m4 serial 3 (gettext-0.15)
dnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc.
# nls.m4 serial 5 (gettext-0.18)
dnl Copyright (C) 1995-2003, 2005-2006, 2008-2010 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.
......@@ -566,20 +567,21 @@ dnl Authors:
dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
AC_PREREQ(2.50)
AC_PREREQ([2.50])
AC_DEFUN([AM_NLS],
[
AC_MSG_CHECKING([whether NLS is requested])
dnl Default is enabled NLS
AC_ARG_ENABLE(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)
AC_MSG_RESULT([$USE_NLS])
AC_SUBST([USE_NLS])
])
# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
# serial 1 (pkg-config-0.24)
#
# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
#
......@@ -607,7 +609,10 @@ AC_DEFUN([AM_NLS],
AC_DEFUN([PKG_PROG_PKG_CONFIG],
[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
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
......@@ -620,8 +625,7 @@ if test -n "$PKG_CONFIG"; then
AC_MSG_RESULT([no])
PKG_CONFIG=""
fi
fi[]dnl
fi[]
])# PKG_PROG_PKG_CONFIG
# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
......@@ -629,21 +633,20 @@ fi[]dnl
# Check to see whether a particular set of modules exists. Similar
# to PKG_CHECK_MODULES(), but does not set variables or print errors.
#
#
# Similar to PKG_CHECK_MODULES, make sure that the first instance of
# this or PKG_CHECK_MODULES is called, or make sure to call
# PKG_CHECK_EXISTS manually
# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
# only at the first occurence in configure.ac, so if the first place
# it's called might be skipped (such as if it is within an "if", you
# have to call PKG_CHECK_EXISTS manually
# --------------------------------------------------------------
AC_DEFUN([PKG_CHECK_EXISTS],
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
if test -n "$PKG_CONFIG" && \
AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
m4_ifval([$2], [$2], [:])
m4_default([$2], [:])
m4_ifvaln([$3], [else
$3])dnl
$3])
fi])
# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
# ---------------------------------------------
m4_define([_PKG_CONFIG],
......@@ -655,7 +658,7 @@ m4_define([_PKG_CONFIG],
[pkg_failed=yes])
else
pkg_failed=untried
fi[]dnl
fi[]
])# _PKG_CONFIG
# _PKG_SHORT_ERRORS_SUPPORTED
......@@ -666,7 +669,7 @@ if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
_pkg_short_errors_supported=yes
else
_pkg_short_errors_supported=no
fi[]dnl
fi[]
])# _PKG_SHORT_ERRORS_SUPPORTED
......@@ -681,9 +684,9 @@ fi[]dnl
#
# --------------------------------------------------------------
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
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])
AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])
pkg_failed=no
AC_MSG_CHECKING([for $1])
......@@ -696,6 +699,7 @@ 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 "$2" 2>&1`
......@@ -705,7 +709,7 @@ if test $pkg_failed = yes; then
# Put the nasty error message in config.log where it belongs
echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
ifelse([$4], , [AC_MSG_ERROR(dnl
m4_default([$4], [AC_MSG_ERROR(
[Package requirements ($2) were not met:
$$1_PKG_ERRORS
......@@ -713,26 +717,25 @@ $$1_PKG_ERRORS
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
_PKG_TEXT
])],
[AC_MSG_RESULT([no])
$4])
_PKG_TEXT])
])
elif test $pkg_failed = untried; then
ifelse([$4], , [AC_MSG_FAILURE(dnl
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/>.])],
[$4])
To get pkg-config, see <http://pkg-config.freedesktop.org/>.])
])
else
$1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
$1[]_LIBS=$pkg_cv_[]$1[]_LIBS
AC_MSG_RESULT([yes])
ifelse([$3], , :, [$3])
fi[]dnl
$3
fi[]
])# PKG_CHECK_MODULES
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
......
......@@ -3,9 +3,6 @@
/* backend */
#undef BACKEND
/* Build test code */
#undef EGG_BUILD_TESTS
/* always defined to indicate that i18n is enabled */
#undef ENABLE_NLS
......@@ -24,15 +21,15 @@
/* Define if the GNU gettext() function is already present or preinstalled. */
#undef HAVE_GETTEXT
/* Define to 1 if AFC is going to be built */
#undef HAVE_IDEVICE
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define if your <locale.h> file defines LC_MESSAGES. */
#undef HAVE_LC_MESSAGES
/* Define to 1 if you have the `usb' library (-lusb). */
#undef HAVE_LIBUSB
/* Define to 1 if you have the <locale.h> header file. */
#undef HAVE_LOCALE_H
......@@ -60,9 +57,6 @@
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define to 1 if you have the <usb.h> header file. */
#undef HAVE_USB_H
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
#undef LT_OBJDIR
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -2,11 +2,11 @@ dnl Process this file with autoconf to produce a configure script.
m4_define([up_major_version], [0])
m4_define([up_minor_version], [9])
m4_define([up_micro_version], [4])
m4_define([up_micro_version], [5])
m4_define([up_version],
[up_major_version.up_minor_version.up_micro_version])
AC_PREREQ(2.65)
AC_PREREQ(2.63)
AC_INIT([upower],[up_version],[richard@hughsie.com],[upower])
AC_CONFIG_SRCDIR(src)
AM_INIT_AUTOMAKE([1.9 tar-ustar dist-bzip2])
......@@ -178,16 +178,18 @@ AC_DEFINE_UNQUOTED(BACKEND, "$with_backend", [backend])
AC_SUBST(BACKEND, "$with_backend")
# only need GUdev on linux
with_idevice=no
if test x$with_backend = xlinux; then
PKG_CHECK_MODULES(GUDEV, [gudev-1.0 >= 001])
AC_SUBST(GUDEV_CFLAGS)
AC_SUBST(GUDEV_LIBS)
dnl Check libusb also
AC_CHECK_HEADERS(usb.h, , [AC_MSG_ERROR([Can't find usb.h. Please install libusb.])])
AC_CHECK_LIB([usb], [usb_find_devices], [], [AC_MSG_ERROR([Can't use libusb.])])
PKG_CHECK_MODULES(USB, [libusb-1.0 >= 1.0.0])
PKG_CHECK_MODULES(IDEVICE, libimobiledevice-1.0 >= 0.9.7, with_idevice=yes, with_idevice=no)
if test x$with_idevice = xyes; then
AC_DEFINE(HAVE_IDEVICE, 1, [Define to 1 if AFC is going to be built])
fi
fi
AM_CONDITIONAL(HAVE_IDEVICE, [test x$with_idevice = xyes])
# export to Makefile.am
AM_CONDITIONAL(BACKEND_TYPE_DUMMY, [test x$with_backend = xdummy])
AM_CONDITIONAL(BACKEND_TYPE_LINUX, [test x$with_backend = xlinux])
......@@ -198,10 +200,7 @@ dnl - Build self tests
dnl ---------------------------------------------------------------------------
AC_ARG_ENABLE(tests, AS_HELP_STRING([--enable-tests],[enable unit test code]),
enable_tests=$enableval,enable_tests=yes)
AM_CONDITIONAL(EGG_BUILD_TESTS, test x$enable_tests = xyes)
if test x$enable_tests = xyes; then
AC_DEFINE(EGG_BUILD_TESTS,1,[Build test code])
fi
AM_CONDITIONAL(UP_BUILD_TESTS, test x$enable_tests = xyes)
if test "x$GCC" = "xyes"; then
LDFLAGS="-Wl,--as-needed $LDFLAGS"
......@@ -258,6 +257,7 @@ echo "
xsltproc: ${XSLTPROC}
Backend: ${with_backend}
libimobiledevice support: ${with_idevice}
Maintainer mode: ${USE_MAINTAINER_MODE}
Building api docs: ${enable_gtk_doc}
Building man pages: ${enable_man_pages}
......
......@@ -174,6 +174,8 @@ GTKDOC_REBASE = @GTKDOC_REBASE@
GUDEV_CFLAGS = @GUDEV_CFLAGS@
GUDEV_LIBS = @GUDEV_LIBS@
HTML_DIR = @HTML_DIR@
IDEVICE_CFLAGS = @IDEVICE_CFLAGS@
IDEVICE_LIBS = @IDEVICE_LIBS@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
......@@ -225,6 +227,8 @@ PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PKG_CONFIG = @PKG_CONFIG@
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
POFILES = @POFILES@
POLKIT_CFLAGS = @POLKIT_CFLAGS@
POLKIT_LIBS = @POLKIT_LIBS@
......@@ -239,6 +243,8 @@ STRIP = @STRIP@
UP_MAJOR_VERSION = @UP_MAJOR_VERSION@
UP_MICRO_VERSION = @UP_MICRO_VERSION@
UP_MINOR_VERSION = @UP_MINOR_VERSION@
USB_CFLAGS = @USB_CFLAGS@
USB_LIBS = @USB_LIBS@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
WARNINGFLAGS_C = @WARNINGFLAGS_C@
......@@ -280,7 +286,6 @@ libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
lt_ECHO = @lt_ECHO@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
......
......@@ -28,7 +28,7 @@
/* compile time version
*/
#define DKP_COMPILE_VERSION (0x0.9.4)
#define DKP_COMPILE_VERSION (0x0.9.5)
/* check whether a the version is above the compile time version.
*/
......
......@@ -150,6 +150,8 @@ GTKDOC_REBASE = @GTKDOC_REBASE@
GUDEV_CFLAGS = @GUDEV_CFLAGS@
GUDEV_LIBS = @GUDEV_LIBS@
HTML_DIR = @HTML_DIR@
IDEVICE_CFLAGS = @IDEVICE_CFLAGS@
IDEVICE_LIBS = @IDEVICE_LIBS@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
......@@ -201,6 +203,8 @@ PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PKG_CONFIG = @PKG_CONFIG@
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
POFILES = @POFILES@
POLKIT_CFLAGS = @POLKIT_CFLAGS@
POLKIT_LIBS = @POLKIT_LIBS@
......@@ -215,6 +219,8 @@ STRIP = @STRIP@
UP_MAJOR_VERSION = @UP_MAJOR_VERSION@
UP_MICRO_VERSION = @UP_MICRO_VERSION@
UP_MINOR_VERSION = @UP_MINOR_VERSION@
USB_CFLAGS = @USB_CFLAGS@
USB_LIBS = @USB_LIBS@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
WARNINGFLAGS_C = @WARNINGFLAGS_C@
......@@ -256,7 +262,6 @@ libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
lt_ECHO = @lt_ECHO@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
......@@ -773,8 +778,11 @@ uninstall-am: uninstall-local
@ENABLE_GTK_DOC_TRUE@scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
@ENABLE_GTK_DOC_TRUE@ @echo 'gtk-doc: Scanning header files'
@ENABLE_GTK_DOC_TRUE@ @-chmod -R u+w $(srcdir)
@ENABLE_GTK_DOC_TRUE@ @cd $(srcdir) && \
@ENABLE_GTK_DOC_TRUE@ gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="$(IGNORE_HFILES)" $(SCAN_OPTIONS) $(EXTRA_HFILES)
@ENABLE_GTK_DOC_TRUE@ @_source_dir='' ; for i in $(DOC_SOURCE_DIR) ; do \
@ENABLE_GTK_DOC_TRUE@ _source_dir="$${_source_dir} --source-dir=$$i" ; \
@ENABLE_GTK_DOC_TRUE@ done ; \
@ENABLE_GTK_DOC_TRUE@ cd $(srcdir) && \
@ENABLE_GTK_DOC_TRUE@ gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES)
@ENABLE_GTK_DOC_TRUE@ @if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null 2>&1 ; then \
@ENABLE_GTK_DOC_TRUE@ CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \
@ENABLE_GTK_DOC_TRUE@ else \
......@@ -793,8 +801,11 @@ uninstall-am: uninstall-local
@ENABLE_GTK_DOC_TRUE@sgml-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt $(expand_content_files)
@ENABLE_GTK_DOC_TRUE@ @echo 'gtk-doc: Building XML'
@ENABLE_GTK_DOC_TRUE@ @-chmod -R u+w $(srcdir)
@ENABLE_GTK_DOC_TRUE@ @cd $(srcdir) && \
@ENABLE_GTK_DOC_TRUE@ gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $(MKDB_OPTIONS)
@ENABLE_GTK_DOC_TRUE@ @_source_dir='' ; for i in $(DOC_SOURCE_DIR) ; do \
@ENABLE_GTK_DOC_TRUE@ _source_dir="$${_source_dir} --source-dir=$$i" ; \
@ENABLE_GTK_DOC_TRUE@ done ; \
@ENABLE_GTK_DOC_TRUE@ cd $(srcdir) && \
@ENABLE_GTK_DOC_TRUE@ gtkdoc-mkdb --module=$(DOC_MODULE) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $${_source_dir} $(MKDB_OPTIONS)
@ENABLE_GTK_DOC_TRUE@ @touch sgml-build.stamp
@ENABLE_GTK_DOC_TRUE@sgml.stamp: sgml-build.stamp
......
......@@ -103,6 +103,8 @@ GTKDOC_REBASE = @GTKDOC_REBASE@
GUDEV_CFLAGS = @GUDEV_CFLAGS@
GUDEV_LIBS = @GUDEV_LIBS@
HTML_DIR = @HTML_DIR@
IDEVICE_CFLAGS = @IDEVICE_CFLAGS@
IDEVICE_LIBS = @IDEVICE_LIBS@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
......@@ -154,6 +156,8 @@ PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PKG_CONFIG = @PKG_CONFIG@
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
POFILES = @POFILES@
POLKIT_CFLAGS = @POLKIT_CFLAGS@
POLKIT_LIBS = @POLKIT_LIBS@
......@@ -168,6 +172,8 @@ STRIP = @STRIP@
UP_MAJOR_VERSION = @UP_MAJOR_VERSION@
UP_MICRO_VERSION = @UP_MICRO_VERSION@
UP_MINOR_VERSION = @UP_MINOR_VERSION@
USB_CFLAGS = @USB_CFLAGS@
USB_LIBS = @USB_LIBS@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
WARNINGFLAGS_C = @WARNINGFLAGS_C@
......@@ -209,7 +215,6 @@ libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
lt_ECHO = @lt_ECHO@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
......
......@@ -43,7 +43,7 @@
<para>
org.freedesktop.UPower.QoS is a DBus interface implimented
by DeviceKit-power.
by UPower.
It allows applications to request latencies, for example a couple of seconds
for an IM application, or a few hundred microseconds for a multiplayer game.
</para>
......
......@@ -51,7 +51,7 @@
<para>
<para>
The DeviceKit-power service is available via the system message
The UPower service is available via the system message
bus. To access the service, use
the <literal>org.freedesktop.UPower</literal> interface on
the <literal>/org/freedesktop/UPower</literal> object on
......
This diff is collapsed.
......@@ -8,7 +8,7 @@
<link rel="up" href="ref-dbus.html" title="D-Bus API Reference">
<link rel="prev" href="Device.html" title="org.freedesktop.UPower.Device">
<link rel="next" href="libupower-glib.html" title="libupower-glib GObjects">
<meta name="generator" content="GTK-Doc V1.14 (XML mode)">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
......@@ -55,14 +55,14 @@
</pre>
</div>
<div class="refsect1" title="Signals">
<a name="id3031778"></a><h2>Signals</h2>
<a name="id3117928"></a><h2>Signals</h2>
<pre class="synopsis"><a class="link" href="QoS.html#QoS::LatencyChanged">LatencyChanged</a> ('s' type,
'i' value)
<a class="link" href="QoS.html#QoS::RequestsChanged">RequestsChanged</a> ()
</pre>
</div>
<div class="refsect1" title="Implemented Interfaces">
<a name="id3047192"></a><h2>Implemented Interfaces</h2>
<a name="id3100123"></a><h2>Implemented Interfaces</h2>
<p>
Objects implementing org.freedesktop.UPower.QoS also implements
org.freedesktop.DBus.Introspectable,
......@@ -70,13 +70,13 @@
</p>
</div>
<div class="refsect1" title="Description">
<a name="id3044605"></a><h2>Description</h2>
<a name="id3108460"></a><h2>Description</h2>
<p>
</p>
<p>
org.freedesktop.UPower.QoS is a DBus interface implimented
by DeviceKit-power.
by UPower.
It allows applications to request latencies, for example a couple of seconds
for an IM application, or a few hundred microseconds for a multiplayer game.
</p>
......@@ -157,9 +157,9 @@
</p>
</div>
<div class="refsect1" title="Details">
<a name="id2982594"></a><h2>Details</h2>
<a name="id3087519"></a><h2>Details</h2>
<div class="refsect2" title="SetMinimumLatency ()">
<a name="id2982602"></a><h3>
<a name="id3087528"></a><h3>
<a name="QoS.SetMinimumLatency"></a>SetMinimumLatency ()</h3>
<pre class="programlisting">SetMinimumLatency (in 's' type,
in 'i' value)</pre>
......@@ -193,7 +193,7 @@
</tbody>
</table></div>
<div class="refsect3" title="Errors">
<a name="id3030326"></a><h4>Errors</h4>
<a name="id3091961"></a><h4>Errors</h4>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
......@@ -203,12 +203,12 @@
</table></div>
</div>
<div class="refsect3" title="Permissions">
<a name="id3030345"></a><h4>Permissions</h4>
<a name="id3091980"></a><h4>Permissions</h4>
<p class="permission">Callers need the <code class="literal">org.freedesktop.upower.qos.set-minimum-latency</code> authorization</p>
</div>
<hr>
<div class="refsect2" title="RequestLatency ()">
<a name="id3030360"></a><h3>
<a name="id3091996"></a><h3>
<a name="QoS.RequestLatency"></a>RequestLatency ()</h3>
<pre class="programlisting">RequestLatency (in 's' type,
in 'i' value,
......@@ -256,7 +256,7 @@
</tbody>
</table></div>
<div class="refsect3" title="Errors">
<a name="id3011030"></a><h4>Errors</h4>
<a name="id3086430"></a><h4>Errors</h4>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
......@@ -266,7 +266,7 @@
</table></div>
</div>
<div class="refsect3" title="Permissions">
<a name="id3011050"></a><h4>Permissions</h4>
<a name="id3086449"></a><h4>Permissions</h4>
<p class="permission">
Callers need the
<code class="literal">org.freedesktop.upower.qos.request-latency-persistent</code>
......@@ -276,7 +276,7 @@
</div>
<hr>
<div class="refsect2" title="CancelRequest ()">
<a name="id3011076"></a><h3>
<a name="id3086476"></a><h3>
<a name="QoS.CancelRequest"></a>CancelRequest ()</h3>
<pre class="programlisting">CancelRequest (in 's' type,
in 'u' cookie)</pre>
......@@ -304,7 +304,7 @@
</tbody>
</table></div>
<div class="refsect3" title="Errors">
<a name="id3011148"></a><h4>Errors</h4>
<a name="id3124539"></a><h4>Errors</h4>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
......@@ -314,7 +314,7 @@
</table></div>
</div>
<div class="refsect3" title="Permissions">
<a name="id3011167"></a><h4>Permissions</h4>
<a name="id3124559"></a><h4>Permissions</h4>
<p class="permission">
Callers need the
<code class="literal">org.freedesktop.upower.qos.cancel-request</code>
......@@ -323,7 +323,7 @@
</div>
<hr>
<div class="refsect2" title="GetLatency ()">
<a name="id3011182"></a><h3>
<a name="id3124574"></a><h3>
<a name="QoS.GetLatency"></a>GetLatency ()</h3>
<pre class="programlisting">GetLatency (in 's' type,
out 'i' value)</pre>
......@@ -351,7 +351,7 @@
</tbody>
</table></div>
<div class="refsect3" title="Errors">
<a name="id3011258"></a><h4>Errors</h4>
<a name="id3124650"></a><h4>Errors</h4>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
......@@ -362,7 +362,7 @@
</div>
<hr>
<div class="refsect2" title="GetLatencyRequests ()">
<a name="id3049438"></a><h3>
<a name="id3124670"></a><h3>
<a name="QoS.GetLatencyRequests"></a>GetLatencyRequests ()</h3>
<pre class="programlisting">GetLatencyRequests (out 'a(uuusxbssi)' requests)</pre>
</div>
......@@ -416,9 +416,9 @@
</table></div>
</div>
<div class="refsect1" title="Signal Details">
<a name="id3049566"></a><h2>Signal Details</h2>
<a name="id3089791"></a><h2>Signal Details</h2>
<div class="refsect2" title="The LatencyChanged signal">
<a name="id3049574"></a><h3>
<a name="id3089799"></a><h3>
<a name="QoS::LatencyChanged"></a>The LatencyChanged signal</h3>
<pre class="programlisting">LatencyChanged ('s' type,
'i' value)</pre>
......@@ -447,7 +447,7 @@
</table></div>
<hr>
<div class="refsect2" title="The RequestsChanged signal">
<a name="id3049633"></a><h3>
<a name="id3089858"></a><h3>
<a name="QoS::RequestsChanged"></a>The RequestsChanged signal</h3>
<pre class="programlisting">RequestsChanged ()</pre>
</div>
......@@ -462,6 +462,6 @@
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.14</div>
Generated by GTK-Doc V1.15</div>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -8,7 +8,7 @@
<link rel="up" href="libupower-glib.html" title="libupower-glib GObjects">
<link rel="prev" href="UPower-up-qos-item.html" title="up-qos-item">
<link rel="next" href="UPower-up-wakeup-item.html" title="up-wakeup-item">
<meta name="generator" content="GTK-Doc V1.14 (XML mode)">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
......@@ -38,13 +38,13 @@
<div class="refsynopsisdiv" title="Synopsis">
<a name="UPower-up-stats-item.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">typedef <a class="link" href="UPower-up-stats-item.html#UpStatsItemPrivate" title="UpStatsItemPrivate">UpStatsItemPrivate</a>;
<span class="returnvalue">UpStatsItem</span> * <a class="link" href="UPower-up-stats-item.html#up-stats-item-new" title="up_stats_item_new ()">up_stats_item_new</a> (void);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="UPower-up-stats-item.html#up-stats-item-get-value" title="up_stats_item_get_value ()">up_stats_item_get_value</a> (<span class="returnvalue">UpStatsItem</span> *stats_item);
<span class="returnvalue">void</span> <a class="link" href="UPower-up-stats-item.html#up-stats-item-set-value" title="up_stats_item_set_value ()">up_stats_item_set_value</a> (<span class="returnvalue">UpStatsItem</span> *stats_item,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> value);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="UPower-up-stats-item.html#up-stats-item-get-accuracy" title="up_stats_item_get_accuracy ()">up_stats_item_get_accuracy</a> (<span class="returnvalue">UpStatsItem</span> *stats_item);
<span class="returnvalue">void</span> <a class="link" href="UPower-up-stats-item.html#up-stats-item-set-accuracy" title="up_stats_item_set_accuracy ()">up_stats_item_set_accuracy</a> (<span class="returnvalue">UpStatsItem</span> *stats_item,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> accuracy);
<span class="returnvalue">UpStatsItem</span> * <a class="link" href="UPower-up-stats-item.html#up-stats-item-new" title="up_stats_item_new ()">up_stats_item_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="UPower-up-stats-item.html#up-stats-item-get-value" title="up_stats_item_get_value ()">up_stats_item_get_value</a> (<em class="parameter"><code><span class="type">UpStatsItem</span> *stats_item</code></em>);
<span class="returnvalue">void</span> <a class="link" href="UPower-up-stats-item.html#up-stats-item-set-value" title="up_stats_item_set_value ()">up_stats_item_set_value</a> (<em class="parameter"><code><span class="type">UpStatsItem</span> *stats_item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> value</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="UPower-up-stats-item.html#up-stats-item-get-accuracy" title="up_stats_item_get_accuracy ()">up_stats_item_get_accuracy</a> (<em class="parameter"><code><span class="type">UpStatsItem</span> *stats_item</code></em>);
<span class="returnvalue">void</span> <a class="link" href="UPower-up-stats-item.html#up-stats-item-set-accuracy" title="up_stats_item_set_accuracy ()">up_stats_item_set_accuracy</a> (<em class="parameter"><code><span class="type">UpStatsItem</span> *stats_item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> accuracy</code></em>);
</pre>
</div>
<div class="refsect1" title="Description">
......@@ -54,7 +54,8 @@ This object represents one item of data which may be returned from the
daemon in response to a query.
</p>
<p>
See also: <span class="type">UpDevice</span>,