FS#30845 - [wireshark-gtk] Add icons for pcap-mimetype

Attached to Project: Arch Linux
Opened by Joris Peeraer (jeepee) - Wednesday, 25 July 2012, 10:01 GMT
Last edited by Guillaume ALAUX (galaux) - Sunday, 29 July 2012, 10:23 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Guillaume ALAUX (galaux)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
------------
At present, pcap-files don't have any icon associated with them that would hint that it is a pcap-file. In the source-package these icons are provided, but they are not installed.


Solution:
---------
Add following code to package_wireshark-gtk() function in the PKGBUILD (patch attached):

for d in 16 24 32 48 64 128 256 ; do
install -Dm644 image/WiresharkDoc-${d}.png "${pkgdir}/usr/share/icons/hicolor/${d}x${d}/mimetypes/application-vnd.tcpdump.pcap.png"
done


Remarks:
--------
I can see that there can be other programs that could be used to open pcap-files. I know this is handled by the default-mime-apps defined in .local/share/applications/mimeapps.list. Though, I don't know how the associated icon can be changed based on this definition.
This task depends upon

Closed by  Guillaume ALAUX (galaux)
Sunday, 29 July 2012, 10:23 GMT
Reason for closing:  Fixed
Additional comments about closing:  Added en tested OK in 1.8.1-1
Comment by Guillaume ALAUX (galaux) - Wednesday, 25 July 2012, 17:35 GMT
Sounds fair. Will have a look at that.

Loading...