[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 | </sect2>
|
---|
| 93 |
|
---|
| 94 | <sect2 role="installation">
|
---|
| 95 | <title>Installation of Colord GTK</title>
|
---|
| 96 |
|
---|
| 97 | <warning>
|
---|
| 98 | <para>
|
---|
[6b92327] | 99 | If building the documentation <command>ninja -j1</command> must be used.
|
---|
[edd70f1] | 100 | </para>
|
---|
| 101 | </warning>
|
---|
| 102 |
|
---|
| 103 | <para>
|
---|
| 104 | Install <application>Colord GTK</application> by running the following
|
---|
| 105 | commands:
|
---|
| 106 | </para>
|
---|
| 107 |
|
---|
[7553afee] | 108 | <screen><userinput>mkdir build &&
|
---|
| 109 | cd build &&
|
---|
| 110 |
|
---|
[91318eb] | 111 | meson setup --prefix=/usr \
|
---|
| 112 | --buildtype=release \
|
---|
| 113 | -Dgtk2=true \
|
---|
| 114 | -Dgtk4=true \
|
---|
| 115 | -Dvapi=true \
|
---|
| 116 | -Ddocs=false \
|
---|
| 117 | -Dman=false \
|
---|
| 118 | .. &&
|
---|
[7553afee] | 119 | ninja</userinput></screen>
|
---|
[edd70f1] | 120 |
|
---|
| 121 | <para>
|
---|
[7553afee] | 122 | To test the results, issue: <command>ninja test</command>.
|
---|
| 123 | The tests need to be run from an X session, and may require
|
---|
| 124 | a color profile for your primary display.
|
---|
| 125 | <!-- on an ASUS 32" IPS display, I have a color profile and it works
|
---|
[8558044] | 126 | properly. On the other hand, with a Dell SP2208WFP LCD,
|
---|
[7553afee] | 127 | no color profile is available and the tests fail. It seems to
|
---|
| 128 | depend on the system/display. -->
|
---|
[edd70f1] | 129 | </para>
|
---|
| 130 |
|
---|
| 131 | <para>
|
---|
| 132 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 133 | </para>
|
---|
| 134 |
|
---|
[7553afee] | 135 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[edd70f1] | 136 | </sect2>
|
---|
| 137 |
|
---|
| 138 | <sect2 role="commands">
|
---|
| 139 | <title>Command Explanations</title>
|
---|
| 140 |
|
---|
[adf17153] | 141 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 142 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 143 |
|
---|
[edd70f1] | 144 | <para>
|
---|
[7553afee] | 145 | <parameter>-Dvapi=true</parameter>: This switch enables
|
---|
[9499bbf] | 146 | building of the Vala bindings. Remove this switch if you don't
|
---|
| 147 | have <xref linkend="vala" role="nodep"/> installed.
|
---|
[edd70f1] | 148 | </para>
|
---|
| 149 |
|
---|
[7553afee] | 150 | <para>
|
---|
| 151 | <parameter>-Dgtk2=true</parameter>: This switch enables building
|
---|
| 152 | the GTK+-2 bindings for colord.
|
---|
| 153 | </para>
|
---|
| 154 |
|
---|
[9499bbf] | 155 | <para>
|
---|
| 156 | <parameter>-Dgtk4=true</parameter>: This switch enables building
|
---|
| 157 | the GTK-4 bindings for colord. Set this option to 'false' if you
|
---|
| 158 | do not have <xref linkend="gtk4" role="nodep"/> installed.
|
---|
| 159 | </para>
|
---|
| 160 |
|
---|
[7553afee] | 161 | <para>
|
---|
| 162 | <parameter>-Ddocs=false</parameter>: This switch disables building
|
---|
[9499bbf] | 163 | gtk-doc based documentation. Even if gtk-doc is installed, you will
|
---|
[7553afee] | 164 | need the namespaced versions of the Docbook XSL stylesheets.
|
---|
| 165 | </para>
|
---|
| 166 |
|
---|
| 167 | <para>
|
---|
| 168 | <parameter>-Dman=false</parameter>: This switch disables generating
|
---|
| 169 | the manual pages for this package. Remove this switch if you have
|
---|
| 170 | namespaced versions of the Docbook XSL stylesheets installed.
|
---|
| 171 | </para>
|
---|
| 172 |
|
---|
| 173 | <!--
|
---|
[edd70f1] | 174 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 175 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 176 |
|
---|
| 177 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 178 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[7553afee] | 179 | -->
|
---|
[edd70f1] | 180 | </sect2>
|
---|
| 181 |
|
---|
| 182 | <sect2 role="content">
|
---|
| 183 | <title>Contents</title>
|
---|
| 184 |
|
---|
| 185 | <segmentedlist>
|
---|
| 186 | <segtitle>Installed Programs</segtitle>
|
---|
| 187 | <segtitle>Installed Libraries</segtitle>
|
---|
| 188 | <segtitle>Installed Directories</segtitle>
|
---|
| 189 |
|
---|
| 190 | <seglistitem>
|
---|
| 191 | <seg>
|
---|
| 192 | cd-convert
|
---|
| 193 | </seg>
|
---|
| 194 | <seg>
|
---|
[9499bbf] | 195 | libcolord-gtk.so,
|
---|
| 196 | libcolord-gtk2.so, and
|
---|
| 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 |
|
---|
[7553afee] | 236 | <varlistentry id="libcolord-gtk2">
|
---|
| 237 | <term><filename class="libraryfile">libcolord-gtk2.so</filename></term>
|
---|
| 238 | <listitem>
|
---|
| 239 | <para>
|
---|
| 240 | contains the <application>Colord</application>
|
---|
[4c24eb0a] | 241 | <application>GTK+-2</application> bindings
|
---|
[7553afee] | 242 | </para>
|
---|
| 243 | <indexterm zone="colord-gtk libcolord-gtk2">
|
---|
| 244 | <primary sortas="c-libcolord-gtk2">libcolord-gtk2.so</primary>
|
---|
| 245 | </indexterm>
|
---|
| 246 | </listitem>
|
---|
| 247 | </varlistentry>
|
---|
[9499bbf] | 248 |
|
---|
| 249 | <varlistentry id="libcolord-gtk4">
|
---|
| 250 | <term><filename class="libraryfile">libcolord-gtk4.so</filename></term>
|
---|
| 251 | <listitem>
|
---|
| 252 | <para>
|
---|
| 253 | contains the <application>Colord</application>
|
---|
| 254 | <application>GTK-4</application> bindings
|
---|
| 255 | </para>
|
---|
| 256 | <indexterm zone="colord-gtk libcolord-gtk4">
|
---|
| 257 | <primary sortas="c-libcolord-gtk4">libcolord-gtk4.so</primary>
|
---|
| 258 | </indexterm>
|
---|
| 259 | </listitem>
|
---|
| 260 | </varlistentry>
|
---|
[edd70f1] | 261 | </variablelist>
|
---|
| 262 |
|
---|
| 263 | </sect2>
|
---|
| 264 |
|
---|
| 265 | </sect1>
|
---|