source: general/sysutils/colord.xml@ 08de396

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 08de396 was 08de396, checked in by Bruce Dubbs <bdubbs@…>, 10 years ago

Synchronize D-Bus with LFS.

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

  • Property mode set to 100644
File size: 9.5 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 colord-download-http
8 "http://www.freedesktop.org/software/colord/releases/colord-&colord-version;.tar.xz">
9 <!ENTITY colord-download-ftp " ">
10 <!ENTITY colord-md5sum "740b321a32c6e54d28e6d043007947ea">
11 <!ENTITY colord-size "1.2 MB">
12 <!ENTITY colord-buildsize "32 MB (additional 3 MB to rebuild and install the API documentation, and 3 MB for the tests)">
13 <!ENTITY colord-time "0.7 SBU">
14]>
15
16<sect1 id="colord" xreflabel="Colord-&colord-version;">
17 <?dbhtml filename="colord.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>Colord-&colord-version;</title>
25
26 <indexterm zone="colord">
27 <primary sortas="a-Colord">Colord</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to Colord</title>
32
33 <para>
34 <application>Colord</application> is a system activated daemon that
35 maps devices to color profiles. It is used by
36 <application>GNOME Color Manager</application> for system integration
37 and use when there are no users logged in.
38 </para>
39
40 &lfs75_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&colord-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&colord-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &colord-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &colord-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &colord-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &colord-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect3">Colord Dependencies</bridgehead>
77
78 <bridgehead renderas="sect4">Required</bridgehead>
79 <para role="required">
80 <xref linkend="glib2"/>,
81 <xref linkend="intltool"/>,
82 <xref linkend="lcms2"/>, and
83 <xref linkend="sqlite"/>
84 </para>
85
86 <bridgehead renderas="sect4">Required (for the tests)</bridgehead>
87 <para role="required">
88 <xref linkend="valgrind"/>
89 </para>
90
91 <bridgehead renderas="sect4">Recommended</bridgehead>
92 <para role="recommended">
93 <xref linkend="libgusb"/>,
94 <xref linkend="udev-extras"/> (for GUdev),
95 <xref linkend="polkit"/>,
96 <xref linkend="gobject-introspection"/>, and
97 <xref linkend="vala"/>
98 </para>
99
100 <bridgehead renderas="sect4">Optional</bridgehead>
101 <para role="optional">
102 <ulink url="bash-completion.alioth.debian.org">Bash Completion</ulink>,
103 <ulink url="http://www.freedesktop.org/software/colord/releases/">
104 colord-gtk</ulink> and <xref linkend="gnome-desktop"/>
105 (To build the example tools),
106 <xref linkend="docbook-utils"/>,
107 <xref linkend="gtk-doc"/> and
108 <xref linkend="sane"/>
109 </para>
110
111 <para condition="html" role="usernotes">User Notes:
112 <ulink url="&blfs-wiki;/colord"/>
113 </para>
114 </sect2>
115
116 <sect2 role="installation">
117 <title>Installation of Colord</title>
118
119 <para>
120 There should be a dedicated user and group to take control
121 of the <command>colord</command> daemon after it is started.
122 Issue the following commands as the
123 <systemitem class="username">root</systemitem> user:
124 </para>
125
126<screen role="root"><userinput>groupadd -g 71 colord &amp;&amp;
127useradd -c "Color Daemon Owner" -d /var/lib/colord -u 71 \
128 -g colord -s /bin/false colord</userinput></screen>
129
130 <para>
131 Install <application>Colord</application> by running the following
132 commands:
133 </para>
134
135<screen><userinput>./configure --prefix=/usr \
136 --sysconfdir=/etc \
137 --localstatedir=/var \
138 --with-daemon-user=colord \
139 --enable-vala \
140 --disable-bash-completion \
141 --disable-systemd-login \
142 --disable-static &amp;&amp;
143make</userinput></screen>
144
145 <para>
146 Now, as the <systemitem class="username">root</systemitem> user:
147 </para>
148
149<screen role="root"><userinput>make install</userinput></screen>
150
151 <para>
152 To test the results, issue: <command>make -k check</command>. For unknown
153 reasons, some tests may fail. Note that system-wide
154 <application>D-Bus</application> daemon must be running or the tests
155 will fail.
156 </para>
157
158 </sect2>
159
160 <sect2 role="commands">
161 <title>Command Explanations</title>
162
163 <para>
164 <parameter>--with-daemon-user=colord</parameter>: This
165 switch is used so the <command>colord</command> daemon
166 will run as an unprivileged user instead of
167 <systemitem class="username">root</systemitem> user.
168 </para>
169
170 <para>
171 <parameter>--enable-vala</parameter>: This switch enables
172 building of the Vala bindings. Remove if you don't
173 have <xref linkend="vala"/> installed.
174 </para>
175
176 <para>
177 <parameter>--disable-bash-completion</parameter>: This switch
178 disables <application>Bash Completion</application>
179 support for <application>Colord</application> apps.
180 </para>
181
182 <para>
183 <parameter>--disable-systemd-login</parameter>: This switch
184 prevents <command>configure</command> to look for
185 <application>Systemd</application> libraries since
186 <application>Systemd</application> is not part of
187 LFS or BLFS.
188 </para>
189
190 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
191 href="../../xincludes/static-libraries.xml"/>
192
193 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
194 href="../../xincludes/gtk-doc-rebuild.xml"/>
195
196 <para>
197 <option>--disable-gusb</option>: Use this switch if you don't have
198 <application>libgusb</application> installed.
199 </para>
200
201 <para>
202 <option>--disable-gudev</option>: Use this switch if you don't have GUdev
203 installed.
204 </para>
205
206 <para>
207 <option>--disable-polkit</option>: Use this switch if you don't have
208 <application>Polkit</application> installed.
209 </para>
210
211 <para><option>--libexecdir=/usr/lib/colord</option>: This option
212 creates a <filename class="directory">colord</filename> directory in
213 <filename class="directory">/usr/lib</filename> instead of putting the
214 program's private programs into <filename
215 class="directory">/usr/libexec</filename> in accordance with the old
216 version of the FHS used before LFS-7.5.</para>
217
218 </sect2>
219
220 <sect2 role="content">
221 <title>Contents</title>
222
223 <segmentedlist>
224 <segtitle>Installed Programs</segtitle>
225 <segtitle>Installed Libraries</segtitle>
226 <segtitle>Installed Directories</segtitle>
227
228 <seglistitem>
229 <seg>
230 cd-create-profile, cd-fix-profile, cd-iccdump, colord,
231 colord-sane, colord-session, and colormgr
232 </seg>
233 <seg>
234 libcolordprivate.so, libcolord.so, libcolorhug.so, and several under
235 /usr/lib/colord-plugin and /usr/lib/colord-sensors
236 </seg>
237 <seg>
238 /usr/include/colord-1,
239 /usr/lib/colord,
240 /usr/lib/colord-plugins,
241 /usr/lib/colord-sensors,
242 /usr/share/color,
243 /usr/share/colord,
244 /usr/share/gtk-doc/html/colord and
245 /var/lib/colord
246 </seg>
247 </seglistitem>
248 </segmentedlist>
249
250 <variablelist>
251 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
252 <?dbfo list-presentation="list"?>
253 <?dbhtml list-presentation="table"?>
254
255 <varlistentry id="cd-create-profile">
256 <term><command>cd-create-profile</command></term>
257 <listitem>
258 <para>
259 is a Color Manager Profile Creation Tool.
260 </para>
261 <indexterm zone="colord cd-create-profile">
262 <primary sortas="b-cd-create-profile">cd-create-profile</primary>
263 </indexterm>
264 </listitem>
265 </varlistentry>
266
267 <varlistentry id="cd-fix-profile">
268 <term><command>cd-fix-profile</command></term>
269 <listitem>
270 <para>
271 is a tool used to fix metadata in ICC profiles.
272 </para>
273 <indexterm zone="colord cd-fix-profile">
274 <primary sortas="b-cd-fix-profile">cd-fix-profile</primary>
275 </indexterm>
276 </listitem>
277 </varlistentry>
278
279 <varlistentry id="colormgr">
280 <term><command>colormgr</command></term>
281 <listitem>
282 <para>
283 is a text-mode program that allows you to interact with colord
284 on the command line.
285 </para>
286 <indexterm zone="colord colormgr">
287 <primary sortas="b-colormgr">colormgr</primary>
288 </indexterm>
289 </listitem>
290 </varlistentry>
291
292 <varlistentry id="libcolord">
293 <term><filename class="libraryfile">libcolord.so</filename></term>
294 <listitem>
295 <para>
296 contains the <application>Colord</application> API functions.
297 </para>
298 <indexterm zone="colord libcolord">
299 <primary sortas="c-libcolord">libcolord.so</primary>
300 </indexterm>
301 </listitem>
302 </varlistentry>
303
304 </variablelist>
305
306 </sect2>
307
308</sect1>
Note: See TracBrowser for help on using the repository browser.