Author: bdubbs
Date: 2012-03-21 12:20:44 -0600 (Wed, 21 Mar 2012)
New Revision: 9737
Modified:
trunk/BOOK/general/genlib/glib2.xml
Log:
Minor updates to glib2 format and text.
Modified: trunk/BOOK/general/genlib/glib2.xml
===================================================================
--- trunk/BOOK/general/genlib/glib2.xml 2012-03-20 21:45:12 UTC (rev 9736)
+++ trunk/BOOK/general/genlib/glib2.xml 2012-03-21 18:20:44 UTC (rev 9737)
@@ -107,8 +107,10 @@
<!-- This should be discussed as the instructions in the tarball give
many reasons why the internal PCRE should be used -->
-<screen><userinput>PCRE_LIBS=-lpcre PCRE_CFLAGS=" "
\
-LIBFFI_LIBS=-lffi LIBFFI_CFLAGS=-I/usr/lib/libffi-3.0.10/include \
+<screen><userinput>PCRE_LIBS=-lpcre \
+PCRE_CFLAGS=" " \
+LIBFFI_LIBS=-lffi \
+LIBFFI_CFLAGS=-I/usr/lib/libffi-3.0.10/include \
./configure --prefix=/usr --sysconfdir=/etc --with-pcre=system &&
make</userinput></screen>
@@ -164,13 +166,13 @@
<para>By default, <application>GLib</application> assumes that all
filenames are in the UTF-8 charset. See the <xref
linkend="locale-wrong-filename-encoding"/> section of the <xref
- linkend="locale-issues"/> page for more details on this kind of
- issue. In order to tell <application>GLib</application> and
- applications that use it that filenames are in the default locale
- encoding, set the variable <envar>G_FILENAME_ENCODING</envar> to the
- value "@locale":</para>
+ linkend="locale-issues"/> page for more details on this kind of issue. In
+ order to tell <application>GLib</application> and applications that use
+ it that filenames are in the default locale encoding, set the variable
+ <envar>G_FILENAME_ENCODING</envar> to the value "@locale". As the
+ <systemitem class="username">root</systemitem> user:</para>
-<screen><userinput>cat > /etc/profile.d/glib2-locale.sh << "EOF"
+<screen role="root"><userinput>cat > /etc/profile.d/glib2-locale.sh
<< "EOF"
<literal># Use the current locale charset for filenames
# in applications using GLib
export G_FILENAME_ENCODING=@locale</literal>
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page