source: general/sysutils/colord.xml@ 427b46a

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 427b46a was eef74ab, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Tags for postlfs, general libraries, and programming

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

  • Property mode set to 100644
File size: 12.1 KB
RevLine 
[f1a8ab0]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
[1accff3c]7 <!ENTITY colord-download-http "https://www.freedesktop.org/software/colord/releases/colord-&colord-version;.tar.xz">
[f1a8ab0]8 <!ENTITY colord-download-ftp " ">
[6b64a918]9 <!ENTITY colord-md5sum "adc4501b54fb8667ee99f64cff87e12d">
[bf6bb90]10 <!ENTITY colord-size "1.8 MB">
[6b64a918]11 <!ENTITY colord-buildsize "31 MB (with tests)">
12 <!ENTITY colord-time "0.3 SBU (with tests)">
[f1a8ab0]13]>
14
[4d89757]15<sect1 id="colord" xreflabel="colord-&colord-version;">
[f1a8ab0]16 <?dbhtml filename="colord.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
[880c568]23 <title>Colord-&colord-version;</title>
[f1a8ab0]24
25 <indexterm zone="colord">
[1accff3c]26 <primary sortas="a-colord">Colord</primary>
[f1a8ab0]27 </indexterm>
28
29 <sect2 role="package">
[7ded7e3]30 <title>Introduction to Colord</title>
[f1a8ab0]31
[7ded7e3]32 <para>
[1accff3c]33 <application>Colord</application> is a system service that makes it easy
34 to manage, install, and generate color profiles. It is used mainly by
[7ded7e3]35 <application>GNOME Color Manager</application> for system integration
[1accff3c]36 and use when no users are logged in.
[7ded7e3]37 </para>
[f1a8ab0]38
[eef74ab]39 &lfs101_checked;
[f1a8ab0]40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
[7ded7e3]44 <para>
45 Download (HTTP): <ulink url="&colord-download-http;"/>
46 </para>
[f1a8ab0]47 </listitem>
48 <listitem>
[7ded7e3]49 <para>
50 Download (FTP): <ulink url="&colord-download-ftp;"/>
51 </para>
[f1a8ab0]52 </listitem>
53 <listitem>
[7ded7e3]54 <para>
55 Download MD5 sum: &colord-md5sum;
56 </para>
[f1a8ab0]57 </listitem>
58 <listitem>
[7ded7e3]59 <para>
60 Download size: &colord-size;
61 </para>
[f1a8ab0]62 </listitem>
63 <listitem>
[7ded7e3]64 <para>
65 Estimated disk space required: &colord-buildsize;
66 </para>
[f1a8ab0]67 </listitem>
68 <listitem>
[7ded7e3]69 <para>
70 Estimated build time: &colord-time;
71 </para>
[f1a8ab0]72 </listitem>
73 </itemizedlist>
74
[7ded7e3]75 <bridgehead renderas="sect3">Colord Dependencies</bridgehead>
[f1a8ab0]76
77 <bridgehead renderas="sect4">Required</bridgehead>
[c341539]78 <para role="required">
[54666831]79 <xref linkend="dbus"/>,
[fa99d008]80 <xref linkend="glib2"/>,
[106ed2b]81 <xref linkend="lcms2"/>,
82 <xref linkend="polkit"/>, and
83 <!-- Polkit now needed, see #11481 in Trac -->
[08de396]84 <xref linkend="sqlite"/>
[c341539]85 </para>
86
[7ded7e3]87 <bridgehead renderas="sect4">Recommended</bridgehead>
[c341539]88 <para role="recommended">
[91e382cd]89 <xref linkend="gobject-introspection"/>,
[f175d6f6]90 <xref linkend="libgudev"/>,
[7d7588a3]91 <xref linkend="libgusb"/>,
[106ed2b]92 <phrase revision="sysv">and</phrase>
[4d89757]93 <phrase revision="systemd"><xref linkend="systemd"/>, and</phrase>
[01996ebb]94 <xref linkend="vala"/>
[c341539]95 </para>
[f1a8ab0]96
[7ded7e3]97 <bridgehead renderas="sect4">Optional</bridgehead>
[c341539]98 <para role="optional">
[2249a59]99 <xref linkend="gnome-desktop"/> and
[6ec15f1f]100 <xref linkend="colord-gtk"/> (to build the example tools),
[91e382cd]101 <xref linkend="libxslt"/>,
[2249a59]102 <xref linkend="sane"/>,
[6b7881d]103 <ulink url="http://www.argyllcms.com/">ArgyllCMS</ulink>, and
[1accff3c]104 <ulink url="https://github.com/scop/bash-completion/">Bash Completion</ulink>
[c341539]105 </para>
[f1a8ab0]106
[1accff3c]107 <para condition="html" role="usernotes">
108 User Notes: <ulink url="&blfs-wiki;/colord"/>
[7ded7e3]109 </para>
[f1a8ab0]110 </sect2>
111
112 <sect2 role="installation">
[7ded7e3]113 <title>Installation of Colord</title>
[f1a8ab0]114
[d6da5da]115 <para>
[1accff3c]116 There should be a dedicated user and group to take control of the colord
117 daemon after it has started. Issue the following commands as the
[d6da5da]118 <systemitem class="username">root</systemitem> user:
119 </para>
120
121<screen role="root"><userinput>groupadd -g 71 colord &amp;&amp;
122useradd -c "Color Daemon Owner" -d /var/lib/colord -u 71 \
123 -g colord -s /bin/false colord</userinput></screen>
124
[b1532549]125 <para>
126 First, clean up about 100 warnings:
127 </para>
[2f59d11]128
129<screen><userinput>mv po/fur.po po/ur.po &amp;&amp;
130sed -i 's/fur/ur/' po/LINGUAS</userinput></screen>
131
[7ded7e3]132 <para>
133 Install <application>Colord</application> by running the following
134 commands:
135 </para>
[f1a8ab0]136
[bf6bb90]137<screen revision="sysv"><userinput>mkdir build &amp;&amp;
[f858bd7]138cd build &amp;&amp;
139
[2f59d11]140meson --prefix=/usr \
141 -Ddaemon_user=colord \
142 -Dvapi=true \
143 -Dsystemd=false \
144 -Dlibcolordcompat=true \
145 -Dargyllcms_sensor=false \
146 -Dbash_completion=false \
147 -Ddocs=false \
148 -Dman=false .. &amp;&amp;
[bf6bb90]149ninja</userinput></screen>
150
151<screen revision="systemd"><userinput>mkdir build &amp;&amp;
152cd build &amp;&amp;
[2f59d11]153
154meson --prefix=/usr \
155 -Ddaemon_user=colord \
156 -Dvapi=true \
157 -Dsystemd=true \
158 -Dlibcolordcompat=true \
159 -Dargyllcms_sensor=false \
160 -Dbash_completion=false \
161 -Ddocs=false \
162 -Dman=false .. &amp;&amp;
[bf6bb90]163ninja</userinput></screen>
[95381469]164
[7ded7e3]165 <para>
166 Now, as the <systemitem class="username">root</systemitem> user:
167 </para>
[f1a8ab0]168
[bf6bb90]169<screen role="root"><userinput>ninja install</userinput></screen>
[f1a8ab0]170
[d6da5da]171 <para>
[bf6bb90]172 To test the results, issue: <command>ninja -k 2 test</command>.
173 One test, <filename>colord-self-test-daemon</filename>, will fail.
[1accff3c]174 The test suite must be run after the package is installed, and the
175 system-wide D-Bus Daemon must be running.
[d6da5da]176 </para>
177
[f1a8ab0]178 </sect2>
179
180 <sect2 role="commands">
181 <title>Command Explanations</title>
182
[28b61748]183 <para>
[2f59d11]184 <parameter>-Ddaemon_user=colord</parameter>: This switch is used
[1accff3c]185 so the colord daemon will run as an unprivileged user instead of the
[d6da5da]186 <systemitem class="username">root</systemitem> user.
[28b61748]187 </para>
188
189 <para>
[2f59d11]190 <parameter>-Dvapi=true</parameter>: This switch enables building
[bf6bb90]191 the <application>Vala</application> bindings. Remove if you don't have
[1accff3c]192 <xref linkend="vala"/> installed.
[28b61748]193 </para>
194
[bf6bb90]195 <para revision="sysv">
[2f59d11]196 <parameter>-Dsystemd=false</parameter>: This switch disables
[bf6bb90]197 support for <application>systemd</application> login in Colord
198 applications.
[b194f2b]199 </para>
200
[bf6bb90]201 <para revision="systemd">
[2f59d11]202 <parameter>-Dsystemd=true</parameter>: This switch enables
[bf6bb90]203 installation of the <application>systemd</application> service.
[82b5e658]204 </para>
205
[03b4b3a]206 <para>
[2f59d11]207 <parameter>-Dlibcolordcompat=true</parameter>: This switch enables
[1accff3c]208 building a compatibility library for older packages that use
209 <application>Colord</application>.
[03b4b3a]210 </para>
[c647e6d]211
[1accff3c]212 <para>
[2f59d11]213 <parameter>-Dargyllcms_sensor=false</parameter>: This switch
[bf6bb90]214 disables the ArgLLCMS sensor driver. Omit if you have
[6b7881d]215 <ulink url="http://www.argyllcms.com/">ArgyllCMS</ulink> installed
[1accff3c]216 and wish to use it.
[2b872a2]217 </para>
218
[2249a59]219 <para>
[2f59d11]220 <parameter>-Dbash_completion=false</parameter>: This switch
[bf6bb90]221 disables Bash Completion support for Colord applications.
[fa99d008]222 </para>
223
224 <para>
[2f59d11]225 <parameter>-Ddocs=false</parameter>: This switch disables building
[c250033]226 of documentation. Omit if you have <xref linkend="gtk-doc"/> available.
[fa99d008]227 </para>
228
229 <para>
[2f59d11]230 <parameter>-Dman=false</parameter>: This switch disables building
[bf6bb90]231 of man pages. Omit if you have <xref linkend="docbook-utils"/>
[c250033]232 available. Namespaced versions of the docbook-xsl stylesheets
[4855935]233 are also required.
[fa99d008]234 </para>
235
[f1a8ab0]236 </sect2>
237
238 <sect2 role="content">
239 <title>Contents</title>
240
241 <segmentedlist>
242 <segtitle>Installed Programs</segtitle>
[d6da5da]243 <segtitle>Installed Libraries</segtitle>
[f1a8ab0]244 <segtitle>Installed Directories</segtitle>
245
246 <seglistitem>
[c341539]247 <seg>
[1accff3c]248 cd-create-profile,
249 cd-fix-profile,
250 cd-iccdump,
251 cd-it8, and
252 colormgr
[c341539]253 </seg>
254 <seg>
[1accff3c]255 libcolord.so,
256 libcolordcompat.so,
257 libcolordprivate.so, and
258 libcolorhug.so
[c341539]259 </seg>
260 <seg>
[7ded7e3]261 /usr/include/colord-1,
[7d7588a3]262 /usr/lib/colord-{plugins,sensors},
[1accff3c]263 /usr/share/color{d},
[7d7588a3]264 /usr/share/gtk-doc/html/colord, and
[c341539]265 /var/lib/colord
266 </seg>
[f1a8ab0]267 </seglistitem>
268 </segmentedlist>
269
270 <variablelist>
271 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
272 <?dbfo list-presentation="list"?>
273 <?dbhtml list-presentation="table"?>
274
[1accff3c]275 <!-- If the program or library name conflicts (is the same) as the
276 package name, add -prog or -lib to the varlistentry entity id
277 and the 2nd entry of the indexterm zone entity -->
278
[f1a8ab0]279 <varlistentry id="cd-create-profile">
280 <term><command>cd-create-profile</command></term>
281 <listitem>
[7ded7e3]282 <para>
[4c24eb0a]283 is the Color Manager Profile Creation Tool
[7ded7e3]284 </para>
[f1a8ab0]285 <indexterm zone="colord cd-create-profile">
286 <primary sortas="b-cd-create-profile">cd-create-profile</primary>
287 </indexterm>
288 </listitem>
289 </varlistentry>
290
291 <varlistentry id="cd-fix-profile">
292 <term><command>cd-fix-profile</command></term>
293 <listitem>
[7ded7e3]294 <para>
[4c24eb0a]295 is a tool used to fix metadata in ICC profiles
[7ded7e3]296 </para>
[f1a8ab0]297 <indexterm zone="colord cd-fix-profile">
298 <primary sortas="b-cd-fix-profile">cd-fix-profile</primary>
299 </indexterm>
300 </listitem>
301 </varlistentry>
302
[7d7588a3]303 <varlistentry id="cd-iccdump">
304 <term><command>cd-iccdump</command></term>
305 <listitem>
306 <para>
[4c24eb0a]307 dumps the contents of an ICC profile as human readable text
[7d7588a3]308 </para>
309 <indexterm zone="colord cd-iccdump">
310 <primary sortas="b-cd-iccdump">cd-iccdump</primary>
311 </indexterm>
312 </listitem>
313 </varlistentry>
314
[06a322f]315 <varlistentry id="cd-it8">
316 <term><command>cd-it8</command></term>
317 <listitem>
318 <para>
[4c24eb0a]319 is the Color Manager Testing Tool
[06a322f]320 </para>
321 <indexterm zone="colord cd-it8">
322 <primary sortas="b-cd-it8">cd-it8</primary>
323 </indexterm>
324 </listitem>
325 </varlistentry>
326
[f1a8ab0]327 <varlistentry id="colormgr">
328 <term><command>colormgr</command></term>
329 <listitem>
[7ded7e3]330 <para>
[1accff3c]331 is a text-mode program that allows you to interact with colord on
[4c24eb0a]332 the command line
[7ded7e3]333 </para>
[f1a8ab0]334 <indexterm zone="colord colormgr">
335 <primary sortas="b-colormgr">colormgr</primary>
336 </indexterm>
337 </listitem>
338 </varlistentry>
339
[1accff3c]340 <varlistentry id="libcolord.so">
[c8f8332]341 <term><filename class="libraryfile">libcolord.so</filename></term>
[f1a8ab0]342 <listitem>
[7ded7e3]343 <para>
[4c24eb0a]344 contains the <application>Colord</application> API functions
[7ded7e3]345 </para>
[1accff3c]346 <indexterm zone="colord libcolord.so">
347 <primary sortas="c-libcolord.so">libcolord.so</primary>
[f1a8ab0]348 </indexterm>
349 </listitem>
350 </varlistentry>
351
[1accff3c]352 <varlistentry id="libcolordcompat.so">
353 <term><filename class="libraryfile">libcolordcompat.so</filename></term>
354 <listitem>
355 <para>
356 contains legacy API functions for compatibility with older
[4c24eb0a]357 applications
[1accff3c]358 </para>
359 <indexterm zone="colord libcolordcompat.so">
360 <primary sortas="c-libcolordcompat.so">libcolordcompat.so</primary>
361 </indexterm>
362 </listitem>
363 </varlistentry>
[f1a8ab0]364
[1accff3c]365 <varlistentry id="libcolordprivate.so">
366 <term><filename class="libraryfile">libcolordprivate.so</filename></term>
367 <listitem>
368 <para>
369 contains internal API functions for the programs included with
[4c24eb0a]370 <application>Colord</application>
[1accff3c]371 </para>
372 <indexterm zone="colord libcolordprivate.so">
373 <primary sortas="c-libcolordprivate.so">libcolordprivate.so</primary>
374 </indexterm>
375 </listitem>
376 </varlistentry>
[f1a8ab0]377
[1accff3c]378 <varlistentry id="libcolorhug.so">
379 <term><filename class="libraryfile">libcolorhug.so</filename></term>
380 <listitem>
381 <para>
[4c24eb0a]382 contains a simple display hardware colorimiter
[1accff3c]383 </para>
384 <indexterm zone="colord libcolorhug.so">
385 <primary sortas="c-libcolorhug.so">libcolorhug.so</primary>
386 </indexterm>
387 </listitem>
388 </varlistentry>
389 </variablelist>
390 </sect2>
[4c24eb0a]391
[f1a8ab0]392</sect1>
Note: See TracBrowser for help on using the repository browser.