[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
|
---|
[9c312312] | 8 | "&gnome-download-http;/gobject-introspection/1.62/gobject-introspection-&gobject-introspection-version;.tar.xz">
|
---|
[0d7900a] | 9 | <!ENTITY gobject-introspection-download-ftp
|
---|
[9c312312] | 10 | "&gnome-download-ftp;/gobject-introspection/1.62/gobject-introspection-&gobject-introspection-version;.tar.xz">
|
---|
| 11 | <!ENTITY gobject-introspection-md5sum "37278eab3704e42234b6080b8cf241f1">
|
---|
| 12 | <!ENTITY gobject-introspection-size "950 KB">
|
---|
| 13 | <!ENTITY gobject-introspection-buildsize "40 MB (with tests)">
|
---|
[a8ea305] | 14 | <!ENTITY gobject-introspection-time "0.2 SBU (Using parallelism=4; with 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 |
|
---|
[82bdecf] | 40 | &lfs90_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 |
|
---|
| 81 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[b6a2a0e] | 82 | <para role="optional">
|
---|
[4dbf88b] | 83 | <xref linkend="cairo"/> (required for the tests),
|
---|
[a8ea305] | 84 | <xref linkend="gjs"/> (to satisfy one test),
|
---|
[ed9b0761] | 85 | <xref linkend="gtk-doc"/>,
|
---|
[a8ea305] | 86 | <xref linkend="Mako"/>, and
|
---|
| 87 | <ulink url="https://pypi.org/project/Markdown/">Markdown</ulink> (to satisfy one test)
|
---|
[c4a9102b] | 88 | <!-- There was talk of this being required in the release notes. Can someone
|
---|
[a8ea305] | 89 | who doesn't have this installed verify?
|
---|
| 90 | It is only needed for one test. bdubbs March 3, 2019
|
---|
| 91 | -->
|
---|
[b6a2a0e] | 92 | </para>
|
---|
[9d3d8a8] | 93 |
|
---|
| 94 | <para condition="html" role="usernotes">User Notes:
|
---|
[7ded7e3] | 95 | <ulink url="&blfs-wiki;/gobject-introspection"/>
|
---|
| 96 | </para>
|
---|
[9d3d8a8] | 97 | </sect2>
|
---|
| 98 |
|
---|
| 99 | <sect2 role="installation">
|
---|
[7ded7e3] | 100 | <title>Installation of GObject Introspection</title>
|
---|
[9d3d8a8] | 101 |
|
---|
[7ded7e3] | 102 | <para>
|
---|
| 103 | Install <application>GObject Introspection</application> by running
|
---|
| 104 | the following commands:
|
---|
| 105 | </para>
|
---|
[9d3d8a8] | 106 |
|
---|
[a8ea305] | 107 | <screen><userinput>mkdir build &&
|
---|
[4a61228] | 108 | cd build &&
|
---|
[a8ea305] | 109 |
|
---|
| 110 | meson --prefix=/usr .. &&
|
---|
| 111 | ninja</userinput></screen>
|
---|
[9d3d8a8] | 112 |
|
---|
[7ded7e3] | 113 | <para>
|
---|
[a8ea305] | 114 | To test the results, issue: <command>ninja test -k0</command>.
|
---|
[80720f4a] | 115 | One test (test_docwriter) fails if the optional Markdown module is
|
---|
| 116 | not installed.
|
---|
[7ded7e3] | 117 | </para>
|
---|
[9d3d8a8] | 118 |
|
---|
[7ded7e3] | 119 | <para>
|
---|
| 120 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 121 | </para>
|
---|
[9d3d8a8] | 122 |
|
---|
[a8ea305] | 123 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[9d3d8a8] | 124 |
|
---|
| 125 | </sect2>
|
---|
| 126 |
|
---|
| 127 | <sect2 role="commands">
|
---|
| 128 | <title>Command Explanations</title>
|
---|
| 129 |
|
---|
[a8ea305] | 130 | <para><parameter>-Dgtk_doc=true</parameter>: Build and install
|
---|
| 131 | the documentation.</para>
|
---|
[9d3d8a8] | 132 |
|
---|
[a8ea305] | 133 | <para><parameter>-Dcairo=true</parameter>: Use cairo for tests.</para>
|
---|
[e977805c] | 134 |
|
---|
[a8ea305] | 135 | <para><parameter>-Ddoctool=true</parameter>: Install g-ir-doc-tool
|
---|
| 136 | and run related tests.</para>
|
---|
[c34cb2e5] | 137 |
|
---|
[9d3d8a8] | 138 | </sect2>
|
---|
| 139 |
|
---|
| 140 | <sect2 role="content">
|
---|
| 141 | <title>Contents</title>
|
---|
| 142 |
|
---|
| 143 | <segmentedlist>
|
---|
[7ded7e3] | 144 | <segtitle>Installed Program</segtitle>
|
---|
[9d3d8a8] | 145 | <segtitle>Installed Libraries</segtitle>
|
---|
| 146 | <segtitle>Installed Directories</segtitle>
|
---|
| 147 |
|
---|
[4dbf88b] | 148 | <!-- g-ir-doc-tool is installed if mako is presnet -->
|
---|
[9d3d8a8] | 149 | <seglistitem>
|
---|
[e977805c] | 150 | <seg>
|
---|
[4dbf88b] | 151 | g-ir-annotation-tool, g-ir-compiler, g-ir-doc-tool,
|
---|
[0797528] | 152 | g-ir-inspect, g-ir-generate, and g-ir-scanner
|
---|
[e977805c] | 153 | </seg>
|
---|
| 154 | <seg>
|
---|
[04bf697b] | 155 | libgirepository-1.0.so and
|
---|
[a8ea305] | 156 | _giscanner.cpython-37m-x86_64-linux-gnu.so
|
---|
[e977805c] | 157 | </seg>
|
---|
[0913f48] | 158 | <seg>
|
---|
| 159 | /usr/include/gobject-introspection-1.0,
|
---|
[d3e019dc] | 160 | /usr/lib/girepository-1.0,
|
---|
| 161 | /usr/lib/gobject-introspection,
|
---|
[d8fe3e58] | 162 | /usr/share/gir-1.0, and
|
---|
| 163 | /usr/share/gobject-introspection-1.0
|
---|
[b6a2a0e] | 164 | </seg>
|
---|
[9d3d8a8] | 165 | </seglistitem>
|
---|
| 166 | </segmentedlist>
|
---|
| 167 |
|
---|
| 168 | <variablelist>
|
---|
| 169 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 170 | <?dbfo list-presentation="list"?>
|
---|
| 171 | <?dbhtml list-presentation="table"?>
|
---|
| 172 |
|
---|
[56c646a5] | 173 | <varlistentry id="g-ir-annotation-tool">
|
---|
| 174 | <term><command>g-ir-annotation-tool</command></term>
|
---|
| 175 | <listitem>
|
---|
| 176 | <para>
|
---|
| 177 | creates or extracts annotation data from GI typelibs.
|
---|
| 178 | </para>
|
---|
| 179 | <indexterm zone="gobject-introspection g-ir-annotation-tool">
|
---|
| 180 | <primary sortas="b-g-ir-annotation-tool">g-ir-annotation-tool</primary>
|
---|
| 181 | </indexterm>
|
---|
| 182 | </listitem>
|
---|
| 183 | </varlistentry>
|
---|
| 184 |
|
---|
[9d3d8a8] | 185 | <varlistentry id="g-ir-compiler">
|
---|
| 186 | <term><command>g-ir-compiler</command></term>
|
---|
| 187 | <listitem>
|
---|
[7ded7e3] | 188 | <para>
|
---|
| 189 | converts one or more GIR files into one or more typelib.
|
---|
| 190 | </para>
|
---|
[9d3d8a8] | 191 | <indexterm zone="gobject-introspection g-ir-compiler">
|
---|
| 192 | <primary sortas="b-g-ir-compiler">g-ir-compiler</primary>
|
---|
| 193 | </indexterm>
|
---|
| 194 | </listitem>
|
---|
| 195 | </varlistentry>
|
---|
| 196 |
|
---|
[7e2908c] | 197 | <varlistentry id="g-ir-doc-tool">
|
---|
| 198 | <term><command>g-ir-doc-tool</command></term>
|
---|
| 199 | <listitem>
|
---|
| 200 | <para>
|
---|
| 201 | generates Mallard files that can be viewed with
|
---|
| 202 | <command>yelp</command> or rendered to HTML with
|
---|
| 203 | <command>yelp-build</command> from <ulink
|
---|
[3bf58b9c] | 204 | url="http://ftp.acc.umu.se/pub/gnome/sources/yelp-tools">yelp-tools</ulink>.
|
---|
[7e2908c] | 205 | </para>
|
---|
| 206 | <indexterm zone="gobject-introspection g-ir-doc-tool">
|
---|
| 207 | <primary sortas="b-g-ir-doc-tool">g-ir-doc-tool</primary>
|
---|
| 208 | </indexterm>
|
---|
| 209 | </listitem>
|
---|
| 210 | </varlistentry>
|
---|
| 211 |
|
---|
[0797528] | 212 | <varlistentry id="g-ir-inspect">
|
---|
| 213 | <term><command>g-ir-inspect</command></term>
|
---|
| 214 | <listitem>
|
---|
| 215 | <para>
|
---|
| 216 | is a utility that gives information about a GI typelib.
|
---|
| 217 | </para>
|
---|
| 218 | <indexterm zone="gobject-introspection g-ir-inspect">
|
---|
| 219 | <primary sortas="b-g-ir-inspect">g-ir-inspect</primary>
|
---|
| 220 | </indexterm>
|
---|
| 221 | </listitem>
|
---|
| 222 | </varlistentry>
|
---|
| 223 |
|
---|
[9d3d8a8] | 224 | <varlistentry id="g-ir-scanner">
|
---|
| 225 | <term><command>g-ir-scanner</command></term>
|
---|
| 226 | <listitem>
|
---|
[7ded7e3] | 227 | <para>
|
---|
| 228 | is a tool which generates GIR XML files by parsing headers and
|
---|
| 229 | introspecting GObject based libraries.
|
---|
| 230 | </para>
|
---|
[9d3d8a8] | 231 | <indexterm zone="gobject-introspection g-ir-scanner">
|
---|
| 232 | <primary sortas="b-g-ir-scanner">g-ir-scanner</primary>
|
---|
| 233 | </indexterm>
|
---|
| 234 | </listitem>
|
---|
| 235 | </varlistentry>
|
---|
| 236 |
|
---|
| 237 | <varlistentry id="g-ir-generate">
|
---|
| 238 | <term><command>g-ir-generate</command></term>
|
---|
| 239 | <listitem>
|
---|
[7ded7e3] | 240 | <para>
|
---|
[0797528] | 241 | is a GIR generator that uses the repository API.
|
---|
[7ded7e3] | 242 | </para>
|
---|
[9d3d8a8] | 243 | <indexterm zone="gobject-introspection g-ir-generate">
|
---|
| 244 | <primary sortas="b-g-ir-generate">g-ir-generate</primary>
|
---|
| 245 | </indexterm>
|
---|
| 246 | </listitem>
|
---|
| 247 | </varlistentry>
|
---|
| 248 |
|
---|
| 249 | <varlistentry id="libgirepository-1.0">
|
---|
[d3e019dc] | 250 | <term><filename class="libraryfile">libgirepository-1.0.so</filename></term>
|
---|
[9d3d8a8] | 251 | <listitem>
|
---|
[7ded7e3] | 252 | <para>
|
---|
[0797528] | 253 | provides an API to access the typelib metadata.
|
---|
[7ded7e3] | 254 | </para>
|
---|
[9d3d8a8] | 255 | <indexterm zone="gobject-introspection libgirepository-1.0">
|
---|
[e977805c] | 256 | <primary sortas="c-libgirepository-1.0">libgirepository-1.0.so</primary>
|
---|
[9d3d8a8] | 257 | </indexterm>
|
---|
| 258 | </listitem>
|
---|
| 259 | </varlistentry>
|
---|
| 260 |
|
---|
| 261 | </variablelist>
|
---|
| 262 |
|
---|
| 263 | </sect2>
|
---|
| 264 |
|
---|
| 265 | </sect1>
|
---|