Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sway for openSUSE:Factory checked in 
at 2023-09-25 20:03:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sway (Old)
 and      /work/SRC/openSUSE:Factory/.sway.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sway"

Mon Sep 25 20:03:36 2023 rev:40 rq:1113345 version:1.8.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/sway/sway.changes        2023-07-10 
16:39:54.882547868 +0200
+++ /work/SRC/openSUSE:Factory/.sway.new.1770/sway.changes      2023-09-25 
21:03:14.120274010 +0200
@@ -1,0 +2,13 @@
+Mon Sep 25 02:46:09 UTC 2023 - Soc Virnyl Estela 
<uncomfy+openbuildserv...@uncomfyhalomacro.pl>
+
+- XDP 0.18.0 requires desktop and other environments to have their own 
portals.conf
+  by adding sway-portals.conf, we will avoid some of the problems for portals 
for
+  * File picker -> We default to xdp-gtk since xdp-wlr does not have it.
+  * For screenshots/screenshare, we use the wlr supplied interfaces
+
+  For more information, see 
https://github.com/flatpak/xdg-desktop-portal/issues/1077
+  and the release statement for 0.18.0
+
+  This is a workaround for boo#1215641
+
+-------------------------------------------------------------------

New:
----
  sway-portals.conf

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

Other differences:
------------------
++++++ sway.spec ++++++
--- /var/tmp/diff_new_pack.24T3ZI/_old  2023-09-25 21:03:16.328353774 +0200
+++ /var/tmp/diff_new_pack.24T3ZI/_new  2023-09-25 21:03:16.348354497 +0200
@@ -26,6 +26,7 @@
 Source0:        
https://github.com/swaywm/sway/releases/download/%{version}/%{name}-%{version}.tar.gz
 Source1:        
https://github.com/swaywm/sway/releases/download/%{version}/%{name}-%{version}.tar.gz.sig
 Source2:        
https://emersion.fr/.well-known/openpgpkey/hu/dj3498u4hyyarh35rkjfnghbjxug6b19#/%{name}.keyring
+Source3:        sway-portals.conf
 # PATCH-FIX-UPSTREAM dee032d0a0ecd958c902b88302dc59703d703c7f.patch -- ipc: 
add LIBINPUT_CONFIG_ACCEL_PROFILE_CUSTOM entry
 Patch0:         
https://github.com/swaywm/sway/commit/dee032d0a0ecd958c902b88302dc59703d703c7f.patch
 
@@ -64,6 +65,9 @@
 Recommends:     swaynag
 Recommends:     xdg-desktop-portal-wlr
 
+# For file picker and other stuff and for the sway-portal.conf
+Recommends:     xdg-desktop-portal-gtk
+
 %description
 "SirCmpwn's Wayland window manager" is a work in progress i3-compatible window
 manager for Wayland.
@@ -139,6 +143,9 @@
 install -Dpm 0755 contrib/inactive-windows-transparency.py \
     %{buildroot}%{_bindir}/inactive-windows-transparency
 
+# XDP >= 0.18.0 requires a portal for the environment and onwards
+install -Dpm 0644 -t %{buildroot}%{_datadir}/xdg-desktop-portal/ %{SOURCE3}
+
 %files
 %license LICENSE
 %doc README.md CONTRIBUTING.md
@@ -161,6 +168,8 @@
 %{_datadir}/fish/vendor_completions.d/swaymsg.fish
 %{_datadir}/zsh/site-functions/_sway
 %{_datadir}/zsh/site-functions/_swaymsg
+%dir %{_datadir}/xdg-desktop-portal
+%{_datadir}/xdg-desktop-portal/sway-portals.conf
 
 %files branding-upstream
 %dir %{_sysconfdir}/sway


++++++ sway-portals.conf ++++++
[preferred]
# use xdg-desktop-portal-gtk for every portal interface
default=gtk
# except for the xdg-desktop-portal-wlr supplied interfaces
org.freedesktop.impl.portal.Screencast=wlr
org.freedesktop.impl.portal.Screenshot=wlr
(No newline at EOF)

Reply via email to