Changeset ea4381c


Ignore:
Timestamp:
10/29/2014 07:55:26 PM (9 years ago)
Author:
Krejzi <krejzi@…>
Branches:
krejzi/svn
Children:
4945458
Parents:
07c39524
Message:

Fixes to office and graphweb sections.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/krejzi@14784 af4574ff-66df-0310-9fd7-8a98e5e911e0

Location:
xsoft/office
Files:
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • xsoft/office/abiword.xml

    r07c39524 rea4381c  
    123123      <ulink url="http://aiksaurus.sourceforge.net/">Aiksaurus</ulink>,
    124124      <xref linkend="dbus-glib"/>,
    125       <ulink url="&gnome-download-http;/evolution-data-server/">
    126       Evolution Data Server</ulink>,
     125<!-- UNCOMMENT      <xref linkend="evolution-data-server"/>, -->
    127126      <xref linkend="gobject-introspection"/>,
    128127      <ulink url="http://helm.cs.unibo.it/mml-widget/">GtkMathView</ulink>,
    129       <ulink url="&gnome-download-http;/libchamplain">libchamplain</ulink>,
     128      <xref linkend="libchamplain"/>,
    130129      <xref linkend="libgcrypt"/>,
    131130      <xref linkend="libical"/>,
     
    139138      <ulink url="&gnome-download-http;/loudmouth">Loudmouth</ulink>,
    140139      <xref linkend="redland"/>,
    141       <ulink url="http://telepathy.freedesktop.org/releases/telepathy-glib/">
    142       Telepathy GLib</ulink>,
     140<!-- UNCOMMENT      <xref linkend="telepathy-glib"/>, -->
    143141      <ulink url="http://libots.sourceforge.net/">OTS</ulink>
    144142      <ulink url="http://software.frodo.looijaard.name/psiconv/">Psiconv</ulink>, and
     
    268266        <application>fontconfig</application> and can only display glyphs that
    269267        are provided in the chosen font.
    270       </para>
    271 
    272       <para>
    273         If you have <xref linkend="desktop-file-utils"/> installed, you should
    274         run the <command>update-desktop-database</command> command to update the
    275         mimeinfo cache and allow the Help system to work.
    276       </para>
    277 
    278       <para>
    279         If you have <xref linkend="xdg-utils"/> installed, you should
    280         run the <command>xdg-icon-resource forceupdate --theme hicolor</command>
    281         command, for the installed icon to be displayed in the menu item.
    282268      </para>
    283269
  • xsoft/office/libreoffice-systemd.xml

    r07c39524 rea4381c  
    2323  <!ENTITY libreoffice-translations-size          "121 MB">
    2424
    25   <!-- This package has some peculiarities, some discussed in the text.
    26   Two values for SBU and buildsize are given due to the large difference
    27   measured by editors, depending on architecture and sometimes installed
    28   dependencies (with-system... -->
    29 
    30   <!ENTITY libreoffice-buildsize          "6.6 GB (570 MB installed), with translations">
    31   <!ENTITY libreoffice-time               "61 SBU (using parallelism=4), with translations">
    32 
    33   <!-- [bdubbs]  For version 4.3.2.2 Built on x86_64 using -\-with-parallelism=4 -->
    34 
    35   <!-- [fo] For version 4.3.1.2 I've got, for i686, statistcs over the upper
    36   boundaries for x86_64 of previous versions, thus, temporarily, decided to use
    37   single statistcs, instead of a range.
    38   -->
    39   <!-- This package has some peculiarities, some discussed in the text.
    40   Two values for SBU and buildsize are given due to the large difference
    41   measured by editors, depending on architecture and sometimes installed
    42   dependencies (with-system... -->
     25  <!ENTITY libreoffice-buildsize          "6.6 GB (570 MB installed)">
     26  <!ENTITY libreoffice-time               "135 SBU">
    4327]>
    4428
     
    152136      <listitem>
    153137        <para>
    154           Required patch for i686 systems, in order to fix a problem inroduced
     138          Required patch for i686 systems, in order to fix a problem introduced
    155139          by <application>&gcc-490;</application>:
    156140          <ulink url="&patch-root;/libreoffice-&libreoffice-dlversion;-gcc_4_9_0-1.patch"/>
     
    175159        Most of these packages are recommended because if they're not installed,
    176160        the build process will compile and install its own (often older)
    177         version.
     161        version. If you have not installed some of the dependencies listed below,
     162        make sure you examine the <command>./configure --help</command> output
     163        for information on switches needed to prevent
     164        <command>./configure</command> to look for them.
    178165      </para>
    179166    </note>
     
    185172      <xref linkend="curl"/>,
    186173      <xref linkend="dbus-glib"/>,
    187       <xref linkend="libjpeg"/>,
    188174      <xref linkend="glu"/>,
    189175      <xref linkend="graphite2"/>,
     
    194180      <xref linkend="icu"/>,
    195181      <xref linkend="lcms2"/>,
     182      <xref linkend="libatomic_ops"/>,
     183      <xref linkend="libjpeg"/>,
    196184      <xref linkend="librsvg"/>,
    197185      <xref linkend="libxml2"/> and
     
    217205      <xref linkend="gtk3"/>,
    218206      <xref linkend="kdelibs"/>,
    219       <xref linkend="libatomic_ops"/>,
    220       <xref linkend="mariadb"/> or <ulink url="http://www.mysql.com/">MySQL</ulink>,
     207      <xref linkend="mariadb"/>,
    221208      <xref linkend="mitkrb"/>,
    222209      <xref linkend="openjdk"/>,
     
    224211      <xref linkend="sane"/>,
    225212      <xref linkend="vlc"/>,
     213      <xref linkend="zenity"/>,
    226214      <ulink url="http://sourceforge.net/projects/cppunit/">Cppunit</ulink>,
    227       <ulink url="http://www.firebirdsql.org/">firebird</ulink>,
    228       <ulink url="http://downloads.sourceforge.net/glew/">glew (OpenGL Extension Wrangler Library)</ulink>,
     215      <ulink url="http://www.firebirdsql.org/">Firebird</ulink>,
     216      <ulink url="http://downloads.sourceforge.net/glew/">GLEW</ulink>,
    229217      <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>,
    230218      <ulink url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
     
    239227      <ulink url="http://sourceforge.net/projects/libmwaw/">libmwaw</ulink>,
    240228      <ulink url="http://sourceforge.net/projects/libwpd/files/libodfgen/">libodfgen</ulink>,
    241       <ulink url="http://sourceforge.net/projects/libwpd/files/librevenge/">librevenge (WordPerfect Document importer)</ulink>,
     229      <ulink url="http://sourceforge.net/projects/libwpd/files/librevenge/">librevenge</ulink>,
    242230      <ulink url="http://www.freedesktop.org/wiki/Software/libvisio/">libvisio</ulink>,
    243231      <ulink url="http://libwpd.sourceforge.net/">libwpd</ulink>,
     
    247235      <ulink url="http://code.google.com/p/multidimalgorithm/">mdds</ulink>,
    248236      <ulink url="http://sourceforge.net/projects/hunspell/files/MyThes/">MyThes</ulink>,
    249       <ulink url="http://sourceforge.net/projects/ogl-math/">ogl-math - OpenGL Mathematics (GLM)</ulink>,
    250       <ulink url="https://gitorious.org/orcus/">Orcus</ulink>,
    251       <ulink url="http://hci.iwr.uni-heidelberg.de/vigra/">VIGRA</ulink>, and
    252       <ulink url="&gnome-download-http;/zenity/">Zenity</ulink>
     237      <ulink url="http://sourceforge.net/projects/ogl-math/">OGL-Math</ulink>,
     238      <ulink url="https://gitorious.org/orcus">Orcus</ulink>, and
     239      <ulink url="http://hci.iwr.uni-heidelberg.de/vigra/">VIGRA</ulink>
    253240    </para>
    254241
     
    264251  <sect2 role="installation">
    265252    <title>Installation of LibreOffice</title>
    266 <!--
    267     <warning>
    268       <para>
    269         Untaring the libreoffice-&libreoffice-dlversion; tarball as
    270         <systemitem class="username">root</systemitem> has the curious effect of
    271         changing the ownership of the <emphasis>parent</emphasis> directory
    272         to a user with numerical id 11012 and with the permissions set to allow
    273         read, write and execute for that user only! If you untared as
    274         <systemitem class="username">root</systemitem> in your home folder you
    275         could end up unable to log in again. If you untared it in
    276         <filename class="directory">/usr</filename> you would find your user
    277         account unable to access any file in
    278         <filename class="directory">/usr</filename>.
    279       </para>
    280 
    281       <para>
    282         You can avoid this unpleasantness by
    283         <emphasis>not</emphasis> untaring it as
    284         <systemitem class="username">root</systemitem>. If you must untar it as
    285         <systemitem class="username">root</systemitem> pass the option
    286         <option>-\-no-overwrite-dir</option> to tar. This is the default when you
    287         untar as a user but has to be passed as an option when untaring as
    288         <systemitem class="username">root</systemitem>:
    289       </para>
    290     </warning>-->
    291 
    292     <note>
    293       <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>.
    297       </para>
    298     </note>
    299 
    300     <important>
    301       <para>
    302       Unlike the other packages, we suppose that you have not yet unpacked the
    303       package. This is so because the <option>--no-overwrite-dir</option> switch
    304       is needed in case you unpack as the
    305       <systemitem class="username">root</systemitem> user.
    306       </para>
    307     </important>
    308 
    309 <screen><userinput>tar -xf libreoffice-&libreoffice-dlversion;.tar.xz --no-overwrite-dir &amp;&amp;
    310 cd libreoffice-&libreoffice-dlversion;</userinput></screen>
    311253
    312254    <para>
    313255      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:
     256      source directory so they won't get downloaded again:
    316257    </para>
    317258
    318259<screen><userinput>install -dm755 external/tarballs &amp;&amp;
    319260
    320 tar -xf ../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz \
    321         --no-overwrite-dir --strip-components=1    &amp;&amp;
    322 <!-- Not necessary for this version
    323 tar -xf ../libreoffice-help-&libreoffice-dlversion;.tar.xz -\-no-overwrite-dir -\-strip-components=1 &amp;&amp;
    324 -->
    325 
    326 ln -sv ../../../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz external/tarballs/ &amp;&amp;
    327 ln -sv ../../../libreoffice-help-&libreoffice-dlversion;.tar.xz         external/tarballs/</userinput></screen>
    328 
    329 <!-- Not necessary for this version
    330     <para>
    331       If you have downloaded the translations tarball, unpack it:
    332     </para>
    333 
    334 <screen><userinput>tar -xf ../libreoffice-translations-&libreoffice-dlversion;.tar.xz -\-no-overwrite-dir -\-strip-components=1 &amp;&amp;
    335 ln -sv ../../libreoffice-translations-&libreoffice-dlversion;.tar.xz src/</userinput></screen>
    336 -->
     261tar -xf ../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz --no-overwrite-dir --strip-components=1 &amp;&amp;
     262ln -sfv ../../../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz external/tarballs/ &amp;&amp;
     263ln -sfv ../../../libreoffice-help-&libreoffice-dlversion;.tar.xz external/tarballs/</userinput></screen>
     264
    337265    <para>
    338266      If you have downloaded the translations tarball, create a symlink:
    339267    </para>
    340268
    341 <screen><userinput>ln -sv ../../../libreoffice-translations-&libreoffice-dlversion;.tar.xz external/tarballs/</userinput></screen>
     269<screen><userinput>ln -sfv ../../../libreoffice-translations-&libreoffice-dlversion;.tar.xz external/tarballs/</userinput></screen>
    342270
    343271    <note>
     
    345273        During the build process, some packages will be downloaded (including
    346274        the ones listed as recommended and optional dependencies) if they are
    347         not present on the system. Because of this, build time may vary from the
    348         published time more than usual.
     275        not present on the system. Doing so, build time may be different
     276        for everyone.
    349277      </para>
    350278    </note>
    351279
    352280    <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>
    359       Due to the large size of the package, you may prefer to install it in
    360       <filename class="directory">/opt</filename>, instead of
    361       <filename class="directory">/usr</filename>. Depending on your choice,
    362       replace <replaceable>&lt;PREFIX&gt;</replaceable> by
    363       <filename class="directory">/usr</filename> or by
    364       <filename class="directory">/opt/libreoffice-&libreoffice-dlversion;</filename>:
    365     </para>
    366 
    367 <screen><userinput>export LO_PREFIX=<replaceable>&lt;PREFIX&gt;</replaceable></userinput></screen>
    368 
    369     <para>
    370      For i686 systems, fix a problem inroduced by <application>&gcc-490;</application>:
     281      In the rest of the page, locales "en-US" and "pt-BR" are examples. Change
     282      them to suit your needs. You might want to read the "Command Explanations"
     283      further below before proceeding.
     284    </para>
     285
     286    <para>
     287     For i686 systems, fix a problem introduced by
     288     <application>&gcc-490;</application>:
    371289    </para>
    372290
     
    387305
    388306chmod -v +x bin/unpack-sources                       &amp;&amp;
    389 
    390307sed -e "s/target\.mk/langlist\.mk/"                \
    391308    -e "s/tar -xf/tar -x --strip-components=1 -f/" \
     
    393310    -i bin/unpack-sources                            &amp;&amp;
    394311
    395 ./autogen.sh --prefix=$LO_PREFIX         \
     312./autogen.sh --prefix=/usr               \
    396313             --sysconfdir=/etc           \
    397314             --with-vendor="BLFS"        \
     
    403320             --disable-odk               \
    404321             --disable-postgresql-sdbc   \
    405              --enable-release-build=yes  \
     322             --enable-release-build      \
    406323             --enable-python=system      \
    407324             --with-system-boost         \
     
    415332             --with-system-jpeg          \
    416333             --with-system-lcms2         \
     334             --with-system-libatomic_ops \
    417335             --with-system-libpng        \
    418336             --with-system-libxml        \
     
    435353    </para>
    436354
     355    <note>
     356      <para>
     357        The package needs to be built from an X terminal emulator.
     358      </para>
     359    </note>
     360
    437361    <para>
    438362      Build the package:
     
    445369    </para>
    446370
    447 <screen role="root"><userinput>make distro-pack-install                                  &amp;&amp;
    448 install -v -m755 -d $LO_PREFIX/share/appdata              &amp;&amp;
    449 install -v -m644    sysui/desktop/appstream-appdata/*.xml \
    450                     $LO_PREFIX/share/appdata</userinput></screen>
     371<screen role="root"><userinput>make distro-pack-install             &amp;&amp;
     372install -v -dm755 /usr/share/appdata &amp;&amp;
     373install -v -m644  sysui/desktop/appstream-appdata/*.xml \
     374                  /usr/share/appdata</userinput></screen>
    451375
    452376    <para>
     
    455379    </para>
    456380
    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>
    462 
    463     <para>
    464        If installed in <filename class="directory">/opt/libreoffice-&libreoffice-dlversion;</filename>
    465        and the icons in the new items of the desktop menu are not properly displayed,
    466        optionally run the following commands, as
    467        <systemitem class="username">root</systemitem> user (it may be necessary
    468        to logout the session, before the icons appear):
    469     </para>
    470 
    471 <screen role="root"><userinput>mkdir -pv /usr/share/pixmaps &amp;&amp;
    472 
    473 for i in writer base calc draw impress math startcenter writer
    474 do
    475   ln -svf /opt/libreoffice-&libreoffice-dlversion;/share/icons/hicolor/32x32/apps/libreoffice-$i.png \
    476           /usr/share/pixmaps/
    477 done
    478 unset i</userinput></screen>
     381<screen role="root"><userinput>chown -cR 0:0 dictionaries/                                                  &amp;&amp;
     382mkdir -pv /usr/lib/libreoffice/share/extensions/dict-en                      &amp;&amp;
     383cp -rv    dictionaries/en/* /usr/lib/libreoffice/share/extensions/dict-en    &amp;&amp;
     384mkdir -pv /usr/lib/libreoffice/share/extensions/dict-pt-BR                   &amp;&amp;
     385cp -rv    dictionaries/pt_BR/* /usr/lib/libreoffice/share/extensions/dict-pt-BR</userinput></screen>
    479386
    480387  </sect2>
     
    497404      the vendor which is mentioned when you click "About" on the toolbar.
    498405    </para>
    499 <!-- I believe en-US is not necessary anymore
    500     <para>
    501       <parameter>-\-with-lang="en-US pt-BR"</parameter>: This switch sets
    502       what languages to support. en-US is always needed. To list several
    503       languages, separate them with a space. For all languages, use
    504       <parameter>-\-with-lang=ALL</parameter>
    505     </para>
    506 -->
    507406
    508407    <para>
    509408      <parameter>--with-lang="en-US pt-BR"</parameter>: This switch sets
    510       what languages to support. To list several languages, separate them with
    511       a space. For all languages, use
     409      what languages to support. To list several languages, separate them
     410      with a space. For all languages, use
    512411      <parameter>--with-lang=ALL</parameter>.
    513412    </para>
    514413
    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>
    521 
    522     <para>
    523       <parameter>--with-help</parameter>: Without this switch, the help files
    524       are not built.
     414    <note>
     415      <para>
     416        For a list of the available languages, you can uncompress the
     417        translations tarball by running the following command:
     418        <command>tar -xf
     419        ../libreoffice-translations-&libreoffice-dlversion;.tar.xz
     420        --no-overwrite-dir -C /tmp</command> and proceed to examine
     421        the contents of <filename
     422        class="directory">/tmp/libreoffice-&libreoffice-dlversion;/translations/source</filename>.
     423      </para>
     424    </note>
     425
     426    <para>
     427      <parameter>--with-help</parameter>: This switch is used to build
     428      the help files.
    525429    </para>
    526430
     
    561465 
    562466    <para>
    563       <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).
     467      <parameter>--enable-release-build</parameter>: This switch is used to
     468      remove "Beta" or "Dev" from <application>LibreOffice</application>
     469      splash screen and "About" menu.
    569470    </para>
    570471
     
    573474      <application>LibreOffice</application> to use installed
    574475      <application>Python 3</application> to build the translations
    575       instead of the bundled one. 
     476      instead of the bundled one.
    576477    </para>
    577478
     
    590491
    591492    <para>
    592       <option>--disable-cups</option>: Use this switch if you don't need
    593       printing support.
    594     </para>
    595 
    596     <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
    604       not installed <xref linkend="gst-plugins-base"/>.
     493      <option>--disable-gstreamer-0-10</option>: Use this switch if you
     494      haven't installed <xref linkend="gst-plugins-base"/>.
    605495    </para>
    606496
     
    612502
    613503    <para>
     504      <option>--enable-gtk3</option>: Use this switch if you want to
     505      build the <application>GTK+ 3</application> integration module.
     506    </para>
     507
     508    <para>
    614509      <option>--enable-kde4</option>: Use this switch if you want to
    615510      build the <application>KDE</application> integration module.
     
    624519      <segtitle>Installed Programs</segtitle>
    625520      <segtitle>Installed Libraries</segtitle>
    626       <segtitle>Installed Directory</segtitle>
     521      <segtitle>Installed Directories</segtitle>
    627522
    628523      <seglistitem>
    629524        <seg>
    630525          libreoffice, lobase, localc, lodraw, loffice, lofromtemplate,
    631           loimpress, lomath, loweb, lowriter, soffice and unopkg;
    632           several programs under
    633           $LO_PREFIX/lib/libreoffice/program
     526          loimpress, lomath, loweb, lowriter, soffice and unopkg
    634527        </seg>
    635528        <seg>
    636           several libraries under
    637           $LO_PREFIX/lib/libreoffice/{ure/lib,program}
     529          None
    638530        </seg>
    639531        <seg>
    640           $LO_PREFIX/lib/libreoffice
     532          /usr/lib/libreoffice
    641533        </seg>
    642534      </seglistitem>
  • xsoft/office/office.xml

    r07c39524 rea4381c  
    2424  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="abiword.xml"/>
    2525  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gnumeric.xml"/>
    26 <!-- Hopefully gnucash will come back when updated 
    27   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gnucash.xml"/> -->
    28   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libreoffice.xml"/>
     26  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libreoffice-systemd.xml"/>
    2927</chapter>
Note: See TracChangeset for help on using the changeset viewer.