source: general/genlib/gobject-introspection.xml@ 2535d7fd

elogind
Last change on this file since 2535d7fd was 2535d7fd, checked in by DJ Lucas <dj@…>, 5 years ago

Merge to HEAD 21327.

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

  • Property mode set to 100644
File size: 8.7 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.60/gobject-introspection-&gobject-introspection-version;.tar.xz">
9 <!ENTITY gobject-introspection-download-ftp
10 "&gnome-download-ftp;/gobject-introspection/1.60/gobject-introspection-&gobject-introspection-version;.tar.xz">
11 <!ENTITY gobject-introspection-md5sum "5f75baadfc9baffaeca203c280b9d592">
12 <!ENTITY gobject-introspection-size "1.2 MB">
13 <!ENTITY gobject-introspection-buildsize "42 MB (with tests)">
14 <!ENTITY gobject-introspection-time "0.2 SBU (Using parallelism=4; with 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 &lfs84_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="gjs"/> (to satisfy one test),
85 <xref linkend="gtk-doc"/>,
86 <xref linkend="Mako"/>, and
87 <ulink url="https://pypi.org/project/Markdown/">Markdown</ulink> (to satisfy one test)
88 <!-- There was talk of this being required in the release notes. Can someone
89 who doesn't have this installed verify?
90 It is only needed for one test. bdubbs March 3, 2019
91 -->
92 </para>
93
94 <para condition="html" role="usernotes">User Notes:
95 <ulink url="&blfs-wiki;/gobject-introspection"/>
96 </para>
97 </sect2>
98
99 <sect2 role="installation">
100 <title>Installation of GObject Introspection</title>
101
102 <para>
103 Install <application>GObject Introspection</application> by running
104 the following commands:
105 </para>
106
107<screen><userinput>mkdir build &amp;&amp;
108cd build &amp;&amp;
109
110meson --prefix=/usr .. &amp;&amp;
111ninja</userinput></screen>
112
113 <para>
114 To test the results, issue: <command>ninja test -k0</command>.
115 One test fails if the optional Markdown module is not installed.
116 <!--One test, Regress-1.0.gir, is known to fail with glibc-2.28.-->
117 <!-- This worked fine in 2.27, but is broken again in 2.28. -->
118 <!-- This works again with glibc 2.28 and gi 1.58.0 -->
119 </para>
120
121 <para>
122 Now, as the <systemitem class="username">root</systemitem> user:
123 </para>
124
125<screen role="root"><userinput>ninja install</userinput></screen>
126
127 </sect2>
128
129 <sect2 role="commands">
130 <title>Command Explanations</title>
131
132 <para><parameter>-Dgtk_doc=true</parameter>: Build and install
133 the documentation.</para>
134
135 <para><parameter>-Dcairo=true</parameter>: Use cairo for tests.</para>
136
137 <para><parameter>-Ddoctool=true</parameter>: Install g-ir-doc-tool
138 and run related tests.</para>
139
140 </sect2>
141
142 <sect2 role="content">
143 <title>Contents</title>
144
145 <segmentedlist>
146 <segtitle>Installed Program</segtitle>
147 <segtitle>Installed Libraries</segtitle>
148 <segtitle>Installed Directories</segtitle>
149
150 <!-- g-ir-doc-tool is installed if mako is presnet -->
151 <seglistitem>
152 <seg>
153 g-ir-annotation-tool, g-ir-compiler, g-ir-doc-tool,
154 g-ir-inspect, g-ir-generate, and g-ir-scanner
155 </seg>
156 <seg>
157 libgirepository-1.0.so and
158 _giscanner.cpython-37m-x86_64-linux-gnu.so
159 </seg>
160 <seg>
161 /usr/include/gobject-introspection-1.0,
162 /usr/lib/girepository-1.0,
163 /usr/lib/gobject-introspection,
164 /usr/share/gir-1.0, and
165 /usr/share/gobject-introspection-1.0
166 </seg>
167 </seglistitem>
168 </segmentedlist>
169
170 <variablelist>
171 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
172 <?dbfo list-presentation="list"?>
173 <?dbhtml list-presentation="table"?>
174
175 <varlistentry id="g-ir-annotation-tool">
176 <term><command>g-ir-annotation-tool</command></term>
177 <listitem>
178 <para>
179 creates or extracts annotation data from GI typelibs.
180 </para>
181 <indexterm zone="gobject-introspection g-ir-annotation-tool">
182 <primary sortas="b-g-ir-annotation-tool">g-ir-annotation-tool</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 <varlistentry id="g-ir-compiler">
188 <term><command>g-ir-compiler</command></term>
189 <listitem>
190 <para>
191 converts one or more GIR files into one or more typelib.
192 </para>
193 <indexterm zone="gobject-introspection g-ir-compiler">
194 <primary sortas="b-g-ir-compiler">g-ir-compiler</primary>
195 </indexterm>
196 </listitem>
197 </varlistentry>
198
199 <varlistentry id="g-ir-doc-tool">
200 <term><command>g-ir-doc-tool</command></term>
201 <listitem>
202 <para>
203 generates Mallard files that can be viewed with
204 <command>yelp</command> or rendered to HTML with
205 <command>yelp-build</command> from <ulink
206 url="http://ftp.acc.umu.se/pub/gnome/sources/yelp-tools">yelp-tools</ulink>.
207 </para>
208 <indexterm zone="gobject-introspection g-ir-doc-tool">
209 <primary sortas="b-g-ir-doc-tool">g-ir-doc-tool</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213
214 <varlistentry id="g-ir-inspect">
215 <term><command>g-ir-inspect</command></term>
216 <listitem>
217 <para>
218 is a utility that gives information about a GI typelib.
219 </para>
220 <indexterm zone="gobject-introspection g-ir-inspect">
221 <primary sortas="b-g-ir-inspect">g-ir-inspect</primary>
222 </indexterm>
223 </listitem>
224 </varlistentry>
225
226 <varlistentry id="g-ir-scanner">
227 <term><command>g-ir-scanner</command></term>
228 <listitem>
229 <para>
230 is a tool which generates GIR XML files by parsing headers and
231 introspecting GObject based libraries.
232 </para>
233 <indexterm zone="gobject-introspection g-ir-scanner">
234 <primary sortas="b-g-ir-scanner">g-ir-scanner</primary>
235 </indexterm>
236 </listitem>
237 </varlistentry>
238
239 <varlistentry id="g-ir-generate">
240 <term><command>g-ir-generate</command></term>
241 <listitem>
242 <para>
243 is a GIR generator that uses the repository API.
244 </para>
245 <indexterm zone="gobject-introspection g-ir-generate">
246 <primary sortas="b-g-ir-generate">g-ir-generate</primary>
247 </indexterm>
248 </listitem>
249 </varlistentry>
250
251 <varlistentry id="libgirepository-1.0">
252 <term><filename class="libraryfile">libgirepository-1.0.so</filename></term>
253 <listitem>
254 <para>
255 provides an API to access the typelib metadata.
256 </para>
257 <indexterm zone="gobject-introspection libgirepository-1.0">
258 <primary sortas="c-libgirepository-1.0">libgirepository-1.0.so</primary>
259 </indexterm>
260 </listitem>
261 </varlistentry>
262
263 </variablelist>
264
265 </sect2>
266
267</sect1>
Note: See TracBrowser for help on using the repository browser.