Register Wireshark as the reader of mplog files on freedesktop, OS X, and Windows.

(Doing this for freedesktop.org-compliant systems requires adding a MIME type;
yes, I just made the application/x-micropross-mplog MIME type up.)

Change-Id: I11d8cc22571dd39984f8237d0ef995922bdfd15f
Reviewed-on: https://code.wireshark.org/review/15012
Petri-Dish: Jeff Morriss <jeff.morriss.ws@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
This commit is contained in:
Jeff Morriss 2016-04-19 18:04:03 -04:00
parent c954b1cefc
commit fc5767418c
5 changed files with 25 additions and 2 deletions

View File

@ -47,6 +47,18 @@
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>mplog</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>Wiresharkdoc.icns</string>
<key>CFBundleTypeName</key>
<string>Micropross mplog capture</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<!-- XXX - This dictionary needs a lot more entries -->
</array>
<key>CFBundleInfoDictionaryVersion</key>

View File

@ -113,7 +113,7 @@ Left=10
Right=280
Top=120
Bottom=128
Text=Extensions: 5vw, acp, apc, atc, bfr, cap, enc, erf, fdc, out, pcap,
Text=Extensions: 5vw, acp, apc, atc, bfr, cap, enc, erf, fdc, mplog, out, pcap,
[Field 13]
Type=Label

View File

@ -118,6 +118,7 @@ Exec '"$SYSDIR\ie4uinit.exe" -ClearIconCache'
Push ".apc"
Push ".acp"
Push ".5vw"
Push ".mplog"
!macroend
!macro IsWiresharkRunning

View File

@ -163,4 +163,14 @@
<glob pattern="*.rf5"/>
<glob pattern="*.rf5.gz"/>
</mime-type>
<mime-type type="application/x-micropross-mplog">
<comment>Packet Capture (mplog)</comment>
<generic-icon name="application-wireshark-doc"/>
<magic>
<match type="string" offset="0" value="MPCSII"/>
</magic>
<glob pattern="*.mplog"/>
<glob pattern="*.mplog.gz"/>
</mime-type>
</mime-info>

View File

@ -105,7 +105,7 @@ Icon=wireshark
TryExec=wireshark
Exec=wireshark %f
Terminal=false
MimeType=application/vnd.tcpdump.pcap;application/x-pcapng;application/x-snoop;application/x-iptrace;application/x-lanalyzer;application/x-nettl;application/x-radcom;application/x-etherpeek;application/x-visualnetworks;application/x-netinstobserver;application/x-5view;application/x-tektronix-rf5;
MimeType=application/vnd.tcpdump.pcap;application/x-pcapng;application/x-snoop;application/x-iptrace;application/x-lanalyzer;application/x-nettl;application/x-radcom;application/x-etherpeek;application/x-visualnetworks;application/x-netinstobserver;application/x-5view;application/x-tektronix-rf5;application/x-micropross-mplog;
# Category entry according to:
# http://standards.freedesktop.org/menu-spec/1.0/
Categories=Network;Monitor;Qt;