[lfs-fr] r1338 - in trunk/blfs: . pst/printing

jmengual at linuxfromscratch.org jmengual at linuxfromscratch.org
Mer 15 Juin 05:28:09 PDT 2011


Author: jmengual
Date: 2011-06-15 14:28:09 +0200 (Wed, 15 Jun 2011)
New Revision: 1338

Modified:
   trunk/blfs/blfsmaj.txt
   trunk/blfs/pst/printing/cups.xml
   trunk/blfs/pst/printing/gimp-print.xml
   trunk/blfs/pst/printing/gs.xml
Log:
Suite mise a jour par myou.


Modified: trunk/blfs/blfsmaj.txt
===================================================================
--- trunk/blfs/blfsmaj.txt	2011-06-09 13:34:14 UTC (rev 1337)
+++ trunk/blfs/blfsmaj.txt	2011-06-15 12:28:09 UTC (rev 1338)
@@ -3363,606 +3363,7 @@
  
    <title>ASH-&ash-version;</title>
 
-diff -ru BOOK/pst/printing/cups.xml /home/jp/blfs/pst/printing/cups.xml
---- BOOK/pst/printing/cups.xml	2010-02-17 02:50:55.000000000 +0100
-+++ /home/jp/blfs/pst/printing/cups.xml	2011-02-27 04:05:23.000000000 +0100
-@@ -6,10 +6,10 @@
- 
-   <!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        "d410658468384b5ba5d04a808f6157fe">
--  <!ENTITY cups-size          "3.6 Mio">
--  <!ENTITY cups-buildsize     "62 Mio">
--  <!ENTITY cups-time          "0.6 SBU">
-+  <!ENTITY cups-md5sum        "50729f6fc46ba54223e0eaf5009f3419">
-+  <!ENTITY cups-size          "4.5 Mio">
-+  <!ENTITY cups-buildsize     "90 Mio">
-+  <!ENTITY cups-time          "0.7 SBU">
- ]>
- 
- <sect1 id="cups" xreflabel="CUPS-&cups-version;">
-@@ -17,7 +17,7 @@
- 
-   <sect1info>
-     <othername>$LastChangedBy: randy $</othername>
--    <date>$Date: 2008-05-09 14:42:27 +0200 (ven 09 mai 2008) $</date>
-+    <date>$Date: 2011-01-05 16:33:54 +0100 (mer 05 jan 2011) $</date>
-   </sect1info>
- 
-   <title>CUPS-&cups-version;</title>
-@@ -60,7 +60,7 @@
-     <itemizedlist spacing="compact">
-       <listitem>
-         <para>Required patch> : <ulink
--        url="&patch-root;/cups-&cups-version;-security_fixes-2.patch"/></para>
-+        url="&patch-root;/cups-&cups-version;-fix_broken_locking-1.patch"/></para>
-       </listitem>
-     </itemizedlist>
- 
-@@ -68,22 +68,26 @@
- 
-     <bridgehead renderas="sect4">Recommandées</bridgehead>
-     <para role="recommended"><xref linkend="libjpeg"/>,
--    <xref linkend="libpng"/>,
--    et <xref linkend="libtiff"/></para>
-+    <xref linkend="libpng"/>, et
-+    <xref linkend="libtiff"/></para>
- 
-     <bridgehead renderas="sect4">Facultatives</bridgehead>
--    <para role="optional"><xref linkend="pkgconfig"/>,
-+    <para role="optional"><!-- <xref linkend="pkgconfig"/>, -->
-+    <xref linkend="tcpwrappers"/>,
-     <xref linkend="dbus"/>,
--    <xref linkend="openldap"/>,
--    <xref linkend="openssl"/> or <xref linkend="gnutls"/>,
-+    <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="jdk"/>,
-+    <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="ftp://oss.sgi.com/projects/xfs/cmd_tars/">libacl</ulink> (requires
--    <ulink url="ftp://oss.sgi.com/projects/xfs/cmd_tars/">libattr</ulink>),
-     <ulink url="http://www.easysw.com/htmldoc/">HTMLDOC</ulink>, et
-     <ulink url="http://valgrind.org/">Valgrind</ulink> (optionally used if
-     running the test suites)</para>
-@@ -106,11 +110,29 @@
- 
- <screen role="root"><userinput>useradd -c "Print Service User" -d /dev/null -g lp -s /bin/false -u 9 lp</userinput></screen>
- 
-+    <note>
-+      <para>If you plan to use a USB printer with
-+      <application>CUPS</application>, do not enable the
-+      <quote>usblp</quote> driver as either built-in or as a module in
-+      your kernel configuration as it will cause the new 
-+      <application>CUPS</application> USB backend to fail.
-+      <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>
-+
-+      <para>The kernel config option is
-+      <parameter>CONFIG_USB_PRINTER</parameter>
-+      et can be found in menuconfig under
-+      <quote>Device Drivers ---> USB support --->
-+      USB Printer support</quote>.</para>
-+    </note>
-+
-     <para>Installez <application>CUPS</application> by running the
-     following suivantes :</para>>
- 
--<screen><userinput>patch -Np1 -i ../cups-&cups-version;-security_fixes-2.patch &&
--./configure &&
-+<screen><userinput>patch -Np1 -i ../cups-&cups-version;-fix_broken_locking-1.patch &&
-+./configure --docdir=/usr/share/doc/cups-&cups-version; &&
- make</userinput></screen>
- 
-     <para>Pour tester les résultats, lancez : <command>make check</command>. This will
-@@ -128,17 +150,18 @@
-     following commands to uncompress them:</para>
- 
- <screen role="root"><userinput>gunzip -v /usr/share/man/man{\
--1/{cancel,cups{-config,test{dsc,ppd}},\
-+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}}.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 &&
-+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 &&
-+
-+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/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>
-@@ -148,10 +171,9 @@
- 
-     <para>The basic default behavior of the installation is appropriate for
-     LFS systems. <application>CUPS</application> files are placed in
--    <filename class="directory">/usr/bin</filename>,
--    <filename class="directory">/usr/sbin</filename>,
--    <filename class="directory">/var</filename> et
--    <filename class="directory">/etc/cups</filename>.</para>
-+    <filename class="directory">/usr/{bin,include,lib,sbin,share/cups}</filename>,
-+    <filename class="directory">/var/{cache,log,run,spool}</filename>, et
-+    <filename class="directory">/etc/{cups,pam.d,dbus-1/system.d</filename></para>
- 
-   </sect2>
- 
-@@ -167,7 +189,7 @@
- 
-     <para>For non-PostScript printers to print with
-     <application>CUPS</application>, you need to install
--    <xref linkend="espgs"/> to convert PostScript to raster images
-+    <xref linkend="gs"/> to convert PostScript to raster images
-     et a driver (e.g., from <xref linkend="gutenprint"/>) to convert
-     the resulting raster images to a form that the printer understands.
-     <ulink url="http://www.linuxprinting.org/foomatic.html">Foomatic</ulink>
-@@ -175,6 +197,9 @@
-     but this is considered to be a hack by
-     <application>CUPS</application> developers.</para>
- 
-+<!-- This should be obvious, not to mention the new problem with usblp.
-+     Omitting completely for now.
-+
-     <sect3 role="kernel" id="cups-kernel">
-       <title>Kernel Configuration</title>
- 
-@@ -184,6 +209,7 @@
-       support</quote> for a USB printer.</para>
- 
-     </sect3>
-+-->
- 
-     <sect3 id="cups-init">
-       <title>Boot Script</title>
-@@ -215,14 +241,16 @@
-       <segtitle>Répertoires installés</segtitle>
- 
-       <seglistitem>
--        <seg>accept, cancel, cups-config, cupsaddsmb, cupsd, cupstestppd,
--        disable, enable, lp, lpadmin, lpc, lpinfo, lpmove, lpoptions, lppasswd,
--        lpq, lpr, lprm, lpstat, et reject</seg>
--        <seg>libcups.{so,a}, libcupsimage.{so,a}, et various filters and
--        backend drivers</seg>
-+        <seg>accept, cancel, cups-config, cupsaccept, cupsaddsmb, cupsctl,
-+        cupsd, cupsdisable, cupsenable, cupsfilter, cupsreject, cupstestdsc,
-+        cupstestppd, lp, lpadmin, lpc, lpinfo, lpmove, lpoptions, lppasswd,
-+        lpq, lpr, lprm, lpstat, ppdc, ppdhtml, ppdi, ppdmerge, ppdpo, reject</seg>
-+        <seg>libcups.{so,a}, libcupscgi.{so,a}, libcupsdriver.{so,a},
-+        libcupsimage.{so,a}, libcupsmime.{so,a}, libcupsppdc.{so,a}, et
-+        various filters et backend drivers</seg>
-         <seg>/etc/cups, /usr/include/cups, /usr/lib/cups, /usr/share/cups,
--        /usr/share/doc/cups-&cups-version;, /var/cache/cups, /var/log/cups, et
--        /var/spool/cups</seg>
-+        /usr/share/doc/cups-&cups-version;, et
-+        /var/{cache,log,run,spool}/cups</seg>
-       </seglistitem>
-     </segmentedlist>
- 
-diff -ru BOOK/pst/printing/espgs.xml /home/jp/blfs/pst/printing/espgs.xml
---- BOOK/pst/printing/espgs.xml	2010-02-17 02:50:55.000000000 +0100
-+++ /home/jp/blfs/pst/printing/espgs.xml	2009-06-07 21:32:12.000000000 +0200
-@@ -25,7 +25,7 @@
- 
-   <sect1info>
-     <othername>$LastChangedBy: randy $</othername>
--    <date>$Date: 2008-08-11 18:25:22 +0200 (lun 11 aoû 2008) $</date>
-+    <date>$Date: 2008-08-11 18:25:22 +0200 (lun, 11 aoû 2008) $</date>
-   </sect1info>
- 
-   <title>ESP Ghostscript-&espgs-version;</title>
-diff -ru BOOK/pst/printing/gimp-print.xml /home/jp/blfs/pst/printing/gimp-print.xml
---- BOOK/pst/printing/gimp-print.xml	2010-02-17 02:50:55.000000000 +0100
-+++ /home/jp/blfs/pst/printing/gimp-print.xml	2011-02-27 04:05:23.000000000 +0100
-@@ -17,7 +17,7 @@
- 
-   <sect1info>
-     <othername>$LastChangedBy: randy $</othername>
--    <date>$Date: 2008-10-13 16:49:44 +0200 (lun 13 oct 2008) $</date>
-+    <date>$Date: 2011-01-18 01:13:43 +0100 (mar 18 jan 2011) $</date>
-   </sect1info>
- 
-   <title>Gimp-Print-&gimp-print-version;</title>
-@@ -31,7 +31,7 @@
- 
-     <para>The <application>Gimp-Print</application> package contains
-     high quality drivers for Canon, Epson, Lexmark et PCL
--    printers for use with <xref linkend="espgs"/>, <xref linkend="cups"/>,
-+    printers for use with <xref linkend="gs"/>, <xref linkend="cups"/>,
-     <ulink url="http://www.linuxprinting.org/foomatic.html">Foomatic</ulink>,
-     <xref linkend="LPRng"/>, <command>lpr</command> et the
-     <application>GIMP-1.2</application>. See a list of supported printers at
-@@ -68,9 +68,9 @@
-     <para role="optional"><xref linkend="cups"/>,
-     <ulink url="http://www.linuxprinting.org/foomatic.html">Foomatic</ulink>,
-     <ulink url="http://www.linuxprinting.org/ijs/">IJS</ulink>,
--    <xref linkend="tetex"/>,
-+    <xref linkend="tetex"/> or <xref linkend="texlive"/>,
-     <xref linkend="docbook-utils"/> et
--    <xref linkend="espgs"/> or <xref linkend="gs"/></para>
-+    <!-- <xref linkend="espgs"/> or --><xref linkend="gs"/></para>
- 
-     <para condition="html" role="usernotes">Notes utilisateur :
-     <ulink url="&blfs-wiki;/gimp-print"/></para>
-@@ -86,7 +86,7 @@
- <screen><userinput>./configure --prefix=/usr --with-testpattern --enable-test &&
- make</userinput></screen>
- 
--    <para>Pour tester les résultats, lancez  <command>make check</command>.</para>
-+    <para>Pour tester les résultats, lancez : <command>make check</command>.</para>
- 
-     <para>Maintenant, en tant qu'utilisateur the <systemitem class="username">root</systemitem> :</para>
- 
-diff -ru BOOK/pst/printing/gs.xml /home/jp/blfs/pst/printing/gs.xml
---- BOOK/pst/printing/gs.xml	2010-02-17 02:50:55.000000000 +0100
-+++ /home/jp/blfs/pst/printing/gs.xml	2011-02-27 04:05:23.000000000 +0100
-@@ -4,35 +4,38 @@
-   <!ENTITY % general-entities SYSTEM "../../general.ent">
-   %general-entities;
- 
--  <!ENTITY gs-download-http "&sourceforge-repo;/ghostscript/ghostscript-&gs-version;.tar.bz2">
--  <!-- <!ENTITY gs-download-ftp  "ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/gs851/ghostscript-&gs-version;.tar.bz2"> -->
-+  <!-- <!ENTITY gs-download-http "&sourceforge-repo;/ghostscript/ghostscript-&gs-version;.tar.bz2"> -->
-+  <!ENTITY gs-download-http "http://ghostscript.com/releases/ghostscript-&gs-version;.tar.gz">
-+  <!-- no response 2010-12-18
-+  <!ENTITY gs-download-ftp  "ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs900/ghostscript-&gs-version;.tar.gz"> -->
-   <!ENTITY gs-download-ftp  " ">
--  <!ENTITY gs-md5sum        "e65e0c40213a616174572faa639e04d6">
--  <!ENTITY gs-size          "9.3 Mio">
--  <!ENTITY gs-buildsize     "104 MB (includes installing libgs.so et both font tarballs)">
--  <!ENTITY gs-time          "2.4 SBU (includes building et installing libgs.so)">
-+  <!ENTITY gs-md5sum        "177c33b796ed28d3d568e230a6dbdba5">
-+  <!ENTITY gs-size          "22.3 Mio">
-+  <!ENTITY gs-buildsize     "170 MB (includes installing libgs.so et both font tarballs)">
-+  <!ENTITY gs-time          "2.7 SBU (includes building et installing libgs.so)">
- 
--  <!ENTITY gs-standard-fonts-download "ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/ghostscript-fonts-std-8.11.tar.gz">
-+  <!-- <!ENTITY gs-standard-fonts-download "ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/ghostscript-fonts-std-8.11.tar.gz"> -->
-+  <!ENTITY gs-standard-fonts-download "&sourceforge-repo;/gs-fonts/ghostscript-fonts-std-8.11.tar.gz">
-   <!ENTITY gs-standard-fonts-md5sum   "6865682b095f8c4500c54b285ff05ef6">
-   <!ENTITY gs-standard-fonts-size     "3.7 Mio">
- 
--  <!ENTITY gs-other-fonts-download "http://ftp.gnu.org/pub/gnu/ghostscript/gnu-gs-fonts-other-6.0.tar.gz">
--  <!ENTITY gs-other-fonts-md5sum   "33457d3f37de7ef03d2eea05a9e6aa4f">
--  <!ENTITY gs-other-fonts-size     "796 Kio">
-+  <!ENTITY gs-other-fonts-download    "&sourceforge-repo;/gs-fonts/gnu-gs-fonts-other-6.0.tar.gz">
-+  <!ENTITY gs-other-fonts-md5sum      "33457d3f37de7ef03d2eea05a9e6aa4f">
-+  <!ENTITY gs-other-fonts-size        "796 Kio">
- ]>
- 
--<sect1 id="gs" xreflabel="AFPL Ghostscript-&gs-version;">
-+<sect1 id="gs" xreflabel="GPL Ghostscript-&gs-version;">
-   <?dbhtml filename="gs.html"?>
- 
-   <sect1info>
-     <othername>$LastChangedBy: randy $</othername>
--    <date>$Date: 2008-10-13 16:49:44 +0200 (lun 13 oct 2008) $</date>
-+    <date>$Date: 2011-01-05 16:40:16 +0100 (mer 05 jan 2011) $</date>
-   </sect1info>
- 
--  <title>AFPL Ghostscript-&gs-version;</title>
-+  <title>GPL Ghostscript-&gs-version;</title>
- 
-   <indexterm zone="gs">
--    <primary sortas="a-AFPL-Ghostscript">AFPL Ghostscript</primary>
-+    <primary sortas="a-GPL-Ghostscript">GPL Ghostscript</primary>
-   </indexterm>
- 
-   <sect2 role="package">
-@@ -42,6 +45,8 @@
-     for PostScript data with the ability to render PostScript to different
-     targets.</para>
- 
-+    &lfs67_checked;
-+
-     <bridgehead renderas="sect3">Informations sur le paquet</bridgehead>
-     <itemizedlist spacing="compact">
-       <listitem>
-@@ -92,20 +97,42 @@
-       </listitem>
-     </itemizedlist>
- 
-+    <itemizedlist spacing="compact">
-+      <title>Patches</title>
-+      <listitem>
-+        <para>Required patch> : <ulink
-+        url="&patch-root;/ghostscript-&gs-version;-security_fixes-1.patch"/>
-+        </para>
-+      </listitem>
-+      <listitem>
-+        <para>Recommandées patch (unless you build without JPEG2000 support) : <ulink
-+        url="&patch-root;/ghostscript-&gs-version;-system_jasper-1.patch"/>
-+        </para>
-+      </listitem>
-+    </itemizedlist>
-+
-     <bridgehead renderas="sect3">Ghostscript Dependencies</bridgehead>
- 
--    <bridgehead renderas="sect4">Facultatives</bridgehead>
--    <para role="optional"><xref linkend="libjpeg"/>,
-+    <bridgehead renderas="sect4">Recommandées</bridgehead>
-+    <para role="optional"><xref linkend="expat"/>,
-+    <xref linkend="freetype2"/>,
-+    <xref linkend="jasper"/>
-+    <xref linkend="libjpeg"/>,
-     <xref linkend="libpng"/>,
--    <xref linkend="GTK"/>, et
--    <xref linkend="x-window-system"/></para>
-+    <xref linkend="libtiff"/>, et
-+    <xref linkend="lcms"/></para>
- 
--    <bridgehead renderas="sect3">Conflicts</bridgehead>
--    <para>This version of Ghostscript does not work with
--    <application>CUPS</application> due to missing generic "cups" raster
--    image driver. The necessary support cannot be patched in due to
--    incompatible licenses. Use <xref linkend="espgs"/> instead if you have
--    <application>CUPS</application>.</para>
-+    <bridgehead renderas="sect4">Facultatives</bridgehead>
-+    <para role="optional">
-+    <xref linkend="cairo"/>,
-+    <xref linkend="fontconfig"/>,
-+    <xref linkend="gtk2"/>,
-+    <xref linkend="cups"/>,
-+    <xref linkend="libidn"/>,
-+    <xref linkend="x-window-system"/>, et
-+    <!-- the link for ijs source ultimately takes users back to the ghostscript site
-+    <ulink url="http://www.linuxprinting.org/ijs/">IJS</ulink>, et -->
-+    <ulink url="http://packages.debian.org/unstable/source/libpaper">libpaper</ulink></para>
- 
-     <para condition="html" role="usernotes">Notes utilisateur :
-     <ulink url="&blfs-wiki;/gs"/></para>
-@@ -115,17 +142,89 @@
-   <sect2 role="installation">
-     <title>Installation de Ghostscript</title>
- 
--    <para>Installez <application>Ghostscript</application> by running the
-+    <para>Installez <application>GPL Ghostscript</application> by running the
-     following suivantes :</para>>
- 
--<screen><userinput>./configure --prefix=/usr &&
-+      <note>
-+      <para>The <application>Ghostscript</application> build system is not
-+      user-friendly. In order to use system copies of various graphics
-+      libraries, you must do it using unconventional methods.</para>
-+      </note>
-+
-+      <para>Begin by patching some vulnerabilities:</para>
-+
-+<screen><userinput>patch -Np1 -i ../ghostscript-&gs-version;-security_fixes-1.patch
-+</userinput></screen>
-+
-+      <para><application>GPL Ghostscript</application> includes (old) copies of
-+      several libraries. Some of these seem to have been patched to fix known
-+      vulnerabilities, but others of these copies are less-well maintained.
-+      To ensure that any future fixes are applied throughout the whole system,
-+      it is recommended that you build the released versions of these libraries
-+      et then configure <application>GPL Ghostscript</application> to link to
-+      them. This configuration has several steps.</para>
-+
-+      <para>Unless you intend to build <application>GPL Ghostscript</application>
-+      without support for <literal>JPEG2000</literal> files, apply a patch to
-+      allow it to build against a current system-installed version of
-+      <application>JasPer</application>:</para>
-+
-+<screen><userinput>patch -Np1 -i ../ghostscript-&gs-version;-system_jasper-1.patch
-+</userinput></screen>
-+
-+      <para>Remove the local copies of <application>expat</application>,
-+      <application>JasPer</application>, <application>lcms</application>,
-+      <application>libjpeg</application>, <application>libpng</application>,
-+      <application>libtiff</application>, et <application>zlib</application>:
-+      </para>
-+
-+<screen><userinput>rm -rf expat jasper lcms jpeg libpng tiff zlib
-+</userinput></screen>
-+
-+    <para>Run the configure command:</para>
-+
-+<screen><userinput>./configure --prefix=/usr --enable-dynamic --with-drivers=ALL,x11 --with-system-libtiff --disable-compile-inits</userinput></screen>
-+
-+    <para>To ensure the build is able to use the system versions of
-+    <application>expat</application>, <application>freetype</application>, et
-+    <application>lcms</application> it is necessary to make some changes et an
-+    addition to the <literal>Makefile</literal> before building the package:</para>
-+
-+<screen><userinput>sed -i  -e 's|SHARE_LCMS=0|SHARE_LCMS=1|' \
-+        -e 's|LCMSSRCDIR=lcms|LCMSSRCDIR=/usr|' \
-+        -e 's|=imdi|&\n\n# Use system expat library\n\nSHARE_EXPAT=1|' \
-+        -e 's|SHARE_FT=0|SHARE_FT=1|' Makefile &&
- make</userinput></screen>
- 
--    <para>Ce paquet n'est pas fourni avec une suite de tests.</para>
-+    <para>Ce paquet n'est pas fourni avec une suite de tests. However, you may test
-+    the operation of the newly built <command>gs</command> program by
-+    issuing the following command (issue from an X Windows terminal):</para>
-+
-+    <screen><userinput>bin/gs -Ilib -dBATCH examples/tiger.eps</userinput></screen>
- 
-     <para>Maintenant, en tant qu'utilisateur the <systemitem class="username">root</systemitem> :</para>
- 
--<screen role="root"><userinput>make install</userinput></screen>
-+<!-- for 9.00 docdir is only referenced by GS_DOCDIR which is itself not referenced
-+ so the docs still go into /usr/share/ghostscript/9.00/
-+<screen role="root"><userinput>make install docdir=/usr/share/doc/ghostscript-&gs-version; &&-->
-+<screen role="root"><userinput>make install &&
-+for INSTFILE in `ls doc`
-+do
-+  <!--if [ ! -f          /usr/share/doc/ghostscript-&gs-version;/$INSTFILE ]; then -->
-+  if [ ! -f          /usr/share/ghostscript/&gs-version;/doc/$INSTFILE ]; then
-+    install -v -m644 doc/$INSTFILE \
-+                     /usr/share/ghostscript/&gs-version;/doc
-+                     <!--/usr/share/doc/ghostscript-&gs-version;-->
-+  fi
-+done &&
-+
-+<!--install -v -m755 -d /usr/share/doc/ghostscript-&gs-version;/figures &&-->
-+install -v -m755 -d /usr/share/ghostscript/&gs-version;/doc/figures &&
-+install -v -m644    doc/figures/* \
-+                    /usr/share/ghostscript/&gs-version;/doc/figures &&
-+                    <!--/usr/share/doc/ghostscript-&gs-version;/figures-->
-+ln -sv ../ghostscript/&gs-version;/doc /usr/share/doc/ghostscript-&gs-version;
-+</userinput></screen>
- 
-     <para>To install the shared library
-     <filename class='libraryfile'>libgs.so</filename>, run the
-@@ -133,40 +232,59 @@
- 
- <screen><userinput>make so</userinput></screen>
- 
--    <para>And again, as the <systemitem class="username">root</systemitem>
-+    <para>And again as the <systemitem class="username">root</systemitem>
-     user:</para>
- 
--<screen role="root"><userinput>make soinstall &&
--install -v -d -m755 /usr/include/ps &&
--install -v -m644 src/*.h /usr/include/ps &&
--ln -v -s ps /usr/include/ghostscript</userinput></screen>
-+<screen role="root"><userinput>make soinstall docdir=/usr/share/doc/ghostscript-&gs-version; &&
-+install -v -m644 base/*.h /usr/include/ghostscript &&
-+ln -v -s ghostscript /usr/include/ps</userinput></screen>
- 
-     <note>
--      <para>The shared library depends on <xref linkend="GTK"/>. It is
-+      <para>The shared library depends on <xref linkend="gtk2"/>. It is
-       only used in external programs like <xref linkend="gsview"/> et
-       <xref linkend="imagemagick"/>.</para>
-     </note>
- 
-     <para>To finish the installation, unpack all fonts you've downloaded to
-     <filename class="directory">/usr/share/ghostscript</filename> et ensure
--    the ownerships of the files are root:root. Substitute
-+    the ownerships of the files are
-+    <systemitem class="username">root</systemitem>:<systemitem
-+    class="groupname">root</systemitem>. Substitute
-     <replaceable><font-tarball></replaceable> appropriately in
-     the command below for the fonts you wish to install:</para>
- 
--<screen role="root"><userinput>tar -xvf ../<replaceable><font-tarball></replaceable> -C /usr/share/ghostscript &&
--chown -v -R root:root /usr/share/ghostscript/fonts</userinput></screen>
-+<screen role="root"><userinput>tar -xvf ../<replaceable><font-tarball></replaceable> \
-+    -C /usr/share/ghostscript --no-same-owner</userinput></screen>
- 
-   </sect2>
- 
-   <sect2 role="commands">
-     <title>Explications des commandes</title>
- 
-+    <para><command>--with-drivers=ALL,x11</command>: This parameter adds the
-+    <literal>x11</literal> output device to the default (<literal>ALL</literal>)
-+    selection so that the test to render the tiger will work on 32-bit systems
-+    (this does no harm on the <literal>x86_64</literal> architecture, although
-+    it is not required there).</para>
-+    <para><command>--disable-compile-inits</command>: This parameter is intended
-+    to avoid compiling initialization files into the executables.  It is used here
-+    to simplify building agaisnt the system version of
-+    <application>zlib</application>.</para>
-+    <para><option>--without-jasper</option>: If you know you do not wish to print
-+    any <literal>JPEG2000</literal> files, this switch (and removing the
-+    <filename class="directory">jasper/</filename> source) will achieve this.</para>
-+    <para><option>--without-jbig2dec</option>: The <literal>JBIG2</literal>
-+    decompression code (used for some faxes) can be disabled by using this switch
-+    et removing the <filename class="directory">jbig2dec/</filename> source.</para>
-     <para><command>install ...</command>: Some packages
-     (<application>ImageMagick</application> is one) need the
-     <application>Ghostscript</application> interface headers in place to link
-     to the shared library. These commands install the headers.</para>
- 
--    <para><command>ln -v -s ps /usr/include/ghostscript</command>: Some
-+    <para><command>ln -sv ... /usr/share/doc/ghostscript-&gs-version;</command>: This puts
-+    the documentation where it is expected to be found.</para>
-+
-+    <para><command>ln -v -s ghostscript /usr/include/ps</command>: Some
-     packages expect to find the interface headers in an alternate
-     location.</para>
- 
-@@ -180,13 +298,16 @@
-       <segtitle>Répertoires installés</segtitle>
- 
-       <seglistitem>
--        <seg>bdftops, dumphint, ddvipdf, eps2eps, fixmswrd.pl, font2c, gs, gsbj,
--        gsc, gsdj, gsdj500, gslj, gslp, gsnd, gsx, lprsetup.sh, pdf2dsc, pdf2ps,
--        pdfopt, pf2afm, pfbtopfa, pj-gs.sh, printafm, ps2ascii, ps2epsi, ps2pdf,
--        ps2pdf12, ps2pdf13, ps2pdf14, ps2pdfwr, ps2ps, pv.sh, unix-lpr.sh, et
-+        <seg>bdftops, dumphint, dvipdf, eps2eps, fixmswrd.pl, font2c, gs, gsbj,
-+        gsc (from soinstall), gsdj, gsdj500, gslj, gslp, gsnd, gsx (from soinstall),
-+        lprsetup.sh, pdf2dsc, pdf2ps, pdfopt,
-+        pf2afm, pfbtopfa, printafm, ps2ascii, ps2epsi, ps2pdf, ps2pdf12,
-+        ps2pdf13, ps2pdf14, ps2pdfwr, ps2ps, ps2ps2, pv.sh, unix-lpr.sh, et
-         wftopfa</seg>
-         <seg>libgs.so </seg>
--        <seg>/usr/include/ps et /usr/share/ghostscript</seg>
-+        <seg>/usr/include/ghostscript, /usr/lib/ghostscript, /usr/share/ghostscript,
-+        <!--and /usr/share/doc/ghostscript</seg>-->
-+        et /usr/share/doc/ghostscript-&gs-version;</seg>
-       </seglistitem>
-     </segmentedlist>
- 
-@@ -195,24 +316,36 @@
-       <?dbfo list-presentation="list"?>
-       <?dbhtml list-presentation="table"?>
- 
--      <varlistentry id="afplgs-prog-gs">
-+      <varlistentry id="gplgs-prog">
-         <term><command>gs</command></term>
-         <listitem>
--          <para>invokes <application>Ghostscript</application>, an interpreter
--          of Adobe Systems' PostScript(tm) et Portable Document Format
--          (PDF) languages.</para>
--          <indexterm zone="gs afplgs-prog-gs">
-+          <para>is an interpreter for Adobe Systems' PostScript(tm) et Portable Document Format
-+          (PDF).</para>
-+          <indexterm zone="gs gplgs-prog">
-             <primary sortas="b-gs">gs</primary>
-           </indexterm>
-         </listitem>
-       </varlistentry>
- 
-+      <varlistentry id="libgs.so">
-+        <term><filename class="libraryfile">libgs.so</filename></term>
-+        <listitem>
-+          <para>provides <application>Ghostscript</application> functionality
-+          to other programs, such as <application>GSView</application>,
-+          <application>ImageMagick</application>, et
-+          <application>libspectre</application>.</para>
-+          <indexterm zone="gs libgs.so">
-+            <primary sortas="c-libgs.so">libgs.so</primary>
-+          </indexterm>
-+        </listitem>
-+      </varlistentry>
-+
-    </variablelist>
- 
--    <para><application>AFPL Ghostscript</application> provides many different
--    scripts used to render PostScript/PDF files back et forth. Please refer
--    to the HTML documentation or try <command>man gs</command> for information
--    about the capabilities provided by the package.</para>
-+   <para><application>GPL Ghostscript</application> provides many different
-+   scripts used to convert PostScript, PDF, et other formats. Please refer to
-+   the HTML documentation or the man pages for information about the
-+   capabilities provided.</para>
- 
-   </sect2>
- 
+
 diff -ru BOOK/pst/printing/gutenprint.xml /home/jp/blfs/pst/printing/gutenprint.xml
 --- BOOK/pst/printing/gutenprint.xml	2010-02-17 02:50:55.000000000 +0100
 +++ /home/jp/blfs/pst/printing/gutenprint.xml	2011-02-27 04:05:23.000000000 +0100

Modified: trunk/blfs/pst/printing/cups.xml
===================================================================
--- trunk/blfs/pst/printing/cups.xml	2011-06-09 13:34:14 UTC (rev 1337)
+++ trunk/blfs/pst/printing/cups.xml	2011-06-15 12:28:09 UTC (rev 1338)
@@ -6,10 +6,10 @@
 
   <!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        "d410658468384b5ba5d04a808f6157fe">
-  <!ENTITY cups-size          "3.6 Mio">
-  <!ENTITY cups-buildsize     "62 Mio">
-  <!ENTITY cups-time          "0.6 SBU">
+  <!ENTITY cups-md5sum        "50729f6fc46ba54223e0eaf5009f3419">
+  <!ENTITY cups-size          "4.5 Mio">
+  <!ENTITY cups-buildsize     "90 Mio">
+  <!ENTITY cups-time          "0.7 SBU">
 ]>
 
 <sect1 id="cups" xreflabel="CUPS-&cups-version;">
@@ -17,7 +17,7 @@
 
   <sect1info>
     <othername>$LastChangedBy: randy $</othername>
-    <date>$Date: 2008-05-09 14:42:27 +0200 (ven, 09 mai 2008) $</date>
+    <date>$Date: 2011-01-05 16:33:54 +0100 (mer 05 jan 2011) $</date>
   </sect1info>
 
   <title>CUPS-&cups-version;</title>
@@ -61,7 +61,7 @@
     <itemizedlist spacing="compact">
       <listitem>
         <para>Correctif requis : <ulink
-        url="&patch-root;/cups-&cups-version;-security_fixes-2.patch"/></para>
+        url="&patch-root;/cups-&cups-version;-fix_broken_locking-1.patch"/></para>
       </listitem>
     </itemizedlist>
 
@@ -69,22 +69,26 @@
 
     <bridgehead renderas="sect4">Recommandées</bridgehead>
     <para role="recommended"><xref linkend="libjpeg"/>,
-    <xref linkend="libpng"/>,
-    et <xref linkend="libtiff"/></para>
+    <xref linkend="libpng"/>, et
+    <xref linkend="libtiff"/></para>
 
     <bridgehead renderas="sect4">Facultatives</bridgehead>
-    <para role="optional"><xref linkend="pkgconfig"/>,
+    <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="openssl"/> or <xref linkend="gnutls"/>,
-    <xref linkend="linux-pam"/>,
+    <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="jdk"/>,
+    <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="ftp://oss.sgi.com/projects/xfs/cmd_tars/">libacl</ulink> (requires
-    <ulink url="ftp://oss.sgi.com/projects/xfs/cmd_tars/">libattr</ulink>),
     <ulink url="http://www.easysw.com/htmldoc/">HTMLDOC</ulink> et
     <ulink url="http://valgrind.org/">Valgrind</ulink> (facultatif, utilisé si
     vous lancez les suites de tests)</para>
@@ -107,11 +111,28 @@
 
 <screen role="root"><userinput>useradd -c "Print Service User" -d /dev/null -g lp -s /bin/false -u 9 lp</userinput></screen>
 
+    <note>
+      <para>Si vous prevoyez d'utiliser une imprimante USB avec
+      <application>CUPS</application>, n'activez par le driver
+      <quote>usblp</quote> intégré ou comme un module dans la configuration
+      du noyau car cela causera un échec dans le nouvel <application>CUPS</application> 
+	  USB backend.
+      <filename>/var/log/sys.log</filename> aura un contenu similaire à:</para>
+
+      <screen>kernel> : [54631.796465] usb 4-1: usbfs: interface 0 claimed by usblp while 'usb' sets config #1</screen>
+
+      <para>L'option de configuration du noyau est
+      <parameter>CONFIG_USB_PRINTER</parameter>
+      et peut être trouvé dans menuconfig sous
+      <quote>Device Drivers ---> USB support --->
+      USB Printer support</quote>.</para>
+    </note>
+
     <para>Installez <application>CUPS</application> en lançant les commandes
     suivantes :</para>
 
-<screen><userinput>patch -Np1 -i ../cups-&cups-version;-security_fixes-2.patch &&
-./configure &&
+<screen><userinput>patch -Np1 -i ../cups-&cups-version;-fix_broken_locking-1.patch &&
+./configure --docdir=/usr/share/doc/cups-&cups-version; &&
 make</userinput></screen>
 
     <para>Pour tester les résultats, lancez : <command>make check</command>.
@@ -130,17 +151,18 @@
     le désirez, utilisez les commandes suivantes pour les décompresser :</para>
 
 <screen role="root"><userinput>gunzip -v /usr/share/man/man{\
-1/{cancel,cups{-config,test{dsc,ppd}},\
+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}}.5,\
-7/{backend,filter}.7,\
-8/{accept,cups{d,addsmb,enable,-{deviced,driverd,lpd,polld}},\
-lp{admin,info,move,c}}.8}.gz &&
+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 &&
 
-rm -v /usr/share/man/man8/{reject,cupsdisable}.8.gz &&
-
-ln -v -s accept.8 /usr/share/man/man8/reject.8 &&
+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/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>
@@ -150,11 +172,10 @@
 
     <para>Le comportement par défaut de base de l'installation est adapté
     aux systèmes LFS. Les fichiers <application>CUPS</application> sont
-    mis dans <filename class="directory">/usr/bin</filename>,
-    <filename class="directory">/usr/sbin</filename>,
-    <filename class="directory">/var</filename> et
-    <filename class="directory">/etc/cups</filename>.</para>
-
+    mis dans 
+	<filename class="directory">/usr/{bin,include,lib,sbin,share/cups}</filename>,
+    <filename class="directory">/var/{cache,log,run,spool}</filename>, et
+    <filename class="directory">/etc/{cups,pam.d,dbus-1/system.d</filename></para>
   </sect2>
 
   <sect2 role="configuration">
@@ -171,7 +192,7 @@
 
     <para>Pour que des imprimantes non PostScript impriment avec
     <application>CUPS</application>, vous devez installer 
-    <xref linkend="espgs"/> pour convertir PostScript en images raster
+    <xref linkend="gs"/> pour convertir PostScript en images raster
     et un pilote (comme ceux de from <xref linkend="gutenprint"/>) pour convertir
     les images raster résultantes sous une forme compréhensible par l'imprimante.
     Les pilotes de <ulink url="http://www.linuxprinting.org/foomatic.html">Foomatic</ulink>
@@ -179,6 +200,9 @@
     imprimable, mais les développeurs de <application>CUPS</application> 
     considèrent cela comme du bricolage.</para>
 
+<!-- Cela devrait être évident, pour ne pas mentionner le nouveau problème avec  usblp.
+      A omettre complètement pour l'instant.
+	
     <sect3 role="kernel" id="cups-kernel">
       <title>Configuration du noyau</title>
 
@@ -189,6 +213,7 @@
       USB.</para>
 
     </sect3>
+-->
 
     <sect3 id="cups-init">
       <title>Script de démarrage</title>
@@ -220,14 +245,16 @@
       <segtitle>Répertoires installés</segtitle>
 
       <seglistitem>
-        <seg>accept, cancel, cups-config, cupsaddsmb, cupsd, cupstestppd,
-        disable, enable, lp, lpadmin, lpc, lpinfo, lpmove, lpoptions, lppasswd,
-        lpq, lpr, lprm, lpstat, et reject</seg>
-        <seg>libcups.{so,a}, libcupsimage.{so,a}, et various filters and
-        backend drivers</seg>
+         <seg>accept, cancel, cups-config, cupsaccept, cupsaddsmb, cupsctl,
+        cupsd, cupsdisable, cupsenable, cupsfilter, cupsreject, cupstestdsc,
+        cupstestppd, lp, lpadmin, lpc, lpinfo, lpmove, lpoptions, lppasswd,
+        lpq, lpr, lprm, lpstat, ppdc, ppdhtml, ppdi, ppdmerge, ppdpo, reject</seg>
+        <seg>libcups.{so,a}, libcupscgi.{so,a}, libcupsdriver.{so,a},
+        libcupsimage.{so,a}, libcupsmime.{so,a}, libcupsppdc.{so,a}, et
+        various filters et backend drivers</seg>
         <seg>/etc/cups, /usr/include/cups, /usr/lib/cups, /usr/share/cups,
-        /usr/share/doc/cups-&cups-version;, /var/cache/cups, /var/log/cups, et
-        /var/spool/cups</seg>
+        /usr/share/doc/cups-&cups-version;, et
+        /var/{cache,log,run,spool}/cups</seg>
       </seglistitem>
     </segmentedlist>
 

Modified: trunk/blfs/pst/printing/gimp-print.xml
===================================================================
--- trunk/blfs/pst/printing/gimp-print.xml	2011-06-09 13:34:14 UTC (rev 1337)
+++ trunk/blfs/pst/printing/gimp-print.xml	2011-06-15 12:28:09 UTC (rev 1338)
@@ -17,7 +17,7 @@
 
   <sect1info>
     <othername>$LastChangedBy: randy $</othername>
-    <date>$Date: 2008-10-13 16:49:44 +0200 (lun 13 oct 2008) $</date>
+    <date>$Date: 2011-01-18 01:13:43 +0100 (mar 18 jan 2011) $</date>
   </sect1info>
 
   <title>Gimp-Print-&gimp-print-version;</title>
@@ -31,7 +31,7 @@
 
     <para>Le paquet <application>Gimp-Print</application> contient des pilotes
     de haute qualité pour les imprimantes Canon, Epson, Lexmark et PCL pour une
-    utilisation avec <xref linkend="espgs"/>, <xref linkend="cups"/>,
+    utilisation avec <xref linkend="gs"/>, <xref linkend="cups"/>,
     <ulink url="http://www.linuxprinting.org/foomatic.html">Foomatic</ulink>,
     <xref linkend="LPRng"/>, <command>lpr</command> et
     <application>GIMP-1.2</application>. Voir la liste des imprimantes supportées 
@@ -68,9 +68,9 @@
     <para role="optional"><xref linkend="cups"/>,
     <ulink url="http://www.linuxprinting.org/foomatic.html">Foomatic</ulink>,
     <ulink url="http://www.linuxprinting.org/ijs/">IJS</ulink>,
-    <xref linkend="tetex"/>,
+    <xref linkend="tetex"/> ou <xref linkend="texlive"/>,
     <xref linkend="docbook-utils"/> et
-    <xref linkend="espgs"/> or <xref linkend="gs"/></para>
+    <!-- <xref linkend="espgs"/> or --><xref linkend="gs"/></para>
 
     <para condition="html" role="usernotes">Notes utilisateur :
     <ulink url="&blfs-wiki;/gimp-print"/></para>
@@ -86,7 +86,7 @@
 <screen><userinput>./configure --prefix=/usr --with-testpattern --enable-test &&
 make</userinput></screen>
 
-    <para>Pour tester les résultats, lancez <command>make check</command>.</para>
+    <para>Pour tester les résultats, lancez : <command>make check</command>.</para>
 
     <para>Maintenant, en tant qu'utilisateur <systemitem class="username">root</systemitem> :</para>
 

Modified: trunk/blfs/pst/printing/gs.xml
===================================================================
--- trunk/blfs/pst/printing/gs.xml	2011-06-09 13:34:14 UTC (rev 1337)
+++ trunk/blfs/pst/printing/gs.xml	2011-06-15 12:28:09 UTC (rev 1338)
@@ -4,35 +4,38 @@
   <!ENTITY % general-entities SYSTEM "../../general.ent">
   %general-entities;
 
-  <!ENTITY gs-download-http "&sourceforge-repo;/ghostscript/ghostscript-&gs-version;.tar.bz2">
-  <!-- <!ENTITY gs-download-ftp  "ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/gs851/ghostscript-&gs-version;.tar.bz2"> -->
+  <!-- <!ENTITY gs-download-http "&sourceforge-repo;/ghostscript/ghostscript-&gs-version;.tar.bz2"> -->
+  <!ENTITY gs-download-http "http://ghostscript.com/releases/ghostscript-&gs-version;.tar.gz">
+  <!-- no response 2010-12-18
+     <!ENTITY gs-download-ftp  "ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs900/ghostscript-&gs-version;.tar.gz"> -->
   <!ENTITY gs-download-ftp  " ">
-  <!ENTITY gs-md5sum        "e65e0c40213a616174572faa639e04d6">
-  <!ENTITY gs-size          "9.3 Mio">
-  <!ENTITY gs-buildsize     "104 Mio (includes installing libgs.so et both font tarballs)">
-  <!ENTITY gs-time          "2.4 SBU (includes building et installing libgs.so)">
+  <!ENTITY gs-md5sum        "177c33b796ed28d3d568e230a6dbdba5">
+  <!ENTITY gs-size          "22.3 Mio">
+  <!ENTITY gs-buildsize     "170 MB (incluant l'installation de libgs.so et de quelques archives de fonts)">
+  <!ENTITY gs-time          "2.7 SBU (incluant la construction et l'installation de libgs.so)">
 
-  <!ENTITY gs-standard-fonts-download "ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/ghostscript-fonts-std-8.11.tar.gz">
+  <!-- <!ENTITY gs-standard-fonts-download "ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/ghostscript-fonts-std-8.11.tar.gz"> -->
+  <!ENTITY gs-standard-fonts-download "&sourceforge-repo;/gs-fonts/ghostscript-fonts-std-8.11.tar.gz">
   <!ENTITY gs-standard-fonts-md5sum   "6865682b095f8c4500c54b285ff05ef6">
   <!ENTITY gs-standard-fonts-size     "3.7 Mio">
 
-  <!ENTITY gs-other-fonts-download "http://ftp.gnu.org/pub/gnu/ghostscript/gnu-gs-fonts-other-6.0.tar.gz">
-  <!ENTITY gs-other-fonts-md5sum   "33457d3f37de7ef03d2eea05a9e6aa4f">
-  <!ENTITY gs-other-fonts-size     "796 Kio">
+  <!ENTITY gs-other-fonts-download    "&sourceforge-repo;/gs-fonts/gnu-gs-fonts-other-6.0.tar.gz">
+  <!ENTITY gs-other-fonts-md5sum      "33457d3f37de7ef03d2eea05a9e6aa4f">
+  <!ENTITY gs-other-fonts-size        "796 Kio">
 ]>
 
-<sect1 id="gs" xreflabel="AFPL Ghostscript-&gs-version;">
+<sect1 id="gs" xreflabel="GPL Ghostscript-&gs-version;">
   <?dbhtml filename="gs.html"?>
 
   <sect1info>
     <othername>$LastChangedBy: randy $</othername>
-    <date>$Date: 2008-10-13 16:49:44 +0200 (lun 13 oct 2008) $</date>
+    <date>$Date: 2011-01-05 16:40:16 +0100 (mer 05 jan 2011) $</date>
   </sect1info>
 
-  <title>AFPL Ghostscript-&gs-version;</title>
+  <title>GPL Ghostscript-&gs-version;</title>
 
   <indexterm zone="gs">
-    <primary sortas="a-AFPL-Ghostscript">AFPL Ghostscript</primary>
+    <primary sortas="a-GPL-Ghostscript">GPL Ghostscript</primary>
   </indexterm>
 
   <sect2 role="package">
@@ -42,6 +45,8 @@
     de données PostScript offrant la possibilité de produire du PostScript sur
     différentes cibles.</para>
 
+    &lfs67_checked;
+
     <bridgehead renderas="sect3">Informations sur le paquet</bridgehead>
     <itemizedlist spacing="compact">
       <listitem>
@@ -92,21 +97,43 @@
       </listitem>
     </itemizedlist>
 
+    <itemizedlist spacing="compact">
+      <title>Correctifs</title>
+      <listitem>
+        <para>Correctif requis> : <ulink
+        url="&patch-root;/ghostscript-&gs-version;-security_fixes-1.patch"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>Correctifs recommandées (Sauf si vous construisez sans le support JPEG2000) : <ulink
+        url="&patch-root;/ghostscript-&gs-version;-system_jasper-1.patch"/>
+        </para>
+      </listitem>
+    </itemizedlist>
+
     <bridgehead renderas="sect3">Dépendances de Ghostscript</bridgehead>
 
-    <bridgehead renderas="sect4">Facultatives</bridgehead>
-    <para role="optional"><xref linkend="libjpeg"/>,
+    <bridgehead renderas="sect4">Recommandées</bridgehead>
+    <para role="optional"><xref linkend="expat"/>,
+    <xref linkend="freetype2"/>,
+    <xref linkend="jasper"/>
+    <xref linkend="libjpeg"/>,
     <xref linkend="libpng"/>,
-    <xref linkend="GTK"/> et
-    <xref linkend="x-window-system"/></para>
+    <xref linkend="libtiff"/>, et
+    <xref linkend="lcms"/></para>
 
-    <bridgehead renderas="sect3">Conflits</bridgehead>
-    <para>Cette version de Ghostscript ne fonctionne pas avec
-    <application>CUPS</application> à cause de l'absence de pilote image générique 
-    raster "cups". Le support nécessaire ne peut être ajouté dans le code à 
-    cause de licences incompatibles. Utilisez plutôt <xref linkend="espgs"/> 
-    si vous avez <application>CUPS</application>.</para>
-
+    <bridgehead renderas="sect4">Facultatives</bridgehead>
+    <para role="optional">
+    <xref linkend="cairo"/>,
+    <xref linkend="fontconfig"/>,
+    <xref linkend="gtk2"/>,
+    <xref linkend="cups"/>,
+    <xref linkend="libidn"/>,
+    <xref linkend="x-window-system"/>, et
+    <!-- the link for ijs source ultimately takes users back to the ghostscript site
+	<ulink url="http://www.linuxprinting.org/ijs/">IJS</ulink>, et -->
+    <ulink url="http://packages.debian.org/unstable/source/libpaper">libpaper</ulink></para>
+ 
     <para condition="html" role="usernotes">Notes utilisateur :
     <ulink url="&blfs-wiki;/gs"/></para>
 
@@ -115,33 +142,103 @@
   <sect2 role="installation">
     <title>Installation de Ghostscript</title>
 
-    <para>Installez <application>Ghostscript</application> en lançant les
+    <para>Installez <application>GPL Ghostscript</application> en lançant les
     commandes suivantes :</para>
 
-<screen><userinput>./configure --prefix=/usr &&
-make</userinput></screen>
+      <note>
+      <para>Le système <application>Ghostscript</application> construit n'est pas 
+      user-friendly. Afin d'utiliser des copies du système de bibliothèques graphiques
+	  différents, vous devez le faire en utilisant des méthodes non conventionnelles.</para>
+      </note>
+	 
+      <para>Commençons par corriger quelques failles de sécurité:</para>
 
-    <para>Ce paquet n'est pas fourni avec une suite de tests.</para>
+<screen><userinput>patch -Np1 -i ../ghostscript-&gs-version;-security_fixes-1.patch
+</userinput></screen>
 
+      <para><application>GPL Ghostscript</application> inclue des (anciennes) copies de
+      quelques bibliothèques. Certains d'entre eux semblent avoir été modifié pour 
+      corriger failles connues, mais d'autres de ces copies sont moins bien maintenus.
+	  Afin de s'assurer que les correctifs futurs sont appliqués dans tout le système,
+      il est recommandé que vous créez les versions publiées de ces bibliothèques et puis 
+	  configurer <application> GPL Ghostscript </ application> pour créer un lien vers 
+	  eux. Cette configuration comporte plusieurs étapes.</para>
+
+      <para>Sauf si vous avez l'intention de construire <application> postscript GPL
+	  </ application> sans le support pour  les fichiers <literal>  JPEG2000 </ literal>,
+	  appliquer un correctif pour lui permettre de se construire contre une version 
+	  actuelle du système installé de <application> JasPer </ application>:</para>
+
+<screen><userinput>patch -Np1 -i ../ghostscript-&gs-version;-system_jasper-1.patch
+</userinput></screen>
+
+      <para>Effacer les copies locales de <application>expat</application>,
+      <application>JasPer</application>, <application>lcms</application>,
+      <application>libjpeg</application>, <application>libpng</application>,
+      <application>libtiff</application>, et <application>zlib</application>:
+      </para>
+
+<screen><userinput>rm -rf expat jasper lcms jpeg libpng tiff zlib
+</userinput></screen>
+
+    <para>Exécuter la commande de configuration:</para>
+
+<screen><userinput>./configure --prefix=/usr --enable-dynamic --with-drivers=ALL,x11 --with-system-libtiff --disable-compile-inits</userinput></screen>
+
+    <para>Pour s'assurer que la construction pour utiliser les versions du système de
+    <application>expat</application>, <application>freetype</application>, et
+    <application>lcms</application> il est nécessaire de faire quelques changements et un
+    ajout dans le <literal>Makefile</literal> avant de construire le paquet:</para>
+
+<screen><userinput>sed -i  -e 's|SHARE_LCMS=0|SHARE_LCMS=1|' \
+        -e 's|LCMSSRCDIR=lcms|LCMSSRCDIR=/usr|' \
+        -e 's|=imdi|&\n\n# Use system expat library\n\nSHARE_EXPAT=1|' \
+        -e 's|SHARE_FT=0|SHARE_FT=1|' Makefile &&make</userinput></screen>
+
+    <para>Ce paquet n'est pas fourni avec une suite de tests. Par contre, vous pouvez tester
+	le fonctionnement du nouveau progamme <command>gs</command> construit en tapant la 
+	commande suivante (tapée dans un terminal X Windows):</para>
+
+	<screen><userinput>bin/gs -Ilib -dBATCH examples/tiger.eps</userinput></screen>
+	
     <para>Maintenant, en tant qu'utilisateur <systemitem class="username">root</systemitem> :</para>
 
-<screen role="root"><userinput>make install</userinput></screen>
+<!-- for 9.00 docdir is only referenced by GS_DOCDIR which is itself not referenced
+ so the docs still go into /usr/share/ghostscript/9.00/
+<screen role="root"><userinput>make install docdir=/usr/share/doc/ghostscript-&gs-version; &&-->
+<screen role="root"><userinput>make install &&
+for INSTFILE in `ls doc`
+do
+  <!--if [ ! -f          /usr/share/doc/ghostscript-&gs-version;/$INSTFILE ]; then -->
+  if [ ! -f          /usr/share/ghostscript/&gs-version;/doc/$INSTFILE ]; then
+    install -v -m644 doc/$INSTFILE \
+                     /usr/share/ghostscript/&gs-version;/doc
+                     <!--/usr/share/doc/ghostscript-&gs-version;-->
+  fi
+done &&
 
+<!--install -v -m755 -d /usr/share/doc/ghostscript-&gs-version;/figures &&-->
+install -v -m755 -d /usr/share/ghostscript/&gs-version;/doc/figures &&
+install -v -m644    doc/figures/* \
+                    /usr/share/ghostscript/&gs-version;/doc/figures &&
+                    <!--/usr/share/doc/ghostscript-&gs-version;/figures-->
+ln -sv ../ghostscript/&gs-version;/doc /usr/share/doc/ghostscript-&gs-version;
+</userinput></screen>
+
     <para>Pour installer la bibliothèque partagée
     <filename class='libraryfile'>libgs.so</filename>, lancez la commande
     supplémentaire suivante en tant qu'utilisateur non privilégié :</para>
 
 <screen><userinput>make so</userinput></screen>
 
-    <para>Puis, de nouveau en tant qu'utilisateur <systemitem class="username">root</systemitem> :</para>
+    <para>Puis de nouveau en tant qu'utilisateur <systemitem class="username">root</systemitem> :</para>
 
-<screen role="root"><userinput>make soinstall &&
-install -v -d -m755 /usr/include/ps &&
-install -v -m644 src/*.h /usr/include/ps &&
-ln -v -s ps /usr/include/ghostscript</userinput></screen>
-
+<screen role="root"><userinput>make soinstall docdir=/usr/share/doc/ghostscript-&gs-version; &&
+install -v -m644 base/*.h /usr/include/ghostscript &&
+ln -v -s ghostscript /usr/include/ps</userinput></screen>
+ 
     <note>
-      <para>La bibliothèque partagée dépend de <xref linkend="GTK"/>. Elle n'est
+      <para>La bibliothèque partagée dépend de <xref linkend="gtk2"/>. Elle n'est
       utilisée que dans des programmes externes comme <xref linkend="gsview"/> et
       <xref linkend="imagemagick"/>.</para>
     </note>
@@ -149,25 +246,44 @@
     <para>Pour finir l'installation, déballez toutes les polices que vous avez 
     téléchargées dans
     <filename class="directory">/usr/share/ghostscript</filename> et assurez-vous
-    que les fichiers appartiennent bien à root:root. Remplacez
+    que les fichiers appartiennent bien à <systemitem class="username">root</systemitem>:
+	<systemitem class="groupname">root</systemitem>. Remplacez
     <replaceable><archive-tar-police></replaceable> comme il faut dans la
     commande ci-dessous selon les polices que vous souhaitez installer :</para>
 
-<screen role="root"><userinput>tar -xvf ../<replaceable><archive-tar-police></replaceable> -C /usr/share/ghostscript &&
-chown -v -R root:root /usr/share/ghostscript/fonts</userinput></screen>
+<screen role="root"><userinput>tar -xvf ../<replaceable><font-tarball></replaceable> \
+    -C /usr/share/ghostscript --no-same-owner</userinput></screen>
 
   </sect2>
 
   <sect2 role="commands">
     <title>Explication des commandes</title>
 
+	 <para><command>--with-drivers=ALL,x11</command>: Ce paramètre ajoute le périphérique
+     de sortie <literal>x11</literal> pour la selection defaut (<literal>ALL</literal>)
+     pour que le test pour rendre le tigre fonctionne sur les systèmes 32-bit
+     (Cela n'est pas nuisible sur une architecture <literal>x86_64</literal>, bien qu'il 
+     ne soit pas nécessaire dans ce cas).</para>
+    <para><command>--disable-compile-inits</command>: Ce paramètre est destiné 
+    à éviter de compiler  les fichiers d'initialisation dans les exécutables.  Il est 
+	utilisé ici pour simplifier la construction contre la version systeme de 
+	<application>zlib</application>.</para>
+    <para><option>--without-jasper</option>: Si vous savez que vous n'imprimerez aucuns 
+	fichiers <literal>JPEG2000</literal>, ce paramètre (en effaçant le repertoire
+    <filename class="directory">jasper/</filename> ) fera cela.</para>
+    <para><option>--without-jbig2dec</option>: La decompression <literal>JBIG2</literal>
+    (utilisé par quelques faxs) peut être désactivé en utilisant ce paramètre
+    et en effaçant le repertoire <filename class="directory">jbig2dec/</filename>.</para>
     <para><command>install ...</command> : Certains paquets 
     (<application>ImageMagick</application> en fait partie) ont besoin que
     les en-têtes de l'interface 
     <application>Ghostscript</application> soient en place pour se lier à la
     bibliothèque partagée. Ces commandes installent les en-têtes.</para>
 
-    <para><command>ln -v -s ps /usr/include/ghostscript</command> : Certains
+    <para><command>ln -sv ... /usr/share/doc/ghostscript-&gs-version;</command>: Cela mets 
+    la documentation ou elle doit être trouvée.</para>
+
+    <para><command>ln -v -s ghostscript /usr/include/ps</command>: Certains
     paquets s'attendent à trouver les en-têtes de l'interface à un autre endroit.</para>
 
   </sect2>
@@ -180,13 +296,16 @@
       <segtitle>Répertoires installés</segtitle>
 
       <seglistitem>
-        <seg>bdftops, dumphint, ddvipdf, eps2eps, fixmswrd.pl, font2c, gs, gsbj,
-        gsc, gsdj, gsdj500, gslj, gslp, gsnd, gsx, lprsetup.sh, pdf2dsc, pdf2ps,
-        pdfopt, pf2afm, pfbtopfa, pj-gs.sh, printafm, ps2ascii, ps2epsi, ps2pdf,
-        ps2pdf12, ps2pdf13, ps2pdf14, ps2pdfwr, ps2ps, pv.sh, unix-lpr.sh, et
+        <seg>bdftops, dumphint, dvipdf, eps2eps, fixmswrd.pl, font2c, gs, gsbj,
+        gsc (from soinstall), gsdj, gsdj500, gslj, gslp, gsnd, gsx (from soinstall),
+        lprsetup.sh, pdf2dsc, pdf2ps, pdfopt,
+        pf2afm, pfbtopfa, printafm, ps2ascii, ps2epsi, ps2pdf, ps2pdf12,
+        ps2pdf13, ps2pdf14, ps2pdfwr, ps2ps, ps2ps2, pv.sh, unix-lpr.sh, et
         wftopfa</seg>
         <seg>libgs.so </seg>
-        <seg>/usr/include/ps et /usr/share/ghostscript</seg>
+        <seg>/usr/include/ghostscript, /usr/lib/ghostscript, /usr/share/ghostscript,
+        <!--and /usr/share/doc/ghostscript</seg>-->
+        et /usr/share/doc/ghostscript-&gs-version;</seg>
       </seglistitem>
     </segmentedlist>
 
@@ -195,25 +314,36 @@
       <?dbfo list-presentation="list"?>
       <?dbhtml list-presentation="table"?>
 
-      <varlistentry id="afplgs-prog-gs">
+      <varlistentry id="gplgs-prog-gs">
         <term><command>gs</command></term>
         <listitem>
-          <para>appelle <application>Ghostscript</application>, un interpréteur
-          des langages du format <foreignphrase>PostScript(tm) and Portable 
-          Document Format</foreignphrase> des systèmes Adobe (PDF).</para>
-          <indexterm zone="gs afplgs-prog-gs">
+          <para>is un interpreteur pour Adobe Systems' PostScript(tm) et Portable Document Format
+          (PDF).</para>
+          <indexterm zone="gs gplgs-prog">
             <primary sortas="b-gs">gs</primary>
           </indexterm>
         </listitem>
       </varlistentry>
 
+      <varlistentry id="libgs.so">
+        <term><filename class="libraryfile">libgs.so</filename></term>
+        <listitem>
+          <para>fournit la fonctionnalité <application>Ghostscript</application> 
+          à d'autres programmes, comme <application>GSView</application>,
+          <application>ImageMagick</application>, et
+          <application>libspectre</application>.</para>
+          <indexterm zone="gs libgs.so">
+            <primary sortas="c-libgs.so">libgs.so</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
    </variablelist>
 
-    <para><application>AFPL Ghostscript</application> fournit de nombreux scripts
-    variés utilisés pour manipuler des fichiers PostScript/PDF et
-    réciproquement. Merci de vous reporter à ladocumentation HTML ou essayez
-    <command>man gs</command> pour des informations sur les possibilités offertes
-    par le paquet.</para>
+    <para><application>GPL Ghostscript</application> fournit de nombreux scripts
+    variés utilisés pour convertir des fichiers PostScript, PDF et d'autres formats.
+	Merci de vous reporter à ladocumentation HTML ou essayez <command>man gs</command>
+	pour des informations sur les possibilités offertes par le paquet.</para>
 
   </sect2>
 




More information about the lfs-traducfr mailing list