source: general/genlib/glib2.xml@ 88bdca3

trunk
Last change on this file since 88bdca3 was 72d11bf9, checked in by Xi Ruoyao <xry111@…>, 29 hours ago

glib2: Move known failure to correct location

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