Ana Guerrero 2025-02-14 18:19:16 +00:00 committed by Git OBS Bridge
commit 96730c5b83
5 changed files with 29 additions and 36 deletions

View File

@ -1,29 +0,0 @@
From da7b73b0b0174e9a6dcf706ae64218e822e2c685 Mon Sep 17 00:00:00 2001
From: Antonio Larrosa <antonio.larrosa@gmail.com>
Date: Wed, 12 Feb 2025 10:26:08 +0100
Subject: [PATCH] Fix build with pipewire 1.3.82
While submitting pipewire 1.3.82 to openSUSE Tumbleweed I noticed this
is needed to build xdg-desktop-portal. This was already submitted
as an issue in #1611 in Debian, in which the reporter doesn't mention the
used pipewire version but says "I am also building my own pipewire"
so I guess it's one of the latest RCs (1.3.81 or 1.3.82).
Fixes: #1611
---
src/pipewire.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pipewire.c b/src/pipewire.c
index bc4ec5047..39b05c71c 100644
--- a/src/pipewire.c
+++ b/src/pipewire.c
@@ -331,7 +331,7 @@ pipewire_remote_new_sync (struct pw_properties *pipewire_properties,
remote->registry = (struct pw_proxy*) pw_core_get_registry (remote->core,
PW_VERSION_REGISTRY,
0);
- pw_registry_add_listener (remote->registry,
+ pw_registry_add_listener ((struct pw_registry*)remote->registry,
&remote->registry_listener,
&registry_events,
remote);

View File

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

View File

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

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Thu Feb 13 08:10:26 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.19.3:
+ Bug Fixes:
- Fix documentation links in the USB portal page.
- Make the Document portal track open files, and release them
when shutting down. This should fix some harmless leak
reports,
- Fix a memory leak, a crash, and improve robustness against
non-existing folders in the Dynamic Launcher portal.
- Fix build with PipeWire 1.3.82
+ Enhancements:
- Make the host path xattr more useful by removing the trailing
end character, and also reporting the xattr of files inside
folders added to the document store.
- Remove libportal-based integrated tests. This should remove
the cyclic dependency between libportal, and
xdg-desktop-portal. All tests are now based on the Python
testing framework.
- Drop 0001-Fix-build-with-pipewire-1.3.82.patch: Fixed upstream.
- Stop passing pytest=disabled to meson setup, replace with
tests=disabled.
-------------------------------------------------------------------
Wed Feb 12 14:18:49 UTC 2025 - Antonio Larrosa <alarrosa@suse.com>

View File

@ -28,7 +28,7 @@
%define oname xdg-desktop-portal
Name: %{oname}%{?psuffix}
Version: 1.19.2
Version: 1.19.3
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 0001-Fix-build-with-pipewire-1.3.82.patch gh#flatpak/xdg-desktop-portal#1624 alarrosa@suse.com -- Fix build with pipewire 1.3.82
Patch0: 0001-Fix-build-with-pipewire-1.3.82.patch
BuildRequires: docutils
BuildRequires: meson >= 0.58
@ -116,7 +114,7 @@ This package contains convenience documentation for developers.
%build
%meson %{!?with_docs:-Ddocumentation=disabled} \
-Dpytest=disabled \
-Dtests=disabled \
%{nil}
%meson_build