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

12.1 12.2 gimp3 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/for-12.3 xry111/llvm18 xry111/spidermonkey128
Last change on this file since d7f9c0ec was b9098ed, checked in by Douglas R. Reno <renodr@…>, 12 months ago

gobject-introspection: forgotten tweak - Cairo and doctool are now
autodetected.

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