Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 73cd5e8d authored by Elvis Angelaccio's avatar Elvis Angelaccio

Drop custom mimetypes

The 4 mimetypes defined in kerfuffle.xml are part of
shared-mime-info since version 1.7, and even Debian stable
ships the 1.8 release these days.

This also means we don't need anymore the optional dependency on
shared-mime-info (see bc8a185d).
parent ce89d92e
......@@ -71,12 +71,6 @@ set_package_properties(LibZip PROPERTIES
DESCRIPTION "A library for handling zip archives"
PURPOSE "Optional for zip archives.")
find_package(SharedMimeInfo QUIET)
set_package_properties(SharedMimeInfo PROPERTIES
TYPE OPTIONAL
PURPOSE "Required for archive formats without an official mimetype.")
option(WITH_TEST_COVERAGE "Build with test coverage support" OFF)
if (WITH_TEST_COVERAGE)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --coverage")
......
......@@ -76,8 +76,3 @@ install(TARGETS kerfuffle ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_S
install(FILES kerfufflePlugin.desktop DESTINATION ${KDE_INSTALL_KSERVICETYPES5DIR})
install(FILES ark.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
install(FILES mime/kerfuffle.xml DESTINATION ${KDE_INSTALL_MIMEDIR})
if(SharedMimeInfo_FOUND)
update_xdg_mimetypes(${KDE_INSTALL_MIMEDIR})
endif()
function get_files
{
echo kerfuffle.xml
}
function po_for_file
{
case "$1" in
kerfuffle.xml)
echo kerfuffle_xml_mimetypes.po
;;
esac
}
function tags_for_file
{
case "$1" in
kerfuffle.xml)
echo comment
;;
esac
}
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-lzip-compressed-tar">
<comment>Tar archive (lzip-compressed)</comment>
<comment xml:lang="ca">Arxiu tar (comprimit amb LZIP)</comment>
<comment xml:lang="ca@valencia">Arxiu tar (comprimit amb LZIP)</comment>
<comment xml:lang="cs">Archiv Tar (komprimovaný lzip)</comment>
<comment xml:lang="da">Tar-arkiv (lzip-komprimeret)</comment>
<comment xml:lang="de">Tar-Archiv (lzip-komprimiert)</comment>
<comment xml:lang="el">Αρχειοθήκη Tar (lzrip-συμπίεση)</comment>
<comment xml:lang="en_GB">Tar archive (lzip-compressed)</comment>
<comment xml:lang="es">Archivo comprimido Tar (comprimido con lzip)</comment>
<comment xml:lang="et">Tar-arhiiv (lzip-tihendusega)</comment>
<comment xml:lang="eu">Tar artxiboa (lzip bidez konprimatua)</comment>
<comment xml:lang="fr">Archive TAR (compressée par LZIP)</comment>
<comment xml:lang="gl">Arquivo tar (comprimido con lzip)</comment>
<comment xml:lang="ia">Archivo Tar (comprimite per lzip)</comment>
<comment xml:lang="it">Archivio Tar (compressione lzip)</comment>
<comment xml:lang="ko">TAR 압축 파일(LZIP 압축)</comment>
<comment xml:lang="nl">Tar-archief (lzip-gecomprimeerd)</comment>
<comment xml:lang="nn">Tar-arkiv (lzip-komprimert)</comment>
<comment xml:lang="pl">Archiwum Tar (kompresja lzip)</comment>
<comment xml:lang="pt">Pacote TAR (comprimido com Lzip)</comment>
<comment xml:lang="ru">Архив TAR (сжатый lzip)</comment>
<comment xml:lang="sk">Tar archív (lzip komprimovaný)</comment>
<comment xml:lang="sl">Arhiv tar (stisnjen z lzip)</comment>
<comment xml:lang="sr">тар архива (ЛЗИП‑компресована)</comment>
<comment xml:lang="sr@ijekavian">тар архива (ЛЗИП‑компресована)</comment>
<comment xml:lang="sr@ijekavianlatin">tar arhiva (LZIP-kompresovana)</comment>
<comment xml:lang="sr@latin">tar arhiva (LZIP-kompresovana)</comment>
<comment xml:lang="sv">Tar-arkiv (lzip-komprimerat)</comment>
<comment xml:lang="tr">Tar arşivi (lzip ile sıkıştırılmış)</comment>
<comment xml:lang="uk">архів Tar (стиснутий lzip)</comment>
<comment xml:lang="zh_CN">Tar 归档 (lzip-压缩)</comment>
<comment xml:lang="zh_TW">Tar 封存檔(以 lzip 壓縮)</comment>
<glob pattern="*.tar.lz"/>
</mime-type>
<mime-type type="application/x-xar">
<comment>XAR archive</comment>
<comment xml:lang="ast">Archivu XAR</comment>
<comment xml:lang="ca">Arxiu XAR</comment>
<comment xml:lang="ca@valencia">Arxiu XAR</comment>
<comment xml:lang="cs">Archiv XAR</comment>
<comment xml:lang="da">XAR-arkiv</comment>
<comment xml:lang="de">XAR-Archiv</comment>
<comment xml:lang="el">Αρχειοθήκη XAR</comment>
<comment xml:lang="en_GB">XAR archive</comment>
<comment xml:lang="es">Archivo comprimido XAR</comment>
<comment xml:lang="et">XAR-arhiiv</comment>
<comment xml:lang="eu">XAR artxiboa</comment>
<comment xml:lang="fr">Archive XAR</comment>
<comment xml:lang="gl">Arquivo XAR</comment>
<comment xml:lang="ia">Archivo XAR</comment>
<comment xml:lang="it">Archivio XAR</comment>
<comment xml:lang="ko">XAR 압축 파일</comment>
<comment xml:lang="nl">XAR-archief</comment>
<comment xml:lang="nn">XAR-arkiv</comment>
<comment xml:lang="pl">Archiwum XAR</comment>
<comment xml:lang="pt">Pacote XAR</comment>
<comment xml:lang="pt_BR">Arquivo XAR</comment>
<comment xml:lang="ru">Архив XAR</comment>
<comment xml:lang="sk">XAR archív</comment>
<comment xml:lang="sl">Arhiv XAR</comment>
<comment xml:lang="sr">КСАР архива</comment>
<comment xml:lang="sr@ijekavian">КСАР архива</comment>
<comment xml:lang="sr@ijekavianlatin">XAR arhiva</comment>
<comment xml:lang="sr@latin">XAR arhiva</comment>
<comment xml:lang="sv">XAR-arkiv</comment>
<comment xml:lang="tr">XAR arşivi</comment>
<comment xml:lang="uk">архів XAR</comment>
<comment xml:lang="zh_CN">XAR 归档</comment>
<comment xml:lang="zh_TW">XAR 封存檔</comment>
<acronym>XAR</acronym>
<expanded-acronym>eXtensible ARchive</expanded-acronym>
<generic-icon name="package-x-generic"/>
<glob pattern="*.xar"/>
<glob pattern="*.pkg"/>
</mime-type>
<mime-type type="application/x-lz4-compressed-tar">
<comment>Tar archive (LZ4-compressed)</comment>
<comment xml:lang="ca">Arxiu tar (comprimit amb LZ4)</comment>
<comment xml:lang="ca@valencia">Arxiu tar (comprimit amb LZ4)</comment>
<comment xml:lang="cs">Archiv Tar (komprimovaný LZ4)</comment>
<comment xml:lang="da">Tar-arkiv (LZ4-komprimeret)</comment>
<comment xml:lang="de">Tar-Archiv (LZ4-komprimiert)</comment>
<comment xml:lang="el">Αρχειοθήκη Tar (LZ4-συμπίεση)</comment>
<comment xml:lang="en_GB">Tar archive (LZ4-compressed)</comment>
<comment xml:lang="es">Archivo comprimido Tar (comprimido con LZ4)</comment>
<comment xml:lang="et">Tar-arhiiv (LZ4 tihendusega)</comment>
<comment xml:lang="eu">Tar artxiboa (LZ4 bidez konprimatua)</comment>
<comment xml:lang="fr">Archive TAR (compressée par LZ4)</comment>
<comment xml:lang="gl">Arquivo tar (comprimido con LZ4)</comment>
<comment xml:lang="ia">Archivo tar (comprimite per LZ4)</comment>
<comment xml:lang="it">Archivio Tar (compressione LZ4)</comment>
<comment xml:lang="ko">TAR 압축 파일(LZ4 압축)</comment>
<comment xml:lang="nl">Tar-archief (lz4-gecomprimeerd)</comment>
<comment xml:lang="nn">Tar-arkiv (LZ4-komprimert)</comment>
<comment xml:lang="pl">Archiwum Tar (kompresja LZ4)</comment>
<comment xml:lang="pt">Pacote TAR (comprimido com LZ4)</comment>
<comment xml:lang="ru">Архив TAR (сжатый lz4)</comment>
<comment xml:lang="sk">Tar archív (LZ4 komprimovaný)</comment>
<comment xml:lang="sl">Arhiv tar (stisnjen z LZ4)</comment>
<comment xml:lang="sr">тар архива (ЛЗ4‑компресована)</comment>
<comment xml:lang="sr@ijekavian">тар архива (ЛЗ4‑компресована)</comment>
<comment xml:lang="sr@ijekavianlatin">tar arhiva (LZ4-kompresovana)</comment>
<comment xml:lang="sr@latin">tar arhiva (LZ4-kompresovana)</comment>
<comment xml:lang="sv">Tar-arkiv (LZ4-komprimerat)</comment>
<comment xml:lang="tr">Tar arşivi (LZ4 ile sıkıştırılmış)</comment>
<comment xml:lang="uk">архів Tar (стиснутий LZ4)</comment>
<comment xml:lang="zh_CN">Tar 归档 (LZ4-压缩)</comment>
<comment xml:lang="zh_TW">Tar 封存檔(以 LZ4 壓縮)</comment>
<glob pattern="*.tar.lz4"/>
</mime-type>
<mime-type type="application/x-iso9660-appimage">
<comment>AppImage application bundle</comment>
<comment xml:lang="ca">Paquet d'aplicació «AppImage»</comment>
<comment xml:lang="ca@valencia">Paquet d'aplicació «AppImage»</comment>
<comment xml:lang="cs">Balíček aplikací AppImage</comment>
<comment xml:lang="da">AppImage-programpakke</comment>
<comment xml:lang="de">AppImage-Anwendungspaket</comment>
<comment xml:lang="el">AppImage δέσμη εφαρμογής</comment>
<comment xml:lang="en_GB">AppImage application bundle</comment>
<comment xml:lang="es">Paquete de aplicación AppImage</comment>
<comment xml:lang="et">AppImage rakendusekimp</comment>
<comment xml:lang="eu">AppImage aplikazioaren paketea</comment>
<comment xml:lang="fr">Application empaquetée AppImage</comment>
<comment xml:lang="gl">Paquete de aplicativo AppImage</comment>
<comment xml:lang="it">Pacchetto applicazione AppImage</comment>
<comment xml:lang="ko">AppImage 프로그램 번들</comment>
<comment xml:lang="nl">Toepassingsbundel AppImage</comment>
<comment xml:lang="nn">AppImage-programpakke</comment>
<comment xml:lang="pl">Pęk aplikacji AppImage</comment>
<comment xml:lang="pt">Pacote de aplicação AppImage</comment>
<comment xml:lang="ru">Пакет приложения AppImage</comment>
<comment xml:lang="sk">Balík aplikácie AppImage</comment>
<comment xml:lang="sl">Zbirka programov AppImage</comment>
<comment xml:lang="sr">ап‑имејџ пакет програма</comment>
<comment xml:lang="sr@ijekavian">ап‑имејџ пакет програма</comment>
<comment xml:lang="sr@ijekavianlatin">AppImage paket programa</comment>
<comment xml:lang="sr@latin">AppImage paket programa</comment>
<comment xml:lang="sv">AppImage programpacke</comment>
<comment xml:lang="tr">AppImage uygulama paketi</comment>
<comment xml:lang="uk">пакунок програми AppImage</comment>
<comment xml:lang="zh_CN">AppImage 应用程序包</comment>
<comment xml:lang="zh_TW">Appimage 應用程式套裝</comment>
<sub-class-of type="application/x-executable"/>
<sub-class-of type="application/x-cd-image"/>
<generic-icon name="application-x-executable"/>
<magic priority="50">
<match value="ELF" type="string" offset="1" >
<match value="0x41" type="byte" offset="8">
<match value="0x49" type="byte" offset="9">
<match value="0x01" type="byte" offset="10"/>
</match>
</match>
</match>
</magic>
<glob pattern="*.AppImage"/>
</mime-type>
</mime-info>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment