From: Uwe Hermann Date: Sat, 7 Apr 2018 17:27:45 +0000 (+0200) Subject: Add a .desktop file and an icon. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=3a98d7da5ba456afef61c73ac2ce42791d32bfba;p=sigrok-cli.git Add a .desktop file and an icon. --- diff --git a/Makefile.am b/Makefile.am index c6d6c8a..84f94b4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -40,7 +40,16 @@ sigrok_cli_LDADD = $(SIGROK_CLI_LIBS) dist_man_MANS = doc/sigrok-cli.1 -EXTRA_DIST = contrib/sigrok-logo-notext.ico +desktopdir = @datadir@/applications +desktop_DATA = contrib/org.sigrok.sigrok-cli.desktop + +hicolor_icondir = @datadir@/icons/hicolor/scalable/apps +hicolor_icon_DATA = contrib/sigrok-cli.svg + +EXTRA_DIST = \ + contrib/sigrok-logo-notext.ico \ + contrib/org.sigrok.sigrok-cli.desktop \ + contrib/sigrok-cli.svg MAINTAINERCLEANFILES = ChangeLog diff --git a/contrib/org.sigrok.sigrok-cli.desktop b/contrib/org.sigrok.sigrok-cli.desktop new file mode 100644 index 0000000..333a933 --- /dev/null +++ b/contrib/org.sigrok.sigrok-cli.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +# Creative Commons CC0 1.0 Universal (CC0-1.0, Public Domain Dedication). +Name=sigrok-cli +GenericName=Logic analyzer, oscilloscope and MSO command-line tool +Categories=Development;Electronics; +Comment=Control your logic analyzer, oscilloscope, or MSO +Exec=sigrok-cli +Icon=sigrok-cli +Terminal=true +NoDisplay=true +Type=Application +MimeType=application/vnd.sigrok.session; diff --git a/contrib/sigrok-cli.svg b/contrib/sigrok-cli.svg new file mode 100644 index 0000000..620028d --- /dev/null +++ b/contrib/sigrok-cli.svg @@ -0,0 +1,234 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +