From 55c1ac17eec25605845b7e293e5582e90526c86f Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Tue, 8 Feb 2022 18:53:06 +0100 Subject: [PATCH] Rebase to 1.12.0 Resolves: #2051493 --- .gitignore | 1 + sources | 2 +- xdg-desktop-portal-gtk.spec | 23 ++++++++++++++++++++--- 3 files changed, 22 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 3787abc..fb11827 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ /xdg-desktop-portal-gtk-1.7.0.tar.xz /xdg-desktop-portal-gtk-1.7.1.tar.xz /xdg-desktop-portal-gtk-1.8.0.tar.xz +/xdg-desktop-portal-gtk-1.12.0.tar.xz diff --git a/sources b/sources index 56cd75a..80bbad0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xdg-desktop-portal-gtk-1.8.0.tar.xz) = 832b3c4cb9ea738f2ab7641fbd7e14beaa5f6a1ae88f012cd44b12f4bc51588f61868b5982301e3dfd67965d6a69fd8669a9832b6ec7017168d611c87d76689b +SHA512 (xdg-desktop-portal-gtk-1.12.0.tar.xz) = da4750ef6a289aaf1856778f761e51706f71416eb3c5dfe3d239a0b784fb3682e6553e6e1f840ca1b8af493b8931205f37c1a9967986b0cee6af6022b448e237 diff --git a/xdg-desktop-portal-gtk.spec b/xdg-desktop-portal-gtk.spec index 764a722..f12befb 100644 --- a/xdg-desktop-portal-gtk.spec +++ b/xdg-desktop-portal-gtk.spec @@ -2,8 +2,8 @@ %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+ @@ -14,12 +14,14 @@ BuildRequires: make BuildRequires: gcc BuildRequires: gettext 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 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 +39,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 +78,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