source: general/genlib/gobject-introspection.xml@ 427b46a

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 427b46a was 3bc067f3, checked in by Xi Ruoyao <xry111@…>, 3 years ago

g-ir: restore a note for test failure

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24384 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 8.6 KB
RevLine 
[9d3d8a8]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[0d7900a]7 <!ENTITY gobject-introspection-download-http
[8b9cf4c]8 "&gnome-download-http;/gobject-introspection/1.66/gobject-introspection-&gobject-introspection-version;.tar.xz">
[0d7900a]9 <!ENTITY gobject-introspection-download-ftp
[8b9cf4c]10 "&gnome-download-ftp;/gobject-introspection/1.66/gobject-introspection-&gobject-introspection-version;.tar.xz">
[6d44b69]11 <!ENTITY gobject-introspection-md5sum "f43d661d39ff52d33622cb1854aaaf76">
[8b9cf4c]12 <!ENTITY gobject-introspection-size "992 KB">
[6d44b69]13 <!ENTITY gobject-introspection-buildsize "55 MB (with tests)">
[a8ea305]14 <!ENTITY gobject-introspection-time "0.2 SBU (Using parallelism=4; with tests)">
[9d3d8a8]15]>
16
17<sect1 id="gobject-introspection" xreflabel="gobject-introspection-&gobject-introspection-version;">
18 <?dbhtml filename="gobject-introspection.html"?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>gobject-introspection-&gobject-introspection-version;</title>
26
27 <indexterm zone="gobject-introspection">
28 <primary sortas="a-gobject-introspection">gobject-introspection</primary>
29 </indexterm>
30
31 <sect2 role="package">
[7ded7e3]32 <title>Introduction to GObject Introspection</title>
[9d3d8a8]33
[7ded7e3]34 <para>
35 The <application>GObject Introspection</application> is used
36 to describe the program APIs and collect them in a uniform,
37 machine readable format.
38 </para>
[9d3d8a8]39
[9029db2]40 &lfs101_checked;
[27e62762]41
[9d3d8a8]42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
[7ded7e3]45 <para>
46 Download (HTTP): <ulink url="&gobject-introspection-download-http;"/>
47 </para>
[9d3d8a8]48 </listitem>
49 <listitem>
[7ded7e3]50 <para>
51 Download (FTP): <ulink url="&gobject-introspection-download-ftp;"/>
52 </para>
[9d3d8a8]53 </listitem>
54 <listitem>
[7ded7e3]55 <para>
56 Download MD5 sum: &gobject-introspection-md5sum;
57 </para>
[9d3d8a8]58 </listitem>
59 <listitem>
[7ded7e3]60 <para>
61 Download size: &gobject-introspection-size;
62 </para>
[9d3d8a8]63 </listitem>
64 <listitem>
[7ded7e3]65 <para>
66 Estimated disk space required: &gobject-introspection-buildsize;
67 </para>
[9d3d8a8]68 </listitem>
69 <listitem>
[7ded7e3]70 <para>
71 Estimated build time: &gobject-introspection-time;
72 </para>
[9d3d8a8]73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect4">Required</bridgehead>
[b8a081c]77 <para role="required">
[ed9b0761]78 <xref linkend="glib2"/>
[b8a081c]79 </para>
[9d3d8a8]80
81 <bridgehead renderas="sect4">Optional</bridgehead>
[b6a2a0e]82 <para role="optional">
[4dbf88b]83 <xref linkend="cairo"/> (required for the tests),
[a8ea305]84 <xref linkend="gjs"/> (to satisfy one test),
[ed9b0761]85 <xref linkend="gtk-doc"/>,
[a8ea305]86 <xref linkend="Mako"/>, and
87 <ulink url="https://pypi.org/project/Markdown/">Markdown</ulink> (to satisfy one test)
[c4a9102]88 <!-- There was talk of this being required in the release notes. Can someone
[a8ea305]89 who doesn't have this installed verify?
90 It is only needed for one test. bdubbs March 3, 2019
91 -->
[b6a2a0e]92 </para>
[9d3d8a8]93
94 <para condition="html" role="usernotes">User Notes:
[7ded7e3]95 <ulink url="&blfs-wiki;/gobject-introspection"/>
96 </para>
[9d3d8a8]97 </sect2>
98
99 <sect2 role="installation">
[7ded7e3]100 <title>Installation of GObject Introspection</title>
[9d3d8a8]101
[7ded7e3]102 <para>
103 Install <application>GObject Introspection</application> by running
104 the following commands:
105 </para>
[9d3d8a8]106
[a8ea305]107<screen><userinput>mkdir build &amp;&amp;
[4a61228]108cd build &amp;&amp;
[a8ea305]109
110meson --prefix=/usr .. &amp;&amp;
111ninja</userinput></screen>
[9d3d8a8]112
[7ded7e3]113 <para>
[1c7adc0]114 To test the results, issue: <command>ninja test</command>.
[3bc067f3]115 If <xref linkend="Mako"/> is installed but the Python 3 module named
116 Markdown (not in BLFS) is not, one test named test_docwriter.py will
117 fail.
[7ded7e3]118 </para>
[9d3d8a8]119
[7ded7e3]120 <para>
121 Now, as the <systemitem class="username">root</systemitem> user:
122 </para>
[9d3d8a8]123
[a8ea305]124<screen role="root"><userinput>ninja install</userinput></screen>
[9d3d8a8]125
126 </sect2>
127
128 <sect2 role="commands">
129 <title>Command Explanations</title>
130
[d56e7df]131 <para>
[dcde08a1]132 <option>-Dgtk_doc=true</option>: Build and install
[d56e7df]133 the documentation.
134 </para>
[9d3d8a8]135
[d56e7df]136 <para>
[55e121da]137 <option>-Dcairo=enabled</option>: Use cairo for tests.
[d56e7df]138 </para>
[e977805c]139
[d56e7df]140 <para>
[55e121da]141 <option>-Ddoctool=enabled</option>: Install g-ir-doc-tool
[d56e7df]142 and run related tests.
143 </para>
[c34cb2e5]144
[9d3d8a8]145 </sect2>
146
147 <sect2 role="content">
148 <title>Contents</title>
149
150 <segmentedlist>
[7ded7e3]151 <segtitle>Installed Program</segtitle>
[9d3d8a8]152 <segtitle>Installed Libraries</segtitle>
153 <segtitle>Installed Directories</segtitle>
154
[4dbf88b]155 <!-- g-ir-doc-tool is installed if mako is presnet -->
[9d3d8a8]156 <seglistitem>
[e977805c]157 <seg>
[4dbf88b]158 g-ir-annotation-tool, g-ir-compiler, g-ir-doc-tool,
[8b9cf4c]159 g-ir-generate, g-ir-inspect, and g-ir-scanner
[e977805c]160 </seg>
161 <seg>
[04bf697b]162 libgirepository-1.0.so and
[d94bd7f4]163 _giscanner.&python3-lib-suffix;.so
[e977805c]164 </seg>
[0913f48]165 <seg>
166 /usr/include/gobject-introspection-1.0,
[d3e019dc]167 /usr/lib/girepository-1.0,
168 /usr/lib/gobject-introspection,
[d8fe3e58]169 /usr/share/gir-1.0, and
170 /usr/share/gobject-introspection-1.0
[b6a2a0e]171 </seg>
[9d3d8a8]172 </seglistitem>
173 </segmentedlist>
174
175 <variablelist>
176 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
177 <?dbfo list-presentation="list"?>
178 <?dbhtml list-presentation="table"?>
179
[56c646a5]180 <varlistentry id="g-ir-annotation-tool">
181 <term><command>g-ir-annotation-tool</command></term>
182 <listitem>
183 <para>
[4c24eb0a]184 creates or extracts annotation data from GI typelibs
[56c646a5]185 </para>
186 <indexterm zone="gobject-introspection g-ir-annotation-tool">
187 <primary sortas="b-g-ir-annotation-tool">g-ir-annotation-tool</primary>
188 </indexterm>
189 </listitem>
190 </varlistentry>
191
[9d3d8a8]192 <varlistentry id="g-ir-compiler">
193 <term><command>g-ir-compiler</command></term>
194 <listitem>
[7ded7e3]195 <para>
[4c24eb0a]196 converts one or more GIR files into one or more typelib
[7ded7e3]197 </para>
[9d3d8a8]198 <indexterm zone="gobject-introspection g-ir-compiler">
199 <primary sortas="b-g-ir-compiler">g-ir-compiler</primary>
200 </indexterm>
201 </listitem>
202 </varlistentry>
203
[7e2908c]204 <varlistentry id="g-ir-doc-tool">
205 <term><command>g-ir-doc-tool</command></term>
206 <listitem>
207 <para>
208 generates Mallard files that can be viewed with
209 <command>yelp</command> or rendered to HTML with
[4c24eb0a]210 <command>yelp-build</command> from
211 <ulink url="http://ftp.acc.umu.se/pub/gnome/sources/yelp-tools">yelp-tools</ulink>
[7e2908c]212 </para>
213 <indexterm zone="gobject-introspection g-ir-doc-tool">
214 <primary sortas="b-g-ir-doc-tool">g-ir-doc-tool</primary>
215 </indexterm>
216 </listitem>
217 </varlistentry>
218
[0797528]219 <varlistentry id="g-ir-inspect">
220 <term><command>g-ir-inspect</command></term>
221 <listitem>
222 <para>
[4c24eb0a]223 is a utility that gives information about a GI typelib
[0797528]224 </para>
225 <indexterm zone="gobject-introspection g-ir-inspect">
226 <primary sortas="b-g-ir-inspect">g-ir-inspect</primary>
227 </indexterm>
228 </listitem>
229 </varlistentry>
230
[8b9cf4c]231 <varlistentry id="g-ir-generate">
232 <term><command>g-ir-generate</command></term>
[9d3d8a8]233 <listitem>
[7ded7e3]234 <para>
[4c24eb0a]235 is a GIR generator that uses the repository API
[7ded7e3]236 </para>
[8b9cf4c]237 <indexterm zone="gobject-introspection g-ir-generate">
238 <primary sortas="b-g-ir-generate">g-ir-generate</primary>
[9d3d8a8]239 </indexterm>
240 </listitem>
241 </varlistentry>
242
[8b9cf4c]243 <varlistentry id="g-ir-scanner">
244 <term><command>g-ir-scanner</command></term>
[9d3d8a8]245 <listitem>
[7ded7e3]246 <para>
[8b9cf4c]247 is a tool which generates GIR XML files by parsing headers and
[4c24eb0a]248 introspecting GObject based libraries
[7ded7e3]249 </para>
[8b9cf4c]250 <indexterm zone="gobject-introspection g-ir-scanner">
251 <primary sortas="b-g-ir-scanner">g-ir-scanner</primary>
[9d3d8a8]252 </indexterm>
253 </listitem>
254 </varlistentry>
255
256 <varlistentry id="libgirepository-1.0">
[d3e019dc]257 <term><filename class="libraryfile">libgirepository-1.0.so</filename></term>
[9d3d8a8]258 <listitem>
[7ded7e3]259 <para>
[4c24eb0a]260 provides an API to access the typelib metadata
[7ded7e3]261 </para>
[9d3d8a8]262 <indexterm zone="gobject-introspection libgirepository-1.0">
[e977805c]263 <primary sortas="c-libgirepository-1.0">libgirepository-1.0.so</primary>
[9d3d8a8]264 </indexterm>
265 </listitem>
266 </varlistentry>
267
268 </variablelist>
269
270 </sect2>
271
272</sect1>
Note: See TracBrowser for help on using the repository browser.