FS#12520 - Openbox should have pyxdg as optdepend

Attached to Project: Arch Linux
Opened by Dieter Plaetinck (Dieter_be) - Saturday, 20 December 2008, 21:00 GMT
Last edited by Allan McRae (Allan) - Saturday, 21 March 2009, 10:41 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Alexander Fehr (pizzapunk)
Architecture All
Severity Low
Priority Normal
Reported Version 3.2.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

dieter@dieter-ws ~ /usr/lib/openbox/xdg-autostart

ERROR: xdg-autostart requires PyXDG to be installed

dieter@dieter-ws ~ pacman -Qo /usr/lib/openbox/xdg-autostart
/usr/lib/openbox/xdg-autostart is owned by openbox 3.4.7.2-1
dieter@dieter-ws ~ pacman -Qi openbox
Name : openbox
Version : 3.4.7.2-1
URL : http://icculus.org/openbox
Licenses : GPL
Groups : None
Provides : None
Depends On : startup-notification libxml2 libxinerama libxrandr libxcursor pango
Optional Deps : None
(..)

pacman -S pyxdg -> xdg-autostart works.

So imho, pyxdg is an optdepend to enable the xdg-autostart feature of openbox.

Thanks

This task depends upon

Closed by  Allan McRae (Allan)
Saturday, 21 March 2009, 10:41 GMT
Reason for closing:  Fixed
Additional comments about closing:  3.4.7.2-2
Comment by Dieter Plaetinck (Dieter_be) - Saturday, 20 December 2008, 21:10 GMT
"It runs xdg-autostart, if you have PyXDG installed, to run any programs that have requested to be started with the X session. (It does not run GNOME or KDE specific applications unless asked to, see xdg-autostart --help.) xdg-autostart is installed to /usr/lib/openbox/ because it will be distributed as part of the PyXDG package in the future. "

Read at @ http://icculus.org/openbox/index.php/Help:Autostart
Comment by Dan McGee (toofishes) - Sunday, 21 December 2008, 02:02 GMT
  • Field changed: Attached to Project (Pacman → Arch Linux)
Why was this filed as a pacman bug? Please check your project next time...
Comment by Dieter Plaetinck (Dieter_be) - Sunday, 21 December 2008, 10:30 GMT
Sorry Dan, I guess when I clicked on "new task" I happened to be looking at pacman bugs. I see that one cannot select the project like you can select category etc. It's picked automatically depending on where you come from, I didn't know that.
Comment by Dieter Plaetinck (Dieter_be) - Saturday, 21 March 2009, 10:01 GMT
Here is the patch:

Index: PKGBUILD
===================================================================
--- PKGBUILD (revision 30679)
+++ PKGBUILD (working copy)
@@ -10,6 +10,7 @@
license=('GPL')
depends=('startup-notification' 'libxml2' 'libxinerama' 'libxrandr' \
'libxcursor' 'pango')
+optdepends=('pyxdg: to use the xdg-autostart script')
url="http://icculus.org/openbox"
install=openbox.install
options=('!libtool')

Loading...