From 5922f3ee70c3cc9bf3abcd26e6c4d1b3209b7a88 Mon Sep 17 00:00:00 2001 From: serg-sg Date: Wed, 22 Nov 2023 12:05:21 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20Onlyoffice=20=D0=B4=D0=BE=20=D0=B2=D0=B5?= =?UTF-8?q?=D1=80=D1=81=D0=B8=D0=B8=207.5.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app-office/onlyoffice-bin/Manifest | 6 +- .../onlyoffice-bin-7.2.1.ebuild | 90 ------------------- .../onlyoffice-bin-7.3.0.ebuild | 90 ------------------- .../onlyoffice-bin-7.3.3.ebuild | 90 ------------------- .../onlyoffice-bin-7.4.0.ebuild | 90 ------------------- ....ebuild => onlyoffice-bin-7.5.0-r3.ebuild} | 5 +- ...4.1.ebuild => onlyoffice-bin-7.5.1.ebuild} | 9 +- 7 files changed, 10 insertions(+), 370 deletions(-) delete mode 100644 app-office/onlyoffice-bin/onlyoffice-bin-7.2.1.ebuild delete mode 100644 app-office/onlyoffice-bin/onlyoffice-bin-7.3.0.ebuild delete mode 100644 app-office/onlyoffice-bin/onlyoffice-bin-7.3.3.ebuild delete mode 100644 app-office/onlyoffice-bin/onlyoffice-bin-7.4.0.ebuild rename app-office/onlyoffice-bin/{onlyoffice-bin-7.5.0-r2.ebuild => onlyoffice-bin-7.5.0-r3.ebuild} (95%) rename app-office/onlyoffice-bin/{onlyoffice-bin-7.4.1.ebuild => onlyoffice-bin-7.5.1.ebuild} (92%) diff --git a/app-office/onlyoffice-bin/Manifest b/app-office/onlyoffice-bin/Manifest index 64eb49c..75d5a76 100644 --- a/app-office/onlyoffice-bin/Manifest +++ b/app-office/onlyoffice-bin/Manifest @@ -1,6 +1,2 @@ -DIST onlyoffice-bin-7.2.1_amd64.deb 191529514 BLAKE2B 6edde7f9f02f78b834a1531ae0644da839da1264338f49ddf937019a66de9ada80f821d25450503c9273f6270b953ad61a8b03a5e8814100e115220df88dd6f9 SHA512 1d154611b8bfd4d892272e6d24fb0832e28ebbf41aacf30894d41e8615f88e3e7b4704b2629ed7a3b983daa7bee666bccc78efb3c1749168c70f4a599baeff57 -DIST onlyoffice-bin-7.3.0_amd64.deb 195732428 BLAKE2B cd92ec797b15a5dbcc9a21306834668b3005e152f8e119ef6e9b52ebb8259b0f3eca84d1444bdc2a11212fa92678a897ddbc78bcea3fc2775c9bb3e5215b3e65 SHA512 6f7102ce52e429215f3174d9d8e4f01482bc65d6dc215b25a75ea23e6dc1b91328312a76daf4f4e7d58863143d9bdc525a1af94ec9cd6b03853a3b0556787a3d -DIST onlyoffice-bin-7.3.3_amd64.deb 194296022 BLAKE2B 3f687cd4cfffb742ea078d08b575f3893765f4a82003a52e8645917e3e5f164ed7d547458ee58621dc3cb021bf5bbcc7fa9e88ae5130afac9662c186b256ff1f SHA512 fd3e9a48e488ef8fb8be01f3b1bfeeb87fe1a25d2a81e1716146557cfdf8a3822d36f5a66f43c6cb596d8e072bc1d3407f8320b092d9a1f0e9a54bb9f7920fa8 -DIST onlyoffice-bin-7.4.0_amd64.deb 201997240 BLAKE2B 70a97225f230e84e3dc33a7b94970a2ff93d6140b3e50e4533c2d92b592e956c4f7da65dc80f5414d0d8f75211bc08abe15ea35f8f961052c501619811381131 SHA512 ef1546d3b5b8d4257cb8c22e8a204590663f5e61a8e65f82bf410521b8e9ca13bb6999d13a9c1de241f6a8f8787ab9dfef7f3a2fe061b625b68014937324cd81 -DIST onlyoffice-bin-7.4.1_amd64.deb 202066536 BLAKE2B eb617fadb0bbffcff80d45cfe19e58a163af50d748f183ac09ae5799164bc5c20567c6e8961cfe6e151041df3ce090dd8de9de67b24e9081755cd92363ecfcc3 SHA512 8676d791ad9e32115837ffa060b208072d47b70b001abb2cbaa4fe1ff15265895756ca2bd2ae571b2f03e3af7d923534e5f3bc65f96a7a56052719e8156b6025 DIST onlyoffice-bin-7.5.0_amd64.deb 245586576 BLAKE2B 8689b8ceaee44225718546532bdafed65a4a877011c90e2ca448a9811b053f30975f08527814abe0197494289db859a4ad9c6e0dd6f30f6cb8cf0317643695b8 SHA512 136d722b4e0687433bd4d2d36616f18c9cb8735d48f38edf401b156522cefb51daba0c2b7729f66767c436c527fdfdd9fc27e0f0f678831bfbe31265b09a886e +DIST onlyoffice-bin-7.5.1_amd64.deb 245522054 BLAKE2B 8802308016b9f40e24b438f713b91c4e880eed17393b45848ee534ba81809e6674befd0d17bec9f38ab188aaaf02af24797da6cf77a9c10e376580d9500a6765 SHA512 20321942fcfed23228b38370efbeeb46bdd2792b2a5acaa934c76b380cc557c7daaea81dc7c7f328a13d18c4dc520f1e489d2d5eb5545d5b4c5c0458eebfeec6 diff --git a/app-office/onlyoffice-bin/onlyoffice-bin-7.2.1.ebuild b/app-office/onlyoffice-bin/onlyoffice-bin-7.2.1.ebuild deleted file mode 100644 index e14eace..0000000 --- a/app-office/onlyoffice-bin/onlyoffice-bin-7.2.1.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 2020-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop unpacker pax-utils xdg - -DESCRIPTION="ONLYOFFICE Desktop Editors is an application for editing office documents (text documents, spreadsheets and presentations) from ONLYOFFICE cloud portal on local computer without browser using" -HOMEPAGE="https://www.onlyoffice.com/" -SRC_URI=" - amd64? ( - https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v"${PV}"/onlyoffice-desktopeditors_amd64.deb -> "${P}"_amd64.deb - ) -" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="amd64" -RESTRICT="bindist strip mirror" - -RDEPEND=" - !app-office/onlyoffice - - x11-base/xorg-server - media-plugins/alsa-plugins - || ( - net-misc/curl - net-misc/wget - ) - - media-plugins/gst-plugins-libav - media-libs/gst-plugins-ugly - - app-accessibility/at-spi2-core - app-accessibility/at-spi2-atk - - x11-libs/gtk+:3 - x11-libs/cairo - x11-misc/xdg-utils - - media-fonts/dejavu - media-fonts/liberation-fonts - media-fonts/crosextrafonts-carlito - media-fonts/corefonts - media-fonts/takao-fonts -" - -S=${WORKDIR} -MY_P="onlyoffice" -OPT="opt/${MY_P}" - -src_unpack() { - unpack_deb ${A} -} - - -src_prepare() { - gzip -d usr/share/doc/${MY_P}-desktopeditors/changelog.Debian.gz || die - mkdir -p usr/share/doc/${PF} - mv usr/share/doc/${MY_P}-desktopeditors/changelog.Debian usr/share/doc/${PF}/changelog || die - rm -rf usr/share/doc/${MY_P}-desktopeditors - - mkdir -p usr/share/mime/application - sed -i 's/version="1.0"?>/version="1.0" encoding="utf-8"?>/' ${OPT}/desktopeditors/mimetypes/*.xml - cp -r ${OPT}/desktopeditors/mimetypes/*.xml usr/share/mime/application - - default -} - -src_install() { - mv * "${D}" || die - - for icon in "${D}/${OPT}/desktopeditors/asc-de-"*.png; do - size="${icon##*/asc-de-}" - size=${size%.png} - dodir "/usr/share/icons/hicolor/${size}x${size}/apps" - newicon -s ${size} "$icon" ${MY_P}-desktopeditors.png - done - - fperms +x /opt/onlyoffice/desktopeditors/{DesktopEditors,editors_helper} -} - -pkg_postinst() { - xdg_mimeinfo_database_update - xdg_desktop_database_update -} - -pkg_postrm() { - xdg_desktop_database_update -} diff --git a/app-office/onlyoffice-bin/onlyoffice-bin-7.3.0.ebuild b/app-office/onlyoffice-bin/onlyoffice-bin-7.3.0.ebuild deleted file mode 100644 index e14eace..0000000 --- a/app-office/onlyoffice-bin/onlyoffice-bin-7.3.0.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 2020-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop unpacker pax-utils xdg - -DESCRIPTION="ONLYOFFICE Desktop Editors is an application for editing office documents (text documents, spreadsheets and presentations) from ONLYOFFICE cloud portal on local computer without browser using" -HOMEPAGE="https://www.onlyoffice.com/" -SRC_URI=" - amd64? ( - https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v"${PV}"/onlyoffice-desktopeditors_amd64.deb -> "${P}"_amd64.deb - ) -" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="amd64" -RESTRICT="bindist strip mirror" - -RDEPEND=" - !app-office/onlyoffice - - x11-base/xorg-server - media-plugins/alsa-plugins - || ( - net-misc/curl - net-misc/wget - ) - - media-plugins/gst-plugins-libav - media-libs/gst-plugins-ugly - - app-accessibility/at-spi2-core - app-accessibility/at-spi2-atk - - x11-libs/gtk+:3 - x11-libs/cairo - x11-misc/xdg-utils - - media-fonts/dejavu - media-fonts/liberation-fonts - media-fonts/crosextrafonts-carlito - media-fonts/corefonts - media-fonts/takao-fonts -" - -S=${WORKDIR} -MY_P="onlyoffice" -OPT="opt/${MY_P}" - -src_unpack() { - unpack_deb ${A} -} - - -src_prepare() { - gzip -d usr/share/doc/${MY_P}-desktopeditors/changelog.Debian.gz || die - mkdir -p usr/share/doc/${PF} - mv usr/share/doc/${MY_P}-desktopeditors/changelog.Debian usr/share/doc/${PF}/changelog || die - rm -rf usr/share/doc/${MY_P}-desktopeditors - - mkdir -p usr/share/mime/application - sed -i 's/version="1.0"?>/version="1.0" encoding="utf-8"?>/' ${OPT}/desktopeditors/mimetypes/*.xml - cp -r ${OPT}/desktopeditors/mimetypes/*.xml usr/share/mime/application - - default -} - -src_install() { - mv * "${D}" || die - - for icon in "${D}/${OPT}/desktopeditors/asc-de-"*.png; do - size="${icon##*/asc-de-}" - size=${size%.png} - dodir "/usr/share/icons/hicolor/${size}x${size}/apps" - newicon -s ${size} "$icon" ${MY_P}-desktopeditors.png - done - - fperms +x /opt/onlyoffice/desktopeditors/{DesktopEditors,editors_helper} -} - -pkg_postinst() { - xdg_mimeinfo_database_update - xdg_desktop_database_update -} - -pkg_postrm() { - xdg_desktop_database_update -} diff --git a/app-office/onlyoffice-bin/onlyoffice-bin-7.3.3.ebuild b/app-office/onlyoffice-bin/onlyoffice-bin-7.3.3.ebuild deleted file mode 100644 index e14eace..0000000 --- a/app-office/onlyoffice-bin/onlyoffice-bin-7.3.3.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 2020-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop unpacker pax-utils xdg - -DESCRIPTION="ONLYOFFICE Desktop Editors is an application for editing office documents (text documents, spreadsheets and presentations) from ONLYOFFICE cloud portal on local computer without browser using" -HOMEPAGE="https://www.onlyoffice.com/" -SRC_URI=" - amd64? ( - https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v"${PV}"/onlyoffice-desktopeditors_amd64.deb -> "${P}"_amd64.deb - ) -" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="amd64" -RESTRICT="bindist strip mirror" - -RDEPEND=" - !app-office/onlyoffice - - x11-base/xorg-server - media-plugins/alsa-plugins - || ( - net-misc/curl - net-misc/wget - ) - - media-plugins/gst-plugins-libav - media-libs/gst-plugins-ugly - - app-accessibility/at-spi2-core - app-accessibility/at-spi2-atk - - x11-libs/gtk+:3 - x11-libs/cairo - x11-misc/xdg-utils - - media-fonts/dejavu - media-fonts/liberation-fonts - media-fonts/crosextrafonts-carlito - media-fonts/corefonts - media-fonts/takao-fonts -" - -S=${WORKDIR} -MY_P="onlyoffice" -OPT="opt/${MY_P}" - -src_unpack() { - unpack_deb ${A} -} - - -src_prepare() { - gzip -d usr/share/doc/${MY_P}-desktopeditors/changelog.Debian.gz || die - mkdir -p usr/share/doc/${PF} - mv usr/share/doc/${MY_P}-desktopeditors/changelog.Debian usr/share/doc/${PF}/changelog || die - rm -rf usr/share/doc/${MY_P}-desktopeditors - - mkdir -p usr/share/mime/application - sed -i 's/version="1.0"?>/version="1.0" encoding="utf-8"?>/' ${OPT}/desktopeditors/mimetypes/*.xml - cp -r ${OPT}/desktopeditors/mimetypes/*.xml usr/share/mime/application - - default -} - -src_install() { - mv * "${D}" || die - - for icon in "${D}/${OPT}/desktopeditors/asc-de-"*.png; do - size="${icon##*/asc-de-}" - size=${size%.png} - dodir "/usr/share/icons/hicolor/${size}x${size}/apps" - newicon -s ${size} "$icon" ${MY_P}-desktopeditors.png - done - - fperms +x /opt/onlyoffice/desktopeditors/{DesktopEditors,editors_helper} -} - -pkg_postinst() { - xdg_mimeinfo_database_update - xdg_desktop_database_update -} - -pkg_postrm() { - xdg_desktop_database_update -} diff --git a/app-office/onlyoffice-bin/onlyoffice-bin-7.4.0.ebuild b/app-office/onlyoffice-bin/onlyoffice-bin-7.4.0.ebuild deleted file mode 100644 index 2908d47..0000000 --- a/app-office/onlyoffice-bin/onlyoffice-bin-7.4.0.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 2020-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop unpacker pax-utils xdg - -DESCRIPTION="ONLYOFFICE Desktop Editors is an application for editing office documents (text documents, spreadsheets and presentations) from ONLYOFFICE cloud portal on local computer without browser using" -HOMEPAGE="https://www.onlyoffice.com/" -SRC_URI=" - amd64? ( - https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v"${PV}"/onlyoffice-desktopeditors_amd64.deb -> "${P}"_amd64.deb - ) -" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="~amd64" -RESTRICT="bindist strip mirror" - -RDEPEND=" - !app-office/onlyoffice - - x11-base/xorg-server - media-plugins/alsa-plugins - || ( - net-misc/curl - net-misc/wget - ) - - media-plugins/gst-plugins-libav - media-libs/gst-plugins-ugly - - app-accessibility/at-spi2-core - app-accessibility/at-spi2-atk - - x11-libs/gtk+:3 - x11-libs/cairo - x11-misc/xdg-utils - - media-fonts/dejavu - media-fonts/liberation-fonts - media-fonts/crosextrafonts-carlito - media-fonts/corefonts - media-fonts/takao-fonts -" - -S=${WORKDIR} -MY_P="onlyoffice" -OPT="opt/${MY_P}" - -src_unpack() { - unpack_deb ${A} -} - - -src_prepare() { - gzip -d usr/share/doc/${MY_P}-desktopeditors/changelog.Debian.gz || die - mkdir -p usr/share/doc/${PF} - mv usr/share/doc/${MY_P}-desktopeditors/changelog.Debian usr/share/doc/${PF}/changelog || die - rm -rf usr/share/doc/${MY_P}-desktopeditors - - mkdir -p usr/share/mime/application - sed -i 's/version="1.0"?>/version="1.0" encoding="utf-8"?>/' ${OPT}/desktopeditors/mimetypes/*.xml - cp -r ${OPT}/desktopeditors/mimetypes/*.xml usr/share/mime/application - - default -} - -src_install() { - mv * "${D}" || die - - for icon in "${D}/${OPT}/desktopeditors/asc-de-"*.png; do - size="${icon##*/asc-de-}" - size=${size%.png} - dodir "/usr/share/icons/hicolor/${size}x${size}/apps" - newicon -s ${size} "$icon" ${MY_P}-desktopeditors.png - done - - fperms +x /opt/onlyoffice/desktopeditors/{DesktopEditors,editors_helper} -} - -pkg_postinst() { - xdg_mimeinfo_database_update - xdg_desktop_database_update -} - -pkg_postrm() { - xdg_desktop_database_update -} diff --git a/app-office/onlyoffice-bin/onlyoffice-bin-7.5.0-r2.ebuild b/app-office/onlyoffice-bin/onlyoffice-bin-7.5.0-r3.ebuild similarity index 95% rename from app-office/onlyoffice-bin/onlyoffice-bin-7.5.0-r2.ebuild rename to app-office/onlyoffice-bin/onlyoffice-bin-7.5.0-r3.ebuild index c340364..1d4bf35 100644 --- a/app-office/onlyoffice-bin/onlyoffice-bin-7.5.0-r2.ebuild +++ b/app-office/onlyoffice-bin/onlyoffice-bin-7.5.0-r3.ebuild @@ -3,13 +3,14 @@ EAPI=8 -inherit desktop unpacker pax-utils xdg +inherit desktop unpacker xdg DESCRIPTION="ONLYOFFICE Desktop Editors is an application for editing office documents (text documents, spreadsheets and presentations) from ONLYOFFICE cloud portal on local computer without browser using" HOMEPAGE="https://www.onlyoffice.com/" SRC_URI=" amd64? ( - https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v"${PV}"/onlyoffice-desktopeditors_amd64.deb -> "${P}"_amd64.deb + https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v"${PV}"/onlyoffice-desktopeditors_amd64.deb \ + -> "${P}"_amd64.deb ) " diff --git a/app-office/onlyoffice-bin/onlyoffice-bin-7.4.1.ebuild b/app-office/onlyoffice-bin/onlyoffice-bin-7.5.1.ebuild similarity index 92% rename from app-office/onlyoffice-bin/onlyoffice-bin-7.4.1.ebuild rename to app-office/onlyoffice-bin/onlyoffice-bin-7.5.1.ebuild index edc002a..1d4bf35 100644 --- a/app-office/onlyoffice-bin/onlyoffice-bin-7.4.1.ebuild +++ b/app-office/onlyoffice-bin/onlyoffice-bin-7.5.1.ebuild @@ -3,19 +3,21 @@ EAPI=8 -inherit desktop unpacker pax-utils xdg +inherit desktop unpacker xdg DESCRIPTION="ONLYOFFICE Desktop Editors is an application for editing office documents (text documents, spreadsheets and presentations) from ONLYOFFICE cloud portal on local computer without browser using" HOMEPAGE="https://www.onlyoffice.com/" SRC_URI=" amd64? ( - https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v"${PV}"/onlyoffice-desktopeditors_amd64.deb -> "${P}"_amd64.deb + https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v"${PV}"/onlyoffice-desktopeditors_amd64.deb \ + -> "${P}"_amd64.deb ) " LICENSE="AGPL-3" SLOT="0" KEYWORDS="~amd64" +IUSE="help" RESTRICT="bindist strip mirror" RDEPEND=" @@ -46,6 +48,8 @@ RDEPEND=" media-fonts/crosextrafonts-carlito media-fonts/corefonts media-fonts/takao-fonts + + help? ( app-office/onlyoffice-help-bin ) " S=${WORKDIR} @@ -56,7 +60,6 @@ src_unpack() { unpack_deb ${A} } - src_prepare() { gzip -d usr/share/doc/${MY_P}-desktopeditors/changelog.Debian.gz || die mkdir -p usr/share/doc/${PF}