Bug 13953 - xdg-utils: perl-mimeinfo support
Summary: xdg-utils: perl-mimeinfo support
Status: RESOLVED FIXED
Alias: None
Product: Portland
Classification: Unclassified
Component: xdg-utils (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Portland Bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-07 05:10 UTC by Rex Dieter
Modified: 2008-01-11 15:12 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
add mimeinfo support (485 bytes, patch)
2008-01-07 05:10 UTC, Rex Dieter
Details | Splinter Review

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.