[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 |
|
---|
[742b99e] | 7 | <!ENTITY gobject-introspection-download-http
|
---|
| 8 | "&gnome-download-http;/gobject-introspection/1.32/gobject-introspection-&gobject-introspection-version;.tar.xz">
|
---|
| 9 | <!ENTITY gobject-introspection-download-ftp
|
---|
| 10 | "&gnome-download-ftp;/gobject-introspection/1.32/gobject-introspection-&gobject-introspection-version;.tar.xz">
|
---|
[d0e0395] | 11 | <!ENTITY gobject-introspection-md5sum "7bbdb696c37bb98aef5af02c4b8975e3">
|
---|
[e977805c] | 12 | <!ENTITY gobject-introspection-size "1.1 MB">
|
---|
| 13 | <!ENTITY gobject-introspection-buildsize "40 MB">
|
---|
[b6a2a0e] | 14 | <!ENTITY gobject-introspection-time "0.6 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 |
|
---|
[55b07cb] | 40 | &lfs71_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">
|
---|
[7ded7e3] | 83 | <xref linkend="cairo"/> (required for the tests) and
|
---|
[b6a2a0e] | 84 | <xref linkend="gtk-doc"/>
|
---|
| 85 | </para>
|
---|
[9d3d8a8] | 86 |
|
---|
| 87 | <para condition="html" role="usernotes">User Notes:
|
---|
[7ded7e3] | 88 | <ulink url="&blfs-wiki;/gobject-introspection"/>
|
---|
| 89 | </para>
|
---|
[9d3d8a8] | 90 | </sect2>
|
---|
| 91 |
|
---|
| 92 | <sect2 role="installation">
|
---|
[7ded7e3] | 93 | <title>Installation of GObject Introspection</title>
|
---|
[9d3d8a8] | 94 |
|
---|
[7ded7e3] | 95 | <para>
|
---|
| 96 | Install <application>GObject Introspection</application> by running
|
---|
| 97 | the following commands:
|
---|
| 98 | </para>
|
---|
[9d3d8a8] | 99 |
|
---|
[7ded7e3] | 100 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 101 | --disable-tests \
|
---|
[e977805c] | 102 | --disable-static &&
|
---|
[9d3d8a8] | 103 | make</userinput></screen>
|
---|
| 104 |
|
---|
[7ded7e3] | 105 | <para>
|
---|
| 106 | To test the results, issue: <command>make check</command>.
|
---|
| 107 | </para>
|
---|
[9d3d8a8] | 108 |
|
---|
[7ded7e3] | 109 | <para>
|
---|
| 110 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 111 | </para>
|
---|
[9d3d8a8] | 112 |
|
---|
| 113 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 114 |
|
---|
| 115 | </sect2>
|
---|
| 116 |
|
---|
| 117 | <sect2 role="commands">
|
---|
| 118 | <title>Command Explanations</title>
|
---|
| 119 |
|
---|
[7ded7e3] | 120 | <para>
|
---|
| 121 | <parameter>--disable-tests</parameter>: This parameter disable test
|
---|
| 122 | libraries. Remove the parameter if you have <application>Cairo</application>
|
---|
| 123 | installed and would like the tests to be performed.
|
---|
| 124 | </para>
|
---|
[7f823f1d] | 125 |
|
---|
[e05cd03f] | 126 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7ded7e3] | 127 | href="../../xincludes/static-libraries.xml"/>
|
---|
[9d3d8a8] | 128 |
|
---|
[e977805c] | 129 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7ded7e3] | 130 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[e977805c] | 131 |
|
---|
[9d3d8a8] | 132 | </sect2>
|
---|
| 133 |
|
---|
| 134 | <sect2 role="content">
|
---|
| 135 | <title>Contents</title>
|
---|
| 136 |
|
---|
| 137 | <segmentedlist>
|
---|
[7ded7e3] | 138 | <segtitle>Installed Program</segtitle>
|
---|
[9d3d8a8] | 139 | <segtitle>Installed Libraries</segtitle>
|
---|
| 140 | <segtitle>Installed Directories</segtitle>
|
---|
| 141 |
|
---|
| 142 | <seglistitem>
|
---|
[e977805c] | 143 | <seg>
|
---|
[7ded7e3] | 144 | g-ir-annotation-tool, g-ir-compiler, g-ir-generate and
|
---|
| 145 | g-ir-scanner
|
---|
[e977805c] | 146 | </seg>
|
---|
| 147 | <seg>
|
---|
[7ded7e3] | 148 | libgirepository-1.0.so
|
---|
[e977805c] | 149 | </seg>
|
---|
[0913f48] | 150 | <seg>
|
---|
| 151 | /usr/include/gobject-introspection-1.0,
|
---|
[b8a081c] | 152 | /usr/lib/{girepository-1.0,gobject-introspection},
|
---|
| 153 | /usr/share/{gir-1.0,gobject-introspection-1.0} and
|
---|
[0913f48] | 154 | /usr/share/gtk-doc/html/gi
|
---|
[b6a2a0e] | 155 | </seg>
|
---|
[9d3d8a8] | 156 | </seglistitem>
|
---|
| 157 | </segmentedlist>
|
---|
| 158 |
|
---|
| 159 | <variablelist>
|
---|
| 160 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 161 | <?dbfo list-presentation="list"?>
|
---|
| 162 | <?dbhtml list-presentation="table"?>
|
---|
| 163 |
|
---|
| 164 | <varlistentry id="g-ir-compiler">
|
---|
| 165 | <term><command>g-ir-compiler</command></term>
|
---|
| 166 | <listitem>
|
---|
[7ded7e3] | 167 | <para>
|
---|
| 168 | converts one or more GIR files into one or more typelib.
|
---|
| 169 | </para>
|
---|
[9d3d8a8] | 170 | <indexterm zone="gobject-introspection g-ir-compiler">
|
---|
| 171 | <primary sortas="b-g-ir-compiler">g-ir-compiler</primary>
|
---|
| 172 | </indexterm>
|
---|
| 173 | </listitem>
|
---|
| 174 | </varlistentry>
|
---|
| 175 |
|
---|
| 176 | <varlistentry id="g-ir-scanner">
|
---|
| 177 | <term><command>g-ir-scanner</command></term>
|
---|
| 178 | <listitem>
|
---|
[7ded7e3] | 179 | <para>
|
---|
| 180 | is a tool which generates GIR XML files by parsing headers and
|
---|
| 181 | introspecting GObject based libraries.
|
---|
| 182 | </para>
|
---|
[9d3d8a8] | 183 | <indexterm zone="gobject-introspection g-ir-scanner">
|
---|
| 184 | <primary sortas="b-g-ir-scanner">g-ir-scanner</primary>
|
---|
| 185 | </indexterm>
|
---|
| 186 | </listitem>
|
---|
| 187 | </varlistentry>
|
---|
| 188 |
|
---|
| 189 | <varlistentry id="g-ir-generate">
|
---|
| 190 | <term><command>g-ir-generate</command></term>
|
---|
| 191 | <listitem>
|
---|
[7ded7e3] | 192 | <para>
|
---|
| 193 | is a GIR generator using the repository API.
|
---|
| 194 | </para>
|
---|
[9d3d8a8] | 195 | <indexterm zone="gobject-introspection g-ir-generate">
|
---|
| 196 | <primary sortas="b-g-ir-generate">g-ir-generate</primary>
|
---|
| 197 | </indexterm>
|
---|
| 198 | </listitem>
|
---|
| 199 | </varlistentry>
|
---|
| 200 |
|
---|
| 201 | <varlistentry id="libgirepository-1.0">
|
---|
[e977805c] | 202 | <term><filename class='libraryfile'>libgirepository-1.0.so</filename></term>
|
---|
[9d3d8a8] | 203 | <listitem>
|
---|
[7ded7e3] | 204 | <para>
|
---|
| 205 | provides an API to access to the typelib metadata.
|
---|
| 206 | </para>
|
---|
[9d3d8a8] | 207 | <indexterm zone="gobject-introspection libgirepository-1.0">
|
---|
[e977805c] | 208 | <primary sortas="c-libgirepository-1.0">libgirepository-1.0.so</primary>
|
---|
[9d3d8a8] | 209 | </indexterm>
|
---|
| 210 | </listitem>
|
---|
| 211 | </varlistentry>
|
---|
| 212 |
|
---|
| 213 | </variablelist>
|
---|
| 214 |
|
---|
| 215 | </sect2>
|
---|
| 216 |
|
---|
| 217 | </sect1>
|
---|