Changeset 2c1a7b7f for pst/printing


Ignore:
Timestamp:
10/07/2014 03:18:51 PM (10 years ago)
Author:
Fernando de Oliveira <fernando@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, 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, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
c77f4066
Parents:
6e5365b
Message:

Several modifications in CUPS-2.0.0. Thanks Armin.
XScreenSaver-5.30 and ConsoleKit-0.4.6: tweaks.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pst/printing/cups.xml

    r6e5365b r2c1a7b7f  
    9595    <para role="optional">
    9696      <xref linkend="avahi"/>,
    97       <xref linkend="gnutls"/> (if you have it installed, then
    98       <xref linkend="libgcrypt"/> is required),
     97      <xref linkend="gnutls"/>,
    9998      <xref linkend="libpaper"/>,
    10099      <xref linkend="linux-pam"/>,
     
    210209<screen><userinput>patch -Np1 -i ../cups-&cups-version;-content_type-1.patch</userinput></screen>-->
    211210
    212     <para>
    213       PAM module needs to be modified for BLFS:
    214     </para>
    215211    <!-- docdir is also document root for cups administration interface, so
    216     let's just put it in /usr/share/cups/doc and create symlink in
    217     /usr/share/doc - I have modified this, inverting the logic; if it is
    218     disliked, please revert my modification (fernando)
     212    let's just put it in /usr/share/cups/doc-&cups-version; and create symlink
     213    in /usr/share/doc/cups-&cups-version;
    219214
    220215    When not using libdir switch, CUPS will install libraries into /usr/lib64
     
    222217    introduce some difficulties with packaging -->
    223218
    224 <screen><userinput>cat &gt; conf/pam.std.in  &lt;&lt; "EOF"
    225 <literal># Begin /etc/pam.d/cups
    226 
    227 auth    include system-auth
    228 account include system-account
    229 session include system-session
    230 
    231 # End /etc/pam.d/cups</literal>
    232 EOF</userinput></screen>
    233 
    234219    <para>
    235220      Install <application>Cups</application> by running the
     
    237222    </para>
    238223
    239 
    240 <screen><userinput>sed -i '/MAN.*.EXT/s:.gz::g' \
    241        configure config-scripts/cups-manpages.m4 &amp;&amp;
    242 sed -i 's:555:755:g;s:444:644:g' Makedefs.in    &amp;&amp;
     224<screen><userinput>sed -i 's:555:755:g;s:444:644:g' Makedefs.in           &amp;&amp;
     225sed -i '/MAN.*.EXT/s:.gz::g' \
     226       configure config-scripts/cups-manpages.m4       &amp;&amp;
     227sed -i '/LIBGCRYPTCONFIG/d' config-scripts/cups-ssl.m4 &amp;&amp;
    243228
    244229aclocal  -I config-scripts &amp;&amp;
    245230autoconf -I config-scripts &amp;&amp;
    246231
    247 CC=gcc \
    248232./configure --libdir=/usr/lib            \
    249233            --disable-systemd            \
    250234            --with-rcdir=/tmp/cupsinit   \
    251235            --with-system-groups=lpadmin \
    252             --with-docdir=/usr/share/doc/cups-&cups-version; &amp;&amp;
     236            --with-docdir=/usr/share/cups/doc-&cups-version; &amp;&amp;
    253237make</userinput></screen>
    254238
     
    268252<screen role="root"><userinput>make install &amp;&amp;
    269253rm -rf /tmp/cupsinit &amp;&amp;
    270 ln -svnf ../doc/cups-&cups-version; /usr/share/cups/doc</userinput></screen>
     254ln -svnf ../cups/doc-&cups-version; /usr/share/doc/cups-&cups-version;</userinput></screen>
    271255
    272256    <para>
     
    303287
    304288    <para>
    305       <command>sed ... cups-manpages.m4</command>: In BLFS, uncompressed man
    306       pages are preferred.
    307     </para>
    308 
    309     <para>
    310289      <command>sed ... Makedefs.in</command>: Fix files and directories
    311290      permissions.
     
    313292
    314293    <para>
    315       <envar>CC=gcc</envar>: This environment variable ensures that gcc
    316       is used if clang is installed.  The build fails with the clang compiler.
     294      <command>sed ... cups-manpages.m4</command>: This sed prevents
     295      compression of the man pages by default.
     296    </para>
     297
     298    <para>
     299      <command>sed ... cups-ssl.m4</command>: Prevent
     300      <command>configure</command> script from searching
     301      <command>libgcrypt-config</command>, because
     302      <application>libgcrypt</application> is not used anywere else in the
     303      package.
    317304    </para>
    318305
     
    385372        <application>Cups</application> developers.
    386373      </para>
     374
     375    </sect3>
     376
     377    <sect3>
     378      <title>Linux PAM Configuration</title>
     379
     380      <para>
     381        If <application>CUPS</application> has been built with
     382        <application>Linux PAM</application> support, you need to create a
     383        <application>PAM</application> configuration file, to get it working
     384        correctly with BLFS.
     385      </para>
     386
     387      <para>
     388        Issue the following command as the <systemitem
     389        class="username">root</systemitem> user to create the configuration
     390        file for <application>Linux PAM</application>:
     391      </para>
     392
     393<screen><userinput>cat &gt; /etc/pam.d/cups &lt;&lt; "EOF"
     394<literal># Begin /etc/pam.d/cups
     395
     396auth    include system-auth
     397account include system-account
     398session include system-session
     399
     400# End /etc/pam.d/cups</literal>
     401EOF</userinput></screen>
    387402
    388403    </sect3>
Note: See TracChangeset for help on using the changeset viewer.