From a80b560f08216ee3182bc55046a45f614faa3ba1 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Mon, 6 Nov 2023 09:16:09 +0100 Subject: xdg-desktop-portal: Upgrade 1.18.0 -> 1.18.1 Current meson.build fails if flatpak was not found using pkgconfig ../git/meson.build:203:44: ERROR: Unknown variable "flatpak_dep" Removing -Dflatpak-interfaces-dir setting and relying on pkgconfig for flatpak instead seems to work well in our case and avoids the error above This is a new minor release of xdg-desktop-portal 1.18 series. Users and distributions are strongly encouraged to update to this version. These are the changes included in this release: -Communicate better when the Background portal kills an app -Properly quote Flatpak command in the Background portal -Improve documentation of the "cursor_mode" propery of the ScreenCast backend D-Bus interface -Fix ScreenCast portal removing transient restore permissions too early. This fixes screen sharing dialogs on Chromium asking for the screen multiple times. -Only send the Closed session signal to the sender -Add Meson options to disable building with Bubblewrap, and without the -Flatpak portal documentation. Disabling Bubblewrap is highly discouraged,and only meant to be used on platforms that do not currently support it. By disabling Bubblewrap, bitmap validation happens without a sandbox, which is highly insecure since image parsing is a common source of exploits. Really, just do not disable Bubblewrap please. -Improve the manpage of portals.conf -Various spelling fixes to the Document portal -Add a new website! We don't have a fancy domain yet, but the website can be accessed at https://flatpak.github.io/xdg-desktop-portal/ -Improve pid mapping for host system apps. This should get rid of some rare, unnecessary warnings. -Adjust documentation of Global Shortcuts portal's timestamps to millisecond granularity -Bump minimum Meson version to 0.58 Signed-off-by: Markus Volk Signed-off-by: Khem Raj --- .../xdg-desktop-portal_1.18.0.bb | 49 ---------------------- .../xdg-desktop-portal_1.18.1.bb | 48 +++++++++++++++++++++ 2 files changed, 48 insertions(+), 49 deletions(-) delete mode 100644 meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.18.0.bb create mode 100644 meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.18.1.bb diff --git a/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.18.0.bb b/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.18.0.bb deleted file mode 100644 index b9173a9f3b..0000000000 --- a/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.18.0.bb +++ /dev/null @@ -1,49 +0,0 @@ -SUMMARY = "A portal frontend service for Flatpak and possibly other desktop containment frameworks." -HOMEPAGE = "https://github.com/flatpak/xdg-desktop-portal" -LICENSE = "LGPL-2.1-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" - -REQUIRED_DISTRO_FEATURES = "polkit" - -DEPENDS = " \ - json-glib \ - glib-2.0 \ - flatpak \ - libportal \ - geoclue \ - pipewire \ - fuse3 \ - xmlto-native \ -" - -PORTAL_BACKENDS ?= " \ - ${@bb.utils.contains('DISTRO_FEATURES', 'gtk+3', 'xdg-desktop-portal-gtk', '', d)} \ - ${@bb.utils.contains('DISTRO_FEATURES', 'gtk4', 'xdg-desktop-portal-gtk', '', d)} \ -" - -RDEPENDS:${PN} = "bubblewrap rtkit ${PORTAL_BACKENDS}" - -inherit meson pkgconfig python3native features_check - -SRC_URI = " \ - git://github.com/flatpak/xdg-desktop-portal.git;protocol=https;branch=main \ - file://0001-meson.build-add-a-hack-for-crosscompile.patch \ -" - -S = "${WORKDIR}/git" -SRCREV = "a4b27063222b16652e73b422e5448d75335199ef" - -FILES:${PN} += "${libdir}/systemd ${datadir}/dbus-1" - -EXTRA_OEMESON += " \ - --cross-file=${WORKDIR}/meson-${PN}.cross \ - -Dflatpak-interfaces-dir=${STAGING_DATADIR}/dbus-1/interfaces \ - -Ddbus-service-dir=${datadir}/dbus-1/services \ -" - -do_write_config:append() { - cat >${WORKDIR}/meson-${PN}.cross <${WORKDIR}/meson-${PN}.cross <