diff options
author | vanilla <vanilla@FreeBSD.org> | 2015-04-28 11:50:28 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2015-04-28 11:50:28 +0800 |
commit | 46ef93a9b613971aad070b1673b6c1d01708bc0a (patch) | |
tree | 8f15c1bfd79852db6e024f14b957261ea6418e41 /x11-wm | |
parent | 952d71696a89c0c8dcc4996bdeca5ced9d51b6a7 (diff) | |
download | freebsd-ports-gnome-46ef93a9b613971aad070b1673b6c1d01708bc0a.tar.gz freebsd-ports-gnome-46ef93a9b613971aad070b1673b6c1d01708bc0a.tar.zst freebsd-ports-gnome-46ef93a9b613971aad070b1673b6c1d01708bc0a.zip |
Add euclid-wm 0.4.3, minimalist, tiling window manager for X11.
PR: 199713
Submitted by: anastmag@gmail.com
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/Makefile | 1 | ||||
-rw-r--r-- | x11-wm/euclid-wm/Makefile | 35 | ||||
-rw-r--r-- | x11-wm/euclid-wm/distinfo | 2 | ||||
-rw-r--r-- | x11-wm/euclid-wm/files/patch-Makefile | 57 | ||||
-rw-r--r-- | x11-wm/euclid-wm/files/patch-euclid-wm.c | 14 | ||||
-rw-r--r-- | x11-wm/euclid-wm/pkg-descr | 9 |
6 files changed, 118 insertions, 0 deletions
diff --git a/x11-wm/Makefile b/x11-wm/Makefile index c83bccb18840..42d4e02c0535 100644 --- a/x11-wm/Makefile +++ b/x11-wm/Makefile @@ -52,6 +52,7 @@ SUBDIR += emerald SUBDIR += enlightenment SUBDIR += epplets + SUBDIR += euclid-wm SUBDIR += evilwm SUBDIR += fbcmd SUBDIR += fluxbox diff --git a/x11-wm/euclid-wm/Makefile b/x11-wm/euclid-wm/Makefile new file mode 100644 index 000000000000..17115941bcf5 --- /dev/null +++ b/x11-wm/euclid-wm/Makefile @@ -0,0 +1,35 @@ +# $FreeBSD$ + +PORTNAME= euclid-wm +PORTVERSION= 0.4.3 +CATEGORIES= x11-wm +#MASTER_SITES= http://euclid-wm.googlecode.com/files/ +MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} + +MAINTAINER= anastmag@gmail.com +COMMENT= Minimalist, tiling window manager for X11 + +LICENSE= BSD3CLAUSE + +OPTIONS_DEFINE= XINERAMA +XINERAMA_DESC= X11 Xinerama extention support +OPTIONS_DEFAULT=XINERAMA + +XINERAMA_ALL_TARGET= euclid-wm +XINERAMA_USE= XORG=xinerama + +USES= gmake +USE_XORG= x11 + +PLIST_FILES= bin/euclid-wm \ + bin/start-euclid \ + man/man1/euclid-wm.1.gz \ + share/euclid-wm/euclid-wm.conf \ + share/euclid-wm/euclidrc \ + share/euclid-wm/VERSION \ + share/xsessions/euclid.desktop + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/euclid-wm + +.include <bsd.port.mk> diff --git a/x11-wm/euclid-wm/distinfo b/x11-wm/euclid-wm/distinfo new file mode 100644 index 000000000000..b0f812d4a97a --- /dev/null +++ b/x11-wm/euclid-wm/distinfo @@ -0,0 +1,2 @@ +SHA256 (euclid-wm-0.4.3.tar.gz) = 7498215584aabe3e035adc42fb3daa5b85d53e5a61836523eb670a1a724158db +SIZE (euclid-wm-0.4.3.tar.gz) = 23871 diff --git a/x11-wm/euclid-wm/files/patch-Makefile b/x11-wm/euclid-wm/files/patch-Makefile new file mode 100644 index 000000000000..45e080e9d161 --- /dev/null +++ b/x11-wm/euclid-wm/files/patch-Makefile @@ -0,0 +1,57 @@ +--- Makefile.orig 2013-12-16 15:18:31 UTC ++++ Makefile +@@ -1,6 +1,6 @@ +-PREFIX = usr ++PREFIX = usr/local + SHAREDIR = ${PREFIX}/share +-MANDIR = ${SHAREDIR}/man ++MANDIR = ${PREFIX}/man + BINDIR = ${PREFIX}/bin + SVNREV = 222 + VER = 0.4.2 +@@ -13,12 +13,12 @@ endif + CONFDIR = ${XDG_CONFIG_HOME}/euclid-wm + + CC = cc -pedantic -Wall +-CFLAGS = -O2 -g -std=c99 ++CFLAGS = -O2 -g -std=c99 -I/usr/local/include -L/usr/local/lib + LDFLAGS = -lX11 -lXinerama + + .PHONY: all install install_conf clean uninstall dist dist_clean + +-all: euclid-wm ++all: noxinerama + + euclid-wm: euclid-wm.c + ${CC} $< ${LDFLAGS} ${CFLAGS} -o $@ +@@ -28,14 +28,23 @@ noxinerama: euclid-wm.c + cp noxinerama euclid-wm + + install: all +- @install -m755 euclid-wm -D ${DESTDIR}/${BINDIR}/euclid-wm +- @install -m644 euclid.desktop -D ${DESTDIR}/${SHAREDIR}/xsessions/euclid.desktop +- @install -m644 euclid.1 -D ${DESTDIR}/${MANDIR}/man1/euclid-wm.1 +- @install -m644 euclid-wm.conf.sample -D -b ${DESTDIR}/${SHAREDIR}/euclid-wm/euclid-wm.conf +- @install -m644 euclidrc -D -b ${DESTDIR}/${SHAREDIR}/euclid-wm/euclidrc +- @install -m644 VERSION -D ${DESTDIR}/${SHAREDIR}/euclid-wm/VERSION 2>/dev/null || echo "From SVN: `svn info | grep Revision: | cut -d ' ' -f2`/`date +%F`" >${DESTDIR}/${SHAREDIR}/euclid-wm/VERSION ++# @install -m755 euclid-wm -D ${DESTDIR}/${BINDIR}/euclid-wm ++ @cp -f euclid-wm ${DESTDIR}/${BINDIR}/euclid-wm ++# @install -m644 euclid.desktop -D ${DESTDIR}/${SHAREDIR}/xsessions/euclid.desktop ++ @mkdir -p ${DESTDIR}/${SHAREDIR}/xsessions ++ @cp -f euclid.desktop ${DESTDIR}/${SHAREDIR}/xsessions/euclid.desktop ++# @install -m644 euclid.1 -D ${DESTDIR}/${MANDIR}/man1/euclid-wm.1 ++ @cp -f euclid.1 ${DESTDIR}/${MANDIR}/man1/euclid-wm.1 ++# @install -m644 euclid-wm.conf.sample -D -b ${DESTDIR}/${SHAREDIR}/euclid-wm/euclid-wm.conf ++ @mkdir -p ${DESTDIR}/${SHAREDIR}/euclid-wm ++ @cp -f euclid-wm.conf.sample ${DESTDIR}/${SHAREDIR}/euclid-wm/euclid-wm.conf ++# @install -m644 euclidrc -D -b ${DESTDIR}/${SHAREDIR}/euclid-wm/euclidrc ++ @cp -f euclidrc ${DESTDIR}/${SHAREDIR}/euclid-wm/euclidrc ++# @install -m644 VERSION -D ${DESTDIR}/${SHAREDIR}/euclid-wm/VERSION 2>/dev/null || echo "From SVN: `svn info | grep Revision: | cut -d ' ' -f2`/`date +%F`" >${DESTDIR}/${SHAREDIR}/euclid-wm/VERSION ++ @cp -f VERSION ${DESTDIR}/${SHAREDIR}/euclid-wm/VERSION + @sed s_/usr/share_/${SHAREDIR}_ <start-euclid >start-euclid-local +- @install -m755 start-euclid-local -D ${DESTDIR}/${BINDIR}/start-euclid ++# @install -m755 start-euclid-local -D ${DESTDIR}/${BINDIR}/start-euclid ++ @cp -f start-euclid-local ${DESTDIR}/${BINDIR}/start-euclid + + install_conf: + @install -b -D -m600 euclid-wm.conf.sample ${CONFDIR}/euclid-wm.conf diff --git a/x11-wm/euclid-wm/files/patch-euclid-wm.c b/x11-wm/euclid-wm/files/patch-euclid-wm.c new file mode 100644 index 000000000000..abee82bb024d --- /dev/null +++ b/x11-wm/euclid-wm/files/patch-euclid-wm.c @@ -0,0 +1,14 @@ +--- euclid-wm.c.orig 2013-12-16 15:18:31 UTC ++++ euclid-wm.c +@@ -93,9 +93,9 @@ Thus the one or more of the following no + + + //this is a hack +-FILE *popen(char *, char *); ++FILE *popen(const char *,const char *); + int pclose (FILE *); +-char *tempnam(char *,char*); ++char *tempnam(const char *,const char*); + + + #define BINDINGS 65 diff --git a/x11-wm/euclid-wm/pkg-descr b/x11-wm/euclid-wm/pkg-descr new file mode 100644 index 000000000000..e1acb2500c45 --- /dev/null +++ b/x11-wm/euclid-wm/pkg-descr @@ -0,0 +1,9 @@ +euclid-wm is a minimalist, tiling window manager for X11 that seeks to allow +easy management of numerous windows entirely from the keyboard. + +euclid seeks to do two things in particular: + - balance the ease of use common among window managers with automatic + or fixed layouts with the flexibility of those dynamic layouts, + - create an easy way to manage minimized windows + +WWW: http://euclid-wm.sourceforge.net |