summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-04-17 11:31:42 +0000
committerLennart Poettering <lennart@poettering.net>2007-04-17 11:31:42 +0000
commitbbe8d301e832744389f2c32cf440dd60f918bad7 (patch)
treee956ba761548837ba54f5e839153766cc5a10d8a
parentf0416e15c8d44f8a22c58f59315af8e70d27df4b (diff)
add zssh and zvnc desktop files
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1434 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
-rw-r--r--avahi-ui/Makefile.am12
-rw-r--r--avahi-ui/zssh.desktop.in12
-rw-r--r--avahi-ui/zvnc.desktop.in12
3 files changed, 36 insertions, 0 deletions
diff --git a/avahi-ui/Makefile.am b/avahi-ui/Makefile.am
index c22c631..442f7d1 100644
--- a/avahi-ui/Makefile.am
+++ b/avahi-ui/Makefile.am
@@ -22,6 +22,9 @@ AM_CFLAGS=-I$(top_srcdir)
# This cool debug trap works on i386/gcc only
AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")'
+desktopdir = $(datadir)/applications
+desktop_DATA =
+
if HAVE_GTK
if HAVE_DBUS
@@ -51,6 +54,7 @@ libavahi_ui_la_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
endif
bin_PROGRAMS = zssh
+desktop_DATA += zssh.desktop zvnc.desktop
zssh_SOURCES = zssh.c
zssh_CFLAGS = $(AM_CFLAGS) $(GTK20_CFLAGS)
@@ -61,5 +65,13 @@ install-exec-local:
rm -f zvnc && \
$(LN_S) zssh zvnc
+zssh.desktop: zssh.desktop.in
+ sed -e 's,@bindir\@,$(bindir),g' $< > $@
+ chmod +x $@
+
+zvnc.desktop: zvnc.desktop.in
+ sed -e 's,@bindir\@,$(bindir),g' $< > $@
+ chmod +x $@
+
endif
endif
diff --git a/avahi-ui/zssh.desktop.in b/avahi-ui/zssh.desktop.in
new file mode 100644
index 0000000..e803a42
--- /dev/null
+++ b/avahi-ui/zssh.desktop.in
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Name=Avahi SSH Server Browser
+Comment=Browse for Zeroconf-enabled SSH Services
+Exec=@bindir@/zssh
+Terminal=false
+Type=Application
+Icon=network-wired
+Categories=GNOME;Application;System;Utility;
+StartupNotify=false
+GenericName=
diff --git a/avahi-ui/zvnc.desktop.in b/avahi-ui/zvnc.desktop.in
new file mode 100644
index 0000000..63ce43e
--- /dev/null
+++ b/avahi-ui/zvnc.desktop.in
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Name=Avahi VNC Service Browser
+Comment=Browse for Zeroconf-enabled VNC Services
+Exec=@bindir@/zvnc
+Terminal=false
+Type=Application
+Icon=network-wired
+Categories=GNOME;Application;System;Utility;
+StartupNotify=false
+GenericName=