Changeset 6b58d592
- Timestamp:
- 02/10/2012 03:10:52 PM (12 years ago)
- 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:
- ef14dbc
- Parents:
- 2dbb7a74
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
general.ent
r2dbb7a74 r6b58d592 945 945 <!ENTITY cups-version "1.5.0"> 946 946 <!ENTITY LPRng-version "3.8.B"> 947 <!ENTITY gs-version "9.0 4">947 <!ENTITY gs-version "9.05"> 948 948 <!ENTITY gutenprint-version "5.2.5"> 949 949 -
introduction/welcome/changelog.xml
r2dbb7a74 r6b58d592 63 63 <para>[ken] - merge startup-notification-0.12 from Wayne.</para> 64 64 </listitem> 65 <listitem> 66 <para>[abenton] - Ghostscript 9.05.</para> 67 </listitem> 65 68 </itemizedlist> 66 69 </listitem> -
pst/printing/gs.xml
r2dbb7a74 r6b58d592 5 5 %general-entities; 6 6 7 <!-- <!ENTITY gs-download-http "&sourceforge-repo;/ghostscript/ghostscript-&gs-version;.tar.bz2"> --> 8 <!-- FIXME use .bz2 or .xz when updating, if they are available --> 9 <!ENTITY gs-download-http "http://downloads.ghostscript.com/public/ghostscript-&gs-version;.tar.bz2"> 10 <!-- no response 2010-12-18 11 <!ENTITY gs-download-ftp "ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs900/ghostscript-&gs-version;.tar.gz"> --> 7 <!ENTITY gs-download-http 8 "http://downloads.ghostscript.com/public/ghostscript-&gs-version;.tar.bz2"> 12 9 <!ENTITY gs-download-ftp " "> 13 <!ENTITY gs-md5sum " 9f6899e821ab6d78ab2c856f10fa3023">14 <!ENTITY gs-size "2 8.5MB">15 <!ENTITY gs-buildsize "2 97MB (includes installing libgs.so and both font tarballs)">10 <!ENTITY gs-md5sum "8bcef1f33ddf8a4d12b2cf8da385c191"> 11 <!ENTITY gs-size "27 MB"> 12 <!ENTITY gs-buildsize "252 MB (includes installing libgs.so and both font tarballs)"> 16 13 <!ENTITY gs-time "2.5 SBU (includes building and installing libgs.so)"> 17 14 18 <!-- <!ENTITY gs-standard-fonts-download "ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/ghostscript-fonts-std-8.11.tar.gz"> -->19 15 <!ENTITY gs-standard-fonts-download "&sourceforge-repo;/gs-fonts/ghostscript-fonts-std-8.11.tar.gz"> 20 16 <!ENTITY gs-standard-fonts-md5sum "6865682b095f8c4500c54b285ff05ef6"> … … 73 69 <bridgehead renderas="sect3">Additional Downloads</bridgehead> 74 70 75 <itemizedlist spacing= 'compact'>71 <itemizedlist spacing="compact"> 76 72 <title>Standard Fonts</title> 77 73 <listitem> … … 86 82 </itemizedlist> 87 83 88 <itemizedlist spacing= 'compact'>84 <itemizedlist spacing="compact"> 89 85 <title>Other Fonts</title> 90 86 <listitem> … … 104 100 <para role="optional"><xref linkend="expat"/>, 105 101 <xref linkend="freetype2"/>, 106 <xref linkend="jasper"/>107 102 <xref linkend="libjpeg"/>, 108 103 <xref linkend="libpng"/>, 109 104 <xref linkend="libtiff"/>, and 110 <xref linkend="lcms "/></para>105 <xref linkend="lcms2"/>.</para> 111 106 112 107 <bridgehead renderas="sect4">Optional</bridgehead> 113 <para role="optional"> 114 <xref linkend="cairo"/>, 108 <para role="optional"><xref linkend="cairo"/>, 115 109 <xref linkend="fontconfig"/>, 116 110 <xref linkend="gtk2"/>, 117 111 <xref linkend="cups"/>, 112 <xref linkend="jasper"/>, 113 <xref linkend="lcms"/>, 118 114 <xref linkend="libidn"/>, 119 <xref linkend="x-window-system"/>, and 120 <!-- the link for ijs source ultimately takes users back to the ghostscript site 121 <ulink url="http://www.linuxprinting.org/ijs/">IJS</ulink>, and --> 122 <ulink url="http://packages.debian.org/unstable/source/libpaper">libpaper</ulink>.</para> 115 <xref linkend="x-window-system"/>, and <ulink 116 url="http://packages.debian.org/unstable/source/libpaper">libpaper</ulink>.</para> 123 117 124 118 <para condition="html" role="usernotes">User Notes: … … 149 143 <para>If you have installed these dependencies on your system, remove the 150 144 copies of <application>expat</application>, 151 <application>freetype</application>, <application>JasPer</application>, 152 <application>lcms</application>, <application>libjpeg</application>, 153 <application>libpng</application>, <application>libtiff</application> 154 and <application>zlib</application>: 145 <application>freetype</application>, <application>lcms2</application>, 146 <application>libjpeg</application>, <application>libpng</application>, 147 and <application>libtiff</application>: 155 148 </para> 156 149 157 <screen><userinput>rm -rf expat freetype jasper lcms jpeg libpng tiff zlib</userinput></screen> 158 159 <para>Run the configure command:</para> 160 161 <screen><userinput>./configure --prefix=/usr --enable-dynamic --with-system-libtiff</userinput></screen> 162 163 <para>To ensure the build is able to use the system versions of 164 <application>expat</application>, <application>freetype</application>, and 165 <application>zlib</application> it is necessary to make some changes and an 166 addition to the <literal>Makefile</literal> before building the package:</para> 167 168 <screen><userinput>sed -i '/^EXTRALIBS/s# -ldl# -lfreetype -lz#;/=imdi/aSHARE_EXPAT=1' Makefile && 150 <screen><userinput>rm -rf expat freetype jpeg lcms2 libpng tiff</userinput></screen> 151 152 <note> 153 <para>If you have a multicore computer and try to run make with multiple 154 jobs (eg, make -j4) then the build may fail due to race conditions in the 155 <application>Ghostscript</application> build system.</para> 156 </note> 157 158 <para>Compile <application>Ghostscript</application>:</para> 159 160 <screen><userinput>rm -rf jasper lcms zlib && 161 ./configure --prefix=/usr --enable-dynamic --with-system-libtiff && 162 sed -i '/^EXTRALIBS/s# -ldl# -lz#' Makefile && 169 163 make</userinput></screen> 170 171 <warning>172 <para>If you have a multiprocessor computer and try to run make with173 multiple jobs (eg, -j4) then the build may fail due to race conditions in174 the <application>Ghostscript</application> build system.</para>175 </warning>176 164 177 165 <note> … … 181 169 182 170 <para>To compile the shared library 183 <filename class= 'libraryfile'>libgs.so</filename>, run the171 <filename class="libraryfile">libgs.so</filename>, run the 184 172 following additional command as an unprivileged user:</para> 185 173 … … 190 178 issuing the following command (issue from an X Windows terminal):</para> 191 179 192 180 <screen><userinput>bin/gs -Ilib -dBATCH examples/tiger.eps</userinput></screen> 193 181 194 182 <para>Now, as the <systemitem class="username">root</systemitem> … … 205 193 <para>Now install the documentation:</para> 206 194 207 <screen role="root"><userinput>cp -rf doc /usr/share/ghostscript/&gs-version; && 208 ln -sv ../ghostscript/&gs-version;/doc /usr/share/doc/ghostscript-&gs-version;</userinput></screen> 195 <screen role="root"><userinput>ln -sfv ../ghostscript/&gs-version;/doc /usr/share/doc/ghostscript-&gs-version;</userinput></screen> 209 196 210 197 <para>To finish the installation, unpack all fonts you've downloaded to … … 217 204 218 205 <screen role="root"><userinput>tar -xvf ../<replaceable><font-tarball></replaceable> -C /usr/share/ghostscript --no-same-owner</userinput></screen> 219 220 206 </sect2> 221 207 … … 223 209 <title>Command Explanations</title> 224 210 225 <!-- works fine on 32 bit systems for me - Andrew Benton 226 <para><command>with-drivers=ALL,x11</command>: This parameter adds the 227 <literal>x11</literal> output device to the default (<literal>ALL</literal>) 228 selection so that the test to render the tiger will work on 32-bit systems 229 (this does no harm on the <literal>x86_64</literal> architecture, although 230 it is not required there).</para> --> 231 232 <!-- The build fails for me with this option with ghostscript-9.04 and 233 zlib-1.2.5 - Andrew Benton 234 <para><command>disable-compile-inits</command>: This parameter is intended 235 to avoid compiling initialization files into the executables. It is used 236 here to simplify building against the system version of 237 <application>zlib</application>.</para> --> 238 239 <para><option>--without-jasper</option>: If you know you do not wish to 240 print any <literal>JPEG2000</literal> files, this switch (and removing the 241 <filename class="directory">jasper</filename> folder in the source) will 242 disable JPEG2000 support in <application>Ghostscript</application>.</para> 211 <para><command>rm -rf jasper lcms zlib</command>: The 212 <application>Ghostscript</application> build system defaults to using its 213 own version of <ulink url="http://www.openjpeg.org/">OpenJpeg</ulink> for 214 JPEG 2000 files <!-- I can't get it to compile using a system installed 215 version of openjpeg. I'll come back to this, it seems the ghostscript 216 version is quite old --> so we can all remove the jasper source. The 217 default color management system is now <application>lcms2</application> so 218 the <application>lcms</application> source is not needed. 219 <application>Zlib</application> was installed as part of LFS.</para> 220 221 <para><option>--with-system-libtiff</option>: Remove this option if you've 222 not installed <xref linkend="libtiff"/>.</para> 223 224 <para><command>sed -i '/^EXTRALIBS/s# -ldl# -lz#' Makefile</command>: 225 This sed is needed to get it to link against the system installed 226 <application>zlib</application>.</para> 243 227 244 228 <para><option>--without-jbig2dec</option>: The <literal>JBIG2</literal> … … 252 236 to the shared library. These commands install the headers.</para> 253 237 254 <para><command>ln -sv ../ghostscript-&gs-version;/doc ...</command>: 238 <para><command>ln -v -s ghostscript /usr/include/ps</command>: Some packages 239 expect to find the interface headers in an alternate location.</para> 240 241 <para><command>ln -sfv ../ghostscript-&gs-version;/doc ...</command>: 255 242 This puts a symbolic link to the documentation where it is expected to be 256 243 found.</para> 257 258 <para><command>ln -v -s ghostscript /usr/include/ps</command>: Some packages259 expect to find the interface headers in an alternate location.</para>260 244 261 245 </sect2> … … 275 259 ps2pdf13, ps2pdf14, ps2pdfwr, ps2ps, ps2ps2, pv.sh, unix-lpr.sh, and 276 260 wftopfa</seg> 277 <seg>libgs.so 261 <seg>libgs.so</seg> 278 262 <seg>/usr/include/ghostscript, /usr/lib/ghostscript, 279 /usr/share/ghostscript, 280 and/usr/share/doc/ghostscript-&gs-version;</seg>263 /usr/share/ghostscript, and 264 /usr/share/doc/ghostscript-&gs-version;</seg> 281 265 </seglistitem> 282 266 </segmentedlist>
Note:
See TracChangeset
for help on using the changeset viewer.