Bug 66689

Summary: Add application/x-click type
Product: shared-mime-info Reporter: Colin Watson <cjwatson>
Component: freedesktop.org.xmlAssignee: Shared Mime Info group <shared_mime_info>
Status: RESOLVED MOVED QA Contact:
Severity: enhancement    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Add application/x-click type

Description Colin Watson 2013-07-08 10:57:21 UTC
Created attachment 82181 [details]
Add application/x-click type

The attached patch adds an application/x-click MIME type for the Click package format due to be used on Ubuntu Touch.  It would be great if you'd be willing to add this, since I'd like to be able to refer to this MIME type in such places as PackageKit.  Thanks in advance.
Comment 1 Bastien Nocera 2013-07-25 09:32:52 UTC
(In reply to comment #0)
> Created attachment 82181 [details]
> Add application/x-click type
> 
> The attached patch adds an application/x-click MIME type for the Click
> package format due to be used on Ubuntu Touch.  It would be great if you'd
> be willing to add this, since I'd like to be able to refer to this MIME type
> in such places as PackageKit.  Thanks in advance.

It needs to be used in more than one place for it to be added to shared-mime-info (otherwise you can ship it with your code). Your patch is also missing magic for the package (if you haven't finished defined the file format, I would recommend you add real magic to it).
Comment 2 Colin Watson 2013-08-05 11:39:00 UTC
Fair enough.  I've added this to the click package instead, and adjusted the file format slightly so that I can define reliable magic over and above the .deb format that it's based on.

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.