Changeset c1ecca9


Ignore:
Timestamp:
02/20/2018 05:04:20 PM (6 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
f10c288
Parents:
7306976
Message:

Fix lightdm build, but do not tag yet, since some sessions may not start if
the DE is not in /usr

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/dm/lightdm.xml

    r7306976 rc1ecca9  
    143143    <para role="optional">
    144144      <xref linkend="at-spi2-core"/>,
     145      <xref linkend="exo"/>,
    145146      <xref linkend="gtk-doc"/>,
    146       <xref linkend="itstool"/>, 
     147      <xref linkend="itstool"/>,
    147148      <xref linkend="qt5"/>,
    148       <ulink url="https://launchpad.net/intltool">intltool</ulink>,
    149149      <ulink url="https://launchpad.net/ido">libido</ulink>, and
    150150      <ulink url="https://launchpad.net/libindicator">libindicator</ulink>
     
    178178    </para>
    179179
    180 <screen><userinput>./configure                          \
     180<screen><userinput>ITSTOOL=/bin/true                    \
     181./configure                          \
    181182       --prefix=/usr                 \
    182183       --libexecdir=/usr/lib/lightdm \
     
    212213cd lightdm-gtk-greeter-&lightdm-gtk-greeter-version; &amp;&amp;
    213214
    214 export CFLAGS="$CFLAGS -Wno-declaration-after-statement" &amp;&amp;
    215 
     215OUR_CFLAGS="-Wno-declaration-after-statement \
     216            -Wno-error=deprecated-declarations" &amp;&amp;
     217
     218CFLAGS="$CFLAGS $OUR_CFLAGS"     \
     219HAVE_EXO_CSOURCE=yes             \
    216220./configure                      \
    217221   --prefix=/usr                 \
     
    235239
    236240  </sect2>
    237 <!--
     241
    238242  <sect2 role="commands">
    239243    <title>Command Explanations</title>
    240244
    241245    <para>
    242       <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used to
    243       apply additional compiler optimizations.
     246      <parameter>ITSTOOL=/bin/true</parameter>: although
     247      <xref linkend="itstool"/> is not needed in a normal build,
     248      <command>configure</command> throws an error if it is not found on the
     249      system. This parameter prevents the error.
     250    </para>
     251
     252    <para>
     253      <parameter>CFLAGS=...</parameter>: those two switches prevent some
     254      warnings to be treated as errors.
     255    </para>
     256
     257    <para>
     258      <parameter>HAVE_EXO_CSOURCE=yes</parameter>: although
     259      <command>exo-csource</command> is not needed in a normal build,
     260      <command>configure</command> throws an error if it is not found on the
     261      system. This parameter prevents the error.
    244262    </para>
    245263
    246264  </sect2>
    247 -->
     265
    248266  <sect2 role="configuration">
    249267    <title>Configuring lightdm</title>
Note: See TracChangeset for help on using the changeset viewer.