Ana Guerrero 2025-01-22 15:31:32 +00:00 committed by Git OBS Bridge
commit 921cb42d9c
5 changed files with 24 additions and 35 deletions

View File

@ -1,29 +0,0 @@
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,

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a09ad4d8b0697b6670ce75437b61a620373641625b4e505c4a012273f5000cea
size 1174532

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b9bee6eb6b1bba585a057fc33a417741973ab0f0d373a0567225069eebc163ff
size 1184360

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Tue Jan 21 11:56:56 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.19.2:
+ Bug Fixes:
- Fix permission check for host system apps in the Camera
portal.
- Do not expose the Settings portal if there are no backends
available.
- Disable sounds-related notification tests if the project is
built without wavparse.
+ Enhancements:
- Start porting the test suite to Python tests. Once finished,
this should break the cyclic dependency between
xdg-desktop-portal and libportal.
- Install Python-based tests. This is mostly useful for
distributions to run tests as part of their packaging
process.
- Drop fix-test-dependencies.patch: Fixed upstream.
-------------------------------------------------------------------
Thu Jan 9 14:28:44 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -28,7 +28,7 @@
%define oname xdg-desktop-portal
Name: %{oname}%{?psuffix}
Version: 1.19.1
Version: 1.19.2
Release: 0
%if "%{flavor}" == ""
Summary: A portal frontend service for Flatpak
@ -41,8 +41,6 @@ Supplements: (%{oname}-devel and patterns-base-documentation)
License: LGPL-2.1-or-later
URL: https://github.com/flatpak/xdg-desktop-portal
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: meson >= 0.58