diff options
author | kwm <kwm@058c260c-8361-11dd-a0ac-aa2bafec7d09> | 2012-01-06 00:04:47 +0800 |
---|---|---|
committer | kwm <kwm@058c260c-8361-11dd-a0ac-aa2bafec7d09> | 2012-01-06 00:04:47 +0800 |
commit | 021d3cf26b462240b8018c6110e43f950484d57f (patch) | |
tree | 3ac92c1b9f72b40a6cc66daf335b6b13fa48028f | |
parent | 8887e734ceae8eeb4b73cee7adea8eb1981bd80e (diff) | |
download | xorg-devel-ports-021d3cf26b462240b8018c6110e43f950484d57f.tar.gz xorg-devel-ports-021d3cf26b462240b8018c6110e43f950484d57f.tar.zst xorg-devel-ports-021d3cf26b462240b8018c6110e43f950484d57f.zip |
Add nouveau driver and mark it ignore. It doesn't work with libGL higher
then 7.4.x. Also I'm not sure if the kernel patch works. The nvidia blob
works both on i386 and amd64 soo...
git-svn-id: https://trillian.chruetertee.ch/svn/ports/branches/xorg-dev@343 058c260c-8361-11dd-a0ac-aa2bafec7d09
-rw-r--r-- | x11-drivers/xf86-video-nouveau/Makefile | 60 | ||||
-rw-r--r-- | x11-drivers/xf86-video-nouveau/Makefile.rev | 2 | ||||
-rw-r--r-- | x11-drivers/xf86-video-nouveau/distinfo | 2 | ||||
-rw-r--r-- | x11-drivers/xf86-video-nouveau/pkg-descr | 7 | ||||
-rw-r--r-- | x11-drivers/xf86-video-nouveau/pkg-message | 15 | ||||
-rw-r--r-- | x11-drivers/xf86-video-nouveau/pkg-plist | 5 |
6 files changed, 91 insertions, 0 deletions
diff --git a/x11-drivers/xf86-video-nouveau/Makefile b/x11-drivers/xf86-video-nouveau/Makefile new file mode 100644 index 0000000..62ab26e --- /dev/null +++ b/x11-drivers/xf86-video-nouveau/Makefile @@ -0,0 +1,60 @@ +# New ports collection makefile for: xf86-video-nouveau +# Date Created: 29 Jan 2009 +# Whom: Anonymous <swell.k@gmail.com> +# +# $FreeBSD: ports/x11-drivers/xf86-video-nouveau/Makefile,v 1.14 2011/11/09 15:25:59 miwi Exp $ +# + +PORTNAME= xf86-video-nouveau +PORTVERSION= 0.0.10.${SNAPDATE} +DISTVERSIONSUFFIX=.${SNAPREV} +PORTREVISION= 3 +CATEGORIES= x11-drivers +MASTER_SITES= ftp://ftp.lissyara.su/users/Guest/distfiles/ + +MAINTAINER= x11@FreeBSD.org +COMMENT= Free nouveau display driver for nvidia-based cards + +XORG_CAT= driver +USE_XORG= videoproto xextproto xf86driproto glproto +MAN4= nouveau.4x + +MAKE_JOBS_SAFE= yes + +# also doesn't work with mesa (libGL) version higher then 7.4.x +IGNORE= Not supported, missing kernel support. use the nvidia driver. + +post-configure: + ${REINPLACE_CMD} '/NV_DRIVER_DATE/s/".*"/"${SNAPDATE}.${SNAPREV}"/' ${WRKSRC}/config.h + +post-install: .SILENT + ${ECHO_MSG} + ${CAT} ${PKGMESSAGE} + ${ECHO_MSG} + +GIT_WORK= ${WRKDIR}/${PORTNAME}.git-clone +GIT_DATE= $$(date -ur$$(git log --pretty=format:%ct -1 ) +%Y%m%d) +GIT_REV= $$(git log --pretty=format:%h -1) +NEWDISTNAME= ${DISTNAME:S/${SNAPDATE}.${SNAPREV}$$//}${GIT_DATE}.${GIT_REV} + +maint-gen-distfile: + git clone git://anongit.freedesktop.org/nouveau/xf86-video-nouveau \ + ${GIT_WORK} + + ( cd ${GIT_WORK}; \ + git log --stat >ChangeLog; \ + autoreconf -if; \ + ${TAR} cjf ${DISTDIR}/${DIST_SUBDIR}/${NEWDISTNAME}${EXTRACT_SUFX} \ + --exclude '.git*' --exclude autogen.sh \ + --exclude autom4te.cache \ + -s "|${GIT_WORK}|${NEWDISTNAME}|" \ + ${GIT_WORK}; \ + ${ECHO_CMD} "SNAPDATE= ${GIT_DATE}" \ + >${MASTERDIR}/Makefile.rev; \ + ${ECHO_CMD} "SNAPREV= ${GIT_REV}" \ + >>${MASTERDIR}/Makefile.rev ) + + ${RM} -rf ${GIT_WORK} + +.include "Makefile.rev" +.include <bsd.port.mk> diff --git a/x11-drivers/xf86-video-nouveau/Makefile.rev b/x11-drivers/xf86-video-nouveau/Makefile.rev new file mode 100644 index 0000000..b8cc5e2 --- /dev/null +++ b/x11-drivers/xf86-video-nouveau/Makefile.rev @@ -0,0 +1,2 @@ +SNAPDATE= 20090728 +SNAPREV= e259925 diff --git a/x11-drivers/xf86-video-nouveau/distinfo b/x11-drivers/xf86-video-nouveau/distinfo new file mode 100644 index 0000000..9b4fe63 --- /dev/null +++ b/x11-drivers/xf86-video-nouveau/distinfo @@ -0,0 +1,2 @@ +SHA256 (xorg/driver/xf86-video-nouveau-0.0.10.20090728.e259925.tar.bz2) = 48e328a04a2dc9ea5dfebd21eae7c23987dcf53dcd3db7bee477d873cbb31906 +SIZE (xorg/driver/xf86-video-nouveau-0.0.10.20090728.e259925.tar.bz2) = 552302 diff --git a/x11-drivers/xf86-video-nouveau/pkg-descr b/x11-drivers/xf86-video-nouveau/pkg-descr new file mode 100644 index 0000000..9c753dc --- /dev/null +++ b/x11-drivers/xf86-video-nouveau/pkg-descr @@ -0,0 +1,7 @@ +nouveau is an X.Org Foundation and Freedesktop.org project which was +initially based on the obfuscated 2D-only free and open source "nv" +driver, aiming to develop free software drivers for NVIDIA graphics +cards, by reverse engineering NVIDIA's current proprietary drivers for +Linux. + +WWW: http://nouveau.freedesktop.org/ diff --git a/x11-drivers/xf86-video-nouveau/pkg-message b/x11-drivers/xf86-video-nouveau/pkg-message new file mode 100644 index 0000000..34c29a2 --- /dev/null +++ b/x11-drivers/xf86-video-nouveau/pkg-message @@ -0,0 +1,15 @@ +The DRM part is still not in the kernel tree and will not be there +until it stabilized. It won't happen anytime soon. So, consider using +the following patch in the meantime unless you don't want any hardware +accelerated 2D like EXA and Xvideo. + +http://people.freebsd.org/~rnoland/drm-nouveau-062309.patch + +Installing it should be as simple as below procedure provided you have +base sources in /usr/src. + + # cd /usr/src/sys + # fetch http://people.freebsd.org/~rnoland/drm-nouveau-062309.patch + # patch -sp0 -i drm-nouveau-062309.patch + # cd modules/drm + # make depend all install diff --git a/x11-drivers/xf86-video-nouveau/pkg-plist b/x11-drivers/xf86-video-nouveau/pkg-plist new file mode 100644 index 0000000..63ff28c --- /dev/null +++ b/x11-drivers/xf86-video-nouveau/pkg-plist @@ -0,0 +1,5 @@ +lib/xorg/modules/drivers/nouveau_drv.la +lib/xorg/modules/drivers/nouveau_drv.so +@dirrmtry lib/xorg/modules/drivers +@dirrmtry lib/xorg/modules +@dirrmtry lib/xorg |