[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 " ">
|
---|
[2f59d11] | 9 | <!ENTITY colord-md5sum "f032ecac927e9078c41fff97800441e8">
|
---|
[bf6bb90] | 10 | <!ENTITY colord-size "1.8 MB">
|
---|
[2f59d11] | 11 | <!ENTITY colord-buildsize "22 MB (with tests)">
|
---|
[f858bd7] | 12 | <!ENTITY colord-time "0.2 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 |
|
---|
[43b1dad3] | 39 | &lfs83_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"/>,
|
---|
[d60cd837] | 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"/>,
|
---|
[d60cd837] | 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">
|
---|
[7d7588a3] | 99 | <xref linkend="docbook-utils"/>,
|
---|
[2249a59] | 100 | <xref linkend="gnome-desktop"/> and
|
---|
[6ec15f1f] | 101 | <xref linkend="colord-gtk"/> (to build the example tools),
|
---|
[c647e6d] | 102 | <xref linkend="gtk-doc"/>,
|
---|
[91e382cd] | 103 | <xref linkend="libxslt"/>,
|
---|
[2249a59] | 104 | <xref linkend="sane"/>,
|
---|
[6b7881d] | 105 | <ulink url="http://www.argyllcms.com/">ArgyllCMS</ulink>, and
|
---|
[1accff3c] | 106 | <ulink url="https://github.com/scop/bash-completion/">Bash Completion</ulink>
|
---|
[c341539] | 107 | </para>
|
---|
[f1a8ab0] | 108 |
|
---|
[1accff3c] | 109 | <para condition="html" role="usernotes">
|
---|
| 110 | User Notes: <ulink url="&blfs-wiki;/colord"/>
|
---|
[7ded7e3] | 111 | </para>
|
---|
[f1a8ab0] | 112 | </sect2>
|
---|
| 113 |
|
---|
| 114 | <sect2 role="installation">
|
---|
[7ded7e3] | 115 | <title>Installation of Colord</title>
|
---|
[f1a8ab0] | 116 |
|
---|
[d6da5da] | 117 | <para>
|
---|
[1accff3c] | 118 | There should be a dedicated user and group to take control of the colord
|
---|
| 119 | daemon after it has started. Issue the following commands as the
|
---|
[d6da5da] | 120 | <systemitem class="username">root</systemitem> user:
|
---|
| 121 | </para>
|
---|
| 122 |
|
---|
| 123 | <screen role="root"><userinput>groupadd -g 71 colord &&
|
---|
| 124 | useradd -c "Color Daemon Owner" -d /var/lib/colord -u 71 \
|
---|
| 125 | -g colord -s /bin/false colord</userinput></screen>
|
---|
| 126 |
|
---|
[2f59d11] | 127 | <para>First, clean up about 100 warnings:</para>
|
---|
| 128 |
|
---|
| 129 | <screen><userinput>mv po/fur.po po/ur.po &&
|
---|
| 130 | sed -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 &&
|
---|
[f858bd7] | 138 | cd build &&
|
---|
| 139 |
|
---|
[2f59d11] | 140 | meson --prefix=/usr \
|
---|
| 141 | --sysconfdir=/etc \
|
---|
| 142 | --localstatedir=/var \
|
---|
| 143 | -Ddaemon_user=colord \
|
---|
| 144 | -Dvapi=true \
|
---|
| 145 | -Dsystemd=false \
|
---|
| 146 | -Dlibcolordcompat=true \
|
---|
| 147 | -Dargyllcms_sensor=false \
|
---|
| 148 | -Dbash_completion=false \
|
---|
| 149 | -Ddocs=false \
|
---|
| 150 | -Dman=false .. &&
|
---|
[bf6bb90] | 151 | ninja</userinput></screen>
|
---|
| 152 |
|
---|
| 153 | <screen revision="systemd"><userinput>mkdir build &&
|
---|
| 154 | cd build &&
|
---|
[2f59d11] | 155 |
|
---|
| 156 | meson --prefix=/usr \
|
---|
| 157 | --sysconfdir=/etc \
|
---|
| 158 | --localstatedir=/var \
|
---|
| 159 | -Ddaemon_user=colord \
|
---|
| 160 | -Dvapi=true \
|
---|
| 161 | -Dsystemd=true \
|
---|
| 162 | -Dlibcolordcompat=true \
|
---|
| 163 | -Dargyllcms_sensor=false \
|
---|
| 164 | -Dbash_completion=false \
|
---|
| 165 | -Ddocs=false \
|
---|
| 166 | -Dman=false .. &&
|
---|
[bf6bb90] | 167 | ninja</userinput></screen>
|
---|
[95381469] | 168 |
|
---|
[7ded7e3] | 169 | <para>
|
---|
| 170 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 171 | </para>
|
---|
[f1a8ab0] | 172 |
|
---|
[bf6bb90] | 173 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[f1a8ab0] | 174 |
|
---|
[d6da5da] | 175 | <para>
|
---|
[bf6bb90] | 176 | To test the results, issue: <command>ninja -k 2 test</command>.
|
---|
| 177 | One test, <filename>colord-self-test-daemon</filename>, will fail.
|
---|
[1accff3c] | 178 | The test suite must be run after the package is installed, and the
|
---|
| 179 | system-wide D-Bus Daemon must be running.
|
---|
[d6da5da] | 180 | </para>
|
---|
| 181 |
|
---|
[f1a8ab0] | 182 | </sect2>
|
---|
| 183 |
|
---|
| 184 | <sect2 role="commands">
|
---|
| 185 | <title>Command Explanations</title>
|
---|
| 186 |
|
---|
[28b61748] | 187 | <para>
|
---|
[2f59d11] | 188 | <parameter>-Ddaemon_user=colord</parameter>: This switch is used
|
---|
[1accff3c] | 189 | so the colord daemon will run as an unprivileged user instead of the
|
---|
[d6da5da] | 190 | <systemitem class="username">root</systemitem> user.
|
---|
[28b61748] | 191 | </para>
|
---|
| 192 |
|
---|
| 193 | <para>
|
---|
[2f59d11] | 194 | <parameter>-Dvapi=true</parameter>: This switch enables building
|
---|
[bf6bb90] | 195 | the <application>Vala</application> bindings. Remove if you don't have
|
---|
[1accff3c] | 196 | <xref linkend="vala"/> installed.
|
---|
[28b61748] | 197 | </para>
|
---|
| 198 |
|
---|
[bf6bb90] | 199 | <para revision="sysv">
|
---|
[2f59d11] | 200 | <parameter>-Dsystemd=false</parameter>: This switch disables
|
---|
[bf6bb90] | 201 | support for <application>systemd</application> login in Colord
|
---|
| 202 | applications.
|
---|
[b194f2b] | 203 | </para>
|
---|
| 204 |
|
---|
[bf6bb90] | 205 | <para revision="systemd">
|
---|
[2f59d11] | 206 | <parameter>-Dsystemd=true</parameter>: This switch enables
|
---|
[bf6bb90] | 207 | installation of the <application>systemd</application> service.
|
---|
[82b5e658] | 208 | </para>
|
---|
| 209 |
|
---|
[03b4b3a] | 210 | <para>
|
---|
[2f59d11] | 211 | <parameter>-Dlibcolordcompat=true</parameter>: This switch enables
|
---|
[1accff3c] | 212 | building a compatibility library for older packages that use
|
---|
| 213 | <application>Colord</application>.
|
---|
[03b4b3a] | 214 | </para>
|
---|
[c647e6d] | 215 |
|
---|
[1accff3c] | 216 | <para>
|
---|
[2f59d11] | 217 | <parameter>-Dargyllcms_sensor=false</parameter>: This switch
|
---|
[bf6bb90] | 218 | disables the ArgLLCMS sensor driver. Omit if you have
|
---|
[6b7881d] | 219 | <ulink url="http://www.argyllcms.com/">ArgyllCMS</ulink> installed
|
---|
[1accff3c] | 220 | and wish to use it.
|
---|
[2b872a2] | 221 | </para>
|
---|
| 222 |
|
---|
[2249a59] | 223 | <para>
|
---|
[2f59d11] | 224 | <parameter>-Dbash_completion=false</parameter>: This switch
|
---|
[bf6bb90] | 225 | disables Bash Completion support for Colord applications.
|
---|
[fa99d008] | 226 | </para>
|
---|
| 227 |
|
---|
| 228 | <para>
|
---|
[2f59d11] | 229 | <parameter>-Ddocs=false</parameter>: This switch disables building
|
---|
[bf6bb90] | 230 | of documentation. Omit if you have <xref linkend="gtk-doc"/> avaialable.
|
---|
[fa99d008] | 231 | </para>
|
---|
| 232 |
|
---|
| 233 | <para>
|
---|
[2f59d11] | 234 | <parameter>-Dman=false</parameter>: This switch disables building
|
---|
[bf6bb90] | 235 | of man pages. Omit if you have <xref linkend="docbook-utils"/>
|
---|
| 236 | avaialable.
|
---|
[fa99d008] | 237 | </para>
|
---|
| 238 |
|
---|
[f1a8ab0] | 239 | </sect2>
|
---|
| 240 |
|
---|
| 241 | <sect2 role="content">
|
---|
| 242 | <title>Contents</title>
|
---|
| 243 |
|
---|
| 244 | <segmentedlist>
|
---|
| 245 | <segtitle>Installed Programs</segtitle>
|
---|
[d6da5da] | 246 | <segtitle>Installed Libraries</segtitle>
|
---|
[f1a8ab0] | 247 | <segtitle>Installed Directories</segtitle>
|
---|
| 248 |
|
---|
| 249 | <seglistitem>
|
---|
[c341539] | 250 | <seg>
|
---|
[1accff3c] | 251 | cd-create-profile,
|
---|
| 252 | cd-fix-profile,
|
---|
| 253 | cd-iccdump,
|
---|
| 254 | cd-it8, and
|
---|
| 255 | colormgr
|
---|
[c341539] | 256 | </seg>
|
---|
| 257 | <seg>
|
---|
[1accff3c] | 258 | libcolord.so,
|
---|
| 259 | libcolordcompat.so,
|
---|
| 260 | libcolordprivate.so, and
|
---|
| 261 | libcolorhug.so
|
---|
[c341539] | 262 | </seg>
|
---|
| 263 | <seg>
|
---|
[7ded7e3] | 264 | /usr/include/colord-1,
|
---|
[7d7588a3] | 265 | /usr/lib/colord-{plugins,sensors},
|
---|
[1accff3c] | 266 | /usr/share/color{d},
|
---|
[7d7588a3] | 267 | /usr/share/gtk-doc/html/colord, and
|
---|
[c341539] | 268 | /var/lib/colord
|
---|
| 269 | </seg>
|
---|
[f1a8ab0] | 270 | </seglistitem>
|
---|
| 271 | </segmentedlist>
|
---|
| 272 |
|
---|
| 273 | <variablelist>
|
---|
| 274 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 275 | <?dbfo list-presentation="list"?>
|
---|
| 276 | <?dbhtml list-presentation="table"?>
|
---|
| 277 |
|
---|
[1accff3c] | 278 | <!-- If the program or library name conflicts (is the same) as the
|
---|
| 279 | package name, add -prog or -lib to the varlistentry entity id
|
---|
| 280 | and the 2nd entry of the indexterm zone entity -->
|
---|
| 281 |
|
---|
[f1a8ab0] | 282 | <varlistentry id="cd-create-profile">
|
---|
| 283 | <term><command>cd-create-profile</command></term>
|
---|
| 284 | <listitem>
|
---|
[7ded7e3] | 285 | <para>
|
---|
[1accff3c] | 286 | is the Color Manager Profile Creation Tool.
|
---|
[7ded7e3] | 287 | </para>
|
---|
[f1a8ab0] | 288 | <indexterm zone="colord cd-create-profile">
|
---|
| 289 | <primary sortas="b-cd-create-profile">cd-create-profile</primary>
|
---|
| 290 | </indexterm>
|
---|
| 291 | </listitem>
|
---|
| 292 | </varlistentry>
|
---|
| 293 |
|
---|
| 294 | <varlistentry id="cd-fix-profile">
|
---|
| 295 | <term><command>cd-fix-profile</command></term>
|
---|
| 296 | <listitem>
|
---|
[7ded7e3] | 297 | <para>
|
---|
| 298 | is a tool used to fix metadata in ICC profiles.
|
---|
| 299 | </para>
|
---|
[f1a8ab0] | 300 | <indexterm zone="colord cd-fix-profile">
|
---|
| 301 | <primary sortas="b-cd-fix-profile">cd-fix-profile</primary>
|
---|
| 302 | </indexterm>
|
---|
| 303 | </listitem>
|
---|
| 304 | </varlistentry>
|
---|
| 305 |
|
---|
[7d7588a3] | 306 | <varlistentry id="cd-iccdump">
|
---|
| 307 | <term><command>cd-iccdump</command></term>
|
---|
| 308 | <listitem>
|
---|
| 309 | <para>
|
---|
| 310 | dumps the contents of an ICC profile as human readable text.
|
---|
| 311 | </para>
|
---|
| 312 | <indexterm zone="colord cd-iccdump">
|
---|
| 313 | <primary sortas="b-cd-iccdump">cd-iccdump</primary>
|
---|
| 314 | </indexterm>
|
---|
| 315 | </listitem>
|
---|
| 316 | </varlistentry>
|
---|
| 317 |
|
---|
[06a322f] | 318 | <varlistentry id="cd-it8">
|
---|
| 319 | <term><command>cd-it8</command></term>
|
---|
| 320 | <listitem>
|
---|
| 321 | <para>
|
---|
[1accff3c] | 322 | is the Color Manager Testing Tool.
|
---|
[06a322f] | 323 | </para>
|
---|
| 324 | <indexterm zone="colord cd-it8">
|
---|
| 325 | <primary sortas="b-cd-it8">cd-it8</primary>
|
---|
| 326 | </indexterm>
|
---|
| 327 | </listitem>
|
---|
| 328 | </varlistentry>
|
---|
| 329 |
|
---|
[f1a8ab0] | 330 | <varlistentry id="colormgr">
|
---|
| 331 | <term><command>colormgr</command></term>
|
---|
| 332 | <listitem>
|
---|
[7ded7e3] | 333 | <para>
|
---|
[1accff3c] | 334 | is a text-mode program that allows you to interact with colord on
|
---|
| 335 | the command line.
|
---|
[7ded7e3] | 336 | </para>
|
---|
[f1a8ab0] | 337 | <indexterm zone="colord colormgr">
|
---|
| 338 | <primary sortas="b-colormgr">colormgr</primary>
|
---|
| 339 | </indexterm>
|
---|
| 340 | </listitem>
|
---|
| 341 | </varlistentry>
|
---|
| 342 |
|
---|
[1accff3c] | 343 | <varlistentry id="libcolord.so">
|
---|
[c8f8332] | 344 | <term><filename class="libraryfile">libcolord.so</filename></term>
|
---|
[f1a8ab0] | 345 | <listitem>
|
---|
[7ded7e3] | 346 | <para>
|
---|
| 347 | contains the <application>Colord</application> API functions.
|
---|
| 348 | </para>
|
---|
[1accff3c] | 349 | <indexterm zone="colord libcolord.so">
|
---|
| 350 | <primary sortas="c-libcolord.so">libcolord.so</primary>
|
---|
[f1a8ab0] | 351 | </indexterm>
|
---|
| 352 | </listitem>
|
---|
| 353 | </varlistentry>
|
---|
| 354 |
|
---|
[1accff3c] | 355 | <varlistentry id="libcolordcompat.so">
|
---|
| 356 | <term><filename class="libraryfile">libcolordcompat.so</filename></term>
|
---|
| 357 | <listitem>
|
---|
| 358 | <para>
|
---|
| 359 | contains legacy API functions for compatibility with older
|
---|
| 360 | applications.
|
---|
| 361 | </para>
|
---|
| 362 | <indexterm zone="colord libcolordcompat.so">
|
---|
| 363 | <primary sortas="c-libcolordcompat.so">libcolordcompat.so</primary>
|
---|
| 364 | </indexterm>
|
---|
| 365 | </listitem>
|
---|
| 366 | </varlistentry>
|
---|
[f1a8ab0] | 367 |
|
---|
[1accff3c] | 368 | <varlistentry id="libcolordprivate.so">
|
---|
| 369 | <term><filename class="libraryfile">libcolordprivate.so</filename></term>
|
---|
| 370 | <listitem>
|
---|
| 371 | <para>
|
---|
| 372 | contains internal API functions for the programs included with
|
---|
| 373 | <application>Colord</application>.
|
---|
| 374 | </para>
|
---|
| 375 | <indexterm zone="colord libcolordprivate.so">
|
---|
| 376 | <primary sortas="c-libcolordprivate.so">libcolordprivate.so</primary>
|
---|
| 377 | </indexterm>
|
---|
| 378 | </listitem>
|
---|
| 379 | </varlistentry>
|
---|
[f1a8ab0] | 380 |
|
---|
[1accff3c] | 381 | <varlistentry id="libcolorhug.so">
|
---|
| 382 | <term><filename class="libraryfile">libcolorhug.so</filename></term>
|
---|
| 383 | <listitem>
|
---|
| 384 | <para>
|
---|
| 385 | contains a simple display hardware colorimiter.
|
---|
| 386 | </para>
|
---|
| 387 | <indexterm zone="colord libcolorhug.so">
|
---|
| 388 | <primary sortas="c-libcolorhug.so">libcolorhug.so</primary>
|
---|
| 389 | </indexterm>
|
---|
| 390 | </listitem>
|
---|
| 391 | </varlistentry>
|
---|
| 392 | </variablelist>
|
---|
| 393 | </sect2>
|
---|
[f1a8ab0] | 394 | </sect1>
|
---|