Package: wireshark Version: 1.10.2-1 Severity: minor Tags: patch Dear Maintainer,
First of all, sorry for my poor English. On the GNOME environment of Debian, when I double-click a *.pcap file, Wireshark is invoked and the file is opened. But, when I double-click another file that Wireshark can open (for example, *.pcapng, *.pcapng.gz), Wireshark is not invoked and the file is not opened. But, if "wireshark-mime-package.xml" file that is included in the tarball of Wireshark is added to the wireshark binary package, Wireshark become to be invoked by double-clicking the file such as *.pcapng. The attached patch adds "wireshark-mime-package.xml" file to the wireshark binary package. Please review it, and if satisfactory, consider including it in the package. P.S. I wrote the two lines that I added to the "debian/rules" file by referring to two lines in the "install_desktop_files" target in the "Makefile.am" file that is included in the tarball of Wireshark. Thanks, -- System Information: Debian Release: 7.1 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores) Locale: LANG=ja_JP.utf8, LC_CTYPE=ja_JP.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- Yukio Shiiya <shiiya @ sky.email.ne.jp>
diff -urNp wireshark-1.10.2-1.orig/debian/rules wireshark-1.10.2-1/debian/rules --- wireshark-1.10.2-1.orig/debian/rules 2013-04-22 12:03:24.000000000 +0900 +++ wireshark-1.10.2-1/debian/rules 2013-09-16 07:06:47.685328943 +0900 @@ -41,6 +41,8 @@ override_dh_auto_install: install -m 644 image/wsicon.svg $(CURDIR)/debian/tmp/usr/share/icons/hicolor/scalable/apps/wireshark.svg mkdir -p $(CURDIR)/debian/tmp/usr/share/icons/hicolor/48x48/apps/ install -m 644 image/wsicon48.png $(CURDIR)/debian/tmp/usr/share/icons/hicolor/48x48/apps/wireshark.png + mkdir -p $(CURDIR)/debian/tmp/usr/share/mime/packages/ + install -m 644 wireshark-mime-package.xml $(CURDIR)/debian/tmp/usr/share/mime/packages/wireshark.xml mkdir -p $(CURDIR)/debian/tmp/etc/wireshark/ mv $(CURDIR)/debian/tmp/usr/share/wireshark/init.lua \ $(CURDIR)/debian/tmp/etc/wireshark/ diff -urNp wireshark-1.10.2-1.orig/debian/wireshark.install wireshark-1.10.2-1/debian/wireshark.install --- wireshark-1.10.2-1.orig/debian/wireshark.install 2013-03-21 08:47:45.000000000 +0900 +++ wireshark-1.10.2-1/debian/wireshark.install 2013-09-16 07:10:28.989328068 +0900 @@ -2,3 +2,4 @@ usr/bin/wireshark wireshark.desktop usr/share/applications/ image/wsicon32.xpm usr/share/pixmaps/ usr/share/icons/ +usr/share/mime/packages/

