DesktopEditors icon indicating copy to clipboard operation
DesktopEditors copied to clipboard

[Feature request] Package/Port for FreeBSD

Open Peter2121 opened this issue 8 years ago • 22 comments

Please, prepare packages/ports of community edition (server) and desktop edition for FreeBSD.

Peter2121 avatar Feb 21 '17 15:02 Peter2121

do you mean CommunityServer and DesktopEditors? there is portable version of editors. is it suitable for you?

maxkadushkin avatar Mar 10 '17 10:03 maxkadushkin

The most interesting thing is DesktopEditors. The portable version is built for Linux x64, not for FreeBSD. Maybe, using Linux x64 compatibility layer it could be run on FreeBSD 11. Certainly, it does not work on FreeBSD 10.3 (my workstation), probably because x64 ELF files cannot be run on this version of FreeBSD. Anyway, using Linux binaries on FreeBSD stays tricky, it is not intended for end user. I don't think that recompiling OnlyOffice DesktopEditors for FreeBSD could be really difficult, as it seems that all the components are available on FreeBSD. So, please, recompile it for FreeBSD.

Peter2121 avatar Mar 13 '17 13:03 Peter2121

Or do the work necessary to get it into the ports system.

beatgammit avatar May 08 '17 03:05 beatgammit

I'll give my own input (sorry for dramatic presentation, I've had some unhappy hours trying to make it work):

I've encountered a pretty viable scenario when I needed CommunityServer on FreeBSD. Here's why:

  1. I've hacked up home NAS for family and personal/freelance use.
  2. The most popular NAS for the task is FreeNAS - which is FreeBSD-based.
  3. Having a personal cloud for collaboration projects is very sueful - thus, NextCloud on FreeNAS...
  4. There is ONLYOFFICE integration for NextCloud which allows me and my family/collegues use Google Sheets/Text/Whatever-like functionality without google. On my infrastructure. Which is good.
  5. <OOPS!> ONLYOFFICE wants CommunityServer. :(
  6. I did managed to launch rancher+docker+CommunityServer and configure it. AND IT WORKED!!! :)
  7. But if only it would be possible to run Server natively - then I could make a complete, good FreeNAS OO CommunityServer plugin - and all the pain would go away in 1 click (yep, rancher didn't survive system upgrade, while plugins did and I'm not happy with it)

Some could say "You've picked a bad OS - not OO problem". My position is - "Would you like to get FreeNAS users - make it work in jail".

GaroRobe avatar Sep 14 '18 13:09 GaroRobe

@GaroRobe I think your comment is misplaced, it should be in https://github.com/ONLYOFFICE/DocumentServer/issues/79 or new issue in https://github.com/ONLYOFFICE/CommunityServer/issues if you really mean CommunityServer, not DocumentServer

ShockwaveNN avatar Sep 14 '18 13:09 ShockwaveNN

Any news on this?

pixel8383 avatar Jun 10 '19 15:06 pixel8383

@pixel8383 Sorry, no news

ShockwaveNN avatar Jun 10 '19 15:06 ShockwaveNN

We need ONLYOFFICE for *BSD, please.

ericprd avatar Nov 27 '19 03:11 ericprd

+1 The reason is simple: OnlyOffice conveys a higher degree of compatibility with an Microsoft Office that diverts more and more from the OpenDocument Standard, so in a mixed collaborative environment OnlyOffice is better suited to interact smoothly with Microsoft Office users than LibreOffice - as much as I love to use LibreOffice, too!

chlarsen avatar Dec 20 '19 19:12 chlarsen

I spent many hours trying to only compile the DocumentServer part of onlyoffice. It was nearly a success before I discovered that onlyoffice needs some node.js packages which are obsolete, unmaintained and thus unavailable for FreeBSD. Before that I had to update tens and tens of source code files, Makefiles etc. in order to get it compiling. This work is really boring and can't be finished until OnlyOffice uses still maintained external packages. Moreover I can't believe that someone will accept to do this job each time a new release of OnlyOffice is out. The only solution would be that OnlyOffice accepts these patches in order to natively support FreeBSD.

Last but not least I tried many ways in order to use the linux binaries into FreeBSD through the compat layer. It does not works.

At the end there is two solution:

  • the ugly one: use virtualbox with a linux distribution in order to get it working
  • the best one: convince OnlyOffice to natively support FreeBSD (but I don't think they'll accept even if we send to them patches for that purpose..)

Teetoow avatar Jan 29 '20 12:01 Teetoow

Happy to see that someone is trying to build it. I'm surprised to know that OnlyOffice uses unmaintained node.js packages. I think that you can open an issue about the subject, as unmaintained=insecure, and it is not really good for a web application. IMHO, we cannot know if OnlyOffice accepts FreeBSD compatibility patches if nobody sends them ;)

Peter2121 avatar Jan 29 '20 12:01 Peter2121

Yeah you're right @Peter2121. I stopped trying to work on it because of a lack of time and these node.js problems. It was the last summer.. Now I had to redo the job from the beginning.. I also sent a feature request to DocumentServer authors. I'll see their answer. I won't be able to try it again before this summer.. It's definitely a big job to do. Or I hope that someone else will do it :)

Teetoow avatar Jan 29 '20 12:01 Teetoow

Follow the FreeBSD patches I wrote here: https://github.com/ONLYOFFICE/DocumentServer/issues/79

Teetoow avatar Jul 21 '21 01:07 Teetoow

@Teetoow Thank you for your efforts! May I inquire information about the current state of getting the DocumentServer and the desktop software running on FreeBSD?

Tectu avatar Nov 03 '21 16:11 Tectu

DocumentServer works like a Charm under FreeBSD with my patches. I use it everyday. About desktop software I don't know (and I don't think it will compile) since I don't use it (and as far as I can see, I'm the only one who try to get patches for FreeBSD..)

Teetoow avatar Nov 04 '21 16:11 Teetoow

My only reason staying on Linux now is OnllyOffice DesktopEditors have no port for FreeBSD, and I find it most compatible with MS formats... please, someone make FreeBSD port...

srdjanpavlovic avatar Jun 18 '22 14:06 srdjanpavlovic

please, someone make FreeBSD port...

I can certainly help with the port itself. However, I assume that getting upstream to build on FreeBSD is going to be the time consuming effort. Any takers?

Tectu avatar Jun 18 '22 14:06 Tectu

I'm very interested in getting ONLYOFFICE/DesktopEditors ported to FreeBSD too. Reading instructions here, I tried to build on a FreeBSD machine, but ONLYOFFICE/build_tools at this moment are only available for these platforms: https://github.com/ONLYOFFICE/build_tools/tree/master/tools.

Thus I guess we need to port Linux build tools to FreeBSD. I am not able to do this, neither I know someone who can, but I can sponsor the work of someone who is. If you are or know someone able to do that, please contact me to talk about it, thanks!

andrewhotlab avatar Nov 07 '23 10:11 andrewhotlab