polkit-gnome: mimic 0.99 behaviour and use XDG autostart.

--HG--
branch : gnome3
This commit is contained in:
Juan RP 2011-03-03 11:03:24 +01:00
parent 104c21d353
commit 685bc65c7f
2 changed files with 96 additions and 0 deletions

View file

@ -0,0 +1,87 @@
[Desktop Entry]
Name=PolicyKit Authentication Agent
Name[ar]=مدير الاستيثاق PolicyKit
Name[be]=PolicyKit - аґент аўтэнтыфікацыі
Name[bn_IN]=PolicyKit
Name[ca]=Agent d'autenticació del PolicyKit
Name[cs]=Ověřovací agent PolicyKit
Name[da]=Godkendelsesprogrammet PolicyKit
Name[de]=Legitimationsdienst von PolicyKit
Name[el]=Πράκτορας πιστοποίησης PolicyKit
Name[en_GB]=PolicyKit Authentication Agent
Name[es]=Agente de autenticación de PolicyKit
Name[eu]=PolicyKit autentifikatzeko agentea
Name[fi]=PolicytKit-tunnistautumisohjelma
Name[fr]=Agent d'authentification de PolicyKit
Name[gl]=Axente de autenticación PolicyKit
Name[gu]=PolicyKit િ
Name[hi]=PolicyKit ििि
Name[hu]=PolicyKit hitelesítési ügynök
Name[it]=Agente di autenticazione per PolicyKit
Name[ja]=PolicyKit
Name[kn]=PolicyKit ಿ
Name[lt]=PolicyKit tapatybės nustatymo agentas
Name[ml]=ിിി ി
Name[mr]=PolicyKit
Name[or]=PolicyKit ି
Name[pa]=ਿ ਿ
Name[pl]=Agent uwierzytelniania PolicyKit
Name[pt]=Agente de Autenticação PolicyKit
Name[pt_BR]=Agente de autenticação PolicyKit
Name[ro]=Agent de autentificare PolicyKit
Name[sk]=Agent PolicyKit na overovanie totožnosti
Name[sl]=PolicyKit program overjanja
Name[sv]=Autentiseringsagent för PolicyKit
Name[ta]=PolicyKit
Name[te]=ి ిిి
Name[th]= PolicyKit
Name[uk]=Агент автентифікації PolicyKit
Name[zh_CN]=PolicyKit
Name[zh_HK]=PolicyKit
Name[zh_TW]=PolicyKit
Comment=PolicyKit Authentication Agent
Comment[ar]=مدير الاستيثاق PolicyKit
Comment[be]=PolicyKit - аґент аўтэнтыфікацыі
Comment[bn_IN]=PolicyKit
Comment[ca]=Agent d'autenticació del PolicyKit
Comment[cs]=Ověřovací agent PolicyKit
Comment[da]=Godkendelsesprogrammet PolicyKit
Comment[de]=Legitimationsdienst von PolicyKit
Comment[el]=Πράκτορας πιστοποίησης PolicyKit
Comment[en_GB]=PolicyKit Authentication Agent
Comment[es]=Agente de autenticación de PolicyKit
Comment[eu]=PolicyKit autentifikatzeko agentea
Comment[fi]=PolicytKit-tunnistautumisohjelma
Comment[fr]=Agent d'authentification de PolicyKit
Comment[gl]=Axente de autenticación PolicyKit
Comment[gu]=PolicyKit િ
Comment[hi]=PolicyKit ििि
Comment[hu]=PolicyKit hitelesítési ügynök
Comment[it]=Agente di autenticazione per PolicyKit
Comment[ja]=PolicyKit
Comment[kn]=PolicyKit ಿ
Comment[lt]=PolicyKit tapatybės nustatymo agentas
Comment[ml]=ിിി ി
Comment[mr]=PolicyKit
Comment[or]=PolicyKit ି
Comment[pa]=ਿ ਿ
Comment[pl]=Agent uwierzytelniania PolicyKit
Comment[pt]=Agente de Autenticação PolicyKit
Comment[pt_BR]=Agente de autenticação PolicyKit
Comment[ro]=Agent de autentificare PolicyKit
Comment[sk]=Agent PolicyKit na overovanie totožnosti
Comment[sl]=PolicyKit program overjanja
Comment[sv]=Autentiseringsagent för PolicyKit
Comment[ta]=PolicyKit
Comment[te]=ి ిిి
Comment[th]= PolicyKit
Comment[uk]=Агент автентифікації PolicyKit
Comment[zh_CN]=PolicyKit
Comment[zh_HK]=PolicyKit
Comment[zh_TW]=PolicyKit
Exec=/usr/libexec/polkit-gnome-authentication-agent-1
Terminal=false
Type=Application
Categories=
NoDisplay=true
OnlyShowIn=GNOME;

View file

@ -45,3 +45,12 @@ Add_dependency build gdk-pixbuf-devel
Add_dependency build libpng-devel Add_dependency build libpng-devel
Add_dependency build gtk+3-devel Add_dependency build gtk+3-devel
Add_dependency build gobject-introspection Add_dependency build gobject-introspection
post_install()
{
# Start polkit-gnome-authentication-agent-1 via XDG autostart,
# otherwise it will run with the GDM user and won't work.
install -D -m644 \
${FILESDIR}/polkit-gnome-authentication-agent-1.desktop \
${DESTDIR}/etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop
}