From 014a63e7d21616b732713afb7ccc150042b5ca75 Mon Sep 17 00:00:00 2001 From: David King Date: Thu, 11 Nov 2021 09:00:28 +0000 Subject: [PATCH] Enable appchooser and settings backends (#2012315) --- xdg-desktop-portal-gtk.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/xdg-desktop-portal-gtk.spec b/xdg-desktop-portal-gtk.spec index f3aaea3..6f7d01a 100644 --- a/xdg-desktop-portal-gtk.spec +++ b/xdg-desktop-portal-gtk.spec @@ -3,7 +3,7 @@ Name: xdg-desktop-portal-gtk Version: 1.10.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Backend implementation for xdg-desktop-portal using GTK+ License: LGPLv2+ @@ -14,11 +14,13 @@ BuildRequires: make BuildRequires: gcc BuildRequires: gettext BuildRequires: pkgconfig(fontconfig) +BuildRequires: pkgconfig(gsettings-desktop-schemas) 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 @@ -36,13 +38,15 @@ A backend implementation for xdg-desktop-portal that is using GTK+. %build # 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 \ - --disable-appchooser \ + --enable-appchooser \ + --enable-settings \ --disable-background \ --disable-screencast \ --disable-screenshot \ - --disable-settings \ --disable-wallpaper %make_build @@ -71,6 +75,9 @@ A backend implementation for xdg-desktop-portal that is using GTK+. %changelog +* Thu Nov 11 2021 David King - 1.10.0-2 +- Enable appchooser and settings backends (#2012315) + * Thu Sep 16 2021 David King - 1.10.0-1 - Update to 1.10.0 (#2004781)