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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gimp3 gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 3531524 was 3531524, checked in by Randy McMurchy <randy@…>, 14 years ago

Updated all libffi dependencies to use the BLFS entity instead of external URLs, thanks to Juan Antonio Moreno Carmona for pointing this out

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

  • Property mode set to 100644
File size: 7.0 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 "&gnome-download-http;/gobject-introspection/0.6/gobject-introspection-&gobject-introspection-version;.tar.bz2">
8 <!ENTITY gobject-introspection-download-ftp "&gnome-download-ftp;/gobject-introspection/0.6/gobject-introspection-&gobject-introspection-version;.tar.bz2">
9 <!ENTITY gobject-introspection-md5sum "7ea9be9a347b5c408fd3c3907803de9b">
10 <!ENTITY gobject-introspection-size "745 KB">
11 <!ENTITY gobject-introspection-buildsize "20 MB">
12 <!ENTITY gobject-introspection-time "0.4 SBU">
13]>
14
15<sect1 id="gobject-introspection" xreflabel="gobject-introspection-&gobject-introspection-version;">
16 <?dbhtml filename="gobject-introspection.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>gobject-introspection-&gobject-introspection-version;</title>
24
25 <indexterm zone="gobject-introspection">
26 <primary sortas="a-gobject-introspection">gobject-introspection</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to gobject-introspection</title>
31
32 <para>The <application>gobject-introspection</application> package is used
33 to describe the APIs and collect them in a uniform, machine readable
34 format.</para>
35
36 &lfs65_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&gobject-introspection-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&gobject-introspection-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &gobject-introspection-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &gobject-introspection-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &gobject-introspection-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &gobject-introspection-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <bridgehead renderas="sect4">Required</bridgehead>
61 <para role="required"><xref linkend="glib2"/>,
62 <xref linkend="libffi"/> or <xref linkend="gcc"/> (build Java so that
63 <filename class='libraryfile'>libffi</filename> is built), and
64 <xref linkend="python"/></para>
65
66 <bridgehead renderas="sect4">Optional</bridgehead>
67 <para role="optional"><xref linkend="cairo"/> (Required for the tests) and
68 <xref linkend="gtk-doc"/></para>
69
70 <para condition="html" role="usernotes">User Notes:
71 <ulink url="&blfs-wiki;/gobject-introspection"/></para>
72
73 </sect2>
74
75 <sect2 role="installation">
76 <title>Installation of gobject-introspection</title>
77
78 <note>
79 <para>If you have Python-2.7 installed, issue the following command to
80 prevent a build failure:</para>
81<screen><userinput>sed -i 's/Importer:/Importer(None, None):/' \
82 giscanner/{sourcescanner,xmlwriter}.py</userinput></screen>
83 </note>
84
85 <para>Install <application>gobject-introspection</application> by running
86 the following commands:</para>
87
88<screen><userinput>./configure --prefix=/usr \
89 --disable-tests &amp;&amp;
90make</userinput></screen>
91
92 <para>To test the results, issue: <command>make check</command>.</para>
93
94 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
95
96<screen role="root"><userinput>make install</userinput></screen>
97
98 </sect2>
99
100 <sect2 role="commands">
101 <title>Command Explanations</title>
102
103 <para><parameter>--disable-tests</parameter>: This parameter disable test
104 libraries. Remove the parameter if you have <application>cairo</application>
105 installed and would like the tests to be performed.</para>
106
107 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
108 href="../../xincludes/gtk-doc-rebuild.xml"/>
109
110 </sect2>
111
112 <sect2 role="content">
113 <title>Contents</title>
114
115 <segmentedlist>
116 <segtitle>Installed Programs</segtitle>
117 <segtitle>Installed Libraries</segtitle>
118 <segtitle>Installed Directories</segtitle>
119
120 <seglistitem>
121 <seg>g-ir-compiler and g-ir-generate</seg>
122 <seg>_giscanner.{so,a} and libgirepository-1.0.{so,a}</seg>
123 <seg>/usr/{include/gobject-introspection-1.0,lib/{girepository-1.0,
124 gobject-introspection/giscanner},share/{gir-1.0,
125 gobject-introspection-1.0}}</seg>
126 </seglistitem>
127 </segmentedlist>
128
129 <variablelist>
130 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
131 <?dbfo list-presentation="list"?>
132 <?dbhtml list-presentation="table"?>
133
134 <varlistentry id="g-ir-compiler">
135 <term><command>g-ir-compiler</command></term>
136 <listitem>
137 <para>converts one or more GIR files into one or more typelib.</para>
138 <indexterm zone="gobject-introspection g-ir-compiler">
139 <primary sortas="b-g-ir-compiler">g-ir-compiler</primary>
140 </indexterm>
141 </listitem>
142 </varlistentry>
143
144 <varlistentry id="g-ir-scanner">
145 <term><command>g-ir-scanner</command></term>
146 <listitem>
147 <para>is a tool which generates GIR XML files by parsing headers and
148 introspecting GObject based libraries.</para>
149 <indexterm zone="gobject-introspection g-ir-scanner">
150 <primary sortas="b-g-ir-scanner">g-ir-scanner</primary>
151 </indexterm>
152 </listitem>
153 </varlistentry>
154
155 <varlistentry id="g-ir-generate">
156 <term><command>g-ir-generate</command></term>
157 <listitem>
158 <para>is a GIR generator, using the repository API.</para>
159 <indexterm zone="gobject-introspection g-ir-generate">
160 <primary sortas="b-g-ir-generate">g-ir-generate</primary>
161 </indexterm>
162 </listitem>
163 </varlistentry>
164
165 <varlistentry id="libgirepository-1.0">
166 <term><filename class='libraryfile'>libgirepository-1.0.{so,a}</filename></term>
167 <listitem>
168 <para>provides an API to access to the typelib metadata.</para>
169 <indexterm zone="gobject-introspection libgirepository-1.0">
170 <primary sortas="c-libgirepository-1.0">libgirepository-1.0.{so,a}</primary>
171 </indexterm>
172 </listitem>
173 </varlistentry>
174
175 <varlistentry id="libgirepository-everything-1.0">
176 <term><filename class='libraryfile'>libgirepository-everything-1.0.{so,a}</filename></term>
177 <listitem>
178 <para>provides an API to access to the typelib metadata.</para>
179 <indexterm zone="gobject-introspection libgirepository-everything-1.0">
180 <primary sortas="c-libgirepository-everything-1.0">libgirepository-everything-1.0.{so,a}</primary>
181 </indexterm>
182 </listitem>
183 </varlistentry>
184
185 </variablelist>
186
187 </sect2>
188
189</sect1>
Note: See TracBrowser for help on using the repository browser.