From a0d04585838c42b7c0695f4ba0061c08bd0eabbb Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 15 2022 06:35:02 +0000 Subject: import xdg-desktop-portal-gtk-1.12.0-3.el9 --- diff --git a/SPECS/xdg-desktop-portal-gtk.spec b/SPECS/xdg-desktop-portal-gtk.spec index 69bda42..8152f87 100644 --- a/SPECS/xdg-desktop-portal-gtk.spec +++ b/SPECS/xdg-desktop-portal-gtk.spec @@ -3,7 +3,7 @@ Name: xdg-desktop-portal-gtk Version: 1.12.0 -Release: 1%{?dist} +Release: 3%{?dist} Summary: Backend implementation for xdg-desktop-portal using GTK+ License: LGPLv2+ @@ -15,22 +15,21 @@ 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} 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 -Supplements: (gtk3 and (flatpak or snapd)) -%endif + +# This portal is recommended if you have installed any app that uses GTK. (It's +# also recommended if you have any such app installed via flatpak or snap, but +# that is impossible to detect here.) +Supplements: gtk3 +Supplements: gtk4 %description -A backend implementation for xdg-desktop-portal that is using GTK+ and various -pieces of GNOME infrastructure, such as the org.gnome.Shell.Screenshot or -org.gnome.SessionManager D-Bus interfaces. +A backend implementation for xdg-desktop-portal that is using GTK+. %prep @@ -38,18 +37,19 @@ org.gnome.SessionManager D-Bus interfaces. %build -# 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. +# All backends that are disabled are instead provided by +# xdg-desktop-portal-gnome, to keep this package free of GNOME dependencies. +# The appchooser and settings backends are enabled for non-GNOME GTK +# applications. %configure \ --disable-silent-rules \ --enable-appchooser \ --enable-settings \ - --enable-background \ - --enable-lockdown \ - --enable-screencast \ - --enable-screenshot \ - --enable-wallpaper + --disable-background \ + --disable-lockdown \ + --disable-screencast \ + --disable-screenshot \ + --disable-wallpaper %make_build @@ -77,6 +77,14 @@ org.gnome.SessionManager D-Bus interfaces. %changelog +* Thu May 05 2022 Debarshi Ray - 1.12.0-2 +- Play well with the GNOME portals +Resolves: #2051495 + +* Tue Feb 08 2022 Debarshi Ray - 1.12.0-1 +- Recommend this portal backend for all GTK3 and GTK4 users +Resolves: #2078624 + * Tue Feb 08 2022 Debarshi Ray - 1.12.0-1 - Rebase to 1.12.0 Resolves: #2051493