From 8e8419a0b985ddfda56a89b5b35493205c7bd4f8 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 1 Mar 2022 05:55:45 -0500 Subject: [PATCH] import xdg-desktop-portal-gtk-1.12.0-1.el9 --- .gitignore | 2 +- .xdg-desktop-portal-gtk.metadata | 2 +- SPECS/xdg-desktop-portal-gtk.spec | 28 ++++++++++++++++++++++------ 3 files changed, 24 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 2cd1589..c30d5ed 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/xdg-desktop-portal-gtk-1.8.0.tar.xz +SOURCES/xdg-desktop-portal-gtk-1.12.0.tar.xz diff --git a/.xdg-desktop-portal-gtk.metadata b/.xdg-desktop-portal-gtk.metadata index 3b2d585..3650d33 100644 --- a/.xdg-desktop-portal-gtk.metadata +++ b/.xdg-desktop-portal-gtk.metadata @@ -1 +1 @@ -cf281335a301828c4b92e91ebf09113e3f485e18 SOURCES/xdg-desktop-portal-gtk-1.8.0.tar.xz +5acea66b08ebeccc1047c1b5e55fddac3edfc14f SOURCES/xdg-desktop-portal-gtk-1.12.0.tar.xz diff --git a/SPECS/xdg-desktop-portal-gtk.spec b/SPECS/xdg-desktop-portal-gtk.spec index 764a722..69bda42 100644 --- a/SPECS/xdg-desktop-portal-gtk.spec +++ b/SPECS/xdg-desktop-portal-gtk.spec @@ -2,24 +2,25 @@ %global xdg_desktop_portal_version 1.5.4 Name: xdg-desktop-portal-gtk -Version: 1.8.0 -Release: 4%{?dist} +Version: 1.12.0 +Release: 1%{?dist} Summary: Backend implementation for xdg-desktop-portal using GTK+ License: LGPLv2+ URL: https://github.com/flatpak/%{name} Source0: https://github.com/flatpak/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz -BuildRequires: make BuildRequires: gcc BuildRequires: gettext +BuildRequires: make BuildRequires: pkgconfig(fontconfig) +BuildRequires: pkgconfig(gsettings-desktop-schemas) BuildRequires: pkgconfig(gnome-desktop-3.0) BuildRequires: pkgconfig(gtk+-unix-print-3.0) BuildRequires: pkgconfig(xdg-desktop-portal) >= %{xdg_desktop_portal_version} -%{?systemd_requires} -BuildRequires: systemd +BuildRequires: systemd-rpm-macros Requires: dbus +Requires: gsettings-desktop-schemas Requires: xdg-desktop-portal >= %{xdg_desktop_portal_version} %if 0%{?fedora} # Use rich deps to pull in this package when gtk3 and flatpak (or snapd) are both installed @@ -37,7 +38,18 @@ org.gnome.SessionManager D-Bus interfaces. %build -%configure --disable-silent-rules +# All backends need to be enabled because xdg-desktop-portal-gnome is not +# part of RHEL 9. Once xdg-desktop-portal-gnome is added, the portals in +# this package with GNOME dependencies should be disabled. +%configure \ + --disable-silent-rules \ + --enable-appchooser \ + --enable-settings \ + --enable-background \ + --enable-lockdown \ + --enable-screencast \ + --enable-screenshot \ + --enable-wallpaper %make_build @@ -65,6 +77,10 @@ org.gnome.SessionManager D-Bus interfaces. %changelog +* Tue Feb 08 2022 Debarshi Ray - 1.12.0-1 +- Rebase to 1.12.0 +Resolves: #2051493 + * Tue Aug 10 2021 Mohan Boddu - 1.8.0-4 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688