Package: vtwm
Version: 5.4.6b-1
Severity: important
Tags: patch

In the current VTWM package starting an application locks up VTWM.  This
is because the current VTWM menu's do not background the applications
and attempt to run them in the foreground.  This causes a deadlock in
which the application waits for the window manager to position it's
windows and the window manager waits for the application to finish.

Also the current package is missing some builddeps and other things here
and there.

This patch adds and entry to the gdm menu when VTWM is installed, it
also adds libselinux1-dev as a build dep and fixes the bug above.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages vtwm depends on:
ii  libc6                     2.3.2.ds1-22   GNU C Library: Shared libraries an
ii  libice6                   6.8.2.dfsg.1-4 Inter-Client Exchange library
ii  libsm6                    6.8.2.dfsg.1-4 X Window System Session Management
ii  libx11-6                  6.8.2.dfsg.1-4 X Window System protocol client li
ii  libxext6                  6.8.2.dfsg.1-4 X Window System miscellaneous exte
ii  libxmu6                   6.8.2.dfsg.1-4 X Window System miscellaneous util
ii  libxpm4                   6.8.2.dfsg.1-4 X pixmap library
ii  libxt6                    6.8.2.dfsg.1-4 X Toolkit Intrinsics
ii  xlibs                     6.8.2.dfsg.1-4 X Window System client libraries m

vtwm recommends no packages.

-- no debconf information
diff -urN vtwm-5.4.6b/debian/control vtwm-5.4.6b.new/debian/control
--- vtwm-5.4.6b/debian/control  2005-07-22 11:14:38.000000000 -0500
+++ vtwm-5.4.6b.new/debian/control      2005-07-21 13:51:35.000000000 -0500
@@ -2,7 +2,7 @@
 Section: x11
 Priority: optional
 Maintainer: Branden Robinson <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.0), xutils, x-dev, libx11-dev, libxext-dev, 
libxmu-dev, libxpm-dev, libxt-dev, libsm-dev, libice-dev, flex, bison
+Build-Depends: debhelper (>= 4.0), xutils, x-dev, libx11-dev, libxext-dev, 
libxmu-dev, libxpm-dev, libxt-dev, libsm-dev, libice-dev, flex, bison, 
libselinux1-dev
 Standards-Version: 3.6.1
 
 Package: vtwm
diff -urN vtwm-5.4.6b/debian/dirs vtwm-5.4.6b.new/debian/dirs
--- vtwm-5.4.6b/debian/dirs     1969-12-31 18:00:00.000000000 -0600
+++ vtwm-5.4.6b.new/debian/dirs 2005-07-21 14:24:40.000000000 -0500
@@ -0,0 +1,5 @@
+etc/menu-methods
+usr/share/xsessions
+usr/lib/menu
+usr/share/doc/vtwm
+usr/X11R6/bin
diff -urN vtwm-5.4.6b/debian/menu-method vtwm-5.4.6b.new/debian/menu-method
--- vtwm-5.4.6b/debian/menu-method      2005-07-22 11:14:38.000000000 -0500
+++ vtwm-5.4.6b.new/debian/menu-method  2005-07-21 13:48:12.000000000 -0500
@@ -12,7 +12,7 @@
 function q($com) = esc($com,"\"");
 
 # apply($command, $action): run $command using window manager function $action
-function apply($com, $action) = "  \"" q(title()) "\" " $action " \"" q($com) 
"\"\n";
+function apply($com, $action) = "  \"" q(title()) "\" " $action " \"" q($com) 
" &\"\n";
 
 supported;
     x11  = apply($command, "f.exec");
diff -urN vtwm-5.4.6b/debian/rules vtwm-5.4.6b.new/debian/rules
--- vtwm-5.4.6b/debian/rules    2005-07-22 11:14:38.000000000 -0500
+++ vtwm-5.4.6b.new/debian/rules        2005-07-21 14:31:54.000000000 -0500
@@ -46,6 +46,7 @@
        $(MAKE) DESTDIR=debian/vtwm install install.man
        rm debian/vtwm/etc/X11/vtwm/system.vtwmrc
        install -m 644 debian/system.vtwmrc-menu debian/vtwm/etc/X11/vtwm
+       install -m 644 debian/vtwm.desktop debian/vtwm/usr/share/xsessions
 
        sed -n '/^RUNTIME HINTS/,$$p' < doc/INSTALL > debian/README.Debian
 
diff -urN vtwm-5.4.6b/debian/vtwm.desktop vtwm-5.4.6b.new/debian/vtwm.desktop
--- vtwm-5.4.6b/debian/vtwm.desktop     1969-12-31 18:00:00.000000000 -0600
+++ vtwm-5.4.6b.new/debian/vtwm.desktop 2005-07-21 14:25:20.000000000 -0500
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=VTWM
+Comment=This session logs you into VTWM
+Exec=/usr/X11R6/bin/vtwm
+# no icon yet, only the top three are currently used
+Icon=
+Type=Application

Reply via email to