39aldo39 / Evolution-DecSync

Evolution plugin to sync contacts and calendars without a server using DecSync
Other
53 stars 5 forks source link

How to install for flathub Evolution? #21

Open 2e8 opened 4 years ago

2e8 commented 4 years ago

Linux Mint (Ubuntu) repository has only old version of evolution (3.18). It looks like new versions are distributed as flathub only. I have installed Evolution (3.34) from flathub and Evolution-DecSync plugin for this version from deb, but don't see it in plugin list.

39aldo39 commented 4 years ago

Unfortunately the plugin doesn't work for flathub. I'm also looking for other distribution options, but 3.18 is a very old version. Maybe the 3.28 version does work?

2e8 commented 4 years ago

I have tried also the latest 3.34. It also doesn't work.

cizmazia commented 4 years ago

Installing Evolution via Flatpak seems to be the recommended way to get the latest version regardless of the distro. However, I am not familiar with Flatpak in order to be able to configure its sandbox permissions, so that your plugin is visible to Evolution. Any advice?

39aldo39 commented 4 years ago

I don't see where they say that Flatpak is the recommended way. I am also not very familiar with it, but I think Evolution needs to have explicit plugin support for it to be possible (which may be complicated), or it has to be built into Evolution directly. Unfortunately, I don't think it will be supported anytime soon.

cizmazia commented 4 years ago

Thanks for your response.

There seem to be only Flatpak and the source code mentioned on the main page: https://wiki.gnome.org/Apps/Evolution

If we figured out how to make it work with the Flatpaked version that would make your plugin available on any distro.

cizmazia commented 4 years ago

I've attempted to add DecSync to the flatpak build config (but didn't know how to add all build dependencies): https://gitlab.gnome.org/GNOME/evolution/raw/master/flatpak/org.gnome.Evolution-stable.json

39aldo39 commented 4 years ago

How have you tried it so far? Your link is to the original version.

mcrha commented 1 year ago

For what it's worth, once https://github.com/flathub/org.gnome.Evolution/pull/101 is accepted, you'll be able to build an extension for it in a similar way as is suggested here: https://github.com/flathub/org.gnome.Evolution/pull/101/commits/c808b65977955acd2f0fc162482a56d7bf4e94e4 Or something like this (which has lighter dependencies, most of them provided by the org.gnome.Evolution): org.gnome.Evolution.Extension.evolution-ews.json.txt (the .txt. extension doesn't belong there, but this website doesn't let me attach .json files).

mcrha commented 1 year ago

To add to my previous comment, the main problem would be with libdecsync, because it uses unsupported build system by the Flatpak - the only supported build systems are: autotools, cmake, cmake-ninja, meson, simple, qmake at the moment (search for buildsystem at https://docs.flatpak.org/en/latest/flatpak-builder-command-reference.html ). Thus I guess you either need to switch to a supported build system for the library or bundle it: https://docs.flatpak.org/en/latest/dependencies.html#bundling , though bundling is not ideal, from my point of view. Adding the whole build system to the flatpak build is out of question, I believe.

racalle commented 1 year ago

This cappability to use DecSync in flatpak will be perfect for syncing Google Calendar between devices without the need of suffering the privacy problem of installing the Google Play Services on Android

DominiqueSite commented 1 year ago

Support for out-of-tree extensions was added in January this year: https://github.com/flathub/org.gnome.Evolution/pull/108