mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 22:42:14 +08:00
Updated from DeviceKit-power-012 to UPower-0.9.1.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8570 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
aba407dc1b
commit
1a55dac469
@ -267,7 +267,7 @@ $Date$
|
||||
<!ENTITY hal-version "0.5.14">
|
||||
<!ENTITY udev-version "151">
|
||||
<!ENTITY DeviceKit-version "003">
|
||||
<!ENTITY DeviceKit-power-version "012">
|
||||
<!ENTITY upower-version "0.9.1">
|
||||
<!ENTITY sg3_utils-version "1.29">
|
||||
<!ENTITY LVM2-version "2.02.62">
|
||||
<!ENTITY Device-mapper-version "1.02.45">
|
||||
|
@ -1,154 +0,0 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
|
||||
<!ENTITY DeviceKit-power-download-http "http://hal.freedesktop.org/releases/DeviceKit-power-&DeviceKit-power-version;.tar.gz">
|
||||
<!ENTITY DeviceKit-power-download-ftp " ">
|
||||
<!ENTITY DeviceKit-power-md5sum "34b8d698658cce77050443125fa9fab4">
|
||||
<!ENTITY DeviceKit-power-size "511 KB">
|
||||
<!ENTITY DeviceKit-power-buildsize "7 MB">
|
||||
<!ENTITY DeviceKit-power-time "0.1 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="DeviceKit-power" xreflabel="DeviceKit-power-&DeviceKit-power-version;">
|
||||
<?dbhtml filename="DeviceKit-power.html"?>
|
||||
|
||||
<sect1info>
|
||||
<othername>$LastChangedBy$</othername>
|
||||
<date>$Date$</date>
|
||||
</sect1info>
|
||||
|
||||
<title>DeviceKit-power-&DeviceKit-power-version;</title>
|
||||
|
||||
<indexterm zone="DeviceKit-power">
|
||||
<primary sortas="a-DeviceKit-power">DeviceKit-power</primary>
|
||||
</indexterm>
|
||||
|
||||
<sect2 role="package">
|
||||
<title>Introduction to DeviceKit-power</title>
|
||||
|
||||
<para>The <application>DeviceKit-power</application> provides an interface
|
||||
to enumerate power sources on the system and control system-wide power
|
||||
management.</para>
|
||||
|
||||
&lfs65_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>Download (HTTP): <ulink url="&DeviceKit-power-download-http;"/></para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download (FTP): <ulink url="&DeviceKit-power-download-ftp;"/></para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download MD5 sum: &DeviceKit-power-md5sum;</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download size: &DeviceKit-power-size;</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Estimated disk space required: &DeviceKit-power-buildsize;</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Estimated build time: &DeviceKit-power-time;</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<bridgehead renderas="sect3">DeviceKit-power Dependencies</bridgehead>
|
||||
|
||||
<bridgehead renderas="sect4">Required</bridgehead>
|
||||
<para role="required"><xref linkend="DeviceKit"/>,
|
||||
<xref linkend="polkit"/>, and
|
||||
<xref linkend="udev"/> (with gudev)</para>
|
||||
|
||||
<bridgehead renderas="sect4">Optional</bridgehead>
|
||||
<para role="optional"><xref linkend="gtk-doc"/></para>
|
||||
|
||||
<para condition="html" role="usernotes">User Notes:
|
||||
<ulink url="&blfs-wiki;/DeviceKit-power"/></para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="installation">
|
||||
<title>Installation of DeviceKit-power</title>
|
||||
|
||||
<para>Install <application>DeviceKit-power</application> by running the following
|
||||
commands:</para>
|
||||
|
||||
<screen><userinput>./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--libexecdir=/usr/lib/DeviceKit-power &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>This package does not come with a test suite.</para>
|
||||
|
||||
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
||||
|
||||
<screen role="root"><userinput>make install</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="content">
|
||||
<title>Contents</title>
|
||||
|
||||
<segmentedlist>
|
||||
<segtitle>Installed Programs</segtitle>
|
||||
<segtitle>Installed Library</segtitle>
|
||||
<segtitle>Installed Directories</segtitle>
|
||||
|
||||
<seglistitem>
|
||||
<seg>devkit-power and devkit-power-daemon</seg>
|
||||
<seg>libdevkit-power-gobject.{so,a}</seg>
|
||||
<seg>/usr/{include/DeviceKit-power/devkit-power-gobject,
|
||||
lib/DeviceKit-power,share/gtk-doc/html/devkit-power},
|
||||
/var/lib/DeviceKit-power</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
<variablelist>
|
||||
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
||||
<?dbfo list-presentation="list"?>
|
||||
<?dbhtml list-presentation="table"?>
|
||||
|
||||
<varlistentry id="devkit-power">
|
||||
<term><command>devkit-power</command></term>
|
||||
<listitem>
|
||||
<para>is a simple command line client for the
|
||||
<application>DeviceKit-power</application> daemon.</para>
|
||||
<indexterm zone="DeviceKit-power devkit-power">
|
||||
<primary sortas="b-devkit-power">devkit-power</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="devkit-power-daemon">
|
||||
<term><command>devkit-power-daemon</command></term>
|
||||
<listitem>
|
||||
<para>provides the org.freedesktop.DeviceKit.Power service on the
|
||||
system message bus.</para>
|
||||
<indexterm zone="DeviceKit-power devkit-power-daemon">
|
||||
<primary sortas="b-devkit-power-daemon">devkit-power-daemon</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="libdevkit-power-gobject">
|
||||
<term><filename class='libraryfile'>libdevkit-power-gobject.{so,a}</filename></term>
|
||||
<listitem>
|
||||
<para>contains the <application>DeviceKit-power</application> API
|
||||
functions.</para>
|
||||
<indexterm zone="DeviceKit-power libdevkit-power-gobject">
|
||||
<primary sortas="c-libdevkit-power-gobject">libdevkit-power-gobject.{so,a}</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
</variablelist>
|
||||
|
||||
</sect2>
|
||||
|
||||
</sect1>
|
@ -58,7 +58,7 @@
|
||||
|
||||
<bridgehead renderas="sect4">Optional</bridgehead>
|
||||
<para role="optional"><xref linkend="Device-mapper"/> (Required if building
|
||||
<application>DeviceKit-disks</application>)</para>
|
||||
<application>udisks</application>)</para>
|
||||
|
||||
<para condition="html" role="usernotes">User Notes:
|
||||
<ulink url="&blfs-wiki;/parted"/></para>
|
||||
|
@ -37,7 +37,7 @@ $Date$
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="hal.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="udev.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="DeviceKit.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="DeviceKit-power.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="upower.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sg3_utils.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Device-mapper.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="parted.xml"/>
|
||||
|
171
general/sysutils/upower.xml
Normal file
171
general/sysutils/upower.xml
Normal file
@ -0,0 +1,171 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
|
||||
<!ENTITY upower-download-http "http://upower.freedesktop.org/releases/UPower-&upower-version;.tar.bz2">
|
||||
<!ENTITY upower-download-ftp " ">
|
||||
<!ENTITY upower-md5sum "822d7d495781c6bbed36981a7a78dd30">
|
||||
<!ENTITY upower-size "442 MB">
|
||||
<!ENTITY upower-buildsize "10 MB">
|
||||
<!ENTITY upower-time "0.3 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="upower" xreflabel="UPower-&upower-version;">
|
||||
<?dbhtml filename="upower.html"?>
|
||||
|
||||
<sect1info>
|
||||
<othername>$LastChangedBy$</othername>
|
||||
<date>$Date$</date>
|
||||
</sect1info>
|
||||
|
||||
<title>UPower-&upower-version;</title>
|
||||
|
||||
<indexterm zone="upower">
|
||||
<primary sortas="a-UPower">UPower</primary>
|
||||
</indexterm>
|
||||
|
||||
<sect2 role="package">
|
||||
<title>Introduction to UPower</title>
|
||||
|
||||
<para>The <application>UPower</application> package provides an interface to
|
||||
enumerating power devices, listening to device events and querying history
|
||||
and statistics. Any application or service on the system can access the
|
||||
org.freedesktop.UPower service via the system message bus.</para>
|
||||
|
||||
&lfs65_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>Download (HTTP): <ulink url="&upower-download-http;"/></para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download (FTP): <ulink url="&upower-download-ftp;"/></para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download MD5 sum: &upower-md5sum;</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download size: &upower-size;</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Estimated disk space required: &upower-buildsize;</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Estimated build time: &upower-time;</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<bridgehead renderas="sect3">UPower Dependencies</bridgehead>
|
||||
|
||||
<bridgehead renderas="sect4">Required</bridgehead>
|
||||
<para role="required"><xref linkend="polkit"/> and
|
||||
<xref linkend="udev"/> (with gudev)</para>
|
||||
|
||||
<bridgehead renderas="sect4">Optional</bridgehead>
|
||||
<para role="optional"><xref linkend="gtk-doc"/></para>
|
||||
|
||||
<para condition="html" role="usernotes">User Notes:
|
||||
<ulink url="&blfs-wiki;/upower"/></para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="installation">
|
||||
<title>Installation of UPower</title>
|
||||
|
||||
<para>Install <application>UPower</application> by running the following
|
||||
commands:</para>
|
||||
|
||||
<screen><userinput>./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--libexecdir=/usr/lib/upower &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>To test the results, issue: <command>make check</command>.</para>
|
||||
|
||||
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
||||
|
||||
<screen role="root"><userinput>make install</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="../../xincludes/gtk-doc-rebuild.xml"/>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="content">
|
||||
<title>Contents</title>
|
||||
|
||||
<segmentedlist>
|
||||
<segtitle>Installed Programs</segtitle>
|
||||
<segtitle>Installed Libraries</segtitle>
|
||||
<segtitle>Installed Directories</segtitle>
|
||||
|
||||
<seglistitem>
|
||||
<seg>upower and upowerd</seg>
|
||||
<seg>libdevkit-power-gobject.{so,a} and libupower-glib.{so,a}</seg>
|
||||
<seg>/usr/{include/{DeviceKit-power/devkit-power-gobject,
|
||||
libupower-glib},lib/upower}, /var/lib/upower</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
<variablelist>
|
||||
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
||||
<?dbfo list-presentation="list"?>
|
||||
<?dbhtml list-presentation="table"?>
|
||||
|
||||
<varlistentry id="upower-prog">
|
||||
<term><command>upower</command></term>
|
||||
<listitem>
|
||||
<para>is the <application>UPower</application> command line
|
||||
tool.</para>
|
||||
<indexterm zone="upower upower-prog">
|
||||
<primary sortas="b-upower">upower</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="upowerd">
|
||||
<term><command>upowerd</command></term>
|
||||
<listitem>
|
||||
<para>is the <application>UPower</application> Daemon. It provides the
|
||||
org.freedesktop.UPower service on the system message bus.</para>
|
||||
<indexterm zone="upower upowerd">
|
||||
<primary sortas="b-upowerd">upowerd</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="libdevkit-power-gobject">
|
||||
<term><filename class='libraryfile'>libdevkit-power-gobject.{so,a}</filename></term>
|
||||
<listitem>
|
||||
<para>contains the old DeviceKit-power API functions.</para>
|
||||
<indexterm zone="upower libdevkit-power-gobject">
|
||||
<primary sortas="c-libdevkit-power-gobject">libdevkit-power-gobject.{so,a}</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="libupower-glib">
|
||||
<term><filename class='libraryfile'>libupower-glib.{so,a}</filename></term>
|
||||
<listitem>
|
||||
<para>contains the <application>UPower</application> API
|
||||
functions.</para>
|
||||
<indexterm zone="upower libupower-glib">
|
||||
<primary sortas="c-libupower-glib">libupower-glib.{so,a}</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
</variablelist>
|
||||
|
||||
</sect2>
|
||||
|
||||
</sect1>
|
@ -79,9 +79,9 @@
|
||||
<bridgehead renderas="sect4">Optional</bridgehead>
|
||||
<para role="optional">
|
||||
<ulink url="http://check.sourceforge.net/">Check</ulink>,
|
||||
<xref linkend="DeviceKit-power"/>,
|
||||
<xref linkend="libxklavier"/>, and
|
||||
<xref linkend="tcpwrappers"/></para>
|
||||
<xref linkend="libxklavier"/>,
|
||||
<xref linkend="tcpwrappers"/>, and
|
||||
<xref linkend="upower"/></para>
|
||||
|
||||
<para condition="html" role="usernotes">User Notes:
|
||||
<ulink url="&blfs-wiki;/gdm"/></para>
|
||||
|
@ -60,11 +60,11 @@
|
||||
<bridgehead renderas="sect3">gnome-power-manager Dependencies</bridgehead>
|
||||
|
||||
<bridgehead renderas="sect4">Required</bridgehead>
|
||||
<para role="required"><xref linkend="DeviceKit-power"/>,
|
||||
<xref linkend="gnome-panel"/>,
|
||||
<xref linkend="libgnome-keyring"/>, and
|
||||
<xref linkend="libnotify"/>, and
|
||||
<xref linkend="libunique"/></para>
|
||||
<para role="required"><xref linkend="gnome-panel"/>,
|
||||
<xref linkend="libgnome-keyring"/>,
|
||||
<xref linkend="libnotify"/>,
|
||||
<xref linkend="libunique"/>, and
|
||||
<xref linkend="upower"/></para>
|
||||
|
||||
<bridgehead renderas="sect4">Recommended</bridgehead>
|
||||
<para role="recommended"><xref linkend="hal"/> (Listed as required in README, but can be disabled.)</para>
|
||||
|
@ -62,7 +62,7 @@
|
||||
<para role="required"><xref linkend="GConf"/>,
|
||||
<xref linkend="gtk2"/>,
|
||||
<xref linkend="startup-notification"/>, and
|
||||
<xref linkend="DeviceKit-power"/></para>
|
||||
<xref linkend="upower"/></para>
|
||||
|
||||
<bridgehead renderas="sect4">Recommended</bridgehead>
|
||||
<para role="recommended"><xref linkend="polkit-gnome"/></para>
|
||||
|
@ -43,6 +43,10 @@
|
||||
<listitem>
|
||||
<para>August 22nd, 2010</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[wblaszcz] - Updated from DeviceKit-power-012 to
|
||||
UPower-0.9.1.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[wblaszcz] - Added new package, gnome-system-tools-2.30.2.</para>
|
||||
</listitem>
|
||||
|
Loading…
Reference in New Issue
Block a user