ports/128179: [patch] Add an XCB option to graphics/cairo
Nikos Ntarmos
ntarmos at ceid.upatras.gr
Fri Oct 17 15:10:04 UTC 2008
>Number: 128179
>Category: ports
>Synopsis: [patch] Add an XCB option to graphics/cairo
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Oct 17 15:10:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Nikos Ntarmos
>Release: FreeBSD 7.1-PRERELEASE i386
>Organization:
NetCInS Lab., C.E.I.D., U. of Patras, Greece
>Environment:
System: FreeBSD ace.netcins.ceid.upatras.gr 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Fri Oct 17 01:32:29 EEST 2008 ntarmos at ace.netcins.ceid.upatras.gr:/opt/src/sys/i386/compile/ACE i386
>Description:
graphics/cairo can take advantage of xcb bits, should they be present in
the system (i.e. in the form of x11/libxcb and x11/xcb-util). I'm
preparing an update of the x11-wm/awesome port to the 3.x branch and
need this xcb support in cairo.
>How-To-Repeat:
>Fix:
The following patch adds an option in the cairo Makefile to turn xcb support on.
--- cairo.diff begins here ---
--- Makefile.orig 2008-10-17 17:06:05.000000000 +0300
+++ Makefile 2008-10-17 17:14:09.000000000 +0300
@@ -42,10 +42,17 @@
PLIST_SUB+= X11=""
.endif
-OPTIONS+= GLITZ "Enable Glitz OpenGL Support" Off
+OPTIONS+= GLITZ "Enable Glitz OpenGL Support" Off \
+ XCB "Enable XCB Support" Off
.include <bsd.port.pre.mk>
+.if defined(WITH_XCB)
+CONFIGURE_ARGS+= --enable-xcb=auto
+LIB_DEPENDS+= xcb.1:${PORTSDIR}/x11/libxcb \
+ xcb-event.1:${PORTSDIR}/x11/xcb-util
+.endif
+
.if defined(WITH_GLITZ)
LIB_DEPENDS+= glitz-glx.1:${PORTSDIR}/graphics/glitz
CONFIGURE_ARGS+= --enable-glitz
--- cairo.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list