Update to 1.5.1 (#1714705)

This commit is contained in:
David King 2019-11-28 11:02:10 +00:00
parent 1468862de7
commit 10141e731d
4 changed files with 9 additions and 33 deletions

1
.gitignore vendored
View File

@ -14,3 +14,4 @@
/xdg-desktop-portal-gtk-1.2.0.tar.xz
/xdg-desktop-portal-gtk-1.4.0.tar.xz
/xdg-desktop-portal-gtk-1.5.0.tar.xz
/xdg-desktop-portal-gtk-1.5.1.tar.xz

View File

@ -1 +1 @@
SHA512 (xdg-desktop-portal-gtk-1.5.0.tar.xz) = 44e16161edac74a0a870a1dfa15eaad14eaa778abbaa48c11bb690b73fb250b3fd9326f7caf8cb797b4a7c3fa945adf3dee8c328631b1589e46773e3fd8f227b
SHA512 (xdg-desktop-portal-gtk-1.5.1.tar.xz) = 6d1497ae584d7acf954a38f7a39796d673972c0dde86af35d86fcc55d4402250f965232991adac73711e1bf5c5537cb41c7c75420bb3eb15a190ea4f37532083

View File

@ -1,26 +0,0 @@
From a2dd7a680cdec4b804beaf22482ece03fc49efcb Mon Sep 17 00:00:00 2001
From: David King <dking@redhat.com>
Date: Fri, 4 Oct 2019 20:58:07 +0100
Subject: [PATCH] build: require x11 for remote display monitor
---
configure.ac | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 88a9cba..d2b4d54 100644
--- a/configure.ac
+++ b/configure.ac
@@ -57,7 +57,8 @@ AC_SUBST([DBUS_INTERFACES_DIR], [`$PKG_CONFIG --variable=interfaces_dir dbus-1`]
AC_SUBST([GDBUS_CODEGEN], [`$PKG_CONFIG --variable gdbus_codegen gio-2.0`])
AC_SUBST([GLIB_COMPILE_RESOURCES], [`$PKG_CONFIG --variable glib_compile_resources gio-2.0`])
-PKG_CHECK_MODULES(GTK, [xdg-desktop-portal >= 1.0 glib-2.0 >= 2.44 gio-unix-2.0 gtk+-3.0 >= 3.14 gtk+-unix-print-3.0 fontconfig])
+PKG_CHECK_MODULES(GTK, [xdg-desktop-portal >= 1.0 glib-2.0 >= 2.44 gio-unix-2.0
+gtk+-3.0 >= 3.14 gtk+-unix-print-3.0 fontconfig x11])
AC_SUBST(GTK_CFLAGS)
AC_SUBST(GTK_LIBS)
--
2.23.0

View File

@ -1,24 +1,23 @@
%global xdg_desktop_portal_version 1.1.1
# Required for org.freedesktop.portal.FileChooser::SaveFiles
%global xdg_desktop_portal_version 1.5.3
Name: xdg-desktop-portal-gtk
Version: 1.5.0
Version: 1.5.1
Release: 1%{?dist}
Summary: Backend implementation for xdg-desktop-portal using GTK+
License: LGPLv2+
URL: https://github.com/flatpak/%{name}
Source0: https://github.com/flatpak/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
Patch0: xdg-desktop-portal-gtk-1.5.0-fix-build-libx11.patch
BuildRequires: gcc
BuildRequires: gettext
BuildRequires: pkgconfig(fontconfig)
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
# For Patch0.
BuildRequires: autoconf automake gettext-devel libtool
Requires: dbus
Requires: xdg-desktop-portal >= %{xdg_desktop_portal_version}
%if 0%{?fedora}
@ -37,7 +36,6 @@ org.gnome.SessionManager D-Bus interfaces.
%build
autoreconf --force --install
%configure --disable-silent-rules
%make_build
@ -66,6 +64,9 @@ autoreconf --force --install
%changelog
* Thu Nov 28 2019 David King <amigadave@amigadave.com> - 1.5.1-1
- Update to 1.5.1 (#1714705)
* Fri Oct 04 2019 David King <amigadave@amigadave.com> - 1.5.0-1
- Update to 1.5.0