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

12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since f4ac7141 was f4ac7141, checked in by Pierre Labastie <pierre.labastie@…>, 8 months ago

Remove many more forgotten ftp urls

  • Property mode set to 100644
File size: 8.3 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.78/gobject-introspection-&gobject-introspection-version;.tar.xz">
9 <!ENTITY gobject-introspection-download-ftp " ">
10 <!ENTITY gobject-introspection-md5sum "da2677e6b9c91b33c036d2233a96cec3">
11 <!ENTITY gobject-introspection-size "1.0 MB">
12 <!ENTITY gobject-introspection-buildsize "48 MB (with tests)">
13 <!ENTITY gobject-introspection-time "0.3 SBU (With tests; both using parallelism=4)">
14]>
15<sect1 id="gobject-introspection" xreflabel="gobject-introspection-&gobject-introspection-version;">
16 <?dbhtml filename="gobject-introspection.html"?>
17
18
19 <title>gobject-introspection-&gobject-introspection-version;</title>
20
21 <indexterm zone="gobject-introspection">
22 <primary sortas="a-gobject-introspection">gobject-introspection</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to GObject Introspection</title>
27
28 <para>
29 The <application>GObject Introspection</application> is used
30 to describe the program APIs and collect them in a uniform,
31 machine readable format.
32 </para>
33
34 &lfs120_checked;
35
36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>
40 Download (HTTP): <ulink url="&gobject-introspection-download-http;"/>
41 </para>
42 </listitem>
43 <listitem>
44 <para>
45 Download (FTP): <ulink url="&gobject-introspection-download-ftp;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download MD5 sum: &gobject-introspection-md5sum;
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download size: &gobject-introspection-size;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Estimated disk space required: &gobject-introspection-buildsize;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated build time: &gobject-introspection-time;
66 </para>
67 </listitem>
68 </itemizedlist>
69
70 <bridgehead renderas="sect3">GObject Introspection Dependencies</bridgehead>
71
72 <bridgehead renderas="sect4">Required</bridgehead>
73 <para role="required">
74 <xref linkend="glib2"/>
75 </para>
76
77 <bridgehead renderas="sect4">Optional</bridgehead>
78 <para role="optional">
79 <xref linkend="cairo"/> (required for the tests),
80 <xref linkend="gjs"/> (to satisfy one test),
81 <xref linkend="gtk-doc"/>,
82 <xref linkend="Mako"/>, and
83 <xref linkend="markdown"/>
84 </para>
85
86 </sect2>
87
88 <sect2 role="installation">
89 <title>Installation of GObject Introspection</title>
90
91 <para>
92 Install <application>GObject Introspection</application> by running
93 the following commands:
94 </para>
95
96<screen><userinput>mkdir build &amp;&amp;
97cd build &amp;&amp;
98
99meson setup --prefix=/usr --buildtype=release .. &amp;&amp;
100ninja</userinput></screen>
101
102 <para>
103 To test the results, issue: <command>ninja test</command>.
104 </para>
105
106 <para>
107 Now, as the <systemitem class="username">root</systemitem> user:
108 </para>
109
110<screen role="root"><userinput>ninja install</userinput></screen>
111
112 </sect2>
113
114 <sect2 role="commands">
115 <title>Command Explanations</title>
116
117 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
118 href="../../xincludes/meson-buildtype-release.xml"/>
119
120 <para>
121 <option>-Dgtk_doc=true</option>: Build and install
122 the documentation.
123 </para>
124
125<!-- This is now autodetected
126 <para>
127 <option>-Dcairo=enabled</option>: Use cairo for tests.
128 </para>
129-->
130
131<!-- This is now autodetected
132 <para>
133 <option>-Ddoctool=enabled</option>: Install g-ir-doc-tool
134 and run related tests. You must have
135 <xref linkend="Mako" role="nodep"/> and
136 <xref linkend="markdown" role="nodep"/> installed in order
137 to install this utility.
138 </para>
139-->
140
141 </sect2>
142
143 <sect2 role="content">
144 <title>Contents</title>
145
146 <segmentedlist>
147 <segtitle>Installed Program</segtitle>
148 <segtitle>Installed Libraries</segtitle>
149 <segtitle>Installed Directories</segtitle>
150
151 <!-- g-ir-doc-tool is installed if Mako and Markdown are present -->
152 <seglistitem>
153 <seg>
154 g-ir-annotation-tool, g-ir-compiler, g-ir-doc-tool,
155 g-ir-generate, g-ir-inspect, and g-ir-scanner
156 </seg>
157 <seg>
158 libgirepository-1.0.so and
159 _giscanner.&python3-lib-suffix;.so
160 </seg>
161 <seg>
162 /usr/include/gobject-introspection-1.0,
163 /usr/lib/girepository-1.0,
164 /usr/lib/gobject-introspection,
165 /usr/share/gir-1.0, and
166 /usr/share/gobject-introspection-1.0
167 </seg>
168 </seglistitem>
169 </segmentedlist>
170
171 <variablelist>
172 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
173 <?dbfo list-presentation="list"?>
174 <?dbhtml list-presentation="table"?>
175
176 <varlistentry id="g-ir-annotation-tool">
177 <term><command>g-ir-annotation-tool</command></term>
178 <listitem>
179 <para>
180 creates or extracts annotation data from GI typelibs
181 </para>
182 <indexterm zone="gobject-introspection g-ir-annotation-tool">
183 <primary sortas="b-g-ir-annotation-tool">g-ir-annotation-tool</primary>
184 </indexterm>
185 </listitem>
186 </varlistentry>
187
188 <varlistentry id="g-ir-compiler">
189 <term><command>g-ir-compiler</command></term>
190 <listitem>
191 <para>
192 converts one or more GIR files into one or more typelib
193 </para>
194 <indexterm zone="gobject-introspection g-ir-compiler">
195 <primary sortas="b-g-ir-compiler">g-ir-compiler</primary>
196 </indexterm>
197 </listitem>
198 </varlistentry>
199
200 <varlistentry id="g-ir-doc-tool">
201 <term><command>g-ir-doc-tool</command></term>
202 <listitem>
203 <para>
204 generates Mallard files that can be viewed with
205 <command>yelp</command> or rendered to HTML with
206 <command>yelp-build</command> from
207 <ulink url="&gnome-download-http;/yelp-tools">yelp-tools</ulink>
208 </para>
209 <indexterm zone="gobject-introspection g-ir-doc-tool">
210 <primary sortas="b-g-ir-doc-tool">g-ir-doc-tool</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 <varlistentry id="g-ir-inspect">
216 <term><command>g-ir-inspect</command></term>
217 <listitem>
218 <para>
219 is a utility that gives information about a GI typelib
220 </para>
221 <indexterm zone="gobject-introspection g-ir-inspect">
222 <primary sortas="b-g-ir-inspect">g-ir-inspect</primary>
223 </indexterm>
224 </listitem>
225 </varlistentry>
226
227 <varlistentry id="g-ir-generate">
228 <term><command>g-ir-generate</command></term>
229 <listitem>
230 <para>
231 is a GIR generator that uses the repository API
232 </para>
233 <indexterm zone="gobject-introspection g-ir-generate">
234 <primary sortas="b-g-ir-generate">g-ir-generate</primary>
235 </indexterm>
236 </listitem>
237 </varlistentry>
238
239 <varlistentry id="g-ir-scanner">
240 <term><command>g-ir-scanner</command></term>
241 <listitem>
242 <para>
243 is a tool which generates GIR XML files by parsing headers and
244 introspecting GObject based libraries
245 </para>
246 <indexterm zone="gobject-introspection g-ir-scanner">
247 <primary sortas="b-g-ir-scanner">g-ir-scanner</primary>
248 </indexterm>
249 </listitem>
250 </varlistentry>
251
252 <varlistentry id="libgirepository-1.0">
253 <term><filename class="libraryfile">libgirepository-1.0.so</filename></term>
254 <listitem>
255 <para>
256 provides an API to access the typelib metadata
257 </para>
258 <indexterm zone="gobject-introspection libgirepository-1.0">
259 <primary sortas="c-libgirepository-1.0">libgirepository-1.0.so</primary>
260 </indexterm>
261 </listitem>
262 </varlistentry>
263
264 </variablelist>
265
266 </sect2>
267
268</sect1>
Note: See TracBrowser for help on using the repository browser.