debian/patches: Add 1004_configure.ac-Explicitly-require-in-RDA-0.0.3.patch. Explicitly require RDA 0.0.3 or higher.

This commit is contained in:
Mike Gabriel
2019-01-20 00:57:56 +01:00
parent aa6cf14ddb
commit d808e55e66
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,28 @@
From 699565ff5e036820bc5dd2d4b3a5ed2ed8bd20a2 Mon Sep 17 00:00:00 2001
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Date: Sat, 19 Jan 2019 23:03:22 +0100
Subject: [PATCH] configure.ac: Explicitly require in RDA >= 0.0.3.
---
configure.ac | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- a/configure.ac
+++ b/configure.ac
@@ -50,6 +50,7 @@
LIBMATE_MENU_REQUIRED_VERSION=1.10.0
MATE_DESKTOP_REQUIRED_VERSION=1.17.0
LIBMATEKBDUI_REQUIRED_VERSION=1.17.0
+RDA_REQUIRED_VERSION=0.0.3
AC_CHECK_HEADERS(unistd.h)
AC_CHECK_HEADERS(crypt.h sys/select.h)
@@ -434,7 +435,7 @@
dnl - Check if Remote Desktop Awareness support is available
dnl ---------------------------------------------------------------------------
-PKG_CHECK_MODULES(RDA, rda, have_rda=yes, have_rda=no)
+PKG_CHECK_MODULES(RDA, rda >= $RDA_REQUIRED_VERSION, have_rda=yes, have_rda=no)
if test "x$have_rda" = "xyes"; then
AC_DEFINE(HAVE_RDA, 1, [Have the Remote Desktop Awareness library])
fi

View File

@ -1,3 +1,4 @@
1001_add-keywords-to-desktop-files.patch
1002_RDA-support-Make-MATE-s-screensaver-aware-of-being-r.patch
1003_mate-screensaver-command-Support-unlocking-unlock-th.patch
1004_configure.ac-Explicitly-require-in-RDA-0.0.3.patch