summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorR. Imura <imura@FreeBSD.org>1999-11-26 20:42:06 +0000
committerR. Imura <imura@FreeBSD.org>1999-11-26 20:42:06 +0000
commit5141371f64f6af1eb9342cee00dbfb69af75e0de (patch)
treedd02e3be853b079cac942f1b1e44035ccca76e39 /x11-wm
parentInitial import of diffstat version 1.27. (diff)
Initial import of xwmm-0.7.
It is a Window Manager Manager. :-)
Notes
Notes: svn path=/head/; revision=23407
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/xwmm/Makefile29
-rw-r--r--x11-wm/xwmm/distinfo1
-rw-r--r--x11-wm/xwmm/files/patch-aa33
-rw-r--r--x11-wm/xwmm/files/patch-ab20
-rw-r--r--x11-wm/xwmm/pkg-comment1
-rw-r--r--x11-wm/xwmm/pkg-descr10
-rw-r--r--x11-wm/xwmm/pkg-plist4
7 files changed, 98 insertions, 0 deletions
diff --git a/x11-wm/xwmm/Makefile b/x11-wm/xwmm/Makefile
new file mode 100644
index 000000000000..a2514ffd8bb6
--- /dev/null
+++ b/x11-wm/xwmm/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: xwmm
+# Version required: 0.7
+# Date created: 26 Nov 1999
+# Whom: imura@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+DISTNAME= xwmm-0.7
+CATEGORIES= x11-wm
+MASTER_SITES= http://www.softarc.com/~msharkey/wmm/
+
+MAINTAINER= imura@FreeBSD.org
+
+FETCH_BEFORE_ARGS= -b
+
+USE_X_PREFIX= yes
+USE_QT2= yes
+USE_GMAKE= yes
+MAKE_ENV= QTDIR=$(X11BASE)
+ALL_TARGET= # empty
+
+do-install:
+ $(INSTALL_PROGRAM) $(WRKSRC)/xwmm $(PREFIX)/bin
+ $(INSTALL_SCRIPT) $(WRKSRC)/startkde.fixed $(PREFIX)/bin
+ $(MKDIR) $(PREFIX)/lib/X11/xwmm
+ $(INSTALL_DATA) $(WRKSRC)/system.xwmmrc $(PREFIX)/lib/X11/xwmm
+
+.include <bsd.port.mk>
diff --git a/x11-wm/xwmm/distinfo b/x11-wm/xwmm/distinfo
new file mode 100644
index 000000000000..bdc994ce82f2
--- /dev/null
+++ b/x11-wm/xwmm/distinfo
@@ -0,0 +1 @@
+MD5 (xwmm-0.7.tar.gz) = 9f90d03aa202661eed4fbfdcd3ec2de7
diff --git a/x11-wm/xwmm/files/patch-aa b/x11-wm/xwmm/files/patch-aa
new file mode 100644
index 000000000000..2050b06da107
--- /dev/null
+++ b/x11-wm/xwmm/files/patch-aa
@@ -0,0 +1,33 @@
+--- Makefile.orig Sat Aug 28 03:10:27 1999
++++ Makefile Sat Nov 27 03:19:24 1999
+@@ -2,24 +2,24 @@
+
+ TARGET=xwmm
+
+-INSTALLDIR=/usr/local
++INSTALLDIR=$(PREFIX)
+
+-INCDIR = -I./ -I/usr/include -I$(QTDIR)/include -I/usr/include/qt -I/usr/local/include/qt
++INCDIR = -I./ -I/usr/include -I$(QTDIR)/include -I$(QTDIR)/include/qt2
+
+ #CFLAGS = -O2 -fno-strength-reduce -W -Wtemplate-debugging -Wparentheses \
+ # -Wuninitialized -Wchar-subscripts -Wformat -Wtrigraphs -Wcomment \
+ # -Wswitch -Wunused -Wreturn-type -Wimplicit -Wpointer-arith -Wsynth \
+ # -Wconversion -Wno-overloaded-virtual
+-CFLAGS = -ggdb -Wall -W -pipe
++#CFLAGS = -ggdb -Wall -W -pipe
+ #CFLAGS = -O2 -Wall -W -pipe
+
+-LFLAGS = -g -L/lib -L$(QTDIR)/lib -lqt -lm
++LFLAGS = -g -L/lib -L$(QTDIR)/lib -lqt2 -lm -lxpg4
+ ARFLAGS = -crs
+-CC = g++
++CC = $(CXX)
+ AR = ar
+ FLEX = flex
+ MAKE = gmake
+-MOC = moc
++MOC = $(QTDIR)/bin/moc2
+
+ ####### Implicit rules
+
diff --git a/x11-wm/xwmm/files/patch-ab b/x11-wm/xwmm/files/patch-ab
new file mode 100644
index 000000000000..3968050db0cd
--- /dev/null
+++ b/x11-wm/xwmm/files/patch-ab
@@ -0,0 +1,20 @@
+--- WMMListBox.cpp.orig Fri Nov 26 20:58:19 1999
++++ WMMListBox.cpp Fri Nov 26 21:03:11 1999
+@@ -356,7 +356,7 @@
+ // interactive: create a new entry
+ entryForm form;
+ if ( form.exec() == QDialog::Accepted ) {
+- char *pTitle = form.getTitleText();
++ const char *pTitle = form.getTitleText();
+ QString *commandLine = new QString( form.getCommandLineText() );
+ bool isDefault = form.getDefault();
+ //debug("newEntry(%s%s : %s)", isDefault?"*":"", pTitle, commandLine->data() );
+@@ -401,7 +401,7 @@
+ form.setCommandLineText( commandLines.at( index )->data() );
+ form.setDefault( (defaultIndex==index)?TRUE:FALSE );
+ if ( form.exec() == QDialog::Accepted ) {
+- char *pTitle = form.getTitleText();
++ const char *pTitle = form.getTitleText();
+ QString *commandLine = new QString( form.getCommandLineText() );
+ bool isDefault = form.getDefault();
+ //debug("reviseEntry(%s%s : %s)", isDefault?"*":"", pTitle, commandLine->data() );
diff --git a/x11-wm/xwmm/pkg-comment b/x11-wm/xwmm/pkg-comment
new file mode 100644
index 000000000000..805f49d037b5
--- /dev/null
+++ b/x11-wm/xwmm/pkg-comment
@@ -0,0 +1 @@
+A simple utility managing multiple Window Managers with Qt
diff --git a/x11-wm/xwmm/pkg-descr b/x11-wm/xwmm/pkg-descr
new file mode 100644
index 000000000000..c87c72263406
--- /dev/null
+++ b/x11-wm/xwmm/pkg-descr
@@ -0,0 +1,10 @@
+It is a neat little utility if you like to run multiple window managers
+easily. It starts up in place of your window manager, and lets you chose
+one. Once a WM is launched, it hides itself until that WM terminates,
+then it shows itself again and lets you choose another WM, and so on,
+until you press the Close button.
+
+If you have K-Desktop Envirenment, it is recommended to use "startkde.fixed"
+script rather than "startkde" to start KDE.
+
+WWW: http://www.softarc.com/~msharkey/wmm/
diff --git a/x11-wm/xwmm/pkg-plist b/x11-wm/xwmm/pkg-plist
new file mode 100644
index 000000000000..33db805a4077
--- /dev/null
+++ b/x11-wm/xwmm/pkg-plist
@@ -0,0 +1,4 @@
+bin/xwmm
+bin/startkde.fixed
+lib/X11/xwmm/system.xwmmrc
+@dirrm lib/X11/xwmm