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-7.0 platform.
Download (HTTP): http://freedesktop.org/~hadess/shared-mime-info-0.91.tar.xz
Download MD5 sum: 982a211560ba4c47dc791ccff34e8fbc
Download size: 484 KB
Estimated disk space required: 16 MB
Estimated build time: 0.1 SBU
GLib-2.30.1, intltool-0.50.0, and libxml2-2.7.8
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/shared-mime-info
Install shared-mime-info by running the following commands:
./configure --prefix=/usr && make
To test the results, issue: make check.
Now, as the root
user:
make install
Some applications (including GNOME-2) require a properly set environment variable to locate the MIME database. Satisfy this requirement by setting the following variable in your local shell profile, or the system-wide profile:
XDG_DATA_DIRS=/usr/share
export XDG_DATA_DIRS
Last updated on 2012-01-06 20:19:26 +0000