source: general/sysutils/udisks2.xml@ e1cd0c1

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 e1cd0c1 was e1cd0c1, checked in by Pierre Labastie <pieere@…>, 3 years ago

qca-2.3.2
udisks-2.9.2
phonon-backend-vlc-0.11.2
libsamplerate-0.2.1
libsndfile-1.0.31

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

  • Property mode set to 100644
File size: 8.0 KB
RevLine 
[f8efa5b]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
[0e7f80e4]7 <!ENTITY udisks2-download-http "https://github.com/storaged-project/udisks/releases/download/udisks-&udisks2-version;/udisks-&udisks2-version;.tar.bz2">
[f8efa5b]8 <!ENTITY udisks2-download-ftp " ">
[e1cd0c1]9 <!ENTITY udisks2-md5sum "1f8a9ca98a63ecc9e48ffd08309d0492">
[f4327ad9]10 <!ENTITY udisks2-size "1.6 MB">
[e1cd0c1]11 <!ENTITY udisks2-buildsize "52 MB (with tests)">
[66ee922]12 <!ENTITY udisks2-time "0.3 SBU (with tests)">
[f8efa5b]13]>
14
[880c568]15<sect1 id="udisks2" xreflabel="UDisks-&udisks2-version;">
[f8efa5b]16 <?dbhtml filename="udisks2.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
[880c568]23 <title>UDisks-&udisks2-version;</title>
[f8efa5b]24
25 <indexterm zone="udisks2">
[2630345]26 <primary sortas="a-UDisks2">UDisks2</primary>
[f8efa5b]27 </indexterm>
28
29 <sect2 role="package">
[73d97caf]30 <title>Introduction to UDisks</title>
[f8efa5b]31
32 <para>
[0d7900a]33 The <application>UDisks</application> package provides a daemon,
34 tools and libraries to access and manipulate disks and storage
[f8efa5b]35 devices.
36 </para>
37
[88377804]38 &lfs10_checked;
[f8efa5b]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
[73d97caf]74 <bridgehead renderas="sect3">UDisks Dependencies</bridgehead>
[f8efa5b]75
76 <bridgehead renderas="sect4">Required</bridgehead>
77 <para role="required">
78 <xref linkend="libatasmart"/>,
[6dcb9e77]79 <xref linkend="libblockdev"/>,
[f175d6f6]80 <xref linkend="libgudev"/>,
81 <xref linkend="libxslt"/>, and
82 <xref linkend="polkit"/>
[f8efa5b]83 </para>
84
[7e70c8be]85 <bridgehead renderas="sect4">Required at runtime</bridgehead>
86 <para role="required">
[572553b]87 <xref role="runtime" linkend="btrfs-progs"/>,
[aff1dbb]88 <phrase revision="sysv"><xref role="runtime" linkend="dbus"/>,</phrase>
[572553b]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"/>
[7e70c8be]93 </para>
94
[560d49c]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>
[1552ac8]99 </para>
100
[b84342d6]101 <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
102 <para role="optional">
103 <xref linkend="gobject-introspection"/>
104 </para>
105
[f8efa5b]106 <bridgehead renderas="sect4">Optional</bridgehead>
107 <para role="optional">
[aff1dbb]108 <xref linkend="dbus-python"/> (for the integration tests),
[0f23f29]109 <xref linkend="gtk-doc"/>,
[0e7f80e4]110 <xref linkend="lvm2"/>,
[aff1dbb]111 <xref linkend="ntfs-3g"/>,
112 <xref linkend="pygobject3"/> (for the integration tests),
113 <ulink url="https://github.com/relan/exfat">exFAT</ulink>, and
[6dcb9e77]114 <ulink url="https://github.com/sahlberg/libiscsi">libiscsi</ulink>
[f8efa5b]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">
[73d97caf]123 <title>Installation of UDisks</title>
[f8efa5b]124
[f4327ad9]125<!-- Applied upstream in version 2.9.0.
[477d66d]126 <para>
127 First, fix a regression caused by glib-2.64:
128 </para>
129
130<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;
131sed -i '/stderr_channel = g/a g_io_channel_set_encoding (job->child_stderr_channel, NULL, NULL);' src/udisksspawnedjob.c</userinput></screen>
[f4327ad9]132-->
[477d66d]133
[f8efa5b]134 <para>
[73d97caf]135 Install <application>UDisks</application> by running the following
[f8efa5b]136 commands:
137 </para>
138
[3546fda]139<screen><userinput>./configure --prefix=/usr \
[18c9ee54]140 --sysconfdir=/etc \
[f8efa5b]141 --localstatedir=/var \
[a923ca1e]142 --disable-static &amp;&amp;
[aff1dbb]143make</userinput></screen>
[f8efa5b]144
145 <para>
[aff1dbb]146 To test the results, issue: <command>make check</command>. A more
147 thorough test can be run with <command>make ci</command>. You must first
148 create the directories
149 <filename class="directory">/var/run/udisks2</filename> and
150 <filename class="directory">/var/lib/udisks2</filename>, and the optional
151 python modules should be present.
[f8efa5b]152 </para>
153
154 <para>
155 Now, as the <systemitem class="username">root</systemitem> user:
156 </para>
157
158<screen role="root"><userinput>make install</userinput></screen>
159 </sect2>
160
161 <sect2 role="commands">
162 <title>Command Explanations</title>
163
164 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[0d7900a]165 href="../../xincludes/static-libraries.xml"/>
[f8efa5b]166
167 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
168 href="../../xincludes/gtk-doc-rebuild.xml"/>
169
170 </sect2>
171
172 <sect2 role="content">
173 <title>Contents</title>
174
175 <segmentedlist>
176 <segtitle>Installed Programs</segtitle>
177 <segtitle>Installed Library</segtitle>
178 <segtitle>Installed Directories</segtitle>
179
180 <seglistitem>
181 <seg>
[fa30d84]182 udisksctl and umount.udisks2
[f8efa5b]183 </seg>
184 <seg>
185 libudisks2.so
186 </seg>
187 <seg>
[45ada554]188 /etc/udisks2,
[0d7900a]189 /usr/include/udisks2,
[99feb0ce]190 /usr/libexec/udisks2,
191 /usr/share/gtk-doc/html/udisks2, and
[eed90c8]192 /var/{lib,run}/udisks2
[f8efa5b]193 </seg>
194 </seglistitem>
195 </segmentedlist>
196
197 <variablelist>
198 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
199 <?dbfo list-presentation="list"?>
200 <?dbhtml list-presentation="table"?>
201
202 <varlistentry id="udisksctl">
203 <term><command>udisksctl</command></term>
204 <listitem>
205 <para>
[0d7900a]206 is a command-line program used to interact with the
[b84342d6]207 <command>udisksd</command> daemon.
[f8efa5b]208 </para>
209 <indexterm zone="udisks2 udisksctl">
210 <primary sortas="b-udisksctl">udisksctl</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
[55781c2]215<!-- Removed since the user shouldn't use this, and it is in /usr/libexec
[f8efa5b]216 <varlistentry id="udisksd">
217 <term><command>udisksd</command></term>
218 <listitem>
219 <para>
[73d97caf]220 is the <application>UDisks</application> daemon itself.
[f8efa5b]221 </para>
222 <indexterm zone="udisks2 udisksd">
223 <primary sortas="b-udisksd">udisksd</primary>
224 </indexterm>
225 </listitem>
226 </varlistentry>
[55781c2]227-->
228 <varlistentry id="umountudisks2">
[1552ac8]229 <term><command>umount.udisks2</command></term>
230 <listitem>
231 <para>
232 is a command-line program used to unmount file systems
233 that have been mounted by the
234 <application>UDisks</application> daemon.
235 </para>
236 <indexterm zone="udisks2 umountudisks2">
[55781c2]237 <primary sortas="b-umountudisks2">umount.udisks2</primary>
[1552ac8]238 </indexterm>
239 </listitem>
240 </varlistentry>
241
[f8efa5b]242 <varlistentry id="libudisks2">
243 <term><filename class="libraryfile">libudisks2.so</filename></term>
244 <listitem>
245 <para>
[73d97caf]246 contains the <application>UDisks</application> API functions.
[f8efa5b]247 </para>
248 <indexterm zone="udisks2 libudisks2">
249 <primary sortas="c-libudisks2">libudisks2.so</primary>
250 </indexterm>
251 </listitem>
252 </varlistentry>
[0331c46]253
[f8efa5b]254 </variablelist>
[0331c46]255
[f8efa5b]256 </sect2>
[0331c46]257
[f8efa5b]258</sect1>
Note: See TracBrowser for help on using the repository browser.