Saturday, April 03, 2021

Re: mail/geary: RUN_DEPENDS on x11/gnome/keyring?

On Sat, Apr 03, 2021 at 08:56:43AM +0200, Caspar Schutijser wrote:
> Hi,
>
> I wanted to try out the Geary mail client. I installed it and tried to
> run it:
>
> $ geary
> *[wrn] 08:45:55.0449 geary:application-certificate-manager.vala:74: No GCR slot URIs found, GCR certificate pinning unavailable
> *[wrn] 08:45:55.0822 geary:application-client.vala:947: Error creating controller: The name org.freedesktop.secrets was not provided by any .service files
>
> Once I installed gnome-keyring, Geary was willing to start. Not 100%
> sure if the diff below is the way to go though.

Thanks.
It's a bit more complicated than that in the way that geary requires a secret
API implementation (org.freedesktop.secrets).
gnome-keyring provides one indeed, but so do keepassxc and I wouldn't be
surprise if KDE or others provided their own as well.

Soooo maybe something like:

# org.freedesktop.secrets
RUN_DEPENDS += gnome-keyring-*|keepassxc-*:x11/gnome/keyring


> Thanks,
> Caspar
>
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/mail/geary/Makefile,v
> retrieving revision 1.64
> diff -u -p -r1.64 Makefile
> --- Makefile 7 Feb 2021 08:03:35 -0000 1.64
> +++ Makefile 3 Apr 2021 06:55:18 -0000
> @@ -4,6 +4,7 @@ COMMENT= email application built around
>
> GNOME_PROJECT= geary
> GNOME_VERSION= 3.38.2
> +REVISION= 0
>
> CATEGORIES= mail
>
> @@ -38,7 +39,8 @@ DEBUG_PACKAGES= ${BUILD_PACKAGES}
> CFLAGS += -std=gnu99
> .endif
>
> -RUN_DEPENDS= devel/iso-codes
> +RUN_DEPENDS= devel/iso-codes \
> + x11/gnome/keyring
>
> BUILD_DEPENDS= devel/appstream-glib \
> devel/iso-codes

--
Antoine

No comments:

Post a Comment