aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarJulien Valroff <julien@debian.org>2011-11-20 10:24:46 +0100
committerLibravatarJulien Valroff <julien@kirya.net>2011-11-20 10:43:57 +0100
commit9404b8f5f8508fb7252a75e3668019fb058645bc (patch)
treef0a7e4b888fe6aec43ba48fbbd5ea5e79e45897c
parentd84edfdbb76cfa621cb125953fb7fbe345e08518 (diff)
downloadoblogout-9404b8f5f8508fb7252a75e3668019fb058645bc.tar.bz2
oblogout-9404b8f5f8508fb7252a75e3668019fb058645bc.tar.xz
oblogout-9404b8f5f8508fb7252a75e3668019fb058645bc.tar.zst
Imported Debian patch 0.3~bzr101-1
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control22
-rw-r--r--debian/copyright29
-rw-r--r--debian/docs1
-rw-r--r--debian/patches/001_disable-hal.diff13
-rw-r--r--debian/patches/002_default-commands.diff32
-rw-r--r--debian/patches/series2
-rwxr-xr-xdebian/rules4
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch2
11 files changed, 112 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f64701f
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+oblogout (0.3~bzr101-1) unstable; urgency=low
+
+ * Initial packaging for Debian
+
+ -- Julien Valroff <julien@debian.org> Sun, 20 Nov 2011 10:24:46 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..faa5243
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,22 @@
+Source: oblogout
+Section: misc
+Priority: extra
+Maintainer: Julien Valroff <julien@debian.org>
+Build-Depends: debhelper (>= 8), python-distutils-extra
+Standards-Version: 3.9.2
+Homepage: http://launchpad.net/oblogout/
+
+Package: oblogout
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}, python-gobject, python-gtk2, python-imaging, python-cairo
+Recommends: python-dbus, policykit
+Suggests: openbox
+XB-Python-Version: ${python:Versions}
+Description: Logout script designed with Openbox in mind
+ OBLogout is a expandable, configurable, and theme-able logout script designed
+ to be used in a Openbox desktop environment.
+ .
+ OBLogout uses pyGTK/Cairo, PIL, and HAL/dbus. The code tries to remain simple
+ and flexible for usage in any number of situations and is designed to run on
+ desktops of any screen resolution and capabilities. If compositing isn't
+ available a software rendering solution (PIL) is used instead.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..0cb0d07
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174
+Upstream-Name: OBLogout
+Source: https://launchpad.net/oblogout
+
+Files: *
+Copyright: 2008-2009 Andrew Williams <andy@tensixtyone.com>
+License: GPL-2+
+
+Files: debian/*
+Copyright: 2009 Andrew Williams <andy@tensixtyone.com>
+ 2011 Julien Valroff <julien@debian.org>
+License: GPL-2+
+
+License: GPL-2+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README
diff --git a/debian/patches/001_disable-hal.diff b/debian/patches/001_disable-hal.diff
new file mode 100644
index 0000000..93fc1cd
--- /dev/null
+++ b/debian/patches/001_disable-hal.diff
@@ -0,0 +1,13 @@
+Description: Do not use deprecated HAL by default
+Author: Julien Valroff <julien@debian.org>
+Last-Update: 2011-11-20
+
+--- a/data/oblogout.conf
++++ b/data/oblogout.conf
+@@ -1,5 +1,5 @@
+ [settings]
+-usehal = true
++usehal = false
+
+ [looks]
+ opacity = 70
diff --git a/debian/patches/002_default-commands.diff b/debian/patches/002_default-commands.diff
new file mode 100644
index 0000000..16f2ed5
--- /dev/null
+++ b/debian/patches/002_default-commands.diff
@@ -0,0 +1,32 @@
+Description: Set default commands for Debian
+Author: Julien Valroff <julien@debian.org>
+Last-Update: 2011-11-20
+
+--- a/data/oblogout.conf
++++ b/data/oblogout.conf
+@@ -5,7 +5,7 @@
+ opacity = 70
+ bgcolor = black
+ buttontheme = simplistic
+-buttons = cancel, logout, restart, shutdown, suspend, lock
++buttons = cancel, logout, restart, shutdown, suspend, hibernate, lock
+
+ [shortcuts]
+ cancel = Escape
+@@ -17,11 +17,11 @@
+ hibernate = H
+
+ [commands]
+-shutdown = shutdown -h now
+-restart = reboot
+-suspend = pmi action suspend
+-hibernate = pmi action hibernate
++shutdown = dbus-send --system --print-reply --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stopt
++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
+ safesuspend = safesuspend
+-lock = gnome-screensaver-command -l
++lock = xdg-screensaver lock
+ switchuser = gdm-control --switch-user
+ logout = openbox --exit
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..7080bd2
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+001_disable-hal.diff
+002_default-commands.diff
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..4647c9c
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@ --with python2
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..a60fed3
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://launchpad.net/oblogout/+download http://launchpad.net/oblogout/.*/oblogout-(.+).tar.bz2