From owner-svn-ports-all@freebsd.org Mon Dec 7 04:58:50 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CE1679A0AB0; Mon, 7 Dec 2015 04:58:50 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8D06311B8; Mon, 7 Dec 2015 04:58:50 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tB74wnYv096786; Mon, 7 Dec 2015 04:58:49 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tB74wnvj096783; Mon, 7 Dec 2015 04:58:49 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201512070458.tB74wnvj096783@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Mon, 7 Dec 2015 04:58:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r403178 - in head/x11-wm/dwm: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 04:58:50 -0000 Author: jbeich Date: Mon Dec 7 04:58:49 2015 New Revision: 403178 URL: https://svnweb.freebsd.org/changeset/ports/403178 Log: x11-wm/dwm: update to 6.1 Drop unused dependencies likely from overlinking in the past. $ readelf -d /usr/local/bin/dwm | fgrep NEEDED 0x0000000000000001 (NEEDED) Shared library: [libX11.so.6] 0x0000000000000001 (NEEDED) Shared library: [libXinerama.so.1] 0x0000000000000001 (NEEDED) Shared library: [libfontconfig.so.1] 0x0000000000000001 (NEEDED) Shared library: [libXft.so.2] 0x0000000000000001 (NEEDED) Shared library: [libc.so.7] Changes: http://lists.suckless.org/dev/1511/27504.html PR: 203325, 204658 Approved by: maintainer timeout (18 days) Modified: head/x11-wm/dwm/Makefile (contents, props changed) head/x11-wm/dwm/distinfo (contents, props changed) head/x11-wm/dwm/files/patch-config.mk (contents, props changed) Modified: head/x11-wm/dwm/Makefile ============================================================================== --- head/x11-wm/dwm/Makefile Mon Dec 7 04:29:44 2015 (r403177) +++ head/x11-wm/dwm/Makefile Mon Dec 7 04:58:49 2015 (r403178) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= dwm -PORTVERSION= 6.0 -PORTREVISION= 2 +PORTVERSION= 6.1 CATEGORIES= x11-wm MASTER_SITES= http://dl.suckless.org/${PORTNAME}/ \ http://schot.a-eskwadraat.nl/files/ @@ -15,12 +14,12 @@ COMMENT= Dynamic, small, fast and simple LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -LIB_DEPENDS= libpthread-stubs.so:${PORTSDIR}/devel/libpthread-stubs +LIB_DEPENDS= libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig -OPTIONS_DEFINE= XINERAMA XFT DOCS +OPTIONS_DEFINE= XINERAMA DOCS OPTIONS_DEFAULT=XINERAMA -USE_XORG= x11 xau xcb xdmcp xext +USE_XORG= x11 xft PLIST_FILES= bin/dwm \ man/man1/dwm.1.gz @@ -32,18 +31,10 @@ PORTDOCS= README USE_XORG+= xinerama .endif -.if ${PORT_OPTIONS:MXFT} -LIB_DEPENDS+= libfreetype.so:${PORTSDIR}/print/freetype2 \ - libexpat.so:${PORTSDIR}/textproc/expat2 \ - libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig -USE_XORG+= xft xrender -PATCHFILES+= ${PORTNAME}-${PORTVERSION}-xft.diff -.endif - pre-everything:: @${ECHO_MSG} "You can build dwm with your own config.h using the DWM_CONF knob:" @${ECHO_MSG} "make DWM_CONF=/path/to/dwm/config.h install clean" - @${ECHO_MSG} "Note: Pre-6.0 config.h-files no longer work." + @${ECHO_MSG} "Note: Pre-${PORTVERSION} config.h-files may not work." post-extract: .if defined(DWM_CONF) @@ -60,10 +51,6 @@ post-patch: @${REINPLACE_CMD} -e 's,$${XINERAMALIBS},,g' \ -e 's,$${XINERAMAFLAGS},,g' ${WRKSRC}/config.mk .endif -.if empty(PORT_OPTIONS:MXFT) - @${REINPLACE_CMD} -e 's,$${XFTLIBS},,g' \ - -e 's,$${XFTINCS},,g' ${WRKSRC}/config.mk -.endif post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} Modified: head/x11-wm/dwm/distinfo ============================================================================== --- head/x11-wm/dwm/distinfo Mon Dec 7 04:29:44 2015 (r403177) +++ head/x11-wm/dwm/distinfo Mon Dec 7 04:58:49 2015 (r403178) @@ -1,4 +1,2 @@ -SHA256 (dwm-6.0.tar.gz) = b2b9483de69259eeea56844899bb2385158d3e79a42d82b10c142099fc8eeb56 -SIZE (dwm-6.0.tar.gz) = 20810 -SHA256 (dwm-6.0-xft.diff) = badd329b1ec8d2d1b99816d3ca4eafa9fe784a93cfac29b96abca3821b441a4d -SIZE (dwm-6.0-xft.diff) = 6731 +SHA256 (dwm-6.1.tar.gz) = c2f6c56167f0acdbe3dc37cca9c1a19260c040f2d4800e3529a21ad7cce275fe +SIZE (dwm-6.1.tar.gz) = 25887 Modified: head/x11-wm/dwm/files/patch-config.mk ============================================================================== --- head/x11-wm/dwm/files/patch-config.mk Mon Dec 7 04:29:44 2015 (r403177) +++ head/x11-wm/dwm/files/patch-config.mk Mon Dec 7 04:58:49 2015 (r403178) @@ -1,6 +1,6 @@ ---- config.mk.orig 2011-12-19 15:02:46.000000000 +0000 -+++ config.mk 2012-08-18 00:38:31.000000000 +0000 -@@ -4,30 +4,34 @@ +--- config.mk.orig 2015-11-08 22:39:37 UTC ++++ config.mk +@@ -4,11 +4,11 @@ VERSION = 6.1 # Customize below to fit your system # paths @@ -14,28 +14,19 @@ +X11INC = %%LOCALBASE%%/include +X11LIB = %%LOCALBASE%%/lib - # Xinerama - XINERAMALIBS = -L${X11LIB} -lXinerama - XINERAMAFLAGS = -DXINERAMA - -+# Xft -+XFTINCS = -I${X11INC}/freetype2 -+XFTLIBS = -L${X11LIB} -lXft -+ - # includes and libs --INCS = -I. -I/usr/include -I${X11INC} --LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${XINERAMALIBS} -+INCS = -I. -I/usr/include -I${X11INC} ${XFTINCS} -+LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${XINERAMALIBS} ${XFTLIBS} + # Xinerama, comment if you don't want it + XINERAMALIBS = -lXinerama +@@ -25,14 +25,14 @@ INCS = -I${X11INC} -I${FREETYPEINC} + LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} # flags --CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} +-CPPFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} +-#CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} +-CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS} +-LDFLAGS = -s ${LIBS} +CPPFLAGS+= -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} - #CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} --CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} -+CFLAGS+= -std=c99 ${INCS} ${CPPFLAGS} - #LDFLAGS = -g ${LIBS} --LDFLAGS = -s ${LIBS} ++#CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} ++CFLAGS+= -std=c99 -Wno-deprecated-declarations ${INCS} ${CPPFLAGS} +LDFLAGS+= ${LIBS} # Solaris