source: general/genlib/gobject-introspection.xml@ 10f9bb45

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules 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 10f9bb45 was 10f9bb45, checked in by Fernando de Oliveira <fernando@…>, 8 years ago
  • summ-blfs-test.php: fix to reflect changes to summ-blfs.php.
  • Qt-5.5.1 and gobject-introspection-1.46.0: add Python-2.7.11 as required.
  • Update to iso-codes-3.63.
  • Update to unixODBC-2.3.4.
  • Update to swig-3.0.8.
  • Update to qemu-2.5.0.

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

  • Property mode set to 100644
File size: 7.3 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
[19bcba7d]8 "&gnome-download-http;/gobject-introspection/1.46/gobject-introspection-&gobject-introspection-version;.tar.xz">
[0d7900a]9 <!ENTITY gobject-introspection-download-ftp
[19bcba7d]10 "&gnome-download-ftp;/gobject-introspection/1.46/gobject-introspection-&gobject-introspection-version;.tar.xz">
11 <!ENTITY gobject-introspection-md5sum "adb40a31c7c80b65b0f4c8fd71b493dc">
[04bf697b]12 <!ENTITY gobject-introspection-size "1.3 MB">
[19bcba7d]13 <!ENTITY gobject-introspection-buildsize "52 MB (with documentation, add 6 MB for tests)">
14 <!ENTITY gobject-introspection-time "0.2 SBU (additional 0.5 SBU for documentation and 0.4 SBU for the 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 <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">
[7ded7e3]32 <title>Introduction to GObject Introspection</title>
[9d3d8a8]33
[7ded7e3]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>
[9d3d8a8]39
[f3429309]40 &lfs78_checked;
[27e62762]41
[9d3d8a8]42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
[7ded7e3]45 <para>
46 Download (HTTP): <ulink url="&gobject-introspection-download-http;"/>
47 </para>
[9d3d8a8]48 </listitem>
49 <listitem>
[7ded7e3]50 <para>
51 Download (FTP): <ulink url="&gobject-introspection-download-ftp;"/>
52 </para>
[9d3d8a8]53 </listitem>
54 <listitem>
[7ded7e3]55 <para>
56 Download MD5 sum: &gobject-introspection-md5sum;
57 </para>
[9d3d8a8]58 </listitem>
59 <listitem>
[7ded7e3]60 <para>
61 Download size: &gobject-introspection-size;
62 </para>
[9d3d8a8]63 </listitem>
64 <listitem>
[7ded7e3]65 <para>
66 Estimated disk space required: &gobject-introspection-buildsize;
67 </para>
[9d3d8a8]68 </listitem>
69 <listitem>
[7ded7e3]70 <para>
71 Estimated build time: &gobject-introspection-time;
72 </para>
[9d3d8a8]73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect4">Required</bridgehead>
[b8a081c]77 <para role="required">
[10f9bb45]78 <xref linkend="glib2"/> and
79 <xref linkend="python2"/>
[b8a081c]80 </para>
[9d3d8a8]81
82 <bridgehead renderas="sect4">Optional</bridgehead>
[b6a2a0e]83 <para role="optional">
[4dbf88b]84 <xref linkend="cairo"/> (required for the tests),
85 <xref linkend="gtk-doc"/> and
86 <ulink url="http://www.makotemplates.org/">Mako</ulink>
[b6a2a0e]87 </para>
[9d3d8a8]88
89 <para condition="html" role="usernotes">User Notes:
[7ded7e3]90 <ulink url="&blfs-wiki;/gobject-introspection"/>
91 </para>
[9d3d8a8]92 </sect2>
93
94 <sect2 role="installation">
[7ded7e3]95 <title>Installation of GObject Introspection</title>
[9d3d8a8]96
[7ded7e3]97 <para>
98 Install <application>GObject Introspection</application> by running
99 the following commands:
100 </para>
[9d3d8a8]101
[d3e019dc]102<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
[9d3d8a8]103make</userinput></screen>
104
[7ded7e3]105 <para>
106 To test the results, issue: <command>make check</command>.
107 </para>
[9d3d8a8]108
[7ded7e3]109 <para>
110 Now, as the <systemitem class="username">root</systemitem> user:
111 </para>
[9d3d8a8]112
113<screen role="root"><userinput>make install</userinput></screen>
114
115 </sect2>
116
117 <sect2 role="commands">
118 <title>Command Explanations</title>
119
[e05cd03f]120 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[7ded7e3]121 href="../../xincludes/static-libraries.xml"/>
[9d3d8a8]122
[e977805c]123 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[7ded7e3]124 href="../../xincludes/gtk-doc-rebuild.xml"/>
[e977805c]125
[9d3d8a8]126 </sect2>
127
128 <sect2 role="content">
129 <title>Contents</title>
130
131 <segmentedlist>
[7ded7e3]132 <segtitle>Installed Program</segtitle>
[9d3d8a8]133 <segtitle>Installed Libraries</segtitle>
134 <segtitle>Installed Directories</segtitle>
135
[4dbf88b]136 <!-- g-ir-doc-tool is installed if mako is presnet -->
[9d3d8a8]137 <seglistitem>
[e977805c]138 <seg>
[4dbf88b]139 g-ir-annotation-tool, g-ir-compiler, g-ir-doc-tool,
140 g-ir-generate, and g-ir-scanner
[e977805c]141 </seg>
142 <seg>
[04bf697b]143 libgirepository-1.0.so and
144 /usr/lib/gobject-introspection/giscanner/_giscanner.so
[e977805c]145 </seg>
[0913f48]146 <seg>
147 /usr/include/gobject-introspection-1.0,
[d3e019dc]148 /usr/lib/girepository-1.0,
149 /usr/lib/gobject-introspection,
[d8fe3e58]150 /usr/share/gir-1.0, and
151 /usr/share/gobject-introspection-1.0
[b6a2a0e]152 </seg>
[9d3d8a8]153 </seglistitem>
154 </segmentedlist>
155
156 <variablelist>
157 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
158 <?dbfo list-presentation="list"?>
159 <?dbhtml list-presentation="table"?>
160
161 <varlistentry id="g-ir-compiler">
162 <term><command>g-ir-compiler</command></term>
163 <listitem>
[7ded7e3]164 <para>
165 converts one or more GIR files into one or more typelib.
166 </para>
[9d3d8a8]167 <indexterm zone="gobject-introspection g-ir-compiler">
168 <primary sortas="b-g-ir-compiler">g-ir-compiler</primary>
169 </indexterm>
170 </listitem>
171 </varlistentry>
172
[7e2908c]173 <varlistentry id="g-ir-doc-tool">
174 <term><command>g-ir-doc-tool</command></term>
175 <listitem>
176 <para>
177 generates Mallard files that can be viewed with
178 <command>yelp</command> or rendered to HTML with
179 <command>yelp-build</command> from <ulink
180 url="http://ftp.acc.umu.se/pub/gnome/sources/yelp-tools/yelp-tools">yelp-tools</ulink>.
181 </para>
182 <indexterm zone="gobject-introspection g-ir-doc-tool">
183 <primary sortas="b-g-ir-doc-tool">g-ir-doc-tool</primary>
184 </indexterm>
185 </listitem>
186 </varlistentry>
187
[9d3d8a8]188 <varlistentry id="g-ir-scanner">
189 <term><command>g-ir-scanner</command></term>
190 <listitem>
[7ded7e3]191 <para>
192 is a tool which generates GIR XML files by parsing headers and
193 introspecting GObject based libraries.
194 </para>
[9d3d8a8]195 <indexterm zone="gobject-introspection g-ir-scanner">
196 <primary sortas="b-g-ir-scanner">g-ir-scanner</primary>
197 </indexterm>
198 </listitem>
199 </varlistentry>
200
201 <varlistentry id="g-ir-generate">
202 <term><command>g-ir-generate</command></term>
203 <listitem>
[7ded7e3]204 <para>
205 is a GIR generator using the repository API.
206 </para>
[9d3d8a8]207 <indexterm zone="gobject-introspection g-ir-generate">
208 <primary sortas="b-g-ir-generate">g-ir-generate</primary>
209 </indexterm>
210 </listitem>
211 </varlistentry>
212
213 <varlistentry id="libgirepository-1.0">
[d3e019dc]214 <term><filename class="libraryfile">libgirepository-1.0.so</filename></term>
[9d3d8a8]215 <listitem>
[7ded7e3]216 <para>
217 provides an API to access to the typelib metadata.
218 </para>
[9d3d8a8]219 <indexterm zone="gobject-introspection libgirepository-1.0">
[e977805c]220 <primary sortas="c-libgirepository-1.0">libgirepository-1.0.so</primary>
[9d3d8a8]221 </indexterm>
222 </listitem>
223 </varlistentry>
224
225 </variablelist>
226
227 </sect2>
228
229</sect1>
Note: See TracBrowser for help on using the repository browser.