diff --git a/autotests/integration/fakes/org.kde.kdecoration2/fakedecoration_with_shadows.json b/autotests/integration/fakes/org.kde.kdecoration2/fakedecoration_with_shadows.json index 16577df531..ab3fe21dc1 100644 --- a/autotests/integration/fakes/org.kde.kdecoration2/fakedecoration_with_shadows.json +++ b/autotests/integration/fakes/org.kde.kdecoration2/fakedecoration_with_shadows.json @@ -3,10 +3,7 @@ "Description": "Window decoration to test shadow tile overlaps", "EnabledByDefault": false, "Id": "org.kde.test.fakedecowithshadows", - "Name": "Fake Decoration With Shadows", - "ServiceTypes": [ - "org.kde.kdecoration2" - ] + "Name": "Fake Decoration With Shadows" }, "org.kde.kdecoration2": { "blur": false, diff --git a/src/effects/dialogparent/package/metadata.json b/src/effects/dialogparent/package/metadata.json index b39e75c8ce..d2375abdb8 100644 --- a/src/effects/dialogparent/package/metadata.json +++ b/src/effects/dialogparent/package/metadata.json @@ -60,12 +60,10 @@ "Name[tr]": "Üst İletişim Kutusu", "Name[uk]": "Батьківське вікно", "Name[x-test]": "xxDialog Parentxx", - "ServiceTypes": [ - "KWin/Effect" - ], "Version": "0.1.0" }, "X-KDE-Ordering": "70", "X-Plasma-API": "javascript", - "X-Plasma-MainScript": "code/main.js" -} + "X-Plasma-MainScript": "code/main.js", + "KPackageStructure": "KWin/Effect" +} \ No newline at end of file diff --git a/src/effects/dimscreen/package/metadata.json b/src/effects/dimscreen/package/metadata.json index 07f352a1cb..66a491b2a4 100644 --- a/src/effects/dimscreen/package/metadata.json +++ b/src/effects/dimscreen/package/metadata.json @@ -60,9 +60,6 @@ "Name[tr]": "Yönetici Kipi için Ekranı Karart", "Name[uk]": "Притлумлення кольорів у режимі адміністратора", "Name[x-test]": "xxDim Screen for Administrator Modexx", - "ServiceTypes": [ - "KWin/Effect" - ], "Version": "1", "Website": "" }, @@ -70,5 +67,6 @@ "X-KDE-ParentApp": "", "X-KWin-Video-Url": "https://files.kde.org/plasma/kwin/effect-videos/dim_administration.mp4", "X-Plasma-API": "javascript", - "X-Plasma-MainScript": "code/main.js" -} + "X-Plasma-MainScript": "code/main.js", + "KPackageStructure": "KWin/Effect" +} \ No newline at end of file diff --git a/src/effects/eyeonscreen/package/metadata.json b/src/effects/eyeonscreen/package/metadata.json index 0800e19cce..7fe1f90e25 100644 --- a/src/effects/eyeonscreen/package/metadata.json +++ b/src/effects/eyeonscreen/package/metadata.json @@ -60,13 +60,11 @@ "Name[tr]": "Göz Ekranda", "Name[uk]": "Око на екрані", "Name[x-test]": "xxEye on Screenxx", - "ServiceTypes": [ - "KWin/Effect" - ], "Version": "0.1.0" }, "X-KDE-Ordering": "50", "X-KWin-Exclusive-Category": "show-desktop", "X-Plasma-API": "javascript", - "X-Plasma-MainScript": "code/main.js" -} + "X-Plasma-MainScript": "code/main.js", + "KPackageStructure": "KWin/Effect" +} \ No newline at end of file diff --git a/src/effects/fade/package/metadata.json b/src/effects/fade/package/metadata.json index 6bdd7f0f37..4e46f7acd1 100644 --- a/src/effects/fade/package/metadata.json +++ b/src/effects/fade/package/metadata.json @@ -60,13 +60,11 @@ "Name[tr]": "Soldur", "Name[uk]": "Згасання", "Name[x-test]": "xxFadexx", - "ServiceTypes": [ - "KWin/Effect" - ], "Version": "0.2.0" }, "X-KDE-Ordering": "60", "X-KWin-Exclusive-Category": "toplevel-open-close-animation", "X-Plasma-API": "javascript", - "X-Plasma-MainScript": "code/main.js" -} + "X-Plasma-MainScript": "code/main.js", + "KPackageStructure": "KWin/Effect" +} \ No newline at end of file diff --git a/src/effects/fadedesktop/package/metadata.json b/src/effects/fadedesktop/package/metadata.json index 33e85f0486..6632e9bc39 100644 --- a/src/effects/fadedesktop/package/metadata.json +++ b/src/effects/fadedesktop/package/metadata.json @@ -60,14 +60,12 @@ "Name[tr]": "Masaüstünü Soldur", "Name[uk]": "Затемнення стільниці", "Name[x-test]": "xxFade Desktopxx", - "ServiceTypes": [ - "KWin/Effect" - ], "Version": "0.2.0" }, "X-KDE-Ordering": "50", "X-KWin-Exclusive-Category": "desktop-animations", "X-KWin-Video-Url": "https://files.kde.org/plasma/kwin/effect-videos/fade_desktop.ogv", "X-Plasma-API": "javascript", - "X-Plasma-MainScript": "code/main.js" -} + "X-Plasma-MainScript": "code/main.js", + "KPackageStructure": "KWin/Effect" +} \ No newline at end of file diff --git a/src/effects/fadingpopups/package/metadata.json b/src/effects/fadingpopups/package/metadata.json index f3d85ef069..19178d5efe 100644 --- a/src/effects/fadingpopups/package/metadata.json +++ b/src/effects/fadingpopups/package/metadata.json @@ -81,12 +81,10 @@ "Name[tr]": "Solan Açılır Pencereler", "Name[uk]": "Інтерактивні контекстні панелі", "Name[x-test]": "xxFading Popupsxx", - "ServiceTypes": [ - "KWin/Effect" - ], "Version": "1.0" }, "X-KDE-Ordering": "60", "X-Plasma-API": "javascript", - "X-Plasma-MainScript": "code/main.js" -} + "X-Plasma-MainScript": "code/main.js", + "KPackageStructure": "KWin/Effect" +} \ No newline at end of file diff --git a/src/effects/frozenapp/package/metadata.json b/src/effects/frozenapp/package/metadata.json index d3b4f4ce03..83c86aa2ef 100644 --- a/src/effects/frozenapp/package/metadata.json +++ b/src/effects/frozenapp/package/metadata.json @@ -60,15 +60,12 @@ "Name[tr]": "Yanıt Vermeyen Uygulamaları Solgunlaştır", "Name[uk]": "Зненасичення вікон, які не відповідають на запити", "Name[x-test]": "xxDesaturate Unresponsive Applicationsxx", - "ServiceTypes": [ - "KWin/Effect", - "KCModule" - ], "Version": "1.0" }, "X-KDE-Ordering": "60", "X-KDE-PluginKeyword": "kwin4_effect_frozenapp", "X-KWin-Config-TranslationDomain": "kwin_effects", "X-Plasma-API": "javascript", - "X-Plasma-MainScript": "code/main.js" -} + "X-Plasma-MainScript": "code/main.js", + "KPackageStructure": "KWin/Effect" +} \ No newline at end of file diff --git a/src/effects/fullscreen/package/metadata.json b/src/effects/fullscreen/package/metadata.json index b6ae778670..da44f62d5c 100644 --- a/src/effects/fullscreen/package/metadata.json +++ b/src/effects/fullscreen/package/metadata.json @@ -60,14 +60,12 @@ "Name[tr]": "Tam Ekran", "Name[uk]": "Повноекранний режим", "Name[x-test]": "xxFull Screenxx", - "ServiceTypes": [ - "KWin/Effect" - ], "Version": "1", "Website": "" }, "X-KDE-Ordering": "60", "X-KDE-ParentApp": "", "X-Plasma-API": "javascript", - "X-Plasma-MainScript": "code/fullscreen.js" -} + "X-Plasma-MainScript": "code/fullscreen.js", + "KPackageStructure": "KWin/Effect" +} \ No newline at end of file diff --git a/src/effects/login/package/metadata.json b/src/effects/login/package/metadata.json index 1e86dd7a32..d75370b046 100644 --- a/src/effects/login/package/metadata.json +++ b/src/effects/login/package/metadata.json @@ -60,15 +60,12 @@ "Name[tr]": "Giriş", "Name[uk]": "Вхід", "Name[x-test]": "xxLoginxx", - "ServiceTypes": [ - "KWin/Effect", - "KCModule" - ], "Version": "0.2.0" }, "X-KDE-Ordering": "40", "X-KDE-PluginKeyword": "kwin4_effect_login", "X-KWin-Config-TranslationDomain": "kwin_effects", "X-Plasma-API": "javascript", - "X-Plasma-MainScript": "code/main.js" -} + "X-Plasma-MainScript": "code/main.js", + "KPackageStructure": "KWin/Effect" +} \ No newline at end of file diff --git a/src/effects/logout/package/metadata.json b/src/effects/logout/package/metadata.json index 73e8b14951..245f8dda90 100644 --- a/src/effects/logout/package/metadata.json +++ b/src/effects/logout/package/metadata.json @@ -60,12 +60,10 @@ "Name[tr]": "Çıkış", "Name[uk]": "Вихід", "Name[x-test]": "xxLogoutxx", - "ServiceTypes": [ - "KWin/Effect" - ], "Version": "0.2.0" }, "X-KDE-Ordering": "40", "X-Plasma-API": "javascript", - "X-Plasma-MainScript": "code/main.js" -} + "X-Plasma-MainScript": "code/main.js", + "KPackageStructure": "KWin/Effect" +} \ No newline at end of file diff --git a/src/effects/maximize/package/metadata.json b/src/effects/maximize/package/metadata.json index a7ee744f5f..3d743f4b83 100644 --- a/src/effects/maximize/package/metadata.json +++ b/src/effects/maximize/package/metadata.json @@ -60,9 +60,6 @@ "Name[tr]": "Ekranı Kapla", "Name[uk]": "Максимізація", "Name[x-test]": "xxMaximizexx", - "ServiceTypes": [ - "KWin/Effect" - ], "Version": "1", "Website": "" }, @@ -70,5 +67,6 @@ "X-KDE-ParentApp": "", "X-KWin-Video-Url": "https://files.kde.org/plasma/kwin/effect-videos/maximize.ogv", "X-Plasma-API": "javascript", - "X-Plasma-MainScript": "code/maximize.js" -} + "X-Plasma-MainScript": "code/maximize.js", + "KPackageStructure": "KWin/Effect" +} \ No newline at end of file diff --git a/src/effects/morphingpopups/package/metadata.json b/src/effects/morphingpopups/package/metadata.json index a90621b19c..22b662477a 100644 --- a/src/effects/morphingpopups/package/metadata.json +++ b/src/effects/morphingpopups/package/metadata.json @@ -81,9 +81,6 @@ "Name[tr]": "Dönüşen açılır pencereler", "Name[uk]": "Аморфні контекстні панелі", "Name[x-test]": "xxMorphing popupsxx", - "ServiceTypes": [ - "KWin/Effect" - ], "Version": "1", "Website": "" }, @@ -91,5 +88,6 @@ "X-KDE-ParentApp": "", "X-KWin-Video-Url": "https://files.kde.org/plasma/kwin/effect-videos/morphingpopups.ogv", "X-Plasma-API": "javascript", - "X-Plasma-MainScript": "code/morphingpopups.js" -} + "X-Plasma-MainScript": "code/morphingpopups.js", + "KPackageStructure": "KWin/Effect" +} \ No newline at end of file diff --git a/src/effects/scale/package/metadata.json b/src/effects/scale/package/metadata.json index 5481ddf88a..823b6578de 100644 --- a/src/effects/scale/package/metadata.json +++ b/src/effects/scale/package/metadata.json @@ -81,10 +81,6 @@ "Name[tr]": "Ölçeklendir", "Name[uk]": "Масштабування", "Name[x-test]": "xxScalexx", - "ServiceTypes": [ - "KWin/Effect", - "KCModule" - ], "Version": "1" }, "X-KDE-Ordering": "60", @@ -92,5 +88,6 @@ "X-KWin-Config-TranslationDomain": "kwin_effects", "X-KWin-Exclusive-Category": "toplevel-open-close-animation", "X-Plasma-API": "javascript", - "X-Plasma-MainScript": "code/main.js" -} + "X-Plasma-MainScript": "code/main.js", + "KPackageStructure": "KWin/Effect" +} \ No newline at end of file diff --git a/src/effects/sessionquit/package/metadata.json b/src/effects/sessionquit/package/metadata.json index c13c29fc31..b569c2927f 100644 --- a/src/effects/sessionquit/package/metadata.json +++ b/src/effects/sessionquit/package/metadata.json @@ -60,13 +60,11 @@ "Name[tr]": "Oturum Çıkışı", "Name[uk]": "Вихід з сеансу", "Name[x-test]": "xxSession Quitxx", - "ServiceTypes": [ - "KWin/Effect" - ], "Version": "0.2.0" }, "X-KDE-Ordering": "40", "X-KWin-Internal": "true", "X-Plasma-API": "javascript", - "X-Plasma-MainScript": "code/main.js" -} + "X-Plasma-MainScript": "code/main.js", + "KPackageStructure": "KWin/Effect" +} \ No newline at end of file diff --git a/src/effects/squash/package/metadata.json b/src/effects/squash/package/metadata.json index 6955f3ce87..d44b1cb546 100644 --- a/src/effects/squash/package/metadata.json +++ b/src/effects/squash/package/metadata.json @@ -59,9 +59,6 @@ "Name[tr]": "Tıkıştır", "Name[uk]": "Складування", "Name[x-test]": "xxSquashxx", - "ServiceTypes": [ - "KWin/Effect" - ], "Version": "1", "Website": "" }, @@ -70,5 +67,6 @@ "X-KWin-Exclusive-Category": "minimize", "X-KWin-Video-Url": "https://files.kde.org/plasma/kwin/effect-videos/minimize.ogv", "X-Plasma-API": "javascript", - "X-Plasma-MainScript": "code/main.js" -} + "X-Plasma-MainScript": "code/main.js", + "KPackageStructure": "KWin/Effect" +} \ No newline at end of file diff --git a/src/effects/translucency/package/metadata.json b/src/effects/translucency/package/metadata.json index 427ac957d9..5b00add282 100644 --- a/src/effects/translucency/package/metadata.json +++ b/src/effects/translucency/package/metadata.json @@ -59,15 +59,12 @@ "Name[tr]": "Yarısaydamlık", "Name[uk]": "Прозорість", "Name[x-test]": "xxTranslucencyxx", - "ServiceTypes": [ - "KWin/Effect", - "KCModule" - ], "Version": "0.1.0" }, "X-KDE-Ordering": "50", "X-KDE-PluginKeyword": "kwin4_effect_translucency", "X-KWin-Config-TranslationDomain": "kwin_effects", "X-Plasma-API": "javascript", - "X-Plasma-MainScript": "code/main.js" -} + "X-Plasma-MainScript": "code/main.js", + "KPackageStructure": "KWin/Effect" +} \ No newline at end of file diff --git a/src/effects/windowaperture/package/metadata.json b/src/effects/windowaperture/package/metadata.json index ba2ed5d952..bf6130ae36 100644 --- a/src/effects/windowaperture/package/metadata.json +++ b/src/effects/windowaperture/package/metadata.json @@ -61,13 +61,11 @@ "Name[tr]": "Pencere Açıklığı", "Name[uk]": "Апертура вікна", "Name[x-test]": "xxWindow Aperturexx", - "ServiceTypes": [ - "KWin/Effect" - ], "Version": "0.1.0" }, "X-KDE-Ordering": "50", "X-KWin-Exclusive-Category": "show-desktop", "X-Plasma-API": "javascript", - "X-Plasma-MainScript": "code/main.js" -} + "X-Plasma-MainScript": "code/main.js", + "KPackageStructure": "KWin/Effect" +} \ No newline at end of file diff --git a/src/plugins/kdecorations/aurorae/src/aurorae.json b/src/plugins/kdecorations/aurorae/src/aurorae.json index 5d1c7d1739..a7093ae6d4 100644 --- a/src/plugins/kdecorations/aurorae/src/aurorae.json +++ b/src/plugins/kdecorations/aurorae/src/aurorae.json @@ -1,17 +1,9 @@ { "KPlugin": { - "Id": "org.kde.kwin.aurorae", - "ServiceTypes": [ - "org.kde.kdecoration2" - ] + "Id": "org.kde.kwin.aurorae" }, - "Type": "Service", - "X-KDE-Library": "kwin5_aurorae", "X-KDE-PluginInfo-EnabledByDefault": true, "X-KDE-PluginInfo-Name": "org.kde.kwin.aurorae", - "X-KDE-ServiceTypes": [ - "org.kde.kdecoration2" - ], "org.kde.kdecoration2": { "KNewStuff": "aurorae.knsrc", "defaultTheme": "kwin4_decoration_qml_plastik", diff --git a/src/plugins/kdecorations/aurorae/themes/plastik/package/metadata.json b/src/plugins/kdecorations/aurorae/themes/plastik/package/metadata.json index b52fc36faf..df7d8e1b7d 100644 --- a/src/plugins/kdecorations/aurorae/themes/plastik/package/metadata.json +++ b/src/plugins/kdecorations/aurorae/themes/plastik/package/metadata.json @@ -54,11 +54,9 @@ "Name[tr]": "Plastik", "Name[uk]": "Пластик", "Name[x-test]": "xxPlastikxx", - "ServiceTypes": [ - "KWin/Decoration" - ], "Version": "1.0" }, "X-KWin-Config-TranslationDomain": "kwin_clients", - "X-Plasma-MainScript": "ui/main.qml" + "X-Plasma-MainScript": "ui/main.qml", + "KPackageStructure": "KWin/Decoration" } diff --git a/src/plugins/krunner-integration/kwin-runner-windows.desktop b/src/plugins/krunner-integration/kwin-runner-windows.desktop index a4013873bc..678a81f60d 100644 --- a/src/plugins/krunner-integration/kwin-runner-windows.desktop +++ b/src/plugins/krunner-integration/kwin-runner-windows.desktop @@ -75,7 +75,6 @@ Comment[vi]=Liệt kê các cửa sổ và bàn làm việc và chuyển giữa Comment[x-test]=xxList windows and desktops and switch themxx Comment[zh_CN]=列出所有窗口和桌面,并可供切换 Comment[zh_TW]=列出視窗與桌面並切換至它們 -X-KDE-ServiceTypes=Plasma/Runner Type=Service Icon=preferences-system-windows X-KDE-PluginInfo-Author=Martin Gräßlin diff --git a/src/scripting/genericscriptedconfig.json b/src/scripting/genericscriptedconfig.json index 0d02730f8a..fa43a2e0c3 100644 --- a/src/scripting/genericscriptedconfig.json +++ b/src/scripting/genericscriptedconfig.json @@ -1,7 +1,4 @@ { "Type": "Service", - "X-KDE-Library": "kcm_kwin4_genericscripted", - "X-KDE-ServiceTypes": [ - "KCModule" - ] + "X-KDE-Library": "kcm_kwin4_genericscripted" } diff --git a/src/scripts/desktopchangeosd/metadata.json b/src/scripts/desktopchangeosd/metadata.json index c54d9baa39..fa5ce6f77a 100644 --- a/src/scripts/desktopchangeosd/metadata.json +++ b/src/scripts/desktopchangeosd/metadata.json @@ -58,12 +58,10 @@ "Name[tr]": "OSD Masaüstü Değişimi", "Name[uk]": "Панель зміни стільниць", "Name[x-test]": "xxDesktop Change OSDxx", - "ServiceTypes": [ - "KWin/Script" - ], "Version": "1.0" }, "X-KWin-Exclude-Listing": "true", "X-Plasma-API": "declarativescript", - "X-Plasma-MainScript": "ui/main.qml" -} + "X-Plasma-MainScript": "ui/main.qml", + "KPackageStructure": "KWin/Script" +} \ No newline at end of file diff --git a/src/scripts/minimizeall/metadata.json b/src/scripts/minimizeall/metadata.json index 5d322997ad..5fd531d571 100644 --- a/src/scripts/minimizeall/metadata.json +++ b/src/scripts/minimizeall/metadata.json @@ -58,13 +58,11 @@ "Name[tr]": "Tümünü Simge Durumuna Küçült", "Name[uk]": "Мінімізувати усі", "Name[x-test]": "xxMinimizeAllxx", - "ServiceTypes": [ - "KWin/Script" - ], "Version": "1.0" }, "X-KDE-PluginKeyword": "minimizeall", "X-KWin-Border-Activate": "true", "X-Plasma-API": "javascript", - "X-Plasma-MainScript": "code/main.js" -} + "X-Plasma-MainScript": "code/main.js", + "KPackageStructure": "KWin/Script" +} \ No newline at end of file diff --git a/src/scripts/synchronizeskipswitcher/metadata.json b/src/scripts/synchronizeskipswitcher/metadata.json index 256d577324..d6554e548a 100644 --- a/src/scripts/synchronizeskipswitcher/metadata.json +++ b/src/scripts/synchronizeskipswitcher/metadata.json @@ -57,11 +57,9 @@ "Name[tr]": "Değiştiricide Gösterilmeyenleri Çubukta da Gösterme", "Name[uk]": "Синхронізувати виключення вікон у перемикачі з панеллю задач", "Name[x-test]": "xxSynchronize Skip Switcher with Taskbarxx", - "ServiceTypes": [ - "KWin/Script" - ], "Version": "1.0" }, "X-Plasma-API": "javascript", - "X-Plasma-MainScript": "code/main.js" -} + "X-Plasma-MainScript": "code/main.js", + "KPackageStructure": "KWin/Script" +} \ No newline at end of file diff --git a/src/scripts/videowall/metadata.json b/src/scripts/videowall/metadata.json index 92667fb75d..069e6aea83 100644 --- a/src/scripts/videowall/metadata.json +++ b/src/scripts/videowall/metadata.json @@ -58,14 +58,11 @@ "Name[tr]": "Video Duvarı", "Name[uk]": "Відеостіна", "Name[x-test]": "xxVideo Wallxx", - "ServiceTypes": [ - "KWin/Script", - "KCModule" - ], "Version": "1.0" }, "X-KDE-ConfigModule": "kwin/effects/configs/kcm_kwin4_genericscripted", "X-KDE-PluginKeyword": "videowall", "X-Plasma-API": "javascript", - "X-Plasma-MainScript": "code/main.js" -} + "X-Plasma-MainScript": "code/main.js", + "KPackageStructure": "KWin/Script" +} \ No newline at end of file