2009-10-08 18:59:45 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2013-02-12 02:51:17 +08:00
|
|
|
<!ENTITY gobject-introspection-download-http
|
2018-09-05 22:47:11 +08:00
|
|
|
"&gnome-download-http;/gobject-introspection/1.58/gobject-introspection-&gobject-introspection-version;.tar.xz">
|
2013-02-12 02:51:17 +08:00
|
|
|
<!ENTITY gobject-introspection-download-ftp
|
2018-09-05 22:47:11 +08:00
|
|
|
"&gnome-download-ftp;/gobject-introspection/1.58/gobject-introspection-&gobject-introspection-version;.tar.xz">
|
2018-12-12 01:30:30 +08:00
|
|
|
<!ENTITY gobject-introspection-md5sum "8479d6c543173721ce948484d0cd1d64">
|
2017-03-22 03:03:10 +08:00
|
|
|
<!ENTITY gobject-introspection-size "1.3 MB">
|
2018-09-05 06:25:30 +08:00
|
|
|
<!ENTITY gobject-introspection-buildsize "38 MB (add 7 MB for tests)">
|
2017-10-08 08:13:40 +08:00
|
|
|
<!ENTITY gobject-introspection-time "0.3 SBU (add 0.3 SBU for tests)">
|
2009-10-08 18:59:45 +08:00
|
|
|
]>
|
|
|
|
|
|
|
|
<sect1 id="gobject-introspection" xreflabel="gobject-introspection-&gobject-introspection-version;">
|
|
|
|
<?dbhtml filename="gobject-introspection.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>gobject-introspection-&gobject-introspection-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="gobject-introspection">
|
|
|
|
<primary sortas="a-gobject-introspection">gobject-introspection</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
2012-05-17 00:39:28 +08:00
|
|
|
<title>Introduction to GObject Introspection</title>
|
2009-10-08 18:59:45 +08:00
|
|
|
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
The <application>GObject Introspection</application> is used
|
|
|
|
to describe the program APIs and collect them in a uniform,
|
|
|
|
machine readable format.
|
|
|
|
</para>
|
2009-10-08 18:59:45 +08:00
|
|
|
|
2018-08-17 08:08:56 +08:00
|
|
|
&lfs83_checked;
|
2009-10-10 21:08:15 +08:00
|
|
|
|
2009-10-08 18:59:45 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&gobject-introspection-download-http;"/>
|
|
|
|
</para>
|
2009-10-08 18:59:45 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&gobject-introspection-download-ftp;"/>
|
|
|
|
</para>
|
2009-10-08 18:59:45 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Download MD5 sum: &gobject-introspection-md5sum;
|
|
|
|
</para>
|
2009-10-08 18:59:45 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Download size: &gobject-introspection-size;
|
|
|
|
</para>
|
2009-10-08 18:59:45 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Estimated disk space required: &gobject-introspection-buildsize;
|
|
|
|
</para>
|
2009-10-08 18:59:45 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Estimated build time: &gobject-introspection-time;
|
|
|
|
</para>
|
2009-10-08 18:59:45 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
2012-04-17 00:14:42 +08:00
|
|
|
<para role="required">
|
2017-10-22 15:05:55 +08:00
|
|
|
<xref linkend="glib2"/>
|
2012-04-17 00:14:42 +08:00
|
|
|
</para>
|
2009-10-08 18:59:45 +08:00
|
|
|
|
2017-10-23 01:39:31 +08:00
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
|
|
<para role="recommended">
|
|
|
|
<xref linkend="which"/>
|
|
|
|
<!-- If - -with-python is used, configure runs "which $PYTHON", where PYTHON
|
|
|
|
is set to the argument of the switch. Somewhat silly because the presence
|
|
|
|
of which is not tested... -->
|
|
|
|
</para>
|
|
|
|
|
2009-10-08 18:59:45 +08:00
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2011-12-17 03:54:18 +08:00
|
|
|
<para role="optional">
|
2013-06-29 04:04:13 +08:00
|
|
|
<xref linkend="cairo"/> (required for the tests),
|
2017-10-22 15:05:55 +08:00
|
|
|
<xref linkend="gtk-doc"/>,
|
2018-09-06 04:33:25 +08:00
|
|
|
<xref linkend="Mako"/>,
|
|
|
|
<xref linkend="python2"/>, and
|
|
|
|
<ulink url="https://pypi.org/project/Markdown/">Markdown</ulink>
|
|
|
|
<!-- There was talk of this being required in the release notes. Can someone
|
|
|
|
who doesn't have this installed verify? -->
|
2011-12-17 03:54:18 +08:00
|
|
|
</para>
|
2009-10-08 18:59:45 +08:00
|
|
|
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
2012-05-17 00:39:28 +08:00
|
|
|
<ulink url="&blfs-wiki;/gobject-introspection"/>
|
|
|
|
</para>
|
2009-10-08 18:59:45 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
2012-05-17 00:39:28 +08:00
|
|
|
<title>Installation of GObject Introspection</title>
|
2009-10-08 18:59:45 +08:00
|
|
|
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Install <application>GObject Introspection</application> by running
|
|
|
|
the following commands:
|
|
|
|
</para>
|
2009-10-08 18:59:45 +08:00
|
|
|
|
2017-10-22 16:08:20 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr \
|
|
|
|
--disable-static \
|
|
|
|
--with-python=/usr/bin/python3 &&
|
2009-10-08 18:59:45 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
To test the results, issue: <command>make check</command>.
|
2018-09-05 06:25:30 +08:00
|
|
|
<!--One test, Regress-1.0.gir, is known to fail with glibc-2.28.-->
|
2018-08-10 00:31:22 +08:00
|
|
|
<!-- This worked fine in 2.27, but is broken again in 2.28. -->
|
2018-09-05 06:25:30 +08:00
|
|
|
<!-- This works again with glibc 2.28 and gi 1.58.0 -->
|
2012-05-17 00:39:28 +08:00
|
|
|
</para>
|
2009-10-08 18:59:45 +08:00
|
|
|
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
2009-10-08 18:59:45 +08:00
|
|
|
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2010-04-22 02:48:34 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
2012-05-17 00:39:28 +08:00
|
|
|
href="../../xincludes/static-libraries.xml"/>
|
2009-10-08 18:59:45 +08:00
|
|
|
|
2012-03-31 00:46:32 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
2012-05-17 00:39:28 +08:00
|
|
|
href="../../xincludes/gtk-doc-rebuild.xml"/>
|
2012-03-31 00:46:32 +08:00
|
|
|
|
2017-10-22 16:08:20 +08:00
|
|
|
<para><parameter>--with-python=/usr/bin/python3</parameter>: ensure the
|
|
|
|
Python-3.x interpreter is used instead of Python-2.x if installed.</para>
|
|
|
|
|
2009-10-08 18:59:45 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
2012-05-17 00:39:28 +08:00
|
|
|
<segtitle>Installed Program</segtitle>
|
2009-10-08 18:59:45 +08:00
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
2013-06-29 04:04:13 +08:00
|
|
|
<!-- g-ir-doc-tool is installed if mako is presnet -->
|
2009-10-08 18:59:45 +08:00
|
|
|
<seglistitem>
|
2012-03-31 00:46:32 +08:00
|
|
|
<seg>
|
2013-06-29 04:04:13 +08:00
|
|
|
g-ir-annotation-tool, g-ir-compiler, g-ir-doc-tool,
|
2016-09-21 07:16:24 +08:00
|
|
|
g-ir-inspect, g-ir-generate, and g-ir-scanner
|
2012-03-31 00:46:32 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2014-03-28 06:37:48 +08:00
|
|
|
libgirepository-1.0.so and
|
|
|
|
/usr/lib/gobject-introspection/giscanner/_giscanner.so
|
2012-03-31 00:46:32 +08:00
|
|
|
</seg>
|
2012-03-31 03:22:43 +08:00
|
|
|
<seg>
|
|
|
|
/usr/include/gobject-introspection-1.0,
|
2012-09-27 03:33:59 +08:00
|
|
|
/usr/lib/girepository-1.0,
|
|
|
|
/usr/lib/gobject-introspection,
|
2013-06-29 02:45:44 +08:00
|
|
|
/usr/share/gir-1.0, and
|
|
|
|
/usr/share/gobject-introspection-1.0
|
2011-12-17 03:54:18 +08:00
|
|
|
</seg>
|
2009-10-08 18:59:45 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
2017-09-13 05:29:02 +08:00
|
|
|
<varlistentry id="g-ir-annotation-tool">
|
|
|
|
<term><command>g-ir-annotation-tool</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
creates or extracts annotation data from GI typelibs.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="gobject-introspection g-ir-annotation-tool">
|
|
|
|
<primary sortas="b-g-ir-annotation-tool">g-ir-annotation-tool</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2009-10-08 18:59:45 +08:00
|
|
|
<varlistentry id="g-ir-compiler">
|
|
|
|
<term><command>g-ir-compiler</command></term>
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
converts one or more GIR files into one or more typelib.
|
|
|
|
</para>
|
2009-10-08 18:59:45 +08:00
|
|
|
<indexterm zone="gobject-introspection g-ir-compiler">
|
|
|
|
<primary sortas="b-g-ir-compiler">g-ir-compiler</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2015-05-26 23:08:46 +08:00
|
|
|
<varlistentry id="g-ir-doc-tool">
|
|
|
|
<term><command>g-ir-doc-tool</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
generates Mallard files that can be viewed with
|
|
|
|
<command>yelp</command> or rendered to HTML with
|
|
|
|
<command>yelp-build</command> from <ulink
|
2017-03-09 04:28:20 +08:00
|
|
|
url="http://ftp.acc.umu.se/pub/gnome/sources/yelp-tools">yelp-tools</ulink>.
|
2015-05-26 23:08:46 +08:00
|
|
|
</para>
|
|
|
|
<indexterm zone="gobject-introspection g-ir-doc-tool">
|
|
|
|
<primary sortas="b-g-ir-doc-tool">g-ir-doc-tool</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2016-09-21 07:16:24 +08:00
|
|
|
<varlistentry id="g-ir-inspect">
|
|
|
|
<term><command>g-ir-inspect</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a utility that gives information about a GI typelib.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="gobject-introspection g-ir-inspect">
|
|
|
|
<primary sortas="b-g-ir-inspect">g-ir-inspect</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2009-10-08 18:59:45 +08:00
|
|
|
<varlistentry id="g-ir-scanner">
|
|
|
|
<term><command>g-ir-scanner</command></term>
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
is a tool which generates GIR XML files by parsing headers and
|
|
|
|
introspecting GObject based libraries.
|
|
|
|
</para>
|
2009-10-08 18:59:45 +08:00
|
|
|
<indexterm zone="gobject-introspection g-ir-scanner">
|
|
|
|
<primary sortas="b-g-ir-scanner">g-ir-scanner</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="g-ir-generate">
|
|
|
|
<term><command>g-ir-generate</command></term>
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
2016-09-21 07:16:24 +08:00
|
|
|
is a GIR generator that uses the repository API.
|
2012-05-17 00:39:28 +08:00
|
|
|
</para>
|
2009-10-08 18:59:45 +08:00
|
|
|
<indexterm zone="gobject-introspection g-ir-generate">
|
|
|
|
<primary sortas="b-g-ir-generate">g-ir-generate</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="libgirepository-1.0">
|
2012-09-27 03:33:59 +08:00
|
|
|
<term><filename class="libraryfile">libgirepository-1.0.so</filename></term>
|
2009-10-08 18:59:45 +08:00
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
2016-09-21 07:16:24 +08:00
|
|
|
provides an API to access the typelib metadata.
|
2012-05-17 00:39:28 +08:00
|
|
|
</para>
|
2009-10-08 18:59:45 +08:00
|
|
|
<indexterm zone="gobject-introspection libgirepository-1.0">
|
2012-03-31 00:46:32 +08:00
|
|
|
<primary sortas="c-libgirepository-1.0">libgirepository-1.0.so</primary>
|
2009-10-08 18:59:45 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|