From 71723f9e2f73ffcf3a3265c04247e84dd87dcf99 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Fri, 31 May 2024 17:16:01 +0000 Subject: [PATCH] Import from AlmaLinux stable repository --- .gitignore | 2 +- .xdg-desktop-portal-gtk.metadata | 1 - SPECS/xdg-desktop-portal-gtk.spec | 24 +++++++++++++++++++----- 3 files changed, 20 insertions(+), 7 deletions(-) delete mode 100644 .xdg-desktop-portal-gtk.metadata 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 deleted file mode 100644 index 3b2d585..0000000 --- a/.xdg-desktop-portal-gtk.metadata +++ /dev/null @@ -1 +0,0 @@ -cf281335a301828c4b92e91ebf09113e3f485e18 SOURCES/xdg-desktop-portal-gtk-1.8.0.tar.xz diff --git a/SPECS/xdg-desktop-portal-gtk.spec b/SPECS/xdg-desktop-portal-gtk.spec index 17f2e51..7f812a8 100644 --- a/SPECS/xdg-desktop-portal-gtk.spec +++ b/SPECS/xdg-desktop-portal-gtk.spec @@ -2,7 +2,7 @@ %global xdg_desktop_portal_version 1.5.4 Name: xdg-desktop-portal-gtk -Version: 1.8.0 +Version: 1.12.0 Release: 1%{?dist} Summary: Backend implementation for xdg-desktop-portal using GTK+ @@ -10,17 +10,17 @@ 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(gnome-desktop-3.0) 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 +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 @@ -38,7 +38,17 @@ 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 8. +%configure \ + --disable-silent-rules \ + --enable-appchooser \ + --enable-settings \ + --enable-background \ + --enable-lockdown \ + --enable-screencast \ + --enable-screenshot \ + --enable-wallpaper %make_build @@ -66,6 +76,10 @@ org.gnome.SessionManager D-Bus interfaces. %changelog +* Thu Nov 16 2023 Debarshi Ray - 1.12.0-1 +- Rebase to 1.12.0 +Resolves: RHEL-16694 + * Sat Mar 26 2022 Debarshi Ray - 1.8.0-1 - Rebase to 1.8.0 - Remove unnecessary non-arch-specific explicit library Requires