Subject: Re: [bug#51924] [PATCH] gnu: Add postmarketos-tweaks.

From: Maxim Cournoyer <[email-masked]>
Date: Wed, 23 Apr 2025 20:55:15 +0900

Hi,

phodina <[email-masked]> writes:

> Hi,
>
> here's patch for tool similar to gnome-tweaks just for mobile devices.
>
> There is hardcoded location /etc/postmarket for polkit. Should this be substituted for different location in a similar manner as with udev which looks in out/lib/udev?

The polkit actions are installed under:

--8<---------------cut here---------------start------------->8---
/gnu/store/ql9mygxdw0pl5cvd666l2f4q3sqgb8fd-postmarketos-tweaks-0.13.2/share/polkit-1
/gnu/store/ql9mygxdw0pl5cvd666l2f4q3sqgb8fd-postmarketos-tweaks-0.13.2/share/polkit-1/actions
/gnu/store/ql9mygxdw0pl5cvd666l2f4q3sqgb8fd-postmarketos-tweaks-0.13.2/share/polkit-1/actions/org.postmarketos.Tweaks.policy
--8<---------------cut here---------------end--------------->8---

That's the normal location and our polkit service is happy with it.

> * gnu/packages/gnome.scm (postmarketos-tweaks): New variable.

I just pushed a modernized version, which I placed in the gnome-xyz
module instead of gnome, and fixed the license to lgpl3+ (the + is
important :-)).

Also updated it to the latest version among other improvements.  Please
see commit 699ce22ed81.

Closing, at last!

-- 
Thanks,
Maxim