Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pst/printing/gs.xml

    r3f2db3a6 re52c70d  
    55  %general-entities;
    66
    7   <!--  When updating, ensure gs-packver is updated in packages.ent -->
     7  <!--  When updating, ensure gs9xx is updated in url -->
    88
    99  <!ENTITY gs-download-http
    10   "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs&gs-packver;/ghostscript-&gs-dl-version;.tar.xz">
     10  "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs&gs-packver;/ghostscript-&gs-version;.tar.xz">
    1111  <!ENTITY gs-download-ftp  " ">
    12   <!ENTITY gs-md5sum        "c75560fdd05dc1f1daa33415156d5a20">
    13   <!ENTITY gs-size          "60 MB">
    14   <!ENTITY gs-buildsize     "377 MB (with fonts and libgs.so)">
    15   <!ENTITY gs-time          "1.9 SBU (Using parallelism=4; with libgs.so)">
     12  <!ENTITY gs-md5sum        "92aa46e75c4f32eb11d9c975053d876c">
     13  <!ENTITY gs-size          "64 MB">
     14  <!ENTITY gs-buildsize     "360 MB (with fonts and libgs.so)">
     15  <!ENTITY gs-time          "2.5 SBU (Using parallelism=4; with libgs.so)">
    1616
    1717  <!ENTITY gs-standard-fonts-download
     
    2929  <?dbhtml filename="gs.html"?>
    3030
     31  <sect1info>
     32    <date>$Date$</date>
     33  </sect1info>
    3134
    3235  <title>ghostscript-&gs-version;</title>
     
    4548    </para>
    4649
    47     &lfs112_checked;
     50    &lfs110a_checked;
    4851
    4952    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    8588         out all the additional downloads (including font files)
    8689         Commenting this out since it's no longer needed, but keeping it for the
    87          inevitable next time that we need a patch for this package.-->
    88 <!--
     90         inevitable next time that we need a patch for this package.
    8991    <itemizedlist spacing="compact">
    9092      <listitem>
    9193        <para>
    9294          Required patch:
    93           <ulink url="&patch-root;/ghostscript-&gs-version;-upstream_fix-1.patch"/>
     95          <ulink url="&patch-root;/ghostscript-&gs-version;-upstream_fix-2.patch"/>
    9496        </para>
    9597      </listitem>
    9698    </itemizedlist>
    97 -->
     99    -->
     100
    98101    <para>
    99102      If you wish, you can download additional fonts.
     
    202205<!--
    203206    <para>
    204       Apply an upstream fix to prevent a build problem.
    205     </para>
    206 
    207 <screen><userinput remap="pre">patch -Np1 -i ../ghostscript-&gs-version;-upstream_fix-1.patch</userinput></screen>
     207      Apply a patch to prevent a segfault when processing some PDF files and
     208      to fix a public 0-day in libgs which can be exploited via ImageMagick:
     209    </para>
     210
     211<screen><userinput remap="pre">patch -Np1 -i ../ghostscript-&gs-version;-upstream_fix-2.patch</userinput></screen>
    208212-->
     213
     214    <para>
     215      Fix a build failure due to a typo in a source file:
     216    </para>
     217
     218<screen><userinput remap="pre">sed -i 's/gscms_transformm_color_const/gscms_transform_color_const/' base/gsicc_lcms2.c</userinput></screen>
     219
    209220    <para>
    210221      Compile <application>Ghostscript</application>:
     
    215226./configure --prefix=/usr           \
    216227            --disable-compile-inits \
     228            --enable-dynamic        \
    217229            --with-system-libtiff   &amp;&amp;
    218230make</userinput></screen>
     
    222234        The shared library depends on <xref linkend="gtk3"/>. It is only used by
    223235        external programs like <xref linkend="asymptote"/>, <xref
    224         linkend="dvisvgm"/>, and <xref linkend="imagemagick"/>.
     236        linkend="dvisvgm"/>, <xref linkend="imagemagick"/>, and <xref
     237        linkend="texlive"/>.
    225238      </para>
    226239    </note>
     
    346359          base/unixinst.mak -->
    347360        </seg>
    348                 <seg>libgs.so</seg>
     361        <seg>libgs.so and
     362             /usr/lib/ghostscript/&gs-version;/X11.so</seg>
    349363        <seg>
    350364          /usr/include/ghostscript,
     365          /usr/lib/ghostscript,
    351366          /usr/share/ghostscript, and
    352367          /usr/share/doc/ghostscript-&gs-version;
Note: See TracChangeset for help on using the changeset viewer.