Changeset de109d93
- Timestamp:
- 12/19/2010 12:01:48 AM (13 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:
- b1a1d93e
- Parents:
- d44b66f
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
general.ent
rd44b66f rde109d93 810 810 <!ENTITY cups-version "1.4.4"> 811 811 <!ENTITY LPRng-version "3.8.28"> 812 <!ENTITY gs-version " 8.71">812 <!ENTITY gs-version "9.00"> 813 813 <!ENTITY gutenprint-version "5.2.5"> 814 814 -
introduction/welcome/changelog.xml
rd44b66f rde109d93 52 52 <para>[ken] - Upgraded to freetype-2.4.4 (fixes ticket 53 53 <ulink url="&blfs-ticket-root;3183">#3183</ulink>).</para> 54 </listitem> 55 <listitem> 56 <para>[ken] - Upgraded to ghostscript-9.00 (fixes ticket 57 <ulink url="&blfs-ticket-root;3150">#3150</ulink>). Many thanks to 58 David Jensen and Randy for their assistance.</para> 54 59 </listitem> 55 60 </itemizedlist> -
pst/printing/gs.xml
rd44b66f rde109d93 7 7 <!-- <!ENTITY gs-download-http "&sourceforge-repo;/ghostscript/ghostscript-&gs-version;.tar.bz2"> --> 8 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)"> 9 <!-- no response 2010-12-18 10 <!ENTITY gs-download-ftp "ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs900/ghostscript-&gs-version;.tar.gz"> --> 11 <!ENTITY gs-download-ftp " "> 12 <!ENTITY gs-md5sum "177c33b796ed28d3d568e230a6dbdba5"> 13 <!ENTITY gs-size "22.3 MB"> 14 <!ENTITY gs-buildsize "170 MB (includes installing libgs.so and both font tarballs)"> 15 <!ENTITY gs-time "2.7 SBU (includes building and installing libgs.so)"> 14 16 15 17 <!-- <!ENTITY gs-standard-fonts-download "ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/ghostscript-fonts-std-8.11.tar.gz"> --> … … 44 46 targets.</para> 45 47 46 &lfs6 5_checked;48 &lfs67_checked; 47 49 48 50 <bridgehead renderas="sect3">Package Information</bridgehead> … … 99 101 <title>Patches</title> 100 102 <listitem> 101 <para>Optional patch: <ulink 103 <para>Required patch: <ulink 104 url="&patch-root;/ghostscript-&gs-version;-security_fixes-1.patch"/> 105 </para> 106 </listitem> 107 <listitem> 108 <para>Recommended patch (unless you build without JPEG2000 support) : <ulink 102 109 url="&patch-root;/ghostscript-&gs-version;-system_jasper-1.patch"/> 103 110 </para> … … 107 114 <bridgehead renderas="sect3">Ghostscript Dependencies</bridgehead> 108 115 116 <bridgehead renderas="sect4">Recommended</bridgehead> 117 <para role="optional"><xref linkend="expat"/>, 118 <xref linkend="freetype2"/>, 119 <xref linkend="jasper"/> 120 <xref linkend="libjpeg"/>, 121 <xref linkend="libpng"/>, 122 <xref linkend="libtiff"/>, and 123 <xref linkend="lcms"/></para> 124 109 125 <bridgehead renderas="sect4">Optional</bridgehead> 110 <para role="optional"><xref linkend="libjpeg"/>, 111 <xref linkend="libpng"/>, 112 <xref linkend="libtiff"/>, 113 <xref linkend="jasper"/>, 126 <para role="optional"> 114 127 <xref linkend="cairo"/>, 115 128 <xref linkend="fontconfig"/>, 116 129 <xref linkend="gtk2"/>, 117 130 <xref linkend="cups"/>, 118 <xref linkend="x-window-system"/>, 119 <ulink url="http://www.linuxprinting.org/ijs/">IJS</ulink>, and 131 <xref linkend="x-window-system"/>, and 132 <!-- the link for ijs source ultimately takes users back to the ghostscript site 133 <ulink url="http://www.linuxprinting.org/ijs/">IJS</ulink>, and --> 120 134 <ulink url="http://packages.debian.org/unstable/source/libpaper">libpaper</ulink></para> 121 135 … … 128 142 <title>Installation of Ghostscript</title> 129 143 130 <note> 144 <para>Install <application>GPL Ghostscript</application> by running the 145 following commands:</para> 146 147 <note> 131 148 <para>The <application>Ghostscript</application> build system is not 132 149 user-friendly. In order to use system copies of various graphics 133 150 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> 138 139 <screen><userinput>rm -rf jasper && 140 patch -Np1 -i ../ghostscript-&gs-version;-system_jasper-1.patch</userinput></screen> 141 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 && 147 rm -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 164 <para>Install <application>GPL Ghostscript</application> by running the 165 following commands:</para> 166 167 <screen><userinput>./configure --prefix=/usr --enable-dynamic --with-drivers=ALL,x11 && 151 </note> 152 153 <para>Begin by patching some vulnerabilities:</para> 154 155 <screen><userinput>patch -Np1 -i ../ghostscript-&gs-version;-security_fixes-1.patch 156 </userinput></screen> 157 158 <para><application>GPL Ghostscript</application> includes (old) copies of 159 several libraries. Some of these seem to have been patched to fix known 160 vulnerabilities, but others of these copies are less-well maintained. 161 To ensure that any future fixes are applied throughout the whole system, 162 it is recommended that you build the released versions of these libraries 163 and then configure <application>GPL Ghostscript</application> to link to 164 them. This configuration has several steps.</para> 165 166 <para>Unless you intend to build <application>GPL Ghostscript</application> 167 without support for <literal>JPEG2000</literal> files, apply a patch to 168 allow it to build against a current system-installed version of 169 <application>JasPer</application>:</para> 170 171 <screen><userinput>patch -Np1 -i ../ghostscript-&gs-version;-system_jasper-1.patch 172 </userinput></screen> 173 174 <para>Remove the local copies of <application>expat</application>, 175 <application>JasPer</application>, <application>lcms</application>, 176 <application>libjpeg</application>, <application>libpng</application>, 177 <application>libtiff</application>, and <application>zlib</application>: 178 </para> 179 180 <screen><userinput>rm -rf expat jasper lcms jpeg libpng tiff zlib 181 </userinput></screen> 182 183 <para>Run the configure command:</para> 184 185 <screen><userinput>./configure --prefix=/usr --enable-dynamic --with-drivers=ALL,x11 --with-system-libtiff --disable-compile-inits</userinput></screen> 186 187 <para>To ensure the build is able to use the system versions of 188 <application>expat</application>, <application>freetype</application>, and 189 <application>lcms</application> it is necessary to make some changes and an 190 addition to the <literal>Makefile</literal> before building the package:</para> 191 192 <screen><userinput>sed -i -e 's|SHARE_LCMS=0|SHARE_LCMS=1|' \ 193 -e 's|LCMSSRCDIR=lcms|LCMSSRCDIR=/usr|' \ 194 -e 's|=imdi|&\n\n# Use system expat library\n\nSHARE_EXPAT=1|' \ 195 -e 's|SHARE_FT=0|SHARE_FT=1|' Makefile && 168 196 make</userinput></screen> 169 197 … … 176 204 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 177 205 178 <screen role="root"><userinput>make install docdir=/usr/share/doc/ghostscript-&gs-version; && 179 206 <!-- for 9.00 docdir is only referenced by GS_DOCDIR which is itself not referenced 207 so the docs still go into /usr/share/ghostscript/9.00/ 208 <screen role="root"><userinput>make install docdir=/usr/share/doc/ghostscript-&gs-version; &&--> 209 <screen role="root"><userinput>make install && 180 210 for INSTFILE in `ls doc` 181 211 do 182 if [ ! -f /usr/share/doc/ghostscript-&gs-version;/$INSTFILE ]; then 212 <!--if [ ! -f /usr/share/doc/ghostscript-&gs-version;/$INSTFILE ]; then --> 213 if [ ! -f /usr/share/ghostscript/&gs-version;/doc/$INSTFILE ]; then 183 214 install -v -m644 doc/$INSTFILE \ 184 /usr/share/doc/ghostscript-&gs-version; 215 /usr/share/ghostscript/&gs-version;/doc 216 <!--/usr/share/doc/ghostscript-&gs-version;--> 185 217 fi 186 218 done && 187 219 188 install -v -m755 -d /usr/share/doc/ghostscript-&gs-version;/figures && 220 <!--install -v -m755 -d /usr/share/doc/ghostscript-&gs-version;/figures &&--> 221 install -v -m755 -d /usr/share/ghostscript/&gs-version;/doc/figures && 189 222 install -v -m644 doc/figures/* \ 190 /usr/share/doc/ghostscript-&gs-version;/figures</userinput></screen> 223 /usr/share/ghostscript/&gs-version;/doc/figures && 224 <!--/usr/share/doc/ghostscript-&gs-version;/figures--> 225 ln -sv ../ghostscript/&gs-version;/doc /usr/share/doc/ghostscript-&gs-version; 226 </userinput></screen> 191 227 192 228 <para>To install the shared library … … 230 266 (this does no harm on the <literal>x86_64</literal> architecture, although 231 267 it is not required there).</para> 268 <para><command>--disable-compile-inits</command>: This parameter is intended 269 to avoid compiling initialization files into the executables. It is used here 270 to simplify building agaisnt the system version of 271 <application>zlib</application>.</para> 272 <para><option>--without-jasper</option>: If you know you do not wish to print 273 any <literal>JPEG2000</literal> files, this switch (and removing the 274 <filename class="directory">jasper/</filename> source) will achieve this.</para> 275 <para><option>--without-jbig2dec</option>: The <literal>JBIG2</literal> 276 decompression code (used for some faxes) can be disabled by using this switch 277 and removing the <filename class="directory">jbig2dec/</filename> source.</para> 232 278 <para><command>install ...</command>: Some packages 233 279 (<application>ImageMagick</application> is one) need the … … 235 281 to the shared library. These commands install the headers.</para> 236 282 237 < !-- <para><command>ln -sv ... /usr/share/doc/ghostscript-&gs-version;</command>: This puts238 the documentation where it is expected to be found.</para> -->283 <para><command>ln -sv ... /usr/share/doc/ghostscript-&gs-version;</command>: This puts 284 the documentation where it is expected to be found.</para> 239 285 240 286 <para><command>ln -v -s ghostscript /usr/include/ps</command>: Some … … 253 299 <seglistitem> 254 300 <seg>bdftops, dumphint, dvipdf, eps2eps, fixmswrd.pl, font2c, gs, gsbj, 255 gsdj, gsdj500, gslj, gslp, gsnd, lprsetup.sh, pdf2dsc, pdf2ps, pdfopt, 301 gsc (from soinstall), gsdj, gsdj500, gslj, gslp, gsnd, gsx (from soinstall), 302 lprsetup.sh, pdf2dsc, pdf2ps, pdfopt, 256 303 pf2afm, pfbtopfa, printafm, ps2ascii, ps2epsi, ps2pdf, ps2pdf12, 257 304 ps2pdf13, ps2pdf14, ps2pdfwr, ps2ps, ps2ps2, pv.sh, unix-lpr.sh, and … … 259 306 <seg>libgs.so </seg> 260 307 <seg>/usr/include/ghostscript, /usr/lib/ghostscript, /usr/share/ghostscript, 308 <!--and /usr/share/doc/ghostscript</seg>--> 261 309 and /usr/share/doc/ghostscript-&gs-version;</seg> 262 310 </seglistitem>
Note:
See TracChangeset
for help on using the changeset viewer.