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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 aee85523 was 5e35dc3f, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Update gobject url

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

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