https://bugs.kde.org/show_bug.cgi?id=366899

d...@kaosx.us changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |d...@kaosx.us

--- Comment #2 from d...@kaosx.us ---
As discussed on IRC, this seems to be an issue with new shared-mime-info 1.7

This commit introduces an official IANA registered type:
https://cgit.freedesktop.org/xdg/shared-mime-info/commit/?id=2002c05bb1e85e6e3f0be1427d727e896ebbaf10

Using shared-mime-info 1.7 on a rar file returns correct value:
$ xdg-mime query filetype example.rar
application/vnd.rar

A rebuild of Ark with these 2 sed lines makes it so Ark open .rar. files
correctly again:
sed -i 's|application/x-rar|application/vnd.rar|'
plugins/clirarplugin/CMakeLists.txt
sed -i 's|application/x-rar|application/vnd.rar|'
plugins/clirarplugin/kerfuffle_clirar.json.cmake

(not intended as a patch, since this will break rar files for systems with
older then 1.7, just mentioning these sed lines to inform they fix this issue
for shared-mime-info 1.7 only)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to