[db065d5] | 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 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-system-glib" role="wrap">
|
---|
| 9 | <?dbhtml filename="glib.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Glib-&glib-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-system-glib">
|
---|
| 14 | <primary sortas="a-Glib">Glib</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
| 20 | <para>Glib is a tool to help you insert the correct compiler options
|
---|
| 21 | on the command line when compiling applications and libraries.</para>
|
---|
| 22 |
|
---|
| 23 | </sect2>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="installation">
|
---|
| 26 | <title>Installation of Glib</title>
|
---|
| 27 |
|
---|
| 28 | <para os="a">Prepare Glib for compilation:</para>
|
---|
| 29 |
|
---|
[e2378bf] | 30 | <screen os="b"><userinput>./configure --prefix=/usr --sysconfdir=/etc</userinput></screen>
|
---|
[db065d5] | 31 |
|
---|
| 32 | <para os="c">Compile the package:</para>
|
---|
| 33 |
|
---|
| 34 | <screen os="d"><userinput>make</userinput></screen>
|
---|
| 35 |
|
---|
| 36 | <para os="e">To test the results, issue:
|
---|
| 37 | <userinput>make -k check</userinput>.</para>
|
---|
| 38 |
|
---|
| 39 | <para os="f">Install the package:</para>
|
---|
| 40 |
|
---|
| 41 | <screen os="g"><userinput>make install</userinput></screen>
|
---|
| 42 |
|
---|
| 43 | </sect2>
|
---|
| 44 |
|
---|
| 45 | <sect2 id="contents-glib" role="content">
|
---|
| 46 | <title>Contents of Glib</title>
|
---|
| 47 |
|
---|
| 48 | <segmentedlist>
|
---|
| 49 | <segtitle>Installed programs</segtitle>
|
---|
| 50 | <segtitle>Installed libraries</segtitle>
|
---|
| 51 | <segtitle>Installed directory</segtitle>
|
---|
| 52 |
|
---|
| 53 | <seglistitem>
|
---|
| 54 | <seg>gdbus, gio-querymodules, glib-compile-schemas, glib-genmarshal,
|
---|
| 55 | glib-gettextize, glib-mkenums, gobject-query, gsettings, gtester
|
---|
| 56 | and gtester-report</seg>
|
---|
| 57 | <seg>libglib-2.0.so, libgmodule-2.0.so, libgthread-2.0.so,
|
---|
| 58 | libgobject-2.0.so and libgio-2.0.so</seg>
|
---|
| 59 | <seg>/usr/share/glib-2.0, /usr/share/gtk-doc/html/glib, /usr/lib/glib-2.0
|
---|
| 60 | and /usr/include/glib-2.0</seg>
|
---|
| 61 | </seglistitem>
|
---|
| 62 | </segmentedlist>
|
---|
| 63 |
|
---|
| 64 | <variablelist>
|
---|
| 65 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 66 | <?dbfo list-presentation="list"?>
|
---|
| 67 | <?dbhtml list-presentation="table"?>
|
---|
| 68 |
|
---|
| 69 | <varlistentry id="gdbus">
|
---|
| 70 | <term><command>gdbus</command></term>
|
---|
| 71 | <listitem>
|
---|
[7b7c2e8] | 72 | <para>Introspect and call remote objects.</para>
|
---|
[db065d5] | 73 | <indexterm zone="ch-system-glib gdbus">
|
---|
| 74 | <primary sortas="b-gdbus">gdbus</primary>
|
---|
| 75 | </indexterm>
|
---|
| 76 | </listitem>
|
---|
| 77 | </varlistentry>
|
---|
| 78 |
|
---|
| 79 | <varlistentry id="gio-querymodules">
|
---|
| 80 | <term><command>gio-querymodules</command></term>
|
---|
| 81 | <listitem>
|
---|
[7b7c2e8] | 82 | <para><command>gio-querymodules</command> creates a giomodule.cache file
|
---|
| 83 | in the listed directories. This file lists the implemented extension points
|
---|
| 84 | for each module that has been found. It is used by GIO at runtime to avoid
|
---|
| 85 | opening all modules just to find out which extension points they are
|
---|
| 86 | implementing.</para>
|
---|
[db065d5] | 87 | <indexterm zone="ch-system-glib gio-querymodules">
|
---|
| 88 | <primary sortas="b-gio-querymodules">gio-querymodules</primary>
|
---|
| 89 | </indexterm>
|
---|
| 90 | </listitem>
|
---|
| 91 | </varlistentry>
|
---|
| 92 |
|
---|
| 93 | <varlistentry id="glib-compile-schemas">
|
---|
| 94 | <term><command>glib-compile-schemas</command></term>
|
---|
| 95 | <listitem>
|
---|
[7b7c2e8] | 96 | <para>GSettings schema compiler.</para>
|
---|
[db065d5] | 97 | <indexterm zone="ch-system-glib glib-compile-schemas">
|
---|
| 98 | <primary sortas="b-glib-compile-schemas">glib-compile-schemas</primary>
|
---|
| 99 | </indexterm>
|
---|
| 100 | </listitem>
|
---|
| 101 | </varlistentry>
|
---|
| 102 |
|
---|
| 103 | <varlistentry id="glib-genmarshal">
|
---|
| 104 | <term><command>glib-genmarshal</command></term>
|
---|
| 105 | <listitem>
|
---|
[7b7c2e8] | 106 | <para>C code marshaller generation utility for GLib closures.</para>
|
---|
[db065d5] | 107 | <indexterm zone="ch-system-glib glib-genmarshal">
|
---|
| 108 | <primary sortas="b-glib-genmarshal">glib-genmarshal</primary>
|
---|
| 109 | </indexterm>
|
---|
| 110 | </listitem>
|
---|
| 111 | </varlistentry>
|
---|
| 112 |
|
---|
| 113 | <varlistentry id="glib-gettextize">
|
---|
| 114 | <term><command>glib-gettextize</command></term>
|
---|
| 115 | <listitem>
|
---|
[2864455] | 116 | <para><command>glib-gettextize</command> helps to prepare a
|
---|
[7b7c2e8] | 117 | source package for being internationalized through gettext. It is a variant of
|
---|
[2864455] | 118 | the <command>gettextize</command> that ships with gettext.</para>
|
---|
[db065d5] | 119 | <indexterm zone="ch-system-glib glib-gettextize">
|
---|
| 120 | <primary sortas="b-glib-gettextize">glib-gettextize</primary>
|
---|
| 121 | </indexterm>
|
---|
| 122 | </listitem>
|
---|
| 123 | </varlistentry>
|
---|
| 124 |
|
---|
| 125 | <varlistentry id="glib-mkenums">
|
---|
| 126 | <term><command>glib-mkenums</command></term>
|
---|
| 127 | <listitem>
|
---|
[7b7c2e8] | 128 | <para>C language enum description generation utility.</para>
|
---|
[db065d5] | 129 | <indexterm zone="ch-system-glib glib-mkenums">
|
---|
| 130 | <primary sortas="b-glib-mkenums">glib-mkenums</primary>
|
---|
| 131 | </indexterm>
|
---|
| 132 | </listitem>
|
---|
| 133 | </varlistentry>
|
---|
| 134 |
|
---|
| 135 | <varlistentry id="gobject-query">
|
---|
| 136 | <term><command>gobject-query</command></term>
|
---|
| 137 | <listitem>
|
---|
[7b7c2e8] | 138 | <para><command>gobject-query</command> takes a mandatory argument that specifies
|
---|
| 139 | whether it should iterate over the fundamental types or print a type tree.</para>
|
---|
[db065d5] | 140 | <indexterm zone="ch-system-glib gobject-query">
|
---|
| 141 | <primary sortas="b-gobject-query">gobject-query</primary>
|
---|
| 142 | </indexterm>
|
---|
| 143 | </listitem>
|
---|
| 144 | </varlistentry>
|
---|
| 145 |
|
---|
| 146 | <varlistentry id="gsettings">
|
---|
| 147 | <term><command>gsettings</command></term>
|
---|
| 148 | <listitem>
|
---|
[2864455] | 149 | <para><command>gsettings</command> offers a simple commandline interface to
|
---|
[7b7c2e8] | 150 | <command>GSettings</command>. It lets you get, set or monitor an individual key
|
---|
| 151 | for changes.</para>
|
---|
[db065d5] | 152 | <indexterm zone="ch-system-glib gsettings">
|
---|
| 153 | <primary sortas="b-gsettings">gsettings</primary>
|
---|
| 154 | </indexterm>
|
---|
| 155 | </listitem>
|
---|
| 156 | </varlistentry>
|
---|
| 157 |
|
---|
| 158 | <varlistentry id="gtester">
|
---|
| 159 | <term><command>gtester</command></term>
|
---|
| 160 | <listitem>
|
---|
[7b7c2e8] | 161 | <para><command>gtester</command> is a utility to run unit tests that have been
|
---|
| 162 | written using the GLib test framework.</para>
|
---|
[db065d5] | 163 | <indexterm zone="ch-system-glib gtester">
|
---|
| 164 | <primary sortas="b-gtester">gtester</primary>
|
---|
| 165 | </indexterm>
|
---|
| 166 | </listitem>
|
---|
| 167 | </varlistentry>
|
---|
| 168 |
|
---|
| 169 | <varlistentry id="gtester-report">
|
---|
| 170 | <term><command>gtester-report</command></term>
|
---|
| 171 | <listitem>
|
---|
[7b7c2e8] | 172 | <para><command>gtester-report</command> is a script which converts the XML output
|
---|
| 173 | generated by gtester into HTML.</para>
|
---|
[db065d5] | 174 | <indexterm zone="ch-system-glib gtester-report">
|
---|
| 175 | <primary sortas="b-gtester-report">gtester-report</primary>
|
---|
| 176 | </indexterm>
|
---|
| 177 | </listitem>
|
---|
| 178 | </varlistentry>
|
---|
| 179 |
|
---|
| 180 | </variablelist>
|
---|
| 181 |
|
---|
| 182 | </sect2>
|
---|
| 183 |
|
---|
| 184 | </sect1>
|
---|