summaryrefslogtreecommitdiff
path: root/x11/xf86-video-nouveau
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2015-07-02 03:37:48 +0000
committerrodent <rodent@pkgsrc.org>2015-07-02 03:37:48 +0000
commitfeb0734984b0a8500d941218b59707df35be7530 (patch)
tree21ea8bff787e37c4429759771cfcdec7f10a86ee /x11/xf86-video-nouveau
parent5bf1c7b07516398bd8fbdac42d9335c052a0b05d (diff)
downloadpkgsrc-feb0734984b0a8500d941218b59707df35be7530.tar.gz
Adding:
xf86-input-elographics xf86-input-fpit xf86-input-hyperpen xf86-input-joystick xf86-input-mutouch xf86-video-modesetting xf86-video-nouveau xf86-video-qxl xf86-video-suncg6 xf86-video-suntcx xf86-video-voodoo from pkgsrc-wip on request from wiz@ last quarter. LICENSE will be fixed later.
Diffstat (limited to 'x11/xf86-video-nouveau')
-rw-r--r--x11/xf86-video-nouveau/DESCR1
-rw-r--r--x11/xf86-video-nouveau/Makefile34
-rw-r--r--x11/xf86-video-nouveau/PLIST3
-rw-r--r--x11/xf86-video-nouveau/distinfo5
-rw-r--r--x11/xf86-video-nouveau/patches/patch-aa16
5 files changed, 59 insertions, 0 deletions
diff --git a/x11/xf86-video-nouveau/DESCR b/x11/xf86-video-nouveau/DESCR
new file mode 100644
index 00000000000..fb170052af9
--- /dev/null
+++ b/x11/xf86-video-nouveau/DESCR
@@ -0,0 +1 @@
+New NVidia driver.
diff --git a/x11/xf86-video-nouveau/Makefile b/x11/xf86-video-nouveau/Makefile
new file mode 100644
index 00000000000..9e54ef2dd5f
--- /dev/null
+++ b/x11/xf86-video-nouveau/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1 2015/07/02 03:37:49 rodent Exp $
+
+DISTNAME= xf86-video-nouveau-1.0.11
+CATEGORIES= x11
+MASTER_SITES= http://xorg.freedesktop.org/archive/individual/driver/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://xorg.freedesktop.org/
+COMMENT= New (or nouveau) NVidia driver for modular X.org
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+CONFIGURE_ENV+= DRIVER_MAN_SUFFIX=4
+.endif
+
+.include "../../x11/modular-xorg-server/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../x11/libdrm/buildlink3.mk"
+.include "../../x11/xextproto/buildlink3.mk"
+.include "../../x11/videoproto/buildlink3.mk"
+.include "../../x11/renderproto/buildlink3.mk"
+.include "../../x11/randrproto/buildlink3.mk"
+.include "../../x11/randrproto/buildlink3.mk"
+.include "../../x11/xf86driproto/buildlink3.mk"
+.include "../../x11/xproto/buildlink3.mk"
+.include "../../x11/fontsproto/buildlink3.mk"
+.include "../../x11/glproto/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/xf86-video-nouveau/PLIST b/x11/xf86-video-nouveau/PLIST
new file mode 100644
index 00000000000..4953e81423c
--- /dev/null
+++ b/x11/xf86-video-nouveau/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2015/07/02 03:37:49 rodent Exp $
+lib/xorg/modules/drivers/nouveau_drv.la
+man/man4/nouveau.4
diff --git a/x11/xf86-video-nouveau/distinfo b/x11/xf86-video-nouveau/distinfo
new file mode 100644
index 00000000000..7b6ffbc75b5
--- /dev/null
+++ b/x11/xf86-video-nouveau/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/07/02 03:37:49 rodent Exp $
+
+SHA1 (xf86-video-nouveau-1.0.11.tar.bz2) = ea94037f8dd05c223dd89c79a2e655ff58425892
+RMD160 (xf86-video-nouveau-1.0.11.tar.bz2) = fb456dd3f9a20f492860040f3b7b70e107d68e61
+Size (xf86-video-nouveau-1.0.11.tar.bz2) = 582436 bytes
diff --git a/x11/xf86-video-nouveau/patches/patch-aa b/x11/xf86-video-nouveau/patches/patch-aa
new file mode 100644
index 00000000000..92cbefb15e8
--- /dev/null
+++ b/x11/xf86-video-nouveau/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1 2015/07/02 03:37:49 rodent Exp $
+
+--- src/nv_bios.c.orig 2008-06-02 01:28:36.000000000 -0400
++++ src/nv_bios.c
+@@ -23,7 +23,11 @@
+ */
+
+ #include "nv_include.h"
++#ifdef __NetBSD__
++#include <sys/endian.h>
++#else
+ #include <byteswap.h>
++#endif
+
+ /* FIXME: put these somewhere */
+ #define SEQ_INDEX VGA_SEQ_INDEX