[network-manager-openvpn/th/1.8.0: 1/5] build: adjust required libnm version to 1.7.0



commit 1382b2e46e598febe78a6da03d4d13a9803a3cfd
Author: Thomas Haller <thaller redhat com>
Date:   Wed Sep 20 17:19:21 2017 +0200

    build: adjust required libnm version to 1.7.0
    
    Currently this is nm-openvpn-1.7.0 development version. It requires at least
    the (unstable) libnm version 1.7.0. It should not be prevented to build the
    plugin against libnm-1.7.0.
    
    It may or may not work, depending on whether the unstable libnm version contains
    required API. In case the user decides to build against libnm-1.7.x, it
    is up to the user to ensure that the unstable version is suitable for the
    plugin.
    
    Arguably, at this point it doesn't matter because libnm-1.8.0 is released
    for a long time. Still fix it so that on the next version bump it's
    clear that a development version of the plugin can work with the
    corresponding development version of libnm.

 configure.ac |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5040427..847e855 100644
--- a/configure.ac
+++ b/configure.ac
@@ -98,23 +98,23 @@ if test x"$with_gnome" != xno; then
        PKG_CHECK_MODULES(GTK, gtk+-3.0 >= 3.4)
        GTK_CFLAGS="$GTK_CFLAGS -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_4"
 
-       PKG_CHECK_MODULES(LIBNMA, libnma >= 1.8.0)
+       PKG_CHECK_MODULES(LIBNMA, libnma >= 1.7.0)
        PKG_CHECK_MODULES(LIBSECRET, libsecret-1 >= 0.18)
 
        if test x"$with_libnm_glib" != xno; then
-               PKG_CHECK_MODULES(LIBNM_GTK, libnm-gtk >= 1.8.0)
+               PKG_CHECK_MODULES(LIBNM_GTK, libnm-gtk >= 1.7.0)
                PKG_CHECK_MODULES(LIBNM_GLIB,
-                       NetworkManager >= 1.8.0
-                       libnm-util >= 1.8.0
-                       libnm-glib >= 1.8.0
-                       libnm-glib-vpn >= 1.8.0);
+                       NetworkManager >= 1.7.0
+                       libnm-util >= 1.7.0
+                       libnm-glib >= 1.7.0
+                       libnm-glib-vpn >= 1.7.0);
 
                LIBNM_GLIB_CFLAGS="$LIBNM_GLIB_CFLAGS -DNM_VERSION_MIN_REQUIRED=NM_VERSION_1_2"
                LIBNM_GLIB_CFLAGS="$LIBNM_GLIB_CFLAGS -DNM_VERSION_MAX_ALLOWED=NM_VERSION_1_2"
        fi
 fi
 
-PKG_CHECK_MODULES(LIBNM, libnm >= 1.8.0)
+PKG_CHECK_MODULES(LIBNM, libnm >= 1.7.0)
 LIBNM_CFLAGS="$LIBNM_CFLAGS -DNM_VERSION_MIN_REQUIRED=NM_VERSION_1_8"
 LIBNM_CFLAGS="$LIBNM_CFLAGS -DNM_VERSION_MAX_ALLOWED=NM_VERSION_1_8"
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]