Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 1998 18:19:12 +0100 (CET)
From:      Stefan `Sec` Zehl <sec@42.org>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/5566: New port: wmx-4 (category x11)
Message-ID:  <199801251719.SAA27808@matrix.42.org>

next in thread | raw e-mail | index | archive | help

>Number:         5566
>Category:       ports
>Synopsis:       New port: wmx-4 (category x11)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 25 09:20:00 PST 1998
>Last-Modified:
>Originator:     Stefan `Sec` Zehl
>Organization:
>Release:        FreeBSD 2.2.5-STABLE i386
>Environment:

	

>Description:

This a new port for wmx-4, another nice windowmanager (similar to wm2)
As my previous (wmx-3)-port is not submitted yet, i think it's better to
submit it as whole again.

As someone else suggested, I attach it as "shar" this time. Hope that's
right.

>How-To-Repeat:

	

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	wmx
#	wmx/files
#	wmx/files/md5
#	wmx/patches
#	wmx/patches/patch-aa
#	wmx/patches/patch-ab
#	wmx/patches/patch-ac
#	wmx/patches/patch-ad
#	wmx/pkg
#	wmx/pkg/COMMENT
#	wmx/pkg/DESCR
#	wmx/pkg/PLIST
#	wmx/scripts
#	wmx/scripts/configure
#	wmx/Makefile
#
echo c - wmx
mkdir -p wmx > /dev/null 2>&1
echo c - wmx/files
mkdir -p wmx/files > /dev/null 2>&1
echo x - wmx/files/md5
sed 's/^X//' >wmx/files/md5 << 'END-of-wmx/files/md5'
XMD5 (wmx-4.tar.gz) = 83bb0464f25b941b8077a7c87cee5ef2
END-of-wmx/files/md5
echo c - wmx/patches
mkdir -p wmx/patches > /dev/null 2>&1
echo x - wmx/patches/patch-aa
sed 's/^X//' >wmx/patches/patch-aa << 'END-of-wmx/patches/patch-aa'
X--- Makefile.orig	Sat Nov  8 16:29:44 1997
X+++ Makefile	Sun Jan 11 01:24:47 1998
X@@ -1,10 +1,10 @@
X 
X # if you're not using background pixmaps, remove -lXpm from the next line
X-LIBS	=  -L/usr/X11/lib -lXpm -lXext -lX11 -lXmu -lm
X+LIBS	=  -L/usr/X11R6/lib -lXpm -lXext -lX11 -lXmu -lm
X 
X CC	= gcc
X CCC	= gcc
X-CFLAGS	= -g -O2
X+CFLAGS	+= -I/usr/X11R6/include
X OBJECTS	= Border.o Buttons.o Channel.o Client.o Events.o Main.o Manager.o Menu.o Rotated.o
X 
X .c.o:
X@@ -14,7 +14,7 @@
X 	$(CCC) -c $(CFLAGS) $<
X 
X wmx:	$(OBJECTS)
X-	mv -f wmx wmx.old >& /dev/null || true
X+	-mv -f wmx wmx.old 2>/dev/null
X 	$(CCC) -o wmx $(OBJECTS) $(LIBS)
X 
X depend:
END-of-wmx/patches/patch-aa
echo x - wmx/patches/patch-ab
sed 's/^X//' >wmx/patches/patch-ab << 'END-of-wmx/patches/patch-ab'
X--- General.h.orig	Sun Jan 11 01:39:15 1998
X+++ General.h	Sun Jan 11 01:39:17 1998
X@@ -20,7 +20,6 @@
X #include <X11/X.h>
X #include <X11/Xlib.h>
X #include <X11/Xos.h>
X-#include <X11/Xlib.h>
X #include <X11/Xutil.h>
X #include <X11/Xatom.h>
X 
END-of-wmx/patches/patch-ab
echo x - wmx/patches/patch-ac
sed 's/^X//' >wmx/patches/patch-ac << 'END-of-wmx/patches/patch-ac'
X--- Manager.C.orig	Fri Nov  7 14:06:20 1997
X+++ Manager.C	Sun Jan 11 01:58:23 1998
X@@ -1,4 +1,5 @@
X 
X+#include <stdlib.h>
X #include "Manager.h"
X #include "Menu.h"
X #include "Client.h"
END-of-wmx/patches/patch-ac
echo x - wmx/patches/patch-ad
sed 's/^X//' >wmx/patches/patch-ad << 'END-of-wmx/patches/patch-ad'
X--- Config.h.orig	Sun Jan 25 18:00:32 1998
X+++ Config.h	Sun Jan 25 18:00:53 1998
X@@ -166,7 +166,7 @@
X // will be too.  The latter screws up in palette-based visuals, but
X // should be okay in true-colour.
X 
X-#define CONFIG_USE_PIXMAPS        False
X+#define CONFIG_USE_PIXMAPS        True
X #define CONFIG_USE_PIXMAP_MENUS   False
X 
X // Set CHANNEL_SURF for multi-channel switching; CHANNEL_CLICK_SIZE is
END-of-wmx/patches/patch-ad
echo c - wmx/pkg
mkdir -p wmx/pkg > /dev/null 2>&1
echo x - wmx/pkg/COMMENT
sed 's/^X//' >wmx/pkg/COMMENT << 'END-of-wmx/pkg/COMMENT'
XExtended version of wm2 - A simple window manager for X
END-of-wmx/pkg/COMMENT
echo x - wmx/pkg/DESCR
sed 's/^X//' >wmx/pkg/DESCR << 'END-of-wmx/pkg/DESCR'
Xwmx -- another window manager
X=============================
X
Xwmx is another window manager for X.  It is based on wm2 and provides
Xa similarly unusual style of window decoration; but in place of wm2's
Xminimal functionality, it offers many of the features of more
Xconventional managers in the most simplistic implementations
Ximaginable.  wmx is, however, still not configurable except by editing
Xthe source and recompiling the code.
END-of-wmx/pkg/DESCR
echo x - wmx/pkg/PLIST
sed 's/^X//' >wmx/pkg/PLIST << 'END-of-wmx/pkg/PLIST'
Xbin/wmx
END-of-wmx/pkg/PLIST
echo c - wmx/scripts
mkdir -p wmx/scripts > /dev/null 2>&1
echo x - wmx/scripts/configure
sed 's/^X//' >wmx/scripts/configure << 'END-of-wmx/scripts/configure'
X#!/bin/sh
X
X/usr/bin/perl -pi -e 's|/usr/X11R6|'$X11BASE'|g' $WRKSRC/Makefile
END-of-wmx/scripts/configure
echo x - wmx/Makefile
sed 's/^X//' >wmx/Makefile << 'END-of-wmx/Makefile'
X# New ports collection makefile for:	wmx
X# Version required:	3.0
X# Date created:		11. Jan 1998
X# Whom:			Stefan Zehl <sec@42.org>
X#
X# $Id$
X#
X
XDISTNAME=	wmx-4
XPKGNAME=        wmx-4.0
XCATEGORIES=	x11
XMASTER_SITES=   http://www.netcomuk.co.uk/~cannam/
X
XMAINTAINER=	sec@42.org
X
XUSE_X11=	yes
X#WRKSRC=		${WRKDIR}/wmx
XALL_TARGET=	depend wmx
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/wmx ${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-wmx/Makefile
exit

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801251719.SAA27808>