Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.tx/ | H | 06-May-2020 | - | 9 | 6 | |
data/ | H | 03-May-2022 | - | 10,622 | 10,344 | |
po/ | H | 06-May-2020 | - | 236,437 | 178,694 | |
src/ | H | 03-May-2022 | - | 11,180 | 8,488 | |
tests/ | H | 06-May-2020 | - | 21,980 | 19,901 | |
.gitignore | H A D | 06-May-2020 | 262 | 23 | 22 | |
.gitlab-ci.yml | H A D | 06-May-2020 | 718 | 32 | 28 | |
COPYING | H A D | 06-May-2020 | 17.7 KiB | 340 | 281 | |
HACKING.md | H A D | 06-May-2020 | 2.6 KiB | 70 | 51 | |
MAINTAINERS | H A D | 06-May-2020 | 99 | 4 | 3 | |
NEWS | H A D | 06-May-2020 | 35 KiB | 1,049 | 906 | |
README.md | H A D | 06-May-2020 | 1.2 KiB | 45 | 27 | |
code-of-conduct.md | H A D | 06-May-2020 | 160 | 4 | 2 | |
meson.build | H A D | 06-May-2020 | 2.2 KiB | 80 | 60 | |
shared-mime-info.pc.in | H A D | 06-May-2020 | 129 | 9 | 7 |
README.md
1# Shared MIME Info 2 3The shared-mime-info package contains: 4 5- The core database of common MIME types, their file extensions and icon names. 6- 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 9It is used by GLib, GNOME, KDE, XFCE and many others. 10 11For 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 15To install do: 16 17 $ ./configure --prefix=/usr --sysconfdir=/etc 18 $ make 19 $ sudo make install 20 21If you are building from git then you will have to run `./autogen.sh` first. 22 23It requires glib to be installed for building the update command. 24Additionally, it uses gettext and itstool for translations. 25This database is translated at Transifex. 26 27 28Please report bugs here: 29 https://gitlab.freedesktop.org/xdg/shared-mime-info/issues 30 31Getting involved in freedesktop.org projects guide: 32 https://www.freedesktop.org/wiki/GettingInvolved/ 33 34 35## Useful reference links 36 37IANA: 38 https://www.iana.org/assignments/media-types/ 39 40KDE's old mime-types: 41 http://websvn.kde.org/branches/KDE/3.5/kdelibs/mimetypes/ 42 43UNIX file tool and libmagic 44 https://github.com/file/file 45