Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package xfce4-session for openSUSE:Factory 
checked in at 2023-10-26 17:15:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xfce4-session (Old)
 and      /work/SRC/openSUSE:Factory/.xfce4-session.new.24901 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xfce4-session"

Thu Oct 26 17:15:18 2023 rev:90 rq:1120589 version:4.18.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/xfce4-session/xfce4-session.changes      
2023-06-01 17:19:46.310249811 +0200
+++ /work/SRC/openSUSE:Factory/.xfce4-session.new.24901/xfce4-session.changes   
2023-10-26 17:16:08.916080258 +0200
@@ -1,0 +2,14 @@
+Thu Oct 26 07:11:11 UTC 2023 - Maurizio Galli <maurizio.ga...@suse.com>
+
+- Added xfce-portals.conf file. XDP 0.18.0 requires desktop and other 
+  environments to have their own portals.conf drop in file and this
+  is a workaround until a better fix lands (boo#1215641)
+  
+- Added xdg-current-desktop-xfce.desktop to autostart to ensure variable
+  XDG_CURRENT_DESKTOP variable is properly exposed to systemd (boo#1215641)
+  
+- Relax requirement of branding package version to prevent
+  xfce4-branding-openSUSE breaking on Leap due to repos being out of sync 
+  (boo#1216470)
+
+-------------------------------------------------------------------

New:
----
  xdg-current-desktop-xfce.desktop
  xfce-portals.conf

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

Other differences:
------------------
++++++ xfce4-session.spec ++++++
--- /var/tmp/diff_new_pack.MjgZi1/_old  2023-10-26 17:16:09.476100826 +0200
+++ /var/tmp/diff_new_pack.MjgZi1/_new  2023-10-26 17:16:09.476100826 +0200
@@ -25,6 +25,8 @@
 Group:          System/GUI/XFCE
 URL:            https://docs.xfce.org/xfce/xfce4-session/start
 Source0:        
https://archive.xfce.org/src/xfce/xfce4-session/4.18/%{name}-%{version}.tar.bz2
+Source1:        xfce-portals.conf
+Source2:        xdg-current-desktop-xfce.desktop
 %if %{with git}
 # PATCH-FIX-OPENSUSE xfce4-session-adapt-session-scripts-git.patch bnc#789057 
maurizio.ga...@gmail.com-- Adapt upstream sessions script to openSUSE.
 Patch0:         xfce4-session-adapt-session-scripts-git.patch
@@ -54,7 +56,7 @@
 BuildRequires:  pkgconfig(polkit-gobject-1) >= 0.102
 BuildRequires:  pkgconfig(sm)
 BuildRequires:  pkgconfig(x11)
-Requires:       %{name}-branding = %{version}
+Requires:       %{name}-branding
 Requires:       systemd
 Requires:       xfce4-settings
 Requires:       xfconf
@@ -73,6 +75,8 @@
 Recommends:     libxfce4ui-tools
 Obsoletes:      libxfsm-4_6-0 < %{version}
 Obsoletes:      xfce4-session-devel < %{version}
+# For flatpaks to work properly (boo#1215641)
+Recommends:     xdg-desktop-portal-gtk
 
 %description
 xfce4-session is the session manager for the Xfce desktop environment.
@@ -108,6 +112,13 @@
 %make_build
 
 %install
+
+# Install xfce-portals.conf (boo#1215641)
+install -Dpm 0644 -t %{buildroot}%{_datadir}/xdg-desktop-portal/ %{SOURCE1}
+
+# Ensure XDG_CURRENT_DESKTOP environment variable is exposed when Xfce starts 
(boo#1215641)
+install -Dpm 0644 -t %{buildroot}%{_sysconfdir}/xdg/autostart %{SOURCE2}
+
 %make_install
 
 %fdupes -s %{buildroot}%{_datadir}/icons/hicolor/*
@@ -147,6 +158,7 @@
 %doc AUTHORS BUGS NEWS README.md TODO
 %config %{_sysconfdir}/xdg/xfce4/Xft.xrdb
 %{_sysconfdir}/xdg/xfce4/xinitrc
+%config %{_sysconfdir}/xdg/autostart/xdg-current-desktop-xfce.desktop
 %{_bindir}/xfce4-session
 %{_bindir}/xfce4-session-logout
 %{_bindir}/xfce4-session-settings
@@ -159,6 +171,8 @@
 %{_datadir}/applications/*.desktop
 %{_datadir}/icons/*/*/*
 %doc %{_mandir}/man1/xfce4-session*.1*
+%dir %{_datadir}/xdg-desktop-portal
+%{_datadir}/xdg-desktop-portal/xfce-portals.conf
 
 %files lang -f %{name}.lang
 

++++++ xdg-current-desktop-xfce.desktop ++++++
[Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=xdg-current-desktop-xfce
Comment=
Exec=sh -c "dbus-update-activation-environment --systemd 
XDG_CURRENT_DESKTOP=$XDG_CURRENT_DESKTOP && systemctl --user restart 
xdg-desktop-portal"
OnlyShowIn=XFCE;
RunHook=0
StartupNotify=false
Terminal=false
Hidden=false


++++++ xfce-portals.conf ++++++
[preferred]
default=gtk;
(No newline at EOF)

Reply via email to