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 |
|
---|
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 "66d048803c8b89e5e63da4b461484933">
|
---|
10 | <!ENTITY colord-gtk-size "20 KB">
|
---|
11 | <!ENTITY colord-gtk-buildsize "41 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 | <sect1info>
|
---|
19 | <date>$Date$</date>
|
---|
20 | </sect1info>
|
---|
21 |
|
---|
22 | <title>colord-gtk-&colord-gtk-version;</title>
|
---|
23 |
|
---|
24 | <indexterm zone="colord-gtk">
|
---|
25 | <primary sortas="a-colord-gtk">colord-gtk</primary>
|
---|
26 | </indexterm>
|
---|
27 |
|
---|
28 | <sect2 role="package">
|
---|
29 | <title>Introduction to Colord GTK</title>
|
---|
30 |
|
---|
31 | <para>
|
---|
32 | The <application>Colord GTK</application> package contains
|
---|
33 | <application>GTK+</application> bindings for
|
---|
34 | <application>Colord</application>.
|
---|
35 | </para>
|
---|
36 |
|
---|
37 | &lfs110a_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>
|
---|
43 | Download (HTTP): <ulink url="&colord-gtk-download-http;"/>
|
---|
44 | </para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (FTP): <ulink url="&colord-gtk-download-ftp;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download MD5 sum: &colord-gtk-md5sum;
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download size: &colord-gtk-size;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Estimated disk space required: &colord-gtk-buildsize;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated build time: &colord-gtk-time;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | </itemizedlist>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect3">Colord GTK Dependencies</bridgehead>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
76 | <para role="required">
|
---|
77 | <xref linkend="colord"/> and
|
---|
78 | <xref linkend="gtk3"/>
|
---|
79 | </para>
|
---|
80 |
|
---|
81 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
82 | <para role="recommended">
|
---|
83 | <xref linkend="gobject-introspection"/>,
|
---|
84 | <xref linkend="gtk2"/>, and
|
---|
85 | <xref linkend="vala"/>
|
---|
86 | </para>
|
---|
87 |
|
---|
88 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
89 | <para role="optional">
|
---|
90 | <xref linkend="docbook-utils"/> and
|
---|
91 | <xref linkend="gtk-doc"/>
|
---|
92 | </para>
|
---|
93 |
|
---|
94 | <para condition="html" role="usernotes">
|
---|
95 | User Notes: <ulink url="&blfs-wiki;/colord-gtk"/>
|
---|
96 | </para>
|
---|
97 | </sect2>
|
---|
98 |
|
---|
99 | <sect2 role="installation">
|
---|
100 | <title>Installation of Colord GTK</title>
|
---|
101 |
|
---|
102 | <warning>
|
---|
103 | <para>
|
---|
104 | If building the documentation <command>ninja -j1</command> must be used.
|
---|
105 | </para>
|
---|
106 | </warning>
|
---|
107 |
|
---|
108 | <para>
|
---|
109 | Install <application>Colord GTK</application> by running the following
|
---|
110 | commands:
|
---|
111 | </para>
|
---|
112 |
|
---|
113 | <screen><userinput>mkdir build &&
|
---|
114 | cd build &&
|
---|
115 |
|
---|
116 | meson --prefix=/usr \
|
---|
117 | --buildtype=release \
|
---|
118 | -Dgtk2=true \
|
---|
119 | -Dvapi=true \
|
---|
120 | -Ddocs=false \
|
---|
121 | -Dman=false .. &&
|
---|
122 | ninja</userinput></screen>
|
---|
123 |
|
---|
124 | <para>
|
---|
125 | To test the results, issue: <command>ninja test</command>.
|
---|
126 | The tests need to be run from an X session, and may require
|
---|
127 | a color profile for your primary display.
|
---|
128 | <!-- on an ASUS 32" IPS display, I have a color profile and it works
|
---|
129 | properly. On the other hand, with a Dell SP2208WFP LCD,
|
---|
130 | no color profile is available and the tests fail. It seems to
|
---|
131 | depend on the system/display. -->
|
---|
132 | </para>
|
---|
133 |
|
---|
134 | <para>
|
---|
135 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
136 | </para>
|
---|
137 |
|
---|
138 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
139 | </sect2>
|
---|
140 |
|
---|
141 | <sect2 role="commands">
|
---|
142 | <title>Command Explanations</title>
|
---|
143 |
|
---|
144 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
145 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
146 |
|
---|
147 | <para>
|
---|
148 | <parameter>-Dvapi=true</parameter>: This switch enables
|
---|
149 | building of the Vala bindings. Remove if you don't
|
---|
150 | have <xref linkend="vala"/> installed.
|
---|
151 | </para>
|
---|
152 |
|
---|
153 | <para>
|
---|
154 | <parameter>-Dgtk2=true</parameter>: This switch enables building
|
---|
155 | the GTK+-2 bindings for colord.
|
---|
156 | </para>
|
---|
157 |
|
---|
158 | <para>
|
---|
159 | <parameter>-Ddocs=false</parameter>: This switch disables building
|
---|
160 | GTK-DOC based documentation. Even if GTK-DOC is installed, you will
|
---|
161 | need the namespaced versions of the Docbook XSL stylesheets.
|
---|
162 | </para>
|
---|
163 |
|
---|
164 | <para>
|
---|
165 | <parameter>-Dman=false</parameter>: This switch disables generating
|
---|
166 | the manual pages for this package. Remove this switch if you have
|
---|
167 | namespaced versions of the Docbook XSL stylesheets installed.
|
---|
168 | </para>
|
---|
169 |
|
---|
170 | <!--
|
---|
171 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
172 | href="../../xincludes/static-libraries.xml"/>
|
---|
173 |
|
---|
174 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
175 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
176 | -->
|
---|
177 | </sect2>
|
---|
178 |
|
---|
179 | <sect2 role="content">
|
---|
180 | <title>Contents</title>
|
---|
181 |
|
---|
182 | <segmentedlist>
|
---|
183 | <segtitle>Installed Programs</segtitle>
|
---|
184 | <segtitle>Installed Libraries</segtitle>
|
---|
185 | <segtitle>Installed Directories</segtitle>
|
---|
186 |
|
---|
187 | <seglistitem>
|
---|
188 | <seg>
|
---|
189 | cd-convert
|
---|
190 | </seg>
|
---|
191 | <seg>
|
---|
192 | libcolord-gtk.so and libcolord-gtk2.so
|
---|
193 | </seg>
|
---|
194 | <seg>
|
---|
195 | /usr/include/colord-1/colord-gtk and
|
---|
196 | /usr/share/gtk-doc/html/colord-gtk
|
---|
197 | </seg>
|
---|
198 | </seglistitem>
|
---|
199 | </segmentedlist>
|
---|
200 |
|
---|
201 | <variablelist>
|
---|
202 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
203 | <?dbfo list-presentation="list"?>
|
---|
204 | <?dbhtml list-presentation="table"?>
|
---|
205 |
|
---|
206 | <varlistentry id="cd-convert">
|
---|
207 | <term><command>cd-convert</command></term>
|
---|
208 | <listitem>
|
---|
209 | <para>
|
---|
210 | is a Color Manager Testing Tool
|
---|
211 | </para>
|
---|
212 | <indexterm zone="colord-gtk cd-convert">
|
---|
213 | <primary sortas="b-cd-convert">cd-convert</primary>
|
---|
214 | </indexterm>
|
---|
215 | </listitem>
|
---|
216 | </varlistentry>
|
---|
217 |
|
---|
218 | <varlistentry id="libcolord-gtk">
|
---|
219 | <term><filename class="libraryfile">libcolord-gtk.so</filename></term>
|
---|
220 | <listitem>
|
---|
221 | <para>
|
---|
222 | contains the <application>Colord</application>
|
---|
223 | <application>GTK+</application> bindings
|
---|
224 | </para>
|
---|
225 | <indexterm zone="colord-gtk libcolord-gtk">
|
---|
226 | <primary sortas="c-libcolord-gtk">libcolord-gtk.so</primary>
|
---|
227 | </indexterm>
|
---|
228 | </listitem>
|
---|
229 | </varlistentry>
|
---|
230 |
|
---|
231 | <varlistentry id="libcolord-gtk2">
|
---|
232 | <term><filename class="libraryfile">libcolord-gtk2.so</filename></term>
|
---|
233 | <listitem>
|
---|
234 | <para>
|
---|
235 | contains the <application>Colord</application>
|
---|
236 | <application>GTK+-2</application> bindings
|
---|
237 | </para>
|
---|
238 | <indexterm zone="colord-gtk libcolord-gtk2">
|
---|
239 | <primary sortas="c-libcolord-gtk2">libcolord-gtk2.so</primary>
|
---|
240 | </indexterm>
|
---|
241 | </listitem>
|
---|
242 | </varlistentry>
|
---|
243 | </variablelist>
|
---|
244 |
|
---|
245 | </sect2>
|
---|
246 |
|
---|
247 | </sect1>
|
---|