pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/wm/selectwm Initial import of selectwm-0.4.1 into the ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/04915f2863df
branches:  trunk
changeset: 492553:04915f2863df
user:      agc <agc%pkgsrc.org@localhost>
date:      Fri Apr 15 12:42:40 2005 +0000

description:
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

diffstat:

 wm/selectwm/DESCR            |  17 +++++++++++++++++
 wm/selectwm/Makefile         |  17 +++++++++++++++++
 wm/selectwm/PLIST            |   4 ++++
 wm/selectwm/distinfo         |   7 +++++++
 wm/selectwm/patches/patch-aa |  19 +++++++++++++++++++
 wm/selectwm/patches/patch-ab |  13 +++++++++++++
 6 files changed, 77 insertions(+), 0 deletions(-)

diffs (101 lines):

diff -r 0f88ec1a79f4 -r 04915f2863df wm/selectwm/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/selectwm/DESCR Fri Apr 15 12:42:40 2005 +0000
@@ -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 -r 0f88ec1a79f4 -r 04915f2863df wm/selectwm/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/selectwm/Makefile      Fri Apr 15 12:42:40 2005 +0000
@@ -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@localhost
+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 -r 0f88ec1a79f4 -r 04915f2863df wm/selectwm/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/selectwm/PLIST Fri Apr 15 12:42:40 2005 +0000
@@ -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 -r 0f88ec1a79f4 -r 04915f2863df wm/selectwm/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/selectwm/distinfo      Fri Apr 15 12:42:40 2005 +0000
@@ -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 -r 0f88ec1a79f4 -r 04915f2863df wm/selectwm/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/selectwm/patches/patch-aa      Fri Apr 15 12:42:40 2005 +0000
@@ -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 -r 0f88ec1a79f4 -r 04915f2863df wm/selectwm/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/selectwm/patches/patch-ab      Fri Apr 15 12:42:40 2005 +0000
@@ -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@



Home | Main Index | Thread Index | Old Index