You are not logged in.

#1 2021-04-16 08:38:00

MichaARCH
Member
Registered: 2021-04-16
Posts: 5

How to install LibreOffice with full BASE support

Hello, 
I'm new to Arch and need LibreOffice BASE (with PostgreSQL Backend) for my daily work. I figured, that the packages (Still and Fresh) from the repository do not allow the actual BASE-Report Generator so that new reports could not be created and existing ones don't open. There are some JAVA-dependencies missing, as discussed f.e here

There is an AUR-package, which is not usable actually.

I don't want to use Snaps or Flatpak. So my question: Is there any way to install LibreOffice from TDF; I'd prefer the "Still" option f.e. this RPM.

Thank you, Michael

Offline

#2 2021-04-16 09:18:50

progandy
Member
Registered: 2012-05-17
Posts: 5,190

Re: How to install LibreOffice with full BASE support

You can probably start with this PKGBUILD and change the source and version: https://aur.archlinux.org/packages/libreoffice-dev-bin/


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#3 2021-04-16 12:41:16

MichaARCH
Member
Registered: 2021-04-16
Posts: 5

Re: How to install LibreOffice with full BASE support

progandy wrote:

... start with this PKGBUILD and change the source and version ...

Thank you, but I'd need definitely some more support, as I have never done something like this before. Any example or tutorial? Anybody to advice me?

Offline

#4 2021-04-16 13:09:02

progandy
Member
Registered: 2012-05-17
Posts: 5,190

Re: How to install LibreOffice with full BASE support

Here is the download https://www.libreoffice.org/download/download/

Choose "Info" for the still version: https://download.documentfoundation.org … mirrorlist
Update the version number and  the sha256 checksum in the pkgbuild like this (not tested):

# Maintainer: ...
# Contributor: twa022 <twa022 at gmail dot com>

_pkgnamefmt=LibreOffice
_pkgname=libreoffice
pkgname=${_pkgname}-still-bin
pkgver=7.0.5
pkgrel=1
arch=('x86_64')
license=('LGPL3')
url="https://www.libreoffice.org/"
pkgdesc="LibreOffice still binary release"
depends=('gtk3' 'lpsolve' 'neon' 'curl')
conflicts=('libreoffice-still')
optdepends=('java-runtime:          adds java support'
            'java-environment:      required by extension-wiki-publisher and extension-nlpsolver'
            'coin-or-mp:            required by the Calc solver'
            'kio:                   for Qt5 integration')
provides=('libreoffice' 'libreoffice-en-US')

source=("https://download.documentfoundation.org/libreoffice/stable/${pkgver}/rpm/x86_64/${_pkgnamefmt}_${pkgver}_Linux_x86-64_rpm.tar.gz")
sha256sums=('98d430d565cfa2b71e82bc2ec24ff3053b711a131c41b83ccdbb23dcee7c678c') # from the download info page

package() {
	find "${srcdir}/${_pkgnamefmt}_${pkgver}"*/RPMS/*rpm -exec bsdtar -x -f '{}' -C "${pkgdir}" \;
}

https://wiki.archlinux.org/index.php/Creating_packages
https://wiki.archlinux.org/index.php/Makepkg

Last edited by progandy (2021-04-16 13:16:26)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#5 2021-05-02 14:21:31

MichaARCH
Member
Registered: 2021-04-16
Posts: 5

Re: How to install LibreOffice with full BASE support

Thank you @progandy, your explanation was very helpful.
Finally, I solved it a bit different to have my local language. Also, as you decribed, the STILL-version instead of FRESH:
Downloaded an unpacked this PKGBUILD . Checked for the actual versions https://www.libreoffice.org/download/do … rpm-x86_64
Decide about FRESH or STILL, STILL for me ...
For that version run the Download to see the rel-ID, no need to store this archve locally
For that version use the Link Info to copy the SHA-256 Hash
Open the PKGBUILD with an Editor and modify the lines pkgname, pkgver, pkgrel and sha256sums with the values checked above
Establish a terminal in the directoy with the PKGBUILD and run

$ makepkg -csi

This procedure asks to install additional packages and if so, about your preferred language and help language.

Offline

Board footer

Powered by FluxBB