From d808e55e664a8c7b47be6234b490baf734539373 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sun, 20 Jan 2019 00:57:56 +0100 Subject: [PATCH] debian/patches: Add 1004_configure.ac-Explicitly-require-in-RDA-0.0.3.patch. Explicitly require RDA 0.0.3 or higher. --- ...e.ac-Explicitly-require-in-RDA-0.0.3.patch | 28 +++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 29 insertions(+) create mode 100644 debian/patches/1004_configure.ac-Explicitly-require-in-RDA-0.0.3.patch diff --git a/debian/patches/1004_configure.ac-Explicitly-require-in-RDA-0.0.3.patch b/debian/patches/1004_configure.ac-Explicitly-require-in-RDA-0.0.3.patch new file mode 100644 index 0000000..1dc1526 --- /dev/null +++ b/debian/patches/1004_configure.ac-Explicitly-require-in-RDA-0.0.3.patch @@ -0,0 +1,28 @@ +From 699565ff5e036820bc5dd2d4b3a5ed2ed8bd20a2 Mon Sep 17 00:00:00 2001 +From: Mike Gabriel +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 diff --git a/debian/patches/series b/debian/patches/series index 070273b..ad63512 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -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