summaryrefslogtreecommitdiff
path: root/wm/wmx
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-12-12 02:03:46 +0000
committerwiz <wiz@pkgsrc.org>2000-12-12 02:03:46 +0000
commitb48aa2febfd565b99592854d7cbeaa9c59ec76e9 (patch)
tree0386b8c653f44899ccf3b63ba89ad7c5638f4887 /wm/wmx
parenta32b3a56553677e14a448f1a16a11a4a984b3574 (diff)
downloadpkgsrc-b48aa2febfd565b99592854d7cbeaa9c59ec76e9.tar.gz
Add new category wm for window managers, and move lots of package from
x11 here. Only changes are: `wm' in category added and some paths fixed.
Diffstat (limited to 'wm/wmx')
-rw-r--r--wm/wmx/Makefile31
-rw-r--r--wm/wmx/files/md53
-rw-r--r--wm/wmx/files/patch-sum4
-rw-r--r--wm/wmx/patches/patch-aa19
-rw-r--r--wm/wmx/patches/patch-ab40
-rw-r--r--wm/wmx/pkg/COMMENT1
-rw-r--r--wm/wmx/pkg/DESCR10
-rw-r--r--wm/wmx/pkg/PLIST7
8 files changed, 115 insertions, 0 deletions
diff --git a/wm/wmx/Makefile b/wm/wmx/Makefile
new file mode 100644
index 00000000000..f3299a9ce05
--- /dev/null
+++ b/wm/wmx/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/12 02:03:49 wiz Exp $
+
+DISTNAME= wmx-5
+PKGNAME= wmx-5.0
+CATEGORIES= x11 wm
+MASTER_SITES= http://www.all-day-breakfast.com/wmx/
+
+MAINTAINER= kuebart@mathematik.uni-ulm.de
+HOMEPAGE= http://www.all-day-breakfast.com/wmx/
+
+USE_X11BASE= YES
+USE_XPM= YES
+EVAL_PREFIX= XPMDIR=xpm
+
+MAKE_ENV+= XPMDIR=${XPMDIR}
+
+do-configure:
+ cd ${WRKSRC}; \
+ ${MV} Config.h Config.h.dist; \
+ ${SED} '/SYSTEM_COMMAND_MENU/s|/usr/local/lib/wmx/menu|${PREFIX}/etc/wmx|' \
+ < Config.h.dist > Config.h; \
+ ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} depend
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/wmx ${PREFIX}/bin
+ ${MKDIR} ${PREFIX}/share/doc/wmx
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/wmx
+ ${INSTALL_DATA} ${WRKSRC}/README.contrib ${PREFIX}/share/doc/wmx
+ ${MKDIR} ${PREFIX}/etc/wmx
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/wm/wmx/files/md5 b/wm/wmx/files/md5
new file mode 100644
index 00000000000..64c70a9bd9a
--- /dev/null
+++ b/wm/wmx/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/12 02:03:49 wiz Exp $
+
+MD5 (wmx-5.tar.gz) = 1b8f1c4f527952c1ac84d72174363b3f
diff --git a/wm/wmx/files/patch-sum b/wm/wmx/files/patch-sum
new file mode 100644
index 00000000000..43318e73b35
--- /dev/null
+++ b/wm/wmx/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/12 02:03:49 wiz Exp $
+
+MD5 (patch-aa) = 8316a7a06e93596d8ddef91333b6e66e
+MD5 (patch-ab) = 4f297fda9031ff4996d7448593e8b69c
diff --git a/wm/wmx/patches/patch-aa b/wm/wmx/patches/patch-aa
new file mode 100644
index 00000000000..33aac4a275f
--- /dev/null
+++ b/wm/wmx/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/12 02:03:49 wiz Exp $
+
+--- Makefile.orig Wed Jan 13 05:28:43 1999
++++ Makefile Sat Jul 22 02:41:55 2000
+@@ -5,12 +5,12 @@
+ # If you're not using background pixmaps, remove -lXpm from the LIBS.
+ # If your X libraries are somewhere other than /usr/X11/lib, give their
+ # location here.
+-LIBS = -L/usr/X11/lib -lXpm -lXext -lX11 -lXmu -lSM -lICE -lm
++LIBS = ${LDFLAGS} -lXpm -lXext -lX11 -lXmu -lSM -lICE -lm
+
+ # If your X includes are not in /usr/include/X11, add their location
+ # as a -I option here (excluding the X11 bit). If you're using I18N
+ # and Xlocale, please add -DX_LOCALE.
+-CFLAGS = -g -O2 -I/usr/include -I/usr/openwin/include
++CFLAGS = -g -O2 -I${X11BASE}/include -I${XPMDIR}/include
+
+ OBJECTS = Border.o Buttons.o Channel.o Client.o Config.o Events.o Main.o Manager.o Menu.o Rotated.o Session.o
+
diff --git a/wm/wmx/patches/patch-ab b/wm/wmx/patches/patch-ab
new file mode 100644
index 00000000000..d2bba637d71
--- /dev/null
+++ b/wm/wmx/patches/patch-ab
@@ -0,0 +1,40 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/12/12 02:03:49 wiz Exp $
+
+This patch was culled from the wmx mailing list,
+
+http://ml.42.org/wmx/msg00200.html
+
+
+--- Border.C.orig Wed Jan 13 04:28:43 1999
++++ Border.C Fri Sep 1 12:53:46 2000
+@@ -23,8 +23,6 @@
+ unsigned long Border::m_borderPixel;
+ Pixmap Border::m_backgroundPixmap = None;
+
+-static int borderCounter = 0;
+-
+
+ class BorderRectangle // must resemble XRectangle in storage
+ {
+@@ -70,7 +68,6 @@
+ {
+ m_parent = root();
+ if (m_tabFont == 0) initialiseStatics(c->windowManager());
+- ++borderCounter;
+
+ //#if CONFIG_MAD_FEEDBACK != 0
+ m_feedback = 0;
+@@ -94,13 +91,6 @@
+ }
+
+ if (m_label) free(m_label);
+-
+- if (--borderCounter == 0) {
+- XFreeGC(display(), m_drawGC);
+- if (m_backgroundPixmap != None) {
+- XFreePixmap(display(), m_backgroundPixmap);
+- }
+- }
+ }
+
+
diff --git a/wm/wmx/pkg/COMMENT b/wm/wmx/pkg/COMMENT
new file mode 100644
index 00000000000..ca851528eed
--- /dev/null
+++ b/wm/wmx/pkg/COMMENT
@@ -0,0 +1 @@
+another X11 window manager based on wm2
diff --git a/wm/wmx/pkg/DESCR b/wm/wmx/pkg/DESCR
new file mode 100644
index 00000000000..e653ceca574
--- /dev/null
+++ b/wm/wmx/pkg/DESCR
@@ -0,0 +1,10 @@
+
+wmx -- another window manager
+=============================
+
+wmx is another window manager for X. It is based on wm2 and provides
+a similarly unusual style of window decoration; but in place of wm2's
+minimal functionality, it offers many of the features of more
+conventional managers in the most simplistic implementations
+imaginable. wmx is, however, still barely configurable except by
+editing the source and recompiling the code.
diff --git a/wm/wmx/pkg/PLIST b/wm/wmx/pkg/PLIST
new file mode 100644
index 00000000000..a131576db9a
--- /dev/null
+++ b/wm/wmx/pkg/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/12 02:03:49 wiz Exp $
+bin/wmx
+share/doc/wmx/README
+share/doc/wmx/README.contrib
+@exec mkdir -p %D/etc/wmx
+@unexec (rmdir %D/etc/wmx && echo "Removed empty directory %D/etc/wmx") || true
+@dirrm share/doc/wmx