From 84737fb950a9714103d78c98f99ec07512cbc4c7 Mon Sep 17 00:00:00 2001 From: Randy McMurchy Date: Thu, 7 Dec 2006 11:25:09 +0000 Subject: [PATCH] Updated to CUPS-1.2.7 git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6367 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- general.ent | 4 +- introduction/welcome/changelog.xml | 9 +++++ pst/printing/cups.xml | 62 +++++++++++++++++++++++------- pst/printing/gimp-print.xml | 2 +- 4 files changed, 60 insertions(+), 17 deletions(-) diff --git a/general.ent b/general.ent index 1cfa02056c..774088987f 100644 --- a/general.ent +++ b/general.ent @@ -1,4 +1,4 @@ - + @@ -607,7 +607,7 @@ - + diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index b97e6393e6..3d606564fb 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -41,6 +41,15 @@ --> + + December 7th, 2006 + + + [randy] - Updated to CUPS-1.2.7. + + + + December 6th, 2006 diff --git a/pst/printing/cups.xml b/pst/printing/cups.xml index f1b01890ba..9d42a21ccd 100644 --- a/pst/printing/cups.xml +++ b/pst/printing/cups.xml @@ -5,11 +5,11 @@ %general-entities; - - - - - + + + + + ]> @@ -56,6 +56,7 @@ + CUPS Dependencies @@ -72,7 +74,10 @@ and Optional - or + , + , + , + or GnuTLS (which needs libgpg-error, @@ -84,8 +89,10 @@ , , OpenSLP, - - libpaper and + libpaper, + libacl + (requires libattr), + HTMLDOC, and Valgrind (optionally used if running the test suites) @@ -98,25 +105,32 @@ Installation of CUPS Create an lp user, as - CUPS will install the - lppasswd command SUID to this user. Use the following - command as the root user: + CUPS will create some files owned by this user. + (The lp user is the default used + by CUPS, but may be changed to a different user + by passing a parameter to the configure script.) Use the + following command as the root + user: useradd -c "Print Service User" -d /dev/null -g lp -s /bin/false -u 9 lp + + Install CUPS by running the following commands: @@ -124,14 +138,34 @@ ./configure && make - To test the results, issue: make check. Note that - the torture load testing test uses more resources than those - displayed in the prompt. + To test the results, issue: make check. This will + run a basic test suite without any load testing. If you wish to run the + tests specifying non-default parameters, issue: make test. + Note that the torture load testing test uses more resources + than those displayed in the prompt. Now, as the root user: make install + The man files are installed in compressed + (.gz) format. If desired, use the + following commands to uncompress them: + +gunzip -v /usr/share/man/man{\ +1/{cancel,cups{-config,test{dsc,ppd}},\ +lp{,options,passwd,q,rm,r,stat}}.1,\ +5/{{classes,client,cups-snmp,cupsd,printers,subscriptions,mailto}.conf,\ +mime.{convs,types}}.5,\ +7/{backend,filter}.7,\ +8/{accept,cups{d,addsmb,enable,-{deviced,driverd,lpd,polld,}},\ +lp{admin,info,move,c}}.8}.gz && + +rm -v /usr/share/man/man8/{reject,cupsdisable}.8.gz && + +ln -v -s accept.8 /usr/share/man/man8/reject.8 && +ln -v -s cupsenable.8 /usr/share/man/man8/cupsdisable.8 + diff --git a/pst/printing/gimp-print.xml b/pst/printing/gimp-print.xml index cade839900..bd1aee2561 100644 --- a/pst/printing/gimp-print.xml +++ b/pst/printing/gimp-print.xml @@ -134,7 +134,7 @@ make only once. - Then point your web browser to + Then point your web browser to to add a new printer to CUPS.