source: general/genlib/gobject-introspection.xml@ 683821c2

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt 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 683821c2 was 683821c2, checked in by Xi Ruoyao <xry111@…>, 3 years ago

update to harfbuzz-2.9.0, tag related font libs

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