Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package xfce4-power-manager for 
openSUSE:Factory checked in at 2025-01-01 23:08:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xfce4-power-manager (Old)
 and      /work/SRC/openSUSE:Factory/.xfce4-power-manager.new.1881 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xfce4-power-manager"

Wed Jan  1 23:08:26 2025 rev:83 rq:1234145 version:4.20.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/xfce4-power-manager/xfce4-power-manager.changes  
2024-12-31 11:12:49.894888268 +0100
+++ 
/work/SRC/openSUSE:Factory/.xfce4-power-manager.new.1881/xfce4-power-manager.changes
        2025-01-01 23:08:44.098498093 +0100
@@ -1,0 +2,7 @@
+Tue Dec 31 11:08:48 UTC 2024 - Manfred Hollstein <manfre...@gmx.net>
+
+- Add 0002-remove-pm-helper-policy.patch to remove the pm-helper
+  bits from org.xfce.power.policy.in.in; the program is not needed
+  on systems using systemd.
+
+-------------------------------------------------------------------

New:
----
  0002-remove-pm-helper-policy.patch

BETA DEBUG BEGIN:
  New:
- Add 0002-remove-pm-helper-policy.patch to remove the pm-helper
  bits from org.xfce.power.policy.in.in; the program is not needed
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xfce4-power-manager.spec ++++++
--- /var/tmp/diff_new_pack.yHhHSO/_old  2025-01-01 23:08:45.930573330 +0100
+++ /var/tmp/diff_new_pack.yHhHSO/_new  2025-01-01 23:08:45.938573658 +0100
@@ -29,6 +29,8 @@
 Source1:        xfce4-power-manager.xml
 # PATCH-FIX-OPENSUSE 0001-relax-x11-version.patch -- Allow build for Leap with 
its ancient but sufficient X11 packages.
 Patch1:         0001-relax-x11-version.patch
+# PATCH-FIX-OPENSUSE 0002-remove-pm-helper-policy.patch -- Remove pm-helper 
from the polkit policy - see comment about its usage below.
+Patch2:         0002-remove-pm-helper-policy.patch
 BuildRequires:  appstream-glib
 BuildRequires:  fdupes
 BuildRequires:  gettext >= 0.19.8
@@ -110,7 +112,7 @@
 %lang_package
 
 %prep
-%autosetup
+%autosetup -p1
 
 %build
 %if %{with git}

++++++ 0002-remove-pm-helper-policy.patch ++++++
diff -rup a/src/org.xfce.power.policy.in.in b/src/org.xfce.power.policy.in.in
--- a/src/org.xfce.power.policy.in.in   2024-11-21 07:26:21.000000000 +0100
+++ b/src/org.xfce.power.policy.in.in   2024-12-31 12:07:41.787361622 +0100
@@ -28,19 +28,4 @@
     <annotate 
key="org.freedesktop.policykit.exec.path">@sbindir@/xfpm-power-backlight-helper</annotate>
   </action>
 
-  <action id="org.xfce.power.xfce4-pm-helper">
-    <!-- SECURITY:
-          - A normal active user on the local machine does not need permission
-            to suspend or hibernate their system.
-     -->
-    <description>Suspend or hibernate the system</description>
-    <message>Authentication is required to place the system in suspend or 
hibernate mode</message>
-    <defaults>
-      <allow_any>auth_admin</allow_any>
-      <allow_inactive>auth_admin</allow_inactive>
-      <allow_active>yes</allow_active>
-    </defaults>
-    <annotate 
key="org.freedesktop.policykit.exec.path">@sbindir@/xfce4-pm-helper</annotate>
-  </action>
-
 </policyconfig>

Reply via email to