]> pere.pagekite.me Git - homepage.git/commitdiff
New post.
authorPetter Reinholdtsen <pere@hungry.com>
Wed, 16 Jan 2013 08:57:48 +0000 (08:57 +0000)
committerPetter Reinholdtsen <pere@hungry.com>
Wed, 16 Jan 2013 08:57:48 +0000 (08:57 +0000)
blog/data/2013-01-16-debian-dep11.txt [new file with mode: 0644]

diff --git a/blog/data/2013-01-16-debian-dep11.txt b/blog/data/2013-01-16-debian-dep11.txt
new file mode 100644 (file)
index 0000000..7962aa0
--- /dev/null
@@ -0,0 +1,108 @@
+Title: What is the best supported MIME type in Debian?
+Tags: english, debian
+Date: 2013-01-16 10:10
+
+<p>The <a href="http://wiki.debian.org/AppStreamDebianProposal">DEP-11
+proposal to add AppStream information to the Debian archive</a>, 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.</p>
+
+<p>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
+<a href="http://ftp.skolelinux.org/pub/AppStreamTest">Skolelinux FTP
+site</a>.  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.</p>
+
+<p><strong>Debian Stable:</strong></p>
+
+<pre>
+  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
+</pre>
+
+<p><strong>Debian Testing:</strong></p>
+
+<pre>
+  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
+</pre>
+
+<p><strong>Debian Unstable:</strong></p>
+
+<pre>
+  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
+</pre>
+
+<p>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.</p>