Author: krejzi
Date: 2012-08-07 08:48:35 -0600 (Tue, 07 Aug 2012)
New Revision: 10492
Modified:
trunk/BOOK/pst/printing/cups.xml
Log:
Some more fixes to cups page.
Modified: trunk/BOOK/pst/printing/cups.xml
===================================================================
--- trunk/BOOK/pst/printing/cups.xml 2012-08-07 14:20:14 UTC (rev 10491)
+++ trunk/BOOK/pst/printing/cups.xml 2012-08-07 14:48:35 UTC (rev 10492)
@@ -72,6 +72,16 @@
</listitem>
</itemizedlist>
+ <bridgehead renderas="sect3">Additional Downloads</bridgehead>
+ <itemizedlist spacing="compact">
+ <listitem>
+ <para>
+ Required patch:
+ <ulink
url="&patch-root;/cups-&cups-version;-upstream-fixes-1.patch"/>
+ </para>
+ </listitem>
+ </itemizedlist>
+
<bridgehead renderas="sect3">Cups Dependencies</bridgehead>
<bridgehead renderas="sect4">Recommended</bridgehead>
@@ -201,7 +211,13 @@
<!-- docdir is also document root for cups administration interface, so
let's just put it in /usr/share/cups/doc and create symlink in
/usr/share/doc -->
-<screen><userinput>./configure --with-rcdir=/tmp/cupsinit \
+<screen><userinput>sed -e "s|MAN1EXT=1.gz|MAN1EXT=1|g" \
+ -e "s|MAN5EXT=5.gz|MAN5EXT=5|g" \
+ -e "s|MAN7EXT=7.gz|MAN7EXT=7|g" \
+ -e "s|MAN8EXT=8.gz|MAN8EXT=8|g" \
+ -i configure &&
+patch -Np1 -i ../cups-&cups-version;-upstream-fixes-1.patch &&
+./configure --with-rcdir=/tmp/cupsinit \
--with-docdir=/usr/share/cups/doc \
--with-system-groups=lpadmin &&
make</userinput></screen>
@@ -244,23 +260,6 @@
<screen role="root"><userinput>chmod -v 744
/usr/lib/cups/backend/usb</userinput></screen>
- <para>
- The <application>man</application> files are installed in compressed
- (<filename class="extension">.gz</filename>) format. If desired,
- use the following commands to uncompress them as the
- <systemitem class="username">root</systemitem> user:
- </para>
-
-<screen role="root"><userinput>pushd /usr/share/man/
&&
-find -name cups\*gz -type l -print -delete &&
-find -name \*gz -exec gunzip -v {} \; &&
-popd &&
-
-ln -v -s cupsaccept.8 /usr/share/man/man8/reject.8 &&
-ln -v -s cupsaccept.8 /usr/share/man/man8/cupsreject.8 &&
-ln -v -s cupsaccept.8 /usr/share/man/man8/accept.8 &&
-ln -v -s cupsenable.8 /usr/share/man/man8/cupsdisable.8</userinput></screen>
-
</sect2>
<sect2 role="commands">
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page