polkit-gnome-0.105

Depends on gtk-3, install .desktop file.

svn path=/nixpkgs/branches/glib-2.30-take2/; revision=33251
This commit is contained in:
Yury G. Kudryashov 2012-03-19 04:36:35 +00:00
parent a466941945
commit 066896556f
2 changed files with 106 additions and 12 deletions

View File

@ -1,22 +1,28 @@
{ stdenv, fetchurl, pkgconfig, gtk, polkit, dbus_glib, intltool }:
stdenv.mkDerivation rec {
{ stdenv, fetchurl, polkit, gtk3, pkgconfig, intltool }:
name = "polkit-gnome-${version}";
version = "0.96";
stdenv.mkDerivation {
name = "polkit-gnome-0.105";
src = fetchurl {
url = http://hal.freedesktop.org/releases/polkit-gnome-0.96.tar.bz2;
sha256 = "14la7j3h1k1s88amkcv8rzq9wmhgzypvxpwaxwg2x2k55l1wi5hd";
url = mirror://gnome/sources/polkit-gnome/0.105/polkit-gnome-0.105.tar.xz;
sha256 = "0sckmcbxyj6sbrnfc5p5lnw27ccghsid6v6wxq09mgxqcd4lk10p";
};
buildInputs = [ pkgconfig gtk polkit dbus_glib intltool ];
buildInputs = [ polkit gtk3 ];
buildNativeInputs = [ pkgconfig intltool ];
configureFlags = [ "--disable-introspection" ];
configureFlags = "--disable-introspection";
meta = with stdenv.lib; {
# Desktop file from Debian
postInstall = ''
mkdir -p $out/etc/xdg/autostart
substituteAll ${./polkit-gnome-authentication-agent-1.desktop} $out/etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop
'';
meta = {
homepage = http://hal.freedesktop.org/docs/PolicyKit/;
description = "A dbus session bus service that is used to bring up authentication dialogs";
license = licenses.gpl2;
maintainers = [ maintainers.phreedom ];
license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ urkud phreedom ];
};
}
}

View File

@ -0,0 +1,88 @@
[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=@out@/libexec/polkit-gnome-authentication-agent-1
Terminal=false
Type=Application
Categories=
NoDisplay=true
OnlyShowIn=GNOME;XFCE;Unity;
AutostartCondition=GNOME3 unless-session gnome