From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Apr 10 04:20:06 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E93C7106566B for ; Fri, 10 Apr 2009 04:20:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C36798FC12 for ; Fri, 10 Apr 2009 04:20:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n3A4K6B4036950 for ; Fri, 10 Apr 2009 04:20:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n3A4K6JD036949; Fri, 10 Apr 2009 04:20:06 GMT (envelope-from gnats) Resent-Date: Fri, 10 Apr 2009 04:20:06 GMT Resent-Message-Id: <200904100420.n3A4K6JD036949@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Anonymous Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45A00106566B for ; Fri, 10 Apr 2009 04:18:54 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id C48A48FC1A for ; Fri, 10 Apr 2009 04:18:53 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: by fg-out-1718.google.com with SMTP id 13so241386fge.12 for ; Thu, 09 Apr 2009 21:18:53 -0700 (PDT) Received: by 10.86.53.8 with SMTP id b8mr2316701fga.21.1239337132945; Thu, 09 Apr 2009 21:18:52 -0700 (PDT) Received: from localhost (95-24-64-30.broadband.corbina.ru [95.24.64.30]) by mx.google.com with ESMTPS id 12sm1630924fgg.2.2009.04.09.21.18.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 09 Apr 2009 21:18:52 -0700 (PDT) Message-Id: <86r601cfbi.fsf@gmail.com> Date: Fri, 10 Apr 2009 08:17:53 +0400 From: Anonymous To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/133557: [patch] x11-drivers/xf86-video-nouveau: update to recent snapshot, 20090408.d8545e6 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Apr 2009 04:20:07 -0000 >Number: 133557 >Category: ports >Synopsis: [patch] x11-drivers/xf86-video-nouveau: update to recent snapshot, 20090408.d8545e6 >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: Fri Apr 10 04:20:06 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Anonymous >Release: FreeBSD 8.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD luffy 8.0-CURRENT FreeBSD 8.0-CURRENT #0 r190876M: Fri Apr 10 03:18:56 UTC 2009 root@luffy:/usr/obj/usr/src/sys/PHOENIX amd64 CPU: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz (3216.22-MHz K8-class CPU) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 devel/ccache installed and used nouveau ddx (20090408.d8545e6) + drm (032109) installed and used on nv50 (9600GT) tested only on Xserver from git >Description: - unbreak and update to 20090408.d8545e6 - add snapshot date and revision in otherwise unused NV_DRIVER_DATE to make debugging problems a little bit easier because it appears in Xorg.N.log as (II) LoadModule: "nouveau" (II) Loading /usr/local/lib/xorg/modules/drivers/nouveau_drv.so (II) Module nouveau: vendor="X.Org Foundation" compiled for 1.6.99.1, module version = 0.0.10 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 5.0 (II) NOUVEAU driver 20090408.d8545e6 ^^^^^^^^^^^^^^^^ (II) NOUVEAU driver for NVIDIA chipset families : RIVA TNT (NV04) RIVA TNT2 (NV05) - add maint-gen-distfile in case I get sick and forget to update ;) - mark as MAKE_JOBS_SAFE: succeeds here with MAKE_JOBS_NUMBER=8 - fix whitespace in port header >How-To-Repeat: >Fix: Frequently updated diff is here: ftp://ftp.lissyara.su/users/Guest/xf86-video-nouveau.diff or a fixed one is attached here: --- xf86-video-nouveau-20090408.d8545e6.diff begins here --- Index: x11-drivers/xf86-video-nouveau/Makefile =================================================================== RCS file: /home/csup/ports/x11-drivers/xf86-video-nouveau/Makefile,v retrieving revision 1.3 diff -u -p -r1.3 Makefile --- x11-drivers/xf86-video-nouveau/Makefile 4 Apr 2009 04:05:08 -0000 1.3 +++ x11-drivers/xf86-video-nouveau/Makefile 10 Apr 2009 03:53:10 -0000 @@ -1,15 +1,15 @@ -# New ports collection makefile for: xf86-video-nouveau -# Date Created: 29 Jan 2009 -# Whom: Anonymous +# New ports collection makefile for: xf86-video-nouveau +# Date Created: 29 Jan 2009 +# Whom: Anonymous # # $FreeBSD: ports/x11-drivers/xf86-video-nouveau/Makefile,v 1.3 2009/04/04 04:05:08 rnoland Exp $ # PORTNAME= xf86-video-nouveau -PORTVERSION= 0.0.10.20090129 -PORTREVISION= 1 +PORTVERSION= 0.0.10.${SNAPDATE} +DISTVERSIONSUFFIX=.${SNAPREV} CATEGORIES= x11-drivers -MASTER_SITES= ftp://ftp.lissyara.su/users/Guest/ +MASTER_SITES= ftp://ftp.lissyara.su/users/Guest/distfiles/ MAINTAINER= x11@FreeBSD.org COMMENT= Free nouveau display driver for nvidia-based cards @@ -18,6 +18,30 @@ XORG_CAT= driver USE_XORG= videoproto xextproto xf86driproto glproto MAN4= nouveau.4x -BROKEN= does not compile +MAKE_JOBS_SAFE= yes + +SNAPDATE= 20090408 +SNAPREV= d8545e6 + +post-configure: + ${REINPLACE_CMD} '/NV_DRIVER_DATE/s/".*"/"${SNAPDATE}.${SNAPREV}"/' ${WRKSRC}/config.h + +GIT_WORK= ${WRKDIR}/${PORTNAME}.git-clone +GIT_REV= $$(echo $$(date -ur$$(git log --pretty=format:%ct -1 \ + ) +%Y%m%d).$$(git log --pretty=format:%h -1)) + +maint-gen-distfile: + git clone git://anongit.freedesktop.org/git/nouveau/xf86-video-nouveau \ + ${GIT_WORK} + + ( cd ${GIT_WORK}; \ + git log --stat >ChangeLog; \ + autoreconf -if; \ + ${TAR} cjf ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME:S/${SNAPDATE}.${SNAPREV}$$//}${GIT_REV}.tar.bz2 \ + --exclude '.git*' --exclude autogen.sh --exclude autom4te.cache \ + -s "|${GIT_WORK}|${DISTNAME:S/${SNAPDATE}.${SNAPREV}$$//}${GIT_REV}|" \ + ${GIT_WORK} ) + + ${RM} -rf ${GIT_WORK} .include Index: x11-drivers/xf86-video-nouveau/distinfo =================================================================== RCS file: /home/csup/ports/x11-drivers/xf86-video-nouveau/distinfo,v retrieving revision 1.1 diff -u -p -r1.1 distinfo --- x11-drivers/xf86-video-nouveau/distinfo 21 Feb 2009 02:08:17 -0000 1.1 +++ x11-drivers/xf86-video-nouveau/distinfo 10 Apr 2009 03:55:49 -0000 @@ -1,3 +1,3 @@ -MD5 (xorg/driver/xf86-video-nouveau-0.0.10.20090129.tar.bz2) = ea4663197027d798b2d287b315721832 -SHA256 (xorg/driver/xf86-video-nouveau-0.0.10.20090129.tar.bz2) = a8fe3ba39aa691535c7423134bc6b6224c6bd8fbfdee3ed523301892976c6bdf -SIZE (xorg/driver/xf86-video-nouveau-0.0.10.20090129.tar.bz2) = 569851 +MD5 (xorg/driver/xf86-video-nouveau-0.0.10.20090408.d8545e6.tar.bz2) = 84d00c5524502e618b6629d37aa7190c +SHA256 (xorg/driver/xf86-video-nouveau-0.0.10.20090408.d8545e6.tar.bz2) = 29b017bb1b8590c967e5472747a177e3ce7af43bbd48b23eb9f6fd95d252c9da +SIZE (xorg/driver/xf86-video-nouveau-0.0.10.20090408.d8545e6.tar.bz2) = 531494 --- xf86-video-nouveau-20090408.d8545e6.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: