Changeset ed2cf3c for xsoft


Ignore:
Timestamp:
08/16/2013 06:31:45 PM (11 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.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
056cbec
Parents:
e1b2c0e
Message:

LibreOffice: fixes to build dictionaries, help and languages support

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xsoft/office/libreoffice.xml

    re1b2c0e red2cf3c  
    244244
    245245    <para>
    246       Unpack the dictionaries and help files and create symlinks to tarballs from the source
    247       directory so they won't get downloaded again:
     246      Unpack the dictionaries file and create symlinks to tarballs from the
     247      source directory so they won't get downloaded again (it is not necessary
     248      to unpack the help nor the translations tarballs):
    248249    </para>
    249250
     
    251252
    252253tar -xf ../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz --no-overwrite-dir --strip-components=1 &amp;&amp;
    253 tar -xf ../libreoffice-help-&libreoffice-dlversion;.tar.xz --no-overwrite-dir --strip-components=1 &amp;&amp;
    254 
     254<!-- Not necessary for this version
     255tar -xf ../libreoffice-help-&libreoffice-dlversion;.tar.xz -\-no-overwrite-dir -\-strip-components=1 &amp;&amp;
     256-->
    255257ln -sv ../../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz src/ &amp;&amp;
    256258ln -sv ../../libreoffice-help-&libreoffice-dlversion;.tar.xz src/</userinput></screen>
    257259
     260<!-- Not necessary for this version
    258261    <para>
    259262      If you have downloaded the translations tarball, unpack it:
    260263    </para>
    261264
    262 <screen><userinput>tar -xf ../libreoffice-translations-&libreoffice-dlversion;.tar.xz --no-overwrite-dir --strip-components=1 &amp;&amp;
     265<screen><userinput>tar -xf ../libreoffice-translations-&libreoffice-dlversion;.tar.xz -\-no-overwrite-dir -\-strip-components=1 &amp;&amp;
    263266ln -sv ../../libreoffice-translations-&libreoffice-dlversion;.tar.xz src/</userinput></screen>
     267-->
     268    <para>
     269      If you have downloaded the translations tarball, create a symlink:
     270    </para>
     271
     272<screen><userinput>ln -sv ../../libreoffice-translations-&libreoffice-dlversion;.tar.xz src/</userinput></screen>
    264273
    265274    <note>
     
    273282
    274283    <para>
    275       Prepare <application>LibreOffice</application> for compilation by
    276       running the following commands:
     284      In the rest of the page, locales "en-US" and "pt-BR" are examples; the
     285      user will change them to suit his needs - you might want to read the
     286      "Command Explanations", further below, before proceeding. Prepare
     287      <application>LibreOffice</application> for compilation by running the
     288      following commands:
    277289    </para>
    278290
     
    281293    -i bin/distro-install-desktop-integration &amp;&amp;
    282294sed -e "/distro-install-file-lists/d" -i Makefile.in &amp;&amp;
     295
     296chmod +x bin/unpack-sources &amp;&amp;
     297sed -e "s/target\.mk/langlist\.mk/"                \
     298    -e "s/tar -xf/tar -x --strip-components=1 -f/" \
     299    -e "/tar -x/s/lo_src_dir/start_dir/"           \
     300    -i bin/unpack-sources &amp;&amp;
     301
    283302patch -Np1 -i ../libreoffice-&libreoffice-dlversion;-system_poppler-1.patch &amp;&amp;
    284303./autogen.sh --prefix=/usr              \
    285304             --sysconfdir=/etc          \
    286305             --with-vendor="BLFS"       \
    287              --with-lang=""             \
     306             --with-lang="en-US pt-BR"  \
     307             --with-help                \
    288308             --with-alloc=system        \
    289309             --without-java             \
     
    331351<screen role="root"><userinput>make distro-pack-install</userinput></screen>
    332352
     353    <para>
     354       If the dictionaries have been built, again as
     355       <systemitem class="username">root</systemitem> user:
     356    </para>
     357
     358<screen role="root"><userinput>chown -cR 0:0 dictionaries/                                               &amp;&amp;
     359mkdir -pv /usr/lib/libreoffice/share/extensions/dict-en                   &amp;&amp;
     360cp -vR dictionaries/en/* /usr/lib/libreoffice/share/extensions/dict-en    &amp;&amp;
     361mkdir -pv /usr/lib/libreoffice/share/extensions/dict-pt-BR                &amp;&amp;
     362cp -vR dictionaries/en/* /usr/lib/libreoffice/share/extensions/dict-pt-BR</userinput></screen>
     363
    333364  </sect2>
    334365
     
    338369    <para>
    339370      <command>sed -e ...</command>: First sed prevents compression of the
    340       manual pages and the second one prevents a script that causes
    341       install to fail from running.
    342     </para>
    343 
    344     <para>
    345       <parameter>--with-vendor=BLFS</parameter>: This switchs sets BLFS as
     371      manual pages, the second one prevents a script that causes install to
     372      fail from running and the third one fixes the unpack script.
     373    </para>
     374
     375    <para>
     376      <command>chmod +x ...</command>: Fix the unpack script's permissions.
     377    </para>
     378
     379    <para>
     380      <parameter>--with-vendor=BLFS</parameter>: This switch sets BLFS as
    346381      the vendor which is mentioned when you click "About" on the toolbar.
    347382    </para>
     
    352387      languages, separate them with a space. For all languages, use
    353388      <parameter>--with-lang=ALL</parameter>
     389    </para>
     390
     391    <para>
     392      <parameter>--with-help</parameter>: Without this switch, the help files
     393      are not built.
    354394    </para>
    355395
Note: See TracChangeset for help on using the changeset viewer.