README 1.24 KB
Newer Older
1 2
# Shared MIME Info

3
The shared-mime-info package contains:
4

5 6
- The core database of common MIME types, their file extensions and icon names.
- The update-mime-database command, used to extend the DB and install a new MIME data.
7
- The freedesktop.org shared MIME database spec.
8 9

It is used by GLib, GNOME, KDE, XFCE and many others.
10

11
For more information about the database see the [Shared MIME Info Specification here](https://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec/).
12

13
## Installation
14

15
To install do:
16

17
	$ ./configure --prefix=/usr --sysconfdir=/etc
18
	$ make
19
	$ sudo make install
20

21 22
If you are building from git then you will have to run `./autogen.sh` first.

23
It requires glib to be installed for building the update command.
24
Additionally, it uses gettext and itstool for translations.
25 26 27
This database is translated at Transifex.


28 29 30 31 32
Please report bugs here:
  https://gitlab.freedesktop.org/xdg/shared-mime-info/issues

Getting involved in freedesktop.org projects guide:
  https://www.freedesktop.org/wiki/GettingInvolved/
33

34

35 36
## Useful reference links

37
IANA:
38 39
  https://www.iana.org/assignments/media-types/

40
KDE's old mime-types:
41
  http://websvn.kde.org/branches/KDE/3.5/kdelibs/mimetypes/
42 43 44

UNIX file tool and libmagic
  https://github.com/file/file