BSDCOPYING \
SECURITY \
build-aux/mtr.bat \
- img/mtr_icon.xpm
- $(TEST_FILES)
+ img/mtr_icon.xpm \
+ img/mtr.png
sbin_PROGRAMS = mtr mtr-packet
TESTS = \
dist_bashcompletion_DATA = bash-completion/mtr
endif
+if WITH_GTK
+desktopdir = $(datadir)/applications
+dist_desktop_DATA = data/mtr.desktop
+
+appstreamdir = $(datadir)/metainfo
+dist_appstream_DATA = data/mtr.metainfo.xml
+
+icondir = $(datadir)/icons/hicolor/48x48/apps
+dist_icon_DATA = img/mtr.png
+endif
+
dist-hook:
$(AM_V_GEN)echo $(VERSION) > $(distdir)/.tarball-version
--- /dev/null
+[Desktop Entry]
+Name=My Traceroute
+Comment=Trace packet routes between network hosts
+Exec=mtr --gtk
+Icon=mtr
+Terminal=false
+Type=Application
+Categories=GTK;Network;Monitor;
+Keywords=network;trace;traceroute;ping;
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop-application">
+ <id>nl.bitwizard.mtr.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0-only</project_license>
+ <name>My Traceroute</name>
+ <summary>Trace packet routes between network hosts</summary>
+ <description>
+ <p>
+ My Traceroute combines the functionality of traceroute and ping in a
+ single network diagnostic tool. It shows the route packets take to a
+ network host together with latency and packet loss statistics for each
+ hop.
+ </p>
+ </description>
+ <launchable type="desktop-id">mtr.desktop</launchable>
+ <url type="homepage">https://www.bitwizard.nl/mtr/</url>
+ <provides>
+ <binary>mtr</binary>
+ </provides>
+</component>