source: x/lib/colord-gtk.xml@ 743d191a

12.1 ken/TL2024 lazarus trunk xry111/llvm18
Last change on this file since 743d191a was 437547f9, checked in by Bruce Dubbs <bdubbs@…>, 5 months ago

Tag the rest of Chapter 25 (Grapical Libraries)

  • Property mode set to 100644
File size: 7.4 KB
RevLine 
[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
[437547f9]34 &lfs121_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="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 &amp;&amp;
108cd build &amp;&amp;
109
[91318eb]110meson setup --prefix=/usr \
111 --buildtype=release \
112 -Dgtk4=true \
113 -Dvapi=true \
114 -Ddocs=false \
115 -Dman=false \
116 .. &amp;&amp;
[7553afee]117ninja</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>
[7553afee]143 <parameter>-Dvapi=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>
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
[7553afee]154 <para>
155 <parameter>-Ddocs=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>
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
[875b3b57]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
[7553afee]172 <!--
[edd70f1]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"/>
[7553afee]178 -->
[edd70f1]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>
[fbd6311]194 libcolord-gtk.so, and
[9499bbf]195 libcolord-gtk4.so
[edd70f1]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>
[4c24eb0a]213 is a Color Manager Testing Tool
[edd70f1]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>
[4c24eb0a]226 <application>GTK+</application> bindings
[edd70f1]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
[9499bbf]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>
[edd70f1]246 </variablelist>
247
248 </sect2>
249
250</sect1>
Note: See TracBrowser for help on using the repository browser.