source: general/genlib/glib2.xml@ dd98f82

trunk
Last change on this file since dd98f82 was dd98f82, checked in by Xi Ruoyao <xry111@…>, 5 hours ago

glib2: Document a known failure

  • Property mode set to 100644
File size: 27.6 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 glib2-download-http "&gnome-download-http;/glib/&glib2-minor;/glib-&glib2-version;.tar.xz">
8 <!ENTITY glib2-download-ftp " ">
9 <!ENTITY glib2-md5sum "d101f1acab6805d4d6d3104e9634b8e3">
10 <!ENTITY glib2-size "5.3 MB">
11 <!ENTITY glib2-buildsize "197 MB (add 22 MB for tests)">
12 <!ENTITY glib2-time "0.7 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.82/gobject-introspection-&gobject-introspection-version;.tar.xz">
16 <!ENTITY gobject-introspection-md5sum "50beb465bc81f33395b5e0e3bbe364ec">
17 <!ENTITY gobject-introspection-size "1.1 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 &amp;&amp;
197 mv -vf /usr/include/glib-2.0{,.old}
198fi</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 &amp;&amp;
208cd build &amp;&amp;
209
210meson setup .. \
211 --prefix=/usr \
212 --buildtype=release \
213 -D introspection=disabled \
214 -D glib_debug=disabled \
215 -D man-pages=enabled \
216 -D sysprof=disabled &amp;&amp;
217ninja</userinput></screen>
218
219 <para>
220 The <application>GLib</application> test suite requires
221 <application>desktop-file-utils</application> for some tests. However,
222 <application>desktop-file-utils</application> requires
223 <application>GLib</application> in order to compile; therefore, you must
224 first install <application>GLib</application> and then run the test
225 suite.
226 </para>
227
228 <para>
229 As the <systemitem class="username">root</systemitem> user,
230 install this package for the first time to allow building
231 GObject Introspection:
232 </para>
233
234 <screen role="root"><userinput>ninja install</userinput></screen>
235
236 <para>
237 Build GObject Introspection:
238 </para>
239
240 <screen><userinput>tar xf ../../gobject-introspection-&gobject-introspection-version;.tar.xz &amp;&amp;
241
242meson setup gobject-introspection-&gobject-introspection-version; gi-build \
243 --prefix=/usr --buildtype=release &amp;&amp;
244ninja -C gi-build</userinput></screen>
245
246 <para>
247 To test the results of GObject Introspection, issue:
248 <command>ninja -C gi-build test</command>.
249 </para>
250
251 <para>
252 As the &root; user, install GObject Introspection for generating
253 the introspection data of GLib libraries (required by various packages
254 using Glib, especially some GNOME packages):
255 </para>
256
257 <screen role='root'><userinput>ninja -C gi-build install</userinput></screen>
258
259 <para>
260 Now generate the introspection data:
261 </para>
262
263 <screen><userinput>meson configure -D introspection=enabled &amp;&amp;
264ninja</userinput></screen>
265
266 <para>
267 If you have <xref linkend='gi-docgen'/> installed and wish to build
268 the API documentation for this package, issue:
269 </para>
270
271 <screen remap='doc'><userinput>sed 's/glib-2.0/glib-&glib2-version;/' \
272 -i ../docs/reference/meson.build &amp;&amp;
273meson configure -D documentation=true &amp;&amp;
274ninja</userinput></screen>
275
276 <para>
277 As the &root; user, install this package again for the introspection
278 data (and optionally, the documentation):
279 </para>
280
281 <screen role='root'><userinput>ninja install</userinput></screen>
282
283 <para>
284 One test named <literal>gdatetime</literal> is known to fail with
285 tzdata-2024b or later.
286 </para>
287
288 <para>
289 You should now install <xref linkend="desktop-file-utils"/> and
290 <xref linkend="shared-mime-info"/> and proceed to
291 run the test suite.
292 </para>
293
294 <warning>
295 <para>
296 Do not run the test suite as &root; or some tests will fail
297 unexpectedly and leave some non-FHS-compliant directories in the
298 <filename class='directory'>/usr</filename> hierarchy.
299 </para>
300 </warning>
301 <!-- I cannot reproduce these issues.
302 <note>
303 <para>
304 If you have installed the glib-skip_warnings-1.patch and have
305 the environment variable GLIB_LOG_LEVEL set, unset it before running
306 the tests. It will cause several tests to fail.
307 </para>
308 </note>
309
310 <note>
311 <para>
312 If you have used the -D glib_debug=disabled option, 17 tests will
313 fail.
314 </para>
315 </note>
316 -->
317 <para>
318 To test the results, after having installed the packages, issue:
319 <command>LC_ALL=C ninja test</command> as a non-&root; user.
320 </para>
321 </sect2>
322
323 <sect2 role="commands">
324 <title>Command Explanations</title>
325
326 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
327 href="../../xincludes/meson-buildtype-release.xml"/>
328
329 <para>
330 <parameter>-D man-pages=enabled</parameter>: This switch causes the
331 build to create and install the package man pages.
332 </para>
333
334 <para>
335 <parameter>-D glib_debug=disabled</parameter>: This switch causes the
336 build to not include some expensive checks for debugging in the built
337 programs and libraries.
338 </para>
339
340 <para>
341 <parameter>-D sysprof=disabled</parameter>: This switch disables the
342 tracing support for sysprof. Remove this option if you want the
343 tracing support. Note that if sysprof is not installed, removing
344 this option will cause the build system to download a copy of sysprof
345 from the Internet.
346 </para>
347
348 </sect2>
349
350 <sect2 role="content">
351 <title>Contents</title>
352
353 <bridgehead renderas="sect3">GLib Contents</bridgehead>
354
355 <segmentedlist>
356 <segtitle>Installed Programs</segtitle>
357 <segtitle>Installed Libraries</segtitle>
358 <segtitle>Installed Directories</segtitle>
359
360 <seglistitem>
361 <seg>
362 gapplication, gdbus, gdbus-codegen,
363 gi-compile-repository, gi-decompile-typelib, gi-inspect-typelib
364 gio, gio-querymodules,
365 glib-compile-resources, glib-compile-schemas,
366 glib-genmarshal, glib-gettextize,
367 glib-mkenums, gobject-query,
368 gresource, gsettings,
369 gtester, and gtester-report
370 </seg>
371 <seg>
372 libgio-2.0.so,
373 libgirepository-2.0.so,
374 libglib-2.0.so,
375 libgmodule-2.0.so,
376 libgobject-2.0.so, and
377 libgthread-2.0.so
378 </seg>
379 <seg>
380 /usr/include/gio-unix-2.0,
381 /usr/include/glib-2.0,
382 /usr/lib/gio,
383 /usr/lib/glib-2.0,
384 /usr/share/glib-2.0, and
385 /usr/share/doc/glib-&glib2-version; (optional)
386 </seg>
387 </seglistitem>
388 </segmentedlist>
389
390 <bridgehead renderas="sect3">GObject Introspection Contents</bridgehead>
391
392 <segmentedlist>
393 <segtitle>Installed Program</segtitle>
394 <segtitle>Installed Libraries</segtitle>
395 <segtitle>Installed Directories</segtitle>
396
397 <!-- g-ir-doc-tool is installed if Mako and Markdown are present -->
398 <seglistitem>
399 <seg>
400 g-ir-annotation-tool, g-ir-compiler, g-ir-doc-tool (optional),
401 g-ir-generate, g-ir-inspect, and g-ir-scanner
402 </seg>
403 <seg>
404 libgirepository-1.0.so and
405 _giscanner.&python3-lib-suffix;.so
406 </seg>
407 <seg>
408 /usr/include/gobject-introspection-1.0,
409 /usr/lib/girepository-1.0,
410 /usr/lib/gobject-introspection,
411 /usr/share/gir-1.0, and
412 /usr/share/gobject-introspection-1.0
413 </seg>
414 </seglistitem>
415 </segmentedlist>
416
417 <variablelist>
418 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
419 <?dbfo list-presentation="list"?>
420 <?dbhtml list-presentation="table"?>
421
422 <varlistentry id="gapplication">
423 <term><command>gapplication</command></term>
424 <listitem>
425 <para>
426 can be used to start applications and to send
427 messages to already-running instances of other applications
428 </para>
429 <indexterm zone="glib2 gapplication">
430 <primary sortas="b-gapplication">application</primary>
431 </indexterm>
432 </listitem>
433 </varlistentry>
434
435 <varlistentry id="gdbus">
436 <term><command>gdbus</command></term>
437 <listitem>
438 <para>
439 is a simple tool used for working with
440 <application>D-Bus</application> objects
441 </para>
442 <indexterm zone="glib2 gdbus">
443 <primary sortas="b-gdbus">gdbus</primary>
444 </indexterm>
445 </listitem>
446 </varlistentry>
447
448 <varlistentry id="gdbus-codegen">
449 <term><command>gdbus-codegen</command></term>
450 <listitem>
451 <para>
452 is used to generate code and/or documentation for one or
453 more <application>D-Bus</application> interfaces
454 </para>
455 <indexterm zone="glib2 gdbus-codegen">
456 <primary sortas="b-gdbus-codegen">gdbus-codegen</primary>
457 </indexterm>
458 </listitem>
459 </varlistentry>
460
461 <varlistentry id="gi-compile-repository">
462 <term><command>gi-compile-repository</command></term>
463 <listitem>
464 <para>
465 converts one or more GIR files into one or more typelib files
466 </para>
467 <indexterm zone="glib2 gi-compile-repository">
468 <primary sortas="b-gi-compile-repository">gi-compile-repository</primary>
469 </indexterm>
470 </listitem>
471 </varlistentry>
472
473 <varlistentry id="gi-decompile-typelib">
474 <term><command>gi-decompile-typelib</command></term>
475 <listitem>
476 <para>
477 is a GIR decompiler that uses the repository API
478 </para>
479 <indexterm zone="glib2 gi-decompile-typelib">
480 <primary sortas="b-gi-decompile-typelib">gi-decompile-typelib</primary>
481 </indexterm>
482 </listitem>
483 </varlistentry>
484
485 <varlistentry id="gi-inspect-typelib">
486 <term><command>gi-inspect-typelib</command></term>
487 <listitem>
488 <para>
489 is a utility that gives information about a GI typelib
490 </para>
491 <indexterm zone="glib2 gi-inspect-typelib">
492 <primary sortas="b-gi-inspect-typelib">gi-inspect-typelib</primary>
493 </indexterm>
494 </listitem>
495 </varlistentry>
496
497 <varlistentry id="gio">
498 <term><command>gio</command></term>
499 <listitem>
500 <para>
501 is a utility that makes many <application>GIO</application>
502 features available from the command line
503 </para>
504 <indexterm zone="glib2 gio">
505 <primary sortas="b-gio">gio</primary>
506 </indexterm>
507 </listitem>
508 </varlistentry>
509
510 <varlistentry id="gio-querymodules">
511 <term><command>gio-querymodules</command></term>
512 <listitem>
513 <para>
514 is used to create a <filename>giomodule.cache</filename> file in
515 the listed directories. This file lists the implemented extension
516 points for each module that has been found
517 </para>
518 <indexterm zone="glib2 gio-querymodules">
519 <primary sortas="b-gio-querymodules">gio-querymodules</primary>
520 </indexterm>
521 </listitem>
522 </varlistentry>
523
524 <varlistentry id="glib-compile-resources">
525 <term><command>glib-compile-resources</command></term>
526 <listitem>
527 <para>
528 is used to read the resource description from a file and
529 the files that it references to create a binary resource
530 bundle that is suitable for use with the GResource API
531 </para>
532 <indexterm zone="glib2 glib-compile-resources">
533 <primary sortas="b-glib-compile-resources">glib-compile-resources</primary>
534 </indexterm>
535 </listitem>
536 </varlistentry>
537
538 <varlistentry id="glib-compile-schemas">
539 <term><command>glib-compile-schemas</command></term>
540 <listitem>
541 <para>
542 is used to compile all the GSettings XML schema files
543 in a directory into a binary file with the name
544 <filename>gschemas.compiled</filename> that can be used by GSettings
545 </para>
546 <indexterm zone="glib2 glib-compile-schemas">
547 <primary sortas="b-glib-compile-resources">glib-compile-schemas</primary>
548 </indexterm>
549 </listitem>
550 </varlistentry>
551
552 <varlistentry id="glib-genmarshal">
553 <term><command>glib-genmarshal</command></term>
554 <listitem>
555 <para>
556 is a C code marshaller generation utility for GLib closures
557 </para>
558 <indexterm zone="glib2 glib-genmarshal">
559 <primary sortas="b-glib-genmarshal">glib-genmarshal</primary>
560 </indexterm>
561 </listitem>
562 </varlistentry>
563
564 <varlistentry id="glib-gettextize">
565 <term><command>glib-gettextize</command></term>
566 <listitem>
567 <para>
568 is a variant of the <application>gettext</application>
569 internationalization utility
570 </para>
571 <indexterm zone="glib2 glib-gettextize">
572 <primary sortas="b-glib-gettextize">glib-gettextize</primary>
573 </indexterm>
574 </listitem>
575 </varlistentry>
576
577 <varlistentry id="glib-mkenums">
578 <term><command>glib-mkenums</command></term>
579 <listitem>
580 <para>
581 is a C language enum description generation utility
582 </para>
583 <indexterm zone="glib2 glib-mkenums">
584 <primary sortas="b-glib-mkenums">glib-mkenums</primary>
585 </indexterm>
586 </listitem>
587 </varlistentry>
588
589 <varlistentry id="gobject-query">
590 <term><command>gobject-query</command></term>
591 <listitem>
592 <para>
593 is a small utility that draws a tree of types
594 </para>
595 <indexterm zone="glib2 gobject-query">
596 <primary sortas="b-gobject-query">gobject-query</primary>
597 </indexterm>
598 </listitem>
599 </varlistentry>
600
601 <varlistentry id="gresource">
602 <term><command>gresource</command></term>
603 <listitem>
604 <para>
605 offers a simple command line interface to GResource
606 </para>
607 <indexterm zone="glib2 gresource">
608 <primary sortas="b-gresource">gresource</primary>
609 </indexterm>
610 </listitem>
611 </varlistentry>
612
613 <varlistentry id="gsettings">
614 <term><command>gsettings</command></term>
615 <listitem>
616 <para>
617 offers a simple command line interface to GSettings
618 </para>
619 <indexterm zone="glib2 gsettings">
620 <primary sortas="b-gsettings">gsettings</primary>
621 </indexterm>
622 </listitem>
623 </varlistentry>
624
625 <varlistentry id="gtester">
626 <term><command>gtester</command></term>
627 <listitem>
628 <para>
629 is a test running utility
630 </para>
631 <indexterm zone="glib2 gtester">
632 <primary sortas="b-gtester">gtester</primary>
633 </indexterm>
634 </listitem>
635 </varlistentry>
636
637 <varlistentry id="gtester-report">
638 <term><command>gtester-report</command></term>
639 <listitem>
640 <para>
641 is a test report formatting utility
642 </para>
643 <indexterm zone="glib2 gtester-report">
644 <primary sortas="b-gtester-report">gtester-report</primary>
645 </indexterm>
646 </listitem>
647 </varlistentry>
648
649 <varlistentry id="libgio">
650 <term><filename class='libraryfile'>libgio-2.0.so</filename></term>
651 <listitem>
652 <para>
653 is a library providing useful classes for general purpose I/O,
654 networking, IPC, settings, and other high level application
655 functionality
656 </para>
657 <indexterm zone="glib2 libgio">
658 <primary sortas="c-libgio">libgio-2.0.so</primary>
659 </indexterm>
660 </listitem>
661 </varlistentry>
662
663 <varlistentry id="libgirepository">
664 <term><filename class='libraryfile'>libgirepository-2.0.so</filename></term>
665 <listitem>
666 <para>
667 is a library providing access to typelibs and introspection data
668 which describes C APIs
669 </para>
670 <indexterm zone="glib2 libgirepository">
671 <primary sortas="c-libgirepository2">libgirepository-2.0.so</primary>
672 </indexterm>
673 </listitem>
674 </varlistentry>
675
676 <varlistentry id="libglib">
677 <term><filename class='libraryfile'>libglib-2.0.so</filename></term>
678 <listitem>
679 <para>
680 is a general-purpose, portable utility library, which provides
681 many useful data types, macros, type conversions, string
682 utilities, file utilities, a mainloop abstraction, and so on
683 </para>
684 <indexterm zone="glib2 libglib">
685 <primary sortas="c-libglib">libglib-2.0.so</primary>
686 </indexterm>
687 </listitem>
688 </varlistentry>
689
690 <varlistentry id="libgmodule">
691 <term><filename class='libraryfile'>libgmodule-2.0.so</filename></term>
692 <listitem>
693 <para>
694 provides portable API for dynamically loading modules
695 </para>
696 <indexterm zone="glib2 libgmodule">
697 <primary sortas="c-libgmodule">libgmodule-2.0.so</primary>
698 </indexterm>
699 </listitem>
700 </varlistentry>
701
702 <varlistentry id="libgobject">
703 <term><filename class='libraryfile'>libgobject-2.0.so</filename></term>
704 <listitem>
705 <para>
706 provides the GLib base type system and object class
707 </para>
708 <indexterm zone="glib2 libgobject">
709 <primary sortas="c-libgobject">libgobject-2.0.so</primary>
710 </indexterm>
711 </listitem>
712 </varlistentry>
713
714 <varlistentry id="libgthread">
715 <term><filename class='libraryfile'>libgthread-2.0.so</filename></term>
716 <listitem>
717 <para>
718 is a skeleton library for backwards compatibility; it used to
719 be the GLib thread library but the functionalities has been
720 merged info <systemitem class='library'>libglib-2.0</systemitem>
721 </para>
722 <indexterm zone="glib2 libgthread">
723 <primary sortas="c-libgthread">libgthread-2.0.so</primary>
724 </indexterm>
725 </listitem>
726 </varlistentry>
727
728 <varlistentry id="g-ir-annotation-tool">
729 <term><command>g-ir-annotation-tool</command></term>
730 <listitem>
731 <para>
732 creates or extracts annotation data from GI typelibs
733 </para>
734 <indexterm zone="glib2 g-ir-annotation-tool">
735 <primary sortas="b-g-ir-annotation-tool">g-ir-annotation-tool</primary>
736 </indexterm>
737 </listitem>
738 </varlistentry>
739
740 <varlistentry id="g-ir-compiler">
741 <term><command>g-ir-compiler</command></term>
742 <listitem>
743 <para>
744 is a counterpart of <command>gi-compile-repository</command>
745 for the old
746 <systemitem class='library'>libgirepository-1.0</systemitem>
747 API
748 </para>
749 <indexterm zone="glib2 g-ir-compiler">
750 <primary sortas="b-g-ir-compiler">g-ir-compiler</primary>
751 </indexterm>
752 </listitem>
753 </varlistentry>
754
755 <varlistentry id="g-ir-doc-tool">
756 <term><command>g-ir-doc-tool</command></term>
757 <listitem>
758 <para>
759 generates Mallard files that can be viewed with
760 <command>yelp</command> or rendered to HTML with
761 <command>yelp-build</command> from
762 <ulink url="&gnome-download-http;/yelp-tools">yelp-tools</ulink>
763 </para>
764 <indexterm zone="glib2 g-ir-doc-tool">
765 <primary sortas="b-g-ir-doc-tool">g-ir-doc-tool</primary>
766 </indexterm>
767 </listitem>
768 </varlistentry>
769
770 <varlistentry id="g-ir-inspect">
771 <term><command>g-ir-inspect</command></term>
772 <listitem>
773 <para>
774 is a counterpart of <command>gi-inspect-typelib</command>
775 for the old
776 <systemitem class='library'>libgirepository-1.0</systemitem>
777 API
778 </para>
779 <indexterm zone="glib2 g-ir-inspect">
780 <primary sortas="b-g-ir-inspect">g-ir-inspect</primary>
781 </indexterm>
782 </listitem>
783 </varlistentry>
784
785 <varlistentry id="g-ir-generate">
786 <term><command>g-ir-generate</command></term>
787 <listitem>
788 <para>
789 is a counterpart of <command>gi-decompile-typelib</command>
790 for the old
791 <systemitem class='library'>libgirepository-1.0</systemitem>
792 API
793 </para>
794 <indexterm zone="glib2 g-ir-generate">
795 <primary sortas="b-g-ir-generate">g-ir-generate</primary>
796 </indexterm>
797 </listitem>
798 </varlistentry>
799
800 <varlistentry id="g-ir-scanner">
801 <term><command>g-ir-scanner</command></term>
802 <listitem>
803 <para>
804 is a tool which generates GIR XML files by parsing headers and
805 introspecting GObject based libraries
806 </para>
807 <indexterm zone="glib2 g-ir-scanner">
808 <primary sortas="b-g-ir-scanner">g-ir-scanner</primary>
809 </indexterm>
810 </listitem>
811 </varlistentry>
812
813 <varlistentry id="libgirepository-1.0">
814 <term><filename class='libraryfile'>libgirepository-1.0.so</filename></term>
815 <listitem>
816 <para>
817 is a counterpart of
818 <systemitem class='library'>libgirepository-2.0</systemitem>
819 with the old 1.0 API
820 </para>
821 <indexterm zone="glib2 libgirepository-1.0">
822 <primary sortas="c-libgirepository1">libgirepository-1.0.so</primary>
823 </indexterm>
824 </listitem>
825 </varlistentry>
826 </variablelist>
827
828 </sect2>
829
830</sect1>
Note: See TracBrowser for help on using the repository browser.