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