Changeset 6d28de3


Ignore:
Timestamp:
04/14/2023 10:47:46 AM (13 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.0, 12.1, kea, ken/TL2024, ken/tuningfonts, lazarus, lxqt, plabs/newcss, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
Children:
95a526a5
Parents:
746cbd8
Message:

evince: Take the advantage of /usr/lib/libkpathsea.so symlink

So we can simply the instruction. Also remove a stale command
explanation referring to "configure script" (we are using meson now).

Simply the explanation for libkpathsea.so symlink in texlive too as we
don't distinguish "old" and "new" evince installations anymore. The
original explanation emphasizing "old" evince installation also does not
make sense to me: we have /etc/ld.so.conf addition which should be
enough for ld.so to find libkpathsea.so.6 when evince is used; and ld.so
only searches for "libkpathsea.so.6" (which is a DT_NEEDED entry in
evince libdvidocument.so), not unversioned libkpathsea.so.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • gnome/applications/evince.xml

    r746cbd8 r6d28de3  
    122122
    123123    <para>
    124       First, make sure that meson can find TeXLive if it is installed.
    125       This has no effect on systems without TeXLive installed.
    126     </para>
    127 
    128 <screen><userinput remap="pre">export CPPFLAGS="-I/opt/texlive/&texlive-year;/include" &amp;&amp;
    129 export LDFLAGS="$LDFLAGS -L/opt/texlive/&texlive-year;/lib"</userinput></screen>
    130 
    131 
    132     <para>
    133124      Install <application>Evince</application> by running the following
    134125      commands:
     
    138129cd    build &amp;&amp;
    139130
     131CPPFLAGS+=" -I/opt/texlive/&texlive-year;/include" \
    140132meson setup --prefix=/usr          \
    141133            --buildtype=release    \
     
    148140cd    build &amp;&amp;
    149141
     142CPPFLAGS+=" -I/opt/texlive/&texlive-year;/include" \
    150143meson setup --prefix=/usr          \
    151144            --buildtype=release    \
     
    187180
    188181    <para>
    189       <parameter>CPPFLAGS="..." LDFLAGS="$LDFLAGS ..."</parameter>: If
    190       <application>TeXLive</application> has been installed in
    191       <filename class="directory">/opt/texlive/&texlive-year;</filename> the
    192       configure script will find
    193       <filename class='libraryfile'>libkpathsea.so</filename> and enable the
    194       DVI backend, but without this addition the compile will fail because it
    195       cannot find the required headers. Adding this to a system where
    196       <application>TeXLive</application> has not been installed does not break
    197       the build.
     182      <parameter>CPPFLAGS+=" -I/opt/texlive/..."</parameter>:
     183      Make sure that meson can find libkpathsea headers from TeXLive if it
     184      is installed. This has no effect on systems without TeXLive installed.
    198185    </para>
    199186
  • pst/typesetting/texlive.xml

    r746cbd8 r6d28de3  
    355355
    356356    <para>
    357       To enable an existing install of <xref linkend="evince"/> to now
    358       link to this new version of
    359       <filename class="libraryfile">libkpathsea.so</filename> and to
    360       allow a new <xref linkend="dvisvgm"/> to link to it, as the
    361       <systemitem class="username">root</systemitem> user (re)create a
    362       symlink from <filename class="directory">/usr/lib</filename>:
     357      To allow <xref linkend="evince"/> or <xref linkend="dvisvgm"/> to
     358      link to <filename class="libraryfile">libkpathsea.so</filename>,
     359      as the &root; user (re)create a symlink from
     360      <filename class="directory">/usr/lib</filename>:
    363361    </para>
    364362
Note: See TracChangeset for help on using the changeset viewer.