Changeset 06c23e6


Ignore:
Timestamp:
01/04/2023 08:10:58 PM (16 months ago)
Author:
Ken Moffat <ken@…>
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:
6ad6bac
Parents:
811d39b
Message:

Fix building libreoffice with system boost.

Apply a sed to boost (or if already built, the installed
header can be edited).

Apply a patch to libreoffice for a different change.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/boost.xml

    r811d39b r06c23e6  
    102102  <sect2 role="installation">
    103103    <title>Installation of Boost</title>
     104
     105    <para>
     106      A change in this version of <application>boost</application> breaks
     107      the few packages which use the <application>phoenix</application>
     108      module when compiled with current <application>GCC</application>. In BLFS,
     109      that affects <xref linkend="libreoffice"/>. Fix this with the following
     110      command:
     111    </para>
     112
     113<screen><userinput>sed -i '/#include.*phoenix.*tuple.hpp.*/d' \
     114  boost/phoenix/stl.hpp</userinput></screen>
    104115
    105116    <para>
     
    157168  <sect2 role="commands">
    158169    <title>Command Explanations</title>
     170
     171    <para>
     172      <parameter>sed -i '/#include ...</parameter>: This removes the inclusion
     173      of <filename>boost/phoenix/stl/tuple.hpp</filename> from this header-only
     174      library, allowing applications which use it to link using recent C++.
     175      <!-- FIXME: remove before 11.3 is we still use 1.81.0 and LO-7.4,
     176      this alternative is only for people working through the development book.-->
     177      An alternative is to edit
     178      <filename>/usr/include/boost/phoenix/stl.hpp</filename> if this version of
     179      boost has already been installed without this <command>sed</command>.
     180    </para>
    159181
    160182    <para>
  • introduction/welcome/changelog.xml

    r811d39b r06c23e6  
    4040    -->
    4141    <listitem>
     42      <para>January 4th, 2023</para>
     43      <itemizedlist>
     44        <listitem>
     45          <para>[ken] - Fix a header in boost-1.81.0 and patch libreoffice to
     46          accomodate another change in this version of boost, so that system
     47          boost can again be used. Fixes
     48          <ulink url="&blfs-ticket-root;17461">#17461</ulink>.</para>
     49        </listitem>
     50      </itemizedlist>
     51    </listitem>
     52
     53    <listitem>
    4254      <para>January 3rd, 2023</para>
    4355      <itemizedlist>
  • xsoft/office/libreoffice.xml

    r811d39b r06c23e6  
    179179      </listitem>
    180180
     181      <listitem>
     182        <para>
     183          Required patch to fix building with fixed version of <xref
     184          linkend="boost"/>:
     185          <ulink url="&patch-root;/libreoffice-&libreoffice-dlversion;-boost1810-1.patch"/>
     186        </para>
     187      </listitem>
     188
    181189<!-- keep one commented patch, it's sure to again need one or more in a few months:-->
    182190
     
    214222      <xref linkend="apache-ant"/>,
    215223<!--  <xref linkend="apr"/>, -->
    216       <xref linkend="boost"/> (broken with boost-1.81.0),
     224      <xref linkend="boost"/>,
    217225      <xref linkend="clucene"/>,
    218226      <xref linkend="cups"/>,
     
    354362-->
    355363    <para>
     364     First, fix a build failure introduced by the latest boost version:
     365    </para>
     366
     367<screen><userinput>patch -Np1 -i ../libreoffice-&libreoffice-dlversion;-boost1810-1.patch</userinput></screen>
     368
     369    <para>
    356370      If you have downloaded the dictionaries, help and translations tarballs,
    357371      create symlinks to them from the source directory so they won't get
     
    454468             --enable-python=system      \
    455469             --with-jdk-home=/opt/jdk    \
    456              --without-system-boost      \
     470             --with-system-boost         \
    457471             --with-system-clucene       \
    458472             --with-system-curl          \
Note: See TracChangeset for help on using the changeset viewer.