[network-manager-openvpn/lr/libnm: 1/12] fixup! properties: port to libnm
- From: Thomas Haller <thaller src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-openvpn/lr/libnm: 1/12] fixup! properties: port to libnm
- Date: Wed, 19 Aug 2015 15:14:57 +0000 (UTC)
commit aa440cf46cba931e169a498701e0715bcea47c29
Author: Lubomir Rintel <lkundrak v3 sk>
Date: Sat Aug 15 20:42:19 2015 +0200
fixup! properties: port to libnm
find -name Makefile.am |xargs sed
's/libnm\(.\)\([^-_]*\).properties/libnm\1vpn\1plugin\1\2/;s/vpn.plugin\(.\)\([^-_]*\).old/\2\1properties/g;s/libnm\(.\)\([^-_]*\).common/libnm\1vpn\1plugin\1\2\1common/;s/vpn.plugin\(.\)\([^-_]*\).common.old/\2\1common/g'
-i *.name.in
auth-dialog/Makefile.am | 2 +-
common/Makefile.am | 16 ++++++++--------
nm-openvpn-service.name.in | 4 ++--
properties/Makefile.am | 26 +++++++++++++-------------
properties/tests/Makefile.am | 2 +-
5 files changed, 25 insertions(+), 25 deletions(-)
---
diff --git a/auth-dialog/Makefile.am b/auth-dialog/Makefile.am
index 24d06d2..c1f54d8 100644
--- a/auth-dialog/Makefile.am
+++ b/auth-dialog/Makefile.am
@@ -20,6 +20,6 @@ nm_openvpn_auth_dialog_LDADD = \
$(LIBNM_GLIB_LIBS) \
$(LIBNM_GTK_LIBS) \
$(LIBSECRET_LIBS) \
- $(top_builddir)/common/libnm-openvpn-common-old.la
+ $(top_builddir)/common/libnm-openvpn-common.la
CLEANFILES = *~
diff --git a/common/Makefile.am b/common/Makefile.am
index 74a7681..ad2c9b7 100644
--- a/common/Makefile.am
+++ b/common/Makefile.am
@@ -1,26 +1,26 @@
-noinst_LTLIBRARIES=libnm-openvpn-common.la libnm-openvpn-common-old.la
+noinst_LTLIBRARIES=libnm-vpn-plugin-openvpn-common.la libnm-openvpn-common.la
-libnm_openvpn_common_la_CPPFLAGS = \
+libnm_vpn_plugin_openvpn_common_la_CPPFLAGS = \
$(LIBNM_CFLAGS) \
-I$(top_srcdir)/src/
-libnm_openvpn_common_old_la_CPPFLAGS = \
+libnm_openvpn_common_la_CPPFLAGS = \
-DNM_OPENVPN_OLD \
$(LIBNM_GLIB_CFLAGS) \
-I$(top_srcdir)/src/
-libnm_openvpn_common_la_SOURCES= \
+libnm_vpn_plugin_openvpn_common_la_SOURCES= \
utils.c \
utils.h \
nm-glib-compat.h
-libnm_openvpn_common_old_la_SOURCES = \
- $(libnm_openvpn_common_la_SOURCES)
+libnm_openvpn_common_la_SOURCES = \
+ $(libnm_vpn_plugin_openvpn_common_la_SOURCES)
-libnm_openvpn_common_la_LIBADD = \
+libnm_vpn_plugin_openvpn_common_la_LIBADD = \
$(LIBNM_LIBS)
-libnm_openvpn_common_old_la_LIBADD = \
+libnm_openvpn_common_la_LIBADD = \
$(LIBNM_GLIB_LIBS)
EXTRA_DIST = nm-glib-compat.h
diff --git a/nm-openvpn-service.name.in b/nm-openvpn-service.name.in
index 6329b1b..93c90c8 100644
--- a/nm-openvpn-service.name.in
+++ b/nm-openvpn-service.name.in
@@ -4,10 +4,10 @@ service=org.freedesktop.NetworkManager.openvpn
program= LIBEXECDIR@/nm-openvpn-service
[libnm]
-plugin= PLUGINDIR@/libnm-openvpn-properties
+plugin= PLUGINDIR@/libnm-vpn-plugin-openvpn
[GNOME]
auth-dialog= LIBEXECDIR@/nm-openvpn-auth-dialog
-properties= PLUGINDIR@/libnm-openvpn-properties-old
+properties= PLUGINDIR@/libnm-openvpn-properties
supports-external-ui-mode=true
supports-hints=true
diff --git a/properties/Makefile.am b/properties/Makefile.am
index 861b9e3..7a9b277 100644
--- a/properties/Makefile.am
+++ b/properties/Makefile.am
@@ -1,9 +1,9 @@
SUBDIRS = . tests
plugindir = $(libdir)/NetworkManager
-plugin_LTLIBRARIES = libnm-openvpn-properties.la libnm-openvpn-properties-old.la
+plugin_LTLIBRARIES = libnm-vpn-plugin-openvpn.la libnm-openvpn-properties.la
-libnm_openvpn_properties_la_SOURCES = \
+libnm_vpn_plugin_openvpn_la_SOURCES = \
nm-openvpn.c \
nm-openvpn.h \
auth-helpers.c \
@@ -11,8 +11,8 @@ libnm_openvpn_properties_la_SOURCES = \
import-export.c \
import-export.h
-libnm_openvpn_properties_old_la_SOURCES = \
- $(libnm_openvpn_properties_la_SOURCES)
+libnm_openvpn_properties_la_SOURCES = \
+ $(libnm_vpn_plugin_openvpn_la_SOURCES)
uidir = $(datadir)/gnome-vpn-properties/openvpn
ui_DATA = nm-openvpn-dialog.ui
@@ -26,34 +26,34 @@ common_CFLAGS = \
-DLOCALEDIR=\"$(datadir)/locale\" \
-DVERSION=\"$(VERSION)\"
-libnm_openvpn_properties_la_CFLAGS = \
+libnm_vpn_plugin_openvpn_la_CFLAGS = \
$(common_CFLAGS) \
$(LIBNM_CFLAGS) \
$(LIBNMA_CFLAGS)
-libnm_openvpn_properties_old_la_CFLAGS = \
+libnm_openvpn_properties_la_CFLAGS = \
-DNM_OPENVPN_OLD \
$(common_CFLAGS) \
$(LIBNM_GLIB_CFLAGS) \
$(LIBNM_GTK_CFLAGS)
-libnm_openvpn_properties_la_LIBADD = \
+libnm_vpn_plugin_openvpn_la_LIBADD = \
$(GTK_LIBS) \
$(LIBNM_LIBS) \
$(LIBNMA_LIBS) \
- $(top_builddir)/common/libnm-openvpn-common.la
+ $(top_builddir)/common/libnm-vpn-plugin-openvpn-common.la
-libnm_openvpn_properties_old_la_LIBADD = \
+libnm_openvpn_properties_la_LIBADD = \
$(GTK_LIBS) \
$(LIBNM_GLIB_LIBS) \
$(LIBNM_GTK_LIBS) \
- $(top_builddir)/common/libnm-openvpn-common-old.la
+ $(top_builddir)/common/libnm-openvpn-common.la
-libnm_openvpn_properties_la_LDFLAGS = \
+libnm_vpn_plugin_openvpn_la_LDFLAGS = \
-avoid-version
-libnm_openvpn_properties_old_la_LDFLAGS = \
- $(libnm_openvpn_properties_la_LDFLAGS)
+libnm_openvpn_properties_la_LDFLAGS = \
+ $(libnm_vpn_plugin_openvpn_la_LDFLAGS)
CLEANFILES = *.bak *~
diff --git a/properties/tests/Makefile.am b/properties/tests/Makefile.am
index 3c7aa69..3289b37 100644
--- a/properties/tests/Makefile.am
+++ b/properties/tests/Makefile.am
@@ -18,7 +18,7 @@ test_import_export_LDADD = \
$(GTK_LIBS) \
$(LIBNM_GLIB_LIBS) \
$(LIBNM_GTK_LIBS) \
- $(top_builddir)/properties/libnm-openvpn-properties-old.la
+ $(top_builddir)/properties/libnm-openvpn-properties.la
if WITH_TESTS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]