LibreOffice-4.3.1
      
      
        
          Introduction to LibreOffice
        
        
          LibreOffice is a full-featured
          office suite. It is largely compatible with Microsoft Office and is descended from
          OpenOffice.org.
        
        
          This package is known to build and work properly using an LFS-7.6
          systemd platform.
        
        
          Package Information
        
        
        
          Additional Downloads
        
        
        
          LibreOffice Dependencies
        
        
          Required
        
        
          Archive::Zip-1.37, UnZip-6.0, Wget-1.15, Which-2.20, and Zip-3.0
        
        
          Recommended
        
        
          
          
            Note
          
          
            Most of these packages are recommended because if they're not
            installed, the build process will compile and install its own
            (often older) version. If you have not installed some of the
            dependencies listed below, make sure you examine the ./configure --help output for
            information on switches needed to prevent ./configure to look for them.
          
         
        
          Boost-1.56.0, CLucene-2.3.3.4, Cups-1.7.5, cURL-7.37.1, dbus-glib-0.102, GLU-9.0.0, Graphite2-1.2.4, gst-plugins-base-0.10.36 or
          gst-plugins-base-1.4.1, GTK+-2.24.24,
          Harfbuzz-0.9.35, ICU-53.1, Little
          CMS-2.6, libatomic_ops-7.4.2, libjpeg-turbo-1.3.1, librsvg-2.40.3, libxml2-2.9.1
          and libxslt-1.1.28, MesaLib-10.2.7,
          neon-0.30.0, NPAPI-SDK-0.27.2, NSS-3.17, OpenLDAP-2.4.39 (client only), OpenSSL-1.0.1i, Poppler-0.26.4, Python-3.4.1
          (used to build the translations), Redland-1.0.17, and unixODBC-2.3.2
        
        
          Optional
        
        
          Avahi-0.6.31, BlueZ-5.23,
          Doxygen-1.8.8 (not relevant if using
          --disable-odk), GDB-7.8, GTK+-3.12.2, KDELibs-4.14.1,
          MariaDB-10.0.13, MIT
          Kerberos V5-1.12.2, OpenJDK-1.7.0.65/IcedTea-2.5.2,
          PostgreSQL-9.3.5, SANE-1.0.24, VLC-2.1.5, Zenity-3.12.1,
          Cppunit, Firebird, Hunspell,
          Hyphen,
          libabw,
          libcdr,
          libcmis, libebook,
          libexttextcat,
          libfreehand,
          liblangtag, libmspub,
          libmwaw, libodfgen,
          libvisio,
          libwpd,
          libwpg,
          libwps,
          lp_solve, mdds,
          MyThes,
          Orcus, and
          VIGRA
        
        
          There are many optional dependencies not listed here. They can be
          found in “download.lst”
          (source directory).
        
        
          User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libreoffice
        
       
      
        
          Installation of LibreOffice
        
        
          
          
            Note
          
          
            It is recommended to build this package in a graphical
            environment, because there have been reports of build failures,
            when using chroot
            or ssh.
          
         
        
tar -xf libreoffice-4.3.1.2.tar.xz --no-overwrite-dir &&
cd libreoffice-4.3.1.2
        
          Unpack the dictionaries file and create symlinks to tarballs from
          the source directory so they won't get downloaded again:
        
        
install -dm755 external/tarballs &&
tar -xf ../libreoffice-dictionaries-4.3.1.2.tar.xz \
        --no-overwrite-dir --strip-components=1
        
          If you have downloaded the translations tarball, create a symlink:
        
        
ln -sv ../../../libreoffice-translations-4.3.1.2.tar.xz \
       external/tarballs/
        
          
          
            Note
          
          
            During the build process, some packages will be downloaded
            (including the ones listed as recommended and optional
            dependencies) if they are not present on the system. Doing so,
            build time may be different for everyone.
          
         
        
          In the rest of the page, locales "en-US" and "pt-BR" are examples.
          Change them to suit your needs. You might want to read the "Command
          Explanations" further below before proceeding.
        
        
          For i686 systems, fix a problem introduced by gcc-4.9.0:
        
        
patch -Np1 -i ../libreoffice-4.3.1.2-gcc_4_9_0-1.patch &&
        
          Prepare LibreOffice for
          compilation by running the following commands:
        
        
patch -Np1 -i ../libreoffice-4.3.1.2-boost_1_56_0-1.patch &&
sed -e "/gzip -f/d"   \
    -e "s|.1.gz|.1|g" \
    -i bin/distro-install-desktop-integration        &&
sed -e "/distro-install-file-lists/d" -i Makefile.in &&
chmod -v +x bin/unpack-sources                     &&
chmod -v +x bin/unpack-sources                     &&
sed -e "s/target\.mk/langlist\.mk/"                \
    -e "s/tar -xf/tar -x --strip-components=1 -f/" \
    -e "/tar -x/s/lo_src_dir/start_dir/"           \
    -i bin/unpack-sources                          &&
./autogen.sh --prefix=/usr               \
             --sysconfdir=/etc           \
             --with-vendor="BLFS"        \
             --with-lang="en-US pt-BR"   \
             --with-help                 \
             --with-alloc=system         \
             --without-java              \
             --disable-gconf             \
             --disable-odk               \
             --disable-postgresql-sdbc   \
             --enable-release-build=yes  \
             --enable-python=system      \
             --with-system-boost         \
             --with-system-clucene       \
             --with-system-cairo         \
             --with-system-curl          \
             --with-system-expat         \
             --with-system-graphite      \
             --with-system-harfbuzz      \
             --with-system-icu           \
             --with-system-jpeg          \
             --with-system-lcms2         \
             --with-system-libatomic_ops \
             --with-system-libpng        \
             --with-system-libxml        \
             --with-system-mesa-headers  \
             --with-system-neon          \
             --with-system-npapi-headers \
             --with-system-nss           \
             --with-system-odbc          \
             --with-system-openldap      \
             --with-system-openssl       \
             --with-system-poppler       \
             --with-system-redland       \
             --with-system-zlib          \
             --with-parallelism=$(getconf _NPROCESSORS_ONLN)
        
          The instructions below will only build the package without running
          any unit tests. If you prefer to run the unit tests, replace
          make build with
          make.
        
        
          
          
            Note
          
          
            The package needs to be built from an X terminal emulator.
          
         
        
          Build the package:
        
        
make build
        
          Now, as the root user:
        
        
make distro-pack-install             &&
install -v -dm755 /usr/share/appdata &&
install -v -m644  sysui/desktop/appstream-appdata/*.xml \
                  /usr/share/appdata
        
          If the dictionaries have been built, again as root user:
        
        
chown -cR 0:0 dictionaries/                                                  &&
mkdir -pv /usr/lib/libreoffice/share/extensions/dict-en                      &&
cp -rv    dictionaries/en/* /usr/lib/libreoffice/share/extensions/dict-en    &&
mkdir -pv /usr/lib/libreoffice/share/extensions/dict-pt-BR                   &&
cp -rv    dictionaries/pt_BR/* /usr/lib/libreoffice/share/extensions/dict-pt-BR
       
      
        
          Command Explanations
        
        
          sed -e ...: First sed
          prevents compression of the manual pages, the second one prevents a
          script that causes install to fail from running, the third one
          fixes the unpack script.
        
        
          chmod -v +x ...: Fix
          the unpack script's permissions.
        
        
          --with-vendor=BLFS: This
          switch sets BLFS as the vendor which is mentioned when you click
          "About" on the toolbar.
        
        
          --with-lang="en-US pt-BR":
          This switch sets what languages to support. To list several
          languages, separate them with a space. For all languages, use
          --with-lang=ALL.
        
        
          
          
            Note
          
          
            For a list of the available languages, you can uncompress the
            translations tarball by running the following command:
            tar -xf
            ../libreoffice-translations-4.3.1.2.tar.xz --no-overwrite-dir -C
            /tmp and proceed to examine the contents of
            /tmp/libreoffice-4.3.1.2/translations/source.
          
         
        
          --with-help: This switch is
          used to build the help files.
        
        
          --with-alloc=system: This
          switch tells LibreOffice to use
          system allocator instead of the internal one.
        
        
          --without-java: This switch
          disables Java support in
          LibreOffice.
        
        
          --disable-gconf: This
          switch disables compiling LibreOffice with the deprecated GNOME configuration system support.
        
        
          --disable-odk: This switch
          disables installing the office development kit. Remove if you want
          to develop a LibreOffice based
          application.
        
        
          --disable-postgresql-sdbc:
          This switch disables compiling LibreOffice with the ability to connect to a
          PostgreSQL database. Remove it if
          you would like LibreOffice to be
          able to connect to a PostgreSQL
          database. If you have installed PostgreSQL on your system and would like
          LibreOffice to use that rather
          than compile its own copy, use the --with-system-postgresql switch.
        
        
          --enable-release-build:
          This switch is used to remove "Beta" or "Dev" from LibreOffice splash screen and "About" menu.
        
        
          --enable-python=system:
          This switch tells LibreOffice to
          use installed Python 3 to build
          the translations instead of the bundled one. If you don't need to
          build any translations, you can use --disable-python instead.
        
        
          --with-system-*: These
          switches prevent LibreOffice from
          trying to compile its own versions of these dependencies. If you've
          not installed some of the dependencies, remove the corresponding
          switches.
        
        
          --with-parallelism=$(getconf
          _NPROCESSORS_ONLN): This switch tells LibreOffice to use all your CPUs to compile in
          parallel and speed up the build.
        
        
          --disable-gstreamer-0-10: Use this
          switch if you haven't installed gst-plugins-base-0.10.36.
        
        
          --enable-gstreamer: Use this switch if
          you want to use gst-plugins-base-1.4.1 instead of
          gst-plugins-base-0.10.36 for the
          avmedia module.
        
        
          --enable-gtk3: Use this switch if you
          want to build the GTK+ 3
          integration module.
        
        
          --enable-kde4: Use this switch if you
          want to build the KDE integration
          module.
        
       
      
        
          Contents
        
        
          
            
              Installed Programs:
              libreoffice, lobase, localc, lodraw,
              loffice, lofromtemplate, loimpress, lomath, loweb, lowriter,
              soffice and unopkg
            
            
              Installed Libraries:
              None
            
            
              Installed Directories:
              /usr/lib/libreoffice
            
           
         
        
          
            Short Descriptions
          
          
            
            
              
                | 
                   
                    lobase
                   
                 | 
                
                   
                    is a database manager.
                   
                 | 
              
              
                | 
                   
                    localc
                   
                 | 
                
                   
                    is a spreadsheet program.
                   
                 | 
              
              
                | 
                   
                    lodraw
                   
                 | 
                
                   
                    is a vector graphics editor and diagramming tool.
                   
                 | 
              
              
                | 
                   
                    loimpress
                   
                 | 
                
                   
                    can edit and display PowerPoint presentations.
                   
                 | 
              
              
                | 
                   
                    lomath
                   
                 | 
                
                   
                    is a mathematical formula editor.
                   
                 | 
              
              
                | 
                   
                    lowriter
                   
                 | 
                
                   
                    is a word processor.
                   
                 | 
              
              
                | 
                   
                    unopkg
                   
                 | 
                
                   
                    is a tool to manage LibreOffice extensions from the
                    command line.
                   
                 | 
              
            
          
         
       
      
        Last updated on 2014-09-02 20:43:09 -0700