diff options
author | agc <agc> | 2005-04-15 12:42:40 +0000 |
---|---|---|
committer | agc <agc> | 2005-04-15 12:42:40 +0000 |
commit | 664755a7bf2386a9ccef90ba47c7eee8dc7f163e (patch) | |
tree | 83dd99bbdd1fe77c0d26d6f0664be52d42b2c61c | |
parent | 51ade71688d3e8941cc0d65431aa3fbf9eed5a19 (diff) | |
download | pkgsrc-664755a7bf2386a9ccef90ba47c7eee8dc7f163e.tar.gz |
Initial import of selectwm-0.4.1 into the Packages Collection.
Provided in PR 29965 by Antoine Reilles, modified slighlty by myself to
look in pkgsrc and X11R6 directories when looking for window managers.
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
-rw-r--r-- | wm/selectwm/DESCR | 17 | ||||
-rw-r--r-- | wm/selectwm/Makefile | 17 | ||||
-rw-r--r-- | wm/selectwm/PLIST | 4 | ||||
-rw-r--r-- | wm/selectwm/distinfo | 7 | ||||
-rw-r--r-- | wm/selectwm/patches/patch-aa | 19 | ||||
-rw-r--r-- | wm/selectwm/patches/patch-ab | 13 |
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@ |