- 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
- Location:
- general
- Files:
-
- 3 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> -
general/sysutils/udisks2.xml
rff53809 rb84342d6 7 7 <!ENTITY udisks2-download-http "http://udisks.freedesktop.org/releases/udisks-&udisks2-version;.tar.bz2"> 8 8 <!ENTITY udisks2-download-ftp " "> 9 <!ENTITY udisks2-md5sum " c2a3428227de0251ff9e204d17dd2130">10 <!ENTITY udisks2-size " 576KB">11 <!ENTITY udisks2-buildsize " 26MB">9 <!ENTITY udisks2-md5sum "427a31f0d9056af79e44f0278844c8b9"> 10 <!ENTITY udisks2-size "608 KB"> 11 <!ENTITY udisks2-buildsize "30 MB"> 12 12 <!ENTITY udisks2-time "0.3 SBU"> 13 13 ]> … … 82 82 </para> 83 83 84 <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead> 85 <para role="optional"> 86 <xref linkend="gobject-introspection"/> 87 </para> 88 84 89 <bridgehead renderas="sect4">Optional</bridgehead> 85 90 <para role="optional"> 86 <xref linkend="gobject-introspection"/> and87 91 <xref linkend="gtk-doc"/> 88 92 </para> … … 145 149 </seg> 146 150 <seg> 147 /usr/include/udisks2, /usr/lib/udisks2, 151 /usr/include/udisks2, 152 /usr/lib/udisks2, 148 153 /usr/share/gtk-doc/html/udisks2 and 149 154 /var/lib/udisks2 … … 161 166 <listitem> 162 167 <para> 163 is a command-line program used to interact with the udisksd daemon. 168 is a command-line program used to interact with the 169 <command>udisksd</command> daemon. 164 170 </para> 165 171 <indexterm zone="udisks2 udisksctl"> … … 173 179 <listitem> 174 180 <para> 175 is the UDisks2daemon itself.181 is the <application>UDisks2</application> daemon itself. 176 182 </para> 177 183 <indexterm zone="udisks2 udisksd"> … … 185 191 <listitem> 186 192 <para> 187 contains UDisks2API functions.193 contains <application>UDisks2</application> API functions. 188 194 </para> 189 195 <indexterm zone="udisks2 libudisks2"> -
general/sysutils/upower.xml
rff53809 rb84342d6 7 7 <!ENTITY upower-download-http "http://upower.freedesktop.org/releases/upower-&upower-version;.tar.xz"> 8 8 <!ENTITY upower-download-ftp " "> 9 <!ENTITY upower-md5sum " 9503a853e894630e023ee244d295fd27">9 <!ENTITY upower-md5sum "65030caf519b8a06856c12b6668a9f57"> 10 10 <!ENTITY upower-size "394 KB"> 11 11 <!ENTITY upower-buildsize "8.5 MB"> … … 30 30 <title>Introduction to UPower</title> 31 31 32 <para>The <application>UPower</application> package provides an interface to 33 enumerating power devices, listening to device events and querying history 34 and statistics. Any application or service on the system can access the 35 org.freedesktop.UPower service via the system message bus.</para> 32 <para> 33 The <application>UPower</application> package provides an interface to 34 enumerating power devices, listening to device events and querying history 35 and statistics. Any application or service on the system can access the 36 org.freedesktop.UPower service via the system message bus. 37 </para> 36 38 37 39 &lfs70_checked; … … 40 42 <itemizedlist spacing="compact"> 41 43 <listitem> 42 <para>Download (HTTP): <ulink url="&upower-download-http;"/></para> 43 </listitem> 44 <listitem> 45 <para>Download (FTP): <ulink url="&upower-download-ftp;"/></para> 46 </listitem> 47 <listitem> 48 <para>Download MD5 sum: &upower-md5sum;</para> 49 </listitem> 50 <listitem> 51 <para>Download size: &upower-size;</para> 52 </listitem> 53 <listitem> 54 <para>Estimated disk space required: &upower-buildsize;</para> 55 </listitem> 56 <listitem> 57 <para>Estimated build time: &upower-time;</para> 44 <para> 45 Download (HTTP): <ulink url="&upower-download-http;"/> 46 </para> 47 </listitem> 48 <listitem> 49 <para> 50 Download (FTP): <ulink url="&upower-download-ftp;"/> 51 </para> 52 </listitem> 53 <listitem> 54 <para> 55 Download MD5 sum: &upower-md5sum; 56 </para> 57 </listitem> 58 <listitem> 59 <para> 60 Download size: &upower-size; 61 </para> 62 </listitem> 63 <listitem> 64 <para> 65 Estimated disk space required: &upower-buildsize; 66 </para> 67 </listitem> 68 <listitem> 69 <para> 70 Estimated build time: &upower-time; 71 </para> 58 72 </listitem> 59 73 </itemizedlist> … … 87 101 <title>Installation of UPower</title> 88 102 89 <para>Install <application>UPower</application> by running the following 90 commands:</para> 103 <para> 104 Install <application>UPower</application> by running the following 105 commands: 106 </para> 91 107 92 108 <screen><userinput>./configure --prefix=/usr \ … … 97 113 make</userinput></screen> 98 114 99 <para>To test the results, issue: <command>make check</command>.</para> 100 101 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 115 <para> 116 To test the results, issue: <command>make check</command>. 117 </para> 118 119 <para> 120 Now, as the <systemitem class="username">root</systemitem> user: 121 </para> 102 122 103 123 <screen role="root"><userinput>make install</userinput></screen> … … 109 129 110 130 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 111 href="../../xincludes/static-libraries.xml"/>131 href="../../xincludes/static-libraries.xml"/> 112 132 113 133 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 114 href="../../xincludes/gtk-doc-rebuild.xml"/>134 href="../../xincludes/gtk-doc-rebuild.xml"/> 115 135 116 136 </sect2> … … 119 139 <title>Configuring your kernel for UPower</title> 120 140 121 <para>To use the command <command>upower -w</command> for information about 122 processor wakeups (this command is used by <xref linkend="gnome-power-manager"/>) 123 you need to enable CONFIG_TIMER_STATS. This is achieved in 124 <command>make menuconfig</command> by going to the 'kernel-hacking' 125 menu and selecting 'Collect kernel timers statistics'.</para> 141 <para> 142 To use the command <command>upower -w</command> for information about 143 processor wakeups (this command is used by <xref linkend="gnome-power-manager"/>) 144 you need to enable CONFIG_TIMER_STATS. This is achieved in 145 <command>make menuconfig</command> by going to the 'kernel-hacking' 146 menu and selecting 'Collect kernel timers statistics'. 147 </para> 126 148 127 149 </sect2> … … 156 178 <term><command>upower</command></term> 157 179 <listitem> 158 <para>is the <application>UPower</application> command line 159 tool.</para> 180 <para> 181 is the <application>UPower</application> command line tool. 182 </para> 160 183 <indexterm zone="upower upower-prog"> 161 184 <primary sortas="b-upower">upower</primary> … … 167 190 <term><command>upowerd</command></term> 168 191 <listitem> 169 <para>is the <application>UPower</application> Daemon. It provides the 170 org.freedesktop.UPower service on the system message bus.</para> 192 <para> 193 is the <application>UPower</application> Daemon. It provides the 194 org.freedesktop.UPower service on the system message bus. 195 </para> 171 196 <indexterm zone="upower upowerd"> 172 197 <primary sortas="b-upowerd">upowerd</primary> … … 178 203 <term><filename class='libraryfile'>libupower-glib.so</filename></term> 179 204 <listitem> 180 <para>contains the <application>UPower</application> API 181 functions.</para> 205 <para> 206 contains the <application>UPower</application> API functions. 207 </para> 182 208 <indexterm zone="upower libupower-glib"> 183 209 <primary sortas="c-libupower-glib">libupower-glib.so</primary>
Note:
See TracChangeset
for help on using the changeset viewer.