ovsdbmonitor: add .desktop file
authorChris Wright <chrisw@sous-sol.org>
Fri, 2 Mar 2012 05:13:36 +0000 (21:13 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 2 Mar 2012 18:20:57 +0000 (10:20 -0800)
Needed for Fedora builds, might as well share it.

Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Ben Pfaff <blp@nicira.com>
ovsdb/ovsdbmonitor/automake.mk
ovsdb/ovsdbmonitor/ovsdbmonitor.desktop [new file with mode: 0644]

index ec63cc71f2d810b93483fdaadfc142961e7ef908..14da10b5cae9575cad2fe8af7547b675f2d67454 100644 (file)
@@ -25,13 +25,16 @@ EXTRA_DIST += \
        ovsdb/ovsdbmonitor/HostWindow.ui \
        ovsdb/ovsdbmonitor/LogWindow.ui \
        ovsdb/ovsdbmonitor/MainWindow.ui \
-       ovsdb/ovsdbmonitor/ovsdbmonitor.in
+       ovsdb/ovsdbmonitor/ovsdbmonitor.in \
+       ovsdb/ovsdbmonitor/ovsdbmonitor.desktop
 MAN_ROOTS += ovsdb/ovsdbmonitor/ovsdbmonitor.1
 
 ovsdbmonitordir = ${datadir}/ovsdbmonitor
+desktopdir = ${datadir}/applications
 if BUILD_OVSDBMONITOR
 noinst_SCRIPTS += ovsdb/ovsdbmonitor/ovsdbmonitor
 ovsdbmonitor_DATA = $(ovsdbmonitor_pyfiles)
+desktop_DATA = ovsdb/ovsdbmonitor/ovsdbmonitor.desktop
 install-exec-hook:
        sed -e '/NOINSTALL/d' < ovsdb/ovsdbmonitor/ovsdbmonitor > ovsdb/ovsdbmonitor/ovsdbmonitor.tmp
        chmod +x ovsdb/ovsdbmonitor/ovsdbmonitor.tmp
diff --git a/ovsdb/ovsdbmonitor/ovsdbmonitor.desktop b/ovsdb/ovsdbmonitor/ovsdbmonitor.desktop
new file mode 100644 (file)
index 0000000..b0f8253
--- /dev/null
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Name=Open vSwitch DB Monitor
+Comment=Monitor and troubleshoot local or remote Open vSwitch instances
+Exec=ovsdbmonitor
+Terminal=false
+Type=Application
+Categories=System;Monitor;