diff options
author | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2014-09-18 11:47:21 -0400 |
---|---|---|
committer | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2015-02-18 01:50:56 +0000 |
commit | a5aab2432104fa1c057e4beda37f51b465ae5b9e (patch) | |
tree | 4100ae610764c97b5c1f5c35cbd2a10a8aea8e48 | |
parent | 909d891b267852d386f0e47cb4ccd818b7f99176 (diff) |
Add an appdata entry for Wireshark.
Based on the one from Richard Hughes.
A French translation of the description field is included.
Links to two screenshots are provided--they are stored in my home directory
on wireshark.org (for lack of a better place that I can put them).
Bug: 10479
Change-Id: Ida9b9e46c0fb23a7baff50f98afa597b25b8ca54
Reviewed-on: https://code.wireshark.org/review/4178
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | packaging/rpm/SPECS/wireshark.spec.in | 7 | ||||
-rw-r--r-- | wireshark.appdata.xml | 50 |
3 files changed, 60 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index b0c81cc1f2..5865a5340a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1209,6 +1209,7 @@ EXTRA_DIST = \ services \ wireshark.desktop \ wireshark-mime-package.xml \ + wireshark.appdata.xml \ wireshark.pc.in \ wka.tmpl \ CMakeLists.txt \ @@ -1425,6 +1426,8 @@ if BUILDING_WIRESHARK if NOT_OS_X mkdir -p $(DESTDIR)$(datadir)/mime/packages install -m 644 $(srcdir)/wireshark-mime-package.xml $(DESTDIR)$(datadir)/mime/packages/wireshark.xml + mkdir -p $(DESTDIR)$(datadir)/appdata + install -m 644 $(srcdir)/wireshark.appdata.xml $(DESTDIR)$(datadir)/appdata/wireshark.appdata.xml mkdir -p $(DESTDIR)$(datadir)/applications if test x$(DESKTOP_FILE_INSTALL) != x ; then \ $(DESKTOP_FILE_INSTALL) --dir $(DESTDIR)$(datadir)/applications $(srcdir)/wireshark.desktop; \ diff --git a/packaging/rpm/SPECS/wireshark.spec.in b/packaging/rpm/SPECS/wireshark.spec.in index 1099ab940f..bce5753110 100644 --- a/packaging/rpm/SPECS/wireshark.spec.in +++ b/packaging/rpm/SPECS/wireshark.spec.in @@ -105,6 +105,8 @@ Requires(pre): shadow-utils BuildRequires: rpm >= 4.7.0 %endif +# NOTE: the below description has been copied to wireshark.appdata.xml (in the +# top-level directory). %description Wireshark allows you to examine protocol data stored in files or as it is captured from wired or wireless (WiFi or Bluetooth) networks, USB devices, @@ -370,6 +372,7 @@ fi %files qt %defattr(-,root,root) %{_datadir}/applications/wireshark.desktop +%{_datadir}/appdata/wireshark.appdata.xml %{_datadir}/icons/hicolor/*/apps/* %{_datadir}/icons/hicolor/*/mimetypes/* %{_datadir}/mime/packages/wireshark.xml @@ -382,6 +385,7 @@ fi %files gnome %defattr(-,root,root) %{_datadir}/applications/wireshark.desktop +%{_datadir}/appdata/wireshark.appdata.xml %{_datadir}/icons/hicolor/*/apps/* %{_datadir}/icons/hicolor/*/mimetypes/* %{_datadir}/mime/packages/wireshark.xml @@ -391,6 +395,9 @@ fi %endif %changelog +* Thu Jan 22 2015 Jeff Morriss +- Add appdata file. + * Tue Jan 20 2015 Jeff Morriss - Make the license tag more specific: Wireshark is GPLv2+. diff --git a/wireshark.appdata.xml b/wireshark.appdata.xml new file mode 100644 index 0000000000..26dda5eebd --- /dev/null +++ b/wireshark.appdata.xml @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> --> + +<application> + <id type="desktop">wireshark.desktop</id> + <metadata_license>CC0-1.0</metadata_license> + <project_license>GPL-2.0</project_license> + <!-- NOTE: the below description was copied from packaging/rpm/SPECS/wireshark.spec.in --> + <description> + <p> + Wireshark is the world's foremost protocol analyzer. + </p> + <p> + Wireshark allows you to examine protocol data stored in files or as it + is captured from wired or wireless (WiFi or Bluetooth) networks, USB + devices, and many other sources. It supports dozens of protocol + capture file formats and understands more than a thousand protocols. + </p> + <p> + It has many powerful features including a rich display filter language + and the ability to reassemble multiple protocol packets in order to, + for example, view a complete TCP stream, save the contents of a file + which was transferred over HTTP or CIFS, or play back an RTP audio + stream. + </p> + <p xml:lang="fr"> + Wireshark est le principal analyseur de protocole au monde. + </p> + <p xml:lang="fr"> + Wireshark vous permet d’examiner les données enregistrées dans des + fichiers ou en temps réel sur un réseau câblé ou sans fil (WiFi ou + Bluetooth), à partir d’équipement USB et de bien d’autres sources. + Il supporte des dizaines de formats de fichiers de capture de + protocoles et comprend plus d’un millier de protocoles. + </p> + <p xml:lang="fr"> + Il dispose de nombreuses fonctionnalités puissantes dont un riche + langage de filtre d’affichage et la capacité de ré-assembler de + multiples paquets de protocoles, afin par exemple, de visualiser + un flux TCP, de sauvegarder le contenu d’un fichier transféré par + HTTP ou CIFS, ou de re-jouer un flux audio RTP. + </p> + </description> + <url type="homepage">https://www.wireshark.org</url> + <screenshots> + <screenshot type="default">http://www.wireshark.org/~morriss/Screenshot-Wireshark2.0-Http-cap.png</screenshot> + <screenshot>http://www.wireshark.org/~morriss/Screenshot-Wireshark2.0-Stevens-graph.png</screenshot> + </screenshots> + <updatecontact>wireshark-dev_at_wireshark.org</updatecontact> +</application> |