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

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 ed9b0761 was ed9b0761, checked in by DJ Lucas <dj@…>, 6 years ago

Minor fixups.

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

  • Property mode set to 100644
File size: 8.1 KB
Line 
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
7 <!ENTITY gobject-introspection-download-http
8 "&gnome-download-http;/gobject-introspection/1.54/gobject-introspection-&gobject-introspection-version;.tar.xz">
9 <!ENTITY gobject-introspection-download-ftp
10 "&gnome-download-ftp;/gobject-introspection/1.54/gobject-introspection-&gobject-introspection-version;.tar.xz">
11 <!ENTITY gobject-introspection-md5sum "126c29e4d54adbed2ed4e2b04483de41">
12 <!ENTITY gobject-introspection-size "1.3 MB">
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)">
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">
32 <title>Introduction to GObject Introspection</title>
33
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>
39
40 &lfs81_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&gobject-introspection-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&gobject-introspection-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &gobject-introspection-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &gobject-introspection-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &gobject-introspection-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &gobject-introspection-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect4">Required</bridgehead>
77 <para role="required">
78 <xref linkend="glib2"/>
79 </para>
80
81 <bridgehead renderas="sect4">Optional</bridgehead>
82 <para role="optional">
83 <xref linkend="cairo"/> (required for the tests),
84 <xref linkend="gtk-doc"/>,
85 <xref linkend="Mako"/>, and
86 <xref linkend="python2"/>
87 </para>
88
89 <para condition="html" role="usernotes">User Notes:
90 <ulink url="&blfs-wiki;/gobject-introspection"/>
91 </para>
92 </sect2>
93
94 <sect2 role="installation">
95 <title>Installation of GObject Introspection</title>
96
97 <para>
98 Install <application>GObject Introspection</application> by running
99 the following commands:
100 </para>
101
102<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
103make</userinput></screen>
104
105 <para>
106 To test the results, issue: <command>make check</command>.
107<!-- One test, Regress-1.0.gir, is known to fail with glibc-2.26. -->
108 </para>
109
110 <para>
111 Now, as the <systemitem class="username">root</systemitem> user:
112 </para>
113
114<screen role="root"><userinput>make install</userinput></screen>
115
116 </sect2>
117
118 <sect2 role="commands">
119 <title>Command Explanations</title>
120
121 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
122 href="../../xincludes/static-libraries.xml"/>
123
124 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
125 href="../../xincludes/gtk-doc-rebuild.xml"/>
126
127 </sect2>
128
129 <sect2 role="content">
130 <title>Contents</title>
131
132 <segmentedlist>
133 <segtitle>Installed Program</segtitle>
134 <segtitle>Installed Libraries</segtitle>
135 <segtitle>Installed Directories</segtitle>
136
137 <!-- g-ir-doc-tool is installed if mako is presnet -->
138 <seglistitem>
139 <seg>
140 g-ir-annotation-tool, g-ir-compiler, g-ir-doc-tool,
141 g-ir-inspect, g-ir-generate, and g-ir-scanner
142 </seg>
143 <seg>
144 libgirepository-1.0.so and
145 /usr/lib/gobject-introspection/giscanner/_giscanner.so
146 </seg>
147 <seg>
148 /usr/include/gobject-introspection-1.0,
149 /usr/lib/girepository-1.0,
150 /usr/lib/gobject-introspection,
151 /usr/share/gir-1.0, and
152 /usr/share/gobject-introspection-1.0
153 </seg>
154 </seglistitem>
155 </segmentedlist>
156
157 <variablelist>
158 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
159 <?dbfo list-presentation="list"?>
160 <?dbhtml list-presentation="table"?>
161
162 <varlistentry id="g-ir-annotation-tool">
163 <term><command>g-ir-annotation-tool</command></term>
164 <listitem>
165 <para>
166 creates or extracts annotation data from GI typelibs.
167 </para>
168 <indexterm zone="gobject-introspection g-ir-annotation-tool">
169 <primary sortas="b-g-ir-annotation-tool">g-ir-annotation-tool</primary>
170 </indexterm>
171 </listitem>
172 </varlistentry>
173
174 <varlistentry id="g-ir-compiler">
175 <term><command>g-ir-compiler</command></term>
176 <listitem>
177 <para>
178 converts one or more GIR files into one or more typelib.
179 </para>
180 <indexterm zone="gobject-introspection g-ir-compiler">
181 <primary sortas="b-g-ir-compiler">g-ir-compiler</primary>
182 </indexterm>
183 </listitem>
184 </varlistentry>
185
186 <varlistentry id="g-ir-doc-tool">
187 <term><command>g-ir-doc-tool</command></term>
188 <listitem>
189 <para>
190 generates Mallard files that can be viewed with
191 <command>yelp</command> or rendered to HTML with
192 <command>yelp-build</command> from <ulink
193 url="http://ftp.acc.umu.se/pub/gnome/sources/yelp-tools">yelp-tools</ulink>.
194 </para>
195 <indexterm zone="gobject-introspection g-ir-doc-tool">
196 <primary sortas="b-g-ir-doc-tool">g-ir-doc-tool</primary>
197 </indexterm>
198 </listitem>
199 </varlistentry>
200
201 <varlistentry id="g-ir-inspect">
202 <term><command>g-ir-inspect</command></term>
203 <listitem>
204 <para>
205 is a utility that gives information about a GI typelib.
206 </para>
207 <indexterm zone="gobject-introspection g-ir-inspect">
208 <primary sortas="b-g-ir-inspect">g-ir-inspect</primary>
209 </indexterm>
210 </listitem>
211 </varlistentry>
212
213 <varlistentry id="g-ir-scanner">
214 <term><command>g-ir-scanner</command></term>
215 <listitem>
216 <para>
217 is a tool which generates GIR XML files by parsing headers and
218 introspecting GObject based libraries.
219 </para>
220 <indexterm zone="gobject-introspection g-ir-scanner">
221 <primary sortas="b-g-ir-scanner">g-ir-scanner</primary>
222 </indexterm>
223 </listitem>
224 </varlistentry>
225
226 <varlistentry id="g-ir-generate">
227 <term><command>g-ir-generate</command></term>
228 <listitem>
229 <para>
230 is a GIR generator that uses the repository API.
231 </para>
232 <indexterm zone="gobject-introspection g-ir-generate">
233 <primary sortas="b-g-ir-generate">g-ir-generate</primary>
234 </indexterm>
235 </listitem>
236 </varlistentry>
237
238 <varlistentry id="libgirepository-1.0">
239 <term><filename class="libraryfile">libgirepository-1.0.so</filename></term>
240 <listitem>
241 <para>
242 provides an API to access the typelib metadata.
243 </para>
244 <indexterm zone="gobject-introspection libgirepository-1.0">
245 <primary sortas="c-libgirepository-1.0">libgirepository-1.0.so</primary>
246 </indexterm>
247 </listitem>
248 </varlistentry>
249
250 </variablelist>
251
252 </sect2>
253
254</sect1>
Note: See TracBrowser for help on using the repository browser.