Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Aug 2012 11:24:35 +0000 (UTC)
From:      Niclas Zeising <zeising@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r303001 - in head/x11-wm/spectrwm: . files
Message-ID:  <201208231124.q7NBOZhM014863@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zeising
Date: Thu Aug 23 11:24:34 2012
New Revision: 303001
URL: http://svn.freebsd.org/changeset/ports/303001

Log:
  Update spectrwm to version 2.0.0
  This is a complete rewrite using xcb and with support for Xft.
  
  Approved by:	kwm (mentor)

Deleted:
  head/x11-wm/spectrwm/files/
Modified:
  head/x11-wm/spectrwm/Makefile
  head/x11-wm/spectrwm/distinfo

Modified: head/x11-wm/spectrwm/Makefile
==============================================================================
--- head/x11-wm/spectrwm/Makefile	Thu Aug 23 11:16:21 2012	(r303000)
+++ head/x11-wm/spectrwm/Makefile	Thu Aug 23 11:24:34 2012	(r303001)
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	spectrwm
-PORTVERSION=	1.1.2
+PORTVERSION=	2.0.0
 CATEGORIES=	x11-wm
 MASTER_SITES=	https://opensource.conformal.com/snapshots/${PORTNAME}/
 EXTRACT_SUFX=	.tgz
@@ -16,12 +16,13 @@ COMMENT=	A small, dynamic tiling window 
 
 LICENSE=	ISCL
 
-OPTIONS_DEFINE=	DMENU_BOTTOM
-DMENU_BOTTOM_DESC=	dmenu at screen bottom (instead of top)
-
-.include <bsd.port.options.mk>
+LIB_DEPENDS+=	xcb:${PORTSDIR}/x11/libxcb \
+		xcb-util:${PORTSDIR}/x11/xcb-util \
+		xcb-icccm:${PORTSDIR}/x11/xcb-util-wm \
+		xcb-keysyms:${PORTSDIR}/x11/xcb-util-keysyms
+RUN_DEPENDS+=	dmenu:${PORTSDIR}/x11/dmenu
 
-USE_XORG=	x11 xproto xrandr xt xtst
+USE_XORG=	x11 xft xrandr xt
 
 MAN1=		spectrwm.1
 USE_LDCONFIG=	yes
@@ -32,19 +33,15 @@ PORTEXAMPLES=	spectrwm_cz.conf \
 		spectrwm_se.conf \
 		spectrwm_us.conf
 
-RUN_DEPENDS+=	dmenu:${PORTSDIR}/x11/dmenu
-
-.if ${PORT_OPTIONS:MDMENU_BOTTOM}
-EXTRA_PATCHES+=	${FILESDIR}/spawn_menu_atbottom.patch
-.endif
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/spectrwm.*
 
 do-build:
 	${CC} ${CFLAGS} -I${LOCALBASE}/include \
-		-I${WRKSRC}/freebsd -lutil -L${LOCALBASE}/lib -lX11 -lXrandr \
-		-lXtst -DSWM_LIB=\"${PREFIX}/lib/libswmhack.so\" \
+		-I${LOCALBASE}/include/freetype2 -I${WRKSRC}/freebsd \
+		-lutil -L${LOCALBASE}/lib -lX11 -lX11-xcb -lxcb -lxcb-icccm \
+		-lxcb-keysyms -lxcb-randr -lxcb-util -lxcb-xtest -lXft \
+		-lXrandr -DSWM_LIB=\"${PREFIX}/lib/libswmhack.so\" \
 		-o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.c
 	${CC} ${CFLAGS} -I${LOCALBASE}/include -shared -fpic -DPIC \
 		-o ${WRKSRC}/libswmhack.so ${WRKSRC}/lib/swm_hack.c

Modified: head/x11-wm/spectrwm/distinfo
==============================================================================
--- head/x11-wm/spectrwm/distinfo	Thu Aug 23 11:16:21 2012	(r303000)
+++ head/x11-wm/spectrwm/distinfo	Thu Aug 23 11:24:34 2012	(r303001)
@@ -1,2 +1,2 @@
-SHA256 (spectrwm-1.1.2.tgz) = 05ea11f7a519c8885c48d4112453cefac71899b0945d0b26cd677b06cc727309
-SIZE (spectrwm-1.1.2.tgz) = 93088
+SHA256 (spectrwm-2.0.0.tgz) = 6ef5db2bb001c2953d0eea28e1ab36992a2c6ff98411c7299ff6a520e758916d
+SIZE (spectrwm-2.0.0.tgz) = 99759



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