Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 May 2008 12:44:25 GMT
From:      Max Brazhnikov <makc@issp.ac.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/123761: multimedia/libxine: add XCB support
Message-ID:  <200805171244.m4HCiPMb069510@www.freebsd.org>
Resent-Message-ID: <200805171250.m4HCoAQt002739@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         123761
>Category:       ports
>Synopsis:       multimedia/libxine: add XCB support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 17 12:50:10 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Max Brazhnikov
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
FreeBSD luna.dio.ru 7.0-STABLE FreeBSD 7.0-STABLE #0: Thu Apr 17 12:14:46 MSD 2008     makc@luna.dio.ru:/usr/obj/usr/src/sys/LUNA  i386
>Description:
add support for X protocol C-language Binding (XCB) library
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN --exclude=CVS /usr/ports/multimedia/libxine/Makefile /home/makc/porting/ports/multimedia/libxine/Makefile
--- /usr/ports/multimedia/libxine/Makefile	2008-04-22 18:33:54.000000000 +0400
+++ /home/makc/porting/ports/multimedia/libxine/Makefile	2008-05-17 15:04:58.000000000 +0400
@@ -58,6 +58,7 @@
 		GNOMEVFS2 "Enable GnomeVFS2 support" off \
 		PULSEAUDIO "Enable PulseAudio support" off \
 		XVMC "Enable XvMC support" off \
+		XCB "Enable XCB support" off \
 		SMB "Enable SMB protocol support" off \
 		AALIB "Enable aalib support" off \
 		IMAGEMAGICK "Enable ImageMagick support" off \
@@ -135,6 +136,14 @@
 PLIST_SUB+=	WITH_XVMC="@comment "
 .endif
 
+.if defined(WITH_XCB)
+LIB_DEPENDS+=	xcb.1:${PORTSDIR}/x11/libxcb
+PLIST_SUB+=	WITH_XCB=""
+.else
+PLIST_SUB+=	WITH_XCB="@comment "
+CONFIGURE_ARGS+=	--without-xcb
+.endif
+
 .if defined(WITH_SMB)
 LIB_DEPENDS+=	smbclient.0:${PORTSDIR}/net/samba-libsmbclient
 PLIST_SUB+=	WITH_SMB=""
diff -ruN --exclude=CVS /usr/ports/multimedia/libxine/pkg-plist /home/makc/porting/ports/multimedia/libxine/pkg-plist
--- /usr/ports/multimedia/libxine/pkg-plist	2008-04-22 18:33:54.000000000 +0400
+++ /home/makc/porting/ports/multimedia/libxine/pkg-plist	2008-05-17 15:16:22.000000000 +0400
@@ -144,6 +144,8 @@
 %%PLUGINSDIR%%/xineplug_vo_out_raw.so
 %%PLUGINSDIR%%/xineplug_vo_out_sdl.so
 %%WITH_VIDIX%%%%PLUGINSDIR%%/xineplug_vo_out_vidix.so
+%%WITH_XCB%%%%PLUGINSDIR%%/xineplug_vo_out_xcbshm.so
+%%WITH_XCB%%%%PLUGINSDIR%%/xineplug_vo_out_xcbxv.so
 %%PLUGINSDIR%%/xineplug_vo_out_xshm.so
 %%PLUGINSDIR%%/xineplug_vo_out_xv.so
 %%WITH_XVMC%%%%PLUGINSDIR%%/xineplug_vo_out_xvmc.so


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805171244.m4HCiPMb069510>