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



commit 401d1e328cb844a565e277daf2770475f65e1738
Author: Dan Winship <danw gnome org>
Date:   Tue Mar 12 15:10:56 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-vpnc-service.name.in |    4 ++--
 2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 62c4159..4f46126 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -27,7 +27,9 @@ icon_DATA = $(iconfile)
 endif
 
 nm-vpnc-service.name: $(srcdir)/nm-vpnc-service.name.in
-       sed -e 's|[ ]LIBEXECDIR[@]|$(libexecdir)|g' $< >$@
+       sed -e 's|[ ]LIBEXECDIR[@]|$(libexecdir)|g' \
+           -e 's|[ ]LIBDIR[@]|$(libdir)|g' \
+           $< >$@
 
 DISTCHECK_CONFIGURE_FLAGS = \
        --with-tests=yes \
diff --git a/nm-vpnc-service.name.in b/nm-vpnc-service.name.in
index 3a90cef..31f929e 100644
--- a/nm-vpnc-service.name.in
+++ b/nm-vpnc-service.name.in
@@ -4,6 +4,6 @@ service=org.freedesktop.NetworkManager.vpnc
 program= LIBEXECDIR@/nm-vpnc-service
 
 [GNOME]
-auth-dialog=nm-vpnc-auth-dialog
-properties=libnm-vpnc-properties
+auth-dialog= LIBEXECDIR@/nm-vpnc-auth-dialog
+properties= LIBDIR@/libnm-vpnc-properties
 supports-external-ui-mode=true


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