source: general/genlib/gobject-introspection.xml@ 893d3e5a

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 893d3e5a was 048071e, checked in by Douglas R. Reno <renodr@…>, 17 months ago

gobject-introspection: Tweaks regarding gi-doc-tool.

Add Markdown as an optional dependency since gi-doc-tool needs it

Clarify text and comments regarding gi-doc-tool

  • Property mode set to 100644
File size: 8.9 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
[71b368b]8 "&gnome-download-http;/gobject-introspection/1.74/gobject-introspection-&gobject-introspection-version;.tar.xz">
[0d7900a]9 <!ENTITY gobject-introspection-download-ftp
[71b368b]10 "&gnome-download-ftp;/gobject-introspection/1.74/gobject-introspection-&gobject-introspection-version;.tar.xz">
11 <!ENTITY gobject-introspection-md5sum "ed4e290c5ca8737a62c9a7f5347ae10d">
[eebcdb57]12 <!ENTITY gobject-introspection-size "1.0 MB">
[91548d4f]13 <!ENTITY gobject-introspection-buildsize "42 MB (with tests)">
[eebcdb57]14 <!ENTITY gobject-introspection-time "0.2 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
[ce1dd9df]35 &lfs112_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"/>
[71b368b]85 <!--<ulink url="https://pypi.org/project/Markdown/">Markdown</ulink> (to satisfy one test)-->
[c4a9102b]86 <!-- There was talk of this being required in the release notes. Can someone
[8558044]87 who doesn't have this installed verify?
[a8ea305]88 It is only needed for one test. bdubbs March 3, 2019
[71b368b]89 I do not have Markdown and all tests pass for 1.74.0. Sep 2022
[048071e]90 More investigation notes that Markdown and Mako are needed for gi-doc-tool.
91 January 2023
[a8ea305]92 -->
[b6a2a0e]93 </para>
[9d3d8a8]94
95 <para condition="html" role="usernotes">User Notes:
[7ded7e3]96 <ulink url="&blfs-wiki;/gobject-introspection"/>
97 </para>
[9d3d8a8]98 </sect2>
99
100 <sect2 role="installation">
[7ded7e3]101 <title>Installation of GObject Introspection</title>
[9d3d8a8]102
[7ded7e3]103 <para>
104 Install <application>GObject Introspection</application> by running
105 the following commands:
106 </para>
[9d3d8a8]107
[a8ea305]108<screen><userinput>mkdir build &amp;&amp;
[4a61228]109cd build &amp;&amp;
[a8ea305]110
[20f070d8]111meson --prefix=/usr --buildtype=release .. &amp;&amp;
[a8ea305]112ninja</userinput></screen>
[9d3d8a8]113
[7ded7e3]114 <para>
[1c7adc0]115 To test the results, issue: <command>ninja test</command>.
[7ded7e3]116 </para>
[9d3d8a8]117
[7ded7e3]118 <para>
119 Now, as the <systemitem class="username">root</systemitem> user:
120 </para>
[9d3d8a8]121
[a8ea305]122<screen role="root"><userinput>ninja install</userinput></screen>
[9d3d8a8]123
124 </sect2>
125
126 <sect2 role="commands">
127 <title>Command Explanations</title>
128
[20f070d8]129 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
130 href="../../xincludes/meson-buildtype-release.xml"/>
131
[d56e7df]132 <para>
[8558044]133 <option>-Dgtk_doc=true</option>: Build and install
[d56e7df]134 the documentation.
135 </para>
[9d3d8a8]136
[d56e7df]137 <para>
[55e121da]138 <option>-Dcairo=enabled</option>: Use cairo for tests.
[d56e7df]139 </para>
[e977805c]140
[d56e7df]141 <para>
[8558044]142 <option>-Ddoctool=enabled</option>: Install g-ir-doc-tool
[048071e]143 and run related tests. You must have
144 <xref linkend="Mako" role="nodep"/> and
145 <xref linkend="markdown" role="nodep"/> installed in order
146 to install this utility.
[d56e7df]147 </para>
[c34cb2e5]148
[9d3d8a8]149 </sect2>
150
151 <sect2 role="content">
152 <title>Contents</title>
153
154 <segmentedlist>
[7ded7e3]155 <segtitle>Installed Program</segtitle>
[9d3d8a8]156 <segtitle>Installed Libraries</segtitle>
157 <segtitle>Installed Directories</segtitle>
158
[048071e]159 <!-- g-ir-doc-tool is installed if Mako and Markdown are present -->
[9d3d8a8]160 <seglistitem>
[e977805c]161 <seg>
[4dbf88b]162 g-ir-annotation-tool, g-ir-compiler, g-ir-doc-tool,
[8b9cf4c]163 g-ir-generate, g-ir-inspect, and g-ir-scanner
[e977805c]164 </seg>
165 <seg>
[04bf697b]166 libgirepository-1.0.so and
[d94bd7f4]167 _giscanner.&python3-lib-suffix;.so
[e977805c]168 </seg>
[0913f48]169 <seg>
170 /usr/include/gobject-introspection-1.0,
[d3e019dc]171 /usr/lib/girepository-1.0,
172 /usr/lib/gobject-introspection,
[d8fe3e58]173 /usr/share/gir-1.0, and
174 /usr/share/gobject-introspection-1.0
[b6a2a0e]175 </seg>
[9d3d8a8]176 </seglistitem>
177 </segmentedlist>
178
179 <variablelist>
180 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
181 <?dbfo list-presentation="list"?>
182 <?dbhtml list-presentation="table"?>
183
[56c646a5]184 <varlistentry id="g-ir-annotation-tool">
185 <term><command>g-ir-annotation-tool</command></term>
186 <listitem>
187 <para>
[4c24eb0a]188 creates or extracts annotation data from GI typelibs
[56c646a5]189 </para>
190 <indexterm zone="gobject-introspection g-ir-annotation-tool">
191 <primary sortas="b-g-ir-annotation-tool">g-ir-annotation-tool</primary>
192 </indexterm>
193 </listitem>
194 </varlistentry>
195
[9d3d8a8]196 <varlistentry id="g-ir-compiler">
197 <term><command>g-ir-compiler</command></term>
198 <listitem>
[7ded7e3]199 <para>
[4c24eb0a]200 converts one or more GIR files into one or more typelib
[7ded7e3]201 </para>
[9d3d8a8]202 <indexterm zone="gobject-introspection g-ir-compiler">
203 <primary sortas="b-g-ir-compiler">g-ir-compiler</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
207
[7e2908c]208 <varlistentry id="g-ir-doc-tool">
209 <term><command>g-ir-doc-tool</command></term>
210 <listitem>
211 <para>
212 generates Mallard files that can be viewed with
213 <command>yelp</command> or rendered to HTML with
[4c24eb0a]214 <command>yelp-build</command> from
[5b1d11c]215 <ulink url="&gnome-download-http;/yelp-tools">yelp-tools</ulink>
[7e2908c]216 </para>
217 <indexterm zone="gobject-introspection g-ir-doc-tool">
218 <primary sortas="b-g-ir-doc-tool">g-ir-doc-tool</primary>
219 </indexterm>
220 </listitem>
221 </varlistentry>
222
[0797528]223 <varlistentry id="g-ir-inspect">
224 <term><command>g-ir-inspect</command></term>
225 <listitem>
226 <para>
[4c24eb0a]227 is a utility that gives information about a GI typelib
[0797528]228 </para>
229 <indexterm zone="gobject-introspection g-ir-inspect">
230 <primary sortas="b-g-ir-inspect">g-ir-inspect</primary>
231 </indexterm>
232 </listitem>
233 </varlistentry>
234
[8b9cf4c]235 <varlistentry id="g-ir-generate">
236 <term><command>g-ir-generate</command></term>
[9d3d8a8]237 <listitem>
[7ded7e3]238 <para>
[4c24eb0a]239 is a GIR generator that uses the repository API
[7ded7e3]240 </para>
[8b9cf4c]241 <indexterm zone="gobject-introspection g-ir-generate">
242 <primary sortas="b-g-ir-generate">g-ir-generate</primary>
[9d3d8a8]243 </indexterm>
244 </listitem>
245 </varlistentry>
246
[8b9cf4c]247 <varlistentry id="g-ir-scanner">
248 <term><command>g-ir-scanner</command></term>
[9d3d8a8]249 <listitem>
[7ded7e3]250 <para>
[8b9cf4c]251 is a tool which generates GIR XML files by parsing headers and
[4c24eb0a]252 introspecting GObject based libraries
[7ded7e3]253 </para>
[8b9cf4c]254 <indexterm zone="gobject-introspection g-ir-scanner">
255 <primary sortas="b-g-ir-scanner">g-ir-scanner</primary>
[9d3d8a8]256 </indexterm>
257 </listitem>
258 </varlistentry>
259
260 <varlistentry id="libgirepository-1.0">
[d3e019dc]261 <term><filename class="libraryfile">libgirepository-1.0.so</filename></term>
[9d3d8a8]262 <listitem>
[7ded7e3]263 <para>
[4c24eb0a]264 provides an API to access the typelib metadata
[7ded7e3]265 </para>
[9d3d8a8]266 <indexterm zone="gobject-introspection libgirepository-1.0">
[e977805c]267 <primary sortas="c-libgirepository-1.0">libgirepository-1.0.so</primary>
[9d3d8a8]268 </indexterm>
269 </listitem>
270 </varlistentry>
271
272 </variablelist>
273
274 </sect2>
275
276</sect1>
Note: See TracBrowser for help on using the repository browser.