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