[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 " ">
|
---|
[6aa3c1e] | 9 | <!ENTITY glib2-md5sum "f4054629b8d977f7f5ec96a8f63449c3">
|
---|
[c0bc0a9] | 10 | <!ENTITY glib2-size "5.3 MB">
|
---|
[6db44fc] | 11 | <!ENTITY glib2-buildsize "197 MB (add 22 MB for tests)">
|
---|
| 12 | <!ENTITY glib2-time "0.7 SBU (add 0.4 SBU for tests; both using parallelism=4)">
|
---|
[c0bc0a9] | 13 |
|
---|
| 14 | <!ENTITY gobject-introspection-download-http
|
---|
[f73357b4] | 15 | "&gnome-download-http;/gobject-introspection/1.82/gobject-introspection-&gobject-introspection-version;.tar.xz">
|
---|
| 16 | <!ENTITY gobject-introspection-md5sum "50beb465bc81f33395b5e0e3bbe364ec">
|
---|
| 17 | <!ENTITY gobject-introspection-size "1.1 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>
|
---|
[6db44fc] | 112 | <!--
|
---|
[c0bc0a9] | 113 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 114 | <para role="required">
|
---|
| 115 | <xref linkend='packaging'/>
|
---|
| 116 | </para>
|
---|
[6db44fc] | 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 \
|
---|
[6db44fc] | 214 | -D glib_debug=disabled \
|
---|
[741810a] | 215 | -D man-pages=enabled \
|
---|
| 216 | -D sysprof=disabled &&
|
---|
[0a4eeb6] | 217 | ninja</userinput></screen>
|
---|
[3a802b2] | 218 |
|
---|
[b84342d6] | 219 | <para>
|
---|
| 220 | The <application>GLib</application> test suite requires
|
---|
[2c38e951] | 221 | <application>desktop-file-utils</application> for some tests. However,
|
---|
[b84342d6] | 222 | <application>desktop-file-utils</application> requires
|
---|
| 223 | <application>GLib</application> in order to compile; therefore, you must
|
---|
| 224 | first install <application>GLib</application> and then run the test
|
---|
| 225 | suite.
|
---|
| 226 | </para>
|
---|
[4c3474fe] | 227 |
|
---|
[b84342d6] | 228 | <para>
|
---|
[c0bc0a9] | 229 | As the <systemitem class="username">root</systemitem> user,
|
---|
| 230 | install this package for the first time to allow building
|
---|
| 231 | GObject Introspection:
|
---|
| 232 | </para>
|
---|
| 233 |
|
---|
| 234 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
| 235 |
|
---|
| 236 | <para>
|
---|
| 237 | Build GObject Introspection:
|
---|
| 238 | </para>
|
---|
| 239 |
|
---|
| 240 | <screen><userinput>tar xf ../../gobject-introspection-&gobject-introspection-version;.tar.xz &&
|
---|
| 241 |
|
---|
| 242 | meson setup gobject-introspection-&gobject-introspection-version; gi-build \
|
---|
| 243 | --prefix=/usr --buildtype=release &&
|
---|
| 244 | ninja -C gi-build</userinput></screen>
|
---|
| 245 |
|
---|
| 246 | <para>
|
---|
| 247 | To test the results of GObject Introspection, issue:
|
---|
| 248 | <command>ninja -C gi-build test</command>.
|
---|
| 249 | </para>
|
---|
| 250 |
|
---|
| 251 | <para>
|
---|
| 252 | As the &root; user, install GObject Introspection for generating
|
---|
| 253 | the introspection data of GLib libraries (required by various packages
|
---|
| 254 | using Glib, especially some GNOME packages):
|
---|
[b84342d6] | 255 | </para>
|
---|
[4c3474fe] | 256 |
|
---|
[c0bc0a9] | 257 | <screen role='root'><userinput>ninja -C gi-build install</userinput></screen>
|
---|
[aee85523] | 258 |
|
---|
[c0bc0a9] | 259 | <para>
|
---|
| 260 | Now generate the introspection data:
|
---|
| 261 | </para>
|
---|
| 262 |
|
---|
[7c83169b] | 263 | <screen><userinput>meson configure -D introspection=enabled &&
|
---|
[c0bc0a9] | 264 | ninja</userinput></screen>
|
---|
| 265 |
|
---|
| 266 | <para>
|
---|
| 267 | If you have <xref linkend='gi-docgen'/> installed and wish to build
|
---|
| 268 | the API documentation for this package, issue:
|
---|
| 269 | </para>
|
---|
| 270 |
|
---|
| 271 | <screen remap='doc'><userinput>sed 's/glib-2.0/glib-&glib2-version;/' \
|
---|
| 272 | -i ../docs/reference/meson.build &&
|
---|
[7c83169b] | 273 | meson configure -D documentation=true &&
|
---|
[c0bc0a9] | 274 | ninja</userinput></screen>
|
---|
| 275 |
|
---|
| 276 | <para>
|
---|
| 277 | As the &root; user, install this package again for the introspection
|
---|
| 278 | data (and optionally, the documentation):
|
---|
| 279 | </para>
|
---|
| 280 |
|
---|
| 281 | <screen role='root'><userinput>ninja install</userinput></screen>
|
---|
[7da16bf] | 282 |
|
---|
[b84342d6] | 283 | <para>
|
---|
[8558044] | 284 | You should now install <xref linkend="desktop-file-utils"/> and
|
---|
[d1a5310] | 285 | <xref linkend="shared-mime-info"/> and proceed to
|
---|
[b84342d6] | 286 | run the test suite.
|
---|
| 287 | </para>
|
---|
[c0e1d87] | 288 |
|
---|
[16f7f0e] | 289 | <warning>
|
---|
| 290 | <para>
|
---|
[4e207bb] | 291 | Do not run the test suite as &root; or some tests will fail
|
---|
| 292 | unexpectedly and leave some non-FHS-compliant directories in the
|
---|
| 293 | <filename class='directory'>/usr</filename> hierarchy.
|
---|
[16f7f0e] | 294 | </para>
|
---|
| 295 | </warning>
|
---|
[741810a] | 296 | <!-- I cannot reproduce these issues.
|
---|
[f236d3a] | 297 | <note>
|
---|
| 298 | <para>
|
---|
| 299 | If you have installed the glib-skip_warnings-1.patch and have
|
---|
[161684a] | 300 | the environment variable GLIB_LOG_LEVEL set, unset it before running
|
---|
[f236d3a] | 301 | the tests. It will cause several tests to fail.
|
---|
| 302 | </para>
|
---|
| 303 | </note>
|
---|
| 304 |
|
---|
[6db44fc] | 305 | <note>
|
---|
| 306 | <para>
|
---|
| 307 | If you have used the -D glib_debug=disabled option, 17 tests will
|
---|
| 308 | fail.
|
---|
| 309 | </para>
|
---|
| 310 | </note>
|
---|
[741810a] | 311 | -->
|
---|
[b84342d6] | 312 | <para>
|
---|
[c0bc0a9] | 313 | To test the results, after having installed the packages, issue:
|
---|
[25ce227] | 314 | <command>LC_ALL=C ninja test</command> as a non-&root; user.
|
---|
[72d11bf9] | 315 | One test named <literal>gdatetime</literal> is known to fail with
|
---|
| 316 | tzdata-2024b or later.
|
---|
[b84342d6] | 317 | </para>
|
---|
[7c18102] | 318 | </sect2>
|
---|
[4c3474fe] | 319 |
|
---|
[7c18102] | 320 | <sect2 role="commands">
|
---|
| 321 | <title>Command Explanations</title>
|
---|
[864b24de] | 322 |
|
---|
[20f070d8] | 323 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 324 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 325 |
|
---|
[90ae149] | 326 | <para>
|
---|
[7c83169b] | 327 | <parameter>-D man-pages=enabled</parameter>: This switch causes the
|
---|
[7da16bf] | 328 | build to create and install the package man pages.
|
---|
[b84342d6] | 329 | </para>
|
---|
[7147513] | 330 |
|
---|
[6db44fc] | 331 | <para>
|
---|
| 332 | <parameter>-D glib_debug=disabled</parameter>: This switch causes the
|
---|
[741810a] | 333 | build to not include some expensive checks for debugging in the built
|
---|
| 334 | programs and libraries.
|
---|
| 335 | </para>
|
---|
| 336 |
|
---|
| 337 | <para>
|
---|
| 338 | <parameter>-D sysprof=disabled</parameter>: This switch disables the
|
---|
| 339 | tracing support for sysprof. Remove this option if you want the
|
---|
| 340 | tracing support. Note that if sysprof is not installed, removing
|
---|
[84398041] | 341 | this option will cause the build system to download a copy of sysprof
|
---|
[741810a] | 342 | from the Internet.
|
---|
[6db44fc] | 343 | </para>
|
---|
| 344 |
|
---|
[7c18102] | 345 | </sect2>
|
---|
[4c3474fe] | 346 |
|
---|
[7c18102] | 347 | <sect2 role="content">
|
---|
| 348 | <title>Contents</title>
|
---|
| 349 |
|
---|
[c0bc0a9] | 350 | <bridgehead renderas="sect3">GLib Contents</bridgehead>
|
---|
| 351 |
|
---|
[7c18102] | 352 | <segmentedlist>
|
---|
| 353 | <segtitle>Installed Programs</segtitle>
|
---|
| 354 | <segtitle>Installed Libraries</segtitle>
|
---|
| 355 | <segtitle>Installed Directories</segtitle>
|
---|
[4c3474fe] | 356 |
|
---|
[7c18102] | 357 | <seglistitem>
|
---|
[0913f48] | 358 | <seg>
|
---|
[8558044] | 359 | gapplication, gdbus, gdbus-codegen,
|
---|
[c0bc0a9] | 360 | gi-compile-repository, gi-decompile-typelib, gi-inspect-typelib
|
---|
[8212d8a] | 361 | gio, gio-querymodules,
|
---|
[0913f48] | 362 | glib-compile-resources, glib-compile-schemas,
|
---|
[8558044] | 363 | glib-genmarshal, glib-gettextize,
|
---|
| 364 | glib-mkenums, gobject-query,
|
---|
| 365 | gresource, gsettings,
|
---|
[0a4eeb6] | 366 | gtester, and gtester-report
|
---|
[0913f48] | 367 | </seg>
|
---|
| 368 | <seg>
|
---|
[8558044] | 369 | libgio-2.0.so,
|
---|
[c0bc0a9] | 370 | libgirepository-2.0.so,
|
---|
[8558044] | 371 | libglib-2.0.so,
|
---|
[0a4eeb6] | 372 | libgmodule-2.0.so,
|
---|
[8558044] | 373 | libgobject-2.0.so, and
|
---|
[0a4eeb6] | 374 | libgthread-2.0.so
|
---|
[0913f48] | 375 | </seg>
|
---|
| 376 | <seg>
|
---|
[d3e019dc] | 377 | /usr/include/gio-unix-2.0,
|
---|
[0a4eeb6] | 378 | /usr/include/glib-2.0,
|
---|
[ed92105] | 379 | /usr/lib/gio,
|
---|
[eb954a8] | 380 | /usr/lib/glib-2.0,
|
---|
[c0bc0a9] | 381 | /usr/share/glib-2.0, and
|
---|
| 382 | /usr/share/doc/glib-&glib2-version; (optional)
|
---|
| 383 | </seg>
|
---|
| 384 | </seglistitem>
|
---|
| 385 | </segmentedlist>
|
---|
| 386 |
|
---|
| 387 | <bridgehead renderas="sect3">GObject Introspection Contents</bridgehead>
|
---|
| 388 |
|
---|
| 389 | <segmentedlist>
|
---|
| 390 | <segtitle>Installed Program</segtitle>
|
---|
| 391 | <segtitle>Installed Libraries</segtitle>
|
---|
| 392 | <segtitle>Installed Directories</segtitle>
|
---|
| 393 |
|
---|
| 394 | <!-- g-ir-doc-tool is installed if Mako and Markdown are present -->
|
---|
| 395 | <seglistitem>
|
---|
| 396 | <seg>
|
---|
| 397 | g-ir-annotation-tool, g-ir-compiler, g-ir-doc-tool (optional),
|
---|
| 398 | g-ir-generate, g-ir-inspect, and g-ir-scanner
|
---|
| 399 | </seg>
|
---|
| 400 | <seg>
|
---|
| 401 | libgirepository-1.0.so and
|
---|
| 402 | _giscanner.&python3-lib-suffix;.so
|
---|
| 403 | </seg>
|
---|
| 404 | <seg>
|
---|
| 405 | /usr/include/gobject-introspection-1.0,
|
---|
| 406 | /usr/lib/girepository-1.0,
|
---|
| 407 | /usr/lib/gobject-introspection,
|
---|
| 408 | /usr/share/gir-1.0, and
|
---|
| 409 | /usr/share/gobject-introspection-1.0
|
---|
[0913f48] | 410 | </seg>
|
---|
[7c18102] | 411 | </seglistitem>
|
---|
| 412 | </segmentedlist>
|
---|
[4c3474fe] | 413 |
|
---|
[7c18102] | 414 | <variablelist>
|
---|
| 415 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 416 | <?dbfo list-presentation="list"?>
|
---|
| 417 | <?dbhtml list-presentation="table"?>
|
---|
[4c3474fe] | 418 |
|
---|
[837e96ed] | 419 | <varlistentry id="gapplication">
|
---|
| 420 | <term><command>gapplication</command></term>
|
---|
| 421 | <listitem>
|
---|
| 422 | <para>
|
---|
[c5ebc8ac] | 423 | can be used to start applications and to send
|
---|
[4c24eb0a] | 424 | messages to already-running instances of other applications
|
---|
[837e96ed] | 425 | </para>
|
---|
| 426 | <indexterm zone="glib2 gapplication">
|
---|
| 427 | <primary sortas="b-gapplication">application</primary>
|
---|
| 428 | </indexterm>
|
---|
| 429 | </listitem>
|
---|
| 430 | </varlistentry>
|
---|
[c0bc0a9] | 431 |
|
---|
[b31b493] | 432 | <varlistentry id="gdbus">
|
---|
| 433 | <term><command>gdbus</command></term>
|
---|
| 434 | <listitem>
|
---|
[b84342d6] | 435 | <para>
|
---|
[d3e019dc] | 436 | is a simple tool used for working with
|
---|
[4c24eb0a] | 437 | <application>D-Bus</application> objects
|
---|
[b84342d6] | 438 | </para>
|
---|
[b31b493] | 439 | <indexterm zone="glib2 gdbus">
|
---|
| 440 | <primary sortas="b-gdbus">gdbus</primary>
|
---|
| 441 | </indexterm>
|
---|
| 442 | </listitem>
|
---|
| 443 | </varlistentry>
|
---|
| 444 |
|
---|
| 445 | <varlistentry id="gdbus-codegen">
|
---|
| 446 | <term><command>gdbus-codegen</command></term>
|
---|
| 447 | <listitem>
|
---|
[b84342d6] | 448 | <para>
|
---|
[0d7900a] | 449 | is used to generate code and/or documentation for one or
|
---|
[4c24eb0a] | 450 | more <application>D-Bus</application> interfaces
|
---|
[b84342d6] | 451 | </para>
|
---|
[b31b493] | 452 | <indexterm zone="glib2 gdbus-codegen">
|
---|
| 453 | <primary sortas="b-gdbus-codegen">gdbus-codegen</primary>
|
---|
| 454 | </indexterm>
|
---|
| 455 | </listitem>
|
---|
| 456 | </varlistentry>
|
---|
| 457 |
|
---|
[c0bc0a9] | 458 | <varlistentry id="gi-compile-repository">
|
---|
| 459 | <term><command>gi-compile-repository</command></term>
|
---|
| 460 | <listitem>
|
---|
| 461 | <para>
|
---|
| 462 | converts one or more GIR files into one or more typelib files
|
---|
| 463 | </para>
|
---|
| 464 | <indexterm zone="glib2 gi-compile-repository">
|
---|
| 465 | <primary sortas="b-gi-compile-repository">gi-compile-repository</primary>
|
---|
| 466 | </indexterm>
|
---|
| 467 | </listitem>
|
---|
| 468 | </varlistentry>
|
---|
| 469 |
|
---|
| 470 | <varlistentry id="gi-decompile-typelib">
|
---|
| 471 | <term><command>gi-decompile-typelib</command></term>
|
---|
| 472 | <listitem>
|
---|
| 473 | <para>
|
---|
| 474 | is a GIR decompiler that uses the repository API
|
---|
| 475 | </para>
|
---|
| 476 | <indexterm zone="glib2 gi-decompile-typelib">
|
---|
| 477 | <primary sortas="b-gi-decompile-typelib">gi-decompile-typelib</primary>
|
---|
| 478 | </indexterm>
|
---|
| 479 | </listitem>
|
---|
| 480 | </varlistentry>
|
---|
| 481 |
|
---|
| 482 | <varlistentry id="gi-inspect-typelib">
|
---|
| 483 | <term><command>gi-inspect-typelib</command></term>
|
---|
| 484 | <listitem>
|
---|
| 485 | <para>
|
---|
| 486 | is a utility that gives information about a GI typelib
|
---|
| 487 | </para>
|
---|
| 488 | <indexterm zone="glib2 gi-inspect-typelib">
|
---|
| 489 | <primary sortas="b-gi-inspect-typelib">gi-inspect-typelib</primary>
|
---|
| 490 | </indexterm>
|
---|
| 491 | </listitem>
|
---|
| 492 | </varlistentry>
|
---|
| 493 |
|
---|
[0797528] | 494 | <varlistentry id="gio">
|
---|
| 495 | <term><command>gio</command></term>
|
---|
| 496 | <listitem>
|
---|
| 497 | <para>
|
---|
| 498 | is a utility that makes many <application>GIO</application>
|
---|
[4c24eb0a] | 499 | features available from the command line
|
---|
[0797528] | 500 | </para>
|
---|
| 501 | <indexterm zone="glib2 gio">
|
---|
| 502 | <primary sortas="b-gio">gio</primary>
|
---|
| 503 | </indexterm>
|
---|
| 504 | </listitem>
|
---|
| 505 | </varlistentry>
|
---|
| 506 |
|
---|
[b31b493] | 507 | <varlistentry id="gio-querymodules">
|
---|
| 508 | <term><command>gio-querymodules</command></term>
|
---|
| 509 | <listitem>
|
---|
[b84342d6] | 510 | <para>
|
---|
[8558044] | 511 | is used to create a <filename>giomodule.cache</filename> file in
|
---|
| 512 | the listed directories. This file lists the implemented extension
|
---|
[4c24eb0a] | 513 | points for each module that has been found
|
---|
[b84342d6] | 514 | </para>
|
---|
[b31b493] | 515 | <indexterm zone="glib2 gio-querymodules">
|
---|
| 516 | <primary sortas="b-gio-querymodules">gio-querymodules</primary>
|
---|
| 517 | </indexterm>
|
---|
| 518 | </listitem>
|
---|
| 519 | </varlistentry>
|
---|
| 520 |
|
---|
| 521 | <varlistentry id="glib-compile-resources">
|
---|
| 522 | <term><command>glib-compile-resources</command></term>
|
---|
| 523 | <listitem>
|
---|
[b84342d6] | 524 | <para>
|
---|
[0797528] | 525 | is used to read the resource description from a file and
|
---|
[0d7900a] | 526 | the files that it references to create a binary resource
|
---|
[4c24eb0a] | 527 | bundle that is suitable for use with the GResource API
|
---|
[b84342d6] | 528 | </para>
|
---|
[b31b493] | 529 | <indexterm zone="glib2 glib-compile-resources">
|
---|
| 530 | <primary sortas="b-glib-compile-resources">glib-compile-resources</primary>
|
---|
| 531 | </indexterm>
|
---|
| 532 | </listitem>
|
---|
| 533 | </varlistentry>
|
---|
| 534 |
|
---|
| 535 | <varlistentry id="glib-compile-schemas">
|
---|
| 536 | <term><command>glib-compile-schemas</command></term>
|
---|
| 537 | <listitem>
|
---|
[b84342d6] | 538 | <para>
|
---|
[0d7900a] | 539 | is used to compile all the GSettings XML schema files
|
---|
[8558044] | 540 | in a directory into a binary file with the name
|
---|
[4c24eb0a] | 541 | <filename>gschemas.compiled</filename> that can be used by GSettings
|
---|
[b84342d6] | 542 | </para>
|
---|
[b31b493] | 543 | <indexterm zone="glib2 glib-compile-schemas">
|
---|
| 544 | <primary sortas="b-glib-compile-resources">glib-compile-schemas</primary>
|
---|
| 545 | </indexterm>
|
---|
| 546 | </listitem>
|
---|
| 547 | </varlistentry>
|
---|
| 548 |
|
---|
[7c18102] | 549 | <varlistentry id="glib-genmarshal">
|
---|
| 550 | <term><command>glib-genmarshal</command></term>
|
---|
| 551 | <listitem>
|
---|
[b84342d6] | 552 | <para>
|
---|
[4c24eb0a] | 553 | is a C code marshaller generation utility for GLib closures
|
---|
[b84342d6] | 554 | </para>
|
---|
[7c18102] | 555 | <indexterm zone="glib2 glib-genmarshal">
|
---|
| 556 | <primary sortas="b-glib-genmarshal">glib-genmarshal</primary>
|
---|
| 557 | </indexterm>
|
---|
| 558 | </listitem>
|
---|
| 559 | </varlistentry>
|
---|
[4c3474fe] | 560 |
|
---|
[7c18102] | 561 | <varlistentry id="glib-gettextize">
|
---|
| 562 | <term><command>glib-gettextize</command></term>
|
---|
| 563 | <listitem>
|
---|
[b84342d6] | 564 | <para>
|
---|
| 565 | is a variant of the <application>gettext</application>
|
---|
[4c24eb0a] | 566 | internationalization utility
|
---|
[b84342d6] | 567 | </para>
|
---|
[7c18102] | 568 | <indexterm zone="glib2 glib-gettextize">
|
---|
| 569 | <primary sortas="b-glib-gettextize">glib-gettextize</primary>
|
---|
| 570 | </indexterm>
|
---|
| 571 | </listitem>
|
---|
| 572 | </varlistentry>
|
---|
[4c3474fe] | 573 |
|
---|
[7c18102] | 574 | <varlistentry id="glib-mkenums">
|
---|
| 575 | <term><command>glib-mkenums</command></term>
|
---|
| 576 | <listitem>
|
---|
[b84342d6] | 577 | <para>
|
---|
[4c24eb0a] | 578 | is a C language enum description generation utility
|
---|
[b84342d6] | 579 | </para>
|
---|
[7c18102] | 580 | <indexterm zone="glib2 glib-mkenums">
|
---|
| 581 | <primary sortas="b-glib-mkenums">glib-mkenums</primary>
|
---|
| 582 | </indexterm>
|
---|
| 583 | </listitem>
|
---|
| 584 | </varlistentry>
|
---|
[4c3474fe] | 585 |
|
---|
[7c18102] | 586 | <varlistentry id="gobject-query">
|
---|
| 587 | <term><command>gobject-query</command></term>
|
---|
| 588 | <listitem>
|
---|
[b84342d6] | 589 | <para>
|
---|
[4c24eb0a] | 590 | is a small utility that draws a tree of types
|
---|
[b84342d6] | 591 | </para>
|
---|
[7c18102] | 592 | <indexterm zone="glib2 gobject-query">
|
---|
| 593 | <primary sortas="b-gobject-query">gobject-query</primary>
|
---|
| 594 | </indexterm>
|
---|
| 595 | </listitem>
|
---|
| 596 | </varlistentry>
|
---|
[4c3474fe] | 597 |
|
---|
[b31b493] | 598 | <varlistentry id="gresource">
|
---|
| 599 | <term><command>gresource</command></term>
|
---|
| 600 | <listitem>
|
---|
[b84342d6] | 601 | <para>
|
---|
[4c24eb0a] | 602 | offers a simple command line interface to GResource
|
---|
[b84342d6] | 603 | </para>
|
---|
[b31b493] | 604 | <indexterm zone="glib2 gresource">
|
---|
| 605 | <primary sortas="b-gresource">gresource</primary>
|
---|
| 606 | </indexterm>
|
---|
| 607 | </listitem>
|
---|
| 608 | </varlistentry>
|
---|
| 609 |
|
---|
| 610 | <varlistentry id="gsettings">
|
---|
| 611 | <term><command>gsettings</command></term>
|
---|
| 612 | <listitem>
|
---|
[b84342d6] | 613 | <para>
|
---|
[4c24eb0a] | 614 | offers a simple command line interface to GSettings
|
---|
[b84342d6] | 615 | </para>
|
---|
[b31b493] | 616 | <indexterm zone="glib2 gsettings">
|
---|
| 617 | <primary sortas="b-gsettings">gsettings</primary>
|
---|
| 618 | </indexterm>
|
---|
| 619 | </listitem>
|
---|
| 620 | </varlistentry>
|
---|
| 621 |
|
---|
[e103708b] | 622 | <varlistentry id="gtester">
|
---|
| 623 | <term><command>gtester</command></term>
|
---|
| 624 | <listitem>
|
---|
[b84342d6] | 625 | <para>
|
---|
[4c24eb0a] | 626 | is a test running utility
|
---|
[b84342d6] | 627 | </para>
|
---|
[e103708b] | 628 | <indexterm zone="glib2 gtester">
|
---|
| 629 | <primary sortas="b-gtester">gtester</primary>
|
---|
| 630 | </indexterm>
|
---|
| 631 | </listitem>
|
---|
| 632 | </varlistentry>
|
---|
| 633 |
|
---|
| 634 | <varlistentry id="gtester-report">
|
---|
| 635 | <term><command>gtester-report</command></term>
|
---|
| 636 | <listitem>
|
---|
[b84342d6] | 637 | <para>
|
---|
[4c24eb0a] | 638 | is a test report formatting utility
|
---|
[b84342d6] | 639 | </para>
|
---|
[e103708b] | 640 | <indexterm zone="glib2 gtester-report">
|
---|
| 641 | <primary sortas="b-gtester-report">gtester-report</primary>
|
---|
| 642 | </indexterm>
|
---|
| 643 | </listitem>
|
---|
| 644 | </varlistentry>
|
---|
| 645 |
|
---|
[c0bc0a9] | 646 | <varlistentry id="libgio">
|
---|
| 647 | <term><filename class='libraryfile'>libgio-2.0.so</filename></term>
|
---|
| 648 | <listitem>
|
---|
| 649 | <para>
|
---|
| 650 | is a library providing useful classes for general purpose I/O,
|
---|
| 651 | networking, IPC, settings, and other high level application
|
---|
| 652 | functionality
|
---|
| 653 | </para>
|
---|
| 654 | <indexterm zone="glib2 libgio">
|
---|
| 655 | <primary sortas="c-libgio">libgio-2.0.so</primary>
|
---|
| 656 | </indexterm>
|
---|
| 657 | </listitem>
|
---|
| 658 | </varlistentry>
|
---|
| 659 |
|
---|
| 660 | <varlistentry id="libgirepository">
|
---|
| 661 | <term><filename class='libraryfile'>libgirepository-2.0.so</filename></term>
|
---|
| 662 | <listitem>
|
---|
| 663 | <para>
|
---|
| 664 | is a library providing access to typelibs and introspection data
|
---|
| 665 | which describes C APIs
|
---|
| 666 | </para>
|
---|
| 667 | <indexterm zone="glib2 libgirepository">
|
---|
| 668 | <primary sortas="c-libgirepository2">libgirepository-2.0.so</primary>
|
---|
| 669 | </indexterm>
|
---|
| 670 | </listitem>
|
---|
| 671 | </varlistentry>
|
---|
| 672 |
|
---|
| 673 | <varlistentry id="libglib">
|
---|
| 674 | <term><filename class='libraryfile'>libglib-2.0.so</filename></term>
|
---|
| 675 | <listitem>
|
---|
| 676 | <para>
|
---|
| 677 | is a general-purpose, portable utility library, which provides
|
---|
| 678 | many useful data types, macros, type conversions, string
|
---|
| 679 | utilities, file utilities, a mainloop abstraction, and so on
|
---|
| 680 | </para>
|
---|
| 681 | <indexterm zone="glib2 libglib">
|
---|
| 682 | <primary sortas="c-libglib">libglib-2.0.so</primary>
|
---|
| 683 | </indexterm>
|
---|
| 684 | </listitem>
|
---|
| 685 | </varlistentry>
|
---|
| 686 |
|
---|
| 687 | <varlistentry id="libgmodule">
|
---|
| 688 | <term><filename class='libraryfile'>libgmodule-2.0.so</filename></term>
|
---|
| 689 | <listitem>
|
---|
| 690 | <para>
|
---|
| 691 | provides portable API for dynamically loading modules
|
---|
| 692 | </para>
|
---|
| 693 | <indexterm zone="glib2 libgmodule">
|
---|
| 694 | <primary sortas="c-libgmodule">libgmodule-2.0.so</primary>
|
---|
| 695 | </indexterm>
|
---|
| 696 | </listitem>
|
---|
| 697 | </varlistentry>
|
---|
| 698 |
|
---|
| 699 | <varlistentry id="libgobject">
|
---|
| 700 | <term><filename class='libraryfile'>libgobject-2.0.so</filename></term>
|
---|
| 701 | <listitem>
|
---|
| 702 | <para>
|
---|
| 703 | provides the GLib base type system and object class
|
---|
| 704 | </para>
|
---|
| 705 | <indexterm zone="glib2 libgobject">
|
---|
| 706 | <primary sortas="c-libgobject">libgobject-2.0.so</primary>
|
---|
| 707 | </indexterm>
|
---|
| 708 | </listitem>
|
---|
| 709 | </varlistentry>
|
---|
| 710 |
|
---|
| 711 | <varlistentry id="libgthread">
|
---|
| 712 | <term><filename class='libraryfile'>libgthread-2.0.so</filename></term>
|
---|
| 713 | <listitem>
|
---|
[b84342d6] | 714 | <para>
|
---|
[c0bc0a9] | 715 | is a skeleton library for backwards compatibility; it used to
|
---|
| 716 | be the GLib thread library but the functionalities has been
|
---|
| 717 | merged info <systemitem class='library'>libglib-2.0</systemitem>
|
---|
[b84342d6] | 718 | </para>
|
---|
[c0bc0a9] | 719 | <indexterm zone="glib2 libgthread">
|
---|
| 720 | <primary sortas="c-libgthread">libgthread-2.0.so</primary>
|
---|
[7c18102] | 721 | </indexterm>
|
---|
[c0bc0a9] | 722 | </listitem>
|
---|
| 723 | </varlistentry>
|
---|
[4c3474fe] | 724 |
|
---|
[c0bc0a9] | 725 | <varlistentry id="g-ir-annotation-tool">
|
---|
| 726 | <term><command>g-ir-annotation-tool</command></term>
|
---|
| 727 | <listitem>
|
---|
| 728 | <para>
|
---|
| 729 | creates or extracts annotation data from GI typelibs
|
---|
| 730 | </para>
|
---|
| 731 | <indexterm zone="glib2 g-ir-annotation-tool">
|
---|
| 732 | <primary sortas="b-g-ir-annotation-tool">g-ir-annotation-tool</primary>
|
---|
| 733 | </indexterm>
|
---|
| 734 | </listitem>
|
---|
| 735 | </varlistentry>
|
---|
| 736 |
|
---|
| 737 | <varlistentry id="g-ir-compiler">
|
---|
| 738 | <term><command>g-ir-compiler</command></term>
|
---|
| 739 | <listitem>
|
---|
| 740 | <para>
|
---|
| 741 | is a counterpart of <command>gi-compile-repository</command>
|
---|
| 742 | for the old
|
---|
| 743 | <systemitem class='library'>libgirepository-1.0</systemitem>
|
---|
| 744 | API
|
---|
| 745 | </para>
|
---|
| 746 | <indexterm zone="glib2 g-ir-compiler">
|
---|
| 747 | <primary sortas="b-g-ir-compiler">g-ir-compiler</primary>
|
---|
| 748 | </indexterm>
|
---|
| 749 | </listitem>
|
---|
| 750 | </varlistentry>
|
---|
| 751 |
|
---|
| 752 | <varlistentry id="g-ir-doc-tool">
|
---|
| 753 | <term><command>g-ir-doc-tool</command></term>
|
---|
| 754 | <listitem>
|
---|
| 755 | <para>
|
---|
| 756 | generates Mallard files that can be viewed with
|
---|
| 757 | <command>yelp</command> or rendered to HTML with
|
---|
| 758 | <command>yelp-build</command> from
|
---|
| 759 | <ulink url="&gnome-download-http;/yelp-tools">yelp-tools</ulink>
|
---|
| 760 | </para>
|
---|
| 761 | <indexterm zone="glib2 g-ir-doc-tool">
|
---|
| 762 | <primary sortas="b-g-ir-doc-tool">g-ir-doc-tool</primary>
|
---|
| 763 | </indexterm>
|
---|
| 764 | </listitem>
|
---|
| 765 | </varlistentry>
|
---|
| 766 |
|
---|
| 767 | <varlistentry id="g-ir-inspect">
|
---|
| 768 | <term><command>g-ir-inspect</command></term>
|
---|
| 769 | <listitem>
|
---|
| 770 | <para>
|
---|
| 771 | is a counterpart of <command>gi-inspect-typelib</command>
|
---|
| 772 | for the old
|
---|
| 773 | <systemitem class='library'>libgirepository-1.0</systemitem>
|
---|
| 774 | API
|
---|
| 775 | </para>
|
---|
| 776 | <indexterm zone="glib2 g-ir-inspect">
|
---|
| 777 | <primary sortas="b-g-ir-inspect">g-ir-inspect</primary>
|
---|
| 778 | </indexterm>
|
---|
| 779 | </listitem>
|
---|
| 780 | </varlistentry>
|
---|
| 781 |
|
---|
| 782 | <varlistentry id="g-ir-generate">
|
---|
| 783 | <term><command>g-ir-generate</command></term>
|
---|
| 784 | <listitem>
|
---|
| 785 | <para>
|
---|
| 786 | is a counterpart of <command>gi-decompile-typelib</command>
|
---|
| 787 | for the old
|
---|
| 788 | <systemitem class='library'>libgirepository-1.0</systemitem>
|
---|
| 789 | API
|
---|
| 790 | </para>
|
---|
| 791 | <indexterm zone="glib2 g-ir-generate">
|
---|
| 792 | <primary sortas="b-g-ir-generate">g-ir-generate</primary>
|
---|
| 793 | </indexterm>
|
---|
| 794 | </listitem>
|
---|
| 795 | </varlistentry>
|
---|
| 796 |
|
---|
| 797 | <varlistentry id="g-ir-scanner">
|
---|
| 798 | <term><command>g-ir-scanner</command></term>
|
---|
| 799 | <listitem>
|
---|
| 800 | <para>
|
---|
| 801 | is a tool which generates GIR XML files by parsing headers and
|
---|
| 802 | introspecting GObject based libraries
|
---|
| 803 | </para>
|
---|
| 804 | <indexterm zone="glib2 g-ir-scanner">
|
---|
| 805 | <primary sortas="b-g-ir-scanner">g-ir-scanner</primary>
|
---|
| 806 | </indexterm>
|
---|
| 807 | </listitem>
|
---|
| 808 | </varlistentry>
|
---|
| 809 |
|
---|
| 810 | <varlistentry id="libgirepository-1.0">
|
---|
| 811 | <term><filename class='libraryfile'>libgirepository-1.0.so</filename></term>
|
---|
| 812 | <listitem>
|
---|
| 813 | <para>
|
---|
| 814 | is a counterpart of
|
---|
| 815 | <systemitem class='library'>libgirepository-2.0</systemitem>
|
---|
| 816 | with the old 1.0 API
|
---|
| 817 | </para>
|
---|
| 818 | <indexterm zone="glib2 libgirepository-1.0">
|
---|
| 819 | <primary sortas="c-libgirepository1">libgirepository-1.0.so</primary>
|
---|
| 820 | </indexterm>
|
---|
| 821 | </listitem>
|
---|
| 822 | </varlistentry>
|
---|
[7c18102] | 823 | </variablelist>
|
---|
| 824 |
|
---|
| 825 | </sect2>
|
---|
[d4340990] | 826 |
|
---|
| 827 | </sect1>
|
---|