Changeset 10cbf37 for xsoft


Ignore:
Timestamp:
11/27/2018 01:34:56 AM (5 years ago)
Author:
Ken Moffat <ken@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.4, 9.0, 9.1, bdubbs/svn, elogind, 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, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
8ccc682
Parents:
c45eca2
Message:

Fix build breakage with poppler-0.70.0 and 0.71.0.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@20751 af4574ff-66df-0310-9fd7-8a98e5e911e0

Location:
xsoft
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • xsoft/office/libreoffice.xml

    rc45eca2 r10cbf37  
    147147
    148148
    149 <!-- keep one commented patch, it's sure to again need one or more in a few months
    150       <listitem>
    151         <para>
    152           Required patch to fix building with system <xref linkend="icu"/>:
    153           <ulink url="&patch-root;/libreoffice-&libreoffice-dlversion;-icu_58-1.patch"/>
    154         </para>
    155       </listitem>
    156 -->
     149<!-- keep one commented patch, it's sure to again need one or more in a few months -->
     150      <listitem>
     151        <para>
     152          Required patch to fix building with system <xref linkend="poppler"/> (all
     153          recent versions):
     154          <ulink url="&patch-root;/libreoffice-&libreoffice-dlversion;-poppler70-1.patch"/>
     155        </para>
     156      </listitem>
     157
     158      <listitem>
     159        <para>
     160          Required patch to fix building with system <xref linkend="poppler"/>
     161          (only if using that version or a later version):
     162          <ulink url="&patch-root;/libreoffice-&libreoffice-dlversion;-poppler71-1.patch"/>
     163        </para>
     164      </listitem>
     165
    157166    </itemizedlist>
    158167    <bridgehead renderas="sect3">LibreOffice Dependencies</bridgehead>
     
    329338
    330339<screen><userinput>export LO_PREFIX=<replaceable>&lt;PREFIX&gt;</replaceable></userinput></screen>
    331 <!--
    332     <para>
    333      Fix build failures introduced by <xref linkend="icu"/>:
    334     </para>
    335 
    336 <screen><userinput>patch -Np1 -i ../libreoffice-&libreoffice-dlversion;-icu_58-1.patch</userinput></screen>
    337 -->
     340<!-- keep a commented instruction if no patches are currently required -->
     341    <para> <!-- for all recent versions -->
     342     Fix build failures introduced by recent versions of <xref linkend="poppler"/>:
     343    </para>
     344
     345<screen><userinput>patch -Np1 -i ../libreoffice-&libreoffice-dlversion;-poppler70-1.patch</userinput></screen>
     346
     347    <para> <!-- for 0.71.0, not tested on earlier versions -->
     348     Similarly, fix build failures introduced with <xref linkend="poppler"/>:
     349    </para>
     350
     351<screen><userinput>patch -Np1 -i ../libreoffice-&libreoffice-dlversion;-poppler71-1.patch</userinput></screen>
     352
    338353    <para>
    339354      Locales "fr" and "en-GB", you will find below, are just examples; you
  • xsoft/other/inkscape.xml

    rc45eca2 r10cbf37  
    7777      </listitem>
    7878      <listitem>
    79         <para>Required patch: <ulink url="&patch-root;/inkscape-&inkscape-version;-poppler65-1.patch"/></para>
     79        <para>Required patch: <ulink url="&patch-root;/inkscape-&inkscape-version;-upstream_poppler_fixes-1.patch"/></para>
    8080      </listitem>
    8181    </itemizedlist>
     
    146146
    147147    <para>Ensure that the libraries from <xref linkend="imagemagick6"/> can be used,
    148     and fix the build for the changes in <literal>poppler-0.65.0</literal>:</para>
     148    and fix the build for the changes in some recent versions of
     149    <application>poppler</application>:</para>
    149150
    150151<screen><userinput>patch -Np1 -i ../inkscape-&inkscape-version;-use_versioned_ImageMagick6-1.patch &amp;&amp;
    151 patch -Np1 -i ../inkscape-&inkscape-version;-poppler65-1.patch
     152patch -Np1 -i ../inkscape-&inkscape-version;-upstream_poppler_fixes-1.patch
    152153</userinput></screen>
    153154
    154155    <para>
    155       Fix a build issue with <application>GCC-7.1</application>:
    156     </para>
    157 
    158 <screen><userinput>sed -i 's| abs(| std::fabs(|g' src/ui/tools/flood-tool.cpp</userinput></screen>
     156      Fix build issues with <application>GCC-7.1</application> and
     157       <application>poppler-0.71.0</application>:
     158    </para>
     159
     160<screen><userinput>sed -i 's| abs(| std::fabs(|g' src/ui/tools/flood-tool.cpp &amp;&amp;
     161sed -e 's|gTrue|true|g' -e 's|gFalse|false|g' -e 's|GBool|bool|g' \
     162 -i src/extension/internal/pdfinput/pdf-parser.*</userinput></screen>
    159163
    160164<!-- If there is no test suite, then this is not needed.
Note: See TracChangeset for help on using the changeset viewer.