source: general/sysutils/upower.xml@ 4c2be438

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 4c2be438 was 4c2be438, checked in by Krejzi <krejzi@…>, 12 years ago

fix Gnome dependencies - switch itstool with yelp-xsl (YELP_HELP_INIT requires yelp-xsl stylesheets),recommend gobject-introspection for every package in gnome/{core,add} and make Optional g-i section indicating that is required for gnome in packages that are not just required by gnome. Made some recommended (expected) deps to gstreamer plugins (codecs, input and output sinks), recommended alsa to the libcanberra, explicitly disabled oss to remove configure warning + added gnome dependencies into seperate optional section to libcanberra page. Added --disable-scrollkeeper explanation to many packages that can use rarian (for the scrollkeeper compat) and added some more rarian recommendations. Checked polkit, accountservice and consolekit deps, sorted them a bit. Finished Gnome 3.4

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10043 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY upower-download-http "http://upower.freedesktop.org/releases/upower-&upower-version;.tar.xz">
8 <!ENTITY upower-download-ftp " ">
9 <!ENTITY upower-md5sum "9503a853e894630e023ee244d295fd27">
10 <!ENTITY upower-size "394 KB">
11 <!ENTITY upower-buildsize "8.5 MB">
12 <!ENTITY upower-time "0.2 SBU">
13]>
14
15<sect1 id="upower" xreflabel="UPower-&upower-version;">
16 <?dbhtml filename="upower.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>UPower-&upower-version;</title>
24
25 <indexterm zone="upower">
26 <primary sortas="a-UPower">UPower</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to UPower</title>
31
32 <para>The <application>UPower</application> package provides an interface to
33 enumerating power devices, listening to device events and querying history
34 and statistics. Any application or service on the system can access the
35 org.freedesktop.UPower service via the system message bus.</para>
36
37 &lfs70_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>Download (HTTP): <ulink url="&upower-download-http;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download (FTP): <ulink url="&upower-download-ftp;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download MD5 sum: &upower-md5sum;</para>
49 </listitem>
50 <listitem>
51 <para>Download size: &upower-size;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated disk space required: &upower-buildsize;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated build time: &upower-time;</para>
58 </listitem>
59 </itemizedlist>
60
61 <bridgehead renderas="sect3">UPower Dependencies</bridgehead>
62
63 <bridgehead renderas="sect4">Required</bridgehead>
64 <para role="required">
65 <xref linkend="dbus-glib"/>,
66 <xref linkend="intltool"/>,
67 <xref linkend="polkit"/> and
68 <xref linkend="udev"/>
69 </para>
70
71 <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
72 <para role="optional">
73 <xref linkend="gobject-introspection"/>
74 </para>
75
76 <bridgehead renderas="sect4">Optional</bridgehead>
77 <para role="optional">
78 <xref linkend="gtk-doc"/>
79 </para>
80
81 <para condition="html" role="usernotes">User Notes:
82 <ulink url="&blfs-wiki;/upower"/></para>
83
84 </sect2>
85
86 <sect2 role="installation">
87 <title>Installation of UPower</title>
88
89 <para>Install <application>UPower</application> by running the following
90 commands:</para>
91
92<screen><userinput>./configure --prefix=/usr \
93 --sysconfdir=/etc \
94 --localstatedir=/var \
95 --libexecdir=/usr/lib/upower \
96 --disable-static &amp;&amp;
97make</userinput></screen>
98
99 <para>To test the results, issue: <command>make check</command>.</para>
100
101 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
102
103<screen role="root"><userinput>make install</userinput></screen>
104
105 </sect2>
106
107 <sect2 role="commands">
108 <title>Command Explanations</title>
109
110 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
111 href="../../xincludes/static-libraries.xml"/>
112
113 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
114 href="../../xincludes/gtk-doc-rebuild.xml"/>
115
116 </sect2>
117
118 <sect2 role="configuration">
119 <title>Configuring your kernel for UPower</title>
120
121 <para>To use the command <command>upower -w</command> for information about
122 processor wakeups (this command is used by <xref linkend="gnome-power-manager"/>)
123 you need to enable CONFIG_TIMER_STATS. This is achieved in
124 <command>make menuconfig</command> by going to the &apos;kernel-hacking&apos;
125 menu and selecting &apos;Collect kernel timers statistics&apos;.</para>
126
127 </sect2>
128 <sect2 role="content">
129 <title>Contents</title>
130
131 <segmentedlist>
132 <segtitle>Installed Programs</segtitle>
133 <segtitle>Installed Library</segtitle>
134 <segtitle>Installed Directories</segtitle>
135
136 <seglistitem>
137 <seg>
138 upower and upowerd
139 </seg>
140 <seg>
141 libupower-glib.so
142 </seg>
143 <seg>
144 /etc/UPower, /usr/include/libupower-glib,
145 /usr/lib/upower and /var/lib/upower
146 </seg>
147 </seglistitem>
148 </segmentedlist>
149
150 <variablelist>
151 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
152 <?dbfo list-presentation="list"?>
153 <?dbhtml list-presentation="table"?>
154
155 <varlistentry id="upower-prog">
156 <term><command>upower</command></term>
157 <listitem>
158 <para>is the <application>UPower</application> command line
159 tool.</para>
160 <indexterm zone="upower upower-prog">
161 <primary sortas="b-upower">upower</primary>
162 </indexterm>
163 </listitem>
164 </varlistentry>
165
166 <varlistentry id="upowerd">
167 <term><command>upowerd</command></term>
168 <listitem>
169 <para>is the <application>UPower</application> Daemon. It provides the
170 org.freedesktop.UPower service on the system message bus.</para>
171 <indexterm zone="upower upowerd">
172 <primary sortas="b-upowerd">upowerd</primary>
173 </indexterm>
174 </listitem>
175 </varlistentry>
176
177 <varlistentry id="libupower-glib">
178 <term><filename class='libraryfile'>libupower-glib.so</filename></term>
179 <listitem>
180 <para>contains the <application>UPower</application> API
181 functions.</para>
182 <indexterm zone="upower libupower-glib">
183 <primary sortas="c-libupower-glib">libupower-glib.so</primary>
184 </indexterm>
185 </listitem>
186 </varlistentry>
187
188 </variablelist>
189
190 </sect2>
191
192</sect1>
Note: See TracBrowser for help on using the repository browser.