[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
|
---|
[90e2b130] | 8 | "&gnome-download-http;/gobject-introspection/1.38/gobject-introspection-&gobject-introspection-version;.tar.xz">
|
---|
[0d7900a] | 9 | <!ENTITY gobject-introspection-download-ftp
|
---|
[90e2b130] | 10 | "&gnome-download-ftp;/gobject-introspection/1.38/gobject-introspection-&gobject-introspection-version;.tar.xz">
|
---|
| 11 | <!ENTITY gobject-introspection-md5sum "4851028e950ec0f809e26676b22aba97">
|
---|
[d8fe3e58] | 12 | <!ENTITY gobject-introspection-size "1.2 MB">
|
---|
[90e2b130] | 13 | <!ENTITY gobject-introspection-buildsize "40 MB">
|
---|
| 14 | <!ENTITY gobject-introspection-time "0.4 SBU">
|
---|
[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 |
|
---|
[7cadfea] | 40 | &lfs75_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>
|
---|
[7ded7e3] | 142 | libgirepository-1.0.so
|
---|
[e977805c] | 143 | </seg>
|
---|
[0913f48] | 144 | <seg>
|
---|
| 145 | /usr/include/gobject-introspection-1.0,
|
---|
[d3e019dc] | 146 | /usr/lib/girepository-1.0,
|
---|
| 147 | /usr/lib/gobject-introspection,
|
---|
[d8fe3e58] | 148 | /usr/share/gir-1.0, and
|
---|
| 149 | /usr/share/gobject-introspection-1.0
|
---|
[b6a2a0e] | 150 | </seg>
|
---|
[9d3d8a8] | 151 | </seglistitem>
|
---|
| 152 | </segmentedlist>
|
---|
| 153 |
|
---|
| 154 | <variablelist>
|
---|
| 155 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 156 | <?dbfo list-presentation="list"?>
|
---|
| 157 | <?dbhtml list-presentation="table"?>
|
---|
| 158 |
|
---|
| 159 | <varlistentry id="g-ir-compiler">
|
---|
| 160 | <term><command>g-ir-compiler</command></term>
|
---|
| 161 | <listitem>
|
---|
[7ded7e3] | 162 | <para>
|
---|
| 163 | converts one or more GIR files into one or more typelib.
|
---|
| 164 | </para>
|
---|
[9d3d8a8] | 165 | <indexterm zone="gobject-introspection g-ir-compiler">
|
---|
| 166 | <primary sortas="b-g-ir-compiler">g-ir-compiler</primary>
|
---|
| 167 | </indexterm>
|
---|
| 168 | </listitem>
|
---|
| 169 | </varlistentry>
|
---|
| 170 |
|
---|
| 171 | <varlistentry id="g-ir-scanner">
|
---|
| 172 | <term><command>g-ir-scanner</command></term>
|
---|
| 173 | <listitem>
|
---|
[7ded7e3] | 174 | <para>
|
---|
| 175 | is a tool which generates GIR XML files by parsing headers and
|
---|
| 176 | introspecting GObject based libraries.
|
---|
| 177 | </para>
|
---|
[9d3d8a8] | 178 | <indexterm zone="gobject-introspection g-ir-scanner">
|
---|
| 179 | <primary sortas="b-g-ir-scanner">g-ir-scanner</primary>
|
---|
| 180 | </indexterm>
|
---|
| 181 | </listitem>
|
---|
| 182 | </varlistentry>
|
---|
| 183 |
|
---|
| 184 | <varlistentry id="g-ir-generate">
|
---|
| 185 | <term><command>g-ir-generate</command></term>
|
---|
| 186 | <listitem>
|
---|
[7ded7e3] | 187 | <para>
|
---|
| 188 | is a GIR generator using the repository API.
|
---|
| 189 | </para>
|
---|
[9d3d8a8] | 190 | <indexterm zone="gobject-introspection g-ir-generate">
|
---|
| 191 | <primary sortas="b-g-ir-generate">g-ir-generate</primary>
|
---|
| 192 | </indexterm>
|
---|
| 193 | </listitem>
|
---|
| 194 | </varlistentry>
|
---|
| 195 |
|
---|
| 196 | <varlistentry id="libgirepository-1.0">
|
---|
[d3e019dc] | 197 | <term><filename class="libraryfile">libgirepository-1.0.so</filename></term>
|
---|
[9d3d8a8] | 198 | <listitem>
|
---|
[7ded7e3] | 199 | <para>
|
---|
| 200 | provides an API to access to the typelib metadata.
|
---|
| 201 | </para>
|
---|
[9d3d8a8] | 202 | <indexterm zone="gobject-introspection libgirepository-1.0">
|
---|
[e977805c] | 203 | <primary sortas="c-libgirepository-1.0">libgirepository-1.0.so</primary>
|
---|
[9d3d8a8] | 204 | </indexterm>
|
---|
| 205 | </listitem>
|
---|
| 206 | </varlistentry>
|
---|
| 207 |
|
---|
| 208 | </variablelist>
|
---|
| 209 |
|
---|
| 210 | </sect2>
|
---|
| 211 |
|
---|
| 212 | </sect1>
|
---|