source: x/lib/colord-gtk.xml

trunk
Last change on this file was c0bc0a9, checked in by Xi Ruoyao <xry111@…>, 6 weeks ago

Update to glib-2.80.0 and gobject-introspection-1.80.0

Merge gobject-introspection into glib page to better handle a circular
dependency between these two packages.

  • Property mode set to 100644
File size: 7.4 KB
Line 
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 &lfs121_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 &amp;&amp;
108cd build &amp;&amp;
109
110meson setup --prefix=/usr \
111 --buildtype=release \
112 -Dgtk4=true \
113 -Dvapi=true \
114 -Ddocs=false \
115 -Dman=false \
116 .. &amp;&amp;
117ninja</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>-Dvapi=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>-Dgtk4=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>-Ddocs=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>-Dman=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 <para>
167 <option>-Dgtk2=true</option>: This switch enables building
168 the GTK+-2 bindings for colord. However since gtk2 is deprecated
169 it is not recommended to build these bindings.
170 </para>
171
172 <!--
173 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
174 href="../../xincludes/static-libraries.xml"/>
175
176 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
177 href="../../xincludes/gtk-doc-rebuild.xml"/>
178 -->
179 </sect2>
180
181 <sect2 role="content">
182 <title>Contents</title>
183
184 <segmentedlist>
185 <segtitle>Installed Programs</segtitle>
186 <segtitle>Installed Libraries</segtitle>
187 <segtitle>Installed Directories</segtitle>
188
189 <seglistitem>
190 <seg>
191 cd-convert
192 </seg>
193 <seg>
194 libcolord-gtk.so, and
195 libcolord-gtk4.so
196 </seg>
197 <seg>
198 /usr/include/colord-1/colord-gtk and
199 /usr/share/gtk-doc/html/colord-gtk
200 </seg>
201 </seglistitem>
202 </segmentedlist>
203
204 <variablelist>
205 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
206 <?dbfo list-presentation="list"?>
207 <?dbhtml list-presentation="table"?>
208
209 <varlistentry id="cd-convert">
210 <term><command>cd-convert</command></term>
211 <listitem>
212 <para>
213 is a Color Manager Testing Tool
214 </para>
215 <indexterm zone="colord-gtk cd-convert">
216 <primary sortas="b-cd-convert">cd-convert</primary>
217 </indexterm>
218 </listitem>
219 </varlistentry>
220
221 <varlistentry id="libcolord-gtk">
222 <term><filename class="libraryfile">libcolord-gtk.so</filename></term>
223 <listitem>
224 <para>
225 contains the <application>Colord</application>
226 <application>GTK+</application> bindings
227 </para>
228 <indexterm zone="colord-gtk libcolord-gtk">
229 <primary sortas="c-libcolord-gtk">libcolord-gtk.so</primary>
230 </indexterm>
231 </listitem>
232 </varlistentry>
233
234 <varlistentry id="libcolord-gtk4">
235 <term><filename class="libraryfile">libcolord-gtk4.so</filename></term>
236 <listitem>
237 <para>
238 contains the <application>Colord</application>
239 <application>GTK-4</application> bindings
240 </para>
241 <indexterm zone="colord-gtk libcolord-gtk4">
242 <primary sortas="c-libcolord-gtk4">libcolord-gtk4.so</primary>
243 </indexterm>
244 </listitem>
245 </varlistentry>
246 </variablelist>
247
248 </sect2>
249
250</sect1>
Note: See TracBrowser for help on using the repository browser.