xfce4-session: update to 4.8.1.
This commit is contained in:
parent
84c16c2331
commit
2f99cd0fba
3 changed files with 64 additions and 6 deletions
31
srcpkgs/xfce4-session/files/org.freedesktop.consolekit.pkla
Normal file
31
srcpkgs/xfce4-session/files/org.freedesktop.consolekit.pkla
Normal file
|
@ -0,0 +1,31 @@
|
|||
[Local restart]
|
||||
#Identity=unix-user: your_username
|
||||
Identity=unix-group:power
|
||||
Action=org.freedesktop.consolekit.system.restart
|
||||
ResultAny=yes
|
||||
ResultInactive=no
|
||||
ResultActive=yes
|
||||
|
||||
[Local shutdown]
|
||||
#Identity=unix-user: your_username
|
||||
Identity=unix-group:power
|
||||
Action=org.freedesktop.consolekit.system.stop
|
||||
ResultAny=yes
|
||||
ResultInactive=no
|
||||
ResultActive=yes
|
||||
|
||||
[Local restart - multiple]
|
||||
#Identity=unix-user: your_username
|
||||
Identity=unix-group:power
|
||||
Action=org.freedesktop.consolekit.system.restart-multiple-users
|
||||
ResultAny=yes
|
||||
ResultInactive=no
|
||||
ResultActive=yes
|
||||
|
||||
[Local shutdown - multiple]
|
||||
#Identity=unix-user: your_username
|
||||
Identity=unix-group:power
|
||||
Action=org.freedesktop.consolekit.system.stop-multiple-users
|
||||
ResultAny=yes
|
||||
ResultInactive=no
|
||||
ResultActive=yes
|
15
srcpkgs/xfce4-session/files/org.freedesktop.upower.pkla
Normal file
15
srcpkgs/xfce4-session/files/org.freedesktop.upower.pkla
Normal file
|
@ -0,0 +1,15 @@
|
|||
[Local hibernate]
|
||||
#Identity=unix-user: your_username
|
||||
Identity=unix-group:power
|
||||
Action=org.freedesktop.upower.hibernate
|
||||
ResultAny=yes
|
||||
ResultInactive=no
|
||||
ResultActive=yes
|
||||
|
||||
[Local suspend]
|
||||
#Identity=unix-user: your_username
|
||||
Identity=unix-group:power
|
||||
Action=org.freedesktop.upower.suspend
|
||||
ResultAny=yes
|
||||
ResultInactive=no
|
||||
ResultActive=yes
|
|
@ -1,12 +1,14 @@
|
|||
# Template file for 'xfce4-session'
|
||||
pkgname=xfce4-session
|
||||
version=4.8.0
|
||||
distfiles="http://archive.xfce.org/xfce/4.8/src/$pkgname-$version.tar.bz2"
|
||||
version=4.8.1
|
||||
distfiles="http://archive.xfce.org/src/xfce/${pkgname}/4.8/$pkgname-$version.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
configure_args="--disable-gnome --enable-libgnome-keyring"
|
||||
configure_args="--disable-gnome --disable-libgnome-keyring --disable-hal
|
||||
--enable-session-screenshots --enable-upower --enable-consolekit
|
||||
--enable-polkit --enable-panel-plugin --disable-debug --disable-static"
|
||||
short_desc="Xfce session manager"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=b93b6e06e28c97c1968cf9283b82618f4a4fdbf2ba838e8303e38122867a25d3
|
||||
checksum=1df52a77d87ed4d27b4f40a2f03a0b6334422d64bdc4e31b9aac22e25e68b829
|
||||
long_desc="
|
||||
xfce4-session is the session manager for the Xfce desktop environment."
|
||||
|
||||
|
@ -29,7 +31,6 @@ Add_dependency run libX11
|
|||
Add_dependency run libwnck
|
||||
Add_dependency run atk
|
||||
Add_dependency run cairo
|
||||
Add_dependency run libgnome-keyring
|
||||
Add_dependency run pango
|
||||
Add_dependency run libpng
|
||||
Add_dependency run freetype
|
||||
|
@ -52,12 +53,23 @@ Add_dependency build libX11-devel
|
|||
Add_dependency build libwnck-devel
|
||||
Add_dependency build atk-devel
|
||||
Add_dependency build cairo-devel
|
||||
Add_dependency build libgnome-keyring-devel
|
||||
Add_dependency build pango-devel
|
||||
Add_dependency build libpng-devel
|
||||
Add_dependency build freetype-devel
|
||||
Add_dependency build fontconfig-devel
|
||||
Add_dependency build xfce4-panel-devel
|
||||
|
||||
Add_dependency full upower
|
||||
Add_dependency full udisks
|
||||
Add_dependency full hicolor-icon-theme
|
||||
Add_dependency full desktop-file-utils
|
||||
|
||||
post_install()
|
||||
{
|
||||
install -dm700 ${DESTDIR}/etc/polkit-1/localauthority
|
||||
install -dm755 ${DESTDIR}/etc/polkit-1/localauthority/50-local.d
|
||||
install -m644 ${FILESDIR}/org.freedesktop.consolekit.pkla \
|
||||
${DESTDIR}/etc/polkit-1/localauthority/50-local.d/
|
||||
install -m644 ${FILESDIR}/org.freedesktop.upower.pkla \
|
||||
${DESTDIR}/etc/polkit-1/localauthority/50-local.d/
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue