From: <sba...@us...> - 2024-10-19 16:33:24
|
This is an automated email from the git hooks/post-receive-user script. sbaldovi pushed a commit to branch master in repository fuse. View the commit online: https://sourceforge.net/p/fuse-emulator/fuse/ci/039d7db373eed83cb347d39d6688a07e7a296ec7/ The following commit(s) were added to refs/heads/master by this push: new 039d7db3 Keep only the mime types for the most common formats 039d7db3 is described below commit 039d7db373eed83cb347d39d6688a07e7a296ec7 Author: Alberto Garcia <be...@ig...> AuthorDate: Sun Oct 6 01:30:47 2024 +0200 Keep only the mime types for the most common formats The fuse.xml file contains a large amount of file formats, some of them are quite obscure and others like .wav are generic. This patch simplifies this file and keeps only some of the most common formats: .dsk, .pzx, .rzx, .slt, .sna, .szx, .tap, .tzx and .z80 More from bug #494 --- data/fuse.xml.in | 178 ------------------------------------------------------- 1 file changed, 178 deletions(-) diff --git a/data/fuse.xml.in b/data/fuse.xml.in index 14e566a7..1f6e6da4 100644 --- a/data/fuse.xml.in +++ b/data/fuse.xml.in @@ -1,24 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'> - <mime-type type="audio/x-spectrum-csw"> - <comment>ZX Spectrum audio</comment> - <magic> - <match type="string" offset="0" value="Compressed Square Wave\x1a"/> - </magic> - <generic-icon name="application-x-spectrum"/> - <glob pattern="*.csw"/> - </mime-type> - <mime-type type="application/x-spectrum-dck"> - <comment>ZX Spectrum cartridge</comment> - <generic-icon name="application-x-spectrum"/> - <glob pattern="*.dck"/> - </mime-type> - <mime-type type="application/x-spectrum-d80"> - <comment>ZX Spectrum disk</comment> - <generic-icon name="application-x-spectrum"/> - <glob pattern="*.d40"/> - <glob pattern="*.d80"/> - </mime-type> <mime-type type="application/x-spectrum-dsk"> <comment>ZX Spectrum disk</comment> <magic> @@ -28,52 +9,6 @@ <generic-icon name="application-x-spectrum"/> <glob pattern="*.dsk"/> </mime-type> - <mime-type type="application/x-spectrum-fdi"> - <comment>ZX Spectrum disk</comment> - <magic> - <match type="string" offset="0" value="FDI"/> - </magic> - <generic-icon name="application-x-spectrum"/> - <glob pattern="*.fdi"/> - </mime-type> - <mime-type type="application/x-spectrum-hdf"> - <comment>ZX Spectrum harddisk</comment> - <magic> - <match type="string" offset="0" value="RS-IDE\x1a"/> - </magic> - <generic-icon name="application-x-spectrum"/> - <glob pattern="*.hdf"/> - </mime-type> - <mime-type type="application/x-spectrum-ltp"> - <comment>ZX Spectrum tape</comment> - <generic-icon name="application-x-spectrum"/> - <glob pattern="*.ltp"/> - </mime-type> - <mime-type type="application/x-spectrum-mdr"> - <comment>ZX Spectrum microdrive</comment> - <generic-icon name="application-x-spectrum"/> - <glob pattern="*.mdr"/> - </mime-type> - <mime-type type="application/x-spectrum-mgt"> - <comment>ZX Spectrum disk</comment> - <generic-icon name="application-x-spectrum"/> - <glob pattern="*.mgt"/> - </mime-type> - <mime-type type="application/x-spectrum-mgtsnp"> - <comment>ZX Spectrum snapshot</comment> - <generic-icon name="application-x-spectrum"/> - <glob pattern="*.mgtsnp"/> - </mime-type> - <mime-type type="application/x-spectrum-opd"> - <comment>ZX Spectrum disk</comment> - <generic-icon name="application-x-spectrum"/> - <glob pattern="*.opd"/> - </mime-type> - <mime-type type="application/x-spectrum-opu"> - <comment>ZX Spectrum disk</comment> - <generic-icon name="application-x-spectrum"/> - <glob pattern="*.opu"/> - </mime-type> <mime-type type="application/x-spectrum-pzx"> <comment>ZX Spectrum tape</comment> <magic> @@ -90,22 +25,6 @@ <generic-icon name="application-x-spectrum"/> <glob pattern="*.rzx"/> </mime-type> - <mime-type type="application/x-spectrum-sad"> - <comment>ZX Spectrum disk</comment> - <magic> - <match type="string" offset="0" value="Aley's disk backup"/> - </magic> - <generic-icon name="application-x-spectrum"/> - <glob pattern="*.sad"/> - </mime-type> - <mime-type type="application/x-spectrum-scl"> - <comment>ZX Spectrum disk</comment> - <magic> - <match type="string" offset="0" value="SINCLAIR"/> - </magic> - <generic-icon name="application-x-spectrum"/> - <glob pattern="*.scl"/> - </mime-type> <mime-type type="application/x-spectrum-slt"> <comment>ZX Spectrum snapshot</comment> <generic-icon name="application-x-spectrum"/> @@ -115,32 +34,6 @@ <comment>ZX Spectrum snapshot</comment> <generic-icon name="application-x-spectrum"/> <glob pattern="*.sna"/> - <glob pattern="*.snapshot"/> - </mime-type> - <mime-type type="application/x-spectrum-s"> - <comment>ZX Spectrum snapshot</comment> - <generic-icon name="application-x-spectrum"/> - <glob pattern="*.s"/> - </mime-type> - <mime-type type="application/x-spectrum-snp"> - <comment>ZX Spectrum snapshot</comment> - <generic-icon name="application-x-spectrum"/> - <glob pattern="*.snp"/> - </mime-type> - <mime-type type="application/x-spectrum-sp"> - <comment>ZX Spectrum snapshot</comment> - <generic-icon name="application-x-spectrum"/> - <glob pattern="*.sp"/> - </mime-type> - <mime-type type="application/x-spectrum-spc"> - <comment>ZX Spectrum tape</comment> - <generic-icon name="application-x-spectrum"/> - <glob pattern="*.spc"/> - </mime-type> - <mime-type type="application/x-spectrum-sta"> - <comment>ZX Spectrum tape</comment> - <generic-icon name="application-x-spectrum"/> - <glob pattern="*.sta"/> </mime-type> <mime-type type="application/x-spectrum-szx"> <comment>ZX Spectrum snapshot</comment> @@ -151,28 +44,11 @@ <glob pattern="*.szx"/> <glob pattern="*.zx-state"/> </mime-type> - <mime-type type="application/x-spectrum-td0"> - <comment>ZX Spectrum disk</comment> - <magic> - <match type="string" offset="0" value="TD"/> - <match type="string" offset="0" value="td"/> - </magic> - <generic-icon name="application-x-spectrum"/> - <glob pattern="*.td0"/> - </mime-type> <mime-type type="application/x-spectrum-tap"> <comment>ZX Spectrum tape</comment> <generic-icon name="application-x-spectrum"/> <glob pattern="*.tap"/> </mime-type> - <mime-type type="application/x-spectrum-trd"> - <comment>ZX Spectrum disk</comment> - <magic> - <match type="string" offset="0" value="SINCLAIR"/> - </magic> - <generic-icon name="application-x-spectrum"/> - <glob pattern="*.trd"/> - </mime-type> <mime-type type="application/x-spectrum-tzx"> <comment>ZX Spectrum tape</comment> <magic> @@ -181,91 +57,37 @@ <generic-icon name="application-x-spectrum"/> <glob pattern="*.tzx"/> </mime-type> - <mime-type type="application/x-spectrum-udi"> - <comment>ZX Spectrum disk</comment> - <magic> - <match type="string" offset="0" value="UDI!"/> - </magic> - <generic-icon name="application-x-spectrum"/> - <glob pattern="*.udi"/> - </mime-type> <mime-type type="application/x-spectrum-z80"> <comment>ZX Spectrum snapshot</comment> <generic-icon name="application-x-spectrum"/> <glob pattern="*.z80"/> </mime-type> - <mime-type type="application/x-spectrum-zxs"> - <comment>ZX Spectrum snapshot</comment> - <magic> - <match type="string" offset="0" value="SNAP"/> - </magic> - <generic-icon name="application-x-spectrum"/> - <glob pattern="*.zxs"/> - </mime-type> - ##LIBSPECTRUM_HAVE_AUDIOFILE_BEGIN## - <mime-type type="audio/x-spectrum-wav"> - <comment>ZX Spectrum audio</comment> - <magic priority="20"> - <match value="WAVE" type="string" offset="8"/> - <match value="WAV " type="string" offset="8"/> - </magic> - <glob pattern="*.wav"/> - </mime-type> - ##LIBSPECTRUM_HAVE_AUDIOFILE_END## ##LIBSPECTRUM_HAVE_ZLIB_BEGIN## <mime-type type="application/x-spectrum-compressed"> <comment>ZX Spectrum compressed</comment> <generic-icon name="application-x-spectrum"/> - <glob pattern="*.csw.gz"/> - <glob pattern="*.dck.gz"/> - <glob pattern="*.mgtsnp.gz"/> - <glob pattern="*.ltp.gz"/> <glob pattern="*.pzx.gz"/> - <glob pattern="*.raw.gz"/> <glob pattern="*.rzx.gz"/> <glob pattern="*.slt.gz"/> <glob pattern="*.sna.gz"/> - <glob pattern="*.snapshot.gz"/> - <glob pattern="*.snp.gz"/> - <glob pattern="*.sp.gz"/> - <glob pattern="*.spc.gz"/> - <glob pattern="*.sta.gz"/> <glob pattern="*.szx.gz"/> <glob pattern="*.tap.gz"/> <glob pattern="*.tzx.gz"/> - ##LIBSPECTRUM_HAVE_AUDIOFILE_BEGIN## - <glob pattern="*.wav.gz"/> - ##LIBSPECTRUM_HAVE_AUDIOFILE_END## <glob pattern="*.z80.gz"/> - <glob pattern="*.zxs.gz"/> </mime-type> ##LIBSPECTRUM_HAVE_ZLIB_END## ##LIBSPECTRUM_HAVE_BZ2_BEGIN## <mime-type type="application/x-spectrum-compressed-bz2"> <comment>ZX Spectrum compressed</comment> <generic-icon name="application-x-spectrum"/> - <glob pattern="*.csw.bz2"/> - <glob pattern="*.dck.bz2"/> - <glob pattern="*.mgtsnp.bz2"/> - <glob pattern="*.ltp.bz2"/> <glob pattern="*.pzx.bz2"/> - <glob pattern="*.raw.bz2"/> <glob pattern="*.rzx.bz2"/> <glob pattern="*.slt.bz2"/> <glob pattern="*.sna.bz2"/> - <glob pattern="*.snapshot.bz2"/> - <glob pattern="*.snp.bz2"/> - <glob pattern="*.sp.bz2"/> - <glob pattern="*.spc.bz2"/> - <glob pattern="*.sta.bz2"/> <glob pattern="*.szx.bz2"/> <glob pattern="*.tap.bz2"/> <glob pattern="*.tzx.bz2"/> - ##LIBSPECTRUM_HAVE_AUDIOFILE_BEGIN## - <glob pattern="*.wav.bz2"/> - ##LIBSPECTRUM_HAVE_AUDIOFILE_END## <glob pattern="*.z80.bz2"/> - <glob pattern="*.zxs.bz2"/> </mime-type> ##LIBSPECTRUM_HAVE_BZ2_END## </mime-info> |