--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: wmii: patch - add 9base support
- From: alessandro -oggei- ogier <alessandro.ogier@scimmia.net>
- Date: Mon, 04 Jan 2010 22:53:43 +0100
- Message-id: <20100104215343.31143.19513.reportbug@rtfm.oggei>
Package: wmii
Version: 3.6+debian-7
Severity: normal
Tags: patch
Hi, i would like to submit a patch that rend wmii usable with 9base
currently in debian.
Two files should be fixed:
* config.mk doesn't include debian 9base path. This makes
/usr/bin/wmii9rc to fail at line 12.
I'm attaching what i think is the most sensible solution.
* plan9's rc invocation in wmii9rc is wrong, apparently rc need an
absolute path for working properly so i stolen from
/usr/bin/wmiistartrc the "which trick" ;)
HTH, thank you
--
:(){ :|:& };:
Alessandro -oggei- Ogier
gpg --keyserver pgp.mit.edu --recv-keys EEBB4D0D
-- System Information:
Debian Release: squeeze/sid
APT prefers oldstable
APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-2-686 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages wmii depends on:
ii dwm-tools 31-1 dynamic window manager (tools)
ii libc6 2.10.2-3 Embedded GNU C Library: Shared lib
ii libx11-6 2:1.3.2-1 X11 client-side library
ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar
Versions of packages wmii recommends:
ii wmii-doc 1:1-11 lightweight tabbed and tiled X11 w
wmii suggests no packages.
-- no debconf information
Index: wmii-3.6+debian/cmd/wmii9rc.sh
===================================================================
--- wmii-3.6+debian.orig/cmd/wmii9rc.sh 2010-01-04 22:40:00.121377695 +0100
+++ wmii-3.6+debian/cmd/wmii9rc.sh 2010-01-04 22:40:18.469352991 +0100
@@ -14,7 +14,9 @@
fi
if [ -n "$1" ]; then
- exec "$RC" "$@"
+ WMII_CONFPATH="$HOME/.wmii-3.5:/etc/X11/wmii-3.5"
+ WMIIRC=`PATH="$WMII_CONFPATH:$PATH" which rc.wmii`
+ exec "$RC" "$WMIIRC"
else
true
fi
Index: wmii-3.6+debian/config.mk
===================================================================
--- wmii-3.6+debian.orig/config.mk 2010-01-04 22:39:14.709379653 +0100
+++ wmii-3.6+debian/config.mk 2010-01-04 22:39:48.034659494 +0100
@@ -27,7 +27,7 @@
AR = ar crs
AWKPATH = $$(which awk)
-P9PATHS = ${PLAN9}:"'$${HOME}/plan9'":/usr/local/plan9:/usr/local/9:/opt/plan9:/opt/9:/usr/plan9:/usr/9
+P9PATHS = ${PLAN9}:"'$${HOME}/plan9'":/usr/local/lib/plan9:/usr/lib/plan9
INCX11 = -I/usr/X11R6/include
LIBX11 = -L/usr/X11R6/lib -lX11
--- End Message ---