Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-7]: src/external/mit/xorg Add three miissing files for ticket #13...



details:   https://anonhg.NetBSD.org/src/rev/bd883296b910
branches:  netbsd-7
changeset: 800056:bd883296b910
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Mon Dec 12 10:01:17 2016 +0000

description:
Add three miissing files for ticket #1305 requested by snj.

diffstat:

 external/mit/xorg/lib/libdrm_nouveau/Makefile                |  25 +++++
 external/mit/xorg/lib/libdrm_nouveau/shlib_version           |   4 +
 external/mit/xorg/server/drivers/xf86-video-nouveau/Makefile |  51 ++++++++++++
 3 files changed, 80 insertions(+), 0 deletions(-)

diffs (92 lines):

diff -r f49313d53fdc -r bd883296b910 external/mit/xorg/lib/libdrm_nouveau/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/xorg/lib/libdrm_nouveau/Makefile     Mon Dec 12 10:01:17 2016 +0000
@@ -0,0 +1,25 @@
+#      $NetBSD: Makefile,v 1.2.2.2 2016/12/12 10:01:17 msaitoh Exp $
+
+.include <bsd.own.mk>
+
+LIB=   drm_nouveau
+.PATH: ${X11SRCDIR.drm}
+.PATH: ${X11SRCDIR.drm}/nouveau
+
+SRCS=  nouveau.c \
+       pushbuf.c \
+       bufctx.c \
+       abi16.c
+
+CPPFLAGS+=     -I${DESTDIR}${X11INCDIR}/libdrm
+CPPFLAGS+=     -I${DESTDIR}${X11INCDIR}/X11 -I${X11SRCDIR.drm}
+
+LIBDPLIBS=     drm     ${.CURDIR}/../libdrm
+
+PKGCONFIG=     libdrm_nouveau
+PKGDIST=       drm
+
+.include "../libdrm/Makefile.defines"
+
+.include <bsd.x11.mk>
+.include <bsd.lib.mk>
diff -r f49313d53fdc -r bd883296b910 external/mit/xorg/lib/libdrm_nouveau/shlib_version
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/xorg/lib/libdrm_nouveau/shlib_version        Mon Dec 12 10:01:17 2016 +0000
@@ -0,0 +1,4 @@
+#      $NetBSD: shlib_version,v 1.2.2.2 2016/12/12 10:01:17 msaitoh Exp $
+#
+major=2
+minor=0
diff -r f49313d53fdc -r bd883296b910 external/mit/xorg/server/drivers/xf86-video-nouveau/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/xorg/server/drivers/xf86-video-nouveau/Makefile      Mon Dec 12 10:01:17 2016 +0000
@@ -0,0 +1,51 @@
+#      $NetBSD: Makefile,v 1.6.2.2 2016/12/12 10:01:17 msaitoh Exp $
+
+DRIVER=                xf86-video-nouveau
+DRIVER_NAME=   nouveau_drv
+
+SRCS=          nouveau_copy.c \
+               nouveau_copy85b5.c \
+               nouveau_copy90b5.c \
+               nouveau_copya0b5.c \
+               nouveau_exa.c \
+               nouveau_xv.c \
+               nouveau_dri2.c \
+               nouveau_present.c \
+               nouveau_sync.c \
+               nouveau_wfb.c \
+               nv_accel_common.c \
+               nv_driver.c \
+               nv_shadow.c \
+               nv04_exa.c \
+               nv04_xv_ovl.c \
+               nv04_xv_blit.c \
+               nv10_exa.c \
+               nv10_xv_ovl.c \
+               nv30_exa.c \
+               nv30_xv_tex.c \
+               nv40_exa.c \
+               nv40_xv_tex.c \
+               nv50_accel.c \
+               nv50_exa.c \
+               nv50_xv.c \
+               nvc0_accel.c \
+               nvc0_exa.c \
+               nvc0_xv.c \
+               drmmode_display.c \
+               vl_hwmc.c
+
+LIBDPLIBS+=    drm_nouveau ${.CURDIR}/../../../lib/libdrm_nouveau
+
+MAN=           nouveau.4
+
+CPPFLAGS+=     -I${DESTDIR}${X11INCDIR}/libdrm
+
+CPPFLAGS+=     -DNV_MAJOR_VERSION=${PACKAGE_MAJOR}
+CPPFLAGS+=     -DNV_MINOR_VERSION=${PACKAGE_MINOR}
+CPPFLAGS+=     -DNV_PATCHLEVEL=${PACKAGE_PATCH}
+CPPFLAGS+=     -DNV_DRIVER_DATE=${DRIVER_DATE}
+
+.include "../Makefile.xf86-driver"
+
+# from pkgsrc/x11/xf86-video-nouveau/patches/patch-configure
+DRIVER_DATE!=awk '/^Date:/{print "\"" $0 "\"";exit}' ${X11SRCDIR.${DRIVER}}/ChangeLog



Home | Main Index | Thread Index | Old Index