summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
Diffstat (limited to 'wm')
-rw-r--r--wm/selectwm/DESCR17
-rw-r--r--wm/selectwm/Makefile17
-rw-r--r--wm/selectwm/PLIST4
-rw-r--r--wm/selectwm/distinfo7
-rw-r--r--wm/selectwm/patches/patch-aa19
-rw-r--r--wm/selectwm/patches/patch-ab13
6 files changed, 77 insertions, 0 deletions
diff --git a/wm/selectwm/DESCR b/wm/selectwm/DESCR
new file mode 100644
index 00000000000..ba75c36f1e7
--- /dev/null
+++ b/wm/selectwm/DESCR
@@ -0,0 +1,17 @@
+selectwm is a small application (using GTK+) which lets you select your
+window manager. It looks for a file named .selectwmrc in the user's
+directory which contains a list of window managers.
+
+When you start X it should show a list which lets you choose your
+window manager (by double clicking on it with the mouse or with the
+arrow keys and the return or space key)
+
+To use selectwm, replace the call to your window manager in your
+.xinitrc or .xsession configuration file by a call to selectwm, e.g.:
+
+ ...
+ # set a solid black background
+ xsetroot -solid black
+
+ # start selectwm
+ selectwm
diff --git a/wm/selectwm/Makefile b/wm/selectwm/Makefile
new file mode 100644
index 00000000000..9017ab1f6ae
--- /dev/null
+++ b/wm/selectwm/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/04/15 12:42:40 agc Exp $
+#
+
+DISTNAME= selectwm-0.4.1
+CATEGORIES= wm
+MASTER_SITES= http://ordiluc.net/selectwm/
+
+MAINTAINER= reilles@loria.fr
+HOMEPAGE= http://ordiluc.net/selectwm/
+COMMENT= Simple GTK2 application to select window manager
+
+USE_PKGLOCALEDIR= yes
+GNU_CONFIGURE= yes
+
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../devel/pkgconfig/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/wm/selectwm/PLIST b/wm/selectwm/PLIST
new file mode 100644
index 00000000000..7251d7a0408
--- /dev/null
+++ b/wm/selectwm/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/04/15 12:42:40 agc Exp $
+bin/selectwm
+man/man1/selectwm.1
+${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/selectwm.mo
diff --git a/wm/selectwm/distinfo b/wm/selectwm/distinfo
new file mode 100644
index 00000000000..195ce80f442
--- /dev/null
+++ b/wm/selectwm/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/04/15 12:42:40 agc Exp $
+
+SHA1 (selectwm-0.4.1.tar.gz) = a4688afb9a286dae4794f297b97891008afcdeab
+RMD160 (selectwm-0.4.1.tar.gz) = d16a8497f39b12e8578b0d28f64cc8f7b1031958
+Size (selectwm-0.4.1.tar.gz) = 209754 bytes
+SHA1 (patch-aa) = 2e3806e5c408bbc6891acc42399d24abc3a01f8b
+SHA1 (patch-ab) = 454186d904324d1834e40609933a6fd0c9e03d62
diff --git a/wm/selectwm/patches/patch-aa b/wm/selectwm/patches/patch-aa
new file mode 100644
index 00000000000..db470adf8c7
--- /dev/null
+++ b/wm/selectwm/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/04/15 12:42:40 agc Exp $
+
+Look in pkgsrc and X11R6 directories for window managers
+
+--- src/searchwm.c 2005/04/15 11:14:28 1.1
++++ src/searchwm.c 2005/04/15 11:15:59
+@@ -58,6 +58,12 @@
+ };
+
+ static gchar * path [] = {
++#ifdef LOCALBASE
++ LOCALBASE "/bin/",
++#endif
++#ifdef X11BASE
++ X11BASE "/bin/",
++#endif
+ "/usr/local/bin/",
+ "/usr/bin/X11/",
+ "/usr/bin/",
diff --git a/wm/selectwm/patches/patch-ab b/wm/selectwm/patches/patch-ab
new file mode 100644
index 00000000000..dd9b21ec83a
--- /dev/null
+++ b/wm/selectwm/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/04/15 12:42:40 agc Exp $
+
+--- src/Makefile.in 2005/04/15 11:18:17 1.1
++++ src/Makefile.in 2005/04/15 11:20:21
+@@ -51,7 +51,7 @@
+ CCDEPMODE = @CCDEPMODE@
+ CFLAGS = @CFLAGS@
+ CPP = @CPP@
+-CPPFLAGS = @CPPFLAGS@
++CPPFLAGS = @CPPFLAGS@ -DLOCALBASE="\"${LOCALBASE}"\" -DX11BASE="\"${X11BASE}"\"
+ CYGPATH_W = @CYGPATH_W@
+ DATADIRNAME = @DATADIRNAME@
+ DEFS = @DEFS@