You are not logged in.

#1 2016-11-05 10:32:47

p4r53c
Member
From: Russia/Moscow
Registered: 2016-11-05
Posts: 11

[REQUEST] OnlyOffice Free Desktop editors.

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

#2 2016-11-05 10:36:16

Alad
Wiki Admin/IRC Op/TU
From: Bagelstan
Registered: 2014-05-04
Posts: 2,102
Website

Re: [REQUEST] OnlyOffice Free Desktop editors.

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
Honest Alad's Package Emporium—Now with added bugs! (Grand reopening: December 1st 2018)

Offline

#3 2016-11-05 10:46:25

p4r53c
Member
From: Russia/Moscow
Registered: 2016-11-05
Posts: 11

Re: [REQUEST] OnlyOffice Free Desktop editors.

Alad wrote:

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

#4 2016-11-05 13:18:17

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 8,475

Re: [REQUEST] OnlyOffice Free Desktop editors.

Here's a recent ( approx 2 weeks old) thread about it :  https://bbs.archlinux.org/viewtopic.php?id=218697


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#5 2016-11-05 15:30:17

p4r53c
Member
From: Russia/Moscow
Registered: 2016-11-05
Posts: 11

Re: [REQUEST] OnlyOffice Free Desktop editors.

Lone_Wolf wrote:

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

#6 2016-11-07 13:26:49

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 8,475

Re: [REQUEST] OnlyOffice Free Desktop editors.

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)


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#7 2016-11-15 13:05:11

p4r53c
Member
From: Russia/Moscow
Registered: 2016-11-05
Posts: 11

Re: [REQUEST] OnlyOffice Free Desktop editors.

Lone_Wolf wrote:

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. smile


Sorry for my bad english. I'm drunk Russian bear.

Offline

#8 2016-11-15 13:19:33

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 24,421
Website

Re: [REQUEST] OnlyOffice Free Desktop editors.

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

#9 2016-11-15 13:54:43

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 8,475

Re: [REQUEST] OnlyOffice Free Desktop editors.

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.


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#10 2016-11-15 14:22:26

metak
Member
Registered: 2009-09-27
Posts: 191

Re: [REQUEST] OnlyOffice Free Desktop editors.

Lone_Wolf wrote:

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

#11 2016-11-15 15:04:43

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 8,475

Re: [REQUEST] OnlyOffice Free Desktop editors.

metak wrote:

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 .


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#12 2016-11-15 15:44:57

metak
Member
Registered: 2009-09-27
Posts: 191

Re: [REQUEST] OnlyOffice Free Desktop editors.

OK, I've managed to 'whip up' a quick PKGBUILD for portable edition.  smile
Not sure what might be missing from depends since it's a portable edition... but, it works! smile

# 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

#13 2016-11-16 11:19:10

p4r53c
Member
From: Russia/Moscow
Registered: 2016-11-05
Posts: 11

Re: [REQUEST] OnlyOffice Free Desktop editors.

metak wrote:

OK, I've managed to 'whip up' a quick PKGBUILD for portable edition.  smile
Not sure what might be missing from depends since it's a portable edition... but, it works! smile

Yes, it works! Thanks a lot! This PKGBUILD will appear in the AUR?


Sorry for my bad english. I'm drunk Russian bear.

Offline

#14 2016-11-16 11:41:43

p4r53c
Member
From: Russia/Moscow
Registered: 2016-11-05
Posts: 11

Re: [REQUEST] OnlyOffice Free Desktop editors.

Lone_Wolf wrote:

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... smile

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

#15 2016-11-17 17:50:31

metak
Member
Registered: 2009-09-27
Posts: 191

Re: [REQUEST] OnlyOffice Free Desktop editors.

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 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

#16 2016-11-17 23:41:44

smithinger44
Member
Registered: 2016-01-01
Posts: 45

Re: [REQUEST] OnlyOffice Free Desktop editors.

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 smile

Offline

#17 2016-11-21 08:28:57

p4r53c
Member
From: Russia/Moscow
Registered: 2016-11-05
Posts: 11

Re: [REQUEST] OnlyOffice Free Desktop editors.

smithinger44 wrote:

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 smile

Onlyoffice for you smile  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

#18 2016-11-21 08:44:55

p4r53c
Member
From: Russia/Moscow
Registered: 2016-11-05
Posts: 11

Re: [REQUEST] OnlyOffice Free Desktop editors.

metak wrote:
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 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

I am very sad about this sad

onlyoffice-bin package doesn't work correctly, cause it is dummy *.deb repack...


Sorry for my bad english. I'm drunk Russian bear.

Offline

#19 2016-11-21 17:35:45

metak
Member
Registered: 2009-09-27
Posts: 191

Re: [REQUEST] OnlyOffice Free Desktop editors.

p4r53c wrote:

I am very sad about this sad

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. smile  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

#20 2016-11-22 10:22:55

p4r53c
Member
From: Russia/Moscow
Registered: 2016-11-05
Posts: 11

Re: [REQUEST] OnlyOffice Free Desktop editors.

metak wrote:
p4r53c wrote:

I am very sad about this sad

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. smile  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

Board footer

Powered by FluxBB