UmVirt LFS Package info
DB commit: 48bb9ee31306c82c48dfaaad707eb4f6a926eb8a
APP commit: 1ca4178aea919e4c9e869e3d650ff8af9678bd6f
libreoffice
LibreOffice is a full-featured office suite. It is largely compatible with Microsoft Office and is descended from OpenOffice.org.Package info
Codename: libreoffice
Source file: libreoffice-24.8.0.3.tar.xz
Source directory: libreoffice-24.8.0.3
Package URL: https://umvirt.com/linux/downloads/0.2.2/packages/l/libreoffice-24.8.0.3.tar.xz
Package md5-checksum URL: https://umvirt.com/linux/downloads/0.2.2/packages/l/libreoffice-24.8.0.3.tar.xz.md5sum
Dependances: gettext, libxml2, icu, libxslt, unzip, zip, curl, harfbuzz, llvm, mesa, libepoxy, graphite2, libjpeg-turbo, glu, tiff, gtk3, dbus-glib, desktop-file-utils, OpenLDAP-client, librsvg, gst-plugins-base, libwebp, lcms2, which, nss, boost, poppler, cups, gpgme, python3-lxml, mariadb-client, unixODBC, postgresql-client, perl-Archive-Zip, clucene, glm, libatomic_ops, redland.
Dependance of: *** NO PACKAGES FOUND ***
Patches: libreoffice-24.8.0.3-boost_fixes-1.patch.
Addons: libreoffice-dictionaries-24.8.0.3.tar.xz, libreoffice-help-24.8.0.3.tar.xz, libreoffice-translations-24.8.0.3.tar.xz, libreoffice-tarballs-24.8.0.3.tar.
Nestings *** NO NESTINGS FOUND ***
Configuration script:
sed -i '/icuuc \\/a zlib\\' writerperfect/Library_wpftdraw.mk
install -dm755 external/tarballs &&
ln -sv ../../../libreoffice-dictionaries-24.8.0.3.tar.xz external/tarballs/ &&
ln -sv ../../../libreoffice-help-24.8.0.3.tar.xz external/tarballs/ &&
ln -sv ../../../libreoffice-translations-24.8.0.3.tar.xz external/tarballs/
ln -sv src/libreoffice-help-24.8.0.3/helpcontent2/ &&
ln -sv src/libreoffice-dictionaries-24.8.0.3/dictionaries/ &&
ln -sv src/libreoffice-translations-24.8.0.3/translations/
export LO_PREFIX=/opt/libreoffice-24.8.0.3
case $(uname -m) in
i?86) sed /-Os/d -i solenv/gbuild/platform/LINUX_INTEL_GCC.mk ;;
esac
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 &&
./autogen.sh --prefix=$LO_PREFIX \
--sysconfdir=/etc \
--with-vendor=BLFS \
--with-lang='en-GB ru' \
--with-help \
--with-myspell-dicts \
--without-junit \
--without-system-dicts \
--disable-dconf \
--disable-odk \
--disable-mariadb-sdbc \
--enable-release-build=yes \
--enable-python=system \
--without-java \
--with-system-boost \
--with-system-clucene \
--with-system-curl \
--with-system-epoxy \
--with-system-expat \
--with-system-glm \
--with-system-gpgmepp \
--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-nss \
--with-system-odbc \
--with-system-openldap \
--with-system-openssl \
--with-system-poppler \
--with-system-postgresql \
--with-system-redland \
--with-system-libtiff \
--with-system-libwebp \
--with-system-zlib \
--disable-gstreamer-1-0
tar -xf ../libreoffice-tarballs-24.8.0.3.tar
mv -v libreoffice-tarballs-24.8.0.3/* external/tarballs
Build script:
make build
Install script:
export LO_PREFIX=/opt/libreoffice-24.8.0.3
make distro-pack-install
if [ "\$LO_PREFIX" != "/usr" ]; then
# This symlink is necessary for the desktop menu entries
ln -svf \$LO_PREFIX/lib/libreoffice/program/soffice /usr/bin/libreoffice &&
# Set up a generic location independent of version number
ln -sfv \$LO_PREFIX /opt/libreoffice
# Icons
mkdir -vp /usr/share/pixmaps
for i in \$LO_PREFIX/share/icons/hicolor/32x32/apps/*; do
ln -svf \$i /usr/share/pixmaps
done &&
# Desktop menu entries
for i in \$LO_PREFIX/lib/libreoffice/share/xdg/*; do
ln -svf \$i /usr/share/applications/libreoffice-\$(basename \$i)
done &&
# Man pages
for i in \$LO_PREFIX/share/man/man1/*; do
ln -svf \$i /usr/share/man/man1/
done
unset i
fi
update-desktop-database