Re: PSA: KAccounts now requires two env vars set

2016-01-20 Thread Martin Klapetek
On Tue, Jan 19, 2016 at 12:18 AM, Weng Xuetian  wrote:

> I just wonder whether it is some work for startkde or something to be
> installed under /etc/xdg/plasma-workspace/env/ . If so maybe add a
> file to kaccounts and install it under /etc/xdg/plasma-workspace/env/
> then you won't need to bother packagers to figure out how to make it
> work.
>

Yeah, that could be done. I'll have a look.

Cheers
-- 
Martin Klapetek | KDE Developer


Re: PSA: KAccounts now requires two env vars set

2016-01-19 Thread Martin Gräßlin

Am 2016-01-18 21:06, schrieb Martin Klapetek:

Because of a co-installability issue with other DEs [1]
that use the accounts-sso tech, I had to change the location
of the provider and service files we ship. This was decided
after discussing with upstream.

To make KAccounts/libaccounts actually read those from
the new locations, two new env variables will be needed:

AG_PROVIDERS=/path/to/providers
AG_SERVICES=/path/to/services

So please make sure you add them to your systems.
Distro people - please make sure this is set in Plasma
sessions (and ideally in Plasma sessions only).


Should we add them to startkde and startplasma?

Cheers
Martin


Re: PSA: KAccounts now requires two env vars set

2016-01-18 Thread Weng Xuetian
I just wonder whether it is some work for startkde or something to be
installed under /etc/xdg/plasma-workspace/env/ . If so maybe add a
file to kaccounts and install it under /etc/xdg/plasma-workspace/env/
then you won't need to bother packagers to figure out how to make it
work.

On Mon, Jan 18, 2016 at 12:06 PM, Martin Klapetek
 wrote:
> Because of a co-installability issue with other DEs [1]
> that use the accounts-sso tech, I had to change the location
> of the provider and service files we ship. This was decided
> after discussing with upstream.
>
> To make KAccounts/libaccounts actually read those from
> the new locations, two new env variables will be needed:
>
> AG_PROVIDERS=/path/to/providers
> AG_SERVICES=/path/to/services
>
> So please make sure you add them to your systems.
> Distro people - please make sure this is set in Plasma
> sessions (and ideally in Plasma sessions only).
>
> Your existing accounts should not be affected by this change.
>
> However you won't be able to add new or change accounts
> if you don't have these two env vars set. It's recommended
> to clean rebuild all things installing providers or services
> (currently known to me are ktp-accounts-kcm, kaccounts-providers
> and purpose iirc).
>
> This change will affect the Applications 16.04 release.
>
> [1] - https://bugs.kde.org/show_bug.cgi?id=347219
>
> Cheers
> --
> Martin Klapetek | KDE Developer


PSA: KAccounts now requires two env vars set

2016-01-18 Thread Martin Klapetek
Because of a co-installability issue with other DEs [1]
that use the accounts-sso tech, I had to change the location
of the provider and service files we ship. This was decided
after discussing with upstream.

To make KAccounts/libaccounts actually read those from
the new locations, two new env variables will be needed:

AG_PROVIDERS=/path/to/providers
AG_SERVICES=/path/to/services

So please make sure you add them to your systems.
Distro people - please make sure this is set in Plasma
sessions (and ideally in Plasma sessions only).

Your existing accounts should not be affected by this change.

However you won't be able to add new or change accounts
if you don't have these two env vars set. It's recommended
to clean rebuild all things installing providers or services
(currently known to me are ktp-accounts-kcm, kaccounts-providers
and purpose iirc).

This change will affect the Applications 16.04 release.

[1] - https://bugs.kde.org/show_bug.cgi?id=347219

Cheers
-- 
Martin Klapetek | KDE Developer