Verified Commit 8b13d989 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Clean up ServiceType property usage for JSON based plugins

This is no needed anymore, because the plugins are installed into a
specific dir. It is a leftover from the time where the ServiceTypes were
used to find the correct plugins.

Task: https://phabricator.kde.org/T14483
parent 6e467c34
Pipeline #62757 passed with stage
in 9 minutes and 30 seconds
......@@ -312,9 +312,6 @@ where libokularGenerator_magic.json has the following content something like thi
"text/x-magic"
],
"Name": "Magic Backend",
"ServiceTypes": [
"okular/Generator"
],
"Version": "0.1.0"
},
"X-KDE-Priority": 1,
......@@ -325,7 +322,6 @@ where libokularGenerator_magic.json has the following content something like thi
The last five fields has the special meaning to Okular
\li <b>ServiceType</b> Must be 'okular/Generator' for all Okular Generator Plugins
\li <b>MimeType</b> The mimetype or list of mimetypes of the supported document format(s)
\li <b>X-KDE-Priority</b> When multiple Generators for the same mimetype exists, the one with the highest priority is used
\li <b>X-KDE-okularAPIVersion</b> The version of the Generator Plugin API ('1' currently)
......
......@@ -201,9 +201,6 @@
"Name[x-test]": "xxCHM Backendxx",
"Name[zh_CN]": "CHM 后端",
"Name[zh_TW]": "CHM 後端介面",
"ServiceTypes": [
"okular/Generator"
],
"Version": "0.1.4"
},
"X-KDE-Priority": 2,
......
......@@ -164,9 +164,6 @@
"Name[x-test]": "xxComicBook Backendxx",
"Name[zh_CN]": "漫画书后端",
"Name[zh_TW]": "ComicBook 後端介面",
"ServiceTypes": [
"okular/Generator"
],
"Version": "0.4"
},
"X-KDE-Priority": 1,
......
......@@ -160,9 +160,6 @@
"Name[x-test]": "xxDjVu Backendxx",
"Name[zh_CN]": "DjVu 后端",
"Name[zh_TW]": "DjVu 後端介面",
"ServiceTypes": [
"okular/Generator"
],
"Version": "0.2.3"
},
"X-KDE-Priority": 2,
......
......@@ -160,9 +160,6 @@
"Name[x-test]": "xxDVI Backendxx",
"Name[zh_CN]": "DVI 后端",
"Name[zh_TW]": "DVI 後端介面",
"ServiceTypes": [
"okular/Generator"
],
"Version": "0.3.7"
},
"X-KDE-Priority": 2,
......
......@@ -160,9 +160,6 @@
"Name[x-test]": "xxEPub Backendxx",
"Name[zh_CN]": "EPub 后端",
"Name[zh_TW]": "EPub 後端介面",
"ServiceTypes": [
"okular/Generator"
],
"Version": "0.2.3"
},
"X-KDE-Priority": 1,
......
......@@ -161,9 +161,6 @@
"Name[x-test]": "xxFax Backendxx",
"Name[zh_CN]": "传真后端",
"Name[zh_TW]": "Fax 後端介面",
"ServiceTypes": [
"okular/Generator"
],
"Version": "0.1.1"
},
"X-KDE-Priority": 1,
......
......@@ -160,9 +160,6 @@
"Name[x-test]": "xxFiction Book Backendxx",
"Name[zh_CN]": "Fiction Book 后端",
"Name[zh_TW]": "Fiction Book 後端介面",
"ServiceTypes": [
"okular/Generator"
],
"Version": "0.1.5"
},
"X-KDE-Priority": 1,
......
......@@ -269,9 +269,6 @@
"Name[x-test]": "xxImage Backendxx",
"Name[zh_CN]": "图像后端",
"Name[zh_TW]": "圖片後端介面",
"ServiceTypes": [
"okular/Generator"
],
"Version": "0.1.2"
},
"X-KDE-Priority": 1,
......
......@@ -123,9 +123,6 @@
"Name[x-test]": "xxMarkdown Backendxx",
"Name[zh_CN]": "Markdown 后端",
"Name[zh_TW]": "Markdown 後端介面",
"ServiceTypes": [
"okular/Generator"
],
"Version": "0.1.0"
},
"X-KDE-Priority": 1,
......
......@@ -159,9 +159,6 @@
"Name[x-test]": "xxMobipocket Backendxx",
"Name[zh_CN]": "Mobipocket 后端",
"Name[zh_TW]": "Mobipocket 後端介面",
"ServiceTypes": [
"okular/Generator"
],
"Version": "0.1.1"
},
"X-KDE-Priority": 1,
......
......@@ -160,9 +160,6 @@
"Name[x-test]": "xxPlucker Document Backendxx",
"Name[zh_CN]": "Plucker 文档后端",
"Name[zh_TW]": "Pluker 文件後端介面",
"ServiceTypes": [
"okular/Generator"
],
"Version": "0.1.1"
},
"X-KDE-Priority": 1,
......
......@@ -164,9 +164,6 @@
"Name[x-test]": "xxPDF Backendxx",
"Name[zh_CN]": "PDF 后端",
"Name[zh_TW]": "PDF 後端介面",
"ServiceTypes": [
"okular/Generator"
],
"Version": "0.6.5"
},
"X-KDE-Priority": 1,
......
......@@ -162,9 +162,6 @@
"Name[x-test]": "xxPS Backendxx",
"Name[zh_CN]": "PS 后端",
"Name[zh_TW]": "PS 後端介面",
"ServiceTypes": [
"okular/Generator"
],
"Version": "0.1.7"
},
"X-KDE-Priority": 2,
......
......@@ -162,9 +162,6 @@
"Name[x-test]": "xxTIFF Backendxx",
"Name[zh_CN]": "TIFF 后端",
"Name[zh_TW]": "TIFF 後端介面",
"ServiceTypes": [
"okular/Generator"
],
"Version": "0.2.4"
},
"X-KDE-Priority": 4,
......
......@@ -161,9 +161,6 @@
"Name[x-test]": "xxTxt Backendxx",
"Name[zh_CN]": "纯文本后端",
"Name[zh_TW]": "Txt 後端介面",
"ServiceTypes": [
"okular/Generator"
],
"Version": "0.1"
},
"X-KDE-Priority": 2,
......
......@@ -244,9 +244,6 @@
"Name[x-test]": "xxXPS Backendxx",
"Name[zh_CN]": "XPS 后端",
"Name[zh_TW]": "XPS 後端介面",
"ServiceTypes": [
"okular/Generator"
],
"Version": "0.3.3"
},
"X-KDE-Priority": 4,
......
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