shared-mime-info-2.4

Introduction to Shared Mime Info

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 12.4 platform.

Package Information

Additional Downloads

Shared Mime Info Dependencies

Required

GLib-2.86.2 and libxml2-2.15.1

Optional

xmlto-0.0.29

Installation of Shared Mime Info

Install Shared Mime Info by running the following commands:

If you wish to run the test suite, you must first extract the xdgmime tarball into the current directory, and compile it so that meson can find it:

tar -xf ../xdgmime.tar.xz
make -C xdgmime

Now build the package:

meson setup build --prefix=/usr --buildtype=release -D update-mimedb=true
ninja -C build

If you have followed the instructions above to build xdgmime, to test the result issue:

ninja -C build test

Now Install, as the root user:

ninja -C build install

Command Explanations

-D update-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.

Contents

Installed Program: update-mime-database
Installed Library: None
Installed Directory: /usr/share/mime

Short Descriptions

update-mime-database

assists in adding MIME data to the database