Ignore:
Timestamp:
09/30/2022 08:32:53 AM (19 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
Children:
f3a27771
Parents:
fb3a93b3
Message:

Fix building dvisvgm with ghostscript-10.0.0

In this version of ghostscript, some private symbols have been
hidden. One of the private symbols is gs_error_names, which is used
by dvisvgm. Fortunately, dvisvgm, has already the infrastructure
for this case, since private symbols are always hidden in Windows.
Upstream has a patch:
https://github.com/mgieseki/dvisvgm/commit/9bf81fd0
which can be reduced to a sed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pst/typesetting/dvisvgm.xml

    rfb3a93b3 rf51350a6  
    7979       modified version and cannot be built with system clipper -->
    8080      <xref linkend="brotli"/>,
    81       <xref linkend="gs"/> and
     81      <xref linkend="gs"/>, and
    8282      <xref linkend="potrace"/>
    8383    </para>
     
    125125
    126126    <para>
     127      Fix an issue introduced by ghostscript-10.0.0:
     128    </para>
     129
     130<screen><userinput>sed "s/gs_error_names\[/error_names[/" -i src/Ghostscript.cpp</userinput></screen>
     131
     132    <para>
    127133      The testsuite assumes that a modern version of <application>Python</application>
    128134      has been installed as plain <command>python</command>. Changing this to use
     
    179185      in explaining how to regenerate it. ken -->
    180186    <para>
    181       <command>--with-kpathsea=$TEXLIVE_PREFIX</command>: This allows
     187      <parameter>--with-kpathsea=$TEXLIVE_PREFIX</parameter>: This allows
    182188      the build system to find the headers for <filename
    183189      class="libraryfile">kpathsea</filename>
Note: See TracChangeset for help on using the changeset viewer.