@George528 Your log shows that you are using an AUR helper, and this is not supported. Please use makepkg.
Search Criteria
Package Details: onlyoffice-bin 8.2.2-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/onlyoffice-bin.git (read-only, click to copy) |
---|---|
Package Base: | onlyoffice-bin |
Description: | An office suite that combines text, spreadsheet and presentation editors |
Upstream URL: | https://www.onlyoffice.com/ |
Licenses: | AGPL-3.0-only |
Conflicts: | onlyoffice |
Provides: | onlyoffice |
Submitter: | mikalair |
Maintainer: | dbermond (Antiz) |
Last Packager: | Antiz |
Votes: | 233 |
Popularity: | 4.99 |
First Submitted: | 2016-11-17 12:33 (UTC) |
Last Updated: | 2024-11-29 16:48 (UTC) |
Dependencies (18)
- alsa-lib
- curl (curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR)
- desktop-file-utils (desktop-file-utils-gitAUR)
- gst-plugins-base-libs (gst-plugins-base-libs-gitAUR)
- gst-plugins-ugly (gst-plugins-ugly-gitAUR)
- gstreamer (gstreamer-gitAUR)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR)
- libxss
- nspr (nspr-hgAUR)
- nss (nss-hgAUR)
- ttf-carlito (ttf-google-fonts-gitAUR)
- ttf-dejavu (ttf-dejavu-ibAUR, ttf-dejavu-emojilessAUR)
- ttf-liberation (ttf-defenestrationAUR)
- libreoffice (libreoffice-dev-binAUR, libreoffice-fresh, libreoffice-still) (optional) – for OpenSymbol fonts
- otf-takaoAUR (optional) – for japanese Takao fonts
- ttf-ms-fontsAUR (ttf-win7-fontsAUR, ttf-ms-win8AUR, ttf-ms-win8-arabicAUR, ttf-ms-win8-hebrewAUR, ttf-ms-win8-seaAUR, ttf-ms-win8-indicAUR, ttf-ms-win8-japaneseAUR, ttf-ms-win8-koreanAUR, ttf-ms-win8-zh_cnAUR, ttf-ms-win8-zh_twAUR, ttf-ms-win8-thaiAUR, ttf-ms-win8-otherAUR, ttf-ms-win10AUR, fake-ms-fontsAUR, ttf-ms-win10-autoAUR, ttf-ms-win11-autoAUR, ttf-ms-win10-cdnAUR, ttf-ms-win11AUR) (optional) – for Microsoft fonts
Required by (0)
Sources (2)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 .. 14 Next › Last »
dbermond commented on 2024-03-06 01:29 (UTC)
georgerabus commented on 2024-03-05 21:24 (UTC) (edited on 2024-03-05 21:24 (UTC) by georgerabus)
(1/1) reinstalling onlyoffice-bin [######################] 100%
error: could not extract /opt/onlyoffice/desktopeditors/dictionaries/ro_RO/ro_RO.dic (Truncated zstd input)
error: problem occurred while upgrading onlyoffice-bin
error: could not commit transaction
error: failed to commit transaction (transaction aborted)
Errors occurred, no packages were upgraded.
-> error installing: [/home/george/.cache/yay/onlyoffice-bin/onlyoffice-bin-8.0.1-1-x86_64.pkg.tar.zst] - exit status 1
Antiz commented on 2024-02-17 15:37 (UTC) (edited on 2024-02-17 15:50 (UTC) by Antiz)
It was initially done this way to avoid the need of extracting the archive in a buffer directory first and then move the content in $pkgdir when we could just extract it directly in $pkgdir.
Anyway, the package was reworked to allow the patching of the desktop file ;)
However, I'd still like to say that this is an upstream issue that is not specific to this particular AUR package but common to every only-office packages there is (including the official Flatpak one).
The proper way to have this issue fixed once and for all would be to have it addressed on upstream side, which would be beneficial to every only-office downstream packages there is (not only this particular AUR one).
So regardless of this AUR package being now patched, I'd still encourage one to submit this patch to upstream in a pull request or through the upstream issue currently opened on that matter. That would be a helpful step toward a proper fix for that issue :)
bobi commented on 2024-02-17 11:18 (UTC) (edited on 2024-02-17 11:19 (UTC) by bobi)
Maybe you should rather remove the noextract
so that makepkg inflates the whole deb content for you and you can focus only on preparing (e.g., patching some files from the deb) then packaging, instead of chaining two bsdtar calls in prepare()
then package()
to actually extract the content in the first place.
But perhaps there’s a good reason that I’m missing here for not relying on makepkg default extract feature.
Antiz commented on 2024-02-17 08:58 (UTC) (edited on 2024-02-17 09:01 (UTC) by Antiz)
@bobi The desktop file is contained within an archive (itself contained within the deb archive).
The said archive is extracted as part of the package function, and patching files should be done during the prepare function instead.
Once again, since this is a precompiled (-bin) package taken from the .deb archive, we do not have access to sources in prepare() and thus cannot patch anything.
This should be fixed upstream, please submit the patch there instead of here :)
bobi commented on 2024-02-17 08:19 (UTC) (edited on 2024-02-17 08:33 (UTC) by bobi)
@begin-theadventu: Yes, something along that should def be part of the PKGBUILD. That or using a patch file.
That definitely can be integrated in the PKGBUILD since the desktop file exists as-is in the deb archive (expectedly at ./usr/share/applications/onlyoffice-desktopeditors.desktop
)
begin-theadventu commented on 2024-02-17 00:30 (UTC)
@bobi sed -i -E "s|Exec=/usr/bin/onlyoffice-desktopeditors %U|Exec=/usr/bin/onlyoffice-desktopeditors %F|g" onlyoffice-desktopeditors.desktop
bobi commented on 2024-02-16 14:47 (UTC) (edited on 2024-02-17 08:45 (UTC) by bobi)
Alternatively a decent way around would be to patch the .desktop file.
Basically:
9c9
< Exec=/usr/bin/onlyoffice-desktopeditors %U
---
> Exec=/usr/bin/onlyoffice-desktopeditors %F
Confirmed working there: https://forum.endeavouros.com/t/pcmanfm-open-and-save-files-with-onlyoffice/36490
Edit: realized this was also already addressed by @Freed below. This patch is definitely possible here, since desktop files are part of the post-compile files.
dbermond commented on 2023-11-26 01:12 (UTC)
@Freed We cannot patch anything from https://github.com/ONLYOFFICE/desktop-apps/ since this is a pre-compiled (-bin) package. This should be fixed by upstream.
Freed commented on 2023-11-25 08:23 (UTC) (edited on 2023-11-25 08:28 (UTC) by Freed)
How about add a patch like https://github.com/ONLYOFFICE/DesktopEditors/issues/872#issuecomment-1826252473 to fix #872?
And
diff --git a/onlyoffice-desktopeditors.desktop b/onlyoffice-desktopeditors.desktop
index cd71aad..96c6d4a 100644
--- a/onlyoffice-desktopeditors.desktop
+++ b/onlyoffice-desktopeditors.desktop
@@ -6,7 +6,7 @@ GenericName[ru]=Редактор документов
Comment=Edit office documents
Comment[ru]=Редактировать офисные документы
Type=Application
-Exec=/usr/bin/onlyoffice-desktopeditors %U
+Exec=/usr/bin/onlyoffice-desktopeditors %F
Terminal=false
Icon=onlyoffice-desktopeditors
Keywords=Text;Document;OpenDocument Text;Microsoft Word;Microsoft Works;odt;doc;docx;rtf;
Because onlyoffice-desktopeditores only support full path.
Pinned Comments
Antiz commented on 2024-10-17 18:28 (UTC)
This package ships the OnlyOffice Desktop Editor, not the OnlyOffice Document Server.
Please, make sure that you are referring to the correct software when flagging this package out of date :)