Bug 66689 - Add application/x-click type
Summary: Add application/x-click type
Status: RESOLVED MOVED
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: All All
: medium enhancement
Assignee: Shared Mime Info group
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-08 10:57 UTC by Colin Watson
Modified: 2013-08-05 11:39 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Add application/x-click type (2.75 KB, text/plain)
2013-07-08 10:57 UTC, Colin Watson
Details

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.