[network-manager-openconnect] Use full paths in .name file



commit 663b720d6a4be9841f50bec10fe7a91a958dc9b3
Author: Dan Winship <danw gnome org>
Date:   Tue Mar 12 15:10:42 2013 -0400

    Use full paths in .name file
    
    Include the full path to the auth-dialog and properties library in the
    .name file, like we already do for the main helper program.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=694768

 Makefile.am                    |    4 +++-
 nm-openconnect-service.name.in |    4 ++--
 2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index e8f52c1..c368fee 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -17,7 +17,9 @@ nmvpnservicedir = $(sysconfdir)/NetworkManager/VPN
 nmvpnservice_DATA = nm-openconnect-service.name
 
 nm-openconnect-service.name: $(srcdir)/nm-openconnect-service.name.in
-       sed -e 's|[ ]LIBEXECDIR[@]|$(libexecdir)|g' $< >$@
+       sed -e 's|[ ]LIBEXECDIR[@]|$(libexecdir)|g' \
+           -e 's|[ ]LIBDIR[@]|$(libdir)|g' \
+           $< >$@
 
 DISTCHECK_CONFIGURE_FLAGS = --enable-more-warnings=yes
 
diff --git a/nm-openconnect-service.name.in b/nm-openconnect-service.name.in
index 0e13290..82c57c9 100644
--- a/nm-openconnect-service.name.in
+++ b/nm-openconnect-service.name.in
@@ -4,5 +4,5 @@ service=org.freedesktop.NetworkManager.openconnect
 program= LIBEXECDIR@/nm-openconnect-service
 
 [GNOME]
-auth-dialog=nm-openconnect-auth-dialog
-properties=libnm-openconnect-properties
+auth-dialog= LIBEXECDIR@/nm-openconnect-auth-dialog
+properties= LIBDIR@/libnm-openconnect-properties


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