[network-manager-openvpn] build: adjust required libnm version to 1.7.0
- From: Thomas Haller <thaller src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-openvpn] build: adjust required libnm version to 1.7.0
- Date: Thu, 21 Sep 2017 11:43:11 +0000 (UTC)
commit 8ab79914be5081c9bb27ed70fddcddfa3942292d
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.
Obviously, nm-openvpn-1.7.0 requires libnm-1-8 API. However, the
development version libnm-1-7 may or may not work. If the user decides
to build against a development version, it's up to him to ensure that
the unstable libnm version has the right API. But nm-openvpn should
not prevent that.
Arguably, at this point it doesn't matter much 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 the plugin should allow building against the development
version.
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]