Bug 24723

Summary: please add application/x-icc-profile to the spec
Product: shared-mime-info Reporter: Richard Hughes <richard>
Component: freedesktop.org.xmlAssignee: Jonathan Blandford <jrb>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: git am formatted patch
blueish ICC profile
new patch

Description Richard Hughes 2009-10-25 07:59:50 UTC
Created attachment 30669 [details] [review]
git am formatted patch

A few of us are working on making ICC profiles "just work" in GNOME. Do do this, the user needs to double click on the vendor supplied icc/icm file and have it installed automatically.

By adding the mime type to the specification, an import program can be automatically installed (if not installed by default) using PackageKit and the existing nautilus infrastructure. This will be useful for GNOME and KDE.

The matching values are taken from the ICC specification.
Comment 1 Richard Hughes 2009-10-25 08:04:43 UTC
Created attachment 30670 [details]
blueish ICC profile

This sRGB IEC61966-2.1 ICC profile is not really licensed for redistribution (Copyright (c) 1998 Hewlett-Packard Company) but can be found in the xcalib tarball located here: http://xcalib.sourceforge.net/ -- I'm not sure if this is good enough for use as a test.

If you need a GPLv2 licensed file, I can manually create a dummy ICC file, although this might take a few hours to implement the specification using a HEX editor.
Comment 2 Bastien Nocera 2009-10-26 02:59:28 UTC
Wrong mime-type:
http://www.iana.org/assignments/media-types/application/vnd.iccprofile

Could you please include the test file as well as the changes to tests/list in your patch?
Comment 3 Richard Hughes 2009-10-27 01:06:19 UTC
Created attachment 30733 [details] [review]
new patch

New patch to address both issues. Please review. Thanks.
Comment 4 Bastien Nocera 2009-10-27 05:20:56 UTC
Fixed the mime-type in the commit log and pushed to master.

Thanks!

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.