Changeset d9506f79


Ignore:
Timestamp:
05/22/2021 03:06:56 PM (3 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, 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:
dd51538
Parents:
5804e5f
Message:

cups: remove redundant option on systemd, and mention clang

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pst/printing/cups.xml

    r5804e5f rd9506f79  
    9292      <xref linkend="avahi"/>,
    9393      <xref linkend="libpaper"/>,
     94      <xref linkend="llvm"/> (with <command>clang</command>),
    9495      <xref linkend="mitkrb"/>,
    9596      <xref linkend="openjdk"/>,
     
    202203
    203204    <para>
    204       Remove an invalid warning option:
     205      Upstream perfers <command>clang</command> than <command>gcc</command>,
     206      but the building system will try to use a compiler warning option
     207      unsupported by <command>clang</command>.  If <command>clang</command> is
     208      installed, remove this warning option:
    205209    </para>
    206210
     
    235239-->
    236240<screen revision="systemd"><userinput>./configure --libdir=/usr/lib            \
    237             --with-rcdir=/tmp/cupsinit   \
    238241            --with-system-groups=lpadmin \
    239242            --with-docdir=/usr/share/cups/doc-&cups-version; &amp;&amp;
     
    255258
    256259<screen role="root"><userinput>make install &amp;&amp;
    257 rm -rf /tmp/cupsinit &amp;&amp;
    258260ln -svnf ../cups/doc-&cups-version; /usr/share/doc/cups-&cups-version;</userinput></screen>
     261
     262    <para revision="sysv">
     263      Remove the shipped bootscript, which is incompatible with LFS:
     264    </para>
     265
     266<screen role="root" revision="sysv"><userinput>rm -rf /tmp/cupsinit &amp;&amp;</userinput></screen>
    259267
    260268    <para>
     
    285293      by glibc-2.30 changing the user-space API for sockets.
    286294    </para>
    287 
    288     <para>
    289       <envar>CC=gcc CXX=g++</envar>: This environment variable ensures that gcc is used,
    290       if clang is installed. Remove it, if you prefer to use clang. Using clang
    291       almost doubles build time and slightly decreases build disk space.
    292       Installed disk space is not appreciably modified.
    293     </para>
    294295-->
     296    <para>
     297      <envar>CC=gcc CXX=g++</envar>: Setting them if you prefer to use
     298      <command>gcc</command> instead of <command>clang</command>, which is
     299      now preferred by the upstream.
     300    </para>
     301
    295302    <para revision="sysv">
    296303      <parameter>--disable-systemd</parameter>: Systemd is not supported by
     
    298305    </para>
    299306
    300     <para>
     307    <para revision="sysv">
    301308      <parameter>--with-rcdir=/tmp/cupsinit</parameter>: This switch tells the
    302309      build process to install the shipped bootscript into <filename
Note: See TracChangeset for help on using the changeset viewer.