Package Details: oblogout-fork-git 20130106-3

Git Clone URL: https://aur.archlinux.org/oblogout-fork-git.git (read-only)
Package Base: oblogout-fork-git
Description: Openbox Logout Script Fork used by CrunchBang
Upstream URL: https://github.com/Cloudef/oblogout-fork
Licenses: GPL2
Conflicts: oblogout, openboxlogout-gnome
Submitter: orschiro
Maintainer: dustball
Last Packager: dustball
Votes: 13
Popularity: 0.000338
First Submitted: 2011-09-19 22:28
Last Updated: 2017-11-05 10:25

Latest Comments

scorpp commented on 2015-10-07 11:14

for those who experience troubles running oblogout after recent update here is a patch https://github.com/scorpp/oblogout-fork/commit/89b15dae131847e615484f273d8e6b3c50edd229.patch
we can include in aur package itself

UPDATE: upstream is now updated, no patch is needed

scorpp commented on 2013-11-28 19:17

@mladoux thank you! package updated

mladoux commented on 2013-10-27 22:57

I had to adjust the PKGBUILD for this to work -- Here's what I came up with --
http://pastebin.com/agbf953e

scorpp commented on 2012-11-01 15:37

updated pkgbuild to get rid of consolekit

# Maintainer: Robert Orzanna <orschiro@googlemail.com>
pkgname=oblogout-fork-git
pkgver=20121101
pkgrel=1
pkgdesc="Openbox Logout Script Fork used by CrunchBang"
arch=('i686' 'x86_64')
url="https://github.com/Cloudef/oblogout-fork"
depends=('pygtk' 'cairo' 'python2-imaging' 'python2-distutils-extra' 'dbus-python' 'upower')
makedepends=('git')
license=('GPL2')
backup=(etc/oblogout.conf)
conflicts=('openboxlogout-gnome' 'oblogout')
install=oblogout.install

_gitroot="git://github.com/Cloudef/oblogout-fork.git"
_gitname="oblogout-fork"

build() {
cd "$srcdir"
msg "Connecting to GIT server...."

if [ -d $_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot $_gitname
fi

msg "GIT checkout done or server timeout"
msg "Starting make..."

rm -rf "$srcdir/$_gitname-build"
git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
cd "$srcdir/$_gitname-build"

#
# BUILD HERE
#

python2 setup.py install --root="$pkgdir"/
install -m644 "$srcdir/$_gitname-build"/data/oblogout.conf "$pkgdir"/etc/
}


needs updating of /etc/oblogout.conf in the manner of original oblogout pakage:

backend =
shutdown = dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop
restart = dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart
suspend = dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend
hibernate = dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Hibernate

scorpp commented on 2012-11-01 15:22

updated pkgbuild to get rid of consolekit

# Maintainer: Robert Orzanna <orschiro@googlemail.com>
pkgname=oblogout-fork-git
pkgver=20121101
pkgrel=1
pkgdesc="Openbox Logout Script Fork used by CrunchBang"
arch=('i686' 'x86_64')
url="https://github.com/Cloudef/oblogout-fork"
depends=('pygtk' 'cairo' 'python2-imaging' 'python2-distutils-extra' 'dbus-python' 'upower')
makedepends=('git')
license=('GPL2')
backup=(etc/oblogout.conf)
conflicts=('openboxlogout-gnome' 'oblogout')
install=oblogout.install

_gitroot="git://github.com/Cloudef/oblogout-fork.git"
_gitname="oblogout-fork"

build() {
cd "$srcdir"
msg "Connecting to GIT server...."

if [ -d $_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot $_gitname
fi

msg "GIT checkout done or server timeout"
msg "Starting make..."

rm -rf "$srcdir/$_gitname-build"
git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
cd "$srcdir/$_gitname-build"

#
# BUILD HERE
#

python2 setup.py install --root="$pkgdir"/
install -m644 "$srcdir/$_gitname-build"/data/oblogout.conf "$pkgdir"/etc/
}


needs updating of /etc/oblogout.conf in the manner of original oblogout pakage:

backend =
shutdown = dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop
restart = dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart
suspend = dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend
hibernate = dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Hibernate