diff --git a/.xdg-desktop-portal-gtk.metadata b/.xdg-desktop-portal-gtk.metadata new file mode 100644 index 0000000..b578ec8 --- /dev/null +++ b/.xdg-desktop-portal-gtk.metadata @@ -0,0 +1 @@ +5acea66b08ebeccc1047c1b5e55fddac3edfc14f xdg-desktop-portal-gtk-1.12.0.tar.xz diff --git a/xdg-desktop-portal-gtk.spec b/xdg-desktop-portal-gtk.spec index 1d57d8a..8152f87 100644 --- a/xdg-desktop-portal-gtk.spec +++ b/xdg-desktop-portal-gtk.spec @@ -3,7 +3,7 @@ Name: xdg-desktop-portal-gtk Version: 1.12.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Backend implementation for xdg-desktop-portal using GTK+ License: LGPLv2+ @@ -15,7 +15,6 @@ 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 @@ -30,9 +29,7 @@ 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 @@ -40,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 @@ -79,6 +77,10 @@ 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