office/onlyoffice-desktopeditors: Updated for version 5.1.29.350.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Alexander Verbovetsky 2018-06-01 11:27:00 +01:00 committed by Willy Sudiarto Raharjo
parent 8518e4b71a
commit 37aad9d681
5 changed files with 16 additions and 61 deletions

View file

@ -10,5 +10,8 @@ suite.
The source code of the ONLYOFFICE Desktop Editors is available on
https://github.com/ONLYOFFICE/DesktopEditors but without a build
instruction, so this script repackages the "Portable" tarball provided
on https://www.onlyoffice.com/download-desktop.aspx
instruction, so this script repackages the .deb package provided
on https://www.onlyoffice.com/download-desktop.aspx and
https://github.com/onlyoffice/desktopeditors/releases
Optional dependency: webcore-fonts

View file

@ -1,6 +0,0 @@
#!/bin/sh
LD_LIBRARY_PATH=./
export LD_LIBRARY_PATH
cd /opt/onlyoffice/desktopeditors/
exec ./DesktopEditors "$@"

View file

@ -1,39 +0,0 @@
[Desktop Entry]
Version=1.0
Name=Desktop Editors
Type=Application
GenericName=ONLYOFFICE Desktop Editors
Comment=Edit office documents
Exec=desktopeditors %F
Terminal=false
Icon=asc-de
Keywords=Text;Document;OpenDocument Text;Microsoft Word;Microsoft Works;odt;doc;docx;rtf;
Categories=Office;WordProcessor;Spreadsheet;Presentation;
MimeType=application/msword;application/vnd.ms-word;application/x-doc;application/rtf;text/rtf;application/vnd.wordperfect;application/wordperfect;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/vnd.ms-word.document.macroenabled.12;application/vnd.openxmlformats-officedocument.wordprocessingml.template;application/vnd.ms-word.template.macroenabled.12;application/msexcel;application/vnd.ms-excel;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.ms-excel.sheet.macroenabled.12;application/vnd.openxmlformats-officedocument.spreadsheetml.template;application/vnd.ms-excel.template.macroenabled.12;application/vnd.ms-excel.sheet.binary.macroenabled.12;text/csv;text/spreadsheet;application/csv;application/excel;application/x-excel;application/x-msexcel;application/x-ms-excel;text/comma-separated-values;text/tab-separated-values;text/x-comma-separated-values;text/x-csv;application/mspowerpoint;application/vnd.ms-powerpoint;application/vnd.openxmlformats-officedocument.presentationml.presentation;application/vnd.ms-powerpoint.presentation.macroenabled.12;application/vnd.openxmlformats-officedocument.presentationml.template;application/vnd.ms-powerpoint.template.macroenabled.12;application/vnd.openxmlformats-officedocument.presentationml.slide;application/vnd.openxmlformats-officedocument.presentationml.slideshow;application/vnd.ms-powerpoint.slideshow.macroEnabled.12;
Actions=NewDocument;
[Desktop Action NewDocument]
Name=New Document
Name[de]=Neues Dokument
Name[fr]=Nouveau document
Name[es]=Documento nuevo
Name[ru]=Создать документ
Exec=desktopeditors --new:doc
Actions=NewSpreadsheet;
[Desktop Action NewSpreadsheet]
Name=New Spreadsheet
Name[de]=Neues Tabellendokument
Name[fr]=Nouveau classeur
Name[es]=Hoja de cálculo nueva
Name[ru]=Создать эл.таблицу
Exec=desktopeditors --new:cell
Actions=NewPresentation;
[Desktop Action NewPresentation]
Name=New Presentation
Name[de]=Neue Präsentation
Name[fr]=Nouvelle présentation
Name[es]=Presentación nueva
Name[ru]=Создать презентацию
Exec=desktopeditors --new:slide

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=onlyoffice-desktopeditors
VERSION=${VERSION:-4.8.7.392}
VERSION=${VERSION:-5.1.29.350}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -48,14 +48,14 @@ OUTPUT=${OUTPUT:-/tmp}
set -e
rm -rf $PKG
mkdir -p $TMP $PKG/opt/onlyoffice $OUTPUT
cd $TMP
tar xvf $CWD/onlyoffice-desktopeditors-x64.tar.gz \
-C $PKG/opt/onlyoffice
mkdir -p $TMP $PKG $OUTPUT
cd $PKG
ar p $CWD/onlyoffice-desktopeditors_amd64.deb data.tar.xz | tar xvJ
mkdir -p usr/bin
install -m 0755 -o root -g root $CWD/desktopeditors usr/bin
rm -f usr/bin/onlyoffice-desktopeditors
cp -L /usr/lib64/libcurl.so.4 \
opt/onlyoffice/desktopeditors/converter/libcurl-gnutls.so.4
for s in 16 24 32 48 64 128 256; do
mkdir -p usr/share/icons/hicolor/${s}x${s}/apps
@ -63,9 +63,6 @@ for s in 16 24 32 48 64 128 256; do
usr/share/icons/hicolor/${s}x${s}/apps/asc-de.png
done
mkdir -p usr/share/applications
install -m 0644 -o root -g root $CWD/desktopeditors.desktop usr/share/applications
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \

View file

@ -1,10 +1,10 @@
PRGNAM="onlyoffice-desktopeditors"
VERSION="4.8.7.392"
VERSION="5.1.29.350"
HOMEPAGE="https://www.onlyoffice.com/apps.aspx"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
DOWNLOAD_x86_64="https://github.com/ONLYOFFICE/DesktopEditors/releases/download/ONLYOFFICE-DesktopEditors-4.8.7-2/onlyoffice-desktopeditors-x64.tar.gz"
MD5SUM_x86_64="2da0c895c40519dd220771ed3907143f"
REQUIRES=""
DOWNLOAD_x86_64="https://github.com/ONLYOFFICE/DesktopEditors/releases/download/ONLYOFFICE-DesktopEditors-5.1.27/onlyoffice-desktopeditors_amd64.deb"
MD5SUM_x86_64="1cc905bd9a40f349cdb21f49d630d6f4"
REQUIRES="gtkglext krb5 ttf-carlito"
MAINTAINER="Alexander Verbovetsky"
EMAIL="alik@ejik.org"