Files
void-packages/srcpkgs/xfce-polkit/patches/only-default-xfce.patch
2025-04-14 17:48:22 -07:00

44 lines
1.4 KiB
Diff

From 4f9f6b66a3f5fcef49563efe4b04de050fa86e33 Mon Sep 17 00:00:00 2001
From: paledega <38860643+paledega@users.noreply.github.com>
Date: Sun, 11 Oct 2020 11:33:48 +0000
Subject: [PATCH] Fix conflict with lxpolkit on lxde
---
xfce-polkit.desktop.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/xfce-polkit.desktop.in b/xfce-polkit.desktop.in
index dd9f09c..2121740 100644
--- a/xfce-polkit.desktop.in
+++ b/xfce-polkit.desktop.in
@@ -5,3 +5,4 @@ Comment=Policykit Authentication Agent
Exec=@xfce_polkit_libexecdir@/xfce-polkit
Icon=gtk-dialog-authentication
NotShowIn=GNOME;KDE;
+OnlyShowIn=XFCE;
From d1f3976caa11cbbb3c1cd601a34755a4ed87be41 Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Sun, 13 Apr 2025 12:47:55 -0700
Subject: [PATCH] Don't use both NotShowIn and OnlyShowIn
According to the XDG Autostart specification, the desktop file may have either
NotShowIn or OnlyShowIn but not both. It also doesn't really make much sense
to have both.
https://specifications.freedesktop.org/autostart-spec/0.5/
---
xfce-polkit.desktop.in | 1 -
1 file changed, 1 deletion(-)
diff --git a/xfce-polkit.desktop.in b/xfce-polkit.desktop.in
index 2121740..6fa0245 100644
--- a/xfce-polkit.desktop.in
+++ b/xfce-polkit.desktop.in
@@ -4,5 +4,4 @@ Name=XFCE PolKit
Comment=Policykit Authentication Agent
Exec=@xfce_polkit_libexecdir@/xfce-polkit
Icon=gtk-dialog-authentication
-NotShowIn=GNOME;KDE;
OnlyShowIn=XFCE;