ports/178336: [patch] x11/hs-X11 does not include xinerama anymore

Christopher J. Ruwe cjr at cruwe.de
Sat May 4 13:30:01 UTC 2013


>Number:         178336
>Category:       ports
>Synopsis:       [patch] x11/hs-X11 does not include xinerama anymore
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 04 13:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Christopher J. Ruwe
>Release:        9.1
>Organization:
>Environment:
FreeBSD dijkstra.cruwe.de 9.1-RELEASE FreeBSD 9.1-RELEASE #2: Tue Nov 27 03:45:16 UTC 2012     root at darkstar:/usr/obj/pcbsd-build90/fbsd-source/9.1/sys/GENERIC  amd64

>Description:
>From ports r309275 to r311736 the xinerama option was dropped from x11/hs-X11. 

When, as in my case, using xmonad ad trying to compile a trivial configuration change, this breaks an existing xmonad dual pane configuration.

Reintroducing the xinerama option into x11/hs-X11 and recompiling x11/hs-X11-xft, x11-wm/hs-xmonad and x11-wm/xmonad-contrib solves the problem.
>How-To-Repeat:
Try to compile any dual pane xmonad config with x11/hs-X11 newer than r309275. 
>Fix:
patch included

if xinerama support has been dropped for valid reasons, put a note in UPDATING

Patch attached with submission follows:

diff -uN /poudriere/ports/default/x11/hs-X11/Makefile ./Makefile
--- /poudriere/ports/default/x11/hs-X11/Makefile	2013-03-31 16:55:34.305555011 +0200
+++ ./Makefile	2013-05-04 14:32:20.001006562 +0200
@@ -15,5 +15,17 @@
 USE_CABAL=	data-default
 USE_XORG=	x11 xrandr xext
 
+OPTIONS_DEFINE=  XINERAMA
+
+XINERAMA_DESC=	Build with Xinerama support
+
 .include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+
+.if ${PORT_OPTIONS:MXINERAMA}
+USE_XORG+=              xinerama
+CONFIGURE_ARGS+= --configure-option="--with-xinerama"
+.else
+CONFIGURE_ARGS+= --configure-option="--without-xinerama"
+.endif
+
 .include <bsd.port.mk>


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list