Ticket #2629: blfs-gs.patch

File blfs-gs.patch, 19.4 KB (added by willimm, 18 years ago)

Updates to Ghostscript and GSView.

  • basicnet/netprogs/cvs.xml

     
    7474    <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>,
    7575    <xref linkend="mitkrb"/> or <xref linkend="heimdal"/>
    7676    (for the GSSAPI libraries),
    77     <xref linkend="gs"/> or <xref linkend="espgs"/>, and
    78     an <xref linkend="server-mail"/> (that provides a
     77    <xref linkend="gs"/>, and an <xref linkend="server-mail"/> (that provides a
    7978    <command>sendmail</command> command)</para>
    8079
    8180    <para><application>CVS</application> will invoke a default text editor to
  • multimedia/libdriv/gstreamer.xml

     
    8787    Manuals)</bridgehead>
    8888    <para role="optional"><xref linkend="libxslt"/>,
    8989    <xref linkend="tetex"/>,
    90     <xref linkend="gs"/> or
    91     <xref linkend="espgs"/>,
     90    <xref linkend="gs"/>,
    9291    <xref linkend="docbook-utils"/>,
    9392    <ulink url="http://www.xfig.org/">Transfig</ulink>, and
    9493    <ulink url="http://netpbm.sourceforge.net/">Netpbm</ulink></para>
  • general.ent

     
    33$Date$
    44-->
    55
    6 <!ENTITY day          "14">                   <!-- Always 2 digits -->
     6<!ENTITY day          "15">                   <!-- Always 2 digits -->
    77<!ENTITY month        "01">                   <!-- Always 2 digits -->
    88<!ENTITY year         "2009">
    99<!ENTITY copyrightdate "2001-&year;">
    … …  
    3333<!ENTITY lfs-root             "../../../../lfs/view/&lfs-version;">
    3434<!ENTITY sourceforge-repo     "http://downloads.sourceforge.net">
    3535<!ENTITY gentoo-ftp-repo      "ftp://ftp.linux.ee/pub/gentoo/distfiles/distfiles">
     36<!ENTITY ghostscript-repo     "http://mirror.cs.wisc.edu/pub/mirrors/ghost/">
    3637<!ENTITY publisher            "Unknown">
    3738
    3839<!-- These entities are used to identify versions of LFS
    … …  
    686687<!-- Chapter 42 -->
    687688<!ENTITY cups-version                 "1.2.12">
    688689<!ENTITY LPRng-version                "3.8.28">
    689 <!ENTITY gs-version                   "8.53">
    690 <!ENTITY espgs-version                "8.15.4">
     690<!ENTITY gs-version                   "8.63">
    691691<!ENTITY gutenprint-version           "5.0.1">
    692692
    693693<!-- Obsolete
    694694<!ENTITY gimp-print-version           "4.2.7">
     695<!ENTITY espgs-version                "8.15.4">
    695696-->
    696697
    697698<!-- Chapter 43 -->
    … …  
    715716<!ENTITY a2ps-version                 "4.14">
    716717<!ENTITY enscript-version             "1.6.4">
    717718<!ENTITY psutils-version              "p17">
    718 <!ENTITY gsview-version               "4.8">
     719<!ENTITY gsview-version               "4.9">
    719720<!ENTITY xpdf-version                 "3.02">
    720721<!ENTITY fop-version                  "0.95">
    721722<!ENTITY paps-version                 "0.6.8">
  • kde/add/kdegraphics.xml

     
    120120    and partial support using the <ulink
    121121    url="https://savannah.gnu.org/projects/ocrad/">Ocrad</ulink> engine.</para>
    122122
    123     <para>The <command>kghostview</command> program requires a ghostscript
    124     interpreter from <xref linkend="gs"/> or <xref linkend="espgs"/> to
    125     process PS or PDF files.</para>
     123    <para>The <command>kghostview</command> program requires <xref linkend="gs"/> to process PS or PDF files.</para>
    126124
    127125    <para>The <command>kpovmodeler</command> program requires
    128126    <ulink url="http://www.povray.org/">POV-Ray</ulink> to render 3D scenes.</para>
  • gnome/add/evince.xml

     
    8888      (required to build the <application>Nautilus</application> plugin),
    8989    <xref linkend="poppler"/> (required for PDF support and must be built
    9090      with <application>GTK+</application> support),
    91     <xref linkend="espgs"/> or <xref linkend="gs"/>
    92     (required for Postscript ability from <application>Evince</application>),
     91    <xref linkend="gs"/> (required for Postscript ability from <application>Evince</application>),
    9392    <ulink url="http://djvulibre.djvuzone.org/">DjVuLibre</ulink>
    9493    (required for DjVu graphics from <application>Evince</application>), and
    9594    <ulink url="ftp://sunsite.unc.edu/pub/Linux/libs/graphics/">t1lib</ulink>
  • server/mail/courier.xml

     
    8686    <xref linkend="aspell"/>,
    8787    <xref linkend="gnupg"/>,
    8888    <xref linkend="expect"/>,
    89     <xref linkend="gs"/> or <xref linkend="espgs"/>,
     89    <xref linkend="gs"/>,
    9090    <ulink url="http://netpbm.sourceforge.net/">Netpbm</ulink> and
    9191    <ulink url="http://alpha.greenie.net/mgetty/">Mgetty+Sendfax</ulink></para>
    9292
  • server/mail/sendmail.xml

     
    6666    <xref linkend="tcpwrappers"/>,
    6767    <xref linkend="cyrus-sasl"/>,
    6868    <ulink url="http://www.feep.net/nph/">nph</ulink>, and
    69     <xref linkend="gs"/> or <xref linkend="espgs"/> (for creating
    70     PDF documentation)</para>
     69    <xref linkend="gs"/> (for creating PDF documentation)</para>
    7170
    7271    <para condition="html" role="usernotes">User Notes:
    7372    <ulink url="&blfs-wiki;/sendmail"/></para>
  • pst/ps/xpdf.xml

     
    6969    <para role="required"><xref linkend="lesstif"/></para>
    7070
    7171    <bridgehead renderas="sect4">Optional</bridgehead>
    72     <para role="optional"><xref linkend="gs"/> or <xref linkend="espgs"/>
    73     (just the fonts), <ulink
     72    <para role="optional"><xref linkend="gs"/> (just the fonts), <ulink
    7473    url="http://gd.tuwien.ac.at/visual/ibiblio/libs/graphics/t1lib-5.1.0.tar.gz">
    7574    t1lib</ulink>, and <ulink
    7675    url="http://packages.debian.org/unstable/source/libpaper">libpaper</ulink></para>
  • pst/ps/gsview.xml

     
    44  <!ENTITY % general-entities SYSTEM "../../general.ent">
    55  %general-entities;
    66
    7   <!ENTITY gsview-download-http "http://gd.tuwien.ac.at/publishing/ghostscript/ghostgum/gsview-&gsview-version;.tar.gz">
     7  <!ENTITY gsview-download-http "&ghostscript-repo;ghostgum/gsview-&gsview-version;.tar.gz">
    88  <!ENTITY gsview-download-ftp  " ">
    9   <!-- <!ENTITY gsview-download-ftp  "ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/gsview-&gsview-version;.tar.gz"> -->
    109  <!ENTITY gsview-md5sum        "21c81819af0eeb42ac5ee6499f4a7116">
    1110  <!ENTITY gsview-size          "931 KB">
    1211  <!ENTITY gsview-buildsize     "11.4 MB">
    … …  
    6665    <bridgehead renderas="sect3">GSview Dependencies</bridgehead>
    6766
    6867    <bridgehead renderas="sect4">Required</bridgehead>
    69     <para role="required"><xref linkend="GTK"/>, and
    70     <xref linkend="gs"/> or <xref linkend="espgs"/></para>
     68    <para role="required"><xref linkend="GTK"/>, and <xref linkend="gs"/> </para>
    7169
    7270    <para>Note that you must build the shared
    7371    <filename class="libraryfile">libgs.so</filename> library during the
    … …  
    9391
    9492<screen><userinput>sed -i 's:netscape:<replaceable>&lt;browser&gt;</replaceable>:' srcunx/gvxreg.c</userinput></screen>
    9593
     94    <!-- ESP Ghostscript is obslete, commenting out.
    9695    <para>The <application>GSview</application> package has not been updated in
    9796    quite a while and does not accomodate the recent versions of the
    9897    <application>ESP Ghostscript</application> package. If you installed
    … …  
    10099    the maximum version of Ghostscript allowed. Make the modification using
    101100    the following command: </para>
    102101
    103 <screen><userinput>sed -i 's:999:99999:' src/gvcver.h</userinput></screen>
     102<screen><userinput>sed -i 's:999:99999:' src/gvcver.h</userinput></screen> -->
    104103
    105104    <para>Install <application>GSview</application> by running the following
    106105    commands:</para>
  • pst/ps/a2ps.xml

     
    8888    <bridgehead renderas="sect4">Optional</bridgehead>
    8989    <para role="optional"><xref linkend="x-window-system"/>,
    9090    <xref linkend="tetex"/>,
    91     <xref linkend="gs"/> or <xref linkend="espgs"/>,
     91    <xref linkend="gs"/>,
    9292    <ulink
    9393    url="http://packages.debian.org/unstable/source/libpaper">libpaper</ulink>,
    9494    <ulink url="http://www.adobe.com/products/acrobat/readstep2.html">Adobe
  • pst/printing/gimp-print.xml

     
    3131
    3232    <para>The <application>Gimp-Print</application> package contains
    3333    high quality drivers for Canon, Epson, Lexmark and PCL
    34     printers for use with <xref linkend="espgs"/>, <xref linkend="cups"/>,
     34    printers for use with <xref linkend="gs"/>, <xref linkend="cups"/>,
    3535    <ulink url="http://www.linuxprinting.org/foomatic.html">Foomatic</ulink>,
    3636    <xref linkend="LPRng"/>, <command>lpr</command> and the
    3737    <application>GIMP-1.2</application>. See a list of supported printers at
    3838    <ulink url="http://gimp-print.sourceforge.net/p_Supported_Printers.php3"/>.
    3939    </para>
    4040
    41 <!-- FIXME: APFL Ghostscript is not tested. Don't forget to check the license. -->
    42 
    4341    <bridgehead renderas="sect3">Package Information</bridgehead>
    4442    <itemizedlist spacing="compact">
    4543      <listitem>
    … …  
    7068    <ulink url="http://www.linuxprinting.org/ijs/">IJS</ulink>,
    7169    <xref linkend="tetex"/>,
    7270    <xref linkend="docbook-utils"/> and
    73     <xref linkend="espgs"/> or <xref linkend="gs"/></para>
     71    <xref linkend="gs"/></para>
    7472
    7573    <para condition="html" role="usernotes">User Notes:
    7674    <ulink url="&blfs-wiki;/gimp-print"/></para>
  • pst/printing/gs.xml

     
    44  <!ENTITY % general-entities SYSTEM "../../general.ent">
    55  %general-entities;
    66
    7   <!ENTITY gs-download-http "&sourceforge-repo;/ghostscript/ghostscript-&gs-version;.tar.bz2">
    8   <!-- <!ENTITY gs-download-ftp  "ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/gs851/ghostscript-&gs-version;.tar.bz2"> -->
     7  <!ENTITY gs-download-http "&ghostscript-repo;GPL/gs863/ghostscript-&gs-version;.tar.gz">
    98  <!ENTITY gs-download-ftp  " ">
    109  <!ENTITY gs-md5sum        "e65e0c40213a616174572faa639e04d6">
    1110  <!ENTITY gs-size          "9.3 MB">
    1211  <!ENTITY gs-buildsize     "104 MB (includes installing libgs.so and both font tarballs)">
    1312  <!ENTITY gs-time          "2.4 SBU (includes building and installing libgs.so)">
    1413
    15   <!ENTITY gs-standard-fonts-download "ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/ghostscript-fonts-std-8.11.tar.gz">
     14  <!ENTITY gs-standard-fonts-download "&ghostscript-repo;fonts/ghostscript-fonts-std-8.11.tar.gz">
    1615  <!ENTITY gs-standard-fonts-md5sum   "6865682b095f8c4500c54b285ff05ef6">
    1716  <!ENTITY gs-standard-fonts-size     "3.7 MB">
    1817
    19   <!ENTITY gs-other-fonts-download "http://ftp.gnu.org/pub/gnu/ghostscript/gnu-gs-fonts-other-6.0.tar.gz">
     18  <!ENTITY gs-other-fonts-download "&ghostscript-repo;gnu/fonts/gnu-gs-fonts-other-6.0.tar.gz">
    2019  <!ENTITY gs-other-fonts-md5sum   "33457d3f37de7ef03d2eea05a9e6aa4f">
    2120  <!ENTITY gs-other-fonts-size     "796 KB">
    2221]>
    2322
    24 <sect1 id="gs" xreflabel="AFPL Ghostscript-&gs-version;">
     23<sect1 id="gs" xreflabel="GPL Ghostscript-&gs-version;">
    2524  <?dbhtml filename="gs.html"?>
    2625
    2726  <sect1info>
    … …  
    2928    <date>$Date$</date>
    3029  </sect1info>
    3130
    32   <title>AFPL Ghostscript-&gs-version;</title>
     31  <title>GPL Ghostscript-&gs-version;</title>
    3332
    3433  <indexterm zone="gs">
    35     <primary sortas="a-AFPL-Ghostscript">AFPL Ghostscript</primary>
     34    <primary sortas="a-GPL-Ghostscript">GPL Ghostscript</primary>
    3635  </indexterm>
    3736
    3837  <sect2 role="package">
    … …  
    6968    <itemizedlist spacing='compact'>
    7069      <title>Standard Fonts</title>
    7170      <listitem>
    72         <para>Download (FTP): <ulink url="&gs-standard-fonts-download;"/></para>
     71        <para>Download (HTTP): <ulink url="&gs-standard-fonts-download;"/></para>
    7372      </listitem>
    7473      <listitem>
    7574        <para>Download MD5 sum: &gs-standard-fonts-md5sum;</para>
    … …  
    9291      </listitem>
    9392    </itemizedlist>
    9493
     94    <itemizedlist spacing='compact'>
     95        <title>Recommended patch:</title>
     96          <listitem>
     97              <para> Patch if you want to use system Jasper: <ulink url="&patch-root;/ghostscript-&gs-version;-system_jasper-1.patch" /></para>
     98          </listitem>
     99    </itemizedlist>
     100
    95101    <bridgehead renderas="sect3">Ghostscript Dependencies</bridgehead>
    96102
    97103    <bridgehead renderas="sect4">Optional</bridgehead>
    98104    <para role="optional"><xref linkend="libjpeg"/>,
    99105    <xref linkend="libpng"/>,
    100     <xref linkend="GTK"/>, and
     106    <xref linkend="gtk2"/>,
     107    <xref linkend="jasper"/>, and
    101108    <xref linkend="x-window-system"/></para>
    102109
     110    <!-- GPL Ghostscript does not have these comflicts anymore.
    103111    <bridgehead renderas="sect3">Conflicts</bridgehead>
    104112    <para>This version of Ghostscript does not work with
    105113    <application>CUPS</application> due to missing generic "cups" raster
    106114    image driver. The necessary support cannot be patched in due to
    107115    incompatible licenses. Use <xref linkend="espgs"/> instead if you have
    108     <application>CUPS</application>.</para>
     116    <application>CUPS</application>.</para> -->
    109117
    110118    <para condition="html" role="usernotes">User Notes:
    111119    <ulink url="&blfs-wiki;/gs"/></para>
    … …  
    142150ln -v -s ps /usr/include/ghostscript</userinput></screen>
    143151
    144152    <note>
    145       <para>The shared library depends on <xref linkend="GTK"/>. It is
     153      <para>The shared library depends on <xref linkend="gtk2"/>. It is
    146154      only used in external programs like <xref linkend="gsview"/> and
    147155      <xref linkend="imagemagick"/>.</para>
    148156    </note>
    … …  
    209217
    210218   </variablelist>
    211219
    212     <para><application>AFPL Ghostscript</application> provides many different
     220    <para><application>GPL Ghostscript</application> provides many different
    213221    scripts used to render PostScript/PDF files back and forth. Please refer
    214222    to the HTML documentation or try <command>man gs</command> for information
    215223    about the capabilities provided by the package.</para>
  • pst/printing/cups.xml

     
    167167
    168168    <para>For non-PostScript printers to print with
    169169    <application>CUPS</application>, you need to install
    170     <xref linkend="espgs"/> to convert PostScript to raster images
     170    <xref linkend="gs"/> to convert PostScript to raster images
    171171    and a driver (e.g., from <xref linkend="gutenprint"/>) to convert
    172172    the resulting raster images to a form that the printer understands.
    173173    <ulink url="http://www.linuxprinting.org/foomatic.html">Foomatic</ulink>
  • pst/printing/printing.xml

     
    2222  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="cups.xml"/>
    2323  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="lprng.xml"/>
    2424  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gs.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="espgs.xml"/>
    2625  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gutenprint.xml"/>
    2726
    2827  <!-- Obsolete
    2928  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gimp-print.xml"/>
     29  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="espgs.xml"/>
    3030  -->
    3131
    3232</chapter>
  • pst/printing/gutenprint.xml

     
    3232    <para>The <application>Gutenprint</application> (formerly
    3333    <application>Gimp-Print</application>) package contains high
    3434    quality drivers for many brands and models of printers for use with
    35     <xref linkend="espgs"/>, <xref linkend="cups"/>,
     35    <xref linkend="gs"/>, <xref linkend="cups"/>,
    3636    <ulink url="http://www.linuxprinting.org/foomatic.html">Foomatic</ulink>,
    3737    <xref linkend="LPRng"/>, <command>lpr</command> and the
    3838    <application>GIMP-2.0</application>. See a list of supported printers at
    3939    <ulink url="http://gutenprint.sourceforge.net/p_Supported_Printers.php3"/>.
    4040    </para>
    4141
    42 <!-- FIXME: APFL Ghostscript is not tested. Don't forget to check the license. -->
    43 
    4442    <bridgehead renderas="sect3">Package Information</bridgehead>
    4543    <itemizedlist spacing="compact">
    4644      <listitem>
  • general/prog/nasm.xml

     
    6666    <bridgehead renderas="sect3">NASM Dependencies</bridgehead>
    6767
    6868    <bridgehead renderas="sect4">Optional (for Building Documentation)</bridgehead>
    69     <para role="optional"><xref linkend="tetex"/>, and
    70     <xref linkend="espgs"/> or <xref linkend="gs"/></para>
     69    <para role="optional"><xref linkend="tetex"/>, and <xref linkend="gs"/></para>
    7170
    7271    <para condition="html" role="usernotes">User Notes:
    7372    <ulink url="&blfs-wiki;/nasm"/></para>
  • general/prog/doxygen.xml

     
    7474    <para role="optional"><xref linkend="qt4"/> (for doxywizard),
    7575    <xref linkend="graphviz"/>,
    7676    <xref linkend="python"/>,
    77     <xref linkend="tetex"/>,
    78     <xref linkend="espgs"/> or <xref linkend="gs"/></para>
     77    <xref linkend="tetex"/>, and
     78    <xref linkend="gs"/></para>
    7979
    8080    <para condition="html" role="usernotes">User Notes:
    8181    <ulink url="&blfs-wiki;/doxygen"/></para>
    … …  
    133133    <xref linkend="python"/> installed. If you require formulas to
    134134    create PDF documentation, then you must have <xref linkend="tetex"/>
    135135    installed. If you require formulas to convert PostScript files to bitmaps,
    136     then you must have <xref linkend="gs"/> or <xref linkend="espgs"/>
    137     installed.</para>
     136    then you must have <xref linkend="gs"/> installed.</para>
    138137
    139138  </sect2>
    140139
  • general/genutils/imagemagick.xml

     
    140140    </para>
    141141
    142142    <bridgehead renderas="sect4">Optional Graphics Utilities</bridgehead>
    143     <para role="optional"><xref linkend="espgs"/> or <xref linkend="gs"/>,
     143    <para role="optional"><xref linkend="gs"/>,
    144144    <ulink url="http://www.artifex.com/downloads/">GhostPCL</ulink>,
    145145    <xref linkend="gimp"/>,
    146146    <ulink url="http://www.gnuplot.info/">Gnuplot</ulink>,