Accepting request 1236256 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1236256 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xdg-desktop-portal?expand=0&rev=44
This commit is contained in:
commit
ff7c6f3e80
29
fix-test-dependencies.patch
Normal file
29
fix-test-dependencies.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
From 542d5095b12df6a0ffa667b6d84e5196724c2583 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Sebastian Wick <sebastian.wick@redhat.com>
|
||||||
|
Date: Mon, 23 Dec 2024 11:50:31 +0100
|
||||||
|
Subject: [PATCH] build/tests: Check for python found and version in single
|
||||||
|
require call
|
||||||
|
|
||||||
|
We can only use the python object if it was found and the arguments for
|
||||||
|
require are all evaluated, even if the resulting feature is disabled.
|
||||||
|
|
||||||
|
Fixes: 1c6dd182 ("tests: Check for required WAV decoder for notification tests")
|
||||||
|
Closes: https://github.com/flatpak/xdg-desktop-portal/issues/1547
|
||||||
|
---
|
||||||
|
tests/meson.build | 3 +--
|
||||||
|
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/tests/meson.build b/tests/meson.build
|
||||||
|
index bbda18512..0196e6a56 100644
|
||||||
|
--- a/tests/meson.build
|
||||||
|
+++ b/tests/meson.build
|
||||||
|
@@ -284,8 +284,7 @@ python = pymod.find_installation(
|
||||||
|
|
||||||
|
enable_pytest = get_option('pytest') \
|
||||||
|
.require(pytest.found()) \
|
||||||
|
- .require(python.found()) \
|
||||||
|
- .require(python.language_version().version_compare('>=3.9'),
|
||||||
|
+ .require(python.found() and python.language_version().version_compare('>=3.9'),
|
||||||
|
error_message: 'Python version >=3.9 is required') \
|
||||||
|
.require(umockdev_dep.found()) \
|
||||||
|
.require(have_wav_parse,
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7f0cf40bfa9633020854a431ed694a3c4038d2d3b2af92e8d99e255b65e395a1
|
|
||||||
size 1145912
|
|
3
xdg-desktop-portal-1.19.1.tar.xz
Normal file
3
xdg-desktop-portal-1.19.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a09ad4d8b0697b6670ce75437b61a620373641625b4e505c4a012273f5000cea
|
||||||
|
size 1174532
|
@ -1,3 +1,41 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 9 14:28:44 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 1.19.1 (boo#1235025):
|
||||||
|
+ New Features:
|
||||||
|
- Introduce the Notification v2 portal. This updated version of
|
||||||
|
the Notification portal supports a plethora of new fields for
|
||||||
|
notifications, such as sounds, categories, purpose, and more.
|
||||||
|
- Introduce the USB portal. This portal allows apps with
|
||||||
|
relevant permissions to enumerate and acquire access to
|
||||||
|
specific USB devices.
|
||||||
|
- Introduce a new SchemeSupported method to the OpenURI portal.
|
||||||
|
This new method allows apps to know ahead of time if the host
|
||||||
|
system is able to deal with a particular scheme.
|
||||||
|
+ Enhancements:
|
||||||
|
- Continued the move towards Python-based tests. This should
|
||||||
|
simplify the test setup in the project quite significantly,
|
||||||
|
and also will allow removing the cyclic dependency between
|
||||||
|
libportal and XDG Desktop Portal.
|
||||||
|
- Introduce umockdev-based tests.
|
||||||
|
- Improve the icon validator so it can deal with memfd-based
|
||||||
|
icons.
|
||||||
|
- Clarify behavior of the Settings portal for non-standardized
|
||||||
|
keys.
|
||||||
|
- In the Global Shortcuts portal, clarify that the result the
|
||||||
|
BindShortcuts of may be a subset of all requested shortcuts.
|
||||||
|
- Add a documentation page about icon validation requirements.
|
||||||
|
+ Bug Fixes:
|
||||||
|
- Fix memory leaks in the Background, Email, and Global
|
||||||
|
Shortcuts portals.
|
||||||
|
- Fix a general file descriptor & memory leak.
|
||||||
|
- Fix a regression in the Settings portal.
|
||||||
|
- Updated translations.
|
||||||
|
- Add pkgconfig(gstreamer-pbutils-1.0), gstreamer-plugins-good and
|
||||||
|
gstreamer-utils BuildRequires: New dependencies.
|
||||||
|
- Add fix-test-dependencies.patch: build/tests: Check for python
|
||||||
|
found and version in single require call.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 31 09:03:21 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
|
Tue Dec 31 09:03:21 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package xdg-desktop-portal
|
# spec file for package xdg-desktop-portal
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
|
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -28,7 +28,7 @@
|
|||||||
%define oname xdg-desktop-portal
|
%define oname xdg-desktop-portal
|
||||||
|
|
||||||
Name: %{oname}%{?psuffix}
|
Name: %{oname}%{?psuffix}
|
||||||
Version: 1.19.0
|
Version: 1.19.1
|
||||||
Release: 0
|
Release: 0
|
||||||
%if "%{flavor}" == ""
|
%if "%{flavor}" == ""
|
||||||
Summary: A portal frontend service for Flatpak
|
Summary: A portal frontend service for Flatpak
|
||||||
@ -41,6 +41,8 @@ Supplements: (%{oname}-devel and patterns-base-documentation)
|
|||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
URL: https://github.com/flatpak/xdg-desktop-portal
|
URL: https://github.com/flatpak/xdg-desktop-portal
|
||||||
Source0: %{url}/releases/download/%{version}/%{oname}-%{version}.tar.xz
|
Source0: %{url}/releases/download/%{version}/%{oname}-%{version}.tar.xz
|
||||||
|
# PATCH-FIX-UPSTREAM fix-test-dependencies.patch -- build/tests: Check for python found and version in single require call
|
||||||
|
Patch: fix-test-dependencies.patch
|
||||||
|
|
||||||
BuildRequires: docutils
|
BuildRequires: docutils
|
||||||
BuildRequires: meson >= 0.58
|
BuildRequires: meson >= 0.58
|
||||||
@ -52,6 +54,8 @@ BuildRequires: python3-furo
|
|||||||
BuildRequires: python3-sphinxcontrib-copybutton
|
BuildRequires: python3-sphinxcontrib-copybutton
|
||||||
BuildRequires: python3-sphinxext-opengraph
|
BuildRequires: python3-sphinxext-opengraph
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: gstreamer-plugins-good
|
||||||
|
BuildRequires: gstreamer-utils
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
BuildRequires: xmlto
|
BuildRequires: xmlto
|
||||||
BuildRequires: pkgconfig(flatpak)
|
BuildRequires: pkgconfig(flatpak)
|
||||||
@ -60,10 +64,11 @@ BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
|||||||
BuildRequires: pkgconfig(gio-2.0)
|
BuildRequires: pkgconfig(gio-2.0)
|
||||||
BuildRequires: pkgconfig(gio-unix-2.0)
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
||||||
BuildRequires: pkgconfig(glib-2.0)
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
|
BuildRequires: pkgconfig(gstreamer-pbutils-1.0)
|
||||||
BuildRequires: pkgconfig(json-glib-1.0)
|
BuildRequires: pkgconfig(json-glib-1.0)
|
||||||
BuildRequires: pkgconfig(libgeoclue-2.0) >= 2.5.2
|
BuildRequires: pkgconfig(libgeoclue-2.0) >= 2.5.2
|
||||||
BuildRequires: pkgconfig(libpipewire-0.3) >= 0.2.90
|
BuildRequires: pkgconfig(libpipewire-0.3) >= 0.2.90
|
||||||
BuildRequires: pkgconfig(libportal)
|
BuildRequires: pkgconfig(libportal) >= 0.9.0
|
||||||
BuildRequires: pkgconfig(libsystemd)
|
BuildRequires: pkgconfig(libsystemd)
|
||||||
# Break cycle: we buildrequire flatpak, and flatpak has a requires on xdg-desktop-portal
|
# Break cycle: we buildrequire flatpak, and flatpak has a requires on xdg-desktop-portal
|
||||||
#!BuildIgnore: xdg-desktop-portal
|
#!BuildIgnore: xdg-desktop-portal
|
||||||
@ -146,6 +151,7 @@ rm -fr %{buildroot}/%{_datadir}/{dbus-1,%{oname},locale,pkgconfig} %buildroot%{_
|
|||||||
%dir %{_datadir}/%{name}/portals
|
%dir %{_datadir}/%{name}/portals
|
||||||
%{_libexecdir}/%{name}
|
%{_libexecdir}/%{name}
|
||||||
%{_libexecdir}/xdg-desktop-portal-validate-icon
|
%{_libexecdir}/xdg-desktop-portal-validate-icon
|
||||||
|
%{_libexecdir}/xdg-desktop-portal-validate-sound
|
||||||
%{_libexecdir}/xdg-document-portal
|
%{_libexecdir}/xdg-document-portal
|
||||||
%{_libexecdir}/xdg-permission-store
|
%{_libexecdir}/xdg-permission-store
|
||||||
%{_libexecdir}/xdg-desktop-portal-rewrite-launchers
|
%{_libexecdir}/xdg-desktop-portal-rewrite-launchers
|
||||||
|
Loading…
Reference in New Issue
Block a user