From f8989ec6fdba157acbe84b63d4a1f10af672c9d99b49378b13f9a683e2841471 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Fri, 18 Mar 2022 10:59:46 +0000 Subject: [PATCH] Accepting request 962648 from home:alarrosa:branches:GNOME:Factory - Update to version 1.14.0: * Add a new "dynamic launcher" portal, which can install .desktop files and accompanying icons after user confirmation. * Rework handling of empty app IDs: In case an empty string app ID is stored in the permission store, this permission is now shared only by apps whose app ID couldn't be determined, rather than all unsandboxed apps. * Use libsystemd (when available) to try to determine the app ID of unsandboxed processes. This is useful since some portals otherwise can't be used by host apps. * Make x-d-p start on session start, which is needed for the dynamic launcher portal to handle rewriting launchers for apps that have been renamed. * Bring back the copy of Flatpak's icon-validator, which was dropped many releases ago. * Icon validation is now required for the notification and dynamic launcher portals (previously it was only done if the "flatpak-validate-icon" binary could be found). * document-portal: Move to the libfuse3 API * document-portal: Use renameat2 sys call * document-portal: Use mutex to fix concurrency bug * realtime: Fix error code paths * realtime: Fix MakeThreadHighPriorityWithPID method * screencast: Fix an error when restoring streams * ci: Various improvements * Documentation improvements * New translations: pt, ro - Replace BuildRequires: pkgconfig(fuse) with pkgconfig(fuse3) since document-portal moved to use it. - Add BuildRequires: pkgconfig(libsystemd) and OBS-URL: https://build.opensuse.org/request/show/962648 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/xdg-desktop-portal?expand=0&rev=47 --- xdg-desktop-portal-1.12.1.tar.xz | 3 --- xdg-desktop-portal-1.14.0.tar.xz | 3 +++ xdg-desktop-portal.changes | 35 ++++++++++++++++++++++++++++++++ xdg-desktop-portal.spec | 7 +++++-- 4 files changed, 43 insertions(+), 5 deletions(-) delete mode 100644 xdg-desktop-portal-1.12.1.tar.xz create mode 100644 xdg-desktop-portal-1.14.0.tar.xz diff --git a/xdg-desktop-portal-1.12.1.tar.xz b/xdg-desktop-portal-1.12.1.tar.xz deleted file mode 100644 index 11c1760..0000000 --- a/xdg-desktop-portal-1.12.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f83e3f37c19d423e7dd5e205deca8560bffb00b1620023bd2536c1d4ff8b4358 -size 484352 diff --git a/xdg-desktop-portal-1.14.0.tar.xz b/xdg-desktop-portal-1.14.0.tar.xz new file mode 100644 index 0000000..1770d3b --- /dev/null +++ b/xdg-desktop-portal-1.14.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5746d95d7a21ceecfb4621035e65702939aac3412a5f05500221c776fb625488 +size 502212 diff --git a/xdg-desktop-portal.changes b/xdg-desktop-portal.changes index 95e0e64..ec8c1ff 100644 --- a/xdg-desktop-portal.changes +++ b/xdg-desktop-portal.changes @@ -1,3 +1,38 @@ +------------------------------------------------------------------- +Fri Mar 18 06:50:05 UTC 2022 - Antonio Larrosa + +- Update to version 1.14.0: + * Add a new "dynamic launcher" portal, which can install .desktop + files and accompanying icons after user confirmation. + * Rework handling of empty app IDs: In case an empty string app + ID is stored in the permission store, this permission is now + shared only by apps whose app ID couldn't be determined, rather + than all unsandboxed apps. + * Use libsystemd (when available) to try to determine the app ID + of unsandboxed processes. This is useful since some portals + otherwise can't be used by host apps. + * Make x-d-p start on session start, which is needed for the + dynamic launcher portal to handle rewriting launchers for apps + that have been renamed. + * Bring back the copy of Flatpak's icon-validator, which was + dropped many releases ago. + * Icon validation is now required for the notification and + dynamic launcher portals (previously it was only done if the + "flatpak-validate-icon" binary could be found). + * document-portal: Move to the libfuse3 API + * document-portal: Use renameat2 sys call + * document-portal: Use mutex to fix concurrency bug + * realtime: Fix error code paths + * realtime: Fix MakeThreadHighPriorityWithPID method + * screencast: Fix an error when restoring streams + * ci: Various improvements + * Documentation improvements + * New translations: pt, ro +- Replace BuildRequires: pkgconfig(fuse) with pkgconfig(fuse3) + since document-portal moved to use it. +- Add BuildRequires: pkgconfig(libsystemd) and + pkgconfig(gdk-pixbuf-2.0) which are now used. + ------------------------------------------------------------------- Sat Mar 5 00:21:38 UTC 2022 - Bjørn Lie diff --git a/xdg-desktop-portal.spec b/xdg-desktop-portal.spec index 73010a5..a0b47f6 100644 --- a/xdg-desktop-portal.spec +++ b/xdg-desktop-portal.spec @@ -17,7 +17,7 @@ Name: xdg-desktop-portal -Version: 1.12.1 +Version: 1.14.0 Release: 0 Summary: A portal frontend service for Flatpak License: LGPL-2.1-or-later @@ -30,7 +30,8 @@ BuildRequires: pkgconfig BuildRequires: systemd-rpm-macros BuildRequires: xmlto BuildRequires: pkgconfig(flatpak) -BuildRequires: pkgconfig(fuse) +BuildRequires: pkgconfig(fuse3) +BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(glib-2.0) @@ -38,6 +39,7 @@ BuildRequires: pkgconfig(json-glib-1.0) BuildRequires: pkgconfig(libgeoclue-2.0) >= 2.5.2 BuildRequires: pkgconfig(libpipewire-0.3) >= 0.2.90 BuildRequires: pkgconfig(libportal) +BuildRequires: pkgconfig(libsystemd) # Break cycle: we buildrequire flatpak, and flatpak has a requires on xdg-desktop-portal #!BuildIgnore: xdg-desktop-portal # xdg-dfesktop-portal calls out to fusermount (in $PATH) (boo#1175899) @@ -101,6 +103,7 @@ export LANG=C.UTF-8 %{_datadir}/dbus-1/services/org.freedesktop.portal.Desktop.service %{_datadir}/dbus-1/services/org.freedesktop.portal.Documents.service %{_libexecdir}/%{name} +%{_libexecdir}/xdg-desktop-portal-validate-icon %{_libexecdir}/xdg-document-portal %{_libexecdir}/xdg-permission-store %{_userunitdir}/%{name}.service