[network-manager-openswan/dcbw/avesh-fixes: 1/10] auth-dialog: add desktop file for auth dialog



commit 0149393c0f5f4009784eae6322e5875c76fb3a30
Author: Avesh Agarwal <avagarwa redhat com>
Date:   Tue Dec 10 13:38:23 2013 -0500

    auth-dialog: add desktop file for auth dialog
    
    NM-openswan was missing support for nm-openswan-auth-dialog.desktop.in.in.
    So added a new nm-openswan-auth-dialog.desktop.in.in, and modified
    related Makefile and configure.ac files.

 auth-dialog/Makefile.am                           |   15 ++++++++++++++-
 auth-dialog/nm-openswan-auth-dialog.desktop.in.in |    7 +++++++
 configure.ac                                      |    1 +
 3 files changed, 22 insertions(+), 1 deletions(-)
---
diff --git a/auth-dialog/Makefile.am b/auth-dialog/Makefile.am
index 7a36e59..008fd01 100644
--- a/auth-dialog/Makefile.am
+++ b/auth-dialog/Makefile.am
@@ -23,5 +23,18 @@ nm_openswan_auth_dialog_LDADD = \
        $(NMGTK_LIBS) \
        $(LIBSECRET_LIBS)
 
-CLEANFILES = *~
+ INTLTOOL_DESKTOP_RULE@
+desktopdir = $(datadir)/applications
+desktop_in_in_files = nm-openswan-auth-dialog.desktop.in.in
+desktop_in_files = nm-openswan-auth-dialog.desktop.in
+desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 
+EXTRA_DIST = \
+       $(desktop_in_in_files)
+
+CLEANFILES = \
+       *~ \
+       $(desktop_DATA)
+
+DISTCLEANFILES = \
+       $(desktop_in_files)
diff --git a/auth-dialog/nm-openswan-auth-dialog.desktop.in.in 
b/auth-dialog/nm-openswan-auth-dialog.desktop.in.in
new file mode 100644
index 0000000..9c91b6b
--- /dev/null
+++ b/auth-dialog/nm-openswan-auth-dialog.desktop.in.in
@@ -0,0 +1,7 @@
+[Desktop Entry]
+_Name=Network
+_Comment=Request VPN authentication
+Exec= LIBEXECDIR@/nm-openswan-auth-dialog
+Terminal=false
+Type=Application
+NoDisplay=true
diff --git a/configure.ac b/configure.ac
index 12c7172..c13ec4b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -103,6 +103,7 @@ AC_CONFIG_FILES([
 Makefile
 src/Makefile
 auth-dialog/Makefile
+auth-dialog/nm-openswan-auth-dialog.desktop.in
 properties/Makefile
 po/Makefile.in
 ])


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