You are not logged in.
This request for creation a PKGBUILD of OnlyOffice Free Desktop editors.
The GUI-installer which provided by developers doesn't resolve dependencies and uncomfortable for me. I would like to see it in AUR. This is a very good office software, believe me.
There is an old request thread: https://bbs.archlinux.org/viewtopic.php?id=197545
But there are other software and thread is to old. Source code of “desktop editors” was opened recently.
Product page: http://www.onlyoffice.com/apps.aspx
Download page: http://www.onlyoffice.com/download-desktop.aspx
GITHUB: https://github.com/ONLYOFFICE/desktop-apps
Thanks!
Sorry for my bad english. I'm drunk Russian bear.
Offline
This looks like a hugely complex project, yet there's no instructions on how to build it...
Last edited by Alad (2016-11-05 10:36:28)
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
This looks like a hugely complex project, yet there's no instructions on how to build it...
Yes, but maybe someone can repack deb-package for example and make PKGBUILD from binaries...
There is also a developer forum, I think it will help. http://dev.onlyoffice.org/
Last edited by p4r53c (2016-11-05 13:06:36)
Sorry for my bad english. I'm drunk Russian bear.
Offline
Here's a recent ( approx 2 weeks old) thread about it : https://bbs.archlinux.org/viewtopic.php?id=218697
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Here's a recent ( approx 2 weeks old) thread about it : https://bbs.archlinux.org/viewtopic.php?id=218697
Yes, but is install issue thread not PKGBUILD request...
Sorry for my bad english. I'm drunk Russian bear.
Offline
Downloaded the deb package and extracted it.
the bulk of the stuff goes into /opt , a few files( startscript, icon etc) under /usr/bin & /usr/share .
control
Package: onlyoffice-desktopeditors
Version: 4.1.2-33
Architecture: amd64
Section: editors
Maintainer: Ascensio System SIA <support@onlyoffice.com>
#Source: ca-certificates-local
#Build-Depends: debhelper (>= 8.0.0)
Pre-Depends: dpkg (>= 1.14.0)
#FullDepends: x11-common, fonts-dejavu | ttf-dejavu, fonts-opensymbol
Depends: x11-common, libxss1, libcurl3, libgtkglext1 (>=1.0), libcairo2, libstdc++6 (>=4.8), fonts-dejavu | ttf-dejavu, fonts-opensymbol, fonts-liberation, fonts-crosextra-carlito
Recommends: ttf-mscorefonts-installer, fonts-takao-gothic
#Standards-Version: 3.9.4
Priority: optional
Installed-Size: 183024
Description: ONLYOFFICE DesktopEditors installation package
ONLYOFFICE DesktopEditors is an application for editing office documents (text documents, spreadsheets and presentations) from onlyoffice cloud portal on local computer without browser using.
$ ldd libascdocumentscore.so | grep not
libPdfReader.so => not found
libPdfWriter.so => not found
libDjVuFile.so => not found
libXpsFile.so => not found
libHtmlRenderer.so => not found
libcurl-gnutls.so.4 => not found
libgtkglext-x11-1.0.so.0 => not found
libgdkglext-x11-1.0.so.0 => not found
libgconf-2.so.4 => not found
$
The code appears to be a weird mix.
They do supply Qt 5.5 libraries, but also need some gnome/gtk things.
And offcourse there's the old curl version needed.
Figuring out the dependencies will be the hard part.
IF I were to start on this, i'd prob use debtap to create a package, then run namcap on the resulting package to see what is missing .
Last edited by Lone_Wolf (2016-11-07 13:27:41)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Downloaded the deb package and extracted it.
the bulk of the stuff goes into /opt , a few files( startscript, icon etc) under /usr/bin & /usr/share .
control Package: onlyoffice-desktopeditors Version: 4.1.2-33 Architecture: amd64 Section: editors Maintainer: Ascensio System SIA <support@onlyoffice.com> #Source: ca-certificates-local #Build-Depends: debhelper (>= 8.0.0) Pre-Depends: dpkg (>= 1.14.0) #FullDepends: x11-common, fonts-dejavu | ttf-dejavu, fonts-opensymbol Depends: x11-common, libxss1, libcurl3, libgtkglext1 (>=1.0), libcairo2, libstdc++6 (>=4.8), fonts-dejavu | ttf-dejavu, fonts-opensymbol, fonts-liberation, fonts-crosextra-carlito Recommends: ttf-mscorefonts-installer, fonts-takao-gothic #Standards-Version: 3.9.4 Priority: optional Installed-Size: 183024 Description: ONLYOFFICE DesktopEditors installation package ONLYOFFICE DesktopEditors is an application for editing office documents (text documents, spreadsheets and presentations) from onlyoffice cloud portal on local computer without browser using.
$ ldd libascdocumentscore.so | grep not libPdfReader.so => not found libPdfWriter.so => not found libDjVuFile.so => not found libXpsFile.so => not found libHtmlRenderer.so => not found libcurl-gnutls.so.4 => not found libgtkglext-x11-1.0.so.0 => not found libgdkglext-x11-1.0.so.0 => not found libgconf-2.so.4 => not found $
The code appears to be a weird mix.
They do supply Qt 5.5 libraries, but also need some gnome/gtk things.
And offcourse there's the old curl version needed.Figuring out the dependencies will be the hard part.
IF I were to start on this, i'd prob use debtap to create a package, then run namcap on the resulting package to see what is missing .
I requested information about dependencies of the developers on their forum. Let's see what they will say.
Sorry for my bad english. I'm drunk Russian bear.
Offline
EDIT: Sorry, don't mind me - I didn't read well.
EDIT 2: There is a Makefile under desktop-apps/win-linux/package/linux/ on their github page. Does that not work?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
That makefile is focused on creating a deb or rpm pacakge using rpm-build / dpkg-deb and looks like it's not intended to be called standalone .
They do have a project file in desktop-apps/win-linux/ASCDocumentEditor.pro .
In that same folder, desktop-apps/win-linux/defaults.pri mentions qmake several times.
Maybe qmake is able to create a usable makefile from those files.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
That makefile is focused on creating a deb or rpm pacakge using rpm-build / dpkg-deb and looks like it's not intended to be called standalone .
They do have a project file in desktop-apps/win-linux/ASCDocumentEditor.pro .
In that same folder, desktop-apps/win-linux/defaults.pri mentions qmake several times.Maybe qmake is able to create a usable makefile from those files.
I tried building this a while ago and qmake would generate make file. Later would fail to build because it couldn't find PdfReader, DjVuFile and others (the're in 'core' repo). It looks like in order to build this thing you would have to clone several of github-repo-components?
https://github.com/ONLYOFFICE/core
https://github.com/ONLYOFFICE/sdkjs
https://github.com/ONLYOFFICE/desktop-sdk
https://github.com/ONLYOFFICE/DesktopEditors
...
Last edited by metak (2016-11-15 14:23:07)
Offline
It looks like in order to build this thing you would have to clone several of github-repo-components?
i think you're right, check https://github.com/ONLYOFFICE/DesktopEditors
Components
ONLYOFFICE Desktop Editors contain the following components:
desktop-apps - the frontend for ONLYOFFICE Desktop Editors which is used to build the program interface for the operating system selected.
desktop-sdk - SDK which is a core part of ONLYOFFICE Desktop Editors.
core - server core components for ONLYOFFICE Document Server which is a part of ONLYOFFICE Desktop Editors and is used to enable the conversion between the most popular office document formats (DOC, DOCX, ODT, RTF, TXT, PDF, HTML, EPUB, XPS, DjVu, XLS, XLSX, ODS, CSV, PPT, PPTX, ODP).
sdkjs - JavaScript SDK for the ONLYOFFICE Document Server which is a part of ONLYOFFICE Desktop Editors and contains API for all the included components client-side interaction.
web-apps - the frontend for ONLYOFFICE Document Server which is a part of ONLYOFFICE Desktop Editors that allows the user to create, edit, save and export text, spreadsheet and presentation documents using the common interface of a document editor.
That's 5 components and a lot of work.
p4r53c, maybe you can use an alternative like calligra ?
It's supposed to be more compatible with MS Office then LO .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
OK, I've managed to 'whip up' a quick PKGBUILD for portable edition.
Not sure what might be missing from depends since it's a portable edition... but, it works!
# Maintainer: Josip Ponjavic <josipponjavic at gmail dot com>
pkgname=onlyoffice-desktopeditors
pkgver=4.1.2.33
pkgrel=1
pkgdesc='Open-source office suite that combines text, spreadsheet and presentation editors.'
url="https://www.onlyoffice.com/"
license=('AGPL3')
arch=('x86_64')
depends=('desktop-file-utils' 'hicolor-icon-theme')
options=(!strip !zipman)
source=("http://download.onlyoffice.com/install/desktop/editors/linux/${pkgname}-4.1.2-33-x64.tar.gz"
"${pkgname}.desktop")
noextract=("${pkgname}-4.1.2-33-x64.tar.gz")
sha256sums=('ecfb80a9077433c4608268ef6b6bcfcb8f6401c8f503a335f70cac5cf73933d3'
'acc2d206f0faace35e4625ae78881fc0f4439d1c2b190b2ad9d842da859accb2')
#PKGEXT=".pkg.tar"
package() {
install -d -m0755 "$pkgdir"/{opt/onlyoffice,usr/bin}
tar -zxvf ${pkgname}-4.1.2-33-x64.tar.gz -C "$pkgdir"/opt/onlyoffice
# suid sanbox
chmod 4755 "$pkgdir/opt/onlyoffice/desktopeditors/chrome-sandbox"
ln -s "/opt/onlyoffice/desktopeditors/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
for res in 16 24 32 48 64 128 256; do
install -D -m644 "${pkgdir}/opt/onlyoffice/desktopeditors/asc-de-${res}.png" \
"${pkgdir}/usr/share/icons/hicolor/${res}x${res}/apps/asc-de.png"
done
install -Dm644 "${pkgdir}/opt/onlyoffice/desktopeditors/LICENSE.htm" $pkgdir/usr/share/licenses/$pkgname/LICENSE
install -Dm644 "${pkgdir}/opt/onlyoffice/desktopeditors/3DPARTYLICENSE" $pkgdir/usr/share/licenses/$pkgname/3DPARTYLICENSE
}
[Desktop Entry]
Version=1.0
Name=Desktop Editors
Type=Application
GenericName=ONLYOFFICE Desktop Editors
Comment=Edit office documents
Exec=/opt/onlyoffice/desktopeditors/onlyoffice-desktopeditors.sh
Terminal=false
Icon=asc-de
Categories=Office;
#MimeType=text/txt;
Actions=NewEditor;
[Desktop Action NewEditor]
Name=New Editor
Exec=/opt/onlyoffice/desktopeditors/onlyoffice-desktopeditors.sh
Offline
OK, I've managed to 'whip up' a quick PKGBUILD for portable edition.
Not sure what might be missing from depends since it's a portable edition... but, it works!
Yes, it works! Thanks a lot! This PKGBUILD will appear in the AUR?
Sorry for my bad english. I'm drunk Russian bear.
Offline
p4r53c, maybe you can use an alternative like calligra ?
It's supposed to be more compatible with MS Office then LO .
But not enough as OF...
PKGBUILD for portable edition provided by metak is works, I think it's perfect for AUR.
But I don't understand why OF developers do not make GUI-installer for portable edition...
Sorry for my bad english. I'm drunk Russian bear.
Offline
Yes, it works! Thanks a lot! This PKGBUILD will appear in the AUR?
No problem. Sorry, but I really don't want to maintain this package mainly because of two reasons:
1. I don't use it
and
2. frequent upstream releases which means lots of downloads... 240MB per update
I've asked over here if someone wants to maintain it.
https://github.com/ONLYOFFICE/DesktopEditors/issues/2
btw somebody uploaded 'onlyoffice-bin' package which just extracts deb file.
https://aur.archlinux.org/packages/onlyoffice-bin
Offline
I'm interested in a web based collaborative documents editor, but they are either not present on Arch or don't work because of bugs or are outdated.
For example:
Etherpad doesn't support new node.js so cannot be installed
Onlyoffice isn't present in Arch repositories
Nextclouds document editor is buggy as hell and lacks functionality (like even damn support for images)
I'm in a process of creating a server for my school that would allow teachers and students to share documents and collaborate on their notes and homework, but there is a huge lack of opensource/working software.
I hope that there will be a good soul that will fix something up
Offline
I'm interested in a web based collaborative documents editor, but they are either not present on Arch or don't work because of bugs or are outdated.
For example:
Etherpad doesn't support new node.js so cannot be installed
Onlyoffice isn't present in Arch repositories
Nextclouds document editor is buggy as hell and lacks functionality (like even damn support for images)I'm in a process of creating a server for my school that would allow teachers and students to share documents and collaborate on their notes and homework, but there is a huge lack of opensource/working software.
I hope that there will be a good soul that will fix something up
Onlyoffice for you But enterprise server solution only, not desktop.
For server version they have Community Edition open source license.
http://www.onlyoffice.com/enterprise-edition.aspx
Last edited by p4r53c (2016-11-21 08:30:45)
Sorry for my bad english. I'm drunk Russian bear.
Offline
p4r53c wrote:Yes, it works! Thanks a lot! This PKGBUILD will appear in the AUR?
No problem. Sorry, but I really don't want to maintain this package mainly because of two reasons:
1. I don't use it
and
2. frequent upstream releases which means lots of downloads... 240MB per updateI've asked over here if someone wants to maintain it.
https://github.com/ONLYOFFICE/DesktopEditors/issues/2btw somebody uploaded 'onlyoffice-bin' package which just extracts deb file.
https://aur.archlinux.org/packages/onlyoffice-bin
I am very sad about this
onlyoffice-bin package doesn't work correctly, cause it is dummy *.deb repack...
Sorry for my bad english. I'm drunk Russian bear.
Offline
I am very sad about this
onlyoffice-bin package doesn't work correctly, cause it is dummy *.deb repack...
Okay, I've uploaded it to AUR and I'll try to maintain it. If there's anything wrong with the pkgbuild file leave a comment on AUR page.
https://aur.archlinux.org/packages/only … -portable/
Here's a built package in my repo if you don't want to build it yourself.
http://download.opensuse.org/repositori … pkg.tar.xz
Offline
p4r53c wrote:I am very sad about this
onlyoffice-bin package doesn't work correctly, cause it is dummy *.deb repack...
Okay, I've uploaded it to AUR and I'll try to maintain it. If there's anything wrong with the pkgbuild file leave a comment on AUR page.
https://aur.archlinux.org/packages/only … -portable/Here's a built package in my repo if you don't want to build it yourself.
http://download.opensuse.org/repositori … pkg.tar.xz
Thanks x10^256 to you!
Sorry for my bad english. I'm drunk Russian bear.
Offline