Ignore:
Timestamp:
10/15/2017 09:22:27 PM (5 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 11.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, lazarus, perl-modules, qt5new, trunk, upgradedb, xry111/intltool, xry111/test-20220226
Children:
f2e7e668
Parents:
d6aa5ce
Message:

Add an optional patch to glib to allow user supression of
unwanted warning messages.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19330 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/glib2.xml

    rd6aa5ce ra9c0e8d  
    7373    </itemizedlist>
    7474
     75    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     76    <itemizedlist spacing="compact">
     77      <listitem>
     78        <para>
     79          Optional patch:
     80          <ulink url="&patch-root;/glib-&glib2-version;-skip_warnings-1.patch"/>
     81        </para>
     82      </listitem>
     83    </itemizedlist>
     84
    7585    <bridgehead renderas="sect3">GLib Dependencies</bridgehead>
    76 
    7786<!--
    7887    <bridgehead renderas="sect4">Required</bridgehead>
     
    118127  <sect2 role="installation">
    119128    <title>Installation of GLib</title>
     129
     130    <para>If desired, appy the optional patch. In many cases, applications that
     131    use this library, either  directly or indirectly via other libraries such
     132    as <xref linkend="gtk3"/>, output numerous warnings when run from the
     133    command line.  This patch enables the use of an environment variable,
     134    GLIB_LOG_LEVEL, that supresses unwanted messages. The value of the
     135    variable is a digit that corresponds to:</para>
     136
     137    <simplelist>
     138      <member>1  Alert</member>
     139      <member>2  Critical</member>
     140      <member>3  Error</member>
     141      <member>4  Warning</member>
     142      <member>5  Notice</member>
     143    </simplelist>
     144
     145    <para>For instance GLIB_LOG_LEVEL=4 will skip output of Warning and
     146    Notice messages (and Info/Debug messages if they are turned on).
     147    If GLIB_LOG_LEVEL is not defined, normal message output will not
     148    be affected.</para>
     149
     150<screen><userinput>patch -Np1 -i ../glib-&glib2-version;-skip_warnings-1.patch</userinput></screen>
    120151
    121152    <para>
Note: See TracChangeset for help on using the changeset viewer.