mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-25 07:42:13 +08:00
49b9df3cda
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8129 af4574ff-66df-0310-9fd7-8a98e5e911e0
155 lines
5.2 KiB
XML
155 lines
5.2 KiB
XML
<?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>
|