Bug 13953

Summary: xdg-utils: perl-mimeinfo support
Product: Portland Reporter: Rex Dieter <rdieter>
Component: xdg-utilsAssignee: Portland Bugs <portland-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: pelle, ps
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: add mimeinfo support

Description Rex Dieter 2008-01-07 05:10:13 UTC
Similar to bug #8158 adding fall-through run-mailcap support, I'd propose adding support to use perl MimeInfo (see http://search.cpan.org/dist/File-MimeInfo/).  In particular, to use it's 'mimeopen' tool (http://search.cpan.org/dist/File-MimeInfo/mimeopen).

Proposed patch forthcoming.
Comment 1 Rex Dieter 2008-01-07 05:10:51 UTC
Created attachment 13566 [details] [review]
add mimeinfo support
Comment 2 Rex Dieter 2008-01-11 14:11:07 UTC
cvs updated.
Comment 3 ps 2008-01-11 14:31:05 UTC
fyi mimeopen is not essential part of all systems.
will you put it in requirements?
Comment 4 Rex Dieter 2008-01-11 14:33:22 UTC
mimeopen is purely optional, ie will be used if present, else fall back to other "generic" mechanisms to open files.
Comment 5 ps 2008-01-11 14:43:40 UTC
ok to put it more general - do you intend to solve the generic fallback in
in some non-firefox mode? either by some integrated mime mechanism or by adding 
some package requirements.
Comment 6 Rex Dieter 2008-01-11 15:12:11 UTC
not here, no.  that discussion belongs elsewhere (xdg list?), not in bugzilla.

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.