Changeset 0c77b5ab


Ignore:
Timestamp:
02/27/2014 12:19:13 PM (10 years ago)
Author:
Igor Živković <igor@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 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:
2a00b77
Parents:
8ca5c82
Message:

Set an environment variable for libreoffice installation prefix.

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r8ca5c82 r0c77b5ab  
    11<!-- $LastChangedBy$ $Date$ -->
    22
    3 <!ENTITY day          "26">                   <!-- Always 2 digits -->
     3<!ENTITY day          "27">                   <!-- Always 2 digits -->
    44<!ENTITY month        "02">                   <!-- Always 2 digits -->
    55<!ENTITY year         "2014">
     
    77<!ENTITY copyholder   "The BLFS Development Team">
    88<!ENTITY version      "&year;-&month;-&day;">
    9 <!ENTITY releasedate  "February 26th, &year;">
     9<!ENTITY releasedate  "February 27th, &year;">
    1010<!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
    1111<!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
  • introduction/welcome/changelog.xml

    r8ca5c82 r0c77b5ab  
    4646
    4747    <listitem>
     48      <para>February 27th, 2014</para>
     49      <itemizedlist>
     50        <listitem>
     51          <para>[igor] - Set an environment variable for libreoffice installation
     52          prefix.  Fixes <ulink url="&blfs-ticket-root;4725">#4725</ulink>.</para>
     53        </listitem>
     54      </itemizedlist>
     55    </listitem>
     56
     57    <listitem>
    4858      <para>February 26th, 2014</para>
    4959      <itemizedlist>
  • xsoft/office/libreoffice.xml

    r8ca5c82 r0c77b5ab  
    293293
    294294    <para>
    295       In the rest of the page, locales "en-US" and "pt-BR" are examples; the
    296       user will change them to suit his needs - you might want to read the
    297       "Command Explanations", further below, before proceeding. Due to the
    298       large size of the package, the user may prefer to install in
     295      In the rest of the page, locales "en-US" and "pt-BR" are examples; you
     296      can change them to suit your needs - you might want to read the
     297      "Command Explanations", further below, before proceeding.
     298    </para>
     299   
     300    <para>
     301      Due to the large size of the package, you may prefer to install it in
    299302      <filename class="directory">/opt</filename>, instead of
    300303      <filename class="directory">/usr</filename>. Depending on your choice,
    301304      replace <replaceable>&lt;PREFIX&gt;</replaceable> by
    302305      <filename class="directory">/usr</filename> or by
    303       <filename class="directory">/opt/libreoffice-&libreoffice-dlversion;</filename>
    304       in the rest of the page. Prepare <application>LibreOffice</application>
    305       for compilation by running the following commands:
     306      <filename class="directory">/opt/libreoffice-&libreoffice-dlversion;</filename>:
     307    </para>
     308
     309<screen><userinput>export LO_PREFIX=<replaceable>&lt;PREFIX&gt;</replaceable></userinput></screen>
     310   
     311    <para>
     312      Prepare <application>LibreOffice</application> for compilation by running
     313      the following commands:
    306314    </para>
    307315
     
    317325    -i bin/unpack-sources                          &amp;&amp;
    318326
    319 ./autogen.sh --prefix=<replaceable>&lt;PREFIX&gt;</replaceable>           \
     327./autogen.sh --prefix=$LO_PREFIX         \
    320328             --sysconfdir=/etc           \
    321329             --with-vendor="BLFS"        \
     
    370378
    371379<screen role="root"><userinput>make distro-pack-install                                  &amp;&amp;
    372 install -v -m755 -d <replaceable>&lt;PREFIX&gt;</replaceable>/share/appdata                &amp;&amp;
     380install -v -m755 -d $LO_PREFIX/share/appdata                &amp;&amp;
    373381install -v -m644    sysui/desktop/appstream-appdata/*.xml \
    374                     <replaceable>&lt;PREFIX&gt;</replaceable>/share/appdata</userinput></screen>
     382                    $LO_PREFIX/share/appdata</userinput></screen>
    375383
    376384    <para>
     
    380388
    381389<screen role="root"><userinput>chown -cR 0:0 dictionaries/                                                      &amp;&amp;
    382 mkdir -pv <replaceable>&lt;PREFIX&gt;</replaceable>/lib/libreoffice/share/extensions/dict-en                      &amp;&amp;
    383 cp -vR dictionaries/en/*    <replaceable>&lt;PREFIX&gt;</replaceable>/lib/libreoffice/share/extensions/dict-en    &amp;&amp;
    384 mkdir -pv <replaceable>&lt;PREFIX&gt;</replaceable>/lib/libreoffice/share/extensions/dict-pt-BR                   &amp;&amp;
    385 cp -vR dictionaries/pt_BR/* <replaceable>&lt;PREFIX&gt;</replaceable>/lib/libreoffice/share/extensions/dict-pt-BR</userinput></screen>
    386 
    387     <para>
    388        In the following, do not replace
    389        <filename class="directory">/usr</filename> by
    390        <filename class="directory">/opt/libreoffice-&libreoffice-dlversion;</filename>.
    391        If installed in <filename class="directory">/opt</filename> and the
    392        icons in the new items of the desktop menu are not properly displayed,
     390mkdir -pv $LO_PREFIX/lib/libreoffice/share/extensions/dict-en                      &amp;&amp;
     391cp -vR dictionaries/en/*    $LO_PREFIX/lib/libreoffice/share/extensions/dict-en    &amp;&amp;
     392mkdir -pv $LO_PREFIX/lib/libreoffice/share/extensions/dict-pt-BR                   &amp;&amp;
     393cp -vR dictionaries/pt_BR/* $LO_PREFIX/lib/libreoffice/share/extensions/dict-pt-BR</userinput></screen>
     394
     395    <para>
     396       If installed in <filename class="directory">/opt/libreoffice-&libreoffice-dlversion;</filename>
     397       and the icons in the new items of the desktop menu are not properly displayed,
    393398       optionally run the following commands, as
    394399       <systemitem class="username">root</systemitem> user (it may be necessary
     
    565570          loimpress, lomath, loweb, lowriter, soffice and unopkg;
    566571          several programs under
    567           <userinput><replaceable>&lt;PREFIX&gt;</replaceable></userinput>/lib/libreoffice/program
     572          $LO_PREFIX/lib/libreoffice/program
    568573        </seg>
    569574        <seg>
    570575          several libraries under
    571           <userinput><replaceable>&lt;PREFIX&gt;</replaceable></userinput>/lib/libreoffice/{ure/lib,program}
     576          $LO_PREFIX/lib/libreoffice/{ure/lib,program}
    572577        </seg>
    573578        <seg>
    574           <userinput><replaceable>&lt;PREFIX&gt;</replaceable></userinput>/lib/libreoffice
     579          $LO_PREFIX/lib/libreoffice
    575580        </seg>
    576581      </seglistitem>
Note: See TracChangeset for help on using the changeset viewer.