Error with Links (Flatpak build)

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Error with Links (Flatpak build)

Douglas Summers
(Evolution 3.28 [flatpak], flatpak 0.11.7, Linux Mint 18.3)

Referencing this site (https://wiki.gnome.org/Apps/Evolution/Flatpak),
I built Evolution 3.28. Other than a few warnings, the build seemed to
go OK. After successfully creating an account, I tried to click on a
link within a message and got this error:

GDBus.Error: org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freedesktop.portal.Desktop was not provided by any .service files.
In response to a post on the flatpak mailing list, I was told that I
needed to install the xdg-desktop-portal packages, but on both systems
they are present. This issue only happens with Evolution and not any
other flatpak apps.

Has anyone seen this? Mint only has Evolution 3.18; not exactly a new
release.
_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Error with Links (Flatpak build)

Milan Crha
On Wed, 2018-06-13 at 12:50 -0700, Douglas Summers wrote:
> ... https://wiki.gnome.org/Apps/Evolution/Flatpak ...
> ...
> GDBus.Error: org.freedesktop.DBus.Error.ServiceUnknown: The name
> org.freedesktop.portal.Desktop was not provided by any .service
> files.

        Hi,
as is written on the page you referenced, Evolution in flatpak runs as
a pure sandbox, which also means that it doesn't talk to local
services. Other flatpak applications do not do that, they even rely on
local services, like for example gnome-contacts or gnome-calendar,
which build against certain version of evolution-data-server, but then
talk to the local service over D-Bus, which means that if you require
any change in the calendar/book backend you won't get it in flatpak
unless you run patched version on the local machine. Evolution is
different and it has such price.

What you'd need is a D-Bus session which would be able to "proxy"
requests to another D-Bus session. It wasn't possible in time when I've
been creating that wiki page and the flatpak build script. Maybe it
changed during the past months (like with the portals), I do not know.
        Bye,
        Milan
_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Error with Links (Flatpak build)

Douglas Summers
On Thu, 2018-06-14 at 09:00 +0200, Milan Crha wrote:

> On Wed, 2018-06-13 at 12:50 -0700, Douglas Summers wrote:
> >
> > ... https://wiki.gnome.org/Apps/Evolution/Flatpak ...
> > ...
> > GDBus.Error: org.freedesktop.DBus.Error.ServiceUnknown: The name
> > org.freedesktop.portal.Desktop was not provided by any .service
> > files.
> Hi,
> as is written on the page you referenced, Evolution in flatpak runs
> as
> a pure sandbox, which also means that it doesn't talk to local
> services. Other flatpak applications do not do that, they even rely
> on
> local services, like for example gnome-contacts or gnome-calendar,
> which build against certain version of evolution-data-server, but
> then
> talk to the local service over D-Bus, which means that if you require
> any change in the calendar/book backend you won't get it in flatpak
> unless you run patched version on the local machine. Evolution is
> different and it has such price.
>
> What you'd need is a D-Bus session which would be able to "proxy"
> requests to another D-Bus session. It wasn't possible in time when
> I've
> been creating that wiki page and the flatpak build script. Maybe it
> changed during the past months (like with the portals), I do not
> know.
> Bye,
> Milan

Thanks for the reply. What's weird is that when I first tried this
(Fedora 27 & Evolution 3.26) it worked; it was actually my first test
of the flatpak build system.
_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Error with Links (Flatpak build)

Gnome Evolution - General mailing list
In reply to this post by Douglas Summers
On Wed, 2018-06-13 at 12:50 -0700, Douglas Summers wrote:
> Referencing this site (https://wiki.gnome.org/Apps/Evolution/Flatpak)
> ...
>
> GDBus.Error: org.freedesktop.DBus.Error.ServiceUnknown: The name
> org.freedesktop.portal.Desktop was not provided by any .service
> files.

        Hi,
I've a little follow up, which is possibly useless for you, but I
thought of spreading the news this way, just in case anyone else will
search the archives and might find this information useful:

Shortly after the 3.30.0 release the Flatpak build script changed and
also some other things in the background. One of the main news is that
Evolution built as described on the Wiki page referenced above still
runs as a sandbox and uses the latest evolution-data-server D-Bus
services, but it is also able to talk to selected D-Bus services from
the host system, thus it currently integrates with GNOME Online
Accounts, it is able to show notifications and it can read/write files
from the host system using the org.freedesktop.portal.Desktop interface
(which provides also access to printers and many other parts of the
host system). To have it working, just download the Flatpak build
script and rebuild evolution from scratch (the previous build script
will not make it work this way).

It's possible I missed some D-Bus interfaces, thus in case anyone finds
an issue, just let me know (can be through [1]) and I'll add it if
possible.

There's also a chance Evolution will be added to Flathub some time
soon, but it's not decided yet. We'll see.
        Bye,
        Milan

[1] https://gitlab.gnome.org/GNOME/evolution/issues/new

_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list