From: Petter Reinholdtsen Date: Wed, 16 Jan 2013 08:57:48 +0000 (+0000) Subject: New post. X-Git-Url: https://pere.pagekite.me/gitweb/homepage.git/commitdiff_plain/f2cb48659accd4757c7bbd81c82f9e779a7bbffe?ds=inline New post. --- diff --git a/blog/data/2013-01-16-debian-dep11.txt b/blog/data/2013-01-16-debian-dep11.txt new file mode 100644 index 0000000000..7962aa02ec --- /dev/null +++ b/blog/data/2013-01-16-debian-dep11.txt @@ -0,0 +1,108 @@ +Title: What is the best supported MIME type in Debian? +Tags: english, debian +Date: 2013-01-16 10:10 + +

The DEP-11 +proposal to add AppStream information to the Debian archive, is a +proposal to make it possible for a Desktop application to propose to +the user some package to install to gain support for a given MIME +type, font, library etc. that is currently missing. With such +mechanism in place, it would be possible for the desktop to +automatically propose and install leocad if some LDraw file is +downloaded by the browser.

+ +

To get some idea about the current content of the archive, I decided +to write a simple program to extract all .desktop files from the +Debian archive and look up the claimed MIME support there. The result +can be found on the +Skolelinux FTP +site. Using the collected information, it become possible to +answer the question in the title. Here are the 20 most supported MIME +types in Debian stable (Squeeze), testing (Wheezy) and unstable (Sid). +The complete list is available from the link above.

+ +

Debian Stable:

+ +
+  count MIME type
+  ----- -----------------------
+     25 audio/mpeg
+     24 audio/x-mp3
+     24 application/ogg
+     23 text/plain
+     21 image/tiff
+     20 image/jpeg
+     20 audio/x-flac
+     19 image/png
+     19 image/gif
+     19 audio/x-wav
+     19 audio/x-mpegurl
+     18 image/bmp
+     18 audio/x-scpls
+     18 audio/x-mpeg
+     16 audio/x-musepack
+     16 application/x-ogg
+     14 image/x-portable-pixmap
+     14 image/x-portable-bitmap
+     13 video/x-ms-asf
+     13 video/mpeg
+
+ +

Debian Testing:

+ +
+  count MIME type
+  ----- -----------------------
+     21 text/plain
+     21 audio/x-mp3
+     21 audio/mpeg
+     20 application/ogg
+     19 audio/x-wav
+     18 image/tiff
+     18 image/jpeg
+     18 audio/x-flac
+     17 image/png
+     17 image/gif
+     17 audio/x-mpegurl
+     16 audio/x-scpls
+     15 image/bmp
+     15 audio/x-mpeg
+     14 application/x-ogg
+     13 video/x-ms-asf
+     13 audio/x-musepack
+     12 video/x-ms-wmv
+     12 video/x-msvideo
+     12 video/quicktime
+
+ +

Debian Unstable:

+ +
+  count MIME type
+  ----- -----------------------
+     23 audio/mpeg
+     22 text/plain
+     21 audio/x-mp3
+     21 application/ogg
+     20 audio/x-wav
+     19 image/tiff
+     19 audio/x-flac
+     18 image/jpeg
+     17 image/png
+     17 image/gif
+     17 audio/x-mpegurl
+     16 image/bmp
+     16 audio/x-scpls
+     16 audio/x-mpeg
+     14 audio/x-musepack
+     14 application/x-ogg
+     13 video/x-ms-asf
+     13 video/mpeg
+     13 audio/mp4
+     12 video/x-ms-wmv
+
+ +

I am told that PackageKit can provide an API to access the kind of +information mentioned in DEP-11. I have not yet had time to look at +it, but hope the PackageKit people in Debian are on top of these +issues.