1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
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 |
|
---|
7 | <!ENTITY colord-gtk-download-http "https://www.freedesktop.org/software/colord/releases/colord-gtk-&colord-gtk-version;.tar.xz">
|
---|
8 | <!ENTITY colord-gtk-download-ftp " ">
|
---|
9 | <!ENTITY colord-gtk-md5sum "d436740c06e42af421384f16b2a9a0a7">
|
---|
10 | <!ENTITY colord-gtk-size "24 KB">
|
---|
11 | <!ENTITY colord-gtk-buildsize "2.1 MB">
|
---|
12 | <!ENTITY colord-gtk-time "less than 0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="colord-gtk" xreflabel="colord-gtk-&colord-gtk-version;">
|
---|
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 |
|
---|
34 | &lfs122_checked;
|
---|
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>
|
---|
77 |
|
---|
78 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
79 | <para role="recommended">
|
---|
80 | &gobject-introspection;,
|
---|
81 | <xref linkend="gtk4"/>, and
|
---|
82 | <xref linkend="vala"/>
|
---|
83 | </para>
|
---|
84 |
|
---|
85 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
86 | <para role="optional">
|
---|
87 | <xref linkend="docbook-utils"/> and
|
---|
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>
|
---|
98 | If building the documentation <command>ninja -j1</command> must be used.
|
---|
99 | </para>
|
---|
100 | </warning>
|
---|
101 |
|
---|
102 | <para>
|
---|
103 | Install <application>Colord GTK</application> by running the following
|
---|
104 | commands:
|
---|
105 | </para>
|
---|
106 |
|
---|
107 | <screen><userinput>mkdir build &&
|
---|
108 | cd build &&
|
---|
109 |
|
---|
110 | meson setup --prefix=/usr \
|
---|
111 | --buildtype=release \
|
---|
112 | -D gtk4=true \
|
---|
113 | -D vapi=true \
|
---|
114 | -D docs=false \
|
---|
115 | -D man=false \
|
---|
116 | .. &&
|
---|
117 | ninja</userinput></screen>
|
---|
118 |
|
---|
119 | <para>
|
---|
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
|
---|
124 | properly. On the other hand, with a Dell SP2208WFP LCD,
|
---|
125 | no color profile is available and the tests fail. It seems to
|
---|
126 | depend on the system/display. -->
|
---|
127 | </para>
|
---|
128 |
|
---|
129 | <para>
|
---|
130 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
131 | </para>
|
---|
132 |
|
---|
133 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
134 | </sect2>
|
---|
135 |
|
---|
136 | <sect2 role="commands">
|
---|
137 | <title>Command Explanations</title>
|
---|
138 |
|
---|
139 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
140 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
141 |
|
---|
142 | <para>
|
---|
143 | <parameter>-D vapi=true</parameter>: This switch enables
|
---|
144 | building of the Vala bindings. Remove this switch if you don't
|
---|
145 | have <xref linkend="vala" role="nodep"/> installed.
|
---|
146 | </para>
|
---|
147 |
|
---|
148 | <para>
|
---|
149 | <parameter>-D gtk4=true</parameter>: This switch enables building
|
---|
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 |
|
---|
154 | <para>
|
---|
155 | <parameter>-D docs=false</parameter>: This switch disables building
|
---|
156 | gtk-doc based documentation. Even if gtk-doc is installed, you will
|
---|
157 | need the namespaced versions of the Docbook XSL stylesheets.
|
---|
158 | </para>
|
---|
159 |
|
---|
160 | <para>
|
---|
161 | <parameter>-D man=false</parameter>: This switch disables generating
|
---|
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 |
|
---|
166 | <!--
|
---|
167 | <para>
|
---|
168 | <option>-D gtk2=true</option>: This switch enables building
|
---|
169 | the GTK+-2 bindings for colord. However since gtk2 is deprecated
|
---|
170 | it is not recommended to build these bindings.
|
---|
171 | </para>
|
---|
172 | -->
|
---|
173 |
|
---|
174 | <!--
|
---|
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"/>
|
---|
180 | -->
|
---|
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>
|
---|
196 | libcolord-gtk.so and
|
---|
197 | libcolord-gtk4.so
|
---|
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>
|
---|
215 | is a Color Manager Testing Tool
|
---|
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>
|
---|
228 | <application>GTK+</application> bindings
|
---|
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 |
|
---|
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>
|
---|
248 | </variablelist>
|
---|
249 |
|
---|
250 | </sect2>
|
---|
251 |
|
---|
252 | </sect1>
|
---|