source: general/sysutils/colord.xml@ 36cfad9

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind 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 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 36cfad9 was 03b4b3a, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

Revert some modifications made by Armin. I would appreciate if Armin continued as before, asking for modifications, instead of doing them yourself. Thanks. You have all two systemd branches to play with.

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

  • Property mode set to 100644
File size: 10.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 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 "452e02b3a7cc3ae5b4fc9bef304a6902">
11 <!ENTITY colord-size "1.2 MB">
12 <!ENTITY colord-buildsize "31 MB (additional 3 MB to rebuild and install the API documentation, and 2 MB for the tests)">
13 <!ENTITY colord-time "0.5 SBU (additional 0.1 SBU for the tests)">
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="dbus"/>,
81 <xref linkend="glib2"/>,
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="gobject-introspection"/>,
95 <xref linkend="polkit"/>,
96 <xref linkend="udev-extras"/> (for GUdev), and
97 <xref linkend="vala"/>
98 </para>
99
100 <bridgehead renderas="sect4">Optional</bridgehead>
101 <para role="optional">
102 <ulink url="http://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"/>,
108 <xref linkend="libxslt"/>,
109 <xref linkend="sane"/>, and
110 <xref linkend="valgrind"/> (required for the tests)
111 </para>
112
113 <para condition="html" role="usernotes">User Notes:
114 <ulink url="&blfs-wiki;/colord"/>
115 </para>
116 </sect2>
117
118 <sect2 role="installation">
119 <title>Installation of Colord</title>
120
121 <para>
122 There should be a dedicated user and group to take control
123 of the <command>colord</command> daemon after it is started.
124 Issue the following commands as the
125 <systemitem class="username">root</systemitem> user:
126 </para>
127
128<screen role="root"><userinput>groupadd -g 71 colord &amp;&amp;
129useradd -c "Color Daemon Owner" -d /var/lib/colord -u 71 \
130 -g colord -s /bin/false colord</userinput></screen>
131
132 <para>
133 Install <application>Colord</application> by running the following
134 commands:
135 </para>
136
137<screen><userinput>./configure --prefix=/usr \
138 --sysconfdir=/etc \
139 --localstatedir=/var \
140 --with-daemon-user=colord \
141 --enable-vala \
142 --enable-systemd-login=no \
143 --disable-bash-completion \
144 --disable-static \
145 --with-systemdsystemunitdir=no &amp;&amp;
146make</userinput></screen>
147
148 <para>
149 Now, as the <systemitem class="username">root</systemitem> user:
150 </para>
151
152<screen role="root"><userinput>make install</userinput></screen>
153
154 <para>
155 To test the results, issue: <command>make -k check</command>. For unknown
156 reasons, some tests may fail. Note that system-wide
157 <application>D-Bus</application> daemon must be running or the tests
158 will fail.
159 </para>
160
161 </sect2>
162
163 <sect2 role="commands">
164 <title>Command Explanations</title>
165
166 <para>
167 <parameter>--enable-libsystemd-login=no</parameter>: This parameter fixes
168 building without <application>systemd</application>, which is not part
169 of LFS/BLFS. If you use <application>systemd</application>,
170 replace "no" by "yes".
171 </para>
172
173 <para>
174 <parameter>--with-daemon-user=colord</parameter>: This
175 switch is used so the <command>colord</command> daemon
176 will run as an unprivileged user instead of
177 <systemitem class="username">root</systemitem> user.
178 </para>
179
180 <para>
181 <parameter>--enable-vala</parameter>: This switch enables
182 building of the Vala bindings. Remove if you don't
183 have <xref linkend="vala"/> installed.
184 </para>
185
186 <para>
187 <parameter>--disable-bash-completion</parameter>: This switch
188 disables <application>Bash Completion</application>
189 support for <application>Colord</application> apps.
190 </para>
191
192 <para>
193 <option>--disable-systemd-login</option>: This switch prevents
194 <command>configure</command> to look for
195 <application>Systemd</application> libraries.
196 </para>
197
198 <para>
199 <option>--with-systemdsystemunitdir=no</option>: Disable
200 attempting to build with systemd libraries.
201 </para>
202
203 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
204 href="../../xincludes/static-libraries.xml"/>
205
206 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
207 href="../../xincludes/gtk-doc-rebuild.xml"/>
208
209 <para>
210 <option>--disable-gusb</option>: Use this switch if you don't have
211 <application>libgusb</application> installed.
212 </para>
213
214 <para>
215 <option>--disable-gudev</option>: Use this switch if you don't have GUdev
216 installed.
217 </para>
218
219 <para>
220 <option>--disable-polkit</option>: Use this switch if you don't have
221 <application>Polkit</application> installed.
222 </para>
223
224 <para><option>--libexecdir=/usr/lib/colord</option>: This option
225 creates a <filename class="directory">colord</filename> directory in
226 <filename class="directory">/usr/lib</filename> instead of putting the
227 program's private programs into <filename
228 class="directory">/usr/libexec</filename> in accordance with the old
229 version of the FHS used before LFS-7.5.</para>
230
231 </sect2>
232
233 <sect2 role="content">
234 <title>Contents</title>
235
236 <segmentedlist>
237 <segtitle>Installed Programs</segtitle>
238 <segtitle>Installed Libraries</segtitle>
239 <segtitle>Installed Directories</segtitle>
240
241 <seglistitem>
242 <seg>
243 cd-create-profile, cd-fix-profile, cd-iccdump, colord,
244 colord-sane, colord-session, and colormgr
245 </seg>
246 <seg>
247 libcolordprivate.so, libcolord.so, libcolorhug.so, and several under
248 /usr/lib/colord-plugin and /usr/lib/colord-sensors
249 </seg>
250 <seg>
251 /usr/include/colord-1,
252 /usr/lib/colord,
253 /usr/lib/colord-plugins,
254 /usr/lib/colord-sensors,
255 /usr/share/color,
256 /usr/share/colord,
257 /usr/share/gtk-doc/html/colord and
258 /var/lib/colord
259 </seg>
260 </seglistitem>
261 </segmentedlist>
262
263 <variablelist>
264 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
265 <?dbfo list-presentation="list"?>
266 <?dbhtml list-presentation="table"?>
267
268 <varlistentry id="cd-create-profile">
269 <term><command>cd-create-profile</command></term>
270 <listitem>
271 <para>
272 is a Color Manager Profile Creation Tool.
273 </para>
274 <indexterm zone="colord cd-create-profile">
275 <primary sortas="b-cd-create-profile">cd-create-profile</primary>
276 </indexterm>
277 </listitem>
278 </varlistentry>
279
280 <varlistentry id="cd-fix-profile">
281 <term><command>cd-fix-profile</command></term>
282 <listitem>
283 <para>
284 is a tool used to fix metadata in ICC profiles.
285 </para>
286 <indexterm zone="colord cd-fix-profile">
287 <primary sortas="b-cd-fix-profile">cd-fix-profile</primary>
288 </indexterm>
289 </listitem>
290 </varlistentry>
291
292 <varlistentry id="colormgr">
293 <term><command>colormgr</command></term>
294 <listitem>
295 <para>
296 is a text-mode program that allows you to interact with colord
297 on the command line.
298 </para>
299 <indexterm zone="colord colormgr">
300 <primary sortas="b-colormgr">colormgr</primary>
301 </indexterm>
302 </listitem>
303 </varlistentry>
304
305 <varlistentry id="libcolord">
306 <term><filename class="libraryfile">libcolord.so</filename></term>
307 <listitem>
308 <para>
309 contains the <application>Colord</application> API functions.
310 </para>
311 <indexterm zone="colord libcolord">
312 <primary sortas="c-libcolord">libcolord.so</primary>
313 </indexterm>
314 </listitem>
315 </varlistentry>
316
317 </variablelist>
318
319 </sect2>
320
321</sect1>
Note: See TracBrowser for help on using the repository browser.