mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 22:42:14 +08:00
Update to cups-1.5.0.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8978 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
9bc2a2c195
commit
14d01d81d3
@ -56,7 +56,7 @@ $Date$
|
||||
<!ENTITY lfs-vim-version "7.3">
|
||||
<!-- End LFS versions -->
|
||||
|
||||
<!ENTITY blfs-bootscripts-version "20111116">
|
||||
<!ENTITY blfs-bootscripts-version "20111117">
|
||||
<!ENTITY blfs-bootscripts-download "&downloads-root;/blfs-bootscripts-&blfs-bootscripts-version;.tar.bz2">
|
||||
|
||||
<!ENTITY blfs-wiki "http://wiki.&lfs-domainname;/blfs/wiki">
|
||||
@ -876,7 +876,7 @@ $Date$
|
||||
|
||||
<!-- Part XIII -->
|
||||
<!-- Chapter 42 -->
|
||||
<!ENTITY cups-version "1.4.5">
|
||||
<!ENTITY cups-version "1.5.0">
|
||||
<!ENTITY LPRng-version "3.8.28">
|
||||
<!ENTITY gs-version "9.00">
|
||||
<!ENTITY gutenprint-version "5.2.5">
|
||||
|
@ -43,6 +43,9 @@
|
||||
<listitem>
|
||||
<para>November 17th, 2011</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Update to cups-1.5.0.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[abenton] - Updated ppp to 2.4.5.</para>
|
||||
</listitem>
|
||||
|
@ -6,9 +6,9 @@
|
||||
|
||||
<!ENTITY cups-download-http "http://ftp.easysw.com/pub/cups/&cups-version;/cups-&cups-version;-source.tar.bz2">
|
||||
<!ENTITY cups-download-ftp "ftp://ftp.easysw.com/pub/cups/&cups-version;/cups-&cups-version;-source.tar.bz2">
|
||||
<!ENTITY cups-md5sum "50729f6fc46ba54223e0eaf5009f3419">
|
||||
<!ENTITY cups-size "4.5 MB">
|
||||
<!ENTITY cups-buildsize "90 MB">
|
||||
<!ENTITY cups-md5sum "e54ed09ede2340fc3014913333520fe4">
|
||||
<!ENTITY cups-size "3.9 MB">
|
||||
<!ENTITY cups-buildsize "91 MB">
|
||||
<!ENTITY cups-time "0.7 SBU">
|
||||
]>
|
||||
|
||||
@ -34,6 +34,8 @@
|
||||
Protocol" and provides printing services to most PostScript and raster
|
||||
printers.</para>
|
||||
|
||||
&lfs70_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
@ -55,7 +57,7 @@
|
||||
<para>Estimated build time: &cups-time;</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<!--
|
||||
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
@ -63,34 +65,37 @@
|
||||
url="&patch-root;/cups-&cups-version;-fix_broken_locking-1.patch"/></para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
-->
|
||||
<bridgehead renderas="sect3">CUPS Dependencies</bridgehead>
|
||||
|
||||
<bridgehead renderas="sect4">Recommended</bridgehead>
|
||||
<para role="recommended"><xref linkend="libjpeg"/>,
|
||||
<xref linkend="libpng"/>, and
|
||||
<xref linkend="libtiff"/></para>
|
||||
<para role="recommended">
|
||||
<xref linkend="libjpeg"/>,
|
||||
<xref linkend="libpng"/>, and
|
||||
<xref linkend="libtiff"/>
|
||||
</para>
|
||||
|
||||
<bridgehead renderas="sect4">Optional</bridgehead>
|
||||
<para role="optional"><!-- <xref linkend="pkgconfig"/>, -->
|
||||
<xref linkend="tcpwrappers"/>,
|
||||
<xref linkend="dbus"/>,
|
||||
<xref linkend="libusb"/>,
|
||||
<xref linkend="acl"/>,
|
||||
<xref linkend="linux-pam"/>,
|
||||
<xref linkend="openldap"/>,
|
||||
<xref linkend="gnutls"/> or <xref linkend="openssl"/> (looked for in that order),
|
||||
<xref linkend="heimdal"/> or <xref linkend="mitkrb"/>,
|
||||
<xref linkend="php"/>,
|
||||
<xref linkend="gs"/>,
|
||||
<xref linkend="python"/>,
|
||||
<xref linkend="icedtea6"/> or <xref linkend="jdk"/>,
|
||||
<ulink url="http://portland.freedesktop.org/wiki/">Xdg-utils</ulink>,
|
||||
<ulink url="http://www.openslp.org/">OpenSLP</ulink>,
|
||||
<ulink url="http://packages.debian.org/unstable/source/libpaper">libpaper</ulink>,
|
||||
<ulink url="http://www.easysw.com/htmldoc/">HTMLDOC</ulink>, and
|
||||
<ulink url="http://valgrind.org/">Valgrind</ulink> (optionally used if
|
||||
running the test suites)</para>
|
||||
<xref linkend="tcpwrappers"/>,
|
||||
<xref linkend="dbus"/>,
|
||||
<xref linkend="libusb"/>,
|
||||
<xref linkend="acl"/>,
|
||||
<xref linkend="linux-pam"/>,
|
||||
<xref linkend="openldap"/>,
|
||||
<xref linkend="gnutls"/> or <xref linkend="openssl"/> (looked for in that order),
|
||||
<xref linkend="heimdal"/> or <xref linkend="mitkrb"/>,
|
||||
<xref linkend="php"/>,
|
||||
<xref linkend="gs"/>,
|
||||
<xref linkend="python"/>,
|
||||
<xref linkend="icedtea6"/> or <xref linkend="jdk"/>,
|
||||
<ulink url="http://portland.freedesktop.org/wiki/">Xdg-utils</ulink>,
|
||||
<ulink url="http://www.openslp.org/">OpenSLP</ulink>,
|
||||
<ulink url="http://packages.debian.org/unstable/source/libpaper">libpaper</ulink>,
|
||||
<ulink url="http://www.easysw.com/htmldoc/">HTMLDOC</ulink>, and
|
||||
<ulink url="http://valgrind.org/">Valgrind</ulink> (optionally used if
|
||||
running the test suites)
|
||||
</para>
|
||||
|
||||
<para condition="html" role="usernotes">User Notes:
|
||||
<ulink url="&blfs-wiki;/cups"/></para>
|
||||
@ -119,20 +124,19 @@
|
||||
<filename>/var/log/sys.log</filename> will contain entries similar to the
|
||||
following:</para>
|
||||
|
||||
<screen>kernel: [54631.796465] usb 4-1: usbfs: interface 0 claimed by usblp while 'usb' sets config #1</screen>
|
||||
<screen>kernel: [54631.796465] usb 4-1: usbfs: interface 0 claimed by usblp while 'usb'
|
||||
sets config #1</screen>
|
||||
|
||||
<para>The kernel config option is
|
||||
<parameter>CONFIG_USB_PRINTER</parameter>
|
||||
and can be found in menuconfig under
|
||||
<quote>Device Drivers ---> USB support --->
|
||||
USB Printer support</quote>.</para>
|
||||
<parameter>CONFIG_USB_PRINTER</parameter> and can be found in menuconfig
|
||||
under <quote>Device Drivers ---> USB support ---> USB Printer
|
||||
support</quote>.</para>
|
||||
</note>
|
||||
|
||||
<para>Install <application>CUPS</application> by running the
|
||||
following commands:</para>
|
||||
|
||||
<screen><userinput>patch -Np1 -i ../cups-&cups-version;-fix_broken_locking-1.patch &&
|
||||
./configure --docdir=/usr/share/doc/cups-&cups-version; &&
|
||||
<screen><userinput>./configure --prefix=/usr --docdir=/usr/share/doc/cups-&cups-version; &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>To test the results, issue: <command>make check</command>. This will
|
||||
@ -149,19 +153,12 @@ make</userinput></screen>
|
||||
(<filename class='extension'>.gz</filename>) format. If desired, use the
|
||||
following commands to uncompress them:</para>
|
||||
|
||||
<screen role="root"><userinput>gunzip -v /usr/share/man/man{\
|
||||
1/{ppd{po,merge,html,c,i},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},ppdcfile}.5,\
|
||||
7/{backend,filter,notifier,drv}.7,\
|
||||
8/{accept,cups{ctl,accept,filter,d,addsmb,enable,\
|
||||
-{deviced,driverd,lpd,polld}},lp{admin,info,move,c}}.8}.gz &&
|
||||
<screen role="root"><userinput>find -name \*gz -type l -delete &&
|
||||
find -name \*gz -exec gunzip -v {} \; &&
|
||||
|
||||
rm -v /usr/share/man/man8/{{,cups}reject,accept,cupsdisable}.8.gz &&
|
||||
ln -v -s cupsaccept.8 /usr/share/man/man8/reject.8 &&
|
||||
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 cupsaccept.8 /usr/share/man/man8/accept.8 &&
|
||||
ln -v -s cupsenable.8 /usr/share/man/man8/cupsdisable.8</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
@ -248,8 +245,7 @@ ln -v -s cupsenable.8 /usr/share/man/man8/cupsdisable.8</userinput></screen>
|
||||
<seg>libcups.{so,a}, libcupscgi.{so,a}, libcupsdriver.{so,a},
|
||||
libcupsimage.{so,a}, libcupsmime.{so,a}, libcupsppdc.{so,a}, and
|
||||
various filters and backend drivers</seg>
|
||||
<seg>/etc/cups, /usr/include/cups, /usr/lib/cups, /usr/share/cups,
|
||||
/usr/share/doc/cups-&cups-version;, and
|
||||
<seg>/etc/cups, /usr/{include,lib,share}/cups, /usr/share/doc/cups-&cups-version;, and
|
||||
/var/{cache,log,run,spool}/cups</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
Loading…
Reference in New Issue
Block a user