./databases/shared-mime-info, Core database of common types

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.4, Package name: shared-mime-info-2.4, Maintainer: pkgsrc-users

Many programs and desktops use the MIME system to represent the types of
files. Frequently, it is necessary to work out the correct MIME type for
a file. This is generally done by examining the file's name or contents,
and looking up the correct MIME type in a database.

For interoperability, it is useful for different programs to use the same
database so that different programs agree on the type of a file, and new
rules for determining the type apply to all programs.

This package contains the core database of common types and the
update-mime-database command used to extend it.

DEINSTALL [+/-]

Required to run:
[textproc/libxml2] [devel/glib2] [lang/python310]

Master sites:

Filesize: 6930.026 KB

Version history: (Expand)


CVS history: (Expand)


   2023-12-07 18:38:13 by Thomas Klausner | Files touched by this commit (1)
Log message:
shared-mime-info: needs std::filesystem
   2023-12-05 21:15:24 by Mark Davies | Files touched by this commit (5) | Package updated
Log message:
shared-mime-info: update to 2.4

shared-mime-info 2.4 (2023-11-12)

* Restore mimetype name for *.bz2 and *.tar.bz2
* Improve detection of application/mac-binhex40
* Add application/x-msdownload and subtypes
* Add Windows app store types
* Give Windows Installer packages the package icon
* Lower priority for text/x-mpsub's magic, so it doesn't match pcb-drillFile.drl
* Add application/x-powershell
* Add application/wasm
* Change comment of text/x-mpsub
* Change comment of text/x-mpl2
* Add text/x-component
* Give higher priority to the more specific image/apng magic
* Recognize *.jfif as image/jpeg
* Add application/its+xml
* Add text/x-vb
* Add text/x-basic
* Add new group "chemical" in update-mime-database
* Add mimetype for Protein Data Bank (pdb) files
* Remove too generic magic from application/x-pak
* Add application/json5
* Add text/vbscript.encode
* Add text/jscript.encode
* Add text/jscript as synonym of text/javascript
* Fix backwards relationship between text/javascript and application/ecmascript
* Add application/vnd.cups-ppd
* Add application/x-ms-shortcut
* Give application/x-mswinurl the link icon
Build:
* Fix missing sentinel warning with clang
* Fix false positive fdatasync detection on darwin
* Fix string literal concatenation

shared-mime-info 2.3 (2023-10-07)

* Make update-mime-database compatible with MSVC (by porting it to C++)
* Remove "##" magic for matlab files
* Add application/x-ms-pdb
* Identify .pdb files without a signature match as application/vnd.palm
* text/vnd.familysearch.gedcom: use IANA registered type
* application/vnd.dbf: use IANA registered type
* application/vnd.dart: use IANA registered type
* application/yaml: use IANA registered type
* Update application/sieve.
* Updated to latest xdgmime
* Add subclass information for .ppt and .xls
* Add application/x-bzip3
* Add application/x-bzip for bzip2's deprecated predecessor bzip
* Rename application/x-bzip to application/x-bzip2
* add tiled map editor map and tileset files
* Add image/apng
* Lengthen image/png magic
* Add JPEG XR mime type
* Add Gerber and Excellon drill files
* Bump magic priority for application/ovf
* Fix description for audio/x-xi
* Add Portable Font Resource application/font-tdpfr.
* Add mimetype application/x-lmdb
* Add definition and test file for StuffIt X archives.
* spec: Clarify that namespaceURI can be empty
* Add application/vnd.ms-officetheme
* Add mime type for Typst files
* Add text/x-nim and text/x-nimscript
* Don't install man page on Windows
* Improve matching for message/rfc822
* Add mimetype for Blueprint source code
* buildsystem - add options for building tests and translations
* Give application/x-raw-floppy-disk-image the floppy media icon
* Give generic optical disk images the optical media icon
* Make application/vnd.squashfs a subclass of application/vnd.efi.img
* Prefer application/vnd.efi.img over application/x-raw-disk-image
* Prefer application/vnd.efi.iso over application/x-cd-image
* Avoid meson errors when 'build-tools' is set to false
* Add DOS/Windows batch file type
* Add application/vnd.microsoft.windows.thumbnail-cache
* Add application/x-fishscript and application/x-nuscript
* Add perf data file type
* use Sentence case for mime type descriptions
* Revert "use Title Case for mime type description"
* Add todo.txt mime type
* Prefer video/vnd.avi over video/x-msvideo
* Prefer audio/vnd.wave over audio/x-wav
* Add mimetype for ERIS link files
* Add mimetype for CBOR
* Add support for newer AAXC Audible Audiobook format
* ci: Use ci-templates to build image
* Add Modrinth modpack
* Add application/x-zpaq
* CI: Use dnf5 instead of dnf
* use Title Case for mime type description
* Add mimetype for Quite OK Image Format (QOI)
* ci: Use detached pipelines
* Add OpenVPN profile
* Prefer application/java-archive to application/x-java-archive
* icons for 3d model formats
* Make application/pgp-* not inherit from text/plain
* Add text/julia for Julia source code
* application/javascript: Rename to text/javascript
* Change descriptions to say LibreOffice rather than OpenOffice
* Add TAK audio mime type
* video/vnd.youtube.yt: add magic
* video/vnd.youtube.yt: use IANA registered type
* text/markdown: add x-office-document generic-icon
* Add two new languages
* audio/x-wav: Add missing sub-class relationship with application/x-riff
* Add mimetype for Flattened Devicetree (binary)
* Add mimetype for Devicetree source code
   2023-11-08 14:21:43 by Thomas Klausner | Files touched by this commit (2377)
Log message:
*: recursive bump for icu 74.1
   2023-08-14 07:25:36 by Thomas Klausner | Files touched by this commit (1247)
Log message:
*: recursive bump for Python 3.11 as new default
   2023-04-19 10:12:01 by Adam Ciarcinski | Files touched by this commit (2359) | Package updated
Log message:
revbump after textproc/icu update
   2022-11-23 17:21:30 by Adam Ciarcinski | Files touched by this commit (1878) | Package updated
Log message:
massive revision bump after textproc/icu update
   2022-10-13 13:08:43 by Thomas Klausner | Files touched by this commit (7) | Package updated
Log message:
shared-mime-info: update to 2.2.

shared-mime-info 2.2 (2022-03-27)
* model/3mf: new
* Match shared libraries with version suffix
* model/obj: add mtllib and Blender comment based magic
* model/mtl: add Blender comment magic, increase newmtl range
* model/obj, model/mtl: new types
* Add Electron Archive Format type application/x-asar
* text/x-qml: Lower match priority to avoid conflicts with Python
* Move '*.blend' to top of Blender glob list
* Adding SPARQL media types
* application/zip: Add `*.zipx` glob and test fixture
* Added DSD mime type
* Differentiate comic book archives
* FITS: Add missing `application/fits` and legacy globs
* Add Godot engine files
* Add FlashForge "xgcode" mime-type
* text/x-objc++src: new type
* image/heif: test .hif extension too
* image/hif: add *.hif glob
* image/heif: add another test case
* image/heif: add magics
* Add a build-tools option to allow installing only the mime data
* Add compressed SVG glob pattern `*.svg.gz`
* Add Apple Wallet pass type application/vnd.apple.pkpass
* migrate from custom itstool to builtin msgfmt for creating translated XML
* Make the remaining plain text types subclasses of text/plain
* audio/mobile-xmf: separate from audio/x-xmf
* Adding ZIM file
* Make text/x-mrml a subclass of application/xml
* image/avif: move acronym and expansion to separate fields from comment
* freedesktop_generate.sh: Don't hardcode ninja
* Add text/x-mpl2
* application/x-apple-systemprofiler+xml: require _SPCommandLineArguments in plist
* image/jpeg: add test case with embedded property list XML
* audio/vnd.dts.hd: include parent type magic in magic match
* model/gltf+json: new type
* model/gltf-binary: new type
* application/x-object: add *.mod and a test case
* application/x-mod: add some ProTracker magics and a test case
* image/jxl: include test files in test list
* tests: add trailing linefeed to mime-detection list
* Make application/x-mswinurl a subclass of text/plain
* Change description for *.desktop files to "desktop entry"
* application/x-x509-ca-cert: add magics and test cases
* application/pkix-cert: add BEGIN/END X509 CERTIFICATE magic
* application/pkix-crl: add magic and test case
* application/pkix-cert: add magic and test case
* image/jxl: new type
* Added .sc filename extension for Scala source code, as it is occasionally used
* application/schema+json: new type
* Add text/x-crystal
* application/x-krita: remove stray period from comment
* adding org-mode
* Add Elixir source code mime type
* Add two new offsets for .kra and .krz
* text/x-python3: add *.pyi glob (Python stub files)
* image/x-canon-cr3: new
* image/x-xpixmap: make XPM3 magic more specific
* image/x-xpixmap: add XPM2 magic
* application/x-troff-man: add *.[1-9] glob
* application/toml: new type
* Lower priority of "BEGIN {" for perl, awk uses that too
* Add Smacker video type video/vnd.radgamettools.smacker
* Clarify database license
* meson: make xmlto optional, build spec only if found
* application/x-7z-compressed: add *.7z.001 glob
* Add Bink video type video/vnd.radgamettools.bink
* image/x-nikon-nrw: add test case
* image/x-nikon-nrw: new type
* application/x-vhdx-disk: improve acronym and its expansion
* application/ovf: new
* application/x-qed-disk: new
* application/x-vdi-disk: new
* application/x-vmdk-disk: new
* application/x-vhd-disk, /x-vhdx-disk: new
* application/vnd.apple.numbers, .pages: add older magics and test cases
* Add text/x-dart
* application/vnd.apple.numbers, /vnd.apple.pages: new types
* xdgmime: configure as submodule

shared-mime-info 2.1 (2020-12-31)
* New maintainers: David Faure and Ville Skyttä
* Adapt to xdgmime behaviour change: in case of multiple glob matches, and the \ 
magic match is unrelated to all of them, ignore the magic and pick one of the \ 
glob matches. xdgmime was actually deviating from the spec on this. (#138)
* Improve text/vnd.trolltech.linguist magic to reduce false positives for MPEG \ 
TS files (#10)
* audio/mpeg: add layer 2, 2.5, and 1 protected magics (#46)
* Add many aliases for image/x-tga
* audio/x-mod: improve magic for 669 Composer files (#144)
* Add mime-type image/ktx2 (Khronos image texture format version 2)
* application/oxps: differentiate from /vnd.ms-xpsdocument
* Make image/g3fax the canonical name for image/fax-g3
* Make text/vnd.trolltech.linguist the canonical name for text/vnd.qt.linguist
* Make application/vnd.smaf the canonical name for application/x-smaf
* Make application/vnd.apple.keynote the canonical name for \ 
application/x-iwork-keynote-sffkey
* Add mime-type image/astc (Adaptive Scalable Texture Compression files)
* Add mime-type for SageMath script files (*.sage)
* Add mime-type for Kaitai Struct
* Remove application/x-dc-rom
* Add mime-type for MAME compressed hard disk image (application/x-mame-chd)
* Add mime-types application/nintendo-3ds-executable, application/x-nintendo-3ds-rom
* Add mime-types application/x-dreamcast-rom, application/x-gd-rom-cue, \ 
application/x-discjuggler-cd-image
* Add mime-type application/x-compressed-iso (*.cso)
* Remove image/avif-sequence
* Fix application/x-sharedlib vs application/x-executable confusion for PIE \ 
executables (#11)

shared-mime-info 2.0 (2020-06-05)
* Port build system to meson, and ship test suite with tarball
* Install ITS file to allow gettext to translate mime-type descriptions
* Add BPS and IPS patch formats
* Lower weight for "use strict" and similar in the perl mimetype
* Add new magic for Sega Mega Drive ROMs
* Add Common Lisp mime-type
* Rename text/x-tcl to text/tcl
* Add text/vbscript
* Add PySpread spreadsheet mime-types
* Add Kotlin source mime-type
* Add AVIF image mime-type
* Split versions of the Audible audio mime types
* Add *.spx glob for audio/x-speex+ogg
* Add Apple System Profiler XML mime-type

shared-mime-info 1.15 (2019-10-30)
* Add Kindle 8 eBook format
* Fix some HTML files being detected as XML

shared-mime-info 1.14 (2019-09-20)
* Add mime-type for QCOW images
* Fix matching SVG files in some circumstances (again)

shared-mime-info 1.13.1 (2019-09-11)
* Fix matching SVG files in some circumstances

shared-mime-info 1.13 (2019-09-11)
* Add code of conduct document
* Use itstool and gettext to generate translations
* Add content-tree type for OSTree USB repositories
* Add match for MPEG-4 v1 videos
* Adjust a lot of user readable mime-type descriptions
* Fix WOFF/WOFF2 mime-types
* Prefer text/html to XHTML for *.html files
* Better magic for text/html files
* Fix SVG magic for files embedded in HTML
* Add *.sgd as a glob for Mega Drive ROMs

Specification:
- Mention that sub-class-of can be aliases

Tools:
- Enable Large File Support in update-mime-database

Test suite:
- Make test suite failures fatal
- Add test for duplicate mime-types
- Fix WarpScript test
- Generate the specification in the CI, to avoid it becoming
  syntactically invalid

shared-mime-info 1.12 (2019-01-17)
* Fix build from tarball

shared-mime-info 1.11 (2019-01-17)
* Add mime-type for reStructuredText
* Add mime-type for Groovy scripting language
* Add mime-type for Gradle build tool
* Add mime-type for Maven
* Add mime-type for WarpScript source code
* Add mime-type for zstd and tar.zst archives
* Change the preferred suffix for image/jpeg from .jpeg to .jpg
* Assign *.html to XHTML pages
* Better detection for *.key files (Apple Keynote vs. GPG keys)
* Give weight to one of the appimage patterns

Tools:
- Link to GitLab for contributions and bug reports
- Loads of memory and file descriptor leak fixes

Spec:
- Clarify the availability of C character escape support
   2022-04-18 21:12:27 by Adam Ciarcinski | Files touched by this commit (1798) | Package updated
Log message:
revbump for textproc/icu update