Page 1 of 1
LibreOffice 6.2.2.2 x86_64 + DE, EN, ES, FR
Posted: 14 Apr 2019, 09:39
by sam-nico
The LibreOffice modules used in SAM Linux plus language-packs for DE, EN, ES, FR:
https://sourceforge.net/projects/sam-li ... es/office/
Have fun!
LibreOffice 6.2.2.2 x86_64 + DE, EN, ES, FR
Posted: 14 Apr 2019, 09:51
by Blaze
Hi
sam-nico.
sam-nico wrote: ↑14 Apr 2019, 09:39
You need the avahi-patch!
I use this script for it:
Code: Select all
#!/bin/bash
# If you use official LibreOffice 6.1.x (or higher) rpm.tar.gz package -
# need to drop avahi and wayland dependences.
# set SAL_USE_VCLPLUGIN=gtk
LO=$(find /opt/libreoffice*/program -name soffice | awk 'NR==1 {print $0}')
sed -i -e '/^#\ restore/i# Prefer GTK2\nexport SAL_USE_VCLPLUGIN=${SAL_USE_VCLPLUGIN:-gtk}\n' $LO
# built two dummy/empty libraries
cd $(echo $LO | sed 's|soffice||')
gcc -shared -o libavahi-client.so.3 -x c - < /dev/null
gcc -shared -o libavahi-common.so.3 -x c - < /dev/null
echo 'Done!'
unset LO
LibreOffice 6.2.2.2 x86_64 + DE, EN, ES, FR
Posted: 14 Apr 2019, 10:04
by sam-nico
Your solution is technically the best, but I think for lay people the avahi-patch.xzm module is easier to handle. Maybe I should add it to the office module so no questions are left?
LibreOffice 6.2.2.2 x86_64 + DE, EN, ES, FR
Posted: 14 Apr 2019, 10:11
by Blaze
Yes of course. I do everything inside the module.
LibreOffice 6.2.2.2 x86_64 + DE, EN, ES, FR
Posted: 14 Apr 2019, 11:10
by sam-nico
Done. Merged the modules into one. No avahi-patch anymore...
LibreOffice 6.2.2.2 x86_64 + DE, EN, ES, FR
Posted: 02 Nov 2022, 19:22
by maia
Blaze wrote: ↑14 Apr 2019, 09:51
Hi
sam-nico.
sam-nico wrote: ↑14 Apr 2019, 09:39
You need the avahi-patch!
I use this script for it:
Code: Select all
#!/bin/bash
# If you use official LibreOffice 6.1.x (or higher) rpm.tar.gz package -
# need to drop avahi and wayland dependences.
# set SAL_USE_VCLPLUGIN=gtk
LO=$(find /opt/libreoffice*/program -name soffice | awk 'NR==1 {print $0}')
sed -i -e '/^#\ restore/i# Prefer GTK2\nexport SAL_USE_VCLPLUGIN=${SAL_USE_VCLPLUGIN:-gtk}\n' $LO
# built two dummy/empty libraries
cd $(echo $LO | sed 's|soffice||')
gcc -shared -o libavahi-client.so.3 -x c - < /dev/null
gcc -shared -o libavahi-common.so.3 -x c - < /dev/null
echo 'Done!'
unset LO
Tks Blaze, works for me on LibreOffice_7.4.2.3_Linux_x86-64_rpm