Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package river for openSUSE:Factory checked in at 2023-09-25 20:03:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/river (Old) and /work/SRC/openSUSE:Factory/.river.new.1770 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "river" Mon Sep 25 20:03:33 2023 rev:11 rq:1113341 version:0.2.4+g960 Changes: -------- --- /work/SRC/openSUSE:Factory/river/river.changes 2023-09-20 13:27:11.506351003 +0200 +++ /work/SRC/openSUSE:Factory/.river.new.1770/river.changes 2023-09-25 21:01:42.164952222 +0200 @@ -1,0 +2,13 @@ +Mon Sep 25 03:10: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 river-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: ---- river-portals.conf ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ river.spec ++++++ --- /var/tmp/diff_new_pack.t0AOj7/_old 2023-09-25 21:01:43.400996873 +0200 +++ /var/tmp/diff_new_pack.t0AOj7/_new 2023-09-25 21:01:43.400996873 +0200 @@ -24,6 +24,7 @@ URL: https://github.com/riverwm/river Source: river-%{version}.tar.zst Source1: river-run.sh +Source2: river-portals.conf BuildRequires: libevdev-devel BuildRequires: libpixman-1-0-devel BuildRequires: pkgconfig @@ -55,6 +56,11 @@ Requires: river-riverctl Requires: river-rivertile Recommends: river-contrib +# For file picker and other stuff and for the sway-portal.conf +Recommends: xdg-desktop-portal-gtk + +# Users may want to use XDP-hyprland +# Only suggest XDP-wlroots since river-portals.conf requires it Suggests: xdg-desktop-portal-wlr ExclusiveArch: x86_64 aarch64 riscv64 %{mips64} @@ -143,12 +149,15 @@ # Installing the desktop file for easy login manager access sed -i 's|Exec=river|Exec=river-run.sh|' contrib/river.desktop -install -D -m 0644 contrib/river.desktop %{buildroot}%{_datadir}/wayland-sessions +install -Dpm 0644 contrib/river.desktop %{buildroot}%{_datadir}/wayland-sessions cp -rv contrib %{buildroot}%{_datadir}/river/contrib cp -v %{SOURCE1} %{buildroot}%{_datadir}/river/contrib/ # Install convenient script to run river -install -Dm 0755 %{SOURCE1} %{buildroot}%{_bindir} +install -Dpm 0755 %{SOURCE1} %{buildroot}%{_bindir} + +# XDP >= 0.18.0 requires a portal for the environment and onwards +install -Dpm 0644 -t %{buildroot}%{_datadir}/xdg-desktop-portal/ %{SOURCE2} %files %license LICENSE @@ -158,6 +167,8 @@ %dir %{_datadir}/wayland-sessions %{_datadir}/wayland-sessions/river.desktop %{_mandir}/man1/river.1%{?ext_man} +%dir %{_datadir}/xdg-desktop-portal +%{_datadir}/xdg-desktop-portal/%{name}-portals.conf %files riverctl %{_bindir}/riverctl ++++++ river-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