r5445 - in trunk/BOOK: . introduction/welcome pst/printing

randy at linuxfromscratch.org randy at linuxfromscratch.org
Sun Dec 18 11:17:24 PST 2005

Author: randy
Date: 2005-12-18 12:17:23 -0700 (Sun, 18 Dec 2005)
New Revision: 5445

Updated to ESP Ghostscript-8.15.1

Modified: trunk/BOOK/general.ent
--- trunk/BOOK/general.ent	2005-12-18 07:04:59 UTC (rev 5444)
+++ trunk/BOOK/general.ent	2005-12-18 19:17:23 UTC (rev 5445)
@@ -545,7 +545,7 @@
 <!ENTITY cups-version                 "1.1.23">
 <!ENTITY LPRng-version                "3.8.28">
 <!ENTITY gs-version                   "8.51">
-<!ENTITY espgs-version                "7.07.1">
+<!ENTITY espgs-version                "8.15.1">
 <!ENTITY gimp-print-version           "4.2.7">
 <!-- Chapter 42 -->

Modified: trunk/BOOK/introduction/welcome/changelog.xml
--- trunk/BOOK/introduction/welcome/changelog.xml	2005-12-18 07:04:59 UTC (rev 5444)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2005-12-18 19:17:23 UTC (rev 5445)
@@ -45,8 +45,11 @@
       <para>December 18th, 2005</para>
+          <para>[randy] - Updated to ESP Ghostscript-8.15.1.</para>
+        </listitem>
+        <listitem>
           <para>[bdubbs] - Changed configure instruction in gimp to
-          use recommended dependecies.  Added note that the switches
+          use recommended dependencies.  Added note that the switches
           to configure need to be changed if the recommended 
           dependencies are not installed.</para>

Modified: trunk/BOOK/pst/printing/espgs.xml
--- trunk/BOOK/pst/printing/espgs.xml	2005-12-18 07:04:59 UTC (rev 5444)
+++ trunk/BOOK/pst/printing/espgs.xml	2005-12-18 19:17:23 UTC (rev 5445)
@@ -4,20 +4,20 @@
   <!ENTITY % general-entities SYSTEM "../../general.ent">
-  <!ENTITY espgs-download-http "http://prdownloads.sourceforge.net/espgs/espgs-&espgs-version;-source.tar.bz2">
-  <!ENTITY espgs-download-ftp  "ftp://ftp.gtlib.cc.gatech.edu/pub/slackware/slackware-current/source/ap/espgs/espgs-&espgs-version;-source.tar.bz2">
-  <!ENTITY espgs-md5sum        "d30bf5c09f2c7caa8291f6305cf03044">
-  <!ENTITY espgs-size          "5.3 MB">
-  <!ENTITY espgs-buildsize     "128 MB (includes installing libgs.so and both font tarballs)">
-  <!ENTITY espgs-time          "1.94 SBU (includes building and installing libgs.so)">
+  <!ENTITY espgs-download-http "http://ftp.easysw.com/pub/ghostscript/&espgs-version;/espgs-&espgs-version;-source.tar.bz2">
+  <!ENTITY espgs-download-ftp  "ftp://ftp3.easysw.com/pub/ghostscript/&espgs-version;/espgs-&espgs-version;-source.tar.bz2">
+  <!ENTITY espgs-md5sum        "2a21136953c3559e6088522753b06b1f">
+  <!ENTITY espgs-size          "7.7 MB">
+  <!ENTITY espgs-buildsize     "103.6 MB (includes installing libgs.so and both font tarballs)">
+  <!ENTITY espgs-time          "2.2 SBU (includes building and installing libgs.so)">
   <!ENTITY espgs-standard-fonts-download "ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/ghostscript-fonts-std-8.11.tar.gz">
   <!ENTITY espgs-standard-fonts-md5sum   "6865682b095f8c4500c54b285ff05ef6">
   <!ENTITY espgs-standard-fonts-size     "3.7 MB">
-  <!ENTITY espgs-other-fonts-download "http://ftp.gnu.org/pub/gnu/ghostscript/gnu-gs-fonts-other-6.0.tar.gz">
-  <!ENTITY espgs-other-fonts-md5sum   "33457d3f37de7ef03d2eea05a9e6aa4f">
-  <!ENTITY espgs-other-fonts-size     "796 KB">
+  <!ENTITY espgs-other-fonts-download    "http://ftp.gnu.org/pub/gnu/ghostscript/gnu-gs-fonts-other-6.0.tar.gz">
+  <!ENTITY espgs-other-fonts-md5sum      "33457d3f37de7ef03d2eea05a9e6aa4f">
+  <!ENTITY espgs-other-fonts-size        "796 KB">
 <sect1 id="espgs" xreflabel="ESP Ghostscript-&espgs-version;">
@@ -105,10 +105,8 @@
     <para role="optional"><xref linkend="cups"/>,
     <xref linkend="libjpeg"/>,
     <xref linkend="libpng"/>,
-    X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
-    <xref linkend="GLib"/>,
-    <xref linkend="GTK"/> and
-    <xref linkend="gimp-print"/></para>
+    X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>), and
+    <xref linkend="GTK"/></para>
@@ -118,24 +116,33 @@
     <para>Install <application>ESP Ghostscript</application>
     by running the following commands:</para>
-<screen><userinput>./configure --prefix=/usr --without-gimp-print --without-omni &&
+<screen><userinput>sed -i "s/bbox.dev$/x11.dev/" Makefile.in &&
+./configure --prefix=/usr --enable-threads --without-omni &&
     <para>This package does not come with a test suite. 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 examples/tiger.ps</userinput></screen>
+<screen><userinput>bin/gs -Ilib -dBATCH examples/tiger.eps</userinput></screen>
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
-<screen role="root"><userinput>make install</userinput></screen>
+<screen role="root"><userinput>make install &&
+rmdir -v /usr/lib/ghostscript/8.15 /usr/lib/ghostscript &&
+ln -v -s ../ghostscript/8.15/doc /usr/share/doc/espgs-&espgs-version; &&
+for INSTFILE in `ls doc`
+  if [ ! -f /usr/share/doc/espgs-&espgs-version;/$INSTFILE ]; then
+    install -v -m644 doc/$INSTFILE /usr/share/doc/espgs-&espgs-version;/
+  fi
     <para>To install the shared library
     <filename class='libraryfile'>libgs.so</filename> you will need
     <xref linkend="GTK"/>. Note that the shared library is only used in
     external programs such as <xref linkend="gsview"/> and
-    <xref linkend="imagemagick"/>. Proceed with the following commands as an
+    <xref linkend="imagemagick"/>. Proceed with the following command as an
     unprivileged user:</para>
 <screen><userinput>make CFLAGS_SO='-fPIC $(ACDEFS)' so</userinput></screen>
@@ -149,30 +156,36 @@
     <para>To finish the installation, unpack all fonts you've downloaded to
     <filename class="directory">/usr/share/ghostscript</filename> and ensure
-    the ownerships of the files are root:root. Substitute
-    <replaceable>[font-tarball]</replaceable> appropriately in
+    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>
+chown -v root:root /usr/share/ghostscript/fonts/*</userinput></screen>
   <sect2 role="commands">
     <title>Command Explanations</title>
-    <para><parameter>--without-gimp-print</parameter>: This switch disables
-    the building of the <application>GIMP</application> print driver as a
-    <application>Ghostscript</application> device since this is deprecated.
-    This driver may be still accessible via IJS or
-    <application>CUPS</application>, and this is the preferred way.</para>
+    <para><command>sed -i "s/bbox.dev$/x11.dev/" Makefile.in</command>:
+    This command changes the default <command>gs</command> output device from
+    the bbox driver to the x11 (screen) driver.</para>
+    <para><parameter>--enable-threads</parameter>: This parameter enables
+    threaded output.</para>
     <para><parameter>--without-omni</parameter>: This switch disables the
     omni driver support.</para>
     <para><option>--without-ijs</option>: This switch disables the
     IJS driver support.</para>
+    <para><command>rmdir -v /usr/lib/ghostscript/...</command>: These two
+    directories are removed as they were created during the installation,
+    but unpopulated.</para>
     <para><command>install ...</command>: Some packages
     (<application>ImageMagick</application> is one) need the
     <application>Ghostscript</application> interface headers in place to link
@@ -182,6 +195,10 @@
     packages expect to find the interface headers in an alternate
+    <para><command>for INSTFILE in `ls doc` ...</command>: This
+    <quote>for</quote> loop installs some documentation files that were not
+    installed during the installation process.</para>
   <sect2 role="content">
@@ -195,9 +212,9 @@
         <seg>bdftops, dvipdf, 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, sysvlp.sh,
-        unix-lpr.sh, and wftopfa</seg>
+        pf2afm, pfbtopfa, printafm, ps2ascii, ps2epsi, ps2pdf,ps2pdf12,
+        ps2pdf13, ps2pdf14, ps2pdfwr, ps2ps, pv.sh, unix-lpr.sh, and
+        wftopfa</seg>
         <seg>libgs.so </seg>
         <seg>/usr/include/ps and /usr/share/ghostscript</seg>

More information about the blfs-book mailing list