From 9b49423bb5a8df04339b080d419763ce9bb0ddb7 Mon Sep 17 00:00:00 2001 From: Chris Wright Date: Thu, 1 Mar 2012 21:13:36 -0800 Subject: [PATCH] ovsdbmonitor: add .desktop file Needed for Fedora builds, might as well share it. Signed-off-by: Chris Wright Signed-off-by: Ben Pfaff --- ovsdb/ovsdbmonitor/automake.mk | 5 ++++- ovsdb/ovsdbmonitor/ovsdbmonitor.desktop | 7 +++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 ovsdb/ovsdbmonitor/ovsdbmonitor.desktop 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; -- 2.30.2