summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authorghen <ghen@pkgsrc.org>2008-05-16 09:06:03 +0000
committerghen <ghen@pkgsrc.org>2008-05-16 09:06:03 +0000
commite0f14f7755b499ce32a414cccdad402a3dde75f3 (patch)
treed6bbc79419172b6588416c5a6abce0a0faae7c76 /wm
parent577f0fd1e1e34b9810bae5d427007512a7366b26 (diff)
downloadpkgsrc-e0f14f7755b499ce32a414cccdad402a3dde75f3.tar.gz
Fix compatibility with dmenu 3.6; -b option is deprecated and replaced by -y
for arbitrary y coordinate (-y -0 for bottom). Bump PKGREVISION.
Diffstat (limited to 'wm')
-rw-r--r--wm/wmii/Makefile6
-rw-r--r--wm/wmii/distinfo3
-rw-r--r--wm/wmii/patches/patch-ad15
3 files changed, 20 insertions, 4 deletions
diff --git a/wm/wmii/Makefile b/wm/wmii/Makefile
index 8b3589699e7..745479f0fc9 100644
--- a/wm/wmii/Makefile
+++ b/wm/wmii/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.17 2008/01/08 12:38:43 ghen Exp $
+# $NetBSD: Makefile,v 1.18 2008/05/16 09:06:03 ghen Exp $
DISTNAME= wmii-3.6
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= wm
MASTER_SITES= http://www.suckless.org/download/
@@ -9,7 +9,7 @@ MAINTAINER= ghen@NetBSD.org
HOMEPAGE= http://wmii.suckless.org/
COMMENT= Modular and keyboard-friendly window manager
-DEPENDS+= dmenu>=3.4:../../x11/dmenu
+DEPENDS+= dmenu>=3.6:../../x11/dmenu
NO_CONFIGURE= yes
diff --git a/wm/wmii/distinfo b/wm/wmii/distinfo
index a1cb31f3f82..cad991be0df 100644
--- a/wm/wmii/distinfo
+++ b/wm/wmii/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2008/01/07 09:54:26 ghen Exp $
+$NetBSD: distinfo,v 1.8 2008/05/16 09:06:03 ghen Exp $
SHA1 (wmii-3.6.tar.gz) = 48e24f84f60b9c6ce37f715a46bc32e35d2086f3
RMD160 (wmii-3.6.tar.gz) = 29462b9ecc7d68e8e00e5f3eec82c2a46e268a52
@@ -6,3 +6,4 @@ Size (wmii-3.6.tar.gz) = 208249 bytes
SHA1 (patch-aa) = 71d5bb9d546e0cc562f463c03af458464fd4e782
SHA1 (patch-ab) = 64d8f1b79d2ebf307c3189d0e5bcfc53957e3fcf
SHA1 (patch-ac) = 8e4712bd308caeba9ca5dad023e32db8b27f3b31
+SHA1 (patch-ad) = 322479ddbf1d8dea91618e4cd4120f40f3744c75
diff --git a/wm/wmii/patches/patch-ad b/wm/wmii/patches/patch-ad
new file mode 100644
index 00000000000..97f6ef3b9ca
--- /dev/null
+++ b/wm/wmii/patches/patch-ad
@@ -0,0 +1,15 @@
+$NetBSD: patch-ad,v 1.1 2008/05/16 09:06:03 ghen Exp $
+
+Fix compatibily with dmenu 3.6 (-b for bottom replaced by -y for arbitrary y coordinate).
+
+--- rc/wmiirc.sh.orig 2007-11-16 14:59:15.000000000 +0100
++++ rc/wmiirc.sh
+@@ -16,7 +16,7 @@ WMII_BACKGROUND='#333333'
+ WMII_FONT='-*-fixed-medium-r-*-*-13-*-*-*-*-*-*-*'
+
+ set -- $(echo $WMII_NORMCOLORS $WMII_FOCUSCOLORS)
+-WMII_MENU="dmenu -b -fn '$WMII_FONT' -nf '$1' -nb '$2' -sf '$4' -sb '$5'"
++WMII_MENU="dmenu -y -0 -fn '$WMII_FONT' -nf '$1' -nb '$2' -sf '$4' -sb '$5'"
+ WMII_9MENU="wmii9menu -font '$WMII_FONT' -nf '$1' -nb '$2' -sf '$4' -sb '$5' -br '$6'"
+ WMII_TERM="xterm"
+