Changeset b84342d6 for general/genlib
- Timestamp:
- 05/07/2012 10:05:37 PM (12 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 7ecc1c4b
- Parents:
- ff53809
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/genlib/glib2.xml
rff53809 rb84342d6 7 7 <!ENTITY glib2-download-http "&gnome-download-http;/glib/2.32/glib-&glib2-version;.tar.xz"> 8 8 <!ENTITY glib2-download-ftp "&gnome-download-ftp;/glib/2.32/glib-&glib2-version;.tar.xz"> 9 <!ENTITY glib2-md5sum " 032c7cf9868c9aa186b490b155a41144">9 <!ENTITY glib2-md5sum "5bfdb6197afb90e4dbc7b1bb98f0eae0"> 10 10 <!ENTITY glib2-size "5.9 MB"> 11 <!ENTITY glib2-buildsize "1 70 MB">11 <!ENTITY glib2-buildsize "180 MB"> 12 12 <!ENTITY glib2-time "1.2 SBU (additional 4.0 SBU to run the test suite)"> 13 13 ]> … … 30 30 <title>Introduction to GLib</title> 31 31 32 <para>The <application>GLib</application> package contains a low-level core 33 library. This is useful for providing data structure handling for C, 34 portability wrappers and interfaces for such runtime functionality as an 35 event loop, threads, dynamic loading, and an object system.</para> 32 <para> 33 The <application>GLib</application> package contains a low-level 34 libraries useful for providing data structure handling for C, portability 35 wrappers and interfaces for such runtime functionality as an 36 event loop, threads, dynamic loading and an object system. 37 </para> 36 38 37 39 &lfs71_checked; 38 39 <!-- Compiled against PCRE, Python, and desktop-file-utils.40 1 test failed (regex) -->41 40 42 41 <bridgehead renderas="sect3">Package Information</bridgehead> 43 42 <itemizedlist spacing="compact"> 44 43 <listitem> 45 <para>Download (HTTP): <ulink url="&glib2-download-http;"/></para> 46 </listitem> 47 <listitem> 48 <para>Download (FTP): <ulink url="&glib2-download-ftp;"/></para> 49 </listitem> 50 <listitem> 51 <para>Download MD5 sum: &glib2-md5sum;</para> 52 </listitem> 53 <listitem> 54 <para>Download size: &glib2-size;</para> 55 </listitem> 56 <listitem> 57 <para>Estimated disk space required: &glib2-buildsize;</para> 58 </listitem> 59 <listitem> 60 <para>Estimated build time: &glib2-time;</para> 44 <para> 45 Download (HTTP): <ulink url="&glib2-download-http;"/> 46 </para> 47 </listitem> 48 <listitem> 49 <para> 50 Download (FTP): <ulink url="&glib2-download-ftp;"/> 51 </para> 52 </listitem> 53 <listitem> 54 <para> 55 Download MD5 sum: &glib2-md5sum; 56 </para> 57 </listitem> 58 <listitem> 59 <para> 60 Download size: &glib2-size; 61 </para> 62 </listitem> 63 <listitem> 64 <para> 65 Estimated disk space required: &glib2-buildsize; 66 </para> 67 </listitem> 68 <listitem> 69 <para> 70 Estimated build time: &glib2-time; 71 </para> 61 72 </listitem> 62 73 </itemizedlist> … … 83 94 </para> 84 95 85 <para><application>Gamin</application> requires 86 <application>GLib</application> in order to compile; therefore, you must 87 first install <application>GLib</application>, then compile 88 <application>Gamin</application>, and recompile 89 <application>GLib</application> against it.</para> 96 <para> 97 <application>Gamin</application> requires 98 <application>GLib</application> in order to compile; therefore, 99 you must first install <application>GLib</application>, 100 then compile <application>Gamin</application>, and recompile 101 <application>GLib</application> against it. 102 </para> 90 103 91 104 <bridgehead renderas="sect4">Additional Runtime Dependencies</bridgehead> 92 <para role="optional">Quoted directly from the <filename>INSTALL</filename> 93 file; <quote>Some of the mimetype-related functionality in GIO requires the 94 <command>update-mime-database</command> and 95 <command>update-desktop-database</command> utilities</quote>, which are part of 96 <xref linkend="shared-mime-info"/> and 97 <xref linkend="desktop-file-utils"/>, respectively.</para> 105 <para role="optional"> 106 Quoted directly from the <filename>INSTALL</filename> file; 107 <quote>Some of the mimetype-related functionality in GIO requires the 108 <command>update-mime-database</command> and 109 <command>update-desktop-database</command> utilities</quote>, 110 which are part of 111 <xref linkend="shared-mime-info"/> and 112 <xref linkend="desktop-file-utils"/>, respectively. 113 </para> 98 114 99 115 <para condition="html" role="usernotes">User Notes: … … 105 121 <title>Installation of GLib</title> 106 122 107 <para>Install <application>GLib</application> by running the following 108 commands:</para> 109 110 <!-- This should be discussed as the instructions in the tarball give 111 many reasons why the internal PCRE should be used --> 112 113 <!-- Re: PCRE 8.30 is bundled, and BLFS has same version --> 123 <para> 124 Install <application>GLib</application> by running the following 125 commands: 126 </para> 114 127 115 128 <screen><userinput>PCRE_LIBS=-lpcre PCRE_CFLAGS=" " \ … … 118 131 make</userinput></screen> 119 132 120 <para>The <application>GLib</application> test suite requires 121 <application>desktop-file-utils</application> in order to run. However, 122 <application>desktop-file-utils</application> requires 123 <application>GLib</application> in order to compile; therefore, you must 124 first install <application>GLib</application> and then run the test 125 suite.</para> 126 127 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 133 <para> 134 The <application>GLib</application> test suite requires 135 <application>desktop-file-utils</application> in order to run. However, 136 <application>desktop-file-utils</application> requires 137 <application>GLib</application> in order to compile; therefore, you must 138 first install <application>GLib</application> and then run the test 139 suite. 140 </para> 141 142 <para> 143 Now, as the <systemitem class="username">root</systemitem> user: 144 </para> 128 145 129 146 <screen role="root"><userinput>make install && 130 147 ln -v -sfn ../../lib/glib-2.0/include/glibconfig.h /usr/include/glib-2.0/glibconfig.h</userinput></screen> 131 148 132 <para>You should now install <xref linkend="desktop-file-utils"/> and proceed to 133 run the test suite.</para> 134 135 <para>To test the results, issue: <command>make check</command>.</para> 149 <para> 150 You should now install <xref linkend="desktop-file-utils"/> and proceed to 151 run the test suite. 152 </para> 153 154 <para> 155 To test the results, issue: <command>make check</command>. 156 </para> 136 157 137 158 </sect2> … … 140 161 <title>Command Explanations</title> 141 162 142 <para>PCRE_* and LIBFFI_*: <application>Glib</application> is a prerequsite 143 for <application>pkg_config</application>, but it wants to use 144 <application>pkg_config</application> during the build process. These 145 environment variables work around not having 146 <application>pkg_config</application> available.</para> 147 148 <para><command>ln -v -sfn ... glibconfig.h</command>: Place a link to an 149 architecture dependent header file where programs can find it.</para> 150 151 <para><parameter>--with-pcre=system</parameter>: This parameter causes the 152 build to use a system-provided version of the 153 <application>PCRE</application> library instead of an internal 154 version.</para> 163 <para> 164 PCRE_* and LIBFFI_*: <application>Glib</application> is a prerequsite 165 for <application>pkg-config</application>, but it wants to use 166 <application>pkg-config</application> during the build process. 167 These environment variables work around not having 168 <application>pkg-config</application> available. 169 </para> 170 171 <para> 172 <command>ln -v -sfn ... glibconfig.h</command>: Place a link to an 173 architecture dependent header file where programs can find it. 174 </para> 175 176 <para> 177 <parameter>--with-pcre=system</parameter>: This parameter causes the 178 build to use a system-provided version of the 179 <application>PCRE</application> library instead of an internal 180 version. 181 </para> 155 182 156 183 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 157 href="../../xincludes/gtk-doc-rebuild.xml"/>184 href="../../xincludes/gtk-doc-rebuild.xml"/> 158 185 159 186 </sect2> … … 168 195 <title>Configuration Information</title> 169 196 170 <para>By default, <application>GLib</application> assumes that all 171 filenames are in the UTF-8 charset. See the <xref 172 linkend="locale-wrong-filename-encoding"/> section of the <xref 173 linkend="locale-issues"/> page for more details on this kind of issue. In 174 order to tell <application>GLib</application> and applications that use 175 it that filenames are in the default locale encoding, set the variable 176 <envar>G_FILENAME_ENCODING</envar> to the value "@locale". As the 177 <systemitem class="username">root</systemitem> user:</para> 197 <para> 198 By default, <application>GLib</application> assumes that all 199 filenames are in the UTF-8 charset. See the <xref 200 linkend="locale-wrong-filename-encoding"/> section of the <xref 201 linkend="locale-issues"/> page for more details on this kind of issue. In 202 order to tell <application>GLib</application> and applications that use 203 it that filenames are in the default locale encoding, set the variable 204 <envar>G_FILENAME_ENCODING</envar> to the value "@locale". As the 205 <systemitem class="username">root</systemitem> user: 206 </para> 178 207 179 208 <screen role="root"><userinput>cat > /etc/profile.d/glib2-locale.sh << "EOF" … … 225 254 <term><command>gdbus</command></term> 226 255 <listitem> 227 <para>is a simple tool for working with D-Bus objects.</para> 256 <para> 257 is a simple tool for working with D-Bus objects. 258 </para> 228 259 <indexterm zone="glib2 gdbus"> 229 260 <primary sortas="b-gdbus">gdbus</primary> … … 235 266 <term><command>gdbus-codegen</command></term> 236 267 <listitem> 237 <para>is used to generate code and/or documentation for one or 238 more D-Bus interfaces.</para> 268 <para> 269 is used to generate code and/or documentation for one or 270 more <application>D-Bus</application> interfaces. 271 </para> 239 272 <indexterm zone="glib2 gdbus-codegen"> 240 273 <primary sortas="b-gdbus-codegen">gdbus-codegen</primary> … … 246 279 <term><command>gio-querymodules</command></term> 247 280 <listitem> 248 <para>is used to create a giomodule.cache file in the listed directories. 249 This file lists the implemented extension points for each module that has 250 been found.</para> 281 <para> 282 is used to create a giomodule.cache file in the listed directories. 283 This file lists the implemented extension points for each module that has 284 been found. 285 </para> 251 286 <indexterm zone="glib2 gio-querymodules"> 252 287 <primary sortas="b-gio-querymodules">gio-querymodules</primary> … … 258 293 <term><command>glib-compile-resources</command></term> 259 294 <listitem> 260 <para>is used to read the resource description from file and 261 the files that it references to create a binary resource 262 bundle that is suitable for use with the GResource API.</para> 295 <para> 296 is used to read the resource description from file and 297 the files that it references to create a binary resource 298 bundle that is suitable for use with the GResource API. 299 </para> 263 300 <indexterm zone="glib2 glib-compile-resources"> 264 301 <primary sortas="b-glib-compile-resources">glib-compile-resources</primary> … … 270 307 <term><command>glib-compile-schemas</command></term> 271 308 <listitem> 272 <para>is used to compile all the GSettings XML schema files 273 in directory into a binary file with the name gschemas.compiled 274 that can be used by GSettings.</para> 309 <para> 310 is used to compile all the GSettings XML schema files 311 in directory into a binary file with the name gschemas.compiled 312 that can be used by GSettings. 313 </para> 275 314 <indexterm zone="glib2 glib-compile-schemas"> 276 315 <primary sortas="b-glib-compile-resources">glib-compile-schemas</primary> … … 282 321 <term><command>glib-genmarshal</command></term> 283 322 <listitem> 284 <para>is a C code marshaller generation utility for GLib 285 closures.</para> 323 <para> 324 is a C code marshaller generation utility for GLib closures. 325 </para> 286 326 <indexterm zone="glib2 glib-genmarshal"> 287 327 <primary sortas="b-glib-genmarshal">glib-genmarshal</primary> … … 293 333 <term><command>glib-gettextize</command></term> 294 334 <listitem> 295 <para>is a variant of the <application>gettext</application> 296 internationalization utility.</para> 335 <para> 336 is a variant of the <application>gettext</application> 337 internationalization utility. 338 </para> 297 339 <indexterm zone="glib2 glib-gettextize"> 298 340 <primary sortas="b-glib-gettextize">glib-gettextize</primary> … … 304 346 <term><command>glib-mkenums</command></term> 305 347 <listitem> 306 <para>is a C language enum description generation utility.</para> 348 <para> 349 is a C language enum description generation utility. 350 </para> 307 351 <indexterm zone="glib2 glib-mkenums"> 308 352 <primary sortas="b-glib-mkenums">glib-mkenums</primary> … … 314 358 <term><command>gobject-query</command></term> 315 359 <listitem> 316 <para>is a small utility that draws a tree of types.</para> 360 <para> 361 is a small utility that draws a tree of types. 362 </para> 317 363 <indexterm zone="glib2 gobject-query"> 318 364 <primary sortas="b-gobject-query">gobject-query</primary> … … 324 370 <term><command>gresource</command></term> 325 371 <listitem> 326 <para>offers a simple commandline interface to GResource.</para> 372 <para> 373 offers a simple commandline interface to GResource. 374 </para> 327 375 <indexterm zone="glib2 gresource"> 328 376 <primary sortas="b-gresource">gresource</primary> … … 334 382 <term><command>gsettings</command></term> 335 383 <listitem> 336 <para>offers a simple commandline interface to GSettings.</para> 384 <para> 385 offers a simple commandline interface to GSettings. 386 </para> 337 387 <indexterm zone="glib2 gsettings"> 338 388 <primary sortas="b-gsettings">gsettings</primary> … … 344 394 <term><command>gtester</command></term> 345 395 <listitem> 346 <para>is a test running utility.</para> 396 <para> 397 is a test running utility. 398 </para> 347 399 <indexterm zone="glib2 gtester"> 348 400 <primary sortas="b-gtester">gtester</primary> … … 354 406 <term><command>gtester-report</command></term> 355 407 <listitem> 356 <para>is a test report formatting utility.</para> 408 <para> 409 is a test report formatting utility. 410 </para> 357 411 <indexterm zone="glib2 gtester-report"> 358 412 <primary sortas="b-gtester-report">gtester-report</primary> … … 364 418 <term>GLib libraries</term> 365 419 <listitem> 366 <para>contain a low-level core library for the 367 <application>GIMP</application> Toolkit.</para> 420 <para> 421 contain a low-level core libraries for the 422 <application>GIMP</application> Toolkit. 423 </para> 368 424 <indexterm zone="glib2 GLib-libraries"> 369 425 <primary sortas="c-GLib-libraries">Glib libraries</primary>
Note:
See TracChangeset
for help on using the changeset viewer.