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 glib2-download-http "&gnome-download-http;/glib/&glib2-minor;/glib-&glib2-version;.tar.xz">
|
---|
8 | <!ENTITY glib2-download-ftp " ">
|
---|
9 | <!ENTITY glib2-md5sum "4334211338220a165350d1c4a1597b0e">
|
---|
10 | <!ENTITY glib2-size "5.3 MB">
|
---|
11 | <!ENTITY glib2-buildsize "189 MB (add 22 MB for tests)">
|
---|
12 | <!ENTITY glib2-time "0.9 SBU (add 0.4 SBU for tests; both using parallelism=4)">
|
---|
13 |
|
---|
14 | <!ENTITY gobject-introspection-download-http
|
---|
15 | "&gnome-download-http;/gobject-introspection/1.80/gobject-introspection-&gobject-introspection-version;.tar.xz">
|
---|
16 | <!ENTITY gobject-introspection-md5sum "ef1496a7a7abfcd31d25b3459ea86ebb">
|
---|
17 | <!ENTITY gobject-introspection-size "1.0 MB">
|
---|
18 | ]>
|
---|
19 |
|
---|
20 | <sect1 id="glib2" xreflabel="GLib-&glib2-version;">
|
---|
21 | <?dbhtml filename="glib2.html"?>
|
---|
22 |
|
---|
23 |
|
---|
24 | <title>GLib-&glib2-version;</title>
|
---|
25 |
|
---|
26 | <indexterm zone="glib2">
|
---|
27 | <primary sortas="a-GLib2">GLib2</primary>
|
---|
28 | </indexterm>
|
---|
29 |
|
---|
30 | <sect2 role="package">
|
---|
31 | <title>Introduction to GLib</title>
|
---|
32 |
|
---|
33 | <para>
|
---|
34 | The <application>GLib</application> package contains low-level
|
---|
35 | libraries useful for providing data structure handling for C, portability
|
---|
36 | wrappers and interfaces for runtime functionality such as an
|
---|
37 | event loop, threads, dynamic loading and an object system.
|
---|
38 | </para>
|
---|
39 |
|
---|
40 | &lfs122_checked;
|
---|
41 |
|
---|
42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
43 | <itemizedlist spacing="compact">
|
---|
44 | <listitem>
|
---|
45 | <para>
|
---|
46 | Download (HTTP): <ulink url="&glib2-download-http;"/>
|
---|
47 | </para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>
|
---|
51 | Download (FTP): <ulink url="&glib2-download-ftp;"/>
|
---|
52 | </para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>
|
---|
56 | Download MD5 sum: &glib2-md5sum;
|
---|
57 | </para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>
|
---|
61 | Download size: &glib2-size;
|
---|
62 | </para>
|
---|
63 | </listitem>
|
---|
64 | <listitem>
|
---|
65 | <para>
|
---|
66 | Estimated disk space required: &glib2-buildsize;
|
---|
67 | </para>
|
---|
68 | </listitem>
|
---|
69 | <listitem>
|
---|
70 | <para>
|
---|
71 | Estimated build time: &glib2-time;
|
---|
72 | </para>
|
---|
73 | </listitem>
|
---|
74 | </itemizedlist>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
77 |
|
---|
78 | <para>
|
---|
79 | <emphasis role="strong">GObject Introspection (Recommended)</emphasis>
|
---|
80 | </para>
|
---|
81 | <itemizedlist spacing="compact">
|
---|
82 | <listitem>
|
---|
83 | <para>
|
---|
84 | Download: <ulink url="&gobject-introspection-download-http;"/>
|
---|
85 | </para>
|
---|
86 | </listitem>
|
---|
87 | <listitem>
|
---|
88 | <para>
|
---|
89 | Download MD5 sum: &gobject-introspection-md5sum;
|
---|
90 | </para>
|
---|
91 | </listitem>
|
---|
92 | <listitem>
|
---|
93 | <para>
|
---|
94 | Download size: &gobject-introspection-size;
|
---|
95 | </para>
|
---|
96 | </listitem>
|
---|
97 | </itemizedlist>
|
---|
98 |
|
---|
99 | <para>
|
---|
100 | <emphasis role="strong">Patch for Log Level Selection (Optional)</emphasis>
|
---|
101 | </para>
|
---|
102 | <itemizedlist spacing="compact">
|
---|
103 | <listitem>
|
---|
104 | <para>
|
---|
105 | Optional patch:
|
---|
106 | <ulink url="&patch-root;/glib-skip_warnings-1.patch"/>
|
---|
107 | </para>
|
---|
108 | </listitem>
|
---|
109 | </itemizedlist>
|
---|
110 |
|
---|
111 | <bridgehead renderas="sect3">GLib Dependencies</bridgehead>
|
---|
112 |
|
---|
113 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
114 | <para role="required">
|
---|
115 | <xref linkend='packaging'/>
|
---|
116 | </para>
|
---|
117 |
|
---|
118 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
119 | <para role="recommended">
|
---|
120 | <xref linkend='docutils'/>,
|
---|
121 | <xref linkend="libxslt"/>, and
|
---|
122 | <xref linkend="pcre2"/>
|
---|
123 | </para>
|
---|
124 |
|
---|
125 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
126 | <para role="optional">
|
---|
127 | <xref linkend='cairo'/> (for some GObject Introspection tests),
|
---|
128 | <xref linkend="dbus"/> (for some tests),
|
---|
129 | <xref linkend="fuse3"/> and
|
---|
130 | <ulink url="https://bindfs.org/">bindfs</ulink>
|
---|
131 | (both needed for one test),
|
---|
132 | <xref linkend="gdb"/> (for bindings),
|
---|
133 | <xref linkend='gjs'/> (for some GObject Introspection tests),
|
---|
134 | <xref linkend='gtk-doc'/> (for GObject Introspection documentation),
|
---|
135 | <xref linkend="DocBook"/>,
|
---|
136 | <xref linkend="docbook-xsl"/>,
|
---|
137 | <xref linkend="gi-docgen"/> (to build API documentation),
|
---|
138 | <xref linkend="glib-networking"/> (for some tests, but this is a circular
|
---|
139 | dependency),
|
---|
140 | <xref linkend="Mako"/> and <xref linkend="markdown"/>
|
---|
141 | (both for <command>g-ir-doc-tool</command>), and
|
---|
142 | <!--<xref linkend="sysprof"/>-->
|
---|
143 | <ulink url="&sysprof-url;">sysprof</ulink>
|
---|
144 | </para>
|
---|
145 |
|
---|
146 | <bridgehead renderas="sect4">Additional Runtime Dependencies</bridgehead>
|
---|
147 | <para role="recommended">
|
---|
148 | Quoted directly from the <filename>INSTALL</filename> file:
|
---|
149 | <quote>Some of the mimetype-related functionality in GIO requires the
|
---|
150 | <command>update-mime-database</command> and
|
---|
151 | <command>update-desktop-database</command> utilities,</quote>
|
---|
152 | which are part of
|
---|
153 | <xref role="runtime" linkend="shared-mime-info"/> and
|
---|
154 | <xref role="runtime" linkend="desktop-file-utils"/>, respectively.
|
---|
155 | These two utilities are also needed for some tests.
|
---|
156 | </para>
|
---|
157 |
|
---|
158 | </sect2>
|
---|
159 |
|
---|
160 | <sect2 role="installation">
|
---|
161 | <title>Installation of GLib</title>
|
---|
162 |
|
---|
163 | <para>
|
---|
164 | If desired, apply the optional patch. In many cases, applications that
|
---|
165 | use this library, either directly or indirectly via other libraries such
|
---|
166 | as <xref linkend="gtk3"/>, output numerous warnings when run from the
|
---|
167 | command line. This patch enables the use of an environment variable,
|
---|
168 | <envar>GLIB_LOG_LEVEL</envar>, that suppresses unwanted messages. The
|
---|
169 | value of the variable is a digit that corresponds to:
|
---|
170 | </para>
|
---|
171 |
|
---|
172 | <simplelist>
|
---|
173 | <member>1 Alert</member>
|
---|
174 | <member>2 Critical</member>
|
---|
175 | <member>3 Error</member>
|
---|
176 | <member>4 Warning</member>
|
---|
177 | <member>5 Notice</member>
|
---|
178 | </simplelist>
|
---|
179 |
|
---|
180 | <para>
|
---|
181 | For instance <userinput>export GLIB_LOG_LEVEL=4</userinput> will skip
|
---|
182 | output of Warning and Notice messages (and Info/Debug messages if they
|
---|
183 | are turned on). If <envar>GLIB_LOG_LEVEL</envar> is not defined, normal
|
---|
184 | message output will not be affected.
|
---|
185 | </para>
|
---|
186 |
|
---|
187 | <screen><userinput>patch -Np1 -i ../glib-skip_warnings-1.patch</userinput></screen>
|
---|
188 |
|
---|
189 | <warning>
|
---|
190 | <para>
|
---|
191 | If a previous version of glib is installed, move the headers out of the
|
---|
192 | way so that later packages do not encounter conflicts:
|
---|
193 | </para>
|
---|
194 |
|
---|
195 | <screen role="root"><userinput remap="pre">if [ -e /usr/include/glib-2.0 ]; then
|
---|
196 | rm -rf /usr/include/glib-2.0.old &&
|
---|
197 | mv -vf /usr/include/glib-2.0{,.old}
|
---|
198 | fi</userinput></screen>
|
---|
199 |
|
---|
200 | </warning>
|
---|
201 |
|
---|
202 | <para>
|
---|
203 | Install <application>GLib</application> by running the following
|
---|
204 | commands:
|
---|
205 | </para>
|
---|
206 |
|
---|
207 | <screen><userinput>mkdir build &&
|
---|
208 | cd build &&
|
---|
209 |
|
---|
210 | meson setup .. \
|
---|
211 | --prefix=/usr \
|
---|
212 | --buildtype=release \
|
---|
213 | -D introspection=disabled \
|
---|
214 | -D man-pages=enabled &&
|
---|
215 | ninja</userinput></screen>
|
---|
216 |
|
---|
217 | <para>
|
---|
218 | The <application>GLib</application> test suite requires
|
---|
219 | <application>desktop-file-utils</application> for some tests. However,
|
---|
220 | <application>desktop-file-utils</application> requires
|
---|
221 | <application>GLib</application> in order to compile; therefore, you must
|
---|
222 | first install <application>GLib</application> and then run the test
|
---|
223 | suite.
|
---|
224 | </para>
|
---|
225 |
|
---|
226 | <para>
|
---|
227 | As the <systemitem class="username">root</systemitem> user,
|
---|
228 | install this package for the first time to allow building
|
---|
229 | GObject Introspection:
|
---|
230 | </para>
|
---|
231 |
|
---|
232 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
233 |
|
---|
234 | <para>
|
---|
235 | Build GObject Introspection:
|
---|
236 | </para>
|
---|
237 |
|
---|
238 | <screen><userinput>tar xf ../../gobject-introspection-&gobject-introspection-version;.tar.xz &&
|
---|
239 |
|
---|
240 | meson setup gobject-introspection-&gobject-introspection-version; gi-build \
|
---|
241 | --prefix=/usr --buildtype=release &&
|
---|
242 | ninja -C gi-build</userinput></screen>
|
---|
243 |
|
---|
244 | <para>
|
---|
245 | To test the results of GObject Introspection, issue:
|
---|
246 | <command>ninja -C gi-build test</command>.
|
---|
247 | </para>
|
---|
248 |
|
---|
249 | <para>
|
---|
250 | As the &root; user, install GObject Introspection for generating
|
---|
251 | the introspection data of GLib libraries (required by various packages
|
---|
252 | using Glib, especially some GNOME packages):
|
---|
253 | </para>
|
---|
254 |
|
---|
255 | <screen role='root'><userinput>ninja -C gi-build install</userinput></screen>
|
---|
256 |
|
---|
257 | <para>
|
---|
258 | Now generate the introspection data:
|
---|
259 | </para>
|
---|
260 |
|
---|
261 | <screen><userinput>meson configure -D introspection=enabled &&
|
---|
262 | ninja</userinput></screen>
|
---|
263 |
|
---|
264 | <para>
|
---|
265 | If you have <xref linkend='gi-docgen'/> installed and wish to build
|
---|
266 | the API documentation for this package, issue:
|
---|
267 | </para>
|
---|
268 |
|
---|
269 | <screen remap='doc'><userinput>sed 's/glib-2.0/glib-&glib2-version;/' \
|
---|
270 | -i ../docs/reference/meson.build &&
|
---|
271 | meson configure -D documentation=true &&
|
---|
272 | ninja</userinput></screen>
|
---|
273 |
|
---|
274 | <para>
|
---|
275 | As the &root; user, install this package again for the introspection
|
---|
276 | data (and optionally, the documentation):
|
---|
277 | </para>
|
---|
278 |
|
---|
279 | <screen role='root'><userinput>ninja install</userinput></screen>
|
---|
280 |
|
---|
281 | <para>
|
---|
282 | You should now install <xref linkend="desktop-file-utils"/> and
|
---|
283 | <xref linkend="shared-mime-info"/> and proceed to
|
---|
284 | run the test suite.
|
---|
285 | </para>
|
---|
286 |
|
---|
287 | <warning>
|
---|
288 | <para>
|
---|
289 | Do not run the test suite as &root; or some tests will fail
|
---|
290 | unexpectedly and leave some non-FHS-compliant directories in the
|
---|
291 | <filename class='directory'>/usr</filename> hierarchy.
|
---|
292 | </para>
|
---|
293 | </warning>
|
---|
294 |
|
---|
295 | <note>
|
---|
296 | <para>
|
---|
297 | If you have installed the glib-skip_warnings-1.patch and have
|
---|
298 | the environment variable GLIB_LOG_LEVEL set, unset it before running
|
---|
299 | the tests. It will cause several tests to fail.
|
---|
300 | </para>
|
---|
301 | </note>
|
---|
302 |
|
---|
303 | <para>
|
---|
304 | To test the results, after having installed the packages, issue:
|
---|
305 | <command>LC_ALL=C ninja test</command> as a non-&root; user.
|
---|
306 | </para>
|
---|
307 | </sect2>
|
---|
308 |
|
---|
309 | <sect2 role="commands">
|
---|
310 | <title>Command Explanations</title>
|
---|
311 |
|
---|
312 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
313 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
314 |
|
---|
315 | <para>
|
---|
316 | <parameter>-D man-pages=enabled</parameter>: This switch causes the
|
---|
317 | build to create and install the package man pages.
|
---|
318 | </para>
|
---|
319 |
|
---|
320 | </sect2>
|
---|
321 |
|
---|
322 | <sect2 role="content">
|
---|
323 | <title>Contents</title>
|
---|
324 |
|
---|
325 | <bridgehead renderas="sect3">GLib Contents</bridgehead>
|
---|
326 |
|
---|
327 | <segmentedlist>
|
---|
328 | <segtitle>Installed Programs</segtitle>
|
---|
329 | <segtitle>Installed Libraries</segtitle>
|
---|
330 | <segtitle>Installed Directories</segtitle>
|
---|
331 |
|
---|
332 | <seglistitem>
|
---|
333 | <seg>
|
---|
334 | gapplication, gdbus, gdbus-codegen,
|
---|
335 | gi-compile-repository, gi-decompile-typelib, gi-inspect-typelib
|
---|
336 | gio, gio-querymodules,
|
---|
337 | glib-compile-resources, glib-compile-schemas,
|
---|
338 | glib-genmarshal, glib-gettextize,
|
---|
339 | glib-mkenums, gobject-query,
|
---|
340 | gresource, gsettings,
|
---|
341 | gtester, and gtester-report
|
---|
342 | </seg>
|
---|
343 | <seg>
|
---|
344 | libgio-2.0.so,
|
---|
345 | libgirepository-2.0.so,
|
---|
346 | libglib-2.0.so,
|
---|
347 | libgmodule-2.0.so,
|
---|
348 | libgobject-2.0.so, and
|
---|
349 | libgthread-2.0.so
|
---|
350 | </seg>
|
---|
351 | <seg>
|
---|
352 | /usr/include/gio-unix-2.0,
|
---|
353 | /usr/include/glib-2.0,
|
---|
354 | /usr/lib/gio,
|
---|
355 | /usr/lib/glib-2.0,
|
---|
356 | /usr/share/glib-2.0, and
|
---|
357 | /usr/share/doc/glib-&glib2-version; (optional)
|
---|
358 | </seg>
|
---|
359 | </seglistitem>
|
---|
360 | </segmentedlist>
|
---|
361 |
|
---|
362 | <bridgehead renderas="sect3">GObject Introspection Contents</bridgehead>
|
---|
363 |
|
---|
364 | <segmentedlist>
|
---|
365 | <segtitle>Installed Program</segtitle>
|
---|
366 | <segtitle>Installed Libraries</segtitle>
|
---|
367 | <segtitle>Installed Directories</segtitle>
|
---|
368 |
|
---|
369 | <!-- g-ir-doc-tool is installed if Mako and Markdown are present -->
|
---|
370 | <seglistitem>
|
---|
371 | <seg>
|
---|
372 | g-ir-annotation-tool, g-ir-compiler, g-ir-doc-tool (optional),
|
---|
373 | g-ir-generate, g-ir-inspect, and g-ir-scanner
|
---|
374 | </seg>
|
---|
375 | <seg>
|
---|
376 | libgirepository-1.0.so and
|
---|
377 | _giscanner.&python3-lib-suffix;.so
|
---|
378 | </seg>
|
---|
379 | <seg>
|
---|
380 | /usr/include/gobject-introspection-1.0,
|
---|
381 | /usr/lib/girepository-1.0,
|
---|
382 | /usr/lib/gobject-introspection,
|
---|
383 | /usr/share/gir-1.0, and
|
---|
384 | /usr/share/gobject-introspection-1.0
|
---|
385 | </seg>
|
---|
386 | </seglistitem>
|
---|
387 | </segmentedlist>
|
---|
388 |
|
---|
389 | <variablelist>
|
---|
390 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
391 | <?dbfo list-presentation="list"?>
|
---|
392 | <?dbhtml list-presentation="table"?>
|
---|
393 |
|
---|
394 | <varlistentry id="gapplication">
|
---|
395 | <term><command>gapplication</command></term>
|
---|
396 | <listitem>
|
---|
397 | <para>
|
---|
398 | can be used to start applications and to send
|
---|
399 | messages to already-running instances of other applications
|
---|
400 | </para>
|
---|
401 | <indexterm zone="glib2 gapplication">
|
---|
402 | <primary sortas="b-gapplication">application</primary>
|
---|
403 | </indexterm>
|
---|
404 | </listitem>
|
---|
405 | </varlistentry>
|
---|
406 |
|
---|
407 | <varlistentry id="gdbus">
|
---|
408 | <term><command>gdbus</command></term>
|
---|
409 | <listitem>
|
---|
410 | <para>
|
---|
411 | is a simple tool used for working with
|
---|
412 | <application>D-Bus</application> objects
|
---|
413 | </para>
|
---|
414 | <indexterm zone="glib2 gdbus">
|
---|
415 | <primary sortas="b-gdbus">gdbus</primary>
|
---|
416 | </indexterm>
|
---|
417 | </listitem>
|
---|
418 | </varlistentry>
|
---|
419 |
|
---|
420 | <varlistentry id="gdbus-codegen">
|
---|
421 | <term><command>gdbus-codegen</command></term>
|
---|
422 | <listitem>
|
---|
423 | <para>
|
---|
424 | is used to generate code and/or documentation for one or
|
---|
425 | more <application>D-Bus</application> interfaces
|
---|
426 | </para>
|
---|
427 | <indexterm zone="glib2 gdbus-codegen">
|
---|
428 | <primary sortas="b-gdbus-codegen">gdbus-codegen</primary>
|
---|
429 | </indexterm>
|
---|
430 | </listitem>
|
---|
431 | </varlistentry>
|
---|
432 |
|
---|
433 | <varlistentry id="gi-compile-repository">
|
---|
434 | <term><command>gi-compile-repository</command></term>
|
---|
435 | <listitem>
|
---|
436 | <para>
|
---|
437 | converts one or more GIR files into one or more typelib files
|
---|
438 | </para>
|
---|
439 | <indexterm zone="glib2 gi-compile-repository">
|
---|
440 | <primary sortas="b-gi-compile-repository">gi-compile-repository</primary>
|
---|
441 | </indexterm>
|
---|
442 | </listitem>
|
---|
443 | </varlistentry>
|
---|
444 |
|
---|
445 | <varlistentry id="gi-decompile-typelib">
|
---|
446 | <term><command>gi-decompile-typelib</command></term>
|
---|
447 | <listitem>
|
---|
448 | <para>
|
---|
449 | is a GIR decompiler that uses the repository API
|
---|
450 | </para>
|
---|
451 | <indexterm zone="glib2 gi-decompile-typelib">
|
---|
452 | <primary sortas="b-gi-decompile-typelib">gi-decompile-typelib</primary>
|
---|
453 | </indexterm>
|
---|
454 | </listitem>
|
---|
455 | </varlistentry>
|
---|
456 |
|
---|
457 | <varlistentry id="gi-inspect-typelib">
|
---|
458 | <term><command>gi-inspect-typelib</command></term>
|
---|
459 | <listitem>
|
---|
460 | <para>
|
---|
461 | is a utility that gives information about a GI typelib
|
---|
462 | </para>
|
---|
463 | <indexterm zone="glib2 gi-inspect-typelib">
|
---|
464 | <primary sortas="b-gi-inspect-typelib">gi-inspect-typelib</primary>
|
---|
465 | </indexterm>
|
---|
466 | </listitem>
|
---|
467 | </varlistentry>
|
---|
468 |
|
---|
469 | <varlistentry id="gio">
|
---|
470 | <term><command>gio</command></term>
|
---|
471 | <listitem>
|
---|
472 | <para>
|
---|
473 | is a utility that makes many <application>GIO</application>
|
---|
474 | features available from the command line
|
---|
475 | </para>
|
---|
476 | <indexterm zone="glib2 gio">
|
---|
477 | <primary sortas="b-gio">gio</primary>
|
---|
478 | </indexterm>
|
---|
479 | </listitem>
|
---|
480 | </varlistentry>
|
---|
481 |
|
---|
482 | <varlistentry id="gio-querymodules">
|
---|
483 | <term><command>gio-querymodules</command></term>
|
---|
484 | <listitem>
|
---|
485 | <para>
|
---|
486 | is used to create a <filename>giomodule.cache</filename> file in
|
---|
487 | the listed directories. This file lists the implemented extension
|
---|
488 | points for each module that has been found
|
---|
489 | </para>
|
---|
490 | <indexterm zone="glib2 gio-querymodules">
|
---|
491 | <primary sortas="b-gio-querymodules">gio-querymodules</primary>
|
---|
492 | </indexterm>
|
---|
493 | </listitem>
|
---|
494 | </varlistentry>
|
---|
495 |
|
---|
496 | <varlistentry id="glib-compile-resources">
|
---|
497 | <term><command>glib-compile-resources</command></term>
|
---|
498 | <listitem>
|
---|
499 | <para>
|
---|
500 | is used to read the resource description from a file and
|
---|
501 | the files that it references to create a binary resource
|
---|
502 | bundle that is suitable for use with the GResource API
|
---|
503 | </para>
|
---|
504 | <indexterm zone="glib2 glib-compile-resources">
|
---|
505 | <primary sortas="b-glib-compile-resources">glib-compile-resources</primary>
|
---|
506 | </indexterm>
|
---|
507 | </listitem>
|
---|
508 | </varlistentry>
|
---|
509 |
|
---|
510 | <varlistentry id="glib-compile-schemas">
|
---|
511 | <term><command>glib-compile-schemas</command></term>
|
---|
512 | <listitem>
|
---|
513 | <para>
|
---|
514 | is used to compile all the GSettings XML schema files
|
---|
515 | in a directory into a binary file with the name
|
---|
516 | <filename>gschemas.compiled</filename> that can be used by GSettings
|
---|
517 | </para>
|
---|
518 | <indexterm zone="glib2 glib-compile-schemas">
|
---|
519 | <primary sortas="b-glib-compile-resources">glib-compile-schemas</primary>
|
---|
520 | </indexterm>
|
---|
521 | </listitem>
|
---|
522 | </varlistentry>
|
---|
523 |
|
---|
524 | <varlistentry id="glib-genmarshal">
|
---|
525 | <term><command>glib-genmarshal</command></term>
|
---|
526 | <listitem>
|
---|
527 | <para>
|
---|
528 | is a C code marshaller generation utility for GLib closures
|
---|
529 | </para>
|
---|
530 | <indexterm zone="glib2 glib-genmarshal">
|
---|
531 | <primary sortas="b-glib-genmarshal">glib-genmarshal</primary>
|
---|
532 | </indexterm>
|
---|
533 | </listitem>
|
---|
534 | </varlistentry>
|
---|
535 |
|
---|
536 | <varlistentry id="glib-gettextize">
|
---|
537 | <term><command>glib-gettextize</command></term>
|
---|
538 | <listitem>
|
---|
539 | <para>
|
---|
540 | is a variant of the <application>gettext</application>
|
---|
541 | internationalization utility
|
---|
542 | </para>
|
---|
543 | <indexterm zone="glib2 glib-gettextize">
|
---|
544 | <primary sortas="b-glib-gettextize">glib-gettextize</primary>
|
---|
545 | </indexterm>
|
---|
546 | </listitem>
|
---|
547 | </varlistentry>
|
---|
548 |
|
---|
549 | <varlistentry id="glib-mkenums">
|
---|
550 | <term><command>glib-mkenums</command></term>
|
---|
551 | <listitem>
|
---|
552 | <para>
|
---|
553 | is a C language enum description generation utility
|
---|
554 | </para>
|
---|
555 | <indexterm zone="glib2 glib-mkenums">
|
---|
556 | <primary sortas="b-glib-mkenums">glib-mkenums</primary>
|
---|
557 | </indexterm>
|
---|
558 | </listitem>
|
---|
559 | </varlistentry>
|
---|
560 |
|
---|
561 | <varlistentry id="gobject-query">
|
---|
562 | <term><command>gobject-query</command></term>
|
---|
563 | <listitem>
|
---|
564 | <para>
|
---|
565 | is a small utility that draws a tree of types
|
---|
566 | </para>
|
---|
567 | <indexterm zone="glib2 gobject-query">
|
---|
568 | <primary sortas="b-gobject-query">gobject-query</primary>
|
---|
569 | </indexterm>
|
---|
570 | </listitem>
|
---|
571 | </varlistentry>
|
---|
572 |
|
---|
573 | <varlistentry id="gresource">
|
---|
574 | <term><command>gresource</command></term>
|
---|
575 | <listitem>
|
---|
576 | <para>
|
---|
577 | offers a simple command line interface to GResource
|
---|
578 | </para>
|
---|
579 | <indexterm zone="glib2 gresource">
|
---|
580 | <primary sortas="b-gresource">gresource</primary>
|
---|
581 | </indexterm>
|
---|
582 | </listitem>
|
---|
583 | </varlistentry>
|
---|
584 |
|
---|
585 | <varlistentry id="gsettings">
|
---|
586 | <term><command>gsettings</command></term>
|
---|
587 | <listitem>
|
---|
588 | <para>
|
---|
589 | offers a simple command line interface to GSettings
|
---|
590 | </para>
|
---|
591 | <indexterm zone="glib2 gsettings">
|
---|
592 | <primary sortas="b-gsettings">gsettings</primary>
|
---|
593 | </indexterm>
|
---|
594 | </listitem>
|
---|
595 | </varlistentry>
|
---|
596 |
|
---|
597 | <varlistentry id="gtester">
|
---|
598 | <term><command>gtester</command></term>
|
---|
599 | <listitem>
|
---|
600 | <para>
|
---|
601 | is a test running utility
|
---|
602 | </para>
|
---|
603 | <indexterm zone="glib2 gtester">
|
---|
604 | <primary sortas="b-gtester">gtester</primary>
|
---|
605 | </indexterm>
|
---|
606 | </listitem>
|
---|
607 | </varlistentry>
|
---|
608 |
|
---|
609 | <varlistentry id="gtester-report">
|
---|
610 | <term><command>gtester-report</command></term>
|
---|
611 | <listitem>
|
---|
612 | <para>
|
---|
613 | is a test report formatting utility
|
---|
614 | </para>
|
---|
615 | <indexterm zone="glib2 gtester-report">
|
---|
616 | <primary sortas="b-gtester-report">gtester-report</primary>
|
---|
617 | </indexterm>
|
---|
618 | </listitem>
|
---|
619 | </varlistentry>
|
---|
620 |
|
---|
621 | <varlistentry id="libgio">
|
---|
622 | <term><filename class='libraryfile'>libgio-2.0.so</filename></term>
|
---|
623 | <listitem>
|
---|
624 | <para>
|
---|
625 | is a library providing useful classes for general purpose I/O,
|
---|
626 | networking, IPC, settings, and other high level application
|
---|
627 | functionality
|
---|
628 | </para>
|
---|
629 | <indexterm zone="glib2 libgio">
|
---|
630 | <primary sortas="c-libgio">libgio-2.0.so</primary>
|
---|
631 | </indexterm>
|
---|
632 | </listitem>
|
---|
633 | </varlistentry>
|
---|
634 |
|
---|
635 | <varlistentry id="libgirepository">
|
---|
636 | <term><filename class='libraryfile'>libgirepository-2.0.so</filename></term>
|
---|
637 | <listitem>
|
---|
638 | <para>
|
---|
639 | is a library providing access to typelibs and introspection data
|
---|
640 | which describes C APIs
|
---|
641 | </para>
|
---|
642 | <indexterm zone="glib2 libgirepository">
|
---|
643 | <primary sortas="c-libgirepository2">libgirepository-2.0.so</primary>
|
---|
644 | </indexterm>
|
---|
645 | </listitem>
|
---|
646 | </varlistentry>
|
---|
647 |
|
---|
648 | <varlistentry id="libglib">
|
---|
649 | <term><filename class='libraryfile'>libglib-2.0.so</filename></term>
|
---|
650 | <listitem>
|
---|
651 | <para>
|
---|
652 | is a general-purpose, portable utility library, which provides
|
---|
653 | many useful data types, macros, type conversions, string
|
---|
654 | utilities, file utilities, a mainloop abstraction, and so on
|
---|
655 | </para>
|
---|
656 | <indexterm zone="glib2 libglib">
|
---|
657 | <primary sortas="c-libglib">libglib-2.0.so</primary>
|
---|
658 | </indexterm>
|
---|
659 | </listitem>
|
---|
660 | </varlistentry>
|
---|
661 |
|
---|
662 | <varlistentry id="libgmodule">
|
---|
663 | <term><filename class='libraryfile'>libgmodule-2.0.so</filename></term>
|
---|
664 | <listitem>
|
---|
665 | <para>
|
---|
666 | provides portable API for dynamically loading modules
|
---|
667 | </para>
|
---|
668 | <indexterm zone="glib2 libgmodule">
|
---|
669 | <primary sortas="c-libgmodule">libgmodule-2.0.so</primary>
|
---|
670 | </indexterm>
|
---|
671 | </listitem>
|
---|
672 | </varlistentry>
|
---|
673 |
|
---|
674 | <varlistentry id="libgobject">
|
---|
675 | <term><filename class='libraryfile'>libgobject-2.0.so</filename></term>
|
---|
676 | <listitem>
|
---|
677 | <para>
|
---|
678 | provides the GLib base type system and object class
|
---|
679 | </para>
|
---|
680 | <indexterm zone="glib2 libgobject">
|
---|
681 | <primary sortas="c-libgobject">libgobject-2.0.so</primary>
|
---|
682 | </indexterm>
|
---|
683 | </listitem>
|
---|
684 | </varlistentry>
|
---|
685 |
|
---|
686 | <varlistentry id="libgthread">
|
---|
687 | <term><filename class='libraryfile'>libgthread-2.0.so</filename></term>
|
---|
688 | <listitem>
|
---|
689 | <para>
|
---|
690 | is a skeleton library for backwards compatibility; it used to
|
---|
691 | be the GLib thread library but the functionalities has been
|
---|
692 | merged info <systemitem class='library'>libglib-2.0</systemitem>
|
---|
693 | </para>
|
---|
694 | <indexterm zone="glib2 libgthread">
|
---|
695 | <primary sortas="c-libgthread">libgthread-2.0.so</primary>
|
---|
696 | </indexterm>
|
---|
697 | </listitem>
|
---|
698 | </varlistentry>
|
---|
699 |
|
---|
700 | <varlistentry id="g-ir-annotation-tool">
|
---|
701 | <term><command>g-ir-annotation-tool</command></term>
|
---|
702 | <listitem>
|
---|
703 | <para>
|
---|
704 | creates or extracts annotation data from GI typelibs
|
---|
705 | </para>
|
---|
706 | <indexterm zone="glib2 g-ir-annotation-tool">
|
---|
707 | <primary sortas="b-g-ir-annotation-tool">g-ir-annotation-tool</primary>
|
---|
708 | </indexterm>
|
---|
709 | </listitem>
|
---|
710 | </varlistentry>
|
---|
711 |
|
---|
712 | <varlistentry id="g-ir-compiler">
|
---|
713 | <term><command>g-ir-compiler</command></term>
|
---|
714 | <listitem>
|
---|
715 | <para>
|
---|
716 | is a counterpart of <command>gi-compile-repository</command>
|
---|
717 | for the old
|
---|
718 | <systemitem class='library'>libgirepository-1.0</systemitem>
|
---|
719 | API
|
---|
720 | </para>
|
---|
721 | <indexterm zone="glib2 g-ir-compiler">
|
---|
722 | <primary sortas="b-g-ir-compiler">g-ir-compiler</primary>
|
---|
723 | </indexterm>
|
---|
724 | </listitem>
|
---|
725 | </varlistentry>
|
---|
726 |
|
---|
727 | <varlistentry id="g-ir-doc-tool">
|
---|
728 | <term><command>g-ir-doc-tool</command></term>
|
---|
729 | <listitem>
|
---|
730 | <para>
|
---|
731 | generates Mallard files that can be viewed with
|
---|
732 | <command>yelp</command> or rendered to HTML with
|
---|
733 | <command>yelp-build</command> from
|
---|
734 | <ulink url="&gnome-download-http;/yelp-tools">yelp-tools</ulink>
|
---|
735 | </para>
|
---|
736 | <indexterm zone="glib2 g-ir-doc-tool">
|
---|
737 | <primary sortas="b-g-ir-doc-tool">g-ir-doc-tool</primary>
|
---|
738 | </indexterm>
|
---|
739 | </listitem>
|
---|
740 | </varlistentry>
|
---|
741 |
|
---|
742 | <varlistentry id="g-ir-inspect">
|
---|
743 | <term><command>g-ir-inspect</command></term>
|
---|
744 | <listitem>
|
---|
745 | <para>
|
---|
746 | is a counterpart of <command>gi-inspect-typelib</command>
|
---|
747 | for the old
|
---|
748 | <systemitem class='library'>libgirepository-1.0</systemitem>
|
---|
749 | API
|
---|
750 | </para>
|
---|
751 | <indexterm zone="glib2 g-ir-inspect">
|
---|
752 | <primary sortas="b-g-ir-inspect">g-ir-inspect</primary>
|
---|
753 | </indexterm>
|
---|
754 | </listitem>
|
---|
755 | </varlistentry>
|
---|
756 |
|
---|
757 | <varlistentry id="g-ir-generate">
|
---|
758 | <term><command>g-ir-generate</command></term>
|
---|
759 | <listitem>
|
---|
760 | <para>
|
---|
761 | is a counterpart of <command>gi-decompile-typelib</command>
|
---|
762 | for the old
|
---|
763 | <systemitem class='library'>libgirepository-1.0</systemitem>
|
---|
764 | API
|
---|
765 | </para>
|
---|
766 | <indexterm zone="glib2 g-ir-generate">
|
---|
767 | <primary sortas="b-g-ir-generate">g-ir-generate</primary>
|
---|
768 | </indexterm>
|
---|
769 | </listitem>
|
---|
770 | </varlistentry>
|
---|
771 |
|
---|
772 | <varlistentry id="g-ir-scanner">
|
---|
773 | <term><command>g-ir-scanner</command></term>
|
---|
774 | <listitem>
|
---|
775 | <para>
|
---|
776 | is a tool which generates GIR XML files by parsing headers and
|
---|
777 | introspecting GObject based libraries
|
---|
778 | </para>
|
---|
779 | <indexterm zone="glib2 g-ir-scanner">
|
---|
780 | <primary sortas="b-g-ir-scanner">g-ir-scanner</primary>
|
---|
781 | </indexterm>
|
---|
782 | </listitem>
|
---|
783 | </varlistentry>
|
---|
784 |
|
---|
785 | <varlistentry id="libgirepository-1.0">
|
---|
786 | <term><filename class='libraryfile'>libgirepository-1.0.so</filename></term>
|
---|
787 | <listitem>
|
---|
788 | <para>
|
---|
789 | is a counterpart of
|
---|
790 | <systemitem class='library'>libgirepository-2.0</systemitem>
|
---|
791 | with the old 1.0 API
|
---|
792 | </para>
|
---|
793 | <indexterm zone="glib2 libgirepository-1.0">
|
---|
794 | <primary sortas="c-libgirepository1">libgirepository-1.0.so</primary>
|
---|
795 | </indexterm>
|
---|
796 | </listitem>
|
---|
797 | </varlistentry>
|
---|
798 | </variablelist>
|
---|
799 |
|
---|
800 | </sect2>
|
---|
801 |
|
---|
802 | </sect1>
|
---|