Commit graph

20 commits

Author SHA1 Message Date
ryoon
585de0fd3d shared-mime-info: Fix POSIX shell portability issue 2020-03-13 15:12:41 +00:00
he
30b0b31f0f Patch away a use of the non-standard == as operator for the test command. 2020-02-05 08:04:17 +00:00
wiz
43406039b4 Update to 1.3:
shared-mime-info 1.3 (2014-04-08)
* Mime-type changes:
- Add Aliases for OpenOffice Base and StarWriter
- Add Apple Keynote 5 mime-type
- Add mimetype for compressed FictionBook2
- Don't recognize all .asc files as application/pgp-encrypted
- Add tree magic for the Kindle e-book reader
- Add LZ4 archive type
- Add PC Engine, GameCube and Wii "ROM" types
- Add audio/x-opus+ogg mime-type
- Add image/webp mime-type
- Prefer application/vnd.ms-asf to video/x-ms-asf
- Add application/x-riff mime-type
- Add JSON mime-type
- Add *.jsm glob for Javascript
- Add magic and glob patterns for compressed x-spss-sav files
- JavaScript and CSS are not subclasses of text/x-csrc
- Remove *.CSSL glob for CSS files

* Call g_type_init() only with older glib
* Fix failures on NetBSD
* Store MEDIA/SUBTYPE.xml files in lowercase
2014-04-25 08:53:21 +00:00
wiz
ac3b5acc5a Add upstream bug report URL. 2013-10-17 04:36:57 +00:00
wiz
a1a6078c9e fdatasync needs a writable file descriptor.
Addresses PR 48300.
2013-10-17 04:28:33 +00:00
wiz
9ad70677b8 Update to 1.1:
shared-mime-info 1.1 (2012-02-13)
* Mime-type changes:
- Add application/x-ccmx
- Add zz-application/zz-winassoc-* aliases
- Make application/x-xz-compressed-tar a subclass of application/x-xz
- Add DTS and DTS-HD mime-types
- Add test for PPM bug
- Fix comment and add glob for application/pkcs7-mime
- Add application/x-qtiplot mime-type
- Add AMZ (AmazonMP3 Download File) mime-type
- Add separate mime-type for Apple broken PNGs
- Add *.mk and *.mak text/x-makefile globs
- Match application/vnd.palm to IANA standard
- Use IANA registered application/gzip instead of x-gzip
- Add application/gml+xml
- Fix Scream Tracker instrument magic
- Add application/x-gtk-builder type
- Add magic for v1 and v2 XCF files
- Add LZMA test file
- Fix some globs for OGG files
- Move *.taz from application/x-compressed-tar to application/x-tarz
- Add some sub-class-of tags for compressed files
- Add *.tb2 as a glob for application/x-bzip-compressed-tar
- Add support for DOS EPS files
- Add *.ar archives to the test suite
- Add xlr mime-type
- Add application/vnd.lotus-wordpro
- Put bz2 patterns before bz ones for bzip-related mimetypes
- Add simple magic for text/x-gettext-translation-template
- Add test case for application/x-gettext-translation
- Add mime-type for source RPMs
- Add AMR audio test
- Add test case for TTF fonts
- Add Woff font mime-type
- Add FLTK acronym
- Add application/ics as an alias for text/calendar
- Add RAR acronym
- Add dicomdir glob
- Add *.di as a glob for D source files
- Add magic for MNG animations
- Add magic for PICT v2 images
- Add JNLP file to the test suite
- Add support for the AVF AVI container variant
- Add EMF and WMF aliases
- Improve magic of uncompressed TGA files
- Add application/winhlp
- Add text/x-uuencode
- Add MHTML mime-type
- Make the main docbook mime-type be application/x-docbook+xml
- Add application/x-lzh-compressed as alias to application/x-lha
- Add IFF super-type
- Split off the AAC mime-type from the M4A one
- Add text/x-modelica mime-type
- Add magic for GNU gettext message catalogs (.mo)

* Specification changes:
- Fix mimetype names used as examples
- Document that the first extension is the main one
- Fix missing plural

* Honor NOCONFIGURE=1
* Allow builders to not run make check by default
* Fix build for platforms with executable extensions
* Disable checks when cross compiling
* Use non-installed update-mime-database in install-data-hook
* Use native update-mime-database for install when cross compiling
* Add a local-test target to print mime info
2013-03-15 21:50:14 +00:00
drochner
bda7e3bf9e update to 1.0
changes:
-many pattern/magic updates
-fixes
2012-02-13 12:34:21 +00:00
wiz
8fc7f434ad Update to 0.90:
shared-mime-info 0.90 (2010-12-1)
* Mime-type Changes:
- Make application/epub+zip sub-class-of application/zip
- Make sure RAM files are not all treated as text
- Make CMakefiles a sub-class of text/plain
- Add new mime-type for Panasonic RW2 images
- Add XSL magic
- Add root-XML for XSL
- Add *.gem as a glob for tar archives
- Add test case for text/directory files
- Add go source code
- Add pdf.xz mime-type
- Add text/x-ooc source code
- Add Cobol source code

* Other:
- Don't error out on the x-scheme-handler/* mime-types
- Fix crasher when mime-magic is empty
2010-12-10 10:34:41 +00:00
wiz
98d083c350 Update to 0.70, set LICENSE.
shared-mime-info 0.70 (2009-09-06)
* Mime-type Changes:
- Add MXF video
- Add Google Earth XML files
- Add XZ arcgives
- Add SPSS formats
- Add OpenRaster images
- Add glob for OpenType fonts
- Add more MPEG-4 video container magic
- Add RealMediaFormat videos
- Add LZIP archives
- Add Kexi mime-types
- Add CBT comics
- Add Windows theme packs
- Add metalink
- Better glob for core files
- Better magic for graphviz files
- Add MRML, CVS, TSV acronyms
- Better definition for LZO archives
- Fix mime-type/magic for Java archives
- Fix MSWinURL magic
- Add tar.bz2 as a sub-class of application/x-bzip-compressed-tar
- Split Win32 from Unix autostart detection
- Better magic for Cisco VPN files
- New magic for Word documents
- Better glob matching for Makefiles

* Specification:
- Add glob-deleteall and magic-deleteall support
- Add case-sensitive attribute support

* Other changes:
- fix make call on *BSDs
- Better error in update-mime-database when a directory doesn't exist
2009-10-31 02:13:08 +00:00
wiz
fca05b981c Update to 0.60:
shared-mime-info 0.60 (2009-02-21)
* Mime-type Changes:
- Add alias for SMIL
- Fix SMIL detection
- Add Annodex mime-type
- Only use .ogg for audio Ogg files
- Fix RDF mime-type
- Oasis mime-type fixes
- Make PICTURES match a picture CD but not "pictures"
- Add alias for application/zip
- Add Microsoft Document Imaging format
- Add magic for 7z archives
- Add cb7 comic book archives
- Add magic for XCF files
- Remove application/x-msi magic
- Add audio/x-gsm mime-type
- Add MS cab mime-type
- Add FictionBook mime-type
- Fix PKCS#12 bundles definition (not text files)
- Add PKCS#7 and PkiPath mime-types
- Add application/vnd.ms-wpl mime-type
- Add more aliases for media types
- Add alias for text/x-csv
- Fix comment for Gnucash files
- Make Javascript a sub-class of C
- Add *.vapi as a glob for Vala files
- Fix image/fits to match IANA
- Add Office 2007/OpenXML documents mime-types
- Add Pocket Word and AportisDoc document types
- Fix MS ICO, and Photoshop image to match IANA

* Other changes:
- Regenerate the pot file when needed
- Some clarifications in the spec
- Build fix when srcdir != builddir
2009-02-23 09:05:02 +00:00
drochner
51e34e2acf update to 0.51
changes:
shared-mime-info 0.51 (2008-07-23)
* Mime-type Changes:
- Strings review
shared-mime-info 0.50 (2008-07-22)
* Mime-type Changes:
- Better magic for a number of image types, from gdk-pixbuf
- Add "extended URL format" files
- Add MSI (Windows Installer) type
- Add tree content types
* update-mime-database Changes:
- Implement tree content types, in the treemagic file
shared-mime-info 0.40 (2008-06-11)
* Mime-type Changes:
- Add Skencil image
- Add OpenOffice extension
- Add Lilypond music sheets
- Add MO3 compressed tracker files
- Add text/x-diff alias for patches
- Add text/x-c alias for C source files
- Add text/rtf for RTF files
- Add *.m3u8 glob for M3U files
- Fix problems with Matroska audio/video detection
- Fix pack200 magic
- Fix detection of some message/rfc822 files
- Tighten PBM/PPM/PGM magic to avoid false positives
- Make "README*" glob very low
- Make application/x-gnuplot a subclass of text/plain
- Remove useless fnmatch matches
- Remove useless gtkrc mime-type
* update-mime-database Changes:
- Implement glob weights
- Implement reverse suffix tree
- Implement icon and generic-icon support
- Implement compact suffix tree
2008-10-16 13:50:44 +00:00
drochner
32f764299e revert to 0.30 -- 0.40 appears to be incompatible with gnome-vfs at least 2008-06-23 15:58:05 +00:00
wiz
5cc0992f5a Update to 0.40:
shared-mime-info 0.40 (2008-06-11)
* Mime-type Changes:
- Add Skencil image
- Add OpenOffice extension
- Add Lilypond music sheets
- Add MO3 compressed tracker files
- Add text/x-diff alias for patches
- Add text/x-c alias for C source files
- Add text/rtf for RTF files
- Add *.m3u8 glob for M3U files
- Fix problems with Matroska audio/video detection
- Fix pack200 magic
- Fix detection of some message/rfc822 files
- Tighten PBM/PPM/PGM magic to avoid false positives
- Make "README*" glob very low
- Make application/x-gnuplot a subclass of text/plain
- Remove useless fnmatch matches
- Remove useless gtkrc mime-type

* update-mime-database Changes:
- Implement glob weights
- Implement reverse suffix tree
- Implement icon and generic-icon support
- Implement compact suffix tree
2008-06-21 17:26:53 +00:00
wiz
8f16d283d7 Update to 0.30:
shared-mime-info 0.30 (2008-05-12)
* Mime-type Changes:
- Add LZMA archive
- Add Eiffel source
- Add TTX font
- Add EXR image
- Add SubViewer subtitle
- Add Windows Registry
- Add SMAF, XMF and iMelogy ringtones
- Add MRML playlists
- Add FLTK Fluid
- Add NFO info
- Add ALZ archive
- Add MS Word template
- Add GNUNet saved searches
- Add MOF
- Add CDRDAO TOC
- Add magic for KDC Kodak
- Add pattern for PCX images
- Add pattern for mbox files
- Add pattern for AWK scripts
- Add more magic for FLAC audio
- Add iptables
- Add Electronic books
- Add Cisco VPN
- Add Pack200 archives
- Add CMake scripts
- Add MS Works document
- Update DjVu types
- Update Flash video type
- Mark RCS files as text/plain
- Add an alias for RPM packages
- Remove application/x-cgi mime-type
- Remove *.exe glob for Unix executables
- Remove audio/x-mp3-playlist and make it an alias for MP3 playlists
- Remove the useless application/x-dbm type
- Remove duplicate *.amr glob from 3GPP files
- Add "<Asx" as a pattern for ASX files
- Lower XML magic priority so text/html is preferred
- Fix magic for application/x-java
- Fix up magic for AVI files
- Add "*.med" glob to MOD music
- Add "*.3gp2" glob for 3GPP audio/video
- Fix multiple XML mime-types
- Remove duplicate StuffIt archive type
- Remove unused text/x-ksysv-log

* Other:
- Update specification
- Add instructions on how to file bugs, and update translations
- Update dependencies to GLib 2.6
- Update DTD, require translated comments, require expanded-acronym if
acronym is present, require a known value for generic-icon
- Small fix to the update-mime-database man page
- Ignore unknown fields in update-mime-database
- Make sure all the comments are marked for translation
- Fix typos in the DTD
- Avoid warnings in update-mime-database for the x-content/ mimetypes
2008-05-21 11:23:37 +00:00
wiz
9f8694c2d5 Update to 0.23:
shared-mime-info 0.23 (2007-12-18)
* Mime-type Changes:
- Add QTIF QuickTime image
- Add SDP stream description
- Add Vala source file
- Add Atom feed, OPML
- Add SAMI, MicroDVD, MPSub, SSA subtitles
- Add audio/x-m4b as a sub-class of audio/mp4
- Add *.aac as a suffix for MPEG-4 audio files
- Add Compressed Flash detection, add FutureSplash support
- Add *.asc as a suffix for PGP armoured keys
- Add application/msword as a sub-class of application/x-ole-storage
- Don't associate *.htm and *.html to Mozilla bookmarks
- Add more aliases for PowerPoint and Word mime-types
- Add *.vlc as a suffix for m3u files
- Better magic for Word and Office documents
- Split Windows Media Station playlists from ASX ones
- Fix up JPEG 2000 mime-types
* Other:
- Add a testsuite in the CVS tree
2008-01-15 22:53:59 +00:00
joerg
d2a582c8d7 Remove INCOMPAT_GETTEXT and the automatic rebuilding of the PO files.
This fixes the build on older NetBSD systems in a clean way.
2007-11-03 16:37:42 +00:00
drochner
ab987aebe9 update to 0.22. Sorry, no changelog available. Will be needed by
gnome-2.20.
2007-10-11 18:56:16 +00:00
jmmv
d63fa3cd53 Update to 0.15:
* Changes in the package:
- Add a buildlink3.mk file to be used to add a direct dependency on this
  package.  This file also creates a fake "update-mime-database" wrapper
  in the buildlink directory so that programs can't run it directly
  during its build.
- Add the mimedb.mk file, which can be used by packages that install
  mimedb extensions (into share/mime/packages) to automatically rebuild
  the database at (de)installation time.
- The mime database files (except those installed into share/mime/packages)
  must not be listed in the PLIST, so add some PRINT_PLIST_AWK magic to
  handle this automatically.

* Mime Types Changes:
- Added various aliases
- Make text files inherit from text/plain
- Added text/x-xmi
- Added application/x-javascripta

* Translations:
- new translations: Danish (Ole Laursen), Greek (Nikos Charonitakis),
  Korean (Cha Young-Ho)
- updated translations: Finnish  (Ville Skyttä), German (Christian Neumair)
2004-08-31 11:43:44 +00:00
adam
cac29bdd97 Prefer pkgsrc 'perl' over system 'perl' = now compiles on Darwin 2004-04-05 18:16:20 +00:00
jmmv
51163fe5e1 Initial import of shared-mime-info, version 0.13:
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.
2004-02-14 19:06:03 +00:00