Bug#566685: openbox: Here is a patch

2010-02-25 Thread Damien Couroussé
Package: openbox
Version: 3.4.10-1
Severity: normal


Hello,

Please find attached a patch
The fix was found here:
http://bugs.archlinux.org/task/17802

Cheers,
Damien

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (600, 'unstable'), (200, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages openbox depends on:
ii  libc62.10.2-2GNU C Library: Shared libraries
ii  libglib2.0-0 2.22.4-1The GLib library of C routines
ii  libice6  2:1.0.6-1   X11 Inter-Client Exchange library
ii  libobparser213.4.10-1parsing library for openbox
ii  libobrender213.4.10-1rendering library for openbox them
ii  libsm6   2:1.1.1-1   X11 Session Management library
ii  libstartup-notification0 0.10-1  library for program launch feedbac
ii  libx11-6 2:1.3.3-1   X11 client-side library
ii  libxau6  1:1.0.5-1   X11 authorisation library
ii  libxext6 2:1.1.1-2   X11 miscellaneous extension librar
ii  libxinerama1 2:1.1-2 X11 Xinerama extension library
ii  libxml2  2.7.6.dfsg-2+b1 GNOME XML library
ii  libxrandr2   2:1.3.0-3   X11 RandR extension library
ii  libxrender1  1:0.9.5-1   X Rendering Extension client libra

Versions of packages openbox recommends:
ii  openbox-themes1.0.2  Themes for the Openbox window mana

Versions of packages openbox suggests:
pn  libxml2-dev(no description available)
ii  menu  2.1.43 generates programs menu for all me
ii  obconf2.0.3-3Preferences manager for Openbox wi
ii  python2.5.4-9An interactive high-level object-o
ii  ttf-dejavu2.30-2 Metapackage to pull in ttf-dejavu-

-- no debconf information
--- openbox-gnome-session   2010-02-25 20:46:47.0 +0100
+++ /usr/bin/openbox-gnome-session  2010-02-25 20:44:54.0 +0100
@@ -37,7 +37,7 @@
   if test -z "$SESSION"; then
   # if its empty then just run openbox
   SESSION="[openbox]"
-  elif test -z $(echo "$SESSION" | grep -q openbox); then
+  elif ! test -z $(echo "$SESSION" | grep -q openbox); then
   # if openbox isn't in the session then append it
   SESSION="${SESSION%]},openbox]"
   fi


Bug#566685: openbox: Here is a patch

2010-04-12 Thread Gilles Filippini
Hi,

Damien Couroussé a écrit , Le -10/01/-28163 20:59:
> Please find attached a patch
> The fix was found here:
> http://bugs.archlinux.org/task/17802

AFAIUI the provided patch actually transforms an "always true" test into
an "always false" one. What about simply dropping the '-q' option from
the grep command instead?

Thanks,

_g.



signature.asc
Description: OpenPGP digital signature