The Shared Mime Info package contains a MIME database. This allows central updates of MIME information for all supporting applications.
This package is known to build and work properly using an LFS-10.1 platform.
Download (HTTP): https://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/2.1/shared-mime-info-2.1.tar.gz
Download MD5 sum: 8d059fb2d34062a67fd9ca63fab1fb91
Download size: 5.0 MB
Estimated disk space required: 26 MB
Estimated build time: less than 0.1 SBU
GLib-2.68.1, itstool-2.0.6, libxml2-2.9.10, and xmlto-0.0.28
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/shared-mime-info
Install Shared Mime Info by running the following commands:
mkdir build && cd build && meson --prefix=/usr -Dupdate-mimedb=true .. && ninja
To test the result, issue ninja test.
Now, as the root
user:
ninja install
-Dupdate-mimedb=true
: This
parameter tells the build system to run update-mime-database during
installation. Otherwise, this must be done manually in order to be
able to use the MIME database.
Last updated on 2021-04-07 11:59:42 -0500