Ignore:
Timestamp:
08/12/2012 01:06:56 PM (12 years ago)
Author:
Krejzi <krejzi@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, 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, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
dcbd2c6
Parents:
6d87c25
Message:

Added a patch to fix installed files permissions for CUPS and removed instructions for changing default permissions of the USB backend. Also added instructions to remove filters that are now part of cups filters package and to create basic client configuration file. CUPS is now done.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pst/printing/cups.xml

    r6d87c25 r3a55bfe  
    7878        <para>
    7979          Required patch:
    80           <ulink url="&patch-root;/cups-&cups-version;-upstream-fixes-1.patch"/>
     80          <ulink url="&patch-root;/cups-&cups-version;-upstream-fixes-2.patch"/>
     81        </para>
     82      </listitem>
     83      <listitem>
     84        <para>
     85          Required patch:
     86          <ulink url="&patch-root;/cups-&cups-version;-blfs-1.patch"/>
    8187        </para>
    8288      </listitem>
     
    212218    let's just put it in /usr/share/cups/doc and create symlink in
    213219    /usr/share/doc -->
    214 <screen><userinput>sed -e "s|MAN1EXT=1.gz|MAN1EXT=1|g" \
    215     -e "s|MAN5EXT=5.gz|MAN5EXT=5|g" \
    216     -e "s|MAN7EXT=7.gz|MAN7EXT=7|g" \
    217     -e "s|MAN8EXT=8.gz|MAN8EXT=8|g" \
    218     -i configure &amp;&amp;
    219 patch -Np1 -i ../cups-&cups-version;-upstream-fixes-1.patch &amp;&amp;
     220<screen><userinput>patch -Np1 -i ../cups-&cups-version;-upstream-fixes-2.patch &amp;&amp;
     221patch -Np1 -i ../cups-&cups-version;-blfs-1.patch &amp;&amp;
    220222./configure --with-rcdir=/tmp/cupsinit \
    221223            --with-docdir=/usr/share/cups/doc \
     
    249251ln -sv ../cups/doc /usr/share/doc/cups-&cups-version;</userinput></screen>
    250252
    251 <!-- Not all raw usb printer device nodes have root:lp owner. -->
    252     <para>
    253       If you have built <application>Cups</application> with
    254       <application>libusb</application> support, fix the
    255       backend permissions so that it will be executed as the
    256       <systemitem class="username">root</systemitem> user.
    257       Run the following command as the
     253    <para>
     254      Create basic <application>Cups</application> client configuration
     255      file by running the following command as the
    258256      <systemitem class="username">root</systemitem> user:
    259257    </para>
    260258
    261 <screen role="root"><userinput>chmod -v 744 /usr/lib/cups/backend/usb</userinput></screen>
     259<screen role="root"><userinput>echo "ServerName /var/run/cups/cups.sock" > /etc/cups/client.conf</userinput></screen>
     260
     261    <para>
     262      Remove filters that are now part of <application>Cups Filters</application>
     263      package by running the following commands as the
     264      <systemitem class="username">root</systemitem> user:
     265    </para>
     266
     267<screen role="root"><userinput>rm -rf /usr/share/cups/banners &amp;&amp;
     268rm -rf /usr/share/cups/data/testprint</userinput></screen>
    262269
    263270  </sect2>
Note: See TracChangeset for help on using the changeset viewer.