Skip to content

Commit 30e090d

Browse files
authored
Merge pull request #223 from DmDS/master
a few edits for the successful compilation of ver 22.05 and a new config.
2 parents 6303ad1 + 3343c77 commit 30e090d

File tree

4 files changed

+14
-13
lines changed

4 files changed

+14
-13
lines changed

bin/onlinePrep.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
## idempotent functions to define if LibreOffice Online has to be compiled
55
## Installation of requirements for Libreoffice Online build only
66
## Download & install LibreOffice Online Sources
7-
cp /usr/local/lib/libPocoCrypto.so.82 /usr/lib/
8-
cp /usr/local/lib/libPocoXML.so.82 /usr/lib/
7+
cp /usr/local/lib/libPocoCrypto.so.* /usr/lib/
8+
cp /usr/local/lib/libPocoXML.so.* /usr/lib/
99
set -e
1010
SearchGitOpts=''
1111
[ -n "${cool_src_branch}" ] && SearchGitOpts="${SearchGitOpts} -b ${cool_src_branch}"

bin/systemSetup.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ apt-get build-dep libreoffice -y
8888

8989
if [ "${DIST}" = "Debian" ]; then
9090
if [ "${CODENAME}" = "buster" ] || [ "${CODENAME}" = "bullseye" ];then
91-
curl -fsSL https://deb.nodesource.com/setup_17.x | sudo -E bash -
91+
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
9292
apt-get install nodejs -y
93-
export npm_install="8.5.5"
93+
export npm_install="8.14.0"
9494
curl https://www.npmjs.com/install.sh | sh
9595
apt install python3-polib -y
9696
npm install -g browserify
@@ -108,4 +108,3 @@ fi
108108

109109
getent passwd cool || (useradd cool -G sudo; mkdir /home/cool)
110110
chown cool:cool /home/cool -R
111-

lib/default.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ with-fonts, with-galleries=no, with-lang=, with-linker-hash-style=both, with-sys
3030
with-system-zlib, without-branding, without-help, without-java,
3131
without-junit, without-myspell-dicts, without-package-format, without-system-jars,
3232
without-system-jpeg, without-system-libpng, without-system-libxml,
33-
without-system-openssl, without-system-poppler, without-system-postgresql,with-webdav=serf'
33+
without-system-openssl, without-system-poppler, without-system-postgresql,with-webdav'
3434
lo_non_free_ttf=false
3535
poco_version_latest=$(curl -s https://pocoproject.org/ | awk -F'Latest Release: ' '{printf $2}' | grep -Eo '^[^ ]+.\w')
3636
poco_default_dir="/opt/poco" # just here for environnment checks

officeonline-install.cfg

+9-7
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
11
set_name='collabora'
2-
set_core_regex='co-2021'
3-
set_online_regex='^distro/collabora/co-21-11$'
2+
set_core_regex='co-22.05'
3+
set_online_regex='master'
44

55
#### LibreOffice parameters ###
66
lo_src_repo='https://github.com/LibreOffice/core.git'
7-
lo_src_branch='^distro/collabora/co-2021$'
8-
lo_src_commit='' #the short/full id of a git commit
7+
lo_src_branch='distro/collabora/co-22.05'
8+
lo_src_commit=''
99
lo_dir="/opt/libreoffice"
10-
lo_forcebuild=false # force compilation
11-
lo_non_free_ttf=true # add Microsoft fonts to Ubuntu
10+
lo_forcebuild=true
11+
lo_non_free_ttf=true
1212

1313
#### POCO parameters ###
1414
poco_version=$poco_version_latest #latest releases available
1515
poco_forcebuild=false
1616

1717
#### LibreOffice Online parameters ###
1818
cool_src_repo="https://github.com/CollaboraOnline/online.git"
19+
lool_src_branch='master'
20+
lool_src_tag='cp-22.05.4-1'
1921
cool_dir="/opt/cool"
2022
cool_configure_opts="--disable-werror --with-lokit-path=${lo_dir}/include"
2123
cool_logfile='/var/log/coolwsd.log'
@@ -25,4 +27,4 @@ cool_localstatedir='/var'
2527
cool_forcebuild=true
2628
cool_maxcon=200
2729
cool_maxdoc=100
28-
coolwsd_service_name='coolwsd' # system name for the cool web socket daemon
30+
coolwsd_service_name='coolwsd'

0 commit comments

Comments
 (0)