summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2021-12-30 22:44:56 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2021-12-30 22:44:56 +0900
commit47af68ccb7e8550df716a5d79ffdbc51e69b8acb (patch)
tree15f025969400cc6f6ccf2e5c8a891d0036a3c98f
parent75932c4261a3f1d614fd5faeaea2227d51948e15 (diff)
downloadpolkit-agent-tde-47af68ccb7e8550df716a5d79ffdbc51e69b8acb.tar.gz
polkit-agent-tde-47af68ccb7e8550df716a5d79ffdbc51e69b8acb.zip
Added autostart desktop file.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--CMakeLists.txt.ORI17
-rw-r--r--src/CMakeLists.txt9
-rw-r--r--src/org.freedesktop.PolicyKit.AuthenticationAgent.xml13
-rw-r--r--src/policykit1-kde.notifyrc177
-rw-r--r--src/polkit-agent-tde.desktop.cmake (renamed from src/polkit-kde-authentication-agent-1.desktop.in)23
5 files changed, 21 insertions, 218 deletions
diff --git a/CMakeLists.txt.ORI b/CMakeLists.txt.ORI
deleted file mode 100644
index 8b2ebe7..0000000
--- a/CMakeLists.txt.ORI
+++ /dev/null
@@ -1,17 +0,0 @@
-kde4_add_executable(polkit-kde-authentication-agent-1 ${policykit_SRCS})
-
-target_link_libraries(polkit-kde-authentication-agent-1
- ${KDE4_TDEUI_LIBS}
- ${POLKITQT-1_LIBRARIES}
-)
-
-configure_file(polkit-kde-authentication-agent-1.desktop.in ${CMAKE_BINARY_DIR}/polkit-kde-authentication-agent-1.desktop)
-
-install(TARGETS polkit-kde-authentication-agent-1 DESTINATION ${LIBEXEC_INSTALL_DIR})
-
-install(FILES ${CMAKE_BINARY_DIR}/polkit-kde-authentication-agent-1.desktop DESTINATION ${AUTOSTART_INSTALL_DIR})
-
-install(FILES policykit1-kde.notifyrc DESTINATION ${DATA_INSTALL_DIR}/policykit1-kde)
-
-include(MacroOptionalAddSubdirectory)
-macro_optional_add_subdirectory( po )
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index c6d65bf..abf96b7 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -25,7 +25,14 @@ link_directories(
)
-##### executables #########################
+##### autostart file #####
+
+configure_file( polkit-agent-tde.desktop.cmake polkit-agent-tde.desktop @ONLY )
+install( FILES ${CMAKE_CURRENT_BINARY_DIR}/polkit-agent-tde.desktop
+ DESTINATION ${AUTOSTART_INSTALL_DIR} )
+
+
+##### executables #####
tde_add_executable( polkit-agent-tde AUTOMOC
SOURCES AuthDialogWidget.ui AuthDetailsWidget.ui AuthDialog.h AuthDialog.cpp
diff --git a/src/org.freedesktop.PolicyKit.AuthenticationAgent.xml b/src/org.freedesktop.PolicyKit.AuthenticationAgent.xml
deleted file mode 100644
index 8881b62..0000000
--- a/src/org.freedesktop.PolicyKit.AuthenticationAgent.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
-<node>
- <interface name="org.freedesktop.PolicyKit.AuthenticationAgent">
- <method name="ObtainAuthorization" >
- <!-- IN: PolicyKit action identifier; see PolKitAction -->
- <arg direction="in" type="s" name="action_id" />
- <!-- IN: Process ID to grant authorization to -->
- <arg direction="in" type="u" name="pid" />
- <!-- OUT: whether the user gained the authorization -->
- <arg direction="out" type="b" name="gained_authorization" />
- </method>
- </interface>
-</node>
diff --git a/src/policykit1-kde.notifyrc b/src/policykit1-kde.notifyrc
deleted file mode 100644
index bc91c3f..0000000
--- a/src/policykit1-kde.notifyrc
+++ /dev/null
@@ -1,177 +0,0 @@
-[Global]
-IconName=dialog-password
-Comment=PolicyKit authentication dialog
-Comment[ar]=مربع حوار الاستيثاق PolicyKit
-Comment[bs]=PolicyKit dijalog provjere identiteta
-Comment[ca]=Diàleg d'autenticació del PolicyKit
-Comment[ca@valencia]=Diàleg d'autenticació del PolicyKit
-Comment[cs]=Ověřovací dialog PolicyKitu
-Comment[da]=PolicyKit autentificeringsdialog
-Comment[de]=PolicyKit-Berechtigungsdialog
-Comment[el]=PolicyKit διάλογος πιστοποίησης
-Comment[en_GB]=PolicyKit authentication dialogue
-Comment[es]=Diálogo de autenticación de PolicyKit
-Comment[et]=PolicyKiti autentimisdialoog
-Comment[fi]=PolicyKit-tunnistautumisikkuna
-Comment[fr]=Boîte de dialogue d'authentification de PolicyKit
-Comment[gl]=Diálogo de autenticación de PolicyKit
-Comment[hr]=PolicyKit-ov dijaloški prozor za autentifikaciju
-Comment[hu]=PolicyKit hitelesítési párbeszédablak
-Comment[it]=Finestra di autenticazione di PolicyKit
-Comment[km]=ប្រអប់​ផ្ទៀង​ផ្ទាត់​ភាព​ត្រឹមត្រូវ​ PolicyKit ​
-Comment[lt]=PolicyKit tapatumo nustatymo dialogas
-Comment[ms]=Dialog pengesahan PolicyKit
-Comment[nb]=PolicyKit autentiseringsdialog
-Comment[nds]=Regelsett-Identiteetprööv-Dialoog
-Comment[nl]=Authenticatiedialoog van PolicyKit
-Comment[pa]=ਪਾਲਸੀਕਿੱਟ ਪਰਮਾਣਕਿਤਾ ਡਾਈਲਾਗ
-Comment[pl]=Okno dialogowe uwierzytelnienia PolicyKit
-Comment[pt]=Janela de autenticação do PolicyKit
-Comment[pt_BR]=Diálogo de autenticação do PolicyKit
-Comment[ro]=Dialog de autentificare PolicyKit
-Comment[ru]=Диалоговое окно аутентификации PolicyKit
-Comment[sl]=Pogovorno okno overitve PolicyKit
-Comment[sr]=Полисикитов дијалог за аутентификовање
-Comment[sr@ijekavian]=Полисикитов дијалог за аутентификовање
-Comment[sr@ijekavianlatin]=PolicyKitov dijalog za autentifikovanje
-Comment[sr@latin]=PolicyKitov dijalog za autentifikovanje
-Comment[sv]=Policykit behörighetsdialogruta
-Comment[tr]=PolicyKit kimlik doğrulama penceresi
-Comment[ug]=PolicyKit سالاھىيەت دەلىللەش سۆزلەشكۈسى
-Comment[uk]=Діалогове вікно розпізнавання PolicyKit
-Comment[vi]=Hộp thoại xác thực PolicyKit
-Comment[x-test]=xxPolicyKit authentication dialogxx
-Comment[zh_CN]=PolicyKit 认证对话框
-Comment[zh_TW]=PolicyKit 認證對話框
-Name=policykit1-kde
-Name[ar]=policykit1-kde
-Name[bs]=policykit1-kde
-Name[ca]=policykit1-kde
-Name[ca@valencia]=policykit1-kde
-Name[cs]=policykit1-kde
-Name[da]=policykit1-kde
-Name[de]=policykit1-kde
-Name[el]=policykit1-kde
-Name[en_GB]=policykit1-kde
-Name[es]=policykit1-kde
-Name[et]=policykit1-kde
-Name[fi]=policykit1-kde
-Name[fr]=policykit1-kde
-Name[gl]=policykit1-kde
-Name[hr]=policykit1-kde
-Name[hu]=policykit1-kde
-Name[it]=policykit1-kde
-Name[km]=policykit1-kde
-Name[lt]=policykit1-kde
-Name[ms]=policykit1-kde
-Name[nb]=policykit1-kde
-Name[nds]=Regelsett1-KDE
-Name[nl]=policykit1-kde
-Name[pa]=policykit1-kde
-Name[pl]=policykit1-kde
-Name[pt]=policykit1-kde
-Name[pt_BR]=policykit1-kde
-Name[ro]=policykit1-kde
-Name[ru]=policykit1-kde
-Name[sk]=policykit1-kde
-Name[sl]=policykit1-kde
-Name[sr]=Полисикит1‑КДЕ
-Name[sr@ijekavian]=Полисикит1‑КДЕ
-Name[sr@ijekavianlatin]=PolicyKit1‑KDE
-Name[sr@latin]=PolicyKit1‑KDE
-Name[sv]=policykit1-kde
-Name[tr]=policykit1-kde
-Name[ug]=policykit1-kde
-Name[uk]=policykit1-kde
-Name[vi]=policykit1-kde
-Name[x-test]=xxpolicykit1-kdexx
-Name[zh_CN]=policykit1-kde
-Name[zh_TW]=policykit1-kde
-
-[Event/authenticate]
-Name=authenticate
-Name[ar]=الاستيثاق
-Name[bs]=autentifikacija
-Name[ca]=autentica
-Name[ca@valencia]=autentica
-Name[cs]=ověřit
-Name[da]=autentificér
-Name[de]=Berechtigen
-Name[el]=πιστοποίηση
-Name[en_GB]=authenticate
-Name[es]=autenticarse
-Name[et]=Autentimine
-Name[fi]=tunnistaudu
-Name[fr]=s'authentifier
-Name[gl]=autenticar
-Name[hr]=autentifikacija
-Name[hu]=hitelesítés
-Name[it]=autenticazione
-Name[km]=ផ្ទៀង​ផ្ទាត់​ភាព​ត្រឹម​ត្រូវ​
-Name[lt]=nustatyti tapatybę
-Name[ms]=pengesahan
-Name[nb]=autentiser
-Name[nds]=Identiteet pröven
-Name[nl]=authenticatie
-Name[pa]=ਪਰਮਾਣਕਿਤਾ
-Name[pl]=uwierzytelnij
-Name[pt]=autenticar
-Name[pt_BR]=autenticar
-Name[ro]=autentificare
-Name[ru]=аутентификация
-Name[sl]=overi
-Name[sr]=Аутентификовање
-Name[sr@ijekavian]=Аутентификовање
-Name[sr@ijekavianlatin]=Autentifikovanje
-Name[sr@latin]=Autentifikovanje
-Name[sv]=behörighetskontrollera
-Name[tr]=yetkilendir
-Name[ug]=سالاھىيەت دەلىللەش
-Name[uk]=розпізнавання
-Name[vi]=xác thực
-Name[x-test]=xxauthenticatexx
-Name[zh_CN]=认证
-Name[zh_TW]=認證
-Comment=You are required to authenticate
-Comment[ar]=أنت مطالب بالاستيثاق
-Comment[bs]=Trebate se autentificirati
-Comment[ca]=Se us demana que us autentiqueu
-Comment[ca@valencia]=Se vos demana que vos autentiqueu
-Comment[cs]=Je vyžadováno ověření totožnosti
-Comment[da]=Du skal autentificere
-Comment[de]=Sie benötigen eine Berechtigung
-Comment[el]=Απαιτείται να πιστοποιηθείτε
-Comment[en_GB]=You are required to authenticate
-Comment[es]=Es necesario que se autentique
-Comment[et]=Vajalik on autentimine
-Comment[fi]=Tunnistautuminen vaaditaan
-Comment[fr]=Vous devez vous authentifier
-Comment[gl]=Debe identificarse.
-Comment[hr]=Potrebno je autentificirati se
-Comment[hu]=Hitelesítés szükséges
-Comment[it]=Devi effettuare l'autenticazione
-Comment[km]=អ្នក​ត្រូវ​បាន​ស្នើ​ ដើម្បី​ផ្ទៀង​ផ្ទាត់​ភាព​ត្រឹម​ត្រូវ​
-Comment[lt]=Reikia nustatyti jūsų tapatybę
-Comment[nb]=Du må autentisere
-Comment[nds]=Identiteetprööv deit noot
-Comment[nl]=Authenticeren is verplicht
-Comment[pa]=ਤੁਹਾਨੂੰ ਪਰਮਾਣਿਤ ਹੋਣ ਦੀ ਲੋੜ ਹੈ
-Comment[pl]=Musisz się uwierzytelnić
-Comment[pt]=É necessária a sua autenticação
-Comment[pt_BR]=É necessária a sua autenticação
-Comment[ro]=Vi se solicită autentificarea
-Comment[ru]=Необходимо выполнить аутентификацию
-Comment[sl]=Zahtevana je overitev
-Comment[sr]=Треба да се аутентификујете
-Comment[sr@ijekavian]=Треба да се аутентификујете
-Comment[sr@ijekavianlatin]=Treba da se autentifikujete
-Comment[sr@latin]=Treba da se autentifikujete
-Comment[sv]=Det krävs att din behörighet kontrolleras
-Comment[tr]=Kimlik doğrulaması yapmanız gerekiyor
-Comment[ug]=سالاھىيىتىڭىزنى دەلىللەش زۆرۈر
-Comment[uk]=Вам слід пройти розпізнавання
-Comment[vi]=Bạn được yêu cầu phải xác thực
-Comment[x-test]=xxYou are required to authenticatexx
-Comment[zh_CN]=您需要认证
-Comment[zh_TW]=您需要認證
-Action=Popup
diff --git a/src/polkit-kde-authentication-agent-1.desktop.in b/src/polkit-agent-tde.desktop.cmake
index aa088cc..95aceb5 100644
--- a/src/polkit-kde-authentication-agent-1.desktop.in
+++ b/src/polkit-agent-tde.desktop.cmake
@@ -1,24 +1,27 @@
-
[Desktop Entry]
-Name=PolicyKit Authentication Agent
+Name=TDE PolicyKit Authentication Agent
Name[da]=PolicyKit autentificeringsagent
Name[en_GB]=PolicyKit Authentication Agent
Name[et]=PolicyKiti autentimisagent
+Name[it]=Agente di autenticazione PolicyKit per TDE
Name[pt]=Agente de Autenticação do PolicyKit
Name[sv]=Policykit behörighetskontrollverktyg
Name[uk]=Агент розпізнавання PolicyKit
-Name[x-test]=xxPolicyKit Authentication Agentxx
-Comment=PolicyKit Authentication Agent
+
+Comment=TDE PolicyKit Authentication Agent
Comment[da]=PolicyKit autentificeringsagent
Comment[en_GB]=PolicyKit Authentication Agent
Comment[et]=PolicyKiti autentimisagent
+Comment[it]=Agente di autenticazione PolicyKit per TDE
Comment[pt]=Agente de Autenticação do PolicyKit
Comment[sv]=Policykit behörighetskontrollverktyg
Comment[uk]=Агент розпізнавання PolicyKit
-Comment[x-test]=xxPolicyKit Authentication Agentxx
-Exec=${LIBEXEC_INSTALL_DIR}/polkit-kde-authentication-agent-1
-Terminal=false
+
Type=Application
-Categories=
-X-Desktop-File-Install-Version=0.15
-OnlyShowIn=KDE;
+Exec=@BIN_INSTALL_DIR@/polkit-agent-tde
+Terminal=false
+Categories=Qt;TDE;System;
+X-TDE-autostart-after=panel
+X-TDE-StartupNotify=false
+X-TDE-UniqueApplet=true
+