[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[6489da7] | 7 | <!ENTITY glib2-download-http "&gnome-download-http;/glib/&glib2-minor;/glib-&glib2-version;.tar.xz">
|
---|
[e1e58be] | 8 | <!ENTITY glib2-download-ftp " ">
|
---|
[d04d212] | 9 | <!ENTITY glib2-md5sum "4334211338220a165350d1c4a1597b0e">
|
---|
[c0bc0a9] | 10 | <!ENTITY glib2-size "5.3 MB">
|
---|
[d04d212] | 11 | <!ENTITY glib2-buildsize "189 MB (add 22 MB for tests)">
|
---|
| 12 | <!ENTITY glib2-time "0.9 SBU (add 0.4 SBU for tests; both using parallelism=4)">
|
---|
[c0bc0a9] | 13 |
|
---|
| 14 | <!ENTITY gobject-introspection-download-http
|
---|
| 15 | "&gnome-download-http;/gobject-introspection/1.80/gobject-introspection-&gobject-introspection-version;.tar.xz">
|
---|
[1bd63ac5] | 16 | <!ENTITY gobject-introspection-md5sum "ef1496a7a7abfcd31d25b3459ea86ebb">
|
---|
[c0bc0a9] | 17 | <!ENTITY gobject-introspection-size "1.0 MB">
|
---|
[52d29f7] | 18 | ]>
|
---|
| 19 |
|
---|
[7c461b3] | 20 | <sect1 id="glib2" xreflabel="GLib-&glib2-version;">
|
---|
[7c18102] | 21 | <?dbhtml filename="glib2.html"?>
|
---|
[4c3474fe] | 22 |
|
---|
| 23 |
|
---|
[7c18102] | 24 | <title>GLib-&glib2-version;</title>
|
---|
[4c3474fe] | 25 |
|
---|
[7c18102] | 26 | <indexterm zone="glib2">
|
---|
| 27 | <primary sortas="a-GLib2">GLib2</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to GLib</title>
|
---|
[4c3474fe] | 32 |
|
---|
[b84342d6] | 33 | <para>
|
---|
[2c38e951] | 34 | The <application>GLib</application> package contains low-level
|
---|
[0d7900a] | 35 | libraries useful for providing data structure handling for C, portability
|
---|
[6f55f20] | 36 | wrappers and interfaces for runtime functionality such as an
|
---|
[b84342d6] | 37 | event loop, threads, dynamic loading and an object system.
|
---|
| 38 | </para>
|
---|
[4c3474fe] | 39 |
|
---|
[57791dd] | 40 | &lfs122_checked;
|
---|
[08f1ff7] | 41 |
|
---|
[7c18102] | 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
[b84342d6] | 45 | <para>
|
---|
| 46 | Download (HTTP): <ulink url="&glib2-download-http;"/>
|
---|
| 47 | </para>
|
---|
[7c18102] | 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
[b84342d6] | 50 | <para>
|
---|
| 51 | Download (FTP): <ulink url="&glib2-download-ftp;"/>
|
---|
| 52 | </para>
|
---|
[7c18102] | 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
[b84342d6] | 55 | <para>
|
---|
| 56 | Download MD5 sum: &glib2-md5sum;
|
---|
| 57 | </para>
|
---|
[7c18102] | 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
[b84342d6] | 60 | <para>
|
---|
| 61 | Download size: &glib2-size;
|
---|
| 62 | </para>
|
---|
[7c18102] | 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
[b84342d6] | 65 | <para>
|
---|
| 66 | Estimated disk space required: &glib2-buildsize;
|
---|
| 67 | </para>
|
---|
[7c18102] | 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
[b84342d6] | 70 | <para>
|
---|
| 71 | Estimated build time: &glib2-time;
|
---|
| 72 | </para>
|
---|
[7c18102] | 73 | </listitem>
|
---|
| 74 | </itemizedlist>
|
---|
[4c3474fe] | 75 |
|
---|
[a9c0e8d] | 76 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
[c0bc0a9] | 77 |
|
---|
| 78 | <para>
|
---|
| 79 | <emphasis role="strong">GObject Introspection (Recommended)</emphasis>
|
---|
| 80 | </para>
|
---|
| 81 | <itemizedlist spacing="compact">
|
---|
| 82 | <listitem>
|
---|
| 83 | <para>
|
---|
| 84 | Download: <ulink url="&gobject-introspection-download-http;"/>
|
---|
| 85 | </para>
|
---|
| 86 | </listitem>
|
---|
| 87 | <listitem>
|
---|
| 88 | <para>
|
---|
| 89 | Download MD5 sum: &gobject-introspection-md5sum;
|
---|
| 90 | </para>
|
---|
| 91 | </listitem>
|
---|
| 92 | <listitem>
|
---|
| 93 | <para>
|
---|
| 94 | Download size: &gobject-introspection-size;
|
---|
| 95 | </para>
|
---|
| 96 | </listitem>
|
---|
| 97 | </itemizedlist>
|
---|
| 98 |
|
---|
| 99 | <para>
|
---|
| 100 | <emphasis role="strong">Patch for Log Level Selection (Optional)</emphasis>
|
---|
| 101 | </para>
|
---|
[a9c0e8d] | 102 | <itemizedlist spacing="compact">
|
---|
| 103 | <listitem>
|
---|
| 104 | <para>
|
---|
| 105 | Optional patch:
|
---|
[6617624] | 106 | <ulink url="&patch-root;/glib-skip_warnings-1.patch"/>
|
---|
[a9c0e8d] | 107 | </para>
|
---|
| 108 | </listitem>
|
---|
| 109 | </itemizedlist>
|
---|
[4c3474fe] | 110 |
|
---|
[a9c0e8d] | 111 | <bridgehead renderas="sect3">GLib Dependencies</bridgehead>
|
---|
[0a4eeb6] | 112 |
|
---|
[c0bc0a9] | 113 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 114 | <para role="required">
|
---|
| 115 | <xref linkend='packaging'/>
|
---|
| 116 | </para>
|
---|
| 117 |
|
---|
[1b9e36e] | 118 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[b8a081c] | 119 | <para role="recommended">
|
---|
[c0bc0a9] | 120 | <xref linkend='docutils'/>,
|
---|
| 121 | <xref linkend="libxslt"/>, and
|
---|
[54d58907] | 122 | <xref linkend="pcre2"/>
|
---|
[b8a081c] | 123 | </para>
|
---|
[1b9e36e] | 124 |
|
---|
[7c18102] | 125 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[b8a081c] | 126 | <para role="optional">
|
---|
[c0bc0a9] | 127 | <xref linkend='cairo'/> (for some GObject Introspection tests),
|
---|
[b327731] | 128 | <xref linkend="dbus"/> (for some tests),
|
---|
| 129 | <xref linkend="fuse3"/> and
|
---|
[57a7172] | 130 | <ulink url="https://bindfs.org/">bindfs</ulink>
|
---|
[b327731] | 131 | (both needed for one test),
|
---|
[cd0c5a70] | 132 | <xref linkend="gdb"/> (for bindings),
|
---|
[c0bc0a9] | 133 | <xref linkend='gjs'/> (for some GObject Introspection tests),
|
---|
| 134 | <xref linkend='gtk-doc'/> (for GObject Introspection documentation),
|
---|
[57a7172] | 135 | <xref linkend="DocBook"/>,
|
---|
[8558044] | 136 | <xref linkend="docbook-xsl"/>,
|
---|
[c0bc0a9] | 137 | <xref linkend="gi-docgen"/> (to build API documentation),
|
---|
[f1fbb028] | 138 | <xref linkend="glib-networking"/> (for some tests, but this is a circular
|
---|
[c0bc0a9] | 139 | dependency),
|
---|
| 140 | <xref linkend="Mako"/> and <xref linkend="markdown"/>
|
---|
| 141 | (both for <command>g-ir-doc-tool</command>), and
|
---|
[0b4d98d] | 142 | <!--<xref linkend="sysprof"/>-->
|
---|
| 143 | <ulink url="&sysprof-url;">sysprof</ulink>
|
---|
[b8a081c] | 144 | </para>
|
---|
[b31b493] | 145 |
|
---|
[75103a06] | 146 | <bridgehead renderas="sect4">Additional Runtime Dependencies</bridgehead>
|
---|
[5cc205a] | 147 | <para role="recommended">
|
---|
[70b674f2] | 148 | Quoted directly from the <filename>INSTALL</filename> file:
|
---|
[b84342d6] | 149 | <quote>Some of the mimetype-related functionality in GIO requires the
|
---|
| 150 | <command>update-mime-database</command> and
|
---|
[af2b317] | 151 | <command>update-desktop-database</command> utilities,</quote>
|
---|
[b84342d6] | 152 | which are part of
|
---|
[572553b] | 153 | <xref role="runtime" linkend="shared-mime-info"/> and
|
---|
| 154 | <xref role="runtime" linkend="desktop-file-utils"/>, respectively.
|
---|
[57a7172] | 155 | These two utilities are also needed for some tests.
|
---|
[b84342d6] | 156 | </para>
|
---|
[75103a06] | 157 |
|
---|
[7c18102] | 158 | </sect2>
|
---|
[4c3474fe] | 159 |
|
---|
[7c18102] | 160 | <sect2 role="installation">
|
---|
| 161 | <title>Installation of GLib</title>
|
---|
[42e002d] | 162 |
|
---|
[d56e7df] | 163 | <para>
|
---|
| 164 | If desired, apply the optional patch. In many cases, applications that
|
---|
| 165 | use this library, either directly or indirectly via other libraries such
|
---|
| 166 | as <xref linkend="gtk3"/>, output numerous warnings when run from the
|
---|
| 167 | command line. This patch enables the use of an environment variable,
|
---|
[2c87187] | 168 | <envar>GLIB_LOG_LEVEL</envar>, that suppresses unwanted messages. The
|
---|
[d56e7df] | 169 | value of the variable is a digit that corresponds to:
|
---|
| 170 | </para>
|
---|
[a9c0e8d] | 171 |
|
---|
| 172 | <simplelist>
|
---|
| 173 | <member>1 Alert</member>
|
---|
| 174 | <member>2 Critical</member>
|
---|
| 175 | <member>3 Error</member>
|
---|
| 176 | <member>4 Warning</member>
|
---|
| 177 | <member>5 Notice</member>
|
---|
| 178 | </simplelist>
|
---|
| 179 |
|
---|
[d56e7df] | 180 | <para>
|
---|
| 181 | For instance <userinput>export GLIB_LOG_LEVEL=4</userinput> will skip
|
---|
| 182 | output of Warning and Notice messages (and Info/Debug messages if they
|
---|
| 183 | are turned on). If <envar>GLIB_LOG_LEVEL</envar> is not defined, normal
|
---|
| 184 | message output will not be affected.
|
---|
| 185 | </para>
|
---|
[a9c0e8d] | 186 |
|
---|
[6617624] | 187 | <screen><userinput>patch -Np1 -i ../glib-skip_warnings-1.patch</userinput></screen>
|
---|
[a9c0e8d] | 188 |
|
---|
[8b9cf4c] | 189 | <warning>
|
---|
| 190 | <para>
|
---|
| 191 | If a previous version of glib is installed, move the headers out of the
|
---|
| 192 | way so that later packages do not encounter conflicts:
|
---|
| 193 | </para>
|
---|
| 194 |
|
---|
[1daf906e] | 195 | <screen role="root"><userinput remap="pre">if [ -e /usr/include/glib-2.0 ]; then
|
---|
| 196 | rm -rf /usr/include/glib-2.0.old &&
|
---|
| 197 | mv -vf /usr/include/glib-2.0{,.old}
|
---|
| 198 | fi</userinput></screen>
|
---|
[8b9cf4c] | 199 |
|
---|
| 200 | </warning>
|
---|
[ddd5a70] | 201 |
|
---|
[b84342d6] | 202 | <para>
|
---|
| 203 | Install <application>GLib</application> by running the following
|
---|
| 204 | commands:
|
---|
| 205 | </para>
|
---|
[b31b493] | 206 |
|
---|
[2cc9305] | 207 | <screen><userinput>mkdir build &&
|
---|
| 208 | cd build &&
|
---|
[0a4eeb6] | 209 |
|
---|
[7c83169b] | 210 | meson setup .. \
|
---|
| 211 | --prefix=/usr \
|
---|
| 212 | --buildtype=release \
|
---|
| 213 | -D introspection=disabled \
|
---|
| 214 | -D man-pages=enabled &&
|
---|
[0a4eeb6] | 215 | ninja</userinput></screen>
|
---|
[3a802b2] | 216 |
|
---|
[b84342d6] | 217 | <para>
|
---|
| 218 | The <application>GLib</application> test suite requires
|
---|
[2c38e951] | 219 | <application>desktop-file-utils</application> for some tests. However,
|
---|
[b84342d6] | 220 | <application>desktop-file-utils</application> requires
|
---|
| 221 | <application>GLib</application> in order to compile; therefore, you must
|
---|
| 222 | first install <application>GLib</application> and then run the test
|
---|
| 223 | suite.
|
---|
| 224 | </para>
|
---|
[4c3474fe] | 225 |
|
---|
[b84342d6] | 226 | <para>
|
---|
[c0bc0a9] | 227 | As the <systemitem class="username">root</systemitem> user,
|
---|
| 228 | install this package for the first time to allow building
|
---|
| 229 | GObject Introspection:
|
---|
| 230 | </para>
|
---|
| 231 |
|
---|
| 232 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
| 233 |
|
---|
| 234 | <para>
|
---|
| 235 | Build GObject Introspection:
|
---|
| 236 | </para>
|
---|
| 237 |
|
---|
| 238 | <screen><userinput>tar xf ../../gobject-introspection-&gobject-introspection-version;.tar.xz &&
|
---|
| 239 |
|
---|
| 240 | meson setup gobject-introspection-&gobject-introspection-version; gi-build \
|
---|
| 241 | --prefix=/usr --buildtype=release &&
|
---|
| 242 | ninja -C gi-build</userinput></screen>
|
---|
| 243 |
|
---|
| 244 | <para>
|
---|
| 245 | To test the results of GObject Introspection, issue:
|
---|
| 246 | <command>ninja -C gi-build test</command>.
|
---|
| 247 | </para>
|
---|
| 248 |
|
---|
| 249 | <para>
|
---|
| 250 | As the &root; user, install GObject Introspection for generating
|
---|
| 251 | the introspection data of GLib libraries (required by various packages
|
---|
| 252 | using Glib, especially some GNOME packages):
|
---|
[b84342d6] | 253 | </para>
|
---|
[4c3474fe] | 254 |
|
---|
[c0bc0a9] | 255 | <screen role='root'><userinput>ninja -C gi-build install</userinput></screen>
|
---|
[aee85523] | 256 |
|
---|
[c0bc0a9] | 257 | <para>
|
---|
| 258 | Now generate the introspection data:
|
---|
| 259 | </para>
|
---|
| 260 |
|
---|
[7c83169b] | 261 | <screen><userinput>meson configure -D introspection=enabled &&
|
---|
[c0bc0a9] | 262 | ninja</userinput></screen>
|
---|
| 263 |
|
---|
| 264 | <para>
|
---|
| 265 | If you have <xref linkend='gi-docgen'/> installed and wish to build
|
---|
| 266 | the API documentation for this package, issue:
|
---|
| 267 | </para>
|
---|
| 268 |
|
---|
| 269 | <screen remap='doc'><userinput>sed 's/glib-2.0/glib-&glib2-version;/' \
|
---|
| 270 | -i ../docs/reference/meson.build &&
|
---|
[7c83169b] | 271 | meson configure -D documentation=true &&
|
---|
[c0bc0a9] | 272 | ninja</userinput></screen>
|
---|
| 273 |
|
---|
| 274 | <para>
|
---|
| 275 | As the &root; user, install this package again for the introspection
|
---|
| 276 | data (and optionally, the documentation):
|
---|
| 277 | </para>
|
---|
| 278 |
|
---|
| 279 | <screen role='root'><userinput>ninja install</userinput></screen>
|
---|
[7da16bf] | 280 |
|
---|
[b84342d6] | 281 | <para>
|
---|
[8558044] | 282 | You should now install <xref linkend="desktop-file-utils"/> and
|
---|
[d1a5310] | 283 | <xref linkend="shared-mime-info"/> and proceed to
|
---|
[b84342d6] | 284 | run the test suite.
|
---|
| 285 | </para>
|
---|
[c0e1d87] | 286 |
|
---|
[16f7f0e] | 287 | <warning>
|
---|
| 288 | <para>
|
---|
[4e207bb] | 289 | Do not run the test suite as &root; or some tests will fail
|
---|
| 290 | unexpectedly and leave some non-FHS-compliant directories in the
|
---|
| 291 | <filename class='directory'>/usr</filename> hierarchy.
|
---|
[16f7f0e] | 292 | </para>
|
---|
| 293 | </warning>
|
---|
| 294 |
|
---|
[f236d3a] | 295 | <note>
|
---|
| 296 | <para>
|
---|
| 297 | If you have installed the glib-skip_warnings-1.patch and have
|
---|
[161684a] | 298 | the environment variable GLIB_LOG_LEVEL set, unset it before running
|
---|
[f236d3a] | 299 | the tests. It will cause several tests to fail.
|
---|
| 300 | </para>
|
---|
| 301 | </note>
|
---|
| 302 |
|
---|
[b84342d6] | 303 | <para>
|
---|
[c0bc0a9] | 304 | To test the results, after having installed the packages, issue:
|
---|
[25ce227] | 305 | <command>LC_ALL=C ninja test</command> as a non-&root; user.
|
---|
[b84342d6] | 306 | </para>
|
---|
[7c18102] | 307 | </sect2>
|
---|
[4c3474fe] | 308 |
|
---|
[7c18102] | 309 | <sect2 role="commands">
|
---|
| 310 | <title>Command Explanations</title>
|
---|
[864b24de] | 311 |
|
---|
[20f070d8] | 312 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 313 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 314 |
|
---|
[90ae149] | 315 | <para>
|
---|
[7c83169b] | 316 | <parameter>-D man-pages=enabled</parameter>: This switch causes the
|
---|
[7da16bf] | 317 | build to create and install the package man pages.
|
---|
[b84342d6] | 318 | </para>
|
---|
[7147513] | 319 |
|
---|
[7c18102] | 320 | </sect2>
|
---|
[4c3474fe] | 321 |
|
---|
[7c18102] | 322 | <sect2 role="content">
|
---|
| 323 | <title>Contents</title>
|
---|
| 324 |
|
---|
[c0bc0a9] | 325 | <bridgehead renderas="sect3">GLib Contents</bridgehead>
|
---|
| 326 |
|
---|
[7c18102] | 327 | <segmentedlist>
|
---|
| 328 | <segtitle>Installed Programs</segtitle>
|
---|
| 329 | <segtitle>Installed Libraries</segtitle>
|
---|
| 330 | <segtitle>Installed Directories</segtitle>
|
---|
[4c3474fe] | 331 |
|
---|
[7c18102] | 332 | <seglistitem>
|
---|
[0913f48] | 333 | <seg>
|
---|
[8558044] | 334 | gapplication, gdbus, gdbus-codegen,
|
---|
[c0bc0a9] | 335 | gi-compile-repository, gi-decompile-typelib, gi-inspect-typelib
|
---|
[8212d8a] | 336 | gio, gio-querymodules,
|
---|
[0913f48] | 337 | glib-compile-resources, glib-compile-schemas,
|
---|
[8558044] | 338 | glib-genmarshal, glib-gettextize,
|
---|
| 339 | glib-mkenums, gobject-query,
|
---|
| 340 | gresource, gsettings,
|
---|
[0a4eeb6] | 341 | gtester, and gtester-report
|
---|
[0913f48] | 342 | </seg>
|
---|
| 343 | <seg>
|
---|
[8558044] | 344 | libgio-2.0.so,
|
---|
[c0bc0a9] | 345 | libgirepository-2.0.so,
|
---|
[8558044] | 346 | libglib-2.0.so,
|
---|
[0a4eeb6] | 347 | libgmodule-2.0.so,
|
---|
[8558044] | 348 | libgobject-2.0.so, and
|
---|
[0a4eeb6] | 349 | libgthread-2.0.so
|
---|
[0913f48] | 350 | </seg>
|
---|
| 351 | <seg>
|
---|
[d3e019dc] | 352 | /usr/include/gio-unix-2.0,
|
---|
[0a4eeb6] | 353 | /usr/include/glib-2.0,
|
---|
[ed92105] | 354 | /usr/lib/gio,
|
---|
[eb954a8] | 355 | /usr/lib/glib-2.0,
|
---|
[c0bc0a9] | 356 | /usr/share/glib-2.0, and
|
---|
| 357 | /usr/share/doc/glib-&glib2-version; (optional)
|
---|
| 358 | </seg>
|
---|
| 359 | </seglistitem>
|
---|
| 360 | </segmentedlist>
|
---|
| 361 |
|
---|
| 362 | <bridgehead renderas="sect3">GObject Introspection Contents</bridgehead>
|
---|
| 363 |
|
---|
| 364 | <segmentedlist>
|
---|
| 365 | <segtitle>Installed Program</segtitle>
|
---|
| 366 | <segtitle>Installed Libraries</segtitle>
|
---|
| 367 | <segtitle>Installed Directories</segtitle>
|
---|
| 368 |
|
---|
| 369 | <!-- g-ir-doc-tool is installed if Mako and Markdown are present -->
|
---|
| 370 | <seglistitem>
|
---|
| 371 | <seg>
|
---|
| 372 | g-ir-annotation-tool, g-ir-compiler, g-ir-doc-tool (optional),
|
---|
| 373 | g-ir-generate, g-ir-inspect, and g-ir-scanner
|
---|
| 374 | </seg>
|
---|
| 375 | <seg>
|
---|
| 376 | libgirepository-1.0.so and
|
---|
| 377 | _giscanner.&python3-lib-suffix;.so
|
---|
| 378 | </seg>
|
---|
| 379 | <seg>
|
---|
| 380 | /usr/include/gobject-introspection-1.0,
|
---|
| 381 | /usr/lib/girepository-1.0,
|
---|
| 382 | /usr/lib/gobject-introspection,
|
---|
| 383 | /usr/share/gir-1.0, and
|
---|
| 384 | /usr/share/gobject-introspection-1.0
|
---|
[0913f48] | 385 | </seg>
|
---|
[7c18102] | 386 | </seglistitem>
|
---|
| 387 | </segmentedlist>
|
---|
[4c3474fe] | 388 |
|
---|
[7c18102] | 389 | <variablelist>
|
---|
| 390 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 391 | <?dbfo list-presentation="list"?>
|
---|
| 392 | <?dbhtml list-presentation="table"?>
|
---|
[4c3474fe] | 393 |
|
---|
[837e96ed] | 394 | <varlistentry id="gapplication">
|
---|
| 395 | <term><command>gapplication</command></term>
|
---|
| 396 | <listitem>
|
---|
| 397 | <para>
|
---|
[c5ebc8ac] | 398 | can be used to start applications and to send
|
---|
[4c24eb0a] | 399 | messages to already-running instances of other applications
|
---|
[837e96ed] | 400 | </para>
|
---|
| 401 | <indexterm zone="glib2 gapplication">
|
---|
| 402 | <primary sortas="b-gapplication">application</primary>
|
---|
| 403 | </indexterm>
|
---|
| 404 | </listitem>
|
---|
| 405 | </varlistentry>
|
---|
[c0bc0a9] | 406 |
|
---|
[b31b493] | 407 | <varlistentry id="gdbus">
|
---|
| 408 | <term><command>gdbus</command></term>
|
---|
| 409 | <listitem>
|
---|
[b84342d6] | 410 | <para>
|
---|
[d3e019dc] | 411 | is a simple tool used for working with
|
---|
[4c24eb0a] | 412 | <application>D-Bus</application> objects
|
---|
[b84342d6] | 413 | </para>
|
---|
[b31b493] | 414 | <indexterm zone="glib2 gdbus">
|
---|
| 415 | <primary sortas="b-gdbus">gdbus</primary>
|
---|
| 416 | </indexterm>
|
---|
| 417 | </listitem>
|
---|
| 418 | </varlistentry>
|
---|
| 419 |
|
---|
| 420 | <varlistentry id="gdbus-codegen">
|
---|
| 421 | <term><command>gdbus-codegen</command></term>
|
---|
| 422 | <listitem>
|
---|
[b84342d6] | 423 | <para>
|
---|
[0d7900a] | 424 | is used to generate code and/or documentation for one or
|
---|
[4c24eb0a] | 425 | more <application>D-Bus</application> interfaces
|
---|
[b84342d6] | 426 | </para>
|
---|
[b31b493] | 427 | <indexterm zone="glib2 gdbus-codegen">
|
---|
| 428 | <primary sortas="b-gdbus-codegen">gdbus-codegen</primary>
|
---|
| 429 | </indexterm>
|
---|
| 430 | </listitem>
|
---|
| 431 | </varlistentry>
|
---|
| 432 |
|
---|
[c0bc0a9] | 433 | <varlistentry id="gi-compile-repository">
|
---|
| 434 | <term><command>gi-compile-repository</command></term>
|
---|
| 435 | <listitem>
|
---|
| 436 | <para>
|
---|
| 437 | converts one or more GIR files into one or more typelib files
|
---|
| 438 | </para>
|
---|
| 439 | <indexterm zone="glib2 gi-compile-repository">
|
---|
| 440 | <primary sortas="b-gi-compile-repository">gi-compile-repository</primary>
|
---|
| 441 | </indexterm>
|
---|
| 442 | </listitem>
|
---|
| 443 | </varlistentry>
|
---|
| 444 |
|
---|
| 445 | <varlistentry id="gi-decompile-typelib">
|
---|
| 446 | <term><command>gi-decompile-typelib</command></term>
|
---|
| 447 | <listitem>
|
---|
| 448 | <para>
|
---|
| 449 | is a GIR decompiler that uses the repository API
|
---|
| 450 | </para>
|
---|
| 451 | <indexterm zone="glib2 gi-decompile-typelib">
|
---|
| 452 | <primary sortas="b-gi-decompile-typelib">gi-decompile-typelib</primary>
|
---|
| 453 | </indexterm>
|
---|
| 454 | </listitem>
|
---|
| 455 | </varlistentry>
|
---|
| 456 |
|
---|
| 457 | <varlistentry id="gi-inspect-typelib">
|
---|
| 458 | <term><command>gi-inspect-typelib</command></term>
|
---|
| 459 | <listitem>
|
---|
| 460 | <para>
|
---|
| 461 | is a utility that gives information about a GI typelib
|
---|
| 462 | </para>
|
---|
| 463 | <indexterm zone="glib2 gi-inspect-typelib">
|
---|
| 464 | <primary sortas="b-gi-inspect-typelib">gi-inspect-typelib</primary>
|
---|
| 465 | </indexterm>
|
---|
| 466 | </listitem>
|
---|
| 467 | </varlistentry>
|
---|
| 468 |
|
---|
[0797528] | 469 | <varlistentry id="gio">
|
---|
| 470 | <term><command>gio</command></term>
|
---|
| 471 | <listitem>
|
---|
| 472 | <para>
|
---|
| 473 | is a utility that makes many <application>GIO</application>
|
---|
[4c24eb0a] | 474 | features available from the command line
|
---|
[0797528] | 475 | </para>
|
---|
| 476 | <indexterm zone="glib2 gio">
|
---|
| 477 | <primary sortas="b-gio">gio</primary>
|
---|
| 478 | </indexterm>
|
---|
| 479 | </listitem>
|
---|
| 480 | </varlistentry>
|
---|
| 481 |
|
---|
[b31b493] | 482 | <varlistentry id="gio-querymodules">
|
---|
| 483 | <term><command>gio-querymodules</command></term>
|
---|
| 484 | <listitem>
|
---|
[b84342d6] | 485 | <para>
|
---|
[8558044] | 486 | is used to create a <filename>giomodule.cache</filename> file in
|
---|
| 487 | the listed directories. This file lists the implemented extension
|
---|
[4c24eb0a] | 488 | points for each module that has been found
|
---|
[b84342d6] | 489 | </para>
|
---|
[b31b493] | 490 | <indexterm zone="glib2 gio-querymodules">
|
---|
| 491 | <primary sortas="b-gio-querymodules">gio-querymodules</primary>
|
---|
| 492 | </indexterm>
|
---|
| 493 | </listitem>
|
---|
| 494 | </varlistentry>
|
---|
| 495 |
|
---|
| 496 | <varlistentry id="glib-compile-resources">
|
---|
| 497 | <term><command>glib-compile-resources</command></term>
|
---|
| 498 | <listitem>
|
---|
[b84342d6] | 499 | <para>
|
---|
[0797528] | 500 | is used to read the resource description from a file and
|
---|
[0d7900a] | 501 | the files that it references to create a binary resource
|
---|
[4c24eb0a] | 502 | bundle that is suitable for use with the GResource API
|
---|
[b84342d6] | 503 | </para>
|
---|
[b31b493] | 504 | <indexterm zone="glib2 glib-compile-resources">
|
---|
| 505 | <primary sortas="b-glib-compile-resources">glib-compile-resources</primary>
|
---|
| 506 | </indexterm>
|
---|
| 507 | </listitem>
|
---|
| 508 | </varlistentry>
|
---|
| 509 |
|
---|
| 510 | <varlistentry id="glib-compile-schemas">
|
---|
| 511 | <term><command>glib-compile-schemas</command></term>
|
---|
| 512 | <listitem>
|
---|
[b84342d6] | 513 | <para>
|
---|
[0d7900a] | 514 | is used to compile all the GSettings XML schema files
|
---|
[8558044] | 515 | in a directory into a binary file with the name
|
---|
[4c24eb0a] | 516 | <filename>gschemas.compiled</filename> that can be used by GSettings
|
---|
[b84342d6] | 517 | </para>
|
---|
[b31b493] | 518 | <indexterm zone="glib2 glib-compile-schemas">
|
---|
| 519 | <primary sortas="b-glib-compile-resources">glib-compile-schemas</primary>
|
---|
| 520 | </indexterm>
|
---|
| 521 | </listitem>
|
---|
| 522 | </varlistentry>
|
---|
| 523 |
|
---|
[7c18102] | 524 | <varlistentry id="glib-genmarshal">
|
---|
| 525 | <term><command>glib-genmarshal</command></term>
|
---|
| 526 | <listitem>
|
---|
[b84342d6] | 527 | <para>
|
---|
[4c24eb0a] | 528 | is a C code marshaller generation utility for GLib closures
|
---|
[b84342d6] | 529 | </para>
|
---|
[7c18102] | 530 | <indexterm zone="glib2 glib-genmarshal">
|
---|
| 531 | <primary sortas="b-glib-genmarshal">glib-genmarshal</primary>
|
---|
| 532 | </indexterm>
|
---|
| 533 | </listitem>
|
---|
| 534 | </varlistentry>
|
---|
[4c3474fe] | 535 |
|
---|
[7c18102] | 536 | <varlistentry id="glib-gettextize">
|
---|
| 537 | <term><command>glib-gettextize</command></term>
|
---|
| 538 | <listitem>
|
---|
[b84342d6] | 539 | <para>
|
---|
| 540 | is a variant of the <application>gettext</application>
|
---|
[4c24eb0a] | 541 | internationalization utility
|
---|
[b84342d6] | 542 | </para>
|
---|
[7c18102] | 543 | <indexterm zone="glib2 glib-gettextize">
|
---|
| 544 | <primary sortas="b-glib-gettextize">glib-gettextize</primary>
|
---|
| 545 | </indexterm>
|
---|
| 546 | </listitem>
|
---|
| 547 | </varlistentry>
|
---|
[4c3474fe] | 548 |
|
---|
[7c18102] | 549 | <varlistentry id="glib-mkenums">
|
---|
| 550 | <term><command>glib-mkenums</command></term>
|
---|
| 551 | <listitem>
|
---|
[b84342d6] | 552 | <para>
|
---|
[4c24eb0a] | 553 | is a C language enum description generation utility
|
---|
[b84342d6] | 554 | </para>
|
---|
[7c18102] | 555 | <indexterm zone="glib2 glib-mkenums">
|
---|
| 556 | <primary sortas="b-glib-mkenums">glib-mkenums</primary>
|
---|
| 557 | </indexterm>
|
---|
| 558 | </listitem>
|
---|
| 559 | </varlistentry>
|
---|
[4c3474fe] | 560 |
|
---|
[7c18102] | 561 | <varlistentry id="gobject-query">
|
---|
| 562 | <term><command>gobject-query</command></term>
|
---|
| 563 | <listitem>
|
---|
[b84342d6] | 564 | <para>
|
---|
[4c24eb0a] | 565 | is a small utility that draws a tree of types
|
---|
[b84342d6] | 566 | </para>
|
---|
[7c18102] | 567 | <indexterm zone="glib2 gobject-query">
|
---|
| 568 | <primary sortas="b-gobject-query">gobject-query</primary>
|
---|
| 569 | </indexterm>
|
---|
| 570 | </listitem>
|
---|
| 571 | </varlistentry>
|
---|
[4c3474fe] | 572 |
|
---|
[b31b493] | 573 | <varlistentry id="gresource">
|
---|
| 574 | <term><command>gresource</command></term>
|
---|
| 575 | <listitem>
|
---|
[b84342d6] | 576 | <para>
|
---|
[4c24eb0a] | 577 | offers a simple command line interface to GResource
|
---|
[b84342d6] | 578 | </para>
|
---|
[b31b493] | 579 | <indexterm zone="glib2 gresource">
|
---|
| 580 | <primary sortas="b-gresource">gresource</primary>
|
---|
| 581 | </indexterm>
|
---|
| 582 | </listitem>
|
---|
| 583 | </varlistentry>
|
---|
| 584 |
|
---|
| 585 | <varlistentry id="gsettings">
|
---|
| 586 | <term><command>gsettings</command></term>
|
---|
| 587 | <listitem>
|
---|
[b84342d6] | 588 | <para>
|
---|
[4c24eb0a] | 589 | offers a simple command line interface to GSettings
|
---|
[b84342d6] | 590 | </para>
|
---|
[b31b493] | 591 | <indexterm zone="glib2 gsettings">
|
---|
| 592 | <primary sortas="b-gsettings">gsettings</primary>
|
---|
| 593 | </indexterm>
|
---|
| 594 | </listitem>
|
---|
| 595 | </varlistentry>
|
---|
| 596 |
|
---|
[e103708b] | 597 | <varlistentry id="gtester">
|
---|
| 598 | <term><command>gtester</command></term>
|
---|
| 599 | <listitem>
|
---|
[b84342d6] | 600 | <para>
|
---|
[4c24eb0a] | 601 | is a test running utility
|
---|
[b84342d6] | 602 | </para>
|
---|
[e103708b] | 603 | <indexterm zone="glib2 gtester">
|
---|
| 604 | <primary sortas="b-gtester">gtester</primary>
|
---|
| 605 | </indexterm>
|
---|
| 606 | </listitem>
|
---|
| 607 | </varlistentry>
|
---|
| 608 |
|
---|
| 609 | <varlistentry id="gtester-report">
|
---|
| 610 | <term><command>gtester-report</command></term>
|
---|
| 611 | <listitem>
|
---|
[b84342d6] | 612 | <para>
|
---|
[4c24eb0a] | 613 | is a test report formatting utility
|
---|
[b84342d6] | 614 | </para>
|
---|
[e103708b] | 615 | <indexterm zone="glib2 gtester-report">
|
---|
| 616 | <primary sortas="b-gtester-report">gtester-report</primary>
|
---|
| 617 | </indexterm>
|
---|
| 618 | </listitem>
|
---|
| 619 | </varlistentry>
|
---|
| 620 |
|
---|
[c0bc0a9] | 621 | <varlistentry id="libgio">
|
---|
| 622 | <term><filename class='libraryfile'>libgio-2.0.so</filename></term>
|
---|
| 623 | <listitem>
|
---|
| 624 | <para>
|
---|
| 625 | is a library providing useful classes for general purpose I/O,
|
---|
| 626 | networking, IPC, settings, and other high level application
|
---|
| 627 | functionality
|
---|
| 628 | </para>
|
---|
| 629 | <indexterm zone="glib2 libgio">
|
---|
| 630 | <primary sortas="c-libgio">libgio-2.0.so</primary>
|
---|
| 631 | </indexterm>
|
---|
| 632 | </listitem>
|
---|
| 633 | </varlistentry>
|
---|
| 634 |
|
---|
| 635 | <varlistentry id="libgirepository">
|
---|
| 636 | <term><filename class='libraryfile'>libgirepository-2.0.so</filename></term>
|
---|
| 637 | <listitem>
|
---|
| 638 | <para>
|
---|
| 639 | is a library providing access to typelibs and introspection data
|
---|
| 640 | which describes C APIs
|
---|
| 641 | </para>
|
---|
| 642 | <indexterm zone="glib2 libgirepository">
|
---|
| 643 | <primary sortas="c-libgirepository2">libgirepository-2.0.so</primary>
|
---|
| 644 | </indexterm>
|
---|
| 645 | </listitem>
|
---|
| 646 | </varlistentry>
|
---|
| 647 |
|
---|
| 648 | <varlistentry id="libglib">
|
---|
| 649 | <term><filename class='libraryfile'>libglib-2.0.so</filename></term>
|
---|
| 650 | <listitem>
|
---|
| 651 | <para>
|
---|
| 652 | is a general-purpose, portable utility library, which provides
|
---|
| 653 | many useful data types, macros, type conversions, string
|
---|
| 654 | utilities, file utilities, a mainloop abstraction, and so on
|
---|
| 655 | </para>
|
---|
| 656 | <indexterm zone="glib2 libglib">
|
---|
| 657 | <primary sortas="c-libglib">libglib-2.0.so</primary>
|
---|
| 658 | </indexterm>
|
---|
| 659 | </listitem>
|
---|
| 660 | </varlistentry>
|
---|
| 661 |
|
---|
| 662 | <varlistentry id="libgmodule">
|
---|
| 663 | <term><filename class='libraryfile'>libgmodule-2.0.so</filename></term>
|
---|
| 664 | <listitem>
|
---|
| 665 | <para>
|
---|
| 666 | provides portable API for dynamically loading modules
|
---|
| 667 | </para>
|
---|
| 668 | <indexterm zone="glib2 libgmodule">
|
---|
| 669 | <primary sortas="c-libgmodule">libgmodule-2.0.so</primary>
|
---|
| 670 | </indexterm>
|
---|
| 671 | </listitem>
|
---|
| 672 | </varlistentry>
|
---|
| 673 |
|
---|
| 674 | <varlistentry id="libgobject">
|
---|
| 675 | <term><filename class='libraryfile'>libgobject-2.0.so</filename></term>
|
---|
| 676 | <listitem>
|
---|
| 677 | <para>
|
---|
| 678 | provides the GLib base type system and object class
|
---|
| 679 | </para>
|
---|
| 680 | <indexterm zone="glib2 libgobject">
|
---|
| 681 | <primary sortas="c-libgobject">libgobject-2.0.so</primary>
|
---|
| 682 | </indexterm>
|
---|
| 683 | </listitem>
|
---|
| 684 | </varlistentry>
|
---|
| 685 |
|
---|
| 686 | <varlistentry id="libgthread">
|
---|
| 687 | <term><filename class='libraryfile'>libgthread-2.0.so</filename></term>
|
---|
| 688 | <listitem>
|
---|
[b84342d6] | 689 | <para>
|
---|
[c0bc0a9] | 690 | is a skeleton library for backwards compatibility; it used to
|
---|
| 691 | be the GLib thread library but the functionalities has been
|
---|
| 692 | merged info <systemitem class='library'>libglib-2.0</systemitem>
|
---|
[b84342d6] | 693 | </para>
|
---|
[c0bc0a9] | 694 | <indexterm zone="glib2 libgthread">
|
---|
| 695 | <primary sortas="c-libgthread">libgthread-2.0.so</primary>
|
---|
[7c18102] | 696 | </indexterm>
|
---|
[c0bc0a9] | 697 | </listitem>
|
---|
| 698 | </varlistentry>
|
---|
[4c3474fe] | 699 |
|
---|
[c0bc0a9] | 700 | <varlistentry id="g-ir-annotation-tool">
|
---|
| 701 | <term><command>g-ir-annotation-tool</command></term>
|
---|
| 702 | <listitem>
|
---|
| 703 | <para>
|
---|
| 704 | creates or extracts annotation data from GI typelibs
|
---|
| 705 | </para>
|
---|
| 706 | <indexterm zone="glib2 g-ir-annotation-tool">
|
---|
| 707 | <primary sortas="b-g-ir-annotation-tool">g-ir-annotation-tool</primary>
|
---|
| 708 | </indexterm>
|
---|
| 709 | </listitem>
|
---|
| 710 | </varlistentry>
|
---|
| 711 |
|
---|
| 712 | <varlistentry id="g-ir-compiler">
|
---|
| 713 | <term><command>g-ir-compiler</command></term>
|
---|
| 714 | <listitem>
|
---|
| 715 | <para>
|
---|
| 716 | is a counterpart of <command>gi-compile-repository</command>
|
---|
| 717 | for the old
|
---|
| 718 | <systemitem class='library'>libgirepository-1.0</systemitem>
|
---|
| 719 | API
|
---|
| 720 | </para>
|
---|
| 721 | <indexterm zone="glib2 g-ir-compiler">
|
---|
| 722 | <primary sortas="b-g-ir-compiler">g-ir-compiler</primary>
|
---|
| 723 | </indexterm>
|
---|
| 724 | </listitem>
|
---|
| 725 | </varlistentry>
|
---|
| 726 |
|
---|
| 727 | <varlistentry id="g-ir-doc-tool">
|
---|
| 728 | <term><command>g-ir-doc-tool</command></term>
|
---|
| 729 | <listitem>
|
---|
| 730 | <para>
|
---|
| 731 | generates Mallard files that can be viewed with
|
---|
| 732 | <command>yelp</command> or rendered to HTML with
|
---|
| 733 | <command>yelp-build</command> from
|
---|
| 734 | <ulink url="&gnome-download-http;/yelp-tools">yelp-tools</ulink>
|
---|
| 735 | </para>
|
---|
| 736 | <indexterm zone="glib2 g-ir-doc-tool">
|
---|
| 737 | <primary sortas="b-g-ir-doc-tool">g-ir-doc-tool</primary>
|
---|
| 738 | </indexterm>
|
---|
| 739 | </listitem>
|
---|
| 740 | </varlistentry>
|
---|
| 741 |
|
---|
| 742 | <varlistentry id="g-ir-inspect">
|
---|
| 743 | <term><command>g-ir-inspect</command></term>
|
---|
| 744 | <listitem>
|
---|
| 745 | <para>
|
---|
| 746 | is a counterpart of <command>gi-inspect-typelib</command>
|
---|
| 747 | for the old
|
---|
| 748 | <systemitem class='library'>libgirepository-1.0</systemitem>
|
---|
| 749 | API
|
---|
| 750 | </para>
|
---|
| 751 | <indexterm zone="glib2 g-ir-inspect">
|
---|
| 752 | <primary sortas="b-g-ir-inspect">g-ir-inspect</primary>
|
---|
| 753 | </indexterm>
|
---|
| 754 | </listitem>
|
---|
| 755 | </varlistentry>
|
---|
| 756 |
|
---|
| 757 | <varlistentry id="g-ir-generate">
|
---|
| 758 | <term><command>g-ir-generate</command></term>
|
---|
| 759 | <listitem>
|
---|
| 760 | <para>
|
---|
| 761 | is a counterpart of <command>gi-decompile-typelib</command>
|
---|
| 762 | for the old
|
---|
| 763 | <systemitem class='library'>libgirepository-1.0</systemitem>
|
---|
| 764 | API
|
---|
| 765 | </para>
|
---|
| 766 | <indexterm zone="glib2 g-ir-generate">
|
---|
| 767 | <primary sortas="b-g-ir-generate">g-ir-generate</primary>
|
---|
| 768 | </indexterm>
|
---|
| 769 | </listitem>
|
---|
| 770 | </varlistentry>
|
---|
| 771 |
|
---|
| 772 | <varlistentry id="g-ir-scanner">
|
---|
| 773 | <term><command>g-ir-scanner</command></term>
|
---|
| 774 | <listitem>
|
---|
| 775 | <para>
|
---|
| 776 | is a tool which generates GIR XML files by parsing headers and
|
---|
| 777 | introspecting GObject based libraries
|
---|
| 778 | </para>
|
---|
| 779 | <indexterm zone="glib2 g-ir-scanner">
|
---|
| 780 | <primary sortas="b-g-ir-scanner">g-ir-scanner</primary>
|
---|
| 781 | </indexterm>
|
---|
| 782 | </listitem>
|
---|
| 783 | </varlistentry>
|
---|
| 784 |
|
---|
| 785 | <varlistentry id="libgirepository-1.0">
|
---|
| 786 | <term><filename class='libraryfile'>libgirepository-1.0.so</filename></term>
|
---|
| 787 | <listitem>
|
---|
| 788 | <para>
|
---|
| 789 | is a counterpart of
|
---|
| 790 | <systemitem class='library'>libgirepository-2.0</systemitem>
|
---|
| 791 | with the old 1.0 API
|
---|
| 792 | </para>
|
---|
| 793 | <indexterm zone="glib2 libgirepository-1.0">
|
---|
| 794 | <primary sortas="c-libgirepository1">libgirepository-1.0.so</primary>
|
---|
| 795 | </indexterm>
|
---|
| 796 | </listitem>
|
---|
| 797 | </varlistentry>
|
---|
[7c18102] | 798 | </variablelist>
|
---|
| 799 |
|
---|
| 800 | </sect2>
|
---|
[d4340990] | 801 |
|
---|
| 802 | </sect1>
|
---|