[meta-oe][PATCH] xdg-desktop-portal: update 1.20.1 -> 1.21.0

Markus Volk
2026-03-28T00:24:03Z

New Features:

- Add the `has_current_page` and `has_selected_pages` options to the Print
Portal (#1777)
- Allow running the tests with Valgrind's memcheck (#1770)
- Add the `ConfigureShortcuts` method to the Global Shortcuts Portal (#1661)
- Send activation tokens in the actiavated and deactiavated signals on the
Global Shortcuts Portal (#1792)
- Add a new reduced motion setting to the Settings Portal (#1840)
- Support linyaps applications (#1846)
- Add missing cell broadcast severities to the Notification Portal (#1738)

Enhancements:

- Code cleanup (#1574, #1809, #1771, #1727)
- Code refactoring (#1805, #1815, #1819, #1686)
- Documentation improvements (#1712, #1759, #1776, #1795, #1798, #1866)
- New and updated translations (#1735, #1760, #1765, #1774, #1780, #1781,
#1786, #1787, #1789, #1797, #1800, #1801, #1802, #1811, #1833, #1826,
#1852, #1841, #1843, #1851, #1869, #1860, #1788)
- Improve various permission dialog texts (#1769, #1327, #1804)
- Release procedure clarifications (#1710, #1714)
- Updates to ASAN suppressions (#1711)
- Make XdpAppInfo more testable (#1627)
- Use the new `PIDFD_GET_PID_NAMESPACE` ioctl to get the pidns (#1713)
- Improvements to the heuristics to translate a path in the sandbox to a path on
the host (#1571)
- Improve the mocking of the GeoClue service (#1695)
- Make the camera permissions per-App on the host again (#1762)
- Clean up permissions and desktop IDs usage (#1772, #1773)
- Improve PID translations for host Apps (#1785)
- Show an appropriate error when access to remote documents fails (#823)
- Require a valid AppID from apps in `RequestBackground` to enable autostart
(#1793)
- Require a valid AppID from apps to use the Global Shortcuts Portal (#1817)
- Test and document Notification Portal backward compatibilities (#1823)
- Improve the heuristic to detect the App ID for host apps (#1595)
- Add Merge Requirements documentation (#1775)
- Initialize the Secret Portal asynchronously to avoid blocking when the secret
service is not available (#1814)
- Do not allow requesting a zero capability from the Input Capture Portal
(#1880)
- Require GLib version 2.76 and drop the related compatibility code (#1730)

Bug Fixes:

- Fix a crash when loading information from Flatpak apps (#1720)
- Fix fd handling to prevent EBADF errors (#1721)
- Add a fallback code path for GLib older than 2.76 (#1728)
- Don't require a .desktop file for Flatpak and Snap apps (#1729)
- Fix a crash when calling `GlobalShortcuts.BindShortcuts` with an empty list
(#1732)
- Fix a crash when passing Request token handles which contain `-` (#1748)
- Fix tests on systems without access to /proc/cmdline (#1766)
- Stop accidentally running pytests of subprojects (#1767)
- Give up trying to unmount an existing fuse mount when shutting down the
Document Portal (#1799)
- Fix compilation on Debian Testing, caused by a wrong cast (#1625)
- Fix ownership of pidfd for XdpAppInfos (#1810)
- Fix uninitialized variables (#1825)
- Do not give access to read-only USB devices when read-write access was
requested (#1794)
- Do not kill PID 0 and handle races properly (#1864)
- Fix forwarding the `available-source-types` and `available-cursor-modes` from
the backend (#1868)
- Ensure valid WAYLAND_DISPLAY/DISPLAY by launching after the graphical session
target (#1830)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
...-desktop-portal_1.20.3.bb => xdg-desktop-portal_1.21.0.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta-oe/recipes-support/xdg-desktop-portal/{xdg-desktop-portal_1.20.3.bb => xdg-desktop-portal_1.21.0.bb} (93%)

diff --git a/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.20.3.bb b/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.21.0.bb
similarity index 93%
rename from meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.20.3.bb
rename to meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.21.0.bb
index e0aca558fd..cb34441f81 100644
--- a/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.20.3.bb
+++ b/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.21.0.bb
@@ -27,11 +27,11 @@ RDEPENDS:${PN} = "bubblewrap rtkit ${PORTAL_BACKENDS} fuse3-utils"
inherit meson pkgconfig python3native features_check

SRC_URI = " \
- git://github.com/flatpak/xdg-desktop-portal.git;protocol=https;branch=xdg-desktop-portal-1.20 \
+ git://github.com/flatpak/xdg-desktop-portal.git;protocol=https;branch=main;tag=${PV} \
file://0001-meson.build-add-a-hack-for-crosscompile.patch \
"

-SRCREV = "23a76c392170dbbd26230f85ef56c3a57e52b857"
+SRCREV = "d49f4cb0ea1d6ddc02949a9631626668cd7fc4fc"

FILES:${PN} += "${libdir}/systemd ${datadir}/dbus-1"

--
2.53.0