Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jan 2017 00:33:12 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r432178 - in head/x11-drivers/xf86-video-openchrome: . files
Message-ID:  <201701230033.v0N0XCIb014433@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Jan 23 00:33:12 2017
New Revision: 432178
URL: https://svnweb.freebsd.org/changeset/ports/432178

Log:
  Update to 0.5.0 which is compatible with newer xorg
  
  PR:		216286
  Submitted by:	matthew@reztek.cz

Deleted:
  head/x11-drivers/xf86-video-openchrome/files/patch-src__via_driver.c
  head/x11-drivers/xf86-video-openchrome/files/patch-src_via__id.c
Modified:
  head/x11-drivers/xf86-video-openchrome/Makefile
  head/x11-drivers/xf86-video-openchrome/distinfo
  head/x11-drivers/xf86-video-openchrome/files/patch-configure
  head/x11-drivers/xf86-video-openchrome/pkg-plist

Modified: head/x11-drivers/xf86-video-openchrome/Makefile
==============================================================================
--- head/x11-drivers/xf86-video-openchrome/Makefile	Mon Jan 23 00:29:55 2017	(r432177)
+++ head/x11-drivers/xf86-video-openchrome/Makefile	Mon Jan 23 00:33:12 2017	(r432178)
@@ -1,8 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	xf86-video-openchrome
-PORTVERSION=	0.3.3
-PORTREVISION=	6
+PORTVERSION=	0.5.0
 CATEGORIES=	x11-drivers
 
 MAINTAINER=	x11@FreeBSD.org
@@ -11,13 +10,23 @@ COMMENT=	X.Org openChrome display driver
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+LIB_DEPENDS=	libdrm.so:graphics/libdrm
+
 USE_GL=		gl
 
 XORG_CAT=	driver
-USE_XORG=	xf86driproto xvmc glproto
+USE_XORG=	x11 xext xv
 
 MAKE_ARGS+=	drivermandir=${LOCALBASE}/man/man4
 
-ONLY_FOR_ARCHS=	amd64 i386 ia64
+.include <bsd.port.options.mk>
+
+# XvMC is only supported by this driver on x86
+.if ${ARCH} == "i386" || ${ARCH} == "amd64"
+USE_XORG+=	xvmc
+PLIST_SUB+=	XVMC=""
+.else
+PLIST_SUB+=	XVMC="@comment "
+.endif
 
 .include <bsd.port.mk>

Modified: head/x11-drivers/xf86-video-openchrome/distinfo
==============================================================================
--- head/x11-drivers/xf86-video-openchrome/distinfo	Mon Jan 23 00:29:55 2017	(r432177)
+++ head/x11-drivers/xf86-video-openchrome/distinfo	Mon Jan 23 00:33:12 2017	(r432178)
@@ -1,2 +1,3 @@
-SHA256 (xorg/driver/xf86-video-openchrome-0.3.3.tar.bz2) = e49e2f1e5dac86408e5a74b87038cc4082d2c3fba4e0579823161991432412ed
-SIZE (xorg/driver/xf86-video-openchrome-0.3.3.tar.bz2) = 518705
+TIMESTAMP = 1480077395
+SHA256 (xorg/driver/xf86-video-openchrome-0.5.0.tar.bz2) = 49fdd613975a332a0a64720b382420354aecaf2fcbb4920efd094d5a0ac955bb
+SIZE (xorg/driver/xf86-video-openchrome-0.5.0.tar.bz2) = 542713

Modified: head/x11-drivers/xf86-video-openchrome/files/patch-configure
==============================================================================
--- head/x11-drivers/xf86-video-openchrome/files/patch-configure	Mon Jan 23 00:29:55 2017	(r432177)
+++ head/x11-drivers/xf86-video-openchrome/files/patch-configure	Mon Jan 23 00:33:12 2017	(r432178)
@@ -1,6 +1,6 @@
---- configure.orig	2013-05-23 15:11:54 UTC
+--- configure.orig	2016-07-06 16:22:03 UTC
 +++ configure
-@@ -12742,7 +12742,7 @@ $as_echo "#define X_HAVE_XAAGETROP 1" >>
+@@ -13388,7 +13388,7 @@ $as_echo "#define X_HAVE_XAAGETROP 1" >>
  $as_echo "#define X_NEED_I2CSTART 1" >>confdefs.h
  
  

Modified: head/x11-drivers/xf86-video-openchrome/pkg-plist
==============================================================================
--- head/x11-drivers/xf86-video-openchrome/pkg-plist	Mon Jan 23 00:29:55 2017	(r432177)
+++ head/x11-drivers/xf86-video-openchrome/pkg-plist	Mon Jan 23 00:33:12 2017	(r432178)
@@ -1,8 +1,8 @@
-lib/libchromeXvMC.so
-lib/libchromeXvMC.so.1
-lib/libchromeXvMC.so.1.0.0
-lib/libchromeXvMCPro.so
-lib/libchromeXvMCPro.so.1
-lib/libchromeXvMCPro.so.1.0.0
+%%XVMC%%lib/libchromeXvMC.so
+%%XVMC%%lib/libchromeXvMC.so.1
+%%XVMC%%lib/libchromeXvMC.so.1.0.0
+%%XVMC%%lib/libchromeXvMCPro.so
+%%XVMC%%lib/libchromeXvMCPro.so.1
+%%XVMC%%lib/libchromeXvMCPro.so.1.0.0
 lib/xorg/modules/drivers/openchrome_drv.so
 man/man4/openchrome.4x.gz



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