Ignore:
Timestamp:
10/31/2014 11:32:14 AM (9 years ago)
Author:
Fernando de Oliveira <fernando@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, 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:
96d351c
Parents:
8864c307
Message:

Update to LibreOffice-4.3.3.2. Thanks Armin for many suggestions.
Some modifications from branches/krejzi.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xsoft/office/libreoffice.xml

    r8864c307 r7f380f4  
    88
    99  <!ENTITY libreoffice-core-download-http "&libreoffice-dl;/libreoffice-&libreoffice-dlversion;.tar.xz">
    10   <!ENTITY libreoffice-core-md5sum        "86aa9cad125fec16c5cd1d9d964e1d20">
     10  <!ENTITY libreoffice-core-md5sum        "a0c7f05fd2edb91e195adb2f4170d794">
    1111  <!ENTITY libreoffice-core-size          "146 MB">
    1212
    1313  <!ENTITY libreoffice-dict-download-http "&libreoffice-dl;/libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz">
    14   <!ENTITY libreoffice-dict-md5sum        "996ec400156194fe26d24ffbccbc5b7a">
     14  <!ENTITY libreoffice-dict-md5sum        "be29bf16f618b49571a283ca89023d0a">
    1515  <!ENTITY libreoffice-dict-size          "36 MB">
    1616
    1717  <!ENTITY libreoffice-help-download-http "&libreoffice-dl;/libreoffice-help-&libreoffice-dlversion;.tar.xz">
    18   <!ENTITY libreoffice-help-md5sum        "63a59a4c77a72856b47caf1871cfc48f">
     18  <!ENTITY libreoffice-help-md5sum        "be29bf16f618b49571a283ca89023d0a">
    1919  <!ENTITY libreoffice-help-size          "1.8 MB">
    2020
    2121  <!ENTITY libreoffice-translations-download-http "&libreoffice-dl;/libreoffice-translations-&libreoffice-dlversion;.tar.xz">
    22   <!ENTITY libreoffice-translations-md5sum        "0236e56349006fc8fec8e7df749c13b1">
    23   <!ENTITY libreoffice-translations-size          "121 MB">
     22  <!ENTITY libreoffice-translations-md5sum        "5b735fd27b42af83cf83d483a5eb2b04">
     23  <!ENTITY libreoffice-translations-size          "122 MB">
    2424
    2525  <!-- This package has some peculiarities, some discussed in the text.
     
    2828  dependencies (with-system... -->
    2929
    30   <!ENTITY libreoffice-buildsize          "6.6 GB (570 MB installed), with translations">
    31   <!ENTITY libreoffice-time               "61 SBU (using parallelism=4), with translations">
     30  <!ENTITY libreoffice-buildsize          "8.4 GB (547 MB installed), with translations">
     31  <!ENTITY libreoffice-time               "47 SBU (using parallelism=8), with translations">
    3232
    3333  <!-- [bdubbs]  For version 4.3.2.2 Built on x86_64 using -\-with-parallelism=4 -->
     
    152152      <listitem>
    153153        <para>
    154           Required patch for i686 systems, in order to fix a problem inroduced
     154          Required patch for i686 systems, in order to fix a problem introduced
    155155          by <application>&gcc-490;</application>:
    156156          <ulink url="&patch-root;/libreoffice-&libreoffice-dlversion;-gcc_4_9_0-1.patch"/>
     
    292292    <note>
    293293      <para>
    294        Building this package in a graphical environment is recommended.
    295        There have been reports of build failures, when using
    296        <command>chroot</command> or <command>ssh</command>.
     294       Build this package in a graphical environment.
    297295      </para>
    298296    </note>
     
    311309
    312310    <para>
    313       Unpack the dictionaries file and create symlinks to tarballs from the
    314       source directory so they won't get downloaded again.  It is not necessary
    315       to unpack the help nor the translations tarballs:
     311      Create symlinks to tarballs from the source directory so they won't
     312      get downloaded again:
    316313    </para>
    317314
    318315<screen><userinput>install -dm755 external/tarballs &amp;&amp;
    319 
     316<!-- Not necessary for this version
    320317tar -xf ../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz \
    321         --no-overwrite-dir --strip-components=1    &amp;&amp;
    322 <!-- Not necessary for this version
     318        -/-no-overwrite-dir -/-strip-components=1    &amp;&amp;
    323319tar -xf ../libreoffice-help-&libreoffice-dlversion;.tar.xz -\-no-overwrite-dir -\-strip-components=1 &amp;&amp;
    324320-->
     
    351347
    352348    <para>
    353       In the rest of the page, locales "en-US" and "pt-BR" are examples; you
    354       can change them to suit your needs - you might want to read the
    355       "Command Explanations", further below, before proceeding.
    356     </para>
    357 
    358     <para>
    359349      Due to the large size of the package, you may prefer to install it in
    360350      <filename class="directory">/opt</filename>, instead of
     
    368358
    369359    <para>
    370      For i686 systems, fix a problem inroduced by <application>&gcc-490;</application>:
     360     For i686 systems, fix a problem introduced by
     361     <application>&gcc-490;</application>:
    371362    </para>
    372363
    373364<screen><userinput>patch -Np1 -i ../libreoffice-&libreoffice-dlversion;-gcc_4_9_0-1.patch &amp;&amp;</userinput></screen>
     365
     366    <para>
     367      Locales "en-US" and "pt-BR", you will find below, are just examples; you
     368      should change them to suit your needs - you might want to read the
     369      "Command Explanations", further below, before proceeding.
     370    </para>
    374371
    375372    <para>
     
    382379sed -e "/gzip -f/d"   \
    383380    -e "s|.1.gz|.1|g" \
    384     -i bin/distro-install-desktop-integration        &amp;&amp;
     381    -i bin/distro-install-desktop-integration &amp;&amp;
    385382
    386383sed -e "/distro-install-file-lists/d" -i Makefile.in &amp;&amp;
    387384
    388 chmod -v +x bin/unpack-sources                       &amp;&amp;
    389 
    390 sed -e "s/target\.mk/langlist\.mk/"                \
    391     -e "s/tar -xf/tar -x --strip-components=1 -f/" \
    392     -e "/tar -x/s/lo_src_dir/start_dir/"           \
    393     -i bin/unpack-sources                            &amp;&amp;
     385chmod -v +x bin/unpack-sources &amp;&amp;
    394386
    395387./autogen.sh --prefix=$LO_PREFIX         \
     
    398390             --with-lang="en-US pt-BR"   \
    399391             --with-help                 \
     392             --with-myspell-dicts        \
    400393             --with-alloc=system         \
    401394             --without-java              \
     395             --without-system-dicts      \
    402396             --disable-gconf             \
    403397             --disable-odk               \
     
    436430
    437431    <para>
    438       Build the package:
     432      Build the package (remember that it must be done in a graphical
     433      environment):
    439434    </para>
    440435
     
    449444install -v -m644    sysui/desktop/appstream-appdata/*.xml \
    450445                    $LO_PREFIX/share/appdata</userinput></screen>
    451 
    452     <para>
    453        If the dictionaries have been built, again as
    454        <systemitem class="username">root</systemitem> user:
    455     </para>
    456 
    457 <screen role="root"><userinput>chown -cR 0:0 dictionaries/                                                        &amp;&amp;
    458 mkdir -pv $LO_PREFIX/lib/libreoffice/share/extensions/dict-en                      &amp;&amp;
    459 cp -vR dictionaries/en/*    $LO_PREFIX/lib/libreoffice/share/extensions/dict-en    &amp;&amp;
    460 mkdir -pv $LO_PREFIX/lib/libreoffice/share/extensions/dict-pt-BR                   &amp;&amp;
    461 cp -vR dictionaries/pt_BR/* $LO_PREFIX/lib/libreoffice/share/extensions/dict-pt-BR</userinput></screen>
    462446
    463447    <para>
     
    485469    <para>
    486470      <command>sed -e ...</command>: The first sed prevents compression of the
    487       manual pages, the second one prevents install from failing, and
    488       the third one fixes the unpack script.
     471      manual pages and the second one prevents install from failing.
    489472    </para>
    490473
     
    513496    </para>
    514497
    515     <note><para>
    516       For a list of the 117 available languages, you can look at the
    517       translations tarball: <command>tar -tf
    518       ../libreoffice-translations-&libreoffice-dlversion;.tar.xz |
    519       grep translations/source| cut -d/ -f4 | uniq</command>.
    520     </para></note>
     498    <note>
     499      <para>
     500        For a list of the available languages, you can look at the translations
     501        tarball: <command>tar -tf
     502        ../libreoffice-translations-&libreoffice-dlversion;.tar.xz | grep
     503        translations/source| cut -d/ -f4 | uniq</command>.
     504      </para>
     505    </note>
    521506
    522507    <para>
    523508      <parameter>--with-help</parameter>: Without this switch, the help files
    524509      are not built.
     510    </para>
     511
     512    <para>
     513      <parameter>--with-myspell-dicts</parameter>: This switch adds myspell
     514      dictionaries to the <application>LibreOffice</application> installation
     515      set.
    525516    </para>
    526517
     
    532523
    533524    <para>
     525      <parameter>--without-system-dicts</parameter>: This switch disables use
     526      of  dictionaries from system paths, so the ones installed by this package
     527      are used.
     528    </para>
     529
     530    <para>
    534531      <parameter>--without-java</parameter>: This switch disables
    535532      <application>Java</application> support in
     
    550547
    551548    <para>
    552       <parameter>--disable-postgresql-sdbc</parameter>: This switch disables compiling
    553       <application>LibreOffice</application> with the ability to connect to a
    554       <application>PostgreSQL</application> database. Remove it if you would
    555       like <application>LibreOffice</application> to be able to connect to a
    556       <application>PostgreSQL</application> database. If you have installed
    557       <application>PostgreSQL</application> on your system and would like
    558       <application>LibreOffice</application> to use that rather than compile its
    559       own copy, use the <option>--with-system-postgresql</option> switch.
     549      <parameter>--disable-postgresql-sdbc</parameter>: This switch disables
     550      compiling <application>LibreOffice</application> with the ability to
     551      connect to a <application>PostgreSQL</application> database. Remove it if
     552      you would like <application>LibreOffice</application> to be able to
     553      connect to a <application>PostgreSQL</application> database. If you have
     554      installed <application>PostgreSQL</application> on your system and would
     555      like <application>LibreOffice</application> to use that rather than
     556      compile its own copy, use the <option>--with-system-postgresql</option>
     557      switch.
    560558    </para>
    561559 
    562560    <para>
    563561      <parameter>--enable-release-build=yes</parameter>: This switch enables a
    564       Release Build.
    565       <application>LibreOffice</application> can be built as a Release Build or
    566       as a Developer Build, because their default installation paths and user
    567       profile paths are different. Developer Build displays the words "Dev" and
    568       "Beta" in several places (e.g, menu and splash screen).
     562      Release Build.  <application>LibreOffice</application> can be built as a
     563      Release Build or as a Developer Build, because their default installation
     564      paths and user profile paths are different. Developer Build displays the
     565      words "Dev" and "Beta" in several places (e.g, menu and splash screen).
    569566    </para>
    570567
     
    572569      <parameter>--enable-python=system</parameter>: This switch tells
    573570      <application>LibreOffice</application> to use installed
    574       <application>Python 3</application> to build the translations
    575       instead of the bundled one.
     571      <application>Python 3</application> to build the translations instead of
     572      the bundled one.
    576573    </para>
    577574
     
    584581
    585582    <para>
    586       <parameter>--with-parallelism=$(getconf _NPROCESSORS_ONLN)</parameter>: This
    587       switch tells <application>LibreOffice</application> to use all your
     583      <parameter>--with-parallelism=$(getconf _NPROCESSORS_ONLN)</parameter>:
     584      This switch tells <application>LibreOffice</application> to use all your
    588585      CPUs to compile in parallel and speed up the build.
    589586    </para>
     
    595592
    596593    <para>
    597       <option>--disable-dbus</option>: Use this switch if you've not
    598       installed D-Bus-1.8.0 or later. It also disables Bluetooth support and
    599       font install via PackageKit.
    600     </para>
    601 
    602     <para>
    603       <option>--disable-gstreamer-0-10</option>: Use this switch if you've
     594      <option>--disable-dbus</option>: Use this switch if you've not installed
     595      D-Bus-1.8.0 or later. It also disables Bluetooth support and font install
     596      via PackageKit.
     597    </para>
     598
     599    <para>
     600      <option>--disable-gstreamer-0-10</option>: Use this switch if you have
    604601      not installed <xref linkend="gst-plugins-base"/>.
    605602    </para>
    606603
    607604    <para>
    608       <option>--enable-gstreamer</option>: Use this switch if you want to
    609       use <xref linkend="gst10-plugins-base"/> instead of
    610       <xref linkend="gst-plugins-base"/> for the avmedia module.
    611     </para>
    612 
    613     <para>
    614       <option>--enable-kde4</option>: Use this switch if you want to
    615       build the <application>KDE</application> integration module.
     605      <option>--enable-gstreamer</option>: Use this switch if you want to use
     606      <xref linkend="gst10-plugins-base"/> instead of <xref
     607      linkend="gst-plugins-base"/> for the avmedia module.
     608    </para>
     609
     610    <para>
     611      <option>--enable-gtk3</option>: Use this switch if you want to build the
     612      <application>GTK+ 3</application> integration module.
     613    </para>
     614
     615    <para>
     616      <option>--enable-kde4</option>: Use this switch if you want to build the
     617      <application>KDE</application> integration module.
    616618    </para>
    617619
Note: See TracChangeset for help on using the changeset viewer.