]> pere.pagekite.me Git - homepage.git/blobdiff - blog/archive/2025/01/01.rss
Generated.
[homepage.git] / blog / archive / 2025 / 01 / 01.rss
index 59953b8d4409418b45bd83bd441b20b18a9ec0fa..4938c3bfbda58c0789423e238a9f5198b2fdf697 100644 (file)
@@ -6,6 +6,123 @@
                 <link>http://www.hungry.com/~pere/blog/</link>
 
        
+       <item>
+               <title>What is the most supported MIME type in Debian in 2025?</title>
+               <link>http://www.hungry.com/~pere/blog/What_is_the_most_supported_MIME_type_in_Debian_in_2025_.html</link>        
+               <guid isPermaLink="true">http://www.hungry.com/~pere/blog/What_is_the_most_supported_MIME_type_in_Debian_in_2025_.html</guid>
+                <pubDate>Sat, 18 Jan 2025 10:30:00 +0100</pubDate>
+               <description>&lt;p&gt;&lt;a href=&quot;http://www.hungry.com/~pere/blog/What_is_the_most_supported_MIME_type_in_Debian_in_2018_.html&quot;&gt;Seven&lt;/a&gt;
+and
+&lt;a href=&quot;http://www.hungry.com/~pere/blog/What_is_the_most_supported_MIME_type_in_Debian_.html&quot;&gt;twelve&lt;/a&gt;
+years ago, I measured what the most supported MIME type in Debian
+was&lt;/a&gt;, first by analysing the desktop files in all packages in the
+archive, then by analysing the DEP-11 AppStream data set.  I guess it
+is time to repeat the measurement, only for unstable as last time:&lt;/p&gt;
+
+&lt;p&gt;&lt;strong&gt;Debian Unstable:&lt;/strong&gt;&lt;/p&gt;
+
+&lt;pre&gt;
+  count MIME type
+  ----- -----------------------
+     63 image/png
+     63 image/jpeg
+     57 image/tiff
+     54 image/gif
+     51 image/bmp
+     50 audio/mpeg
+     48 text/plain
+     42 audio/x-mp3
+     40 application/ogg
+     39 audio/x-wav
+     39 audio/x-flac
+     36 audio/x-vorbis+ogg
+     35 audio/x-mpeg
+     34 audio/x-mpegurl
+     34 audio/ogg
+     33 application/x-ogg
+     32 audio/mp4
+     31 audio/x-scpls
+     31 application/pdf
+     29 audio/x-ms-wma
+&lt;/pre&gt;
+
+&lt;p&gt;The list was created like this using a sid chroot:&lt;/p&gt;
+
+&lt;pre&gt;
+cat /var/lib/apt/lists/*sid*_dep11_Components-amd64.yml.gz | \
+  zcat | awk &#39;/^  - \S+\/\S+$/ {print $2 }&#39; | sort | \
+  uniq -c | sort -nr | head -20
+&lt;/pre&gt;
+
+&lt;p&gt;It is nice to see that the same number of packages now support PNG
+and JPEG.  Last time JPEG had more support than PNG.  Most of the MIME
+types are known to me, but the &#39;audio/x-scpls&#39; one I have no idea what
+represent, except it being an audio format.  To find the packages
+claiming support for this format, the appstreamcli command from the
+appstream package can be used:
+
+&lt;pre&gt;
+% appstreamcli what-provides mediatype audio/x-scpls | grep Package: | sort -u
+Package: alsaplayer-common
+Package: amarok
+Package: audacious
+Package: brasero
+Package: celluloid
+Package: clapper
+Package: clementine
+Package: cynthiune.app
+Package: elisa
+Package: gtranscribe
+Package: kaffeine
+Package: kmplayer
+Package: kylin-burner
+Package: lollypop
+Package: mediaconch-gui
+Package: mediainfo-gui
+Package: mplayer-gui
+Package: mpv
+Package: mystiq
+Package: parlatype
+Package: parole
+Package: pragha
+Package: qmmp
+Package: rhythmbox
+Package: sayonara
+Package: shotcut
+Package: smplayer
+Package: soundconverter
+Package: strawberry
+Package: syncplay
+Package: vlc
+%
+&lt;/pre&gt;
+
+&lt;p&gt;Look like several video and auto tools understand the format.
+Similarly one can check out the number of packages supporting the STL
+format commonly used for 3D printing:&lt;/p&gt;
+
+&lt;pre&gt;
+% appstreamcli what-provides mediatype model/stl | grep Package: | sort -u
+Package: cura
+Package: freecad
+Package: open3d-viewer
+%
+&lt;/pre&gt;
+
+&lt;p&gt;How strange the
+&lt;a href=&quot;https://tracker.debian.org/pkg/slic3r&quot;&gt;slic3r&lt;/a&gt; and
+&lt;a href=&quot;https://tracker.debian.org/pkg/slic3r-prusa&quot;&gt;prusa-slicer&lt;/a&gt;
+packages do not support STL.  Perhaps just missing package metadata?
+Luckily the amount of package metadata in Debian is getting better,
+and hopefully this way of locating relevant packages for any file
+format will be the preferred one soon.
+
+&lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
+activities, please send Bitcoin donations to my address
+&lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
+</description>
+       </item>
+       
        <item>
                <title>The 2025 LinuxCNC Norwegian developer gathering</title>
                <link>http://www.hungry.com/~pere/blog/The_2025_LinuxCNC_Norwegian_developer_gathering.html</link>