Changeset 100786d


Ignore:
Timestamp:
03/15/2010 04:24:33 PM (14 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
0fb9d5f
Parents:
5c566f7
Message:

Updated to GPL Ghostscript-8.71

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8330 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r5c566f7 r100786d  
    766766<!ENTITY cups-version                 "1.4.2">
    767767<!ENTITY LPRng-version                "3.8.28">
    768 <!ENTITY gs-version                   "8.70">
    769 <!-- <!ENTITY espgs-version                "8.15.4"> -->
     768<!ENTITY gs-version                   "8.71">
    770769<!ENTITY gutenprint-version           "5.0.1">
    771770
    772771<!-- Obsolete
     772<!ENTITY espgs-version                "8.15.4">
    773773<!ENTITY gimp-print-version           "4.2.7">
    774774-->
  • introduction/welcome/changelog.xml

    r5c566f7 r100786d  
    4646      <itemizedlist>
    4747        <listitem>
     48          <para>[randy] - Updated to GPL Ghostscript-8.71</para>
     49        </listitem>
     50        <listitem>
    4851          <para>[randy] - Updated to CUPS-1.4.2</para>
    4952        </listitem>
  • pst/printing/gs.xml

    r5c566f7 r100786d  
    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/GPL/gs870/ghostscript-&gs-version;.tar.bz2">
    9   <!ENTITY gs-md5sum        "526366f8cb4fda0d3d293597cc5b984b">
    10   <!ENTITY gs-size          "17 MB">
    11   <!ENTITY gs-buildsize     "232 MB (includes installing libgs.so and both font tarballs)">
    12   <!ENTITY gs-time          "3.2 SBU (includes building and installing libgs.so)">
    13 
    14   <!ENTITY gs-standard-fonts-download "ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/ghostscript-fonts-std-8.11.tar.gz">
     7  <!-- <!ENTITY gs-download-http "&sourceforge-repo;/ghostscript/ghostscript-&gs-version;.tar.bz2"> -->
     8  <!ENTITY gs-download-http "http://ghostscript.com/releases/ghostscript-&gs-version;.tar.gz">
     9  <!ENTITY gs-download-ftp  "ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs871/ghostscript-&gs-version;.tar.gz">
     10  <!ENTITY gs-md5sum        "51a522a5b4818bd3dc7c1c0e9dd22bad">
     11  <!ENTITY gs-size          "25.2 MB">
     12  <!ENTITY gs-buildsize     "255 MB (includes installing libgs.so and both font tarballs)">
     13  <!ENTITY gs-time          "3.3 SBU (includes building and installing libgs.so)">
     14
     15  <!-- <!ENTITY gs-standard-fonts-download "ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/ghostscript-fonts-std-8.11.tar.gz"> -->
     16  <!ENTITY gs-standard-fonts-download "&sourceforge-repo;/gs-fonts/ghostscript-fonts-std-8.11.tar.gz">
    1517  <!ENTITY gs-standard-fonts-md5sum   "6865682b095f8c4500c54b285ff05ef6">
    16   <!ENTITY gs-standard-fonts-size     "3.6 MB">
    17 
    18   <!ENTITY gs-other-fonts-download "http://ftp.gnu.org/pub/gnu/ghostscript/gnu-gs-fonts-other-6.0.tar.gz">
    19   <!ENTITY gs-other-fonts-md5sum   "33457d3f37de7ef03d2eea05a9e6aa4f">
    20   <!ENTITY gs-other-fonts-size     "778 KB">
     18  <!ENTITY gs-standard-fonts-size     "3.7 MB">
     19
     20  <!ENTITY gs-other-fonts-download    "&sourceforge-repo;/gs-fonts/gnu-gs-fonts-other-6.0.tar.gz">
     21  <!ENTITY gs-other-fonts-md5sum      "33457d3f37de7ef03d2eea05a9e6aa4f">
     22  <!ENTITY gs-other-fonts-size        "796 KB">
    2123]>
    2224
     
    108110    <para role="optional"><xref linkend="libjpeg"/>,
    109111    <xref linkend="libpng"/>,
     112    <xref linkend="libtiff"/>,
    110113    <xref linkend="jasper"/>,
    111     <xref linkend="gtk2"/>, and
    112     <xref linkend="x-window-system"/></para>
     114    <xref linkend="cairo"/>,
     115    <xref linkend="fontconfig"/>,
     116    <xref linkend="gtk2"/>,
     117    <xref linkend="cups"/>,
     118    <xref linkend="x-window-system"/>,
     119    <ulink url="http://www.linuxprinting.org/ijs/">IJS</ulink>, and
     120    <ulink url="http://packages.debian.org/unstable/source/libpaper">libpaper</ulink></para>
    113121
    114122    <para condition="html" role="usernotes">User Notes:
     
    120128    <title>Installation of Ghostscript</title>
    121129
    122     <para>If you have <application>JasPer</application> installed on your system
    123     and you would like to use it with <application>GPL Ghostscript</application>,
    124     first remove the local copy and apply a patch:</para>
     130    <note>
     131      <para>The <application>Ghostscript</application> build system is not
     132      user-friendly. In order to use system copies of various graphics
     133      libraries, you must do it using unconventional methods.</para>
     134
     135      <para>First, if you wish to use the system-installed version of
     136      <application>JasPer</application>, remove the local copy from the
     137      source tree and apply a patch:</para>
    125138
    126139<screen><userinput>rm -rf jasper &amp;&amp;
    127140patch -Np1 -i ../ghostscript-&gs-version;-system_jasper-1.patch</userinput></screen>
    128141
     142      <para>Next, if you wish to use the system-installed copies of
     143      <application>libjpeg</application> and <application>libpng</application>,
     144      remove the local copies from the source tree:</para>
     145
     146<screen><userinput>rm -rf jpeg &amp;&amp;
     147rm -rf libpng</userinput></screen>
     148
     149      <para>If you wish to use the system-installed copy of
     150      <application>libtiff</application>, add the parameter
     151      <option>--with-system-libtiff</option> to the <command>./configure</command>
     152      command shown below. Also remove the
     153      <filename class='directory'>tiff</filename> directory from the source tree
     154      to prevent the <application>Ghostscript</application> build from using any
     155      of its local copy.</para>
     156
     157      <para>Unfortunately, <application>Ghostscript</application> will use local
     158      copies of <application>Expat</application> and
     159      <application>Zlib</application> from the source tree. There doesn't
     160      appear to be an easy way to use system-installed copies of these libraries
     161      without doing some hacking of the sources.</para>     
     162    </note>
     163
    129164    <para>Install <application>GPL Ghostscript</application> by running the
    130165    following commands:</para>
    131166
    132 <screen><userinput>./configure --prefix=/usr &amp;&amp;
     167<screen><userinput>./configure --prefix=/usr --enable-dynamic &amp;&amp;
    133168make</userinput></screen>
    134169
     
    141176    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    142177
    143 <screen role="root"><userinput>make install &amp;&amp;
    144 ln -sv /usr/share/ghostscript/&gs-version;/doc /usr/share/doc/ghostscript-&gs-version;</userinput></screen>
     178<screen role="root"><userinput>make install docdir=/usr/share/doc/ghostscript-&gs-version; &amp;&amp;
     179
     180for INSTFILE in `ls doc`
     181do
     182  if [ ! -f          /usr/share/doc/ghostscript-&gs-version;/$INSTFILE ]; then
     183    install -v -m644 doc/$INSTFILE \
     184                     /usr/share/doc/ghostscript-&gs-version;
     185  fi
     186done &amp;&amp;
     187
     188install -v -m755 -d /usr/share/doc/ghostscript-&gs-version;/figures &amp;&amp;
     189install -v -m644    doc/figures/* \
     190                    /usr/share/doc/ghostscript-&gs-version;/figures</userinput></screen>
    145191
    146192    <para>To install the shared library
     
    150196<screen><userinput>make so</userinput></screen>
    151197
    152     <para>And again, as the <systemitem class="username">root</systemitem>
     198    <para>And again as the <systemitem class="username">root</systemitem>
    153199    user:</para>
    154200
    155 <screen role="root"><userinput>make soinstall &amp;&amp;
     201<screen role="root"><userinput>make soinstall docdir=/usr/share/doc/ghostscript-&gs-version; &amp;&amp;
    156202install -v -m644 base/*.h /usr/include/ghostscript &amp;&amp;
    157203ln -v -s ghostscript /usr/include/ps</userinput></screen>
     
    165211    <para>To finish the installation, unpack all fonts you've downloaded to
    166212    <filename class="directory">/usr/share/ghostscript</filename> and ensure
    167     the ownerships of the files are root:root. Substitute
     213    the ownerships of the files are
     214    <systemitem class="username">root</systemitem>:<systemitem
     215    class="groupname">root</systemitem>. Substitute
    168216    <replaceable>&lt;font-tarball&gt;</replaceable> appropriately in
    169217    the command below for the fonts you wish to install:</para>
    170218
    171 <screen role="root"><userinput>tar -xvf ../<replaceable>&lt;font-tarball&gt;</replaceable> -C /usr/share/ghostscript &amp;&amp;
    172 chown -v -R root:root /usr/share/ghostscript/fonts</userinput></screen>
     219<screen role="root"><userinput>tar -xvf ../<replaceable>&lt;font-tarball&gt;</replaceable> \
     220    -C /usr/share/ghostscript --no-same-user</userinput></screen>
    173221
    174222  </sect2>
     
    182230    to the shared library. These commands install the headers.</para>
    183231
    184     <para><command>ln -sv ... /usr/share/doc/ghostscript-&gs-version;</command>: This puts
    185     the documentation where it is expected to be found.</para>
     232    <!-- <para><command>ln -sv ... /usr/share/doc/ghostscript-&gs-version;</command>: This puts
     233    the documentation where it is expected to be found.</para> -->
    186234
    187235    <para><command>ln -v -s ghostscript /usr/include/ps</command>: Some
     
    205253        wftopfa</seg>
    206254        <seg>libgs.so </seg>
    207         <seg>/usr/include/ghostscript and /usr/share/ghostscript</seg>
     255        <seg>/usr/include/ghostscript, /usr/lib/ghostscript, /usr/share/ghostscript,
     256        and /usr/share/doc/ghostscript-&gs-version;</seg>
    208257      </seglistitem>
    209258    </segmentedlist>
  • pst/printing/printing.xml

    r5c566f7 r100786d  
    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
     28  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="espgs.xml"/>
    2929  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gimp-print.xml"/>
    3030  -->
Note: See TracChangeset for help on using the changeset viewer.