Date: Sat, 21 Jun 2008 14:54:02 +0200 (CEST) From: Jeroen Schot <schot@a-eskwadraat.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/124832: Update port: x11-wm/dwm to 5.0.1 Message-ID: <200806211254.m5LCs2ao073436@shine> Resent-Message-ID: <200806211330.m5LDU2PB059377@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 124832 >Category: ports >Synopsis: Update port: x11-wm/dwm to 5.0.1 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Jun 21 13:30:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Jeroen Schot >Release: FreeBSD 7.0-RELEASE-p1 i386 >Organization: >Environment: System: FreeBSD shine 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #4: Tue Apr 29 18:54:18 CEST 2008 schot@shine:/usr/obj/usr/src/sys/MACBOOK i386 >Description: Attached diff updates the port of x11-wm/dwm from 4.9 to 5.0.1. >How-To-Repeat: >Fix: diff -ruN dwm.orig/Makefile dwm/Makefile --- dwm.orig/Makefile 2008-04-05 20:13:21.000000000 +0200 +++ dwm/Makefile 2008-06-21 14:48:10.000000000 +0200 @@ -6,7 +6,7 @@ # PORTNAME= dwm -PORTVERSION= 4.9 +PORTVERSION= 5.0.1 CATEGORIES= x11-wm MASTER_SITES= http://www.suckless.org/download/ \ http://schot.a-eskwadraat.nl/files/ @@ -16,7 +16,7 @@ RUN_DEPENDS= dmenu:${PORTSDIR}/x11/dmenu -USE_XORG= x11 +USE_XORG= x11 xinerama MAN1= dwm.1 PLIST_FILES= bin/dwm @@ -25,7 +25,7 @@ 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-4.9 config.h-files no longer work." + @${ECHO_MSG} "Note: Pre-5.0 config.h-files no longer work." post-extract: .if defined(DWM_CONF) diff -ruN dwm.orig/distinfo dwm/distinfo --- dwm.orig/distinfo 2008-04-05 20:13:21.000000000 +0200 +++ dwm/distinfo 2008-06-21 14:46:33.000000000 +0200 @@ -1,3 +1,3 @@ -MD5 (dwm-4.9.tar.gz) = cf72c6a72e6c35c132b5db4faf3fb358 -SHA256 (dwm-4.9.tar.gz) = 3f4f595e7845cedce1696668adf0a8ade2fc8a72d4c32d53de35a7c5d900790d -SIZE (dwm-4.9.tar.gz) = 18132 +MD5 (dwm-5.0.1.tar.gz) = 27d91d886c9ba1aad4b09178e2653ee0 +SHA256 (dwm-5.0.1.tar.gz) = f39e2b62d75b79489c535dc3cfcd6ea2b9c412857448519f29a4eed7af2f33a3 +SIZE (dwm-5.0.1.tar.gz) = 17954 diff -ruN dwm.orig/files/patch-config.mk dwm/files/patch-config.mk --- dwm.orig/files/patch-config.mk 2008-04-19 19:55:49.000000000 +0200 +++ dwm/files/patch-config.mk 2008-06-20 11:19:29.000000000 +0200 @@ -1,6 +1,6 @@ ---- config.mk.orig 2008-04-03 22:57:01.000000000 +0200 -+++ config.mk 2008-04-04 12:05:19.000000000 +0200 -@@ -4,19 +4,19 @@ +--- config.mk.orig 2008-06-18 23:08:29.000000000 +0200 ++++ config.mk 2008-06-20 10:39:37.000000000 +0200 +@@ -4,11 +4,11 @@ # Customize below to fit your system # paths @@ -14,21 +14,18 @@ +X11INC = $(LOCALBASE)/include +X11LIB = $(LOCALBASE)/lib - # includes and libs - INCS = -I. -I/usr/include -I${X11INC} - LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 + # Xinerama, comment if you don't want it + XINERAMALIBS = -L${X11LIB} -lXinerama +@@ -19,9 +19,9 @@ + LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${XINERAMALIBS} # flags --CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\" +-CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} +-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} -LDFLAGS = -s ${LIBS} -+CFLAGS+= ${INCS} -DVERSION=\"${VERSION}\" ++CPPFLAGS+= -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} ++CFLAGS+= ${INCS} ${CPPFLAGS} +LDFLAGS+= ${LIBS} - #CFLAGS = -g -std=c99 -pedantic -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" - #LDFLAGS = -g ${LIBS} -@@ -25,4 +25,4 @@ - #LDFLAGS = ${LIBS} - - # compiler and linker --CC = cc -+CC?= cc + # Solaris + #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806211254.m5LCs2ao073436>