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