From: Chris Wright Date: Fri, 2 Mar 2012 05:13:36 +0000 (-0800) Subject: ovsdbmonitor: add .desktop file X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b49423bb5a8df04339b080d419763ce9bb0ddb7;p=openvswitch ovsdbmonitor: add .desktop file Needed for Fedora builds, might as well share it. Signed-off-by: Chris Wright Signed-off-by: Ben Pfaff --- diff --git a/ovsdb/ovsdbmonitor/automake.mk b/ovsdb/ovsdbmonitor/automake.mk index ec63cc71..14da10b5 100644 --- a/ovsdb/ovsdbmonitor/automake.mk +++ b/ovsdb/ovsdbmonitor/automake.mk @@ -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 index 00000000..b0f8253e --- /dev/null +++ b/ovsdb/ovsdbmonitor/ovsdbmonitor.desktop @@ -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;