summaryrefslogtreecommitdiffstats
path: root/mimetypes
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-04-11 14:59:49 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-04-11 14:59:49 +0200
commita5def4f9a471a83465be8918a443fe96e49e3029 (patch)
tree3349f71ff3da6a05e11865c55fa3bf8c45516ded /mimetypes
parent0b1a3e154b35c26c96bb523a956a5bf8b3c5e91c (diff)
downloadtdelibs-a5def4f9a471a83465be8918a443fe96e49e3029.tar.gz
tdelibs-a5def4f9a471a83465be8918a443fe96e49e3029.zip
Add a definition of MIME type application/x-pie-executable.
This resolves incorrect identification of binary executables with libmagick >= 5.33. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'mimetypes')
-rw-r--r--mimetypes/application/CMakeLists.txt3
-rw-r--r--mimetypes/application/Makefile.am3
-rw-r--r--mimetypes/application/x-pie-executable.desktop6
3 files changed, 10 insertions, 2 deletions
diff --git a/mimetypes/application/CMakeLists.txt b/mimetypes/application/CMakeLists.txt
index a602edcb5..33dd5f567 100644
--- a/mimetypes/application/CMakeLists.txt
+++ b/mimetypes/application/CMakeLists.txt
@@ -22,7 +22,8 @@ tde_create_translated_desktop(
x-jar.desktop x-arj.desktop x-tarz.desktop
x-gzpostscript.desktop postscript.desktop octet-stream.desktop
x-shellscript.desktop x-desktop.desktop
- x-executable.desktop x-executable-script.desktop x-archive.desktop x-lha.desktop
+ x-executable.desktop x-pie-executable.desktop x-executable-script.desktop
+ x-archive.desktop x-lha.desktop
x-tbz.desktop x-tgz.desktop x-awk.desktop
x-perl.desktop x-perl-module.desktop x-compress.desktop x-cpio.desktop
x-rpm.desktop msword.desktop x-sharedlib.desktop
diff --git a/mimetypes/application/Makefile.am b/mimetypes/application/Makefile.am
index 9e5dabfa9..91fd6c9a0 100644
--- a/mimetypes/application/Makefile.am
+++ b/mimetypes/application/Makefile.am
@@ -8,7 +8,8 @@ mimetypeapplicationdata_DATA = x-dvi.desktop x-gzdvi.desktop x-bz2dvi.desktop \
x-jar.desktop x-arj.desktop x-tarz.desktop \
x-gzpostscript.desktop postscript.desktop octet-stream.desktop \
x-shellscript.desktop x-desktop.desktop \
- x-executable.desktop x-executable-script.desktop x-archive.desktop x-lha.desktop \
+ x-executable.desktop x-pie-executable.desktop x-executable-script.desktop \
+ x-archive.desktop x-lha.desktop \
x-tbz.desktop x-tgz.desktop x-awk.desktop \
x-perl.desktop x-perl-module.desktop x-compress.desktop x-cpio.desktop \
x-rpm.desktop msword.desktop x-sharedlib.desktop \
diff --git a/mimetypes/application/x-pie-executable.desktop b/mimetypes/application/x-pie-executable.desktop
new file mode 100644
index 000000000..edc09d7f0
--- /dev/null
+++ b/mimetypes/application/x-pie-executable.desktop
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Comment=Executable File
+Icon=application-x-executable
+Type=MimeType
+MimeType=application/x-pie-executable
+X-TDE-IsAlso=application/x-executable