Backport support for mutter screencast API version 3
This commit is contained in:
parent
2f66b29163
commit
7ece988184
46
0001-screencast-Bump-supported-Mutter-version-to-3-280.patch
Normal file
46
0001-screencast-Bump-supported-Mutter-version-to-3-280.patch
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
From adb72687ccda69b83509f05f80e4a226a2faaf1f Mon Sep 17 00:00:00 2001
|
||||||
|
From: Georges Basile Stavracas Neto
|
||||||
|
<GeorgesStavracas@users.noreply.github.com>
|
||||||
|
Date: Mon, 24 Feb 2020 17:20:19 -0300
|
||||||
|
Subject: [PATCH] screencast: Bump supported Mutter version to 3 (#280)
|
||||||
|
|
||||||
|
With the new Mutter version and the inclusion of pipewire 0.3 support
|
||||||
|
into Mutter, the reported D-Bus version for the screencast API was
|
||||||
|
bumped to 3.
|
||||||
|
|
||||||
|
Update the supported version here as well. No code changes are necessary
|
||||||
|
to make it work with the version 3 of the API.
|
||||||
|
---
|
||||||
|
src/gnomescreencast.c | 2 +-
|
||||||
|
src/screencast.c | 2 +-
|
||||||
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/gnomescreencast.c b/src/gnomescreencast.c
|
||||||
|
index 3ae5031..0df0f05 100644
|
||||||
|
--- a/src/gnomescreencast.c
|
||||||
|
+++ b/src/gnomescreencast.c
|
||||||
|
@@ -22,7 +22,7 @@
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
|
-#define SUPPORTED_MUTTER_SCREEN_CAST_API_VERSION 2
|
||||||
|
+#define SUPPORTED_MUTTER_SCREEN_CAST_API_VERSION 3
|
||||||
|
|
||||||
|
enum
|
||||||
|
{
|
||||||
|
diff --git a/src/screencast.c b/src/screencast.c
|
||||||
|
index 5418c23..c4c75a0 100644
|
||||||
|
--- a/src/screencast.c
|
||||||
|
+++ b/src/screencast.c
|
||||||
|
@@ -35,7 +35,7 @@
|
||||||
|
#include "session.h"
|
||||||
|
#include "utils.h"
|
||||||
|
|
||||||
|
-#define SUPPORTED_MUTTER_SCREEN_CAST_API_VERSION 2
|
||||||
|
+#define SUPPORTED_MUTTER_SCREEN_CAST_API_VERSION 3
|
||||||
|
|
||||||
|
typedef struct _ScreenCastDialogHandle ScreenCastDialogHandle;
|
||||||
|
|
||||||
|
--
|
||||||
|
2.24.1
|
||||||
|
|
@ -3,13 +3,16 @@
|
|||||||
|
|
||||||
Name: xdg-desktop-portal-gtk
|
Name: xdg-desktop-portal-gtk
|
||||||
Version: 1.6.0
|
Version: 1.6.0
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Backend implementation for xdg-desktop-portal using GTK+
|
Summary: Backend implementation for xdg-desktop-portal using GTK+
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://github.com/flatpak/%{name}
|
URL: https://github.com/flatpak/%{name}
|
||||||
Source0: https://github.com/flatpak/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
|
Source0: https://github.com/flatpak/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
|
# Backported from upstream
|
||||||
|
Patch0: 0001-screencast-Bump-supported-Mutter-version-to-3-280.patch
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: pkgconfig(fontconfig)
|
BuildRequires: pkgconfig(fontconfig)
|
||||||
@ -64,6 +67,9 @@ org.gnome.SessionManager D-Bus interfaces.
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 10 2020 Kalev Lember <klember@redhat.com> - 1.6.0-4
|
||||||
|
- Backport support for mutter screencast API version 3
|
||||||
|
|
||||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-3
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user