Update to 1.7.0 (#1813533)

This commit is contained in:
David King 2020-03-14 10:41:33 +00:00
parent 7ece988184
commit 57405d98b1
4 changed files with 7 additions and 52 deletions

1
.gitignore vendored
View File

@ -17,3 +17,4 @@
/xdg-desktop-portal-gtk-1.5.1.tar.xz /xdg-desktop-portal-gtk-1.5.1.tar.xz
/xdg-desktop-portal-gtk-1.5.2.tar.xz /xdg-desktop-portal-gtk-1.5.2.tar.xz
/xdg-desktop-portal-gtk-1.6.0.tar.xz /xdg-desktop-portal-gtk-1.6.0.tar.xz
/xdg-desktop-portal-gtk-1.7.0.tar.xz

View File

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

View File

@ -1 +1 @@
SHA512 (xdg-desktop-portal-gtk-1.6.0.tar.xz) = 97111e0c14a8cb54d88d0dd8142003b3f1a60e156131cce77deec0f43c936a110eda24c1e8efbb555dad0ad5aafe392d8c5afab80ea96166f616e6255371adc8 SHA512 (xdg-desktop-portal-gtk-1.7.0.tar.xz) = 217693ed01f15cf31949cf4a8c9b507e0661be69e22af5f513566621ea4e4836156349d44ee40e884bf230cdad5880d23afd769e3184060e735d5ea7f46a8ef8

View File

@ -2,17 +2,14 @@
%global xdg_desktop_portal_version 1.5.4 %global xdg_desktop_portal_version 1.5.4
Name: xdg-desktop-portal-gtk Name: xdg-desktop-portal-gtk
Version: 1.6.0 Version: 1.7.0
Release: 4%{?dist} Release: 1%{?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)
@ -67,6 +64,9 @@ org.gnome.SessionManager D-Bus interfaces.
%changelog %changelog
* Sat Mar 14 2020 David King <amigadave@amigadave.com> - 1.7.0-1
- Update to 1.7.0 (#1813533)
* Tue Mar 10 2020 Kalev Lember <klember@redhat.com> - 1.6.0-4 * Tue Mar 10 2020 Kalev Lember <klember@redhat.com> - 1.6.0-4
- Backport support for mutter screencast API version 3 - Backport support for mutter screencast API version 3