[edd70f1] | 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 |
|
---|
[8dfc5c3] | 7 | <!ENTITY colord-gtk-download-http "https://www.freedesktop.org/software/colord/releases/colord-gtk-&colord-gtk-version;.tar.xz">
|
---|
[edd70f1] | 8 | <!ENTITY colord-gtk-download-ftp " ">
|
---|
[9499bbf] | 9 | <!ENTITY colord-gtk-md5sum "08c245d6482b3923a2b6a09f7fbbe612">
|
---|
| 10 | <!ENTITY colord-gtk-size "24 KB">
|
---|
| 11 | <!ENTITY colord-gtk-buildsize "6.1 MB">
|
---|
[edd70f1] | 12 | <!ENTITY colord-gtk-time "less than 0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
[6ec15f1f] | 15 | <sect1 id="colord-gtk" xreflabel="colord-gtk-&colord-gtk-version;">
|
---|
[edd70f1] | 16 | <?dbhtml filename="colord-gtk.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>colord-gtk-&colord-gtk-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="colord-gtk">
|
---|
| 22 | <primary sortas="a-colord-gtk">colord-gtk</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to Colord GTK</title>
|
---|
| 27 |
|
---|
| 28 | <para>
|
---|
| 29 | The <application>Colord GTK</application> package contains
|
---|
| 30 | <application>GTK+</application> bindings for
|
---|
| 31 | <application>Colord</application>.
|
---|
| 32 | </para>
|
---|
| 33 |
|
---|
[dc1a45e] | 34 | &lfs113_checked;
|
---|
[edd70f1] | 35 |
|
---|
| 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>
|
---|
| 40 | Download (HTTP): <ulink url="&colord-gtk-download-http;"/>
|
---|
| 41 | </para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>
|
---|
| 45 | Download (FTP): <ulink url="&colord-gtk-download-ftp;"/>
|
---|
| 46 | </para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
| 50 | Download MD5 sum: &colord-gtk-md5sum;
|
---|
| 51 | </para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>
|
---|
| 55 | Download size: &colord-gtk-size;
|
---|
| 56 | </para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>
|
---|
| 60 | Estimated disk space required: &colord-gtk-buildsize;
|
---|
| 61 | </para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
| 65 | Estimated build time: &colord-gtk-time;
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
| 69 |
|
---|
| 70 | <bridgehead renderas="sect3">Colord GTK Dependencies</bridgehead>
|
---|
| 71 |
|
---|
| 72 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 73 | <para role="required">
|
---|
| 74 | <xref linkend="colord"/> and
|
---|
| 75 | <xref linkend="gtk3"/>
|
---|
| 76 | </para>
|
---|
[8558044] | 77 |
|
---|
[edd70f1] | 78 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 79 | <para role="recommended">
|
---|
[45552ea] | 80 | <xref linkend="gobject-introspection"/>,
|
---|
[9499bbf] | 81 | <xref linkend="gtk2"/>,
|
---|
| 82 | <xref linkend="gtk4"/>, and
|
---|
[edd70f1] | 83 | <xref linkend="vala"/>
|
---|
| 84 | </para>
|
---|
| 85 |
|
---|
| 86 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 87 | <para role="optional">
|
---|
[45552ea] | 88 | <xref linkend="docbook-utils"/> and
|
---|
[edd70f1] | 89 | <xref linkend="gtk-doc"/>
|
---|
| 90 | </para>
|
---|
| 91 |
|
---|
| 92 | <para condition="html" role="usernotes">
|
---|
| 93 | User Notes: <ulink url="&blfs-wiki;/colord-gtk"/>
|
---|
| 94 | </para>
|
---|
| 95 | </sect2>
|
---|
| 96 |
|
---|
| 97 | <sect2 role="installation">
|
---|
| 98 | <title>Installation of Colord GTK</title>
|
---|
| 99 |
|
---|
| 100 | <warning>
|
---|
| 101 | <para>
|
---|
[6b92327] | 102 | If building the documentation <command>ninja -j1</command> must be used.
|
---|
[edd70f1] | 103 | </para>
|
---|
| 104 | </warning>
|
---|
| 105 |
|
---|
| 106 | <para>
|
---|
| 107 | Install <application>Colord GTK</application> by running the following
|
---|
| 108 | commands:
|
---|
| 109 | </para>
|
---|
| 110 |
|
---|
[7553afee] | 111 | <screen><userinput>mkdir build &&
|
---|
| 112 | cd build &&
|
---|
| 113 |
|
---|
[91318eb] | 114 | meson setup --prefix=/usr \
|
---|
| 115 | --buildtype=release \
|
---|
| 116 | -Dgtk2=true \
|
---|
| 117 | -Dgtk4=true \
|
---|
| 118 | -Dvapi=true \
|
---|
| 119 | -Ddocs=false \
|
---|
| 120 | -Dman=false \
|
---|
| 121 | .. &&
|
---|
[7553afee] | 122 | ninja</userinput></screen>
|
---|
[edd70f1] | 123 |
|
---|
| 124 | <para>
|
---|
[7553afee] | 125 | To test the results, issue: <command>ninja test</command>.
|
---|
| 126 | The tests need to be run from an X session, and may require
|
---|
| 127 | a color profile for your primary display.
|
---|
| 128 | <!-- on an ASUS 32" IPS display, I have a color profile and it works
|
---|
[8558044] | 129 | properly. On the other hand, with a Dell SP2208WFP LCD,
|
---|
[7553afee] | 130 | no color profile is available and the tests fail. It seems to
|
---|
| 131 | depend on the system/display. -->
|
---|
[edd70f1] | 132 | </para>
|
---|
| 133 |
|
---|
| 134 | <para>
|
---|
| 135 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 136 | </para>
|
---|
| 137 |
|
---|
[7553afee] | 138 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[edd70f1] | 139 | </sect2>
|
---|
| 140 |
|
---|
| 141 | <sect2 role="commands">
|
---|
| 142 | <title>Command Explanations</title>
|
---|
| 143 |
|
---|
[adf17153] | 144 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 145 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 146 |
|
---|
[edd70f1] | 147 | <para>
|
---|
[7553afee] | 148 | <parameter>-Dvapi=true</parameter>: This switch enables
|
---|
[9499bbf] | 149 | building of the Vala bindings. Remove this switch if you don't
|
---|
| 150 | have <xref linkend="vala" role="nodep"/> installed.
|
---|
[edd70f1] | 151 | </para>
|
---|
| 152 |
|
---|
[7553afee] | 153 | <para>
|
---|
| 154 | <parameter>-Dgtk2=true</parameter>: This switch enables building
|
---|
| 155 | the GTK+-2 bindings for colord.
|
---|
| 156 | </para>
|
---|
| 157 |
|
---|
[9499bbf] | 158 | <para>
|
---|
| 159 | <parameter>-Dgtk4=true</parameter>: This switch enables building
|
---|
| 160 | the GTK-4 bindings for colord. Set this option to 'false' if you
|
---|
| 161 | do not have <xref linkend="gtk4" role="nodep"/> installed.
|
---|
| 162 | </para>
|
---|
| 163 |
|
---|
[7553afee] | 164 | <para>
|
---|
| 165 | <parameter>-Ddocs=false</parameter>: This switch disables building
|
---|
[9499bbf] | 166 | gtk-doc based documentation. Even if gtk-doc is installed, you will
|
---|
[7553afee] | 167 | need the namespaced versions of the Docbook XSL stylesheets.
|
---|
| 168 | </para>
|
---|
| 169 |
|
---|
| 170 | <para>
|
---|
| 171 | <parameter>-Dman=false</parameter>: This switch disables generating
|
---|
| 172 | the manual pages for this package. Remove this switch if you have
|
---|
| 173 | namespaced versions of the Docbook XSL stylesheets installed.
|
---|
| 174 | </para>
|
---|
| 175 |
|
---|
| 176 | <!--
|
---|
[edd70f1] | 177 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 178 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 179 |
|
---|
| 180 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 181 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[7553afee] | 182 | -->
|
---|
[edd70f1] | 183 | </sect2>
|
---|
| 184 |
|
---|
| 185 | <sect2 role="content">
|
---|
| 186 | <title>Contents</title>
|
---|
| 187 |
|
---|
| 188 | <segmentedlist>
|
---|
| 189 | <segtitle>Installed Programs</segtitle>
|
---|
| 190 | <segtitle>Installed Libraries</segtitle>
|
---|
| 191 | <segtitle>Installed Directories</segtitle>
|
---|
| 192 |
|
---|
| 193 | <seglistitem>
|
---|
| 194 | <seg>
|
---|
| 195 | cd-convert
|
---|
| 196 | </seg>
|
---|
| 197 | <seg>
|
---|
[9499bbf] | 198 | libcolord-gtk.so,
|
---|
| 199 | libcolord-gtk2.so, and
|
---|
| 200 | libcolord-gtk4.so
|
---|
[edd70f1] | 201 | </seg>
|
---|
| 202 | <seg>
|
---|
| 203 | /usr/include/colord-1/colord-gtk and
|
---|
| 204 | /usr/share/gtk-doc/html/colord-gtk
|
---|
| 205 | </seg>
|
---|
| 206 | </seglistitem>
|
---|
| 207 | </segmentedlist>
|
---|
| 208 |
|
---|
| 209 | <variablelist>
|
---|
| 210 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 211 | <?dbfo list-presentation="list"?>
|
---|
| 212 | <?dbhtml list-presentation="table"?>
|
---|
| 213 |
|
---|
| 214 | <varlistentry id="cd-convert">
|
---|
| 215 | <term><command>cd-convert</command></term>
|
---|
| 216 | <listitem>
|
---|
| 217 | <para>
|
---|
[4c24eb0a] | 218 | is a Color Manager Testing Tool
|
---|
[edd70f1] | 219 | </para>
|
---|
| 220 | <indexterm zone="colord-gtk cd-convert">
|
---|
| 221 | <primary sortas="b-cd-convert">cd-convert</primary>
|
---|
| 222 | </indexterm>
|
---|
| 223 | </listitem>
|
---|
| 224 | </varlistentry>
|
---|
| 225 |
|
---|
| 226 | <varlistentry id="libcolord-gtk">
|
---|
| 227 | <term><filename class="libraryfile">libcolord-gtk.so</filename></term>
|
---|
| 228 | <listitem>
|
---|
| 229 | <para>
|
---|
| 230 | contains the <application>Colord</application>
|
---|
[4c24eb0a] | 231 | <application>GTK+</application> bindings
|
---|
[edd70f1] | 232 | </para>
|
---|
| 233 | <indexterm zone="colord-gtk libcolord-gtk">
|
---|
| 234 | <primary sortas="c-libcolord-gtk">libcolord-gtk.so</primary>
|
---|
| 235 | </indexterm>
|
---|
| 236 | </listitem>
|
---|
| 237 | </varlistentry>
|
---|
| 238 |
|
---|
[7553afee] | 239 | <varlistentry id="libcolord-gtk2">
|
---|
| 240 | <term><filename class="libraryfile">libcolord-gtk2.so</filename></term>
|
---|
| 241 | <listitem>
|
---|
| 242 | <para>
|
---|
| 243 | contains the <application>Colord</application>
|
---|
[4c24eb0a] | 244 | <application>GTK+-2</application> bindings
|
---|
[7553afee] | 245 | </para>
|
---|
| 246 | <indexterm zone="colord-gtk libcolord-gtk2">
|
---|
| 247 | <primary sortas="c-libcolord-gtk2">libcolord-gtk2.so</primary>
|
---|
| 248 | </indexterm>
|
---|
| 249 | </listitem>
|
---|
| 250 | </varlistentry>
|
---|
[9499bbf] | 251 |
|
---|
| 252 | <varlistentry id="libcolord-gtk4">
|
---|
| 253 | <term><filename class="libraryfile">libcolord-gtk4.so</filename></term>
|
---|
| 254 | <listitem>
|
---|
| 255 | <para>
|
---|
| 256 | contains the <application>Colord</application>
|
---|
| 257 | <application>GTK-4</application> bindings
|
---|
| 258 | </para>
|
---|
| 259 | <indexterm zone="colord-gtk libcolord-gtk4">
|
---|
| 260 | <primary sortas="c-libcolord-gtk4">libcolord-gtk4.so</primary>
|
---|
| 261 | </indexterm>
|
---|
| 262 | </listitem>
|
---|
| 263 | </varlistentry>
|
---|
[edd70f1] | 264 | </variablelist>
|
---|
| 265 |
|
---|
| 266 | </sect2>
|
---|
| 267 |
|
---|
| 268 | </sect1>
|
---|