source: general/sysutils/colord.xml@ 7585458

gnome
Last change on this file since 7585458 was 60c5a5d, checked in by Christopher Gregory <cjg@…>, 10 years ago

Added gnome-intro page and added that the build is assumed to be done on a systemd system. Removed reference to systemd not being
supported on platform page Removed reference to systmed users not needing to install
libcap as it is already covered on the intro Converted colord page to
use systemd

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/gnome@13409 af4574ff-66df-0310-9fd7-8a98e5e911e0

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