source: general/genlib/gobject-introspection.xml@ c34cb2e5

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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 c34cb2e5 was c34cb2e5, checked in by DJ Lucas <dj@…>, 7 years ago

Various dependency fixes.

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

  • Property mode set to 100644
File size: 8.3 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
[56c646a5]8 "&gnome-download-http;/gobject-introspection/1.54/gobject-introspection-&gobject-introspection-version;.tar.xz">
[0d7900a]9 <!ENTITY gobject-introspection-download-ftp
[56c646a5]10 "&gnome-download-ftp;/gobject-introspection/1.54/gobject-introspection-&gobject-introspection-version;.tar.xz">
[140a74cd]11 <!ENTITY gobject-introspection-md5sum "126c29e4d54adbed2ed4e2b04483de41">
[fec3659]12 <!ENTITY gobject-introspection-size "1.3 MB">
[140a74cd]13 <!ENTITY gobject-introspection-buildsize "39 MB (add 13 MB for tests)">
14 <!ENTITY gobject-introspection-time "0.3 SBU (add 0.3 SBU for 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
[5ae3416]40 &lfs81_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),
[ed9b0761]84 <xref linkend="gtk-doc"/>,
85 <xref linkend="Mako"/>, and
86 <xref linkend="python2"/>
[b6a2a0e]87 </para>
[9d3d8a8]88
89 <para condition="html" role="usernotes">User Notes:
[7ded7e3]90 <ulink url="&blfs-wiki;/gobject-introspection"/>
91 </para>
[9d3d8a8]92 </sect2>
93
94 <sect2 role="installation">
[7ded7e3]95 <title>Installation of GObject Introspection</title>
[9d3d8a8]96
[7ded7e3]97 <para>
98 Install <application>GObject Introspection</application> by running
99 the following commands:
100 </para>
[9d3d8a8]101
[c34cb2e5]102<screen><userinput>./configure --prefix=/usr \
103 --disable-static \
104 --with-python=/usr/bin/python3 &amp;&amp;
[9d3d8a8]105make</userinput></screen>
106
[7ded7e3]107 <para>
108 To test the results, issue: <command>make check</command>.
[56c646a5]109<!-- One test, Regress-1.0.gir, is known to fail with glibc-2.26. -->
[7ded7e3]110 </para>
[9d3d8a8]111
[7ded7e3]112 <para>
113 Now, as the <systemitem class="username">root</systemitem> user:
114 </para>
[9d3d8a8]115
116<screen role="root"><userinput>make install</userinput></screen>
117
118 </sect2>
119
120 <sect2 role="commands">
121 <title>Command Explanations</title>
122
[e05cd03f]123 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[7ded7e3]124 href="../../xincludes/static-libraries.xml"/>
[9d3d8a8]125
[e977805c]126 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[7ded7e3]127 href="../../xincludes/gtk-doc-rebuild.xml"/>
[e977805c]128
[c34cb2e5]129 <para><parameter>--with-python=/usr/bin/python3</parameter>: ensure the
130 Python-3.x interpreter is used instead of Python-2.x if installed.</para>
131
[9d3d8a8]132 </sect2>
133
134 <sect2 role="content">
135 <title>Contents</title>
136
137 <segmentedlist>
[7ded7e3]138 <segtitle>Installed Program</segtitle>
[9d3d8a8]139 <segtitle>Installed Libraries</segtitle>
140 <segtitle>Installed Directories</segtitle>
141
[4dbf88b]142 <!-- g-ir-doc-tool is installed if mako is presnet -->
[9d3d8a8]143 <seglistitem>
[e977805c]144 <seg>
[4dbf88b]145 g-ir-annotation-tool, g-ir-compiler, g-ir-doc-tool,
[0797528]146 g-ir-inspect, g-ir-generate, and g-ir-scanner
[e977805c]147 </seg>
148 <seg>
[04bf697b]149 libgirepository-1.0.so and
150 /usr/lib/gobject-introspection/giscanner/_giscanner.so
[e977805c]151 </seg>
[0913f48]152 <seg>
153 /usr/include/gobject-introspection-1.0,
[d3e019dc]154 /usr/lib/girepository-1.0,
155 /usr/lib/gobject-introspection,
[d8fe3e58]156 /usr/share/gir-1.0, and
157 /usr/share/gobject-introspection-1.0
[b6a2a0e]158 </seg>
[9d3d8a8]159 </seglistitem>
160 </segmentedlist>
161
162 <variablelist>
163 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
164 <?dbfo list-presentation="list"?>
165 <?dbhtml list-presentation="table"?>
166
[56c646a5]167 <varlistentry id="g-ir-annotation-tool">
168 <term><command>g-ir-annotation-tool</command></term>
169 <listitem>
170 <para>
171 creates or extracts annotation data from GI typelibs.
172 </para>
173 <indexterm zone="gobject-introspection g-ir-annotation-tool">
174 <primary sortas="b-g-ir-annotation-tool">g-ir-annotation-tool</primary>
175 </indexterm>
176 </listitem>
177 </varlistentry>
178
[9d3d8a8]179 <varlistentry id="g-ir-compiler">
180 <term><command>g-ir-compiler</command></term>
181 <listitem>
[7ded7e3]182 <para>
183 converts one or more GIR files into one or more typelib.
184 </para>
[9d3d8a8]185 <indexterm zone="gobject-introspection g-ir-compiler">
186 <primary sortas="b-g-ir-compiler">g-ir-compiler</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
[7e2908c]191 <varlistentry id="g-ir-doc-tool">
192 <term><command>g-ir-doc-tool</command></term>
193 <listitem>
194 <para>
195 generates Mallard files that can be viewed with
196 <command>yelp</command> or rendered to HTML with
197 <command>yelp-build</command> from <ulink
[3bf58b9c]198 url="http://ftp.acc.umu.se/pub/gnome/sources/yelp-tools">yelp-tools</ulink>.
[7e2908c]199 </para>
200 <indexterm zone="gobject-introspection g-ir-doc-tool">
201 <primary sortas="b-g-ir-doc-tool">g-ir-doc-tool</primary>
202 </indexterm>
203 </listitem>
204 </varlistentry>
205
[0797528]206 <varlistentry id="g-ir-inspect">
207 <term><command>g-ir-inspect</command></term>
208 <listitem>
209 <para>
210 is a utility that gives information about a GI typelib.
211 </para>
212 <indexterm zone="gobject-introspection g-ir-inspect">
213 <primary sortas="b-g-ir-inspect">g-ir-inspect</primary>
214 </indexterm>
215 </listitem>
216 </varlistentry>
217
[9d3d8a8]218 <varlistentry id="g-ir-scanner">
219 <term><command>g-ir-scanner</command></term>
220 <listitem>
[7ded7e3]221 <para>
222 is a tool which generates GIR XML files by parsing headers and
223 introspecting GObject based libraries.
224 </para>
[9d3d8a8]225 <indexterm zone="gobject-introspection g-ir-scanner">
226 <primary sortas="b-g-ir-scanner">g-ir-scanner</primary>
227 </indexterm>
228 </listitem>
229 </varlistentry>
230
231 <varlistentry id="g-ir-generate">
232 <term><command>g-ir-generate</command></term>
233 <listitem>
[7ded7e3]234 <para>
[0797528]235 is a GIR generator that uses the repository API.
[7ded7e3]236 </para>
[9d3d8a8]237 <indexterm zone="gobject-introspection g-ir-generate">
238 <primary sortas="b-g-ir-generate">g-ir-generate</primary>
239 </indexterm>
240 </listitem>
241 </varlistentry>
242
243 <varlistentry id="libgirepository-1.0">
[d3e019dc]244 <term><filename class="libraryfile">libgirepository-1.0.so</filename></term>
[9d3d8a8]245 <listitem>
[7ded7e3]246 <para>
[0797528]247 provides an API to access the typelib metadata.
[7ded7e3]248 </para>
[9d3d8a8]249 <indexterm zone="gobject-introspection libgirepository-1.0">
[e977805c]250 <primary sortas="c-libgirepository-1.0">libgirepository-1.0.so</primary>
[9d3d8a8]251 </indexterm>
252 </listitem>
253 </varlistentry>
254
255 </variablelist>
256
257 </sect2>
258
259</sect1>
Note: See TracBrowser for help on using the repository browser.