Ignore:
Timestamp:
08/26/2013 11:56:52 PM (11 years ago)
Author:
Ken Moffat <ken@…>
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:
c45dcbc7
Parents:
90ebb73
Message:

ghostscript-9.09

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pst/printing/gs.xml

    r90ebb73 r933ceec  
    88  "http://downloads.ghostscript.com/public/ghostscript-&gs-version;.tar.bz2">
    99  <!ENTITY gs-download-ftp  " ">
    10   <!ENTITY gs-md5sum        "eea27befc1e85bef6d4768202f6b03a5">
    11   <!ENTITY gs-size          "27 MB">
     10  <!ENTITY gs-md5sum        "a4d70e4e2ce354fb720d4589afe5a2a8">
     11  <!ENTITY gs-size          "34 MB">
    1212  <!ENTITY gs-buildsize
    13   "215 MB (includes installing libgs.so and both font tarballs)">
     13  "189 MB (includes installing libgs.so, add 5 MB if the fonts are installed)">
    1414  <!ENTITY gs-time
    15   "3.3 SBU (includes building and installing libgs.so)">
     15  "2.2 SBU (includes building and installing libgs.so)">
    1616
    1717  <!ENTITY gs-standard-fonts-download
     
    4545    <para><application>Ghostscript</application> is a versatile processor
    4646    for PostScript data with the ability to render PostScript to different
    47     targets.</para>
    48 
    49     &lfs73_checked;
     47    targets. It used to be part of the cups printing stack, but is no longer
     48    used for that.</para>
     49
     50    &lfs74_checked;
    5051
    5152    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    7273
    7374    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     75
     76      <para>If you wish, you can download additional fonts.</para>
    7477
    7578    <itemizedlist spacing="compact">
     
    106109      <xref linkend="freetype2"/>,
    107110      <xref linkend="libjpeg"/>,
    108       <xref linkend="libpng"/>, 
     111      <xref linkend="libpng"/>,
    109112      <xref linkend="libtiff"/>, and
    110113      <xref linkend="lcms2"/>
     
    117120      <xref linkend="gtk2"/>,
    118121      <xref linkend="cups"/>,
    119       <xref linkend="jasper"/>,
    120       <xref linkend="lcms"/>,
     122      <xref linkend="lcms"/> (not used by default, nor if lcms2 is present or found),
    121123      <xref linkend="libidn"/>,
    122124      <xref linkend="x-window-system"/> and
     
    154156      copies of <application>expat</application>,
    155157      <application>freetype</application>, <application>lcms2</application>,
    156       <application>libjpeg</application>, <application>libpng</application>,
    157       and <application>libtiff</application>:
    158     </para>
    159 
    160 <screen><userinput>rm -rf expat freetype lcms2 jpeg libpng tiff</userinput></screen>
     158      <application>libjpeg</application>, and <application>libpng</application>:
     159    </para>
     160
     161<screen><userinput>rm -rf expat freetype lcms2 jpeg libpng</userinput></screen>
    161162
    162163    <note>
     
    170171    </note>
    171172
    172     <note>
    173       <para>
    174         If you have installed Cups and your printer is <emphasis>not</emphasis>
    175         a postscript printer you will need to add
    176         <option>--with-install-cups</option> to the configure options below.
    177         (This option makes Ghostscript compile and install the gstoraster filter
    178         and the gstoraster.convs configuration file that allow Cups to convert a
    179         PostScript file to raster.)
    180       </para>
    181     </note>
    182 
    183173    <para>Compile <application>Ghostscript</application>:</para>
    184174
    185 <screen><userinput>rm -rf jasper lcms zlib &amp;&amp;
    186 ./configure --prefix=/usr --enable-dynamic --with-system-libtiff LIBS=-lz &amp;&amp;
     175<screen><userinput>rm -rf zlib &amp;&amp;
     176./configure --prefix=/usr --disable-compile-inits \
     177 --enable-dynamic --with-system-libtiff &amp;&amp;
    187178make</userinput></screen>
    188179
     
    208199    </para>
    209200
    210 <screen><userinput>bin/gs -Ilib -dBATCH examples/tiger.eps</userinput></screen>
     201<screen><userinput>bin/gs -Ilib -IResource/Init -dBATCH examples/tiger.eps</userinput></screen>
    211202
    212203    <para>
     
    222213ln -v -s ghostscript /usr/include/ps</userinput></screen>
    223214
    224     <para>Now install the documentation:</para>
     215    <para>Now make the documentation accessible from the normal place:</para>
    225216
    226217<screen role="root"><userinput>ln -sfv ../ghostscript/&gs-version;/doc /usr/share/doc/ghostscript-&gs-version;</userinput></screen>
    227218
    228219    <para>
    229       To finish the installation, unpack all fonts you've downloaded to
     220      If you have downloaded any fonts, unpack them to
    230221      <filename class="directory">/usr/share/ghostscript</filename> and ensure
    231222      the ownerships of the files are
     
    243234
    244235    <para>
    245       <command>rm -rf jasper lcms zlib</command>: The
    246       <application>Ghostscript</application> build system defaults to using its
    247       own version of <ulink url="http://www.openjpeg.org/">OpenJpeg</ulink> for
    248       JPEG 2000 files <!-- I can't get it to compile using a system installed
    249       version of openjpeg. It seems the ghostscript version has been heavily
    250       modified... --> so jasper source can be removed. The default color
    251       management system is now <application>lcms2</application> so the
    252       <application>lcms</application> source is not needed.
    253       <application>Zlib</application> was installed as part of LFS.
     236      <command>rm -rf zlib</command>:
     237      <application>zlib</application> was installed as part of LFS.
     238    </para>
     239
     240    <para>
     241      <command>--disable-compile-inits</command>: This option makes
     242      <command>gs</command> and <filename>libgs.so</filename> slightly smaller.
    254243    </para>
    255244
     
    257246      <option>--with-system-libtiff</option>: Remove this option if you've not
    258247      installed <xref linkend="libtiff"/>.
    259     </para>
    260 
    261     <para>
    262       <parameter>LIBS=-lz</parameter>: Use the <envar>LIBS</envar> variable to
    263       tell the linker (ld) to link against the system installed
    264       <application>zlib</application>.
    265248    </para>
    266249
     
    280263      <command>ln -sfv ../ghostscript-&gs-version;/doc ...</command>: This puts
    281264      a symbolic link to the documentation where it is expected to be found.
     265    </para>
     266
     267    <para>
     268      <option>--disable-cups</option>: this option will save a tiny amount of
     269      space by not linking <command>gs</command> and <filename>libgs.so</filename>
     270      to the <xref linkend="cups"/> libraries if you have installed those.
    282271    </para>
    283272  </sect2>
     
    292281      <seglistitem>
    293282        <seg>
    294           bdftops, dumphint, dvipdf, eps2eps, fixmswrd.pl, font2c, gs, gsbj,
     283          bdftops, dvipdf, eps2eps, fixmswrd.pl, font2c, gs, gsbj,
    295284          gsc (from soinstall), gsdj, gsdj500, gslj, gslp, gsnd, gsx
    296           (from soinstall), lprsetup.sh, pdf2dsc, pdf2ps, pdfopt,
     285          (from soinstall), lprsetup.sh, pdf2dsc, pdf2ps,
    297286          pf2afm, pfbtopfa, printafm, ps2ascii, ps2epsi, ps2pdf, ps2pdf12,
    298287          ps2pdf13, ps2pdf14, ps2pdfwr, ps2ps, ps2ps2, pv.sh, unix-lpr.sh, and
    299288          wftopfa
     289          <!-- I don't see bdftops,fixmswrd.pl or pv.sh on my builds [ I don't
     290          have any bdf tools from xorg ] but they are still referenced in
     291          base/unixinst.mak -->
    300292        </seg>
    301293        <seg>libgs.so</seg>
Note: See TracChangeset for help on using the changeset viewer.