Bug 750

Summary: No mime type for PAR2 files
Product: shared-mime-info Reporter: dob <abusenospam>
Component: freedesktop.org.xmlAssignee: Jonathan Blandford <jrb>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
URL: http://parchive.sourceforge.net/
Whiteboard:
i915 platform: i915 features:

Description dob 2004-06-14 06:42:41 UTC
PAR2 Parity Files are used to repair corrupted files and are very frequently
used on usenet for the posting of binaries.
http://parchive.sourceforge.net/

Shared Mime Info does not provide a mime type foir this, and it has lead me to
great frustrations when trying to click on par2 files from Nautilus.

I added the following to my /usr/share/mime/packages/freedesktop.org.xml and it
seems to work:

  <mime-type type="application/x-par2">
    <comment>PAR2 Parity File</comment>
    <magic priority="50">
      <match offset="0" type="string" value="PAR2" />
    </magic>
    <glob pattern="*.PAR2" />
    <glob pattern="*.par2" />
  </mime-type>
Comment 1 Christophe Fergeau 2004-11-01 13:34:30 UTC
Added to CVS.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.