[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[edd70f1] | 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 " ">
|
---|
[3350d67] | 9 | <!ENTITY colord-gtk-md5sum "d436740c06e42af421384f16b2a9a0a7">
|
---|
[9499bbf] | 10 | <!ENTITY colord-gtk-size "24 KB">
|
---|
[3350d67] | 11 | <!ENTITY colord-gtk-buildsize "2.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 |
|
---|
[6360539] | 34 | &lfs122_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">
|
---|
[c0bc0a9] | 80 | &gobject-introspection;,
|
---|
[9499bbf] | 81 | <xref linkend="gtk4"/>, and
|
---|
[edd70f1] | 82 | <xref linkend="vala"/>
|
---|
| 83 | </para>
|
---|
| 84 |
|
---|
| 85 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 86 | <para role="optional">
|
---|
[45552ea] | 87 | <xref linkend="docbook-utils"/> and
|
---|
[edd70f1] | 88 | <xref linkend="gtk-doc"/>
|
---|
| 89 | </para>
|
---|
| 90 |
|
---|
| 91 | </sect2>
|
---|
| 92 |
|
---|
| 93 | <sect2 role="installation">
|
---|
| 94 | <title>Installation of Colord GTK</title>
|
---|
| 95 |
|
---|
| 96 | <warning>
|
---|
| 97 | <para>
|
---|
[6b92327] | 98 | If building the documentation <command>ninja -j1</command> must be used.
|
---|
[edd70f1] | 99 | </para>
|
---|
| 100 | </warning>
|
---|
| 101 |
|
---|
| 102 | <para>
|
---|
| 103 | Install <application>Colord GTK</application> by running the following
|
---|
| 104 | commands:
|
---|
| 105 | </para>
|
---|
| 106 |
|
---|
[7553afee] | 107 | <screen><userinput>mkdir build &&
|
---|
| 108 | cd build &&
|
---|
| 109 |
|
---|
[91318eb] | 110 | meson setup --prefix=/usr \
|
---|
| 111 | --buildtype=release \
|
---|
[6d6005b0] | 112 | -D gtk4=true \
|
---|
| 113 | -D vapi=true \
|
---|
| 114 | -D docs=false \
|
---|
| 115 | -D man=false \
|
---|
[91318eb] | 116 | .. &&
|
---|
[7553afee] | 117 | ninja</userinput></screen>
|
---|
[edd70f1] | 118 |
|
---|
| 119 | <para>
|
---|
[7553afee] | 120 | To test the results, issue: <command>ninja test</command>.
|
---|
| 121 | The tests need to be run from an X session, and may require
|
---|
| 122 | a color profile for your primary display.
|
---|
| 123 | <!-- on an ASUS 32" IPS display, I have a color profile and it works
|
---|
[8558044] | 124 | properly. On the other hand, with a Dell SP2208WFP LCD,
|
---|
[7553afee] | 125 | no color profile is available and the tests fail. It seems to
|
---|
| 126 | depend on the system/display. -->
|
---|
[edd70f1] | 127 | </para>
|
---|
| 128 |
|
---|
| 129 | <para>
|
---|
| 130 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 131 | </para>
|
---|
| 132 |
|
---|
[7553afee] | 133 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[edd70f1] | 134 | </sect2>
|
---|
| 135 |
|
---|
| 136 | <sect2 role="commands">
|
---|
| 137 | <title>Command Explanations</title>
|
---|
| 138 |
|
---|
[adf17153] | 139 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 140 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 141 |
|
---|
[edd70f1] | 142 | <para>
|
---|
[6d6005b0] | 143 | <parameter>-D vapi=true</parameter>: This switch enables
|
---|
[9499bbf] | 144 | building of the Vala bindings. Remove this switch if you don't
|
---|
| 145 | have <xref linkend="vala" role="nodep"/> installed.
|
---|
[edd70f1] | 146 | </para>
|
---|
| 147 |
|
---|
[9499bbf] | 148 | <para>
|
---|
[6d6005b0] | 149 | <parameter>-D gtk4=true</parameter>: This switch enables building
|
---|
[9499bbf] | 150 | the GTK-4 bindings for colord. Set this option to 'false' if you
|
---|
| 151 | do not have <xref linkend="gtk4" role="nodep"/> installed.
|
---|
| 152 | </para>
|
---|
| 153 |
|
---|
[7553afee] | 154 | <para>
|
---|
[6d6005b0] | 155 | <parameter>-D docs=false</parameter>: This switch disables building
|
---|
[9499bbf] | 156 | gtk-doc based documentation. Even if gtk-doc is installed, you will
|
---|
[7553afee] | 157 | need the namespaced versions of the Docbook XSL stylesheets.
|
---|
| 158 | </para>
|
---|
| 159 |
|
---|
| 160 | <para>
|
---|
[6d6005b0] | 161 | <parameter>-D man=false</parameter>: This switch disables generating
|
---|
[7553afee] | 162 | the manual pages for this package. Remove this switch if you have
|
---|
| 163 | namespaced versions of the Docbook XSL stylesheets installed.
|
---|
| 164 | </para>
|
---|
| 165 |
|
---|
[a7bab97d] | 166 | <!--
|
---|
[875b3b57] | 167 | <para>
|
---|
[6d6005b0] | 168 | <option>-D gtk2=true</option>: This switch enables building
|
---|
[875b3b57] | 169 | the GTK+-2 bindings for colord. However since gtk2 is deprecated
|
---|
| 170 | it is not recommended to build these bindings.
|
---|
| 171 | </para>
|
---|
[a7bab97d] | 172 | -->
|
---|
[875b3b57] | 173 |
|
---|
[7553afee] | 174 | <!--
|
---|
[edd70f1] | 175 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 176 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 177 |
|
---|
| 178 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 179 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[7553afee] | 180 | -->
|
---|
[edd70f1] | 181 | </sect2>
|
---|
| 182 |
|
---|
| 183 | <sect2 role="content">
|
---|
| 184 | <title>Contents</title>
|
---|
| 185 |
|
---|
| 186 | <segmentedlist>
|
---|
| 187 | <segtitle>Installed Programs</segtitle>
|
---|
| 188 | <segtitle>Installed Libraries</segtitle>
|
---|
| 189 | <segtitle>Installed Directories</segtitle>
|
---|
| 190 |
|
---|
| 191 | <seglistitem>
|
---|
| 192 | <seg>
|
---|
| 193 | cd-convert
|
---|
| 194 | </seg>
|
---|
| 195 | <seg>
|
---|
[a7bab97d] | 196 | libcolord-gtk.so and
|
---|
[9499bbf] | 197 | libcolord-gtk4.so
|
---|
[edd70f1] | 198 | </seg>
|
---|
| 199 | <seg>
|
---|
| 200 | /usr/include/colord-1/colord-gtk and
|
---|
| 201 | /usr/share/gtk-doc/html/colord-gtk
|
---|
| 202 | </seg>
|
---|
| 203 | </seglistitem>
|
---|
| 204 | </segmentedlist>
|
---|
| 205 |
|
---|
| 206 | <variablelist>
|
---|
| 207 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 208 | <?dbfo list-presentation="list"?>
|
---|
| 209 | <?dbhtml list-presentation="table"?>
|
---|
| 210 |
|
---|
| 211 | <varlistentry id="cd-convert">
|
---|
| 212 | <term><command>cd-convert</command></term>
|
---|
| 213 | <listitem>
|
---|
| 214 | <para>
|
---|
[4c24eb0a] | 215 | is a Color Manager Testing Tool
|
---|
[edd70f1] | 216 | </para>
|
---|
| 217 | <indexterm zone="colord-gtk cd-convert">
|
---|
| 218 | <primary sortas="b-cd-convert">cd-convert</primary>
|
---|
| 219 | </indexterm>
|
---|
| 220 | </listitem>
|
---|
| 221 | </varlistentry>
|
---|
| 222 |
|
---|
| 223 | <varlistentry id="libcolord-gtk">
|
---|
| 224 | <term><filename class="libraryfile">libcolord-gtk.so</filename></term>
|
---|
| 225 | <listitem>
|
---|
| 226 | <para>
|
---|
| 227 | contains the <application>Colord</application>
|
---|
[4c24eb0a] | 228 | <application>GTK+</application> bindings
|
---|
[edd70f1] | 229 | </para>
|
---|
| 230 | <indexterm zone="colord-gtk libcolord-gtk">
|
---|
| 231 | <primary sortas="c-libcolord-gtk">libcolord-gtk.so</primary>
|
---|
| 232 | </indexterm>
|
---|
| 233 | </listitem>
|
---|
| 234 | </varlistentry>
|
---|
| 235 |
|
---|
[9499bbf] | 236 | <varlistentry id="libcolord-gtk4">
|
---|
| 237 | <term><filename class="libraryfile">libcolord-gtk4.so</filename></term>
|
---|
| 238 | <listitem>
|
---|
| 239 | <para>
|
---|
| 240 | contains the <application>Colord</application>
|
---|
| 241 | <application>GTK-4</application> bindings
|
---|
| 242 | </para>
|
---|
| 243 | <indexterm zone="colord-gtk libcolord-gtk4">
|
---|
| 244 | <primary sortas="c-libcolord-gtk4">libcolord-gtk4.so</primary>
|
---|
| 245 | </indexterm>
|
---|
| 246 | </listitem>
|
---|
| 247 | </varlistentry>
|
---|
[edd70f1] | 248 | </variablelist>
|
---|
| 249 |
|
---|
| 250 | </sect2>
|
---|
| 251 |
|
---|
| 252 | </sect1>
|
---|