Bug 853 - conflict: linux PSF console font / Portable Sound Format
Summary: conflict: linux PSF console font / Portable Sound Format
Status: RESOLVED FIXED
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high minor
Assignee: Jonathan Blandford
QA Contact:
URL: http://www.neillcorlett.com/psf/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-10 20:25 UTC by Jo Valentine-Cooper
Modified: 2007-03-08 06:39 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
xorg.conf (2.81 KB, patch)
2006-06-07 15:40 UTC, Roy Dragseth
Details | Splinter Review

Description Jo Valentine-Cooper 2004-07-10 20:25:39 UTC
Currently there are two ways to identify a PSF console font in the shared mime 
database - a bit of "mime magic", and a glob (*.psf)

This glob interferes with any user-level attempts to add mime types for the 
Portable Sound Format, a reasonably common music format among emulation 
enthusiasts.

As there's a "magic" line available for the console font, I submit that there's 
no reason to include the glob.

(As for adding the Portable Sound Format itself, I don't believe there's a 
commonly accepted MIME type for it yet, so I'm not suggesting that. I've been 
using "audio/x-psf", vaugely inspired by the Portable Document Format type.)
Comment 1 Roy Dragseth 2006-06-07 15:40:13 UTC
Created attachment 5844 [details] [review]
xorg.conf
Comment 2 Bastien Nocera 2006-07-09 03:10:13 UTC
Comment on attachment 5844 [details] [review]
xorg.conf

Patch was lost
Comment 3 Christian - Manny Calavera - Neumair 2007-03-08 06:39:17 UTC
OK, I hope that I just committed the proper fix:

I added three MIME types for PSF audio:

audio/x-psf
audio/x-minipsf
audio/x-psflib

All of them are PSF files, and thus start with "PSF".

Plain PSF files (x-psf, *.psf) are self-contained, MiniPSF files (x-minipsf, *.minipsf) reference other plain PSF files called PSF libraries (x-psflib, *.psflib).

So now all PSF files and the console font type have globs, and xdgmime will properly figure out the correct file type. Some tests revealed that this is working very well.

Closing.


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.