[bug#54434,4/6] gnu: mate-polkit-for-xfce: Unhide package.
Commit Message
From: Brendan Tildesley <mail@brendan.scot>
* gnu/packages/xfce.scm (mate-polkit-for-xfce): Package doesn't
particularly need to be hidden.
[name]: Provide a unique name for this variant.
[description]: Explain packages purpose.
---
gnu/packages/xfce.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
Comments
'Brendan Tildesley schreef op do 17-03-2022 om 19:04 [+1100]:
> - (properties `((hidden? . #t)))))
> + (synopsis "PolicyKit Authentication agent for XFCE")
> + (description (string-append (package-description mate-polkit) "
> +
> +This package variant provides the MATE PolicyKit authentication agent
> +configured to autostart for XFCE. This is because the XFCE project does not
> +have its own official authentication agent, so we pick MATE PolicyKit as a
> +reasonable fit."))))
The description seems rather pointless to me because the package is
hidden (and hence, not visible to "guix show").
It could be put in a comment though. Additionally, as-is, this won't
be picked up for translation, maybe do
(string-append ... (P_ "foo bar ...")) instead.
Greetings,
Maxime.
On 18/3/22 03:36, Maxime Devos wrote:
> 'Brendan Tildesley schreef op do 17-03-2022 om 19:04 [+1100]:
>> - (properties `((hidden? . #t)))))
>> + (synopsis "PolicyKit Authentication agent for XFCE")
>> + (description (string-append (package-description mate-polkit) "
>> +
>> +This package variant provides the MATE PolicyKit authentication agent
>> +configured to autostart for XFCE. This is because the XFCE project does not
>> +have its own official authentication agent, so we pick MATE PolicyKit as a
>> +reasonable fit."))))
> The description seems rather pointless to me because the package is
> hidden (and hence, not visible to "guix show").
I unhid the package as a part of the patch.
> It could be put in a comment though. Additionally, as-is, this won't
> be picked up for translation, maybe do
> (string-append ... (P_ "foo bar ...")) instead.
I'll do that in v2
>
> Greetings,
> Maxime.
Brendan Tildesley schreef op vr 18-03-2022 om 16:10 [+1100]:
> > hidden (and hence, not visible to "guix show").
> I unhid the package as a part of the patch.
OK, I didn't notice.
Greetings,
Maxime.
@@ -911,6 +911,7 @@ (define-public xfce4-terminal
(define-public mate-polkit-for-xfce
(package/inherit mate-polkit
+ (name "mate-polkit-for-xfce")
(arguments
`(#:phases
(modify-phases %standard-phases
@@ -924,7 +925,13 @@ (define-public mate-polkit-for-xfce
(substitute* old (("MATE;") "XFCE;"))
;; To avoid a conflict if both MATE and XFCE are installed.
(rename-file old new)))))))
- (properties `((hidden? . #t)))))
+ (synopsis "PolicyKit Authentication agent for XFCE")
+ (description (string-append (package-description mate-polkit) "
+
+This package variant provides the MATE PolicyKit authentication agent
+configured to autostart for XFCE. This is because the XFCE project does not
+have its own official authentication agent, so we pick MATE PolicyKit as a
+reasonable fit."))))
(define-public xfce
(package