source: general/genlib/glib2.xml@ 741810a

trunk
Last change on this file since 741810a was 741810a, checked in by Xi Ruoyao <xry111@…>, 2 weeks ago

glib: Disable sysprof, comment out some test failures I cannot reproduce

All tests pass for me even with -D glib_debug=disabled and
GLIB_LOG_LEVEL=1.

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