[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
|
---|
[2d7a4fcf] | 8 | "&gnome-download-http;/gobject-introspection/1.56/gobject-introspection-&gobject-introspection-version;.tar.xz">
|
---|
[0d7900a] | 9 | <!ENTITY gobject-introspection-download-ftp
|
---|
[2d7a4fcf] | 10 | "&gnome-download-ftp;/gobject-introspection/1.56/gobject-introspection-&gobject-introspection-version;.tar.xz">
|
---|
[ef9dcfb] | 11 | <!ENTITY gobject-introspection-md5sum "62e5f5685b8d9752fdeaf17c057d53d1">
|
---|
[fec3659] | 12 | <!ENTITY gobject-introspection-size "1.3 MB">
|
---|
[140a74cd] | 13 | <!ENTITY gobject-introspection-buildsize "39 MB (add 13 MB for tests)">
|
---|
| 14 | <!ENTITY gobject-introspection-time "0.3 SBU (add 0.3 SBU for 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 |
|
---|
[9e629a4] | 40 | &lfs83_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">
|
---|
[ed9b0761] | 78 | <xref linkend="glib2"/>
|
---|
[b8a081c] | 79 | </para>
|
---|
[9d3d8a8] | 80 |
|
---|
[9390c77a] | 81 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 82 | <para role="recommended">
|
---|
| 83 | <xref linkend="which"/>
|
---|
| 84 | <!-- If - -with-python is used, configure runs "which $PYTHON", where PYTHON
|
---|
| 85 | is set to the argument of the switch. Somewhat silly because the presence
|
---|
| 86 | of which is not tested... -->
|
---|
| 87 | </para>
|
---|
| 88 |
|
---|
[9d3d8a8] | 89 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[b6a2a0e] | 90 | <para role="optional">
|
---|
[4dbf88b] | 91 | <xref linkend="cairo"/> (required for the tests),
|
---|
[ed9b0761] | 92 | <xref linkend="gtk-doc"/>,
|
---|
| 93 | <xref linkend="Mako"/>, and
|
---|
| 94 | <xref linkend="python2"/>
|
---|
[b6a2a0e] | 95 | </para>
|
---|
[9d3d8a8] | 96 |
|
---|
| 97 | <para condition="html" role="usernotes">User Notes:
|
---|
[7ded7e3] | 98 | <ulink url="&blfs-wiki;/gobject-introspection"/>
|
---|
| 99 | </para>
|
---|
[9d3d8a8] | 100 | </sect2>
|
---|
| 101 |
|
---|
| 102 | <sect2 role="installation">
|
---|
[7ded7e3] | 103 | <title>Installation of GObject Introspection</title>
|
---|
[9d3d8a8] | 104 |
|
---|
[7ded7e3] | 105 | <para>
|
---|
| 106 | Install <application>GObject Introspection</application> by running
|
---|
| 107 | the following commands:
|
---|
| 108 | </para>
|
---|
[9d3d8a8] | 109 |
|
---|
[c34cb2e5] | 110 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 111 | --disable-static \
|
---|
| 112 | --with-python=/usr/bin/python3 &&
|
---|
[9d3d8a8] | 113 | make</userinput></screen>
|
---|
| 114 |
|
---|
[7ded7e3] | 115 | <para>
|
---|
| 116 | To test the results, issue: <command>make check</command>.
|
---|
[03bb997] | 117 | One test, Regress-1.0.gir, is known to fail with glibc-2.28.
|
---|
| 118 | <!-- This worked fine in 2.27, but is broken again in 2.28. -->
|
---|
[7ded7e3] | 119 | </para>
|
---|
[9d3d8a8] | 120 |
|
---|
[7ded7e3] | 121 | <para>
|
---|
| 122 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 123 | </para>
|
---|
[9d3d8a8] | 124 |
|
---|
| 125 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 126 |
|
---|
| 127 | </sect2>
|
---|
| 128 |
|
---|
| 129 | <sect2 role="commands">
|
---|
| 130 | <title>Command Explanations</title>
|
---|
| 131 |
|
---|
[e05cd03f] | 132 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7ded7e3] | 133 | href="../../xincludes/static-libraries.xml"/>
|
---|
[9d3d8a8] | 134 |
|
---|
[e977805c] | 135 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7ded7e3] | 136 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[e977805c] | 137 |
|
---|
[c34cb2e5] | 138 | <para><parameter>--with-python=/usr/bin/python3</parameter>: ensure the
|
---|
| 139 | Python-3.x interpreter is used instead of Python-2.x if installed.</para>
|
---|
| 140 |
|
---|
[9d3d8a8] | 141 | </sect2>
|
---|
| 142 |
|
---|
| 143 | <sect2 role="content">
|
---|
| 144 | <title>Contents</title>
|
---|
| 145 |
|
---|
| 146 | <segmentedlist>
|
---|
[7ded7e3] | 147 | <segtitle>Installed Program</segtitle>
|
---|
[9d3d8a8] | 148 | <segtitle>Installed Libraries</segtitle>
|
---|
| 149 | <segtitle>Installed Directories</segtitle>
|
---|
| 150 |
|
---|
[4dbf88b] | 151 | <!-- g-ir-doc-tool is installed if mako is presnet -->
|
---|
[9d3d8a8] | 152 | <seglistitem>
|
---|
[e977805c] | 153 | <seg>
|
---|
[4dbf88b] | 154 | g-ir-annotation-tool, g-ir-compiler, g-ir-doc-tool,
|
---|
[0797528] | 155 | g-ir-inspect, g-ir-generate, and g-ir-scanner
|
---|
[e977805c] | 156 | </seg>
|
---|
| 157 | <seg>
|
---|
[04bf697b] | 158 | libgirepository-1.0.so and
|
---|
| 159 | /usr/lib/gobject-introspection/giscanner/_giscanner.so
|
---|
[e977805c] | 160 | </seg>
|
---|
[0913f48] | 161 | <seg>
|
---|
| 162 | /usr/include/gobject-introspection-1.0,
|
---|
[d3e019dc] | 163 | /usr/lib/girepository-1.0,
|
---|
| 164 | /usr/lib/gobject-introspection,
|
---|
[d8fe3e58] | 165 | /usr/share/gir-1.0, and
|
---|
| 166 | /usr/share/gobject-introspection-1.0
|
---|
[b6a2a0e] | 167 | </seg>
|
---|
[9d3d8a8] | 168 | </seglistitem>
|
---|
| 169 | </segmentedlist>
|
---|
| 170 |
|
---|
| 171 | <variablelist>
|
---|
| 172 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 173 | <?dbfo list-presentation="list"?>
|
---|
| 174 | <?dbhtml list-presentation="table"?>
|
---|
| 175 |
|
---|
[56c646a5] | 176 | <varlistentry id="g-ir-annotation-tool">
|
---|
| 177 | <term><command>g-ir-annotation-tool</command></term>
|
---|
| 178 | <listitem>
|
---|
| 179 | <para>
|
---|
| 180 | creates or extracts annotation data from GI typelibs.
|
---|
| 181 | </para>
|
---|
| 182 | <indexterm zone="gobject-introspection g-ir-annotation-tool">
|
---|
| 183 | <primary sortas="b-g-ir-annotation-tool">g-ir-annotation-tool</primary>
|
---|
| 184 | </indexterm>
|
---|
| 185 | </listitem>
|
---|
| 186 | </varlistentry>
|
---|
| 187 |
|
---|
[9d3d8a8] | 188 | <varlistentry id="g-ir-compiler">
|
---|
| 189 | <term><command>g-ir-compiler</command></term>
|
---|
| 190 | <listitem>
|
---|
[7ded7e3] | 191 | <para>
|
---|
| 192 | converts one or more GIR files into one or more typelib.
|
---|
| 193 | </para>
|
---|
[9d3d8a8] | 194 | <indexterm zone="gobject-introspection g-ir-compiler">
|
---|
| 195 | <primary sortas="b-g-ir-compiler">g-ir-compiler</primary>
|
---|
| 196 | </indexterm>
|
---|
| 197 | </listitem>
|
---|
| 198 | </varlistentry>
|
---|
| 199 |
|
---|
[7e2908c] | 200 | <varlistentry id="g-ir-doc-tool">
|
---|
| 201 | <term><command>g-ir-doc-tool</command></term>
|
---|
| 202 | <listitem>
|
---|
| 203 | <para>
|
---|
| 204 | generates Mallard files that can be viewed with
|
---|
| 205 | <command>yelp</command> or rendered to HTML with
|
---|
| 206 | <command>yelp-build</command> from <ulink
|
---|
[3bf58b9c] | 207 | url="http://ftp.acc.umu.se/pub/gnome/sources/yelp-tools">yelp-tools</ulink>.
|
---|
[7e2908c] | 208 | </para>
|
---|
| 209 | <indexterm zone="gobject-introspection g-ir-doc-tool">
|
---|
| 210 | <primary sortas="b-g-ir-doc-tool">g-ir-doc-tool</primary>
|
---|
| 211 | </indexterm>
|
---|
| 212 | </listitem>
|
---|
| 213 | </varlistentry>
|
---|
| 214 |
|
---|
[0797528] | 215 | <varlistentry id="g-ir-inspect">
|
---|
| 216 | <term><command>g-ir-inspect</command></term>
|
---|
| 217 | <listitem>
|
---|
| 218 | <para>
|
---|
| 219 | is a utility that gives information about a GI typelib.
|
---|
| 220 | </para>
|
---|
| 221 | <indexterm zone="gobject-introspection g-ir-inspect">
|
---|
| 222 | <primary sortas="b-g-ir-inspect">g-ir-inspect</primary>
|
---|
| 223 | </indexterm>
|
---|
| 224 | </listitem>
|
---|
| 225 | </varlistentry>
|
---|
| 226 |
|
---|
[9d3d8a8] | 227 | <varlistentry id="g-ir-scanner">
|
---|
| 228 | <term><command>g-ir-scanner</command></term>
|
---|
| 229 | <listitem>
|
---|
[7ded7e3] | 230 | <para>
|
---|
| 231 | is a tool which generates GIR XML files by parsing headers and
|
---|
| 232 | introspecting GObject based libraries.
|
---|
| 233 | </para>
|
---|
[9d3d8a8] | 234 | <indexterm zone="gobject-introspection g-ir-scanner">
|
---|
| 235 | <primary sortas="b-g-ir-scanner">g-ir-scanner</primary>
|
---|
| 236 | </indexterm>
|
---|
| 237 | </listitem>
|
---|
| 238 | </varlistentry>
|
---|
| 239 |
|
---|
| 240 | <varlistentry id="g-ir-generate">
|
---|
| 241 | <term><command>g-ir-generate</command></term>
|
---|
| 242 | <listitem>
|
---|
[7ded7e3] | 243 | <para>
|
---|
[0797528] | 244 | is a GIR generator that uses the repository API.
|
---|
[7ded7e3] | 245 | </para>
|
---|
[9d3d8a8] | 246 | <indexterm zone="gobject-introspection g-ir-generate">
|
---|
| 247 | <primary sortas="b-g-ir-generate">g-ir-generate</primary>
|
---|
| 248 | </indexterm>
|
---|
| 249 | </listitem>
|
---|
| 250 | </varlistentry>
|
---|
| 251 |
|
---|
| 252 | <varlistentry id="libgirepository-1.0">
|
---|
[d3e019dc] | 253 | <term><filename class="libraryfile">libgirepository-1.0.so</filename></term>
|
---|
[9d3d8a8] | 254 | <listitem>
|
---|
[7ded7e3] | 255 | <para>
|
---|
[0797528] | 256 | provides an API to access the typelib metadata.
|
---|
[7ded7e3] | 257 | </para>
|
---|
[9d3d8a8] | 258 | <indexterm zone="gobject-introspection libgirepository-1.0">
|
---|
[e977805c] | 259 | <primary sortas="c-libgirepository-1.0">libgirepository-1.0.so</primary>
|
---|
[9d3d8a8] | 260 | </indexterm>
|
---|
| 261 | </listitem>
|
---|
| 262 | </varlistentry>
|
---|
| 263 |
|
---|
| 264 | </variablelist>
|
---|
| 265 |
|
---|
| 266 | </sect2>
|
---|
| 267 |
|
---|
| 268 | </sect1>
|
---|