Commit 4a4166bd authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Convert KCM Desktop files to JSON & install KCM in new namespace

Task: https://phabricator.kde.org/T14564

Task: https://phabricator.kde.org/T14517
parent 269b5a22
Pipeline #105223 passed with stage
in 39 seconds
......@@ -5,7 +5,7 @@ add_definitions(-DTRANSLATION_DOMAIN=\"kcmkamera\")
set(kcm_kamera_PART_SRCS kamera.cpp kameradevice.cpp kameraconfigdialog.cpp )
add_library(kcm_kamera MODULE ${kcm_kamera_PART_SRCS})
kcoreaddons_add_plugin(kcm_kamera SOURCES ${kcm_kamera_PART_SRCS} INSTALL_NAMESPACE "plasma/kcms/systemsettings_qwidgets")
include_directories(${GPHOTO2_INCLUDE_DIRS} ${CMAKE_BINARY_DIR})
......@@ -17,10 +17,7 @@ target_link_libraries(kcm_kamera
KF5::ConfigCore
${GPHOTO2_LIBRARIES}
)
set_target_properties(kcm_kamera PROPERTIES OUTPUT_NAME kamera)
install(TARGETS kcm_kamera DESTINATION ${KDE_INSTALL_PLUGINDIR} )
install( FILES kamera.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
########### install files ###############
install( FILES kamera.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
......@@ -41,7 +41,7 @@
#include "kameraconfigdialog.h"
#include "kameradevice.h"
K_PLUGIN_FACTORY(KKameraConfigFactory, registerPlugin<KKameraConfig>();)
K_PLUGIN_CLASS_WITH_JSON(KKameraConfig, "kamera.json")
Q_LOGGING_CATEGORY(KAMERA_KCONTROL, "kamera.kcontrol")
......
......@@ -206,15 +206,9 @@ Name[x-test]=xxDigital Cameraxx
Name[zh_CN]=数码相机
Name[zh_HK]=數碼相機
Name[zh_TW]=數位相機
Terminal=false
Type=Service
X-KDE-ServiceTypes=KCModule
X-KDE-Library=kcm_kamera
X-KDE-ParentApp=kcontrol
X-KDE-System-Settings-Parent-Category=removable-storage
X-KDE-ModuleType=Library
Type=Application
NoDisplay=true
Icon=camera-photo
Exec=systemsettings5 kamera
X-DocPath=kcontrol/kamera/index.html
Categories=Qt;KDE;X-KDE-settings-hardware;
{
"Categories": "Qt;KDE;X-KDE-settings-hardware;",
"KPlugin": {
"Description": "Configure Kamera",
"Description[af]": "Konfigureer Kamera",
"Description[ar]": "إعداد Kamera",
"Description[az]": "Kamera'nı tənzimləyin",
"Description[bg]": "Настройки на фотоапарат",
"Description[br]": "Kefluniañ Kamera",
"Description[bs]": "Podešavanje Kamere",
"Description[ca@valencia]": "Configura el Kamera",
"Description[ca]": "Configura el Kamera",
"Description[cs]": "Nastavení fotoaparátu",
"Description[cy]": "Ffurfweddu Kamera",
"Description[da]": "Indstil kamera",
"Description[de]": "Kamera einrichten",
"Description[el]": "Διαμόρφωση Kamera",
"Description[en_GB]": "Configure Kamera",
"Description[eo]": "Agordi Kamera",
"Description[es]": "Configurar Kamera",
"Description[et]": "Kaamera seadistamine",
"Description[eu]": "Konfiguratu Kamera",
"Description[fa]": "پیکربندی Kamera",
"Description[fi]": "Kameran asetukset",
"Description[fr]": "Configuration de Kamera",
"Description[ga]": "Cumraigh Kamera",
"Description[gl]": "Configurar Kamera",
"Description[he]": "שינוי הגדרות Kamera",
"Description[hi]": "केमरा कॉन्फ़िगर करें",
"Description[hne]": "केमरा कान्फिगर करव",
"Description[hr]": "Podešavanje kamere",
"Description[hu]": "A Kamera beállításai",
"Description[ia]": "Configura Kamera",
"Description[is]": "Stilla samskiptaforrit stafrænna myndavéla (Kamera)",
"Description[it]": "Configura Kamera",
"Description[ja]": "カメラの設定",
"Description[kk]": "Kamera баптауы",
"Description[km]": "កំណត់​រចនាសម្ព័ន្ធ Kamera",
"Description[ko]": "Kamera 설정",
"Description[ku]": "Kamera Veava Bike",
"Description[lt]": "Konfigūruoti fotoaparatą",
"Description[lv]": "Konfigurēt fotoaparātu",
"Description[mk]": "Конфигурирајте ја Kamera",
"Description[ml]": "കാമറ ക്രമീകരിക്കുക",
"Description[mr]": "कॅमेरा संयोजीत करा",
"Description[ms]": "Konfigurasi Kamera",
"Description[nb]": "Sett opp Kamera",
"Description[nds]": "Kamera instellen",
"Description[ne]": "क्यामेरा कन्फिगर गर्नुहोस्",
"Description[nl]": "Camera instellen",
"Description[nn]": "Set opp Kamera",
"Description[pa]": "ਕੈਮਰਾ ਸੰਰਚਨਾ",
"Description[pl]": "Ustawienia aparatu cyfrowego",
"Description[pt]": "Configurar o Kamera",
"Description[pt_BR]": "Configura o Kamera",
"Description[ro]": "Configurează aparatul foto digital",
"Description[ru]": "Настройка камеры",
"Description[se]": "Heivet govvenapperáhta",
"Description[si]": "Kamera සැකසීම",
"Description[sk]": "Nastavenie fotoaparátu",
"Description[sl]": "Nastavi Kamero",
"Description[sr@ijekavian]": "Подешавање Камере",
"Description[sr@ijekavianlatin]": "Podešavanje Kamere",
"Description[sr@latin]": "Podešavanje Kamere",
"Description[sr]": "Подешавање Камере",
"Description[sv]": "Anpassa kamera",
"Description[ta]": "காமிராவை அமை",
"Description[tg]": "Танзимоти камера",
"Description[th]": "ปรับแต่ง 'กล้องถ่ายภาพ-K'",
"Description[tr]": "Kamerayı Yapılandır",
"Description[ug]": "كامېرانى سەپلەش",
"Description[uk]": "Налаштування Kamera",
"Description[uz@cyrillic]": "Фотоапаратни мослаш",
"Description[uz]": "Fotoaparatni moslash",
"Description[vi]": "Cấu hình Kamera",
"Description[x-test]": "xxConfigure Kameraxx",
"Description[xh]": "Qwalasela Umfoti",
"Description[zh_CN]": "配置 Kamera",
"Description[zh_HK]": "設定 Kamera",
"Description[zh_TW]": "設定照相機",
"Icon": "camera-photo",
"Name": "Digital Camera",
"Name[af]": "Digitaal Kamera",
"Name[ar]": "كاميرا رقمية",
"Name[az]": "Rəqəmsal Kamera",
"Name[be]": "Камера",
"Name[bg]": "Цифров фотоапарат",
"Name[br]": "Kamera niverel",
"Name[bs]": "Digitalna kamera",
"Name[ca@valencia]": "Càmera digital",
"Name[ca]": "Càmera digital",
"Name[cs]": "Digitální fotoaparát",
"Name[cy]": "Camera Digidol",
"Name[da]": "Digitalt kamera",
"Name[de]": "Digitalkamera",
"Name[el]": "Ψηφιακή κάμερα",
"Name[en_GB]": "Digital Camera",
"Name[eo]": "Cifereca fotilo",
"Name[es]": "Cámara digital",
"Name[et]": "Digikaamera",
"Name[eu]": "Kamera digitala",
"Name[fa]": "دوربین رقمی",
"Name[fi]": "Digitaalikamera",
"Name[fr]": "Appareil photo numérique",
"Name[ga]": "Ceamara Digiteach",
"Name[gl]": "Cámara dixital",
"Name[he]": "מצלמה דיגיטלית",
"Name[hi]": "डिजिटल कैमरा",
"Name[hne]": "डिजिटल कैमरा",
"Name[hr]": "Digitalna kamera",
"Name[hu]": "Fényképezőgép",
"Name[ia]": "Camera digital",
"Name[is]": "Stafræn myndavél",
"Name[it]": "Macchina fotografica digitale",
"Name[ja]": "デジタルカメラ",
"Name[kk]": "Цифрлық камера",
"Name[km]": "ម៉ាស៊ីន​ថតរូប​ឌីជីថល",
"Name[ko]": "디지털 카메라",
"Name[ku]": "Kameraya Dîjîtal",
"Name[lt]": "Skaitmeninis fotoaparatas",
"Name[lv]": "Digitālais fotoaparāts",
"Name[mk]": "Дигитална камера",
"Name[ml]": "ഡിജിറ്റൽ ക്യാമറ",
"Name[mr]": "डिजिटल कॅमेरा",
"Name[ms]": "Kamera Digital",
"Name[nb]": "Digitalkamera",
"Name[nds]": "Digitaalkamera",
"Name[ne]": "डिजिटल क्यामेरा",
"Name[nl]": "Digitale camera",
"Name[nn]": "Digitalkamera",
"Name[pa]": "ਡਿਜ਼ੀਟਲ ਕੈਮਰਾ",
"Name[pl]": "Aparat cyfrowy",
"Name[pt]": "Máquina Fotográfica Digital",
"Name[pt_BR]": "Câmera digital",
"Name[ro]": "Aparat foto digital",
"Name[ru]": "Цифровая камера",
"Name[se]": "Digitalalaš govvenapperáhtta",
"Name[si]": "ඩිජිටල් කැමරාව",
"Name[sk]": "Digitálny fotoaparát",
"Name[sl]": "Digitalni fotoaparat",
"Name[sr@ijekavian]": "Дигитални фотоапарат",
"Name[sr@ijekavianlatin]": "Digitalni fotoaparat",
"Name[sr@latin]": "Digitalni fotoaparat",
"Name[sr]": "Дигитални фотоапарат",
"Name[sv]": "Digitalkamera",
"Name[ta]": "Digital Camera",
"Name[tg]": "Камераи рақамӣ",
"Name[th]": "กล้องดิจิทัล",
"Name[tr]": "Dijital Kamera",
"Name[ug]": "رەقەملىك كامېرا",
"Name[uk]": "Цифровий фотоапарат",
"Name[uz@cyrillic]": "Фотоапарат",
"Name[uz]": "Fotoaparat",
"Name[vi]": "Máy ảnh số",
"Name[x-test]": "xxDigital Cameraxx",
"Name[xh]": "Ikhamera Yesuntswana",
"Name[zh_CN]": "数码相机",
"Name[zh_HK]": "數碼相機",
"Name[zh_TW]": "數位相機",
"ServiceTypes": [
"KCModule"
]
},
"Terminal": "false",
"X-DocPath": "kcontrol/kamera/index.html",
"X-KDE-Keywords": "gphoto,camera,digicam,webcam,kamera",
"X-KDE-Keywords[ar]": "كاميرا,ويبكام,gphoto,camera,digicam,webcam,kamera",
"X-KDE-Keywords[az]": "gphoto,camera,digicam,webcam,kamera,vebkamera,kamera",
"X-KDE-Keywords[bg]": "фото, фотоапарат,камера,уебкамера,цифров,gphoto,camera,digicam,webcam,kamera",
"X-KDE-Keywords[bs]": "gphoto,camera,digicam,webcam,kamera",
"X-KDE-Keywords[ca@valencia]": "gphoto,càmera,digicam,càmera web,webcam,kamera",
"X-KDE-Keywords[ca]": "gphoto,càmera,digicam,càmera web,webcam,kamera",
"X-KDE-Keywords[cs]": "gphoto,fotoaparát,digikam,webkamera,kamera",
"X-KDE-Keywords[da]": "gphoto,kamera,digicam,webcam,digitalkamera",
"X-KDE-Keywords[de]": "gphoto,Kamera,Digicam,Webcam,Digitalkamera",
"X-KDE-Keywords[el]": "gphoto,camera,digicam,webcam,kamera",
"X-KDE-Keywords[en_GB]": "gphoto,camera,digicam,webcam,kamera",
"X-KDE-Keywords[es]": "gphoto,cámara,digicam,webcam,kamera",
"X-KDE-Keywords[et]": "gphoto,kaamera,digitaalkaamera,veebikaamera,kamera",
"X-KDE-Keywords[eu]": "gphoto,kamera,digicam,kamera digitala,web-kamera,kamera",
"X-KDE-Keywords[fi]": "gphoto,kamera,digikamera,webkamera",
"X-KDE-Keywords[fr]": "GPhoto, appareil photo, appareil numérique, webcam, Kamera",
"X-KDE-Keywords[ga]": "gphoto,ceamara,digicam,ceamara Gréasáin,kamera",
"X-KDE-Keywords[gl]": "gphoto,cámara,digicam,cámara dixital,cámara web,kamera",
"X-KDE-Keywords[hu]": "gphoto,fényképezőgép,digitális fényképezőgép,webkamera,kamera",
"X-KDE-Keywords[ia]": "gphoto,camera,digicam,webcam,kamera",
"X-KDE-Keywords[is]": "gphoto,myndavél,digikam,vefmynd,kamera",
"X-KDE-Keywords[it]": "gphoto,camera,digikam,webcam,kamera",
"X-KDE-Keywords[kk]": "gphoto,camera,digicam,webcam,kamera",
"X-KDE-Keywords[km]": "gphoto,camera,digicam,webcam,kamera",
"X-KDE-Keywords[ko]": "gphoto,camera,digicam,webcam,kamera,카메라,디지털 카메라,웹캠",
"X-KDE-Keywords[lt]": "gphoto,camera,digicam,webcam,kamera,fotoaparatas,internetinė kamera",
"X-KDE-Keywords[lv]": "gphoto, fotoaparāts,digitālais fotoaparāts,tīmekļa kamera",
"X-KDE-Keywords[ml]": "ജിഫോട്ടോ,ക്യാമറ,ഡിജികാം,വെബ്ക്യാം,കാമറ",
"X-KDE-Keywords[mr]": "जीफोटो, कॅमेरा, डिजिकॅम, वेबकॅम, कॅमेरा",
"X-KDE-Keywords[nb]": "gphoto,camera,digicam,webcam,kamera",
"X-KDE-Keywords[nds]": "gphoto,camera,digicam,webcam,nettkamera,kamera",
"X-KDE-Keywords[nl]": "gphoto,camera,digicam,webcam,kamera",
"X-KDE-Keywords[nn]": "gphoto,camera,kamera,vevkamera,webcam,kamera,foto,fotografering",
"X-KDE-Keywords[pa]": "gphoto,camera,digicam,webcam,kamera,ਕੈਮਰਾ,ਜੀਫੋਟੋ,ਵੈੱਬਕੈਮ",
"X-KDE-Keywords[pl]": "gphoto,kamera,digicam,internetowa,camera",
"X-KDE-Keywords[pt]": "gphoto,câmara,máquina,webcam,kamera",
"X-KDE-Keywords[pt_BR]": "gphoto,câmera,digikam,webcam,kamera",
"X-KDE-Keywords[ro]": "gphoto,aparat,foto,digicam,webcam,camera,kamera",
"X-KDE-Keywords[ru]": "gphoto,camera,digicam,webcam,kamera,камера,фото",
"X-KDE-Keywords[sk]": "gphoto,camera,digicam,webcam,kamera",
"X-KDE-Keywords[sl]": "gphoto,camera,digicam,webcam,kamera",
"X-KDE-Keywords[sr@ijekavian]": "gphoto,camera,digicam,webcam,kamera,Гфото,апарат,фотоапарат,Дигикам,веб камера,камера",
"X-KDE-Keywords[sr@ijekavianlatin]": "gphoto,camera,digicam,webcam,kamera,GPhoto,aparat,fotoaparat,Digikam,veb kamera,kamera",
"X-KDE-Keywords[sr@latin]": "gphoto,camera,digicam,webcam,kamera,GPhoto,aparat,fotoaparat,Digikam,veb kamera,kamera",
"X-KDE-Keywords[sr]": "gphoto,camera,digicam,webcam,kamera,Гфото,апарат,фотоапарат,Дигикам,веб камера,камера",
"X-KDE-Keywords[sv]": "gphoto,kamera,digicam,webbkamera,kamera",
"X-KDE-Keywords[tr]": "gphoto,kamera,dijital fotoğraf makinesi,web kamerası,kamera,fotoğraf makinesi",
"X-KDE-Keywords[uk]": "gphoto,camera,digicam,webcam,kamera,фотоапарат,камера",
"X-KDE-Keywords[x-test]": "xxgphotoxx,xxcameraxx,xxdigicamxx,xxwebcamxx,xxkameraxx",
"X-KDE-Keywords[zh_CN]": "gphoto,camera,digicam,webcam,kamera,相机,数码相机,摄像头,照片,相片,照相机",
"X-KDE-Keywords[zh_TW]": "gphoto,camera,digicam,webcam,kamera",
"X-KDE-ModuleType": "Library",
"X-KDE-ParentApp": "kcontrol",
"X-KDE-System-Settings-Parent-Category": "removable-storage"
}
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