From owner-svn-ports-all@freebsd.org Tue Jan 30 17:28:35 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 17F9AED75EF; Tue, 30 Jan 2018 17:28:35 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BC21F77620; Tue, 30 Jan 2018 17:28:34 +0000 (UTC) (envelope-from zeising@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B55BC1A371; Tue, 30 Jan 2018 17:28:34 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0UHSYUe096348; Tue, 30 Jan 2018 17:28:34 GMT (envelope-from zeising@FreeBSD.org) Received: (from zeising@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0UHSYQU096346; Tue, 30 Jan 2018 17:28:34 GMT (envelope-from zeising@FreeBSD.org) Message-Id: <201801301728.w0UHSYQU096346@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: zeising set sender to zeising@FreeBSD.org using -f From: Niclas Zeising Date: Tue, 30 Jan 2018 17:28:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r460417 - in head/x11-wm/dwm: . files X-SVN-Group: ports-head X-SVN-Commit-Author: zeising X-SVN-Commit-Paths: in head/x11-wm/dwm: . files X-SVN-Commit-Revision: 460417 X-SVN-Commit-Repository: ports 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.25 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: Tue, 30 Jan 2018 17:28:35 -0000 Author: zeising Date: Tue Jan 30 17:28:34 2018 New Revision: 460417 URL: https://svnweb.freebsd.org/changeset/ports/460417 Log: Add a configuration knob to allow the usage of the super key instead of alt as modifier. Strip binary, fix whitespace. PR: 225227 Submitted by: Mateusz Piotrowski Approved by: maintainer timeout (2 weeks) Added: head/x11-wm/dwm/files/extra-patch-config.def.h (contents, props changed) Modified: head/x11-wm/dwm/Makefile Modified: head/x11-wm/dwm/Makefile ============================================================================== --- head/x11-wm/dwm/Makefile Tue Jan 30 17:20:13 2018 (r460416) +++ head/x11-wm/dwm/Makefile Tue Jan 30 17:28:34 2018 (r460417) @@ -3,10 +3,11 @@ PORTNAME= dwm PORTVERSION= 6.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-wm MASTER_SITES= http://dl.suckless.org/${PORTNAME}/ \ http://schot.a-eskwadraat.nl/files/ + PATCH_SITES= http://dwm.suckless.org/patches/ MAINTAINER= schot@a-eskwadraat.nl @@ -17,12 +18,16 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig -OPTIONS_DEFINE= XINERAMA DOCS +OPTIONS_DEFINE= XINERAMA DOCS SUPERASMODKEY OPTIONS_DEFAULT=XINERAMA +SUPERASMODKEY_DESC= Use Super instead of Alt for the dwm mod key + XINERAMA_USE= XORG=xinerama XINERAMA_MAKE_ARGS_OFF= XINERAMAFLAGS= XINERAMALIBS= +SUPERASMODKEY_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-config.def.h + USE_XORG= x11 xft MAKE_ARGS= CC="${CC}" PREFIX="${PREFIX}" MANPREFIX="${MANPREFIX}/man" \ X11INC="${LOCALBASE}/include" X11LIB="${LOCALBASE}/lib" @@ -45,5 +50,6 @@ post-extract: post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dwm .include Added: head/x11-wm/dwm/files/extra-patch-config.def.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-wm/dwm/files/extra-patch-config.def.h Tue Jan 30 17:28:34 2018 (r460417) @@ -0,0 +1,11 @@ +--- config.def.h.orig 2018-01-16 16:05:12 UTC ++++ config.def.h +@@ -42,7 +42,7 @@ static const Layout layouts[] = { + }; + + /* key definitions */ +-#define MODKEY Mod1Mask ++#define MODKEY Mod4Mask + #define TAGKEYS(KEY,TAG) \ + { MODKEY, KEY, view, {.ui = 1 << TAG} }, \ + { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \