source: general/sysutils/udisks2.xml@ 477d66d

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 477d66d was 477d66d, checked in by Douglas R. Reno <renodr@…>, 4 years ago

Fix a regression in udisks2 caused by encoding changes in glib-2.64
libbytesize: Add short descriptions

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

  • Property mode set to 100644
File size: 7.9 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 udisks2-download-http "https://github.com/storaged-project/udisks/releases/download/udisks-&udisks2-version;/udisks-&udisks2-version;.tar.bz2">
8 <!ENTITY udisks2-download-ftp " ">
9 <!ENTITY udisks2-md5sum "ee74a32fe2a7ab3dd3aa9e2283b844ea">
10 <!ENTITY udisks2-size "1.5 MB">
11 <!ENTITY udisks2-buildsize "36 MB (with tests)">
12 <!ENTITY udisks2-time "0.3 SBU (with tests)">
13]>
14
15<sect1 id="udisks2" xreflabel="UDisks-&udisks2-version;">
16 <?dbhtml filename="udisks2.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>UDisks-&udisks2-version;</title>
24
25 <indexterm zone="udisks2">
26 <primary sortas="a-UDisks2">UDisks2</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to UDisks</title>
31
32 <para>
33 The <application>UDisks</application> package provides a daemon,
34 tools and libraries to access and manipulate disks and storage
35 devices.
36 </para>
37
38 &lfs91_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&udisks2-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&udisks2-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &udisks2-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &udisks2-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &udisks2-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &udisks2-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">UDisks Dependencies</bridgehead>
75
76 <bridgehead renderas="sect4">Required</bridgehead>
77 <para role="required">
78 <xref linkend="libatasmart"/>,
79 <xref linkend="libblockdev"/>,
80 <xref linkend="libgudev"/>,
81 <xref linkend="libxslt"/>, and
82 <xref linkend="polkit"/>
83 </para>
84
85 <bridgehead renderas="sect4">Required at runtime</bridgehead>
86 <para role="required">
87 <xref role="runtime" linkend="btrfs-progs"/>,
88 <phrase revision="sysv"><xref role="runtime" linkend="dbus"/>,</phrase>
89 <xref role="runtime" linkend="dosfstools"/>,
90 <xref role="runtime" linkend="gptfdisk"/>,
91 <xref role="runtime" linkend="mdadm"/>, and
92 <xref role="runtime" linkend="xfsprogs"/>
93 </para>
94
95 <bridgehead renderas="sect4">Recommended</bridgehead>
96 <para role="recommended">
97 <phrase revision="systemd"><xref linkend="systemd"/></phrase>
98 <phrase revision="sysv"><xref linkend="elogind"/></phrase>
99 </para>
100
101 <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
102 <para role="optional">
103 <xref linkend="gobject-introspection"/>
104 </para>
105
106 <bridgehead renderas="sect4">Optional</bridgehead>
107 <para role="optional">
108 <xref linkend="dbus-python"/> (for the integration tests),
109 <xref linkend="gtk-doc"/>,
110 <xref linkend="lvm2"/>,
111 <xref linkend="ntfs-3g"/>,
112 <xref linkend="pygobject3"/> (for the integration tests),
113 <ulink url="https://github.com/relan/exfat">exFAT</ulink>, and
114 <ulink url="https://github.com/sahlberg/libiscsi">libiscsi</ulink>
115 </para>
116
117 <para condition="html" role="usernotes">
118 User Notes: <ulink url="&blfs-wiki;/udisks2"/>
119 </para>
120 </sect2>
121
122 <sect2 role="installation">
123 <title>Installation of UDisks</title>
124
125 <para>
126 First, fix a regression caused by glib-2.64:
127 </para>
128
129<screen><userinput remap="pre">sed -i '/stdout_channel = g/a g_io_channel_set_encoding (job->child_stdout_channel, NULL, NULL);' src/udisksspawnedjob.c &amp;&amp;
130sed -i '/stderr_channel = g/a g_io_channel_set_encoding (job->child_stderr_channel, NULL, NULL);' src/udisksspawnedjob.c</userinput></screen>
131
132 <para>
133 Install <application>UDisks</application> by running the following
134 commands:
135 </para>
136
137<screen><userinput>./configure --prefix=/usr \
138 --sysconfdir=/etc \
139 --localstatedir=/var \
140 --disable-static &amp;&amp;
141make</userinput></screen>
142
143 <para>
144 To test the results, issue: <command>make check</command>. A more
145 thorough test can be run with <command>make ci</command>. You must first
146 create the directories
147 <filename class="directory">/var/run/udisks2</filename> and
148 <filename class="directory">/var/lib/udisks2</filename>, and the optional
149 python modules should be present.
150 </para>
151
152 <para>
153 Now, as the <systemitem class="username">root</systemitem> user:
154 </para>
155
156<screen role="root"><userinput>make install</userinput></screen>
157 </sect2>
158
159 <sect2 role="commands">
160 <title>Command Explanations</title>
161
162 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
163 href="../../xincludes/static-libraries.xml"/>
164
165 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
166 href="../../xincludes/gtk-doc-rebuild.xml"/>
167
168 </sect2>
169
170 <sect2 role="content">
171 <title>Contents</title>
172
173 <segmentedlist>
174 <segtitle>Installed Programs</segtitle>
175 <segtitle>Installed Library</segtitle>
176 <segtitle>Installed Directories</segtitle>
177
178 <seglistitem>
179 <seg>
180 udisksctl and umount.udisks2
181 </seg>
182 <seg>
183 libudisks2.so
184 </seg>
185 <seg>
186 /etc/udisks2,
187 /usr/include/udisks2,
188 /usr/libexec/udisks2,
189 /usr/share/gtk-doc/html/udisks2, and
190 /var/lib/udisks2
191 </seg>
192 </seglistitem>
193 </segmentedlist>
194
195 <variablelist>
196 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
197 <?dbfo list-presentation="list"?>
198 <?dbhtml list-presentation="table"?>
199
200 <varlistentry id="udisksctl">
201 <term><command>udisksctl</command></term>
202 <listitem>
203 <para>
204 is a command-line program used to interact with the
205 <command>udisksd</command> daemon.
206 </para>
207 <indexterm zone="udisks2 udisksctl">
208 <primary sortas="b-udisksctl">udisksctl</primary>
209 </indexterm>
210 </listitem>
211 </varlistentry>
212
213<!-- Removed since the user shouldn't use this, and it is in /usr/libexec
214 <varlistentry id="udisksd">
215 <term><command>udisksd</command></term>
216 <listitem>
217 <para>
218 is the <application>UDisks</application> daemon itself.
219 </para>
220 <indexterm zone="udisks2 udisksd">
221 <primary sortas="b-udisksd">udisksd</primary>
222 </indexterm>
223 </listitem>
224 </varlistentry>
225-->
226 <varlistentry id="umountudisks2">
227 <term><command>umount.udisks2</command></term>
228 <listitem>
229 <para>
230 is a command-line program used to unmount file systems
231 that have been mounted by the
232 <application>UDisks</application> daemon.
233 </para>
234 <indexterm zone="udisks2 umountudisks2">
235 <primary sortas="b-umountudisks2">umount.udisks2</primary>
236 </indexterm>
237 </listitem>
238 </varlistentry>
239
240 <varlistentry id="libudisks2">
241 <term><filename class="libraryfile">libudisks2.so</filename></term>
242 <listitem>
243 <para>
244 contains the <application>UDisks</application> API functions.
245 </para>
246 <indexterm zone="udisks2 libudisks2">
247 <primary sortas="c-libudisks2">libudisks2.so</primary>
248 </indexterm>
249 </listitem>
250 </varlistentry>
251
252 </variablelist>
253
254 </sect2>
255
256</sect1>
Note: See TracBrowser for help on using the repository browser.