summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Alff2017-07-05 17:38:52 -0400
committerTed Alff2017-07-05 17:38:52 -0400
commitdc74e7549fb30bda9181c1e07f2be9fafbc330c5 (patch)
treeeef02050a8fee784967b64cb7a502ad502e8a0ea
parentc1070b9e3af56c231b2f2977f27610082355e004 (diff)
downloadaur-dc74e7549fb30bda9181c1e07f2be9fafbc330c5.tar.gz
Add default polkit agent
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD28
-rw-r--r--xfce-polkit-gnome-authentication-agent-1.desktop87
3 files changed, 112 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index aa728a3e19f..57768d7dc01 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,31 +1,35 @@
# Generated by mksrcinfo v8
-# Mon Apr 17 13:21:43 UTC 2017
+# Wed Jul 5 21:38:32 UTC 2017
pkgbase = xfce4-session-devel
pkgdesc = A session manager for Xfce
pkgver = 4.13.0
- pkgrel = 2
+ pkgrel = 3
url = http://www.xfce.org/
arch = i686
arch = x86_64
- groups = xfce4
license = GPL2
makedepends = intltool
- makedepends = xfce4-dev-tools
depends = libxfce4ui
depends = libwnck3
+ depends = libsm
+ depends = polkit
depends = xorg-iceauth
depends = xorg-xinit
+ depends = xorg-xrdb
+ depends = polkit-gnome
depends = hicolor-icon-theme
- depends = polkit
optdepends = gnome-keyring: for keyring support when GNOME compatibility is enabled
optdepends = xscreensaver: for locking screen with xflock4
optdepends = gnome-screensaver: for locking screen with xflock4
optdepends = xlockmore: for locking screen with xflock4
+ optdepends = slock: for locking screen with xflock4
provides = xfce4-session=4.13.0
conflicts = xfce4-session
replaces = xfce-utils
source = http://archive.xfce.org/src/xfce/xfce4-session/4.13/xfce4-session-4.13.0.tar.bz2
+ source = xfce-polkit-gnome-authentication-agent-1.desktop
sha256sums = 3e02b124c6a282d9b1af0b30696d5256b1c2e56618992b49062314ed3ea5d3a1
+ sha256sums = 74c94c5f7893d714e04ec7d8b8520c978a5748757a0cdcf5128492f09f31b643
pkgname = xfce4-session-devel
diff --git a/PKGBUILD b/PKGBUILD
index be6c0a4822c..9b11662c08c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,30 +1,28 @@
# Maintainer: twa022 <twa022 at gmail dot com>
-# 0: no, 1: yes
-_enable_polkit=1
-
_pkgname=xfce4-session
pkgname=${_pkgname}-devel
pkgver=4.13.0
-pkgrel=2
+pkgrel=3
pkgdesc="A session manager for Xfce"
arch=('i686' 'x86_64')
url="http://www.xfce.org/"
license=('GPL2')
-groups=('xfce4')
-depends=('libxfce4ui' 'libwnck3' 'xorg-iceauth' 'xorg-xinit' 'hicolor-icon-theme')
-makedepends=('intltool' 'xfce4-dev-tools')
+depends=('libxfce4ui' 'libwnck3' 'libsm' 'polkit' 'xorg-iceauth' 'xorg-xinit'
+ 'xorg-xrdb' 'polkit-gnome' 'hicolor-icon-theme')
+makedepends=('intltool')
optdepends=('gnome-keyring: for keyring support when GNOME compatibility is enabled'
'xscreensaver: for locking screen with xflock4'
'gnome-screensaver: for locking screen with xflock4'
- 'xlockmore: for locking screen with xflock4')
+ 'xlockmore: for locking screen with xflock4'
+ 'slock: for locking screen with xflock4')
provides=("${_pkgname}=${pkgver}")
conflicts=("${_pkgname}")
replaces=('xfce-utils')
-source=(http://archive.xfce.org/src/xfce/$_pkgname/${pkgver%.*}/$_pkgname-$pkgver.tar.bz2)
-sha256sums=('3e02b124c6a282d9b1af0b30696d5256b1c2e56618992b49062314ed3ea5d3a1')
-
-[[ ${_enable_polkit} -eq 1 ]] && depends+=( 'polkit' )
+source=("http://archive.xfce.org/src/xfce/$_pkgname/${pkgver%.*}/$_pkgname-$pkgver.tar.bz2"
+ 'xfce-polkit-gnome-authentication-agent-1.desktop')
+sha256sums=('3e02b124c6a282d9b1af0b30696d5256b1c2e56618992b49062314ed3ea5d3a1'
+ '74c94c5f7893d714e04ec7d8b8520c978a5748757a0cdcf5128492f09f31b643')
build() {
cd "$srcdir/$_pkgname-$pkgver"
@@ -43,5 +41,11 @@ build() {
package() {
cd "$srcdir/$_pkgname-$pkgver"
make DESTDIR="$pkgdir" install
+
+ # Provide a default PolicyKit Authentication Agent (FS#42569)
+ install -d "$pkgdir/etc/xdg/autostart"
+ cp "$srcdir/xfce-polkit-gnome-authentication-agent-1.desktop" \
+ "$pkgdir/etc/xdg/autostart/"
+
}
diff --git a/xfce-polkit-gnome-authentication-agent-1.desktop b/xfce-polkit-gnome-authentication-agent-1.desktop
new file mode 100644
index 00000000000..fec61e7fc41
--- /dev/null
+++ b/xfce-polkit-gnome-authentication-agent-1.desktop
@@ -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/lib/polkit-gnome/polkit-gnome-authentication-agent-1
+Terminal=false
+Type=Application
+Categories=
+NoDisplay=true
+OnlyShowIn=XFCE;