diff options
author | Alexander Verbovetsky <alik@ejik.org> | 2018-06-01 11:27:00 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-06-02 07:32:36 +0700 |
commit | 37aad9d6818f6079c8db19dc162a22f387bf3047 (patch) | |
tree | f94f9fbd6c4c5a057dc48f63b26d9c7509ed1762 /office/onlyoffice-desktopeditors | |
parent | 8518e4b71a16e569e6211b35536895ed3c694159 (diff) | |
download | slackbuilds-37aad9d6818f6079c8db19dc162a22f387bf3047.tar.gz |
office/onlyoffice-desktopeditors: Updated for version 5.1.29.350.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'office/onlyoffice-desktopeditors')
5 files changed, 16 insertions, 61 deletions
diff --git a/office/onlyoffice-desktopeditors/README b/office/onlyoffice-desktopeditors/README index b4974ae119..95d11a9c9c 100644 --- a/office/onlyoffice-desktopeditors/README +++ b/office/onlyoffice-desktopeditors/README @@ -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 diff --git a/office/onlyoffice-desktopeditors/desktopeditors b/office/onlyoffice-desktopeditors/desktopeditors deleted file mode 100644 index 8c625f568f..0000000000 --- a/office/onlyoffice-desktopeditors/desktopeditors +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -LD_LIBRARY_PATH=./ -export LD_LIBRARY_PATH -cd /opt/onlyoffice/desktopeditors/ -exec ./DesktopEditors "$@" diff --git a/office/onlyoffice-desktopeditors/desktopeditors.desktop b/office/onlyoffice-desktopeditors/desktopeditors.desktop deleted file mode 100644 index 6d55ccaec2..0000000000 --- a/office/onlyoffice-desktopeditors/desktopeditors.desktop +++ /dev/null @@ -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 diff --git a/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.SlackBuild b/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.SlackBuild index e9e4a1bf25..222fda62b4 100644 --- a/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.SlackBuild +++ b/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.SlackBuild @@ -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 \ diff --git a/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.info b/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.info index b706c970f6..f0949a6ec6 100644 --- a/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.info +++ b/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.info @@ -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" |