source: general/sysutils/colord-systemd.xml@ 78f1af9

systemd-11177
Last change on this file since 78f1af9 was 78f1af9, checked in by Krejzi <krejzi@…>, 10 years ago

colord systemd service can't be enabled. Don't remove optional switches. systemd logind is enabled by default.

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

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