Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2008 19:34:06 GMT
From:      Rene Ladan <r.c.ladan@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/122769: [PATCH] update x11-drivers/xf86-video-radeonhd to 1.2.1
Message-ID:  <200804141934.m3EJY6f9082251@www.freebsd.org>
Resent-Message-ID: <200804141940.m3EJe0j8027271@freefall.freebsd.org>

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

>Number:         122769
>Category:       ports
>Synopsis:       [PATCH] update x11-drivers/xf86-video-radeonhd to 1.2.1
>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:   Mon Apr 14 19:40:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Rene Ladan
>Release:        7.0-RELEASE i386
>Organization:
>Environment:
FreeBSD self.rene-ladan.nl 7.0-RELEASE FreeBSD 7.0-RELEASE #3: Thu Feb 28 10:15:55 CET 2008     root@self.rene-ladan.nl:/usr/obj/usr/src/sys/RENE  i386

>Description:
Update x11-drivers/xf86-video-radeonhd to 1.2.1, enable optional installation of rhd_* utilities in $PREFIX/sbin

>From the README :
- Version 1.2.1

  - Build-fixes for systems without -NDEBUG, and for rhd_dump
  - Added two new RV670 devices.

Verified with `portlint -A'
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ru /usr/ports/x11-drivers/xf86-video-radeonhd/Makefile xf86-video-radeonhd/Makefile
--- /usr/ports/x11-drivers/xf86-video-radeonhd/Makefile	2008-04-11 13:58:00.000000000 +0200
+++ xf86-video-radeonhd/Makefile	2008-04-14 21:29:02.000000000 +0200
@@ -6,15 +6,34 @@
 #
 
 PORTNAME=	xf86-video-radeonhd
-PORTVERSION=	1.2.0
+PORTVERSION=	1.2.1
 CATEGORIES=	x11-drivers
 
 MAINTAINER=	x11@FreeBSD.org
 COMMENT=	X.Org ati RadeonHD display driver
 
+OPTIONS=	UTILS "Install rhd_conntest and rhd_dump utilities" off
+
 XORG_CAT=	driver
 USE_XORG=	videoproto xextproto
 
 MAN4=	radeonhd.4x
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_UTILS)
+LIB_DEPENDS+=	pci.2:${PORTSDIR}/devel/libpci
+PLIST_SUB=	UTILS=""
+CONFIGURE_ENV+=	PCIUTILS_CFLAGS="-I${LOCALBASE}/include -lpci -lz" \
+		PCIUTILS_LIBS="-L${LOCALBASE}/lib"
+.else
+PLIST_SUB=	UTILS="@comment "
+.endif
+
+.if defined(WITH_UTILS)
+post-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/utils/conntest/rhd_conntest ${PREFIX}/sbin
+	${INSTALL_PROGRAM} ${WRKSRC}/utils/conntest/rhd_dump ${PREFIX}/sbin
+.endif
+
+.include <bsd.port.post.mk>
diff -ru /usr/ports/x11-drivers/xf86-video-radeonhd/distinfo xf86-video-radeonhd/distinfo
--- /usr/ports/x11-drivers/xf86-video-radeonhd/distinfo	2008-04-11 13:58:00.000000000 +0200
+++ xf86-video-radeonhd/distinfo	2008-04-14 19:57:43.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (xorg/driver/xf86-video-radeonhd-1.2.0.tar.bz2) = 6a932ec17da9ce5a6d9000c1649c3a7e
-SHA256 (xorg/driver/xf86-video-radeonhd-1.2.0.tar.bz2) = 87c6353dd52bbe22d3a45f28fb39de1dd44f41568aaf8a9b0d45a7ed62313e27
-SIZE (xorg/driver/xf86-video-radeonhd-1.2.0.tar.bz2) = 511928
+MD5 (xorg/driver/xf86-video-radeonhd-1.2.1.tar.bz2) = 9db15e1f1f891f514ca72dd9a3cc360a
+SHA256 (xorg/driver/xf86-video-radeonhd-1.2.1.tar.bz2) = 2e06e8cd714e5345165c64e8a96ea0e7bae44ae2655760ef0eee17ab788ab388
+SIZE (xorg/driver/xf86-video-radeonhd-1.2.1.tar.bz2) = 512608
diff -ru /usr/ports/x11-drivers/xf86-video-radeonhd/pkg-plist xf86-video-radeonhd/pkg-plist
--- /usr/ports/x11-drivers/xf86-video-radeonhd/pkg-plist	2007-10-23 15:52:57.000000000 +0200
+++ xf86-video-radeonhd/pkg-plist	2008-04-14 21:08:31.000000000 +0200
@@ -1,5 +1,7 @@
 lib/xorg/modules/drivers/radeonhd_drv.la
 lib/xorg/modules/drivers/radeonhd_drv.so
+%%UTILS%%sbin/rhd_conntest
+%%UTILS%%sbin/rhd_dump
 @dirrmtry lib/xorg/modules/drivers
 @dirrmtry lib/xorg/modules
 @dirrmtry lib/xorg


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



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