CVS commit: src/external/mit/xorg/server/xorg-server

2021-08-11 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Wed Aug 11 23:02:39 UTC 2021

Modified Files:
src/external/mit/xorg/server/xorg-server/glamor: Makefile
src/external/mit/xorg/server/xorg-server/hw/xfree86/Xorg: Makefile

Log Message:
Fix glamor - don't use stub functions
${LDADD.gbm} seems to be empty - use -lgbm directly (couldn't find a better
fix)


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/external/mit/xorg/server/xorg-server/glamor/Makefile
cvs rdiff -u -r1.18 -r1.19 \
src/external/mit/xorg/server/xorg-server/hw/xfree86/Xorg/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/xorg-server/glamor/Makefile
diff -u src/external/mit/xorg/server/xorg-server/glamor/Makefile:1.3 src/external/mit/xorg/server/xorg-server/glamor/Makefile:1.4
--- src/external/mit/xorg/server/xorg-server/glamor/Makefile:1.3	Fri Sep  2 03:58:59 2016
+++ src/external/mit/xorg/server/xorg-server/glamor/Makefile	Wed Aug 11 23:02:39 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.3 2016/09/02 03:58:59 jakllsch Exp $
+#	$NetBSD: Makefile,v 1.4 2021/08/11 23:02:39 maya Exp $
 
 .include "../Makefile.serverlib"
 .include "../Makefile.servermod"
@@ -42,13 +42,19 @@ SRCS= \
 	glamor_sync.c
 SRCS+= \
 	glamor_xv.c
+.if ${HAVE_XORG_GLAMOR} == "no"
 SRCS+= \
 	glamor_egl_stubs.c
-SRCS.EGL= \
-	glamor_egl.c
+.else
+SRCS+= \
+	glamor_egl.c \
+	glamor_eglmodule.c
+.endif
 
 CPPFLAGS+=  -I${DESTDIR}${X11INCDIR}/xorg \
 		-I${DESTDIR}${X11INCDIR}/pixman-1 \
+		-I${DESTDIR}${X11INCDIR}/libdrm \
+		-I${X11SRCDIR.xorg-server}/glamor \
 		-I${X11SRCDIR.xorg-server}/../include
 CPPFLAGS+=  ${X11FLAGS.DIX}
 

Index: src/external/mit/xorg/server/xorg-server/hw/xfree86/Xorg/Makefile
diff -u src/external/mit/xorg/server/xorg-server/hw/xfree86/Xorg/Makefile:1.18 src/external/mit/xorg/server/xorg-server/hw/xfree86/Xorg/Makefile:1.19
--- src/external/mit/xorg/server/xorg-server/hw/xfree86/Xorg/Makefile:1.18	Sun Sep 13 23:01:02 2020
+++ src/external/mit/xorg/server/xorg-server/hw/xfree86/Xorg/Makefile	Wed Aug 11 23:02:39 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.18 2020/09/13 23:01:02 mrg Exp $
+#	$NetBSD: Makefile,v 1.19 2021/08/11 23:02:39 maya Exp $
 
 .include 
 
@@ -33,7 +33,7 @@ LDADD+=	${LDADD.dix}
 LDADD+=	${LDADD.config}
 LDADD+=	${LDADD.dbe}
 .if ${HAVE_XORG_GLAMOR} != "no"  
-LDADD+=	${LDADD.glamor} ${LDADD.gbm}
+LDADD+=	${LDADD.glamor} -lgbm
 .endif
 LDADD+=	${LDADD.record}
 LDADD+=	${LDADD.hw/xfree86/loader}



CVS commit: src/external/mit/xorg/server/xorg-server/hw/xfree86/glamor_egl

2021-07-14 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Jul 14 06:34:33 UTC 2021

Modified Files:
src/external/mit/xorg/server/xorg-server/hw/xfree86/glamor_egl:
Makefile

Log Message:
find libgbm in libgbm.old.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
src/external/mit/xorg/server/xorg-server/hw/xfree86/glamor_egl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/xorg-server/hw/xfree86/glamor_egl/Makefile
diff -u src/external/mit/xorg/server/xorg-server/hw/xfree86/glamor_egl/Makefile:1.1 src/external/mit/xorg/server/xorg-server/hw/xfree86/glamor_egl/Makefile:1.2
--- src/external/mit/xorg/server/xorg-server/hw/xfree86/glamor_egl/Makefile:1.1	Tue Apr 16 21:21:51 2019
+++ src/external/mit/xorg/server/xorg-server/hw/xfree86/glamor_egl/Makefile	Wed Jul 14 06:34:33 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2019/04/16 21:21:51 mrg Exp $
+#	$NetBSD: Makefile,v 1.2 2021/07/14 06:34:33 mrg Exp $
 
 XMODULEDIR=	${X11USRLIBDIR}/modules
 
@@ -30,8 +30,10 @@ CPPFLAGS+=	\
 CPPFLAGS+=	\
 	-DGLAMOR_HAS_GBM
 
+.include "../../../../../lib/mesa-which.mk"
+
 LIBDPLIBS=	\
-	gbm	${.CURDIR}/../../../../../lib/libgbm
+	gbm	${.CURDIR}/../../../../../lib/libgbm${OLD_SUFFIX}
 
 .include 
 LIBDIR=	${XMODULEDIR}



CVS commit: src/external/mit/xorg/lib/libEGL

2021-07-12 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jul 13 05:22:27 UTC 2021

Modified Files:
src/external/mit/xorg/lib/libEGL: Makefile

Log Message:
also look for libgbm in ${OLD_SUFFIX}.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/mit/xorg/lib/libEGL/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/libEGL/Makefile
diff -u src/external/mit/xorg/lib/libEGL/Makefile:1.6 src/external/mit/xorg/lib/libEGL/Makefile:1.7
--- src/external/mit/xorg/lib/libEGL/Makefile:1.6	Mon Jul 12 09:40:31 2021
+++ src/external/mit/xorg/lib/libEGL/Makefile	Tue Jul 13 05:22:27 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2021/07/12 09:40:31 mrg Exp $
+#	$NetBSD: Makefile,v 1.7 2021/07/13 05:22:27 mrg Exp $
 
 .include 
 
@@ -102,7 +102,7 @@ LIBDPLIBS=	Xext		${.CURDIR}/../libXext \
 		Xdmcp		${.CURDIR}/../libXdmcp \
 		glapi		${.CURDIR}/../libglapi${OLD_SUFFIX} \
 		drm		${.CURDIR}/../libdrm \
-		gbm		${.CURDIR}/../libgbm \
+		gbm		${.CURDIR}/../libgbm${OLD_SUFFIX} \
 		xshmfence	${.CURDIR}/../libxshmfence \
 		X11-xcb		${.CURDIR}/../libX11/libX11-xcb \
 		xcb-dri2	${.CURDIR}/../libxcb/dri2 \



CVS commit: src/external/mit/xorg/lib/libEGL

2021-07-12 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Jul 12 09:40:31 UTC 2021

Modified Files:
src/external/mit/xorg/lib/libEGL: Makefile

Log Message:
look for libglapi in ${OLD_SUFFIX}.  noted by gson.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/mit/xorg/lib/libEGL/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/libEGL/Makefile
diff -u src/external/mit/xorg/lib/libEGL/Makefile:1.5 src/external/mit/xorg/lib/libEGL/Makefile:1.6
--- src/external/mit/xorg/lib/libEGL/Makefile:1.5	Tue Sep 24 19:29:42 2019
+++ src/external/mit/xorg/lib/libEGL/Makefile	Mon Jul 12 09:40:31 2021
@@ -1,7 +1,9 @@
-#	$NetBSD: Makefile,v 1.5 2019/09/24 19:29:42 maya Exp $
+#	$NetBSD: Makefile,v 1.6 2021/07/12 09:40:31 mrg Exp $
 
 .include 
 
+.include "../mesa-which.mk"
+
 LIB=		EGL
 LIBISCXX=	yes
 
@@ -98,7 +100,7 @@ LIBDPLIBS=	Xext		${.CURDIR}/../libXext \
 		Xfixes		${.CURDIR}/../libXfixes \
 		Xdamage		${.CURDIR}/../libXdamage \
 		Xdmcp		${.CURDIR}/../libXdmcp \
-		glapi		${.CURDIR}/../libglapi \
+		glapi		${.CURDIR}/../libglapi${OLD_SUFFIX} \
 		drm		${.CURDIR}/../libdrm \
 		gbm		${.CURDIR}/../libgbm \
 		xshmfence	${.CURDIR}/../libxshmfence \



CVS commit: src/external/mit/xorg/lib

2021-07-11 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Jul 11 20:53:35 UTC 2021

Modified Files:
src/external/mit/xorg/lib: driver.old.mk libglsl.old.mk
libloader.old.mk libmesa.old.mk
src/external/mit/xorg/lib/dri.old: Makefile
src/external/mit/xorg/lib/gallium.old: Makefile
src/external/mit/xorg/lib/libGL.old: Makefile mesa-ver.mk shlib_version
src/external/mit/xorg/lib/libGL.old/internal: Makefile
src/external/mit/xorg/lib/libgbm.old: Makefile shlib_version
src/external/mit/xorg/lib/libglapi.old: Makefile

Log Message:
copy the Mesa 19.7.1 build framework into .old.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/mit/xorg/lib/driver.old.mk \
src/external/mit/xorg/lib/libglsl.old.mk \
src/external/mit/xorg/lib/libloader.old.mk \
src/external/mit/xorg/lib/libmesa.old.mk
cvs rdiff -u -r1.1 -r1.2 src/external/mit/xorg/lib/dri.old/Makefile
cvs rdiff -u -r1.1 -r1.2 src/external/mit/xorg/lib/gallium.old/Makefile
cvs rdiff -u -r1.1 -r1.2 src/external/mit/xorg/lib/libGL.old/Makefile \
src/external/mit/xorg/lib/libGL.old/mesa-ver.mk \
src/external/mit/xorg/lib/libGL.old/shlib_version
cvs rdiff -u -r1.1 -r1.2 \
src/external/mit/xorg/lib/libGL.old/internal/Makefile
cvs rdiff -u -r1.1 -r1.2 src/external/mit/xorg/lib/libgbm.old/Makefile \
src/external/mit/xorg/lib/libgbm.old/shlib_version
cvs rdiff -u -r1.1 -r1.2 src/external/mit/xorg/lib/libglapi.old/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/driver.old.mk
diff -u src/external/mit/xorg/lib/driver.old.mk:1.1 src/external/mit/xorg/lib/driver.old.mk:1.2
--- src/external/mit/xorg/lib/driver.old.mk:1.1	Sun Mar 10 02:29:52 2019
+++ src/external/mit/xorg/lib/driver.old.mk	Sun Jul 11 20:53:35 2021
@@ -1,20 +1,48 @@
-#	$NetBSD: driver.old.mk,v 1.1 2019/03/10 02:29:52 mrg Exp $
+#	$NetBSD: driver.old.mk,v 1.2 2021/07/11 20:53:35 mrg Exp $
 
 # stuff both dri and gallium drivers need.
 
 # util
 .PATH:		${X11SRCDIR.Mesa}/src/util
-SRCS.util=	\
-	hash_table.c\
-MESAralloc.c
 .PATH:		${X11SRCDIR.Mesa}/../src/util
-SRCS.util+=	\
-	format_srgb.c
+
+SRCS.util=	\
+	hash_table.c \
+	build_id.c \
+	crc32.c \
+	disk_cache.c \
+	fast_idiv_by_const.c \
+	half_float.c \
+	format_srgb.c \
+	mesa-sha1.c \
+	os_time.c \
+	ralloc.c \
+	UTILdebug.c \
+	rand_xor.c \
+	rb_tree.c \
+	register_allocate.c \
+	rgtc.c \
+	set.c \
+	slab.c \
+	string_buffer.c \
+	strtod.c \
+	u_atomic.c \
+	u_cpu_detect.c \
+	u_math.c \
+	u_queue.c \
+	u_process.c \
+	u_vector.c \
+	vma.c
+
 CPPFLAGS.format_srgb.c+=	-I${X11SRCDIR.Mesa}/src/util
 CPPFLAGS.hash_table.c+=		-I${X11SRCDIR.Mesa}/src/util
 CPPFLAGS.MESAralloc.c+=		-I${X11SRCDIR.Mesa}/src/util
+CPPFLAGS.UTILdebug.c+=		-I${X11SRCDIR.Mesa}/src/util \
+-I${X11SRCDIR.Mesa}/src/mesa \
+-I${X11SRCDIR.Mesa}/src \
+-I${X11SRCDIR.Mesa}/src/gallium/include
 
-BUILDSYMLINKS+=	${X11SRCDIR.Mesa}/src/util/ralloc.c MESAralloc.c
+BUILDSYMLINKS+=	${X11SRCDIR.Mesa}/src/util/debug.c UTILdebug.c
 
 SRCS+=	${SRCS.util}
 
@@ -22,3 +50,6 @@ SRCS+=	${SRCS.util}
 .PATH: ${X11SRCDIR.Mesa}/src/mesa/drivers/dri/common
 SRCS+=	utils.c dri_util.c xmlconfig.c
 SRCS+=	megadriver_stub.c
+
+CPPFLAGS.dri_util.c+=		-I${X11SRCDIR.Mesa}/../src/util
+
Index: src/external/mit/xorg/lib/libglsl.old.mk
diff -u src/external/mit/xorg/lib/libglsl.old.mk:1.1 src/external/mit/xorg/lib/libglsl.old.mk:1.2
--- src/external/mit/xorg/lib/libglsl.old.mk:1.1	Sun Mar 10 02:29:52 2019
+++ src/external/mit/xorg/lib/libglsl.old.mk	Sun Jul 11 20:53:35 2021
@@ -1,10 +1,21 @@
-#	$NetBSD: libglsl.old.mk,v 1.1 2019/03/10 02:29:52 mrg Exp $
+#	$NetBSD: libglsl.old.mk,v 1.2 2021/07/11 20:53:35 mrg Exp $
 
 LIBGLSL_GENERATED_CXX_FILES = \
 	glsl_lexer.cpp \
 	glsl_parser.cpp 
 
-COPTS.glsl_lexer.cpp+=	-Wno-deprecated-register
+#COPTS.glsl_lexer.cpp+=	-Wno-deprecated-register
+COPTS.vtn_glsl450.c+=	${${ACTIVE_CC} == "clang":? -Wno-error=enum-conversion :}
+
+CPPFLAGS+=	-I${X11SRCDIR.Mesa}/src/compiler \
+		-I${X11SRCDIR.Mesa}/../src/compiler \
+		-I${X11SRCDIR.Mesa}/src/compiler/nir \
+		-I${X11SRCDIR.Mesa}/../src/compiler/nir \
+		-I${X11SRCDIR.Mesa}/src/compiler/glsl \
+		-I${X11SRCDIR.Mesa}/../src/compiler/glsl \
+		-I${X11SRCDIR.Mesa}/src/compiler/glsl/glcpp \
+		-I${X11SRCDIR.Mesa}/../src/compiler/glsl/glcpp \
+		-I${X11SRCDIR.Mesa}/src/compiler/spirv
 
 LIBGLSL_FILES = \
 	ast_array_index.cpp \
@@ -15,23 +26,34 @@ LIBGLSL_FILES = \
 	builtin_functions.cpp \
 	builtin_types.cpp \
 	builtin_variables.cpp \
+	generate_ir.cpp \
+	gl_nir_lower_atomics.c \
+	gl_nir_link_atomics.c \
+	gl_nir_link_uniform_initializers.c \
+	gl_nir_link_uniforms.c \
+	gl_nir_link_xfb.c \
+	gl_nir_linker.c \
+	gl_nir_lower_bindless_images.c \
+	gl_nir_lower_buffers.c \
+	gl_nir_lower_samplers.c \
+	gl_nir_lower_samplers_as_deref.c \
 	glsl_parser_extras.cpp \
-	

CVS commit: src/external/mit/xorg

2021-07-11 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Jul 11 20:52:07 UTC 2021

Modified Files:
src/external/mit/xorg/include: Makefile
src/external/mit/xorg/lib: Makefile mesa-which.mk
src/external/mit/xorg/lib/dri: Makefile
src/external/mit/xorg/lib/gallium: Makefile
src/external/mit/xorg/lib/libGL: Makefile
src/external/mit/xorg/lib/libGLU: Makefile
src/external/mit/xorg/lib/libGLw: Makefile
src/external/mit/xorg/lib/libgbm: Makefile
src/external/mit/xorg/server/drivers/xf86-video-radeon-kms: Makefile

Log Message:
xorg/lib stuff to enable mesa.old, prepare for new mesa

- rename OLD_PREFIX to OLD_SUFFIX, since it is
- include mesa-which.mk and use ${OLD_SUFFIX} in several places
- remove mesa < 18 support


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/mit/xorg/include/Makefile
cvs rdiff -u -r1.55 -r1.56 src/external/mit/xorg/lib/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/mit/xorg/lib/mesa-which.mk
cvs rdiff -u -r1.37 -r1.38 src/external/mit/xorg/lib/dri/Makefile
cvs rdiff -u -r1.47 -r1.48 src/external/mit/xorg/lib/gallium/Makefile
cvs rdiff -u -r1.31 -r1.32 src/external/mit/xorg/lib/libGL/Makefile
cvs rdiff -u -r1.20 -r1.21 src/external/mit/xorg/lib/libGLU/Makefile
cvs rdiff -u -r1.5 -r1.6 src/external/mit/xorg/lib/libGLw/Makefile
cvs rdiff -u -r1.7 -r1.8 src/external/mit/xorg/lib/libgbm/Makefile
cvs rdiff -u -r1.13 -r1.14 \
src/external/mit/xorg/server/drivers/xf86-video-radeon-kms/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/include/Makefile
diff -u src/external/mit/xorg/include/Makefile:1.9 src/external/mit/xorg/include/Makefile:1.10
--- src/external/mit/xorg/include/Makefile:1.9	Sun Mar 10 13:52:11 2019
+++ src/external/mit/xorg/include/Makefile	Sun Jul 11 20:52:06 2021
@@ -1,15 +1,13 @@
-#	$NetBSD: Makefile,v 1.9 2019/03/10 13:52:11 mrg Exp $
+#	$NetBSD: Makefile,v 1.10 2021/07/11 20:52:06 mrg Exp $
 
 # *proto packages for xorg
 
 .include 
 
-.if ${HAVE_MESA_VER} == 18
-SUBDIR=		KHR 
-.endif
 .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" || ${MACHINE} == "evbarm"
 SUBDIR+=	libvdpau
 .endif
+SUBDIR+=	KHR 
 SUBDIR+=	xorgproto xbitmaps xcb-proto
 SUBDIR+=	.WAIT xtrans
 

Index: src/external/mit/xorg/lib/Makefile
diff -u src/external/mit/xorg/lib/Makefile:1.55 src/external/mit/xorg/lib/Makefile:1.56
--- src/external/mit/xorg/lib/Makefile:1.55	Sun Jul 11 01:13:26 2021
+++ src/external/mit/xorg/lib/Makefile	Sun Jul 11 20:52:06 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.55 2021/07/11 01:13:26 mrg Exp $
+#	$NetBSD: Makefile,v 1.56 2021/07/11 20:52:06 mrg Exp $
 
 # build libraries for xorg
 
@@ -6,7 +6,7 @@
 
 .include "mesa-which.mk"
 
-SUBDIR=	libfontenc freetype libFS libICE libglapi${OLD_PREFIX} \
+SUBDIR=	libfontenc freetype libFS libICE libglapi${OLD_SUFFIX} \
 	libXau libXdmcp libdrm libpciaccess libpthread-stubs libxshmfence .WAIT
 .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
 SUBDIR+=libdrm_intel
@@ -23,7 +23,7 @@ SUBDIR+=libxcb \
 	libX11 \
 	.WAIT
 .if !defined(MLIBDIR)
-SUBDIR+=dri${OLD_PREFIX} gallium${OLD_PREFIX}
+SUBDIR+=dri${OLD_SUFFIX} gallium${OLD_SUFFIX}
 .endif
 SUBDIR+=fontconfig libSM \
 	.WAIT \
@@ -36,7 +36,7 @@ SUBDIR+=libvdpau \
 	.WAIT
 .endif
 SUBDIR+=libXi libXxf86vm \
-	libGL${OLD_PREFIX} libXScrnSaver libXfont libXfont2 \
+	libGL${OLD_SUFFIX} libXScrnSaver libXfont libXfont2 \
 	libXinerama libXmu libXmuu libXpm libXrender \
 	libXres libXtst libXvMC libXvMCW libXv libXxf86dga libXxf86misc \
 	libxkbui \
@@ -54,7 +54,7 @@ SUBDIR+=libGLU libGLw libXaw6 libXaw lib
 	.WAIT \
 	libXdmGreet \
 	xcb-util
-SUBDIR+=libgbm${OLD_PREFIX}
+SUBDIR+=libgbm${OLD_SUFFIX}
 .if ${HAVE_XORG_GLAMOR} != "no"
 # libEGL depends upon libgbm
 SUBDIR+=.WAIT libEGL

Index: src/external/mit/xorg/lib/mesa-which.mk
diff -u src/external/mit/xorg/lib/mesa-which.mk:1.2 src/external/mit/xorg/lib/mesa-which.mk:1.3
--- src/external/mit/xorg/lib/mesa-which.mk:1.2	Sun Jul 11 01:13:26 2021
+++ src/external/mit/xorg/lib/mesa-which.mk	Sun Jul 11 20:52:06 2021
@@ -1,6 +1,6 @@
-#	$NetBSD: mesa-which.mk,v 1.2 2021/07/11 01:13:26 mrg Exp $
+#	$NetBSD: mesa-which.mk,v 1.3 2021/07/11 20:52:06 mrg Exp $
 
-OLD_PREFIX=
+OLD_SUFFIX=
 .if ${EXTERNAL_MESALIB_DIR} == "MesaLib.old"
-OLD_PREFIX=.old
+OLD_SUFFIX=.old
 .endif

Index: src/external/mit/xorg/lib/dri/Makefile
diff -u src/external/mit/xorg/lib/dri/Makefile:1.37 src/external/mit/xorg/lib/dri/Makefile:1.38
--- src/external/mit/xorg/lib/dri/Makefile:1.37	Tue Apr 13 04:58:59 2021
+++ src/external/mit/xorg/lib/dri/Makefile	Sun Jul 11 20:52:06 2021
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile,v 1.37 2021/04/13 04:58:59 mrg Exp $
+# $NetBSD: Makefile,v 1.38 2021/07/11 20:52:06 mrg Exp $
 
 # Link the mesa_dri_drivers mega driver.
 
 .include 
 
+.include "../mesa-which.mk"
+
 .if ${MACHINE_ARCH} == "i386" || 

CVS commit: src/external/mit/xorg/lib

2021-07-10 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Jul 11 01:13:27 UTC 2021

Modified Files:
src/external/mit/xorg/lib: Makefile mesa-which.mk
Removed Files:
src/external/mit/xorg/lib/dri7: Makefile dri.mk libglsl7.mk libmesa7.mk
src/external/mit/xorg/lib/dri7/libmesa: Makefile
src/external/mit/xorg/lib/dri7/r300: Makefile

Log Message:
remove dead mesa7 support.


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/external/mit/xorg/lib/Makefile
cvs rdiff -u -r1.1 -r1.2 src/external/mit/xorg/lib/mesa-which.mk
cvs rdiff -u -r1.1 -r0 src/external/mit/xorg/lib/dri7/Makefile \
src/external/mit/xorg/lib/dri7/dri.mk \
src/external/mit/xorg/lib/dri7/libmesa7.mk
cvs rdiff -u -r1.2 -r0 src/external/mit/xorg/lib/dri7/libglsl7.mk
cvs rdiff -u -r1.1 -r0 src/external/mit/xorg/lib/dri7/libmesa/Makefile
cvs rdiff -u -r1.1 -r0 src/external/mit/xorg/lib/dri7/r300/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/Makefile
diff -u src/external/mit/xorg/lib/Makefile:1.54 src/external/mit/xorg/lib/Makefile:1.55
--- src/external/mit/xorg/lib/Makefile:1.54	Wed Oct 28 08:10:10 2020
+++ src/external/mit/xorg/lib/Makefile	Sun Jul 11 01:13:26 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.54 2020/10/28 08:10:10 nia Exp $
+#	$NetBSD: Makefile,v 1.55 2021/07/11 01:13:26 mrg Exp $
 
 # build libraries for xorg
 
@@ -23,7 +23,7 @@ SUBDIR+=libxcb \
 	libX11 \
 	.WAIT
 .if !defined(MLIBDIR)
-SUBDIR+=${EXTRA_DRI_DIRS} dri${OLD_PREFIX} gallium${OLD_PREFIX}
+SUBDIR+=dri${OLD_PREFIX} gallium${OLD_PREFIX}
 .endif
 SUBDIR+=fontconfig libSM \
 	.WAIT \

Index: src/external/mit/xorg/lib/mesa-which.mk
diff -u src/external/mit/xorg/lib/mesa-which.mk:1.1 src/external/mit/xorg/lib/mesa-which.mk:1.2
--- src/external/mit/xorg/lib/mesa-which.mk:1.1	Sun Mar 10 02:29:52 2019
+++ src/external/mit/xorg/lib/mesa-which.mk	Sun Jul 11 01:13:26 2021
@@ -1,7 +1,6 @@
-#	$NetBSD: mesa-which.mk,v 1.1 2019/03/10 02:29:52 mrg Exp $
+#	$NetBSD: mesa-which.mk,v 1.2 2021/07/11 01:13:26 mrg Exp $
 
 OLD_PREFIX=
 .if ${EXTERNAL_MESALIB_DIR} == "MesaLib.old"
 OLD_PREFIX=.old
-EXTRA_DRI_DIRS=dri7
 .endif



CVS commit: src/external/mit/xorg/lib/libdrm

2021-07-10 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Jul 11 00:43:40 UTC 2021

Modified Files:
src/external/mit/xorg/lib/libdrm: Makefile

Log Message:
also look in dist/../include.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/external/mit/xorg/lib/libdrm/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/libdrm/Makefile
diff -u src/external/mit/xorg/lib/libdrm/Makefile:1.17 src/external/mit/xorg/lib/libdrm/Makefile:1.18
--- src/external/mit/xorg/lib/libdrm/Makefile:1.17	Mon Aug 12 14:21:54 2019
+++ src/external/mit/xorg/lib/libdrm/Makefile	Sun Jul 11 00:43:40 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.17 2019/08/12 14:21:54 maya Exp $
+#	$NetBSD: Makefile,v 1.18 2021/07/11 00:43:40 mrg Exp $
 
 .include 
 
@@ -10,7 +10,7 @@ SRCS=	xf86drm.c xf86drmHash.c xf86drmMod
 INCS=	xf86drm.h xf86drmMode.h libsync.h
 INCSDIR=${X11INCDIR}
 
-CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/libdrm
+CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/libdrm -I${X11SRCDIR.${LIB}}/../include
 
 SUBDIR=	drm kms
 



CVS commit: src/external/mit/libuv/lib

2021-06-18 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Jun 18 22:12:02 UTC 2021

Modified Files:
src/external/mit/libuv/lib: Makefile

Log Message:
don't install the libuv.pc file for pic (but private) libs as well.

avoids triggering a makefs warning when building a file system out
of the DESTDIR directly, using the METALOG files etc:

makefs: Can't open `././libuv.pc' for reading: No such file or directory

(the file was installed, and the obsoleted.)


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/mit/libuv/lib/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/libuv/lib/Makefile
diff -u src/external/mit/libuv/lib/Makefile:1.4 src/external/mit/libuv/lib/Makefile:1.5
--- src/external/mit/libuv/lib/Makefile:1.4	Mon Jun  1 14:39:42 2020
+++ src/external/mit/libuv/lib/Makefile	Fri Jun 18 22:12:02 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2020/06/01 14:39:42 christos Exp $
+# $NetBSD: Makefile,v 1.5 2021/06/18 22:12:02 mrg Exp $
 
 LIBISPRIVATE=pic
 
@@ -61,7 +61,7 @@ CPPFLAGS+=	-I${LIBUVDIR}/include -I${LIB
 
 LIBDPLIBS+=	kvm ${NETBSDSRCDIR}/lib/libkvm
 
-.if ${LIBISPRIVATE} != "yes"
+.if ${LIBISPRIVATE} != "yes" && ${LIBISPRIVATE} != "pic"
 SHLIB_MAJOR=	1
 SHLIB_MINOR=	0
 



CVS commit: src/external/mit/xorg/server/drivers/xf86-input-keyboard

2021-06-03 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Thu Jun  3 07:37:01 UTC 2021

Modified Files:
src/external/mit/xorg/server/drivers/xf86-input-keyboard: Makefile

Log Message:
Sort ${MACHINE}'s. No functional changes.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 \
src/external/mit/xorg/server/drivers/xf86-input-keyboard/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/drivers/xf86-input-keyboard/Makefile
diff -u src/external/mit/xorg/server/drivers/xf86-input-keyboard/Makefile:1.18 src/external/mit/xorg/server/drivers/xf86-input-keyboard/Makefile:1.19
--- src/external/mit/xorg/server/drivers/xf86-input-keyboard/Makefile:1.18	Thu Jun  3 07:34:29 2021
+++ src/external/mit/xorg/server/drivers/xf86-input-keyboard/Makefile	Thu Jun  3 07:37:00 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.18 2021/06/03 07:34:29 rin Exp $
+#	$NetBSD: Makefile,v 1.19 2021/06/03 07:37:00 rin Exp $
 
 DRIVER=		xf86-input-keyboard
 DRIVER_NAME=	kbd_drv
@@ -13,11 +13,15 @@ CPPFLAGS+=	-DPCVT_SUPPORT
 # turns out we can't use wskbd everywhere without a couple more translation
 # tables in the X driver so make it the default only where we know it will work
 
-.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE} == "sparc" || \
-${MACHINE} == "sparc64" || ${MACHINE} == "sgimips" || \
-${MACHINE} == "shark" || ${MACHINE} == "vax" || \
-${MACHINE} == "evbarm" || ${MACHINE} == "mac68k" || \
-${MACHINE} == "amiga"
+.if ${MACHINE_ARCH} == "powerpc" || \
+${MACHINE} == "amiga" || \
+${MACHINE} == "evbarm" || \
+${MACHINE} == "mac68k" || \
+${MACHINE} == "sgimips" || \
+${MACHINE} == "shark" || \
+${MACHINE} == "sparc" || \
+${MACHINE} == "sparc64" || \
+${MACHINE} == "vax"
 CPPFLAGS+=	-DDEFAULT_TO_WSKBD
 .endif
 



CVS commit: src/external/mit/xorg/server/drivers/xf86-input-keyboard

2021-06-03 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Thu Jun  3 07:34:30 UTC 2021

Modified Files:
src/external/mit/xorg/server/drivers/xf86-input-keyboard: Makefile

Log Message:
For amiga, use wskbd as default, which is only supported protocol today.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 \
src/external/mit/xorg/server/drivers/xf86-input-keyboard/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/drivers/xf86-input-keyboard/Makefile
diff -u src/external/mit/xorg/server/drivers/xf86-input-keyboard/Makefile:1.17 src/external/mit/xorg/server/drivers/xf86-input-keyboard/Makefile:1.18
--- src/external/mit/xorg/server/drivers/xf86-input-keyboard/Makefile:1.17	Sat May 29 12:15:32 2021
+++ src/external/mit/xorg/server/drivers/xf86-input-keyboard/Makefile	Thu Jun  3 07:34:29 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.17 2021/05/29 12:15:32 rin Exp $
+#	$NetBSD: Makefile,v 1.18 2021/06/03 07:34:29 rin Exp $
 
 DRIVER=		xf86-input-keyboard
 DRIVER_NAME=	kbd_drv
@@ -16,7 +16,8 @@ CPPFLAGS+=	-DPCVT_SUPPORT
 .if ${MACHINE_ARCH} == "powerpc" || ${MACHINE} == "sparc" || \
 ${MACHINE} == "sparc64" || ${MACHINE} == "sgimips" || \
 ${MACHINE} == "shark" || ${MACHINE} == "vax" || \
-${MACHINE} == "evbarm" || ${MACHINE} == "mac68k"
+${MACHINE} == "evbarm" || ${MACHINE} == "mac68k" || \
+${MACHINE} == "amiga"
 CPPFLAGS+=	-DDEFAULT_TO_WSKBD
 .endif
 



CVS commit: src/external/mit/xorg/server/drivers

2021-05-31 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Mon May 31 21:45:41 UTC 2021

Modified Files:
src/external/mit/xorg/server/drivers: Makefile.xf86-driver
src/external/mit/xorg/server/drivers/xf86-video-amdgpu: Makefile

Log Message:
Stop using -fcommon, xsrc should be fixed.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 \
src/external/mit/xorg/server/drivers/Makefile.xf86-driver
cvs rdiff -u -r1.2 -r1.3 \
src/external/mit/xorg/server/drivers/xf86-video-amdgpu/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/drivers/Makefile.xf86-driver
diff -u src/external/mit/xorg/server/drivers/Makefile.xf86-driver:1.27 src/external/mit/xorg/server/drivers/Makefile.xf86-driver:1.28
--- src/external/mit/xorg/server/drivers/Makefile.xf86-driver:1.27	Mon Apr 12 03:57:06 2021
+++ src/external/mit/xorg/server/drivers/Makefile.xf86-driver	Mon May 31 21:45:41 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.xf86-driver,v 1.27 2021/04/12 03:57:06 mrg Exp $
+#	$NetBSD: Makefile.xf86-driver,v 1.28 2021/05/31 21:45:41 joerg Exp $
 
 LIBISMODULE=	yes
 SHLIB_MAJOR=	${PACKAGE_MAJOR}
@@ -49,9 +49,6 @@ CPPFLAGS+=	-DPACKAGE_VERSION_MINOR=${PAC
 CPPFLAGS+=	-DPACKAGE_VERSION_PATCHLEVEL=${PACKAGE_PATCH}
 CPPFLAGS+=	-DXORG_VERSION_CURRENT=${XORG_VERSION_CURRENT}
 
-# IOPortBase is particularly annoying to fix
-COPTS+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 10:? -fcommon :}
-
 .PATH:	${X11SRCDIR.${DRIVER}}/src
 .PATH:	${X11SRCDIR.${DRIVER}}/man
 .PATH:	${X11SRCDIR.${DRIVER}}

Index: src/external/mit/xorg/server/drivers/xf86-video-amdgpu/Makefile
diff -u src/external/mit/xorg/server/drivers/xf86-video-amdgpu/Makefile:1.2 src/external/mit/xorg/server/drivers/xf86-video-amdgpu/Makefile:1.3
--- src/external/mit/xorg/server/drivers/xf86-video-amdgpu/Makefile:1.2	Sun May 30 22:24:35 2021
+++ src/external/mit/xorg/server/drivers/xf86-video-amdgpu/Makefile	Mon May 31 21:45:41 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2021/05/30 22:24:35 joerg Exp $
+#	$NetBSD: Makefile,v 1.3 2021/05/31 21:45:41 joerg Exp $
 
 .include 
 
@@ -26,6 +26,5 @@ CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/X11 
 
 # XXX
 COPTS+=		-Wno-error
-COPTS+=		-fcommon
 
 .include "../Makefile.xf86-driver"



CVS commit: src/external/mit/xorg/server/drivers/xf86-video-geode

2021-05-30 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Mon May 31 00:04:15 UTC 2021

Modified Files:
src/external/mit/xorg/server/drivers/xf86-video-geode: Makefile

Log Message:
Use -fcommon


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 \
src/external/mit/xorg/server/drivers/xf86-video-geode/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/drivers/xf86-video-geode/Makefile
diff -u src/external/mit/xorg/server/drivers/xf86-video-geode/Makefile:1.6 src/external/mit/xorg/server/drivers/xf86-video-geode/Makefile:1.7
--- src/external/mit/xorg/server/drivers/xf86-video-geode/Makefile:1.6	Tue Jan  1 00:37:06 2019
+++ src/external/mit/xorg/server/drivers/xf86-video-geode/Makefile	Mon May 31 00:04:15 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2019/01/01 00:37:06 mrg Exp $
+#	$NetBSD: Makefile,v 1.7 2021/05/31 00:04:15 joerg Exp $
 
 DRIVER=		xf86-video-geode
 DRIVER_NAME=	geode_drv
@@ -54,6 +54,8 @@ COPTS.lx_panel.c+=	-Wno-error	# XXX
 
 CWARNFLAGS.clang+=	-Wno-empty-body
 
+COPTS+=		-fcommon
+
 .include "../Makefile.xf86-driver"
 
 XORG_PKG_VER_PROG=	${DRIVER}



CVS commit: src/external/mit/xorg/server/drivers

2021-05-30 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sun May 30 22:24:36 UTC 2021

Modified Files:
src/external/mit/xorg/server/drivers/xf86-video-amdgpu: Makefile
src/external/mit/xorg/server/drivers/xf86-video-intel: Makefile
src/external/mit/xorg/server/drivers/xf86-video-openchrome: Makefile
src/external/mit/xorg/server/drivers/xf86-video-radeon-kms: Makefile

Log Message:
Various X drivers still need -fcommon, so add it.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
src/external/mit/xorg/server/drivers/xf86-video-amdgpu/Makefile
cvs rdiff -u -r1.33 -r1.34 \
src/external/mit/xorg/server/drivers/xf86-video-intel/Makefile
cvs rdiff -u -r1.16 -r1.17 \
src/external/mit/xorg/server/drivers/xf86-video-openchrome/Makefile
cvs rdiff -u -r1.12 -r1.13 \
src/external/mit/xorg/server/drivers/xf86-video-radeon-kms/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/drivers/xf86-video-amdgpu/Makefile
diff -u src/external/mit/xorg/server/drivers/xf86-video-amdgpu/Makefile:1.1 src/external/mit/xorg/server/drivers/xf86-video-amdgpu/Makefile:1.2
--- src/external/mit/xorg/server/drivers/xf86-video-amdgpu/Makefile:1.1	Thu Aug 18 07:49:09 2016
+++ src/external/mit/xorg/server/drivers/xf86-video-amdgpu/Makefile	Sun May 30 22:24:35 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2016/08/18 07:49:09 mrg Exp $
+#	$NetBSD: Makefile,v 1.2 2021/05/30 22:24:35 joerg Exp $
 
 .include 
 
@@ -25,6 +25,7 @@ CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/X11 
 		-I${X11SRCDIR.${DRIVER}}/../include
 
 # XXX
-COPTS+=	-Wno-error
+COPTS+=		-Wno-error
+COPTS+=		-fcommon
 
 .include "../Makefile.xf86-driver"

Index: src/external/mit/xorg/server/drivers/xf86-video-intel/Makefile
diff -u src/external/mit/xorg/server/drivers/xf86-video-intel/Makefile:1.33 src/external/mit/xorg/server/drivers/xf86-video-intel/Makefile:1.34
--- src/external/mit/xorg/server/drivers/xf86-video-intel/Makefile:1.33	Mon Sep  7 00:24:37 2020
+++ src/external/mit/xorg/server/drivers/xf86-video-intel/Makefile	Sun May 30 22:24:35 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.33 2020/09/07 00:24:37 mrg Exp $
+#	$NetBSD: Makefile,v 1.34 2021/05/30 22:24:35 joerg Exp $
 
 .include 
 
@@ -218,6 +218,8 @@ SRCS+=		i810_xaa.c
 CWARNFLAGS.clang+=	-Wno-parentheses -Wno-tautological-compare \
 			-Wno-empty-body -Wno-error
 
+COPTS+=	-fcommon
+
 COPTS.sna_display.c+=	-Wno-stack-protector
 COPTS.sna_threads.c+=	-Wno-stack-protector
 COPTS.sna_trapezoids.c+=	-Wno-stack-protector

Index: src/external/mit/xorg/server/drivers/xf86-video-openchrome/Makefile
diff -u src/external/mit/xorg/server/drivers/xf86-video-openchrome/Makefile:1.16 src/external/mit/xorg/server/drivers/xf86-video-openchrome/Makefile:1.17
--- src/external/mit/xorg/server/drivers/xf86-video-openchrome/Makefile:1.16	Tue Jan  1 00:37:06 2019
+++ src/external/mit/xorg/server/drivers/xf86-video-openchrome/Makefile	Sun May 30 22:24:36 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.16 2019/01/01 00:37:06 mrg Exp $
+#	$NetBSD: Makefile,v 1.17 2021/05/30 22:24:36 joerg Exp $
 
 DRIVER=		xf86-video-openchrome
 DRIVER_NAME=	openchrome_drv
@@ -43,6 +43,8 @@ CPPFLAGS+=	-I${X11SRCDIR.${DRIVER}}/src
 CPPFLAGS+=	-DHAVE_CONFIG_H -I${X11SRCDIR.${DRIVER}}/../include
 CPPFLAGS+=	-DHAVE_XF86_CURSOR_RESET_CURSOR
 
+COPTS+=	-fcommon
+
 .include "../Makefile.xf86-driver"
 
 # XXX

Index: src/external/mit/xorg/server/drivers/xf86-video-radeon-kms/Makefile
diff -u src/external/mit/xorg/server/drivers/xf86-video-radeon-kms/Makefile:1.12 src/external/mit/xorg/server/drivers/xf86-video-radeon-kms/Makefile:1.13
--- src/external/mit/xorg/server/drivers/xf86-video-radeon-kms/Makefile:1.12	Sun Feb  9 12:28:28 2020
+++ src/external/mit/xorg/server/drivers/xf86-video-radeon-kms/Makefile	Sun May 30 22:24:36 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.12 2020/02/09 12:28:28 jmcneill Exp $
+#	$NetBSD: Makefile,v 1.13 2021/05/30 22:24:36 joerg Exp $
 
 .include 
 
@@ -61,4 +61,6 @@ CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/X11 
 
 LIBDPLIBS+=	gbm ${.CURDIR}/../../../lib/libgbm${OLD_PREFIX}
 
+COPTS+=		-fcommon
+
 .include "../Makefile.xf86-driver"



CVS commit: src/external/mit/xorg/server/drivers/xf86-video-pnozz

2021-05-29 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sun May 30 02:22:19 UTC 2021

Modified Files:
src/external/mit/xorg/server/drivers/xf86-video-pnozz: Makefile

Log Message:
Ignore pointer sign cast issues with clang.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/external/mit/xorg/server/drivers/xf86-video-pnozz/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/drivers/xf86-video-pnozz/Makefile
diff -u src/external/mit/xorg/server/drivers/xf86-video-pnozz/Makefile:1.2 src/external/mit/xorg/server/drivers/xf86-video-pnozz/Makefile:1.3
--- src/external/mit/xorg/server/drivers/xf86-video-pnozz/Makefile:1.2	Thu May 27 04:53:44 2021
+++ src/external/mit/xorg/server/drivers/xf86-video-pnozz/Makefile	Sun May 30 02:22:19 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2021/05/27 04:53:44 jdc Exp $
+#	$NetBSD: Makefile,v 1.3 2021/05/30 02:22:19 joerg Exp $
 
 DRIVER=		xf86-video-pnozz
 DRIVER_NAME=	pnozz_drv
@@ -14,3 +14,4 @@ MAN=		pnozz.4
 # XXX
 COPTS.pnozz_accel.c+=	${${ACTIVE_CC} == "gcc":? -Wno-error=discarded-qualifiers :}
 COPTS.pnozz_accel.c+=	${${ACTIVE_CC} == "clang":? -Wno-error=incompatible-pointer-types-discards-qualifiers :}
+COPTS.pnozz_cursor.c+=	${${ACTIVE_CC} == "clang":? -Wno-error=pointer-sign :}



CVS commit: src/external/mit/xorg/lib/libXaw

2021-05-29 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sun May 30 02:20:09 UTC 2021

Modified Files:
src/external/mit/xorg/lib/libXaw: Makefile Makefile.common

Log Message:
Ignore pointer cast warnings for clang, too. Use -Wno-format more
selectively.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/external/mit/xorg/lib/libXaw/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/mit/xorg/lib/libXaw/Makefile.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/libXaw/Makefile
diff -u src/external/mit/xorg/lib/libXaw/Makefile:1.16 src/external/mit/xorg/lib/libXaw/Makefile:1.17
--- src/external/mit/xorg/lib/libXaw/Makefile:1.16	Mon Apr 26 21:53:53 2021
+++ src/external/mit/xorg/lib/libXaw/Makefile	Sun May 30 02:20:09 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.16 2021/04/26 21:53:53 mrg Exp $
+#	$NetBSD: Makefile,v 1.17 2021/05/30 02:20:09 joerg Exp $
 
 .include 
 
@@ -66,5 +66,3 @@ X11EXTRAMANTRANSFORMS+= \
 
 .include 
 .include 
-
-CWARNFLAGS.clang+=	-Wno-format

Index: src/external/mit/xorg/lib/libXaw/Makefile.common
diff -u src/external/mit/xorg/lib/libXaw/Makefile.common:1.2 src/external/mit/xorg/lib/libXaw/Makefile.common:1.3
--- src/external/mit/xorg/lib/libXaw/Makefile.common:1.2	Tue May  4 17:47:05 2021
+++ src/external/mit/xorg/lib/libXaw/Makefile.common	Sun May 30 02:20:09 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.common,v 1.2 2021/05/04 17:47:05 rillig Exp $
+#	$NetBSD: Makefile.common,v 1.3 2021/05/30 02:20:09 joerg Exp $
 
 CPPFLAGS+=	-DHAVE_WCHAR_H		\
 		-DHAVE_WCTYPE_H		\
@@ -17,5 +17,8 @@ LIBDPLIBS=\
 	Xext	${.CURDIR}/../libXext \
 	X11	${.CURDIR}/../libX11/dynamic
 
+COPTS.Converters.c+=	${${ACTIVE_CC} == "clang":? -Wno-format :}
 COPTS.Pixmap.c+=	${${ACTIVE_CC} == "gcc":? -Wno-discarded-qualifiers :}
+COPTS.Pixmap.c+=	${${ACTIVE_CC} == "clang":? -Wno-incompatible-pointer-types-discards-qualifiers :}
 COPTS.TextAction.c+=	${${ACTIVE_CC} == "gcc":? -Wno-discarded-qualifiers :}
+COPTS.TextAction.c+=	${${ACTIVE_CC} == "clang":? -Wno-incompatible-pointer-types-discards-qualifiers :}



CVS commit: src/external/mit/xorg/server/drivers/xf86-input-keyboard

2021-05-29 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sat May 29 12:15:32 UTC 2021

Modified Files:
src/external/mit/xorg/server/drivers/xf86-input-keyboard: Makefile

Log Message:
Make wskbd(4) default for mac68k; no other protocol is available.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 \
src/external/mit/xorg/server/drivers/xf86-input-keyboard/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/drivers/xf86-input-keyboard/Makefile
diff -u src/external/mit/xorg/server/drivers/xf86-input-keyboard/Makefile:1.16 src/external/mit/xorg/server/drivers/xf86-input-keyboard/Makefile:1.17
--- src/external/mit/xorg/server/drivers/xf86-input-keyboard/Makefile:1.16	Mon Dec 31 11:58:43 2018
+++ src/external/mit/xorg/server/drivers/xf86-input-keyboard/Makefile	Sat May 29 12:15:32 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.16 2018/12/31 11:58:43 mrg Exp $
+#	$NetBSD: Makefile,v 1.17 2021/05/29 12:15:32 rin Exp $
 
 DRIVER=		xf86-input-keyboard
 DRIVER_NAME=	kbd_drv
@@ -16,7 +16,7 @@ CPPFLAGS+=	-DPCVT_SUPPORT
 .if ${MACHINE_ARCH} == "powerpc" || ${MACHINE} == "sparc" || \
 ${MACHINE} == "sparc64" || ${MACHINE} == "sgimips" || \
 ${MACHINE} == "shark" || ${MACHINE} == "vax" || \
-${MACHINE} == "evbarm"
+${MACHINE} == "evbarm" || ${MACHINE} == "mac68k"
 CPPFLAGS+=	-DDEFAULT_TO_WSKBD
 .endif
 



CVS commit: src/external/mit/xorg/server/drivers

2021-05-26 Thread Julian Coleman
Module Name:src
Committed By:   jdc
Date:   Thu May 27 04:54:21 UTC 2021

Modified Files:
src/external/mit/xorg/server/drivers: Makefile

Log Message:
Restore the build of the pnozz driver on sparc, now that it has EXA support.


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/external/mit/xorg/server/drivers/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/drivers/Makefile
diff -u src/external/mit/xorg/server/drivers/Makefile:1.101 src/external/mit/xorg/server/drivers/Makefile:1.102
--- src/external/mit/xorg/server/drivers/Makefile:1.101	Sun Mar  7 10:42:27 2021
+++ src/external/mit/xorg/server/drivers/Makefile	Thu May 27 04:54:21 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.101 2021/03/07 10:42:27 rin Exp $
+#	$NetBSD: Makefile,v 1.102 2021/05/27 04:54:21 jdc Exp $
 
 .include 
 
@@ -335,6 +335,7 @@ SUBDIR+= \
 
 .if ${MACHINE} == "sparc"
 SUBDIR+= \
+	xf86-video-pnozz \
 	xf86-video-suncg14 \
 	xf86-video-suntcx
 



CVS commit: src/external/mit/xorg/server/drivers/xf86-video-pnozz

2021-05-26 Thread Julian Coleman
Module Name:src
Committed By:   jdc
Date:   Thu May 27 04:53:44 UTC 2021

Modified Files:
src/external/mit/xorg/server/drivers/xf86-video-pnozz: Makefile

Log Message:
Update the pnozz files list for EXA support.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
src/external/mit/xorg/server/drivers/xf86-video-pnozz/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/drivers/xf86-video-pnozz/Makefile
diff -u src/external/mit/xorg/server/drivers/xf86-video-pnozz/Makefile:1.1 src/external/mit/xorg/server/drivers/xf86-video-pnozz/Makefile:1.2
--- src/external/mit/xorg/server/drivers/xf86-video-pnozz/Makefile:1.1	Wed Aug 26 22:30:46 2009
+++ src/external/mit/xorg/server/drivers/xf86-video-pnozz/Makefile	Thu May 27 04:53:44 2021
@@ -1,12 +1,16 @@
-#	$NetBSD: Makefile,v 1.1 2009/08/26 22:30:46 macallan Exp $
+#	$NetBSD: Makefile,v 1.2 2021/05/27 04:53:44 jdc Exp $
 
 DRIVER=		xf86-video-pnozz
 DRIVER_NAME=	pnozz_drv
 
-SRCS=		pnozz_driver.c pnozz_cursor.c pnozz_accel.c
+SRCS=		pnozz_driver.c pnozz_cursor.c pnozz_accel.c pnozz_exa.c
 
 CPPFLAGS+=	${X11FLAGS.DRI}
 
 MAN=		pnozz.4
 
 .include "../Makefile.xf86-driver"
+
+# XXX
+COPTS.pnozz_accel.c+=	${${ACTIVE_CC} == "gcc":? -Wno-error=discarded-qualifiers :}
+COPTS.pnozz_accel.c+=	${${ACTIVE_CC} == "clang":? -Wno-error=incompatible-pointer-types-discards-qualifiers :}



CVS commit: src/external/mit/xorg/lib/libXaw

2021-05-04 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue May  4 17:47:05 UTC 2021

Modified Files:
src/external/mit/xorg/lib/libXaw: Makefile.common

Log Message:
libXaw: fix Clang build

--- Pixmap.pico ---
error: unknown warning option '-Wno-discarded-qualifiers'; did you mean
'-Wno-ignored-qualifiers'? [-Werror,-Wunknown-warning-option]


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/mit/xorg/lib/libXaw/Makefile.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/libXaw/Makefile.common
diff -u src/external/mit/xorg/lib/libXaw/Makefile.common:1.1 src/external/mit/xorg/lib/libXaw/Makefile.common:1.2
--- src/external/mit/xorg/lib/libXaw/Makefile.common:1.1	Mon Apr 26 21:53:53 2021
+++ src/external/mit/xorg/lib/libXaw/Makefile.common	Tue May  4 17:47:05 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.common,v 1.1 2021/04/26 21:53:53 mrg Exp $
+#	$NetBSD: Makefile.common,v 1.2 2021/05/04 17:47:05 rillig Exp $
 
 CPPFLAGS+=	-DHAVE_WCHAR_H		\
 		-DHAVE_WCTYPE_H		\
@@ -17,5 +17,5 @@ LIBDPLIBS=\
 	Xext	${.CURDIR}/../libXext \
 	X11	${.CURDIR}/../libX11/dynamic
 
-COPTS.Pixmap.c+=	-Wno-discarded-qualifiers
-COPTS.TextAction.c+=	-Wno-discarded-qualifiers
+COPTS.Pixmap.c+=	${${ACTIVE_CC} == "gcc":? -Wno-discarded-qualifiers :}
+COPTS.TextAction.c+=	${${ACTIVE_CC} == "gcc":? -Wno-discarded-qualifiers :}



CVS commit: src/external/mit/xorg/server/xorg-server.old

2021-05-03 Thread Takeshi Nakayama
Module Name:src
Committed By:   nakayama
Date:   Mon May  3 08:44:05 UTC 2021

Modified Files:
src/external/mit/xorg/server/xorg-server.old: Makefile.serverlib
Makefile.servermod

Log Message:
Remove duplicate lines.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/external/mit/xorg/server/xorg-server.old/Makefile.serverlib \
src/external/mit/xorg/server/xorg-server.old/Makefile.servermod

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/xorg-server.old/Makefile.serverlib
diff -u src/external/mit/xorg/server/xorg-server.old/Makefile.serverlib:1.3 src/external/mit/xorg/server/xorg-server.old/Makefile.serverlib:1.4
--- src/external/mit/xorg/server/xorg-server.old/Makefile.serverlib:1.3	Tue Apr 13 07:53:59 2021
+++ src/external/mit/xorg/server/xorg-server.old/Makefile.serverlib	Mon May  3 08:44:05 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.serverlib,v 1.3 2021/04/13 07:53:59 mrg Exp $
+#	$NetBSD: Makefile.serverlib,v 1.4 2021/05/03 08:44:05 nakayama Exp $
 
 .include 		# for NETBSDSRCDIR and mk.conf processing
 
@@ -27,6 +27,3 @@ CPPFLAGS+=	-D__GLX_ALIGN64
 
 # IOPortBase is particularly annoying to fix
 COPTS+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 10:? -fcommon :}
-
-# IOPortBase is particularly annoying to fix
-COPTS+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 10:? -fcommon :}
Index: src/external/mit/xorg/server/xorg-server.old/Makefile.servermod
diff -u src/external/mit/xorg/server/xorg-server.old/Makefile.servermod:1.3 src/external/mit/xorg/server/xorg-server.old/Makefile.servermod:1.4
--- src/external/mit/xorg/server/xorg-server.old/Makefile.servermod:1.3	Tue Apr 13 07:53:59 2021
+++ src/external/mit/xorg/server/xorg-server.old/Makefile.servermod	Mon May  3 08:44:05 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.servermod,v 1.3 2021/04/13 07:53:59 mrg Exp $
+#	$NetBSD: Makefile.servermod,v 1.4 2021/05/03 08:44:05 nakayama Exp $
 
 .include 	# For /etc/mk.conf processing
 
@@ -25,7 +25,4 @@ CPPFLAGS+=	${X11FLAGS.LOADABLE}
 .endif
 
 # IOPortBase is particularly annoying to fix
-
-# IOPortBase is particularly annoying to fix
-COPTS+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 10:? -fcommon :}
 COPTS+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 10:? -fcommon :}



CVS commit: src/external/mit/xorg/lib/xkeyboard-config

2021-04-26 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Apr 27 03:58:55 UTC 2021

Modified Files:
src/external/mit/xorg/lib/xkeyboard-config: xkeyboard-config.man
src/external/mit/xorg/lib/xkeyboard-config/rules: Makefile base
base.lst evdev evdev.lst

Log Message:
updates for xkeyboard-config 2.32.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 \
src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.man
cvs rdiff -u -r1.4 -r1.5 \
src/external/mit/xorg/lib/xkeyboard-config/rules/Makefile
cvs rdiff -u -r1.15 -r1.16 \
src/external/mit/xorg/lib/xkeyboard-config/rules/base \
src/external/mit/xorg/lib/xkeyboard-config/rules/base.lst \
src/external/mit/xorg/lib/xkeyboard-config/rules/evdev.lst
cvs rdiff -u -r1.14 -r1.15 \
src/external/mit/xorg/lib/xkeyboard-config/rules/evdev

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.man
diff -u src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.man:1.8 src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.man:1.9
--- src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.man:1.8	Sun Nov  1 12:07:09 2020
+++ src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.man	Tue Apr 27 03:58:55 2021
@@ -1,11 +1,11 @@
 .\" WARNING: this man page is autogenerated. Do not edit or you will lose all your changes.
-.TH XKEYBOARD-CONFIG @miscmansuffix@ @vendorversion@
+.TH XKEYBOARD-CONFIG 7 "xkeyboard-config 2.32" "X Version 11"
 .SH NAME
 xkeyboard-config \- XKB data description files
 .SH DESCRIPTION
 xkeyboard-config provides the description files for the X Keyboard
 Extension (XKB). The configuration options below are usually applied with
-setxkbmap(@appmansuffix@).
+setxkbmap(1).
 .SH MODELS
 .TS
 left,box;
@@ -203,8 +203,6 @@ teck227	Truly Ergonomic 227
 teck229	Truly Ergonomic 229
 apex300	SteelSeries Apex 300 (Apex RAW)
 chromebook	Chromebook
-teck227	Truly Ergonomic Computer Keyboard Model 227 (Wide Alt keys)
-teck229	Truly Ergonomic Computer Keyboard Model 229 (Standard sized Alt keys, additional Super and Menu key)
 
 .TE
 .SH LAYOUTS
@@ -221,6 +219,7 @@ us(euro)	English (US, euro on 5)
 us(intl)	English (US, intl., with dead keys)
 us(alt-intl)	English (US, alt. intl.)
 us(colemak)	English (Colemak)
+us(colemak_dh)	English (Colemak-DH)
 us(dvorak)	English (Dvorak)
 us(dvorak-intl)	English (Dvorak, intl., with dead keys)
 us(dvorak-alt-intl)	English (Dvorak, alt. intl.)
@@ -273,7 +272,6 @@ am(eastern-alt)	Armenian (alt. eastern)
 _
 at	German (Austria)
 at(nodeadkeys)	German (Austria, no dead keys)
-at(sundeadkeys)	German (Austria, Sun dead keys)
 at(mac)	German (Austria, Macintosh)
 
 _
@@ -294,10 +292,8 @@ _
 be	Belgian
 be(oss)	Belgian (alt.)
 be(oss_latin9)	Belgian (Latin-9 only, alt.)
-be(oss_sundeadkeys)	Belgian (Sun dead keys, alt.)
 be(iso-alternate)	Belgian (ISO, alt.)
 be(nodeadkeys)	Belgian (no dead keys)
-be(sundeadkeys)	Belgian (Sun dead keys)
 be(wang)	Belgian (Wang 724 AZERTY)
 
 _
@@ -340,7 +336,7 @@ in(hin-kagapa)	Hindi (KaGaPa, phonetic)
 in(san-kagapa)	Sanskrit (KaGaPa, phonetic)
 in(mar-kagapa)	Marathi (KaGaPa, phonetic)
 in(eng)	English (India, with rupee)
-in(iipa)	Indic (phonetic, IPA)
+in(iipa)	Indic IPA
 in(marathi)	Marathi (enhanced Inscript)
 
 _
@@ -366,11 +362,11 @@ bg(bas_phonetic)	Bulgarian (new phonetic
 bg(bekl)	Bulgarian (enhanced)
 
 _
-dz	Kabylian (azerty layout, no dead keys)
-dz(azerty-deadkeys)	Kabylian (azerty layout, with dead keys)
-dz(qwerty-gb-deadkeys)	Kabylian (qwerty-gb layout, with dead keys)
-dz(qwerty-us-deadkeys)	Kabylian (qwerty-us layout, with dead keys)
-dz(ber)	Kabylian (Algeria, Tifinagh)
+dz	Berber (Algeria, Latin)
+dz(azerty-deadkeys)	Kabyle (azerty layout, dead keys)
+dz(qwerty-gb-deadkeys)	Kabyle (qwerty-gb layout, dead keys)
+dz(qwerty-us-deadkeys)	Kabyle (qwerty-us layout, dead keys)
+dz(ber)	Berber (Algeria, Tifinagh)
 dz(ar)	Arabic (Algeria)
 
 _
@@ -449,7 +445,6 @@ dk(dvorak)	Danish (Dvorak)
 
 _
 nl	Dutch
-nl(sundeadkeys)	Dutch (Sun dead keys)
 nl(mac)	Dutch (Macintosh)
 nl(std)	Dutch (standard)
 
@@ -492,14 +487,11 @@ fi(mac)	Finnish (Macintosh)
 _
 fr	French
 fr(nodeadkeys)	French (no dead keys)
-fr(sundeadkeys)	French (Sun dead keys)
 fr(oss)	French (alt.)
 fr(oss_latin9)	French (alt., Latin-9 only)
 fr(oss_nodeadkeys)	French (alt., no dead keys)
-fr(oss_sundeadkeys)	French (alt., Sun dead keys)
 fr(latin9)	French (legacy, alt.)
 fr(latin9_nodeadkeys)	French (legacy, alt., no dead keys)
-fr(latin9_sundeadkeys)	French (legacy, alt., Sun dead keys)
 fr(bepo)	French (BEPO)
 fr(bepo_latin9)	French (BEPO, Latin-9 only)
 fr(bepo_afnor)	French (BEPO, AFNOR)
@@ -524,7 +516,7 @@ gh(avn)	Avatime
 gh(gillbt)	English (Ghana, GILLBT)
 
 _
-gn	French (Guinea)
+gn	N'Ko (azerty)
 
 _
 ge	Georgian
@@ -545,7 +537,6 @@ de(us)	German (US)
 de(ro)	Romanian (Germany)
 

CVS commit: src/external/mit/xorg/bin/xterm

2021-04-26 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Apr 27 02:11:55 UTC 2021

Modified Files:
src/external/mit/xorg/bin/xterm: Makefile

Log Message:
disable attribute warnings.  new libXt triggers them for now..


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/external/mit/xorg/bin/xterm/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/bin/xterm/Makefile
diff -u src/external/mit/xorg/bin/xterm/Makefile:1.21 src/external/mit/xorg/bin/xterm/Makefile:1.22
--- src/external/mit/xorg/bin/xterm/Makefile:1.21	Wed Feb 17 03:06:07 2021
+++ src/external/mit/xorg/bin/xterm/Makefile	Tue Apr 27 02:11:55 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.21 2021/02/17 03:06:07 mrg Exp $
+#	$NetBSD: Makefile,v 1.22 2021/04/27 02:11:55 mrg Exp $
 
 .include 
 
@@ -24,6 +24,7 @@ CPPFLAGS+=	-I. \
 		${X11FLAGS.VERSION}
 
 CWARNFLAGS.clang+=	-Wno-empty-body
+CWARNFLAGS.gcc+=	-Wno-error=attributes
 
 APPDEFS=XTerm.ad XTerm-color.ad
 



CVS commit: src/external/mit/xorg/bin

2021-04-26 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Apr 26 22:04:51 UTC 2021

Modified Files:
src/external/mit/xorg/bin/xdm/chooser: Makefile
src/external/mit/xorg/bin/xsm: Makefile

Log Message:
make build with new libXt.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/mit/xorg/bin/xdm/chooser/Makefile
cvs rdiff -u -r1.3 -r1.4 src/external/mit/xorg/bin/xsm/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/bin/xdm/chooser/Makefile
diff -u src/external/mit/xorg/bin/xdm/chooser/Makefile:1.5 src/external/mit/xorg/bin/xdm/chooser/Makefile:1.6
--- src/external/mit/xorg/bin/xdm/chooser/Makefile:1.5	Wed Mar  6 12:40:23 2019
+++ src/external/mit/xorg/bin/xdm/chooser/Makefile	Mon Apr 26 22:04:51 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2019/03/06 12:40:23 nakayama Exp $
+#	$NetBSD: Makefile,v 1.6 2021/04/26 22:04:51 mrg Exp $
 
 NOMAN=	1
 
@@ -6,7 +6,8 @@ NOMAN=	1
 
 PROG=	chooser
 
-CPPFLAGS.chooser.c+=	-DBSD44SOCKETS -DRETSIGTYPE=void
+CPPFLAGS+=	-DBSD44SOCKETS -DRETSIGTYPE=void
+CPPFLAGS+=	-D_CONST_X_STRING=1
 
 APPDEFS=Chooser
 
@@ -21,3 +22,6 @@ BINDIR=	${XDMCHOOSERPATH:H}
 .include 
 
 .PATH: ${X11SRCDIR.xdm}/app-defaults
+
+# XXX libXt
+COPTS.chooser.c+=	-Wno-incompatible-pointer-types

Index: src/external/mit/xorg/bin/xsm/Makefile
diff -u src/external/mit/xorg/bin/xsm/Makefile:1.3 src/external/mit/xorg/bin/xsm/Makefile:1.4
--- src/external/mit/xorg/bin/xsm/Makefile:1.3	Fri May 31 08:02:00 2013
+++ src/external/mit/xorg/bin/xsm/Makefile	Mon Apr 26 22:04:51 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.3 2013/05/31 08:02:00 mrg Exp $
+#	$NetBSD: Makefile,v 1.4 2021/04/26 22:04:51 mrg Exp $
 
 .include 
 
@@ -26,5 +26,8 @@ DPADD+=	${LIBXAW} ${LIBXMU} ${LIBXT} ${L
 .PATH:	${X11SRCDIR.${PROG}}
 .PATH:	${X11SRCDIR.${PROG}}/man
 
+# XXX libXt
+COPTS+=		-Wno-incompatible-pointer-types
+
 .include 
 .include 



CVS commit: src/external/mit/xorg/lib

2021-04-26 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Apr 26 21:53:54 UTC 2021

Modified Files:
src/external/mit/xorg/lib/libXaw: Makefile
src/external/mit/xorg/lib/libXaw6: Makefile
Added Files:
src/external/mit/xorg/lib/libXaw: Makefile.common

Log Message:
make libXaw6 build with the new libXt as well.  consolidate common code.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/external/mit/xorg/lib/libXaw/Makefile
cvs rdiff -u -r0 -r1.1 src/external/mit/xorg/lib/libXaw/Makefile.common
cvs rdiff -u -r1.10 -r1.11 src/external/mit/xorg/lib/libXaw6/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/libXaw/Makefile
diff -u src/external/mit/xorg/lib/libXaw/Makefile:1.15 src/external/mit/xorg/lib/libXaw/Makefile:1.16
--- src/external/mit/xorg/lib/libXaw/Makefile:1.15	Mon Apr 26 21:43:19 2021
+++ src/external/mit/xorg/lib/libXaw/Makefile	Mon Apr 26 21:53:53 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.15 2021/04/26 21:43:19 mrg Exp $
+#	$NetBSD: Makefile,v 1.16 2021/04/26 21:53:53 mrg Exp $
 
 .include 
 
@@ -49,23 +49,14 @@ INCS=	AllWidgets.h AsciiSink.h AsciiSink
 
 INCSDIR=${X11INCDIR}/X11/Xaw
 
+.include "Makefile.common"
 
-CPPFLAGS+=	-DHAVE_WCHAR_H -DHAVE_WCTYPE_H -DNO_WIDEC_H -DHAVE_ISWALNUM
-CPPFLAGS+=	-DHAVE_GETPAGESIZE
-CPPFLAGS+=	-DHAVE_UNISTD_H
-CPPFLAGS+=	-D_CONST_X_STRING=1
-CPPFLAGS+=	-DPROJECT_ROOT=\"${X11ROOTDIR}\" -DXAW7
-CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/X11/Xaw
-CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/X11/extensions
-
-LIBDPLIBS=\
-	Xmu	${.CURDIR}/../libXmu \
-	Xt	${.CURDIR}/../libXt \
-	SM	${.CURDIR}/../libSM \
-	ICE	${.CURDIR}/../libICE \
-	Xpm	${.CURDIR}/../libXpm \
-	Xext	${.CURDIR}/../libXext \
-	X11	${.CURDIR}/../libX11/dynamic
+CPPFLAGS+=	-DXAW7 \
+		-I${DESTDIR}${X11INCDIR}/X11/Xaw \
+		-I${DESTDIR}${X11INCDIR}/X11/extensions
+
+LIBDPLIBS+=\
+	Xpm	${.CURDIR}/../libXpm
 
 PKGCONFIG=	xaw7
 PKGDIST=	${LIBOLD}
@@ -77,6 +68,3 @@ X11EXTRAMANTRANSFORMS+= \
 .include 
 
 CWARNFLAGS.clang+=	-Wno-format
-
-COPTS.Pixmap.c+=	-Wno-discarded-qualifiers
-COPTS.TextAction.c+=	-Wno-discarded-qualifiers

Index: src/external/mit/xorg/lib/libXaw6/Makefile
diff -u src/external/mit/xorg/lib/libXaw6/Makefile:1.10 src/external/mit/xorg/lib/libXaw6/Makefile:1.11
--- src/external/mit/xorg/lib/libXaw6/Makefile:1.10	Tue Jan  7 07:27:50 2020
+++ src/external/mit/xorg/lib/libXaw6/Makefile	Mon Apr 26 21:53:54 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.10 2020/01/07 07:27:50 mrg Exp $
+#	$NetBSD: Makefile,v 1.11 2021/04/26 21:53:54 mrg Exp $
 
 NOCHECKVER=	yes	# we want to install an older version ...
 MKLINKLIB=	no
@@ -19,18 +19,9 @@ SRCS=	Actions.c AllWidgets.c AsciiSink.c
 	TextSrc.c TextTr.c Toggle.c Tree.c Vendor.c Viewport.c \
 	XawI18n.c XawIm.c XawInit.c
 
-CPPFLAGS+=	-DHAVE_WCHAR_H -DHAVE_WCTYPE_H -DNO_WIDEC_H -DOLDXAW \
-		-DHAVE_GETPAGESIZE \
-		-DHAVE_UNISTD_H \
-		-DHAVE_ISWALNUM -DPROJECT_ROOT=\"${X11ROOTDIR}\"
-
-LIBDPLIBS=\
-	Xmu	${.CURDIR}/../libXmu \
-	Xt	${.CURDIR}/../libXt \
-	SM	${.CURDIR}/../libSM \
-	ICE	${.CURDIR}/../libICE \
-	Xext	${.CURDIR}/../libXext \
-	X11	${.CURDIR}/../libX11/dynamic
+.include "../libXaw/Makefile.common"
+
+CPPFLAGS+=	-DOLDXAW
 
 PKGCONFIG=	xaw6
 PKGDIST=	${LIBOLD}

Added files:

Index: src/external/mit/xorg/lib/libXaw/Makefile.common
diff -u /dev/null src/external/mit/xorg/lib/libXaw/Makefile.common:1.1
--- /dev/null	Mon Apr 26 21:53:54 2021
+++ src/external/mit/xorg/lib/libXaw/Makefile.common	Mon Apr 26 21:53:53 2021
@@ -0,0 +1,21 @@
+#	$NetBSD: Makefile.common,v 1.1 2021/04/26 21:53:53 mrg Exp $
+
+CPPFLAGS+=	-DHAVE_WCHAR_H		\
+		-DHAVE_WCTYPE_H		\
+		-DNO_WIDEC_H		\
+		-DHAVE_ISWALNUM		\
+		-DHAVE_GETPAGESIZE	\
+		-DHAVE_UNISTD_H		\
+		-D_CONST_X_STRING=1	\
+		-DPROJECT_ROOT=\"${X11ROOTDIR}\"
+
+LIBDPLIBS=\
+	Xmu	${.CURDIR}/../libXmu \
+	Xt	${.CURDIR}/../libXt \
+	SM	${.CURDIR}/../libSM \
+	ICE	${.CURDIR}/../libICE \
+	Xext	${.CURDIR}/../libXext \
+	X11	${.CURDIR}/../libX11/dynamic
+
+COPTS.Pixmap.c+=	-Wno-discarded-qualifiers
+COPTS.TextAction.c+=	-Wno-discarded-qualifiers



CVS commit: src/external/mit/xorg/lib/libXaw

2021-04-26 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Apr 26 21:43:19 UTC 2021

Modified Files:
src/external/mit/xorg/lib/libXaw: Makefile

Log Message:
define _CONST_X_STRING.  avoid remaining const issues new libXt.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/external/mit/xorg/lib/libXaw/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/libXaw/Makefile
diff -u src/external/mit/xorg/lib/libXaw/Makefile:1.14 src/external/mit/xorg/lib/libXaw/Makefile:1.15
--- src/external/mit/xorg/lib/libXaw/Makefile:1.14	Tue Jan  7 07:27:50 2020
+++ src/external/mit/xorg/lib/libXaw/Makefile	Mon Apr 26 21:43:19 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.14 2020/01/07 07:27:50 mrg Exp $
+#	$NetBSD: Makefile,v 1.15 2021/04/26 21:43:19 mrg Exp $
 
 .include 
 
@@ -53,6 +53,7 @@ INCSDIR=${X11INCDIR}/X11/Xaw
 CPPFLAGS+=	-DHAVE_WCHAR_H -DHAVE_WCTYPE_H -DNO_WIDEC_H -DHAVE_ISWALNUM
 CPPFLAGS+=	-DHAVE_GETPAGESIZE
 CPPFLAGS+=	-DHAVE_UNISTD_H
+CPPFLAGS+=	-D_CONST_X_STRING=1
 CPPFLAGS+=	-DPROJECT_ROOT=\"${X11ROOTDIR}\" -DXAW7
 CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/X11/Xaw
 CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/X11/extensions
@@ -76,3 +77,6 @@ X11EXTRAMANTRANSFORMS+= \
 .include 
 
 CWARNFLAGS.clang+=	-Wno-format
+
+COPTS.Pixmap.c+=	-Wno-discarded-qualifiers
+COPTS.TextAction.c+=	-Wno-discarded-qualifiers



CVS commit: src/external/mit/xorg/lib/pixman

2021-04-26 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Apr 26 21:32:49 UTC 2021

Modified Files:
src/external/mit/xorg/lib/pixman: Makefile

Log Message:
Don't try to override an existing -march


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/external/mit/xorg/lib/pixman/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/pixman/Makefile
diff -u src/external/mit/xorg/lib/pixman/Makefile:1.37 src/external/mit/xorg/lib/pixman/Makefile:1.38
--- src/external/mit/xorg/lib/pixman/Makefile:1.37	Sun Apr 25 19:23:19 2021
+++ src/external/mit/xorg/lib/pixman/Makefile	Mon Apr 26 17:32:49 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.37 2021/04/25 23:23:19 christos Exp $
+#	$NetBSD: Makefile,v 1.38 2021/04/26 21:32:49 christos Exp $
 
 NOLINT=	1	# defined
 
@@ -90,7 +90,7 @@ AFLAGS+=	${${ACTIVE_CC} == "clang" :? -f
 #CPPFLAGS+=	-DUSE_ARM_IWMMXT
 .endif
 
-.if !empty(MACHINE_ARCH:Mmips*64el)
+.if !empty(MACHINE_ARCH:Mmips*64el) && empty(COPTS:M-march=*)
 # Loongson MMI
 SRCS+=		pixman-mmx.c
 CPPFLAGS+=	-DUSE_LOONGSON_MMI



CVS commit: src/external/mit/xorg/lib/pixman

2021-04-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Apr 25 23:23:19 UTC 2021

Modified Files:
src/external/mit/xorg/lib/pixman: Makefile

Log Message:
handle mipsn64el


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/external/mit/xorg/lib/pixman/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/pixman/Makefile
diff -u src/external/mit/xorg/lib/pixman/Makefile:1.36 src/external/mit/xorg/lib/pixman/Makefile:1.37
--- src/external/mit/xorg/lib/pixman/Makefile:1.36	Tue Sep 15 01:14:19 2020
+++ src/external/mit/xorg/lib/pixman/Makefile	Sun Apr 25 19:23:19 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.36 2020/09/15 05:14:19 mrg Exp $
+#	$NetBSD: Makefile,v 1.37 2021/04/25 23:23:19 christos Exp $
 
 NOLINT=	1	# defined
 
@@ -90,7 +90,7 @@ AFLAGS+=	${${ACTIVE_CC} == "clang" :? -f
 #CPPFLAGS+=	-DUSE_ARM_IWMMXT
 .endif
 
-.if ${MACHINE_ARCH} == "mips64el"
+.if !empty(MACHINE_ARCH:Mmips*64el)
 # Loongson MMI
 SRCS+=		pixman-mmx.c
 CPPFLAGS+=	-DUSE_LOONGSON_MMI



CVS commit: src/external/mit/xorg/server/xorg-server.old

2021-04-13 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Apr 13 07:53:59 UTC 2021

Modified Files:
src/external/mit/xorg/server/xorg-server.old: Makefile.serverlib
Makefile.servermod

Log Message:
apply -fcommon here as well.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/external/mit/xorg/server/xorg-server.old/Makefile.serverlib \
src/external/mit/xorg/server/xorg-server.old/Makefile.servermod

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/xorg-server.old/Makefile.serverlib
diff -u src/external/mit/xorg/server/xorg-server.old/Makefile.serverlib:1.2 src/external/mit/xorg/server/xorg-server.old/Makefile.serverlib:1.3
--- src/external/mit/xorg/server/xorg-server.old/Makefile.serverlib:1.2	Mon Apr 12 03:57:06 2021
+++ src/external/mit/xorg/server/xorg-server.old/Makefile.serverlib	Tue Apr 13 07:53:59 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.serverlib,v 1.2 2021/04/12 03:57:06 mrg Exp $
+#	$NetBSD: Makefile.serverlib,v 1.3 2021/04/13 07:53:59 mrg Exp $
 
 .include 		# for NETBSDSRCDIR and mk.conf processing
 
@@ -27,3 +27,6 @@ CPPFLAGS+=	-D__GLX_ALIGN64
 
 # IOPortBase is particularly annoying to fix
 COPTS+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 10:? -fcommon :}
+
+# IOPortBase is particularly annoying to fix
+COPTS+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 10:? -fcommon :}
Index: src/external/mit/xorg/server/xorg-server.old/Makefile.servermod
diff -u src/external/mit/xorg/server/xorg-server.old/Makefile.servermod:1.2 src/external/mit/xorg/server/xorg-server.old/Makefile.servermod:1.3
--- src/external/mit/xorg/server/xorg-server.old/Makefile.servermod:1.2	Mon Apr 12 03:57:06 2021
+++ src/external/mit/xorg/server/xorg-server.old/Makefile.servermod	Tue Apr 13 07:53:59 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.servermod,v 1.2 2021/04/12 03:57:06 mrg Exp $
+#	$NetBSD: Makefile.servermod,v 1.3 2021/04/13 07:53:59 mrg Exp $
 
 .include 	# For /etc/mk.conf processing
 
@@ -25,4 +25,7 @@ CPPFLAGS+=	${X11FLAGS.LOADABLE}
 .endif
 
 # IOPortBase is particularly annoying to fix
+
+# IOPortBase is particularly annoying to fix
+COPTS+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 10:? -fcommon :}
 COPTS+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 10:? -fcommon :}



CVS commit: src/external/mit/ctwm/etc

2021-04-11 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sun Apr 11 11:05:50 UTC 2021

Modified Files:
src/external/mit/ctwm/etc: system.ctwmrc

Log Message:
ctwmrc: add DontShowWelcomeWindow, new in 4.x


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/external/mit/ctwm/etc/system.ctwmrc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/ctwm/etc/system.ctwmrc
diff -u src/external/mit/ctwm/etc/system.ctwmrc:1.12 src/external/mit/ctwm/etc/system.ctwmrc:1.13
--- src/external/mit/ctwm/etc/system.ctwmrc:1.12	Thu Mar  4 08:35:58 2021
+++ src/external/mit/ctwm/etc/system.ctwmrc	Sun Apr 11 11:05:49 2021
@@ -1,5 +1,5 @@
 #
-# $NetBSD: system.ctwmrc,v 1.12 2021/03/04 08:35:58 nia Exp $
+# $NetBSD: system.ctwmrc,v 1.13 2021/04/11 11:05:49 nia Exp $
 #
 # ctwmrc by nia
 #
@@ -15,6 +15,8 @@
 # don't use the default buttons or key bindings, we define our own
 NoDefaults
 
+DontShowWelcomeWindow
+
 ShowWorkSpaceManager
 ShowIconManager
 



CVS commit: src/external/mit/ctwm/bin/ctwm

2021-04-11 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sun Apr 11 10:52:16 UTC 2021

Modified Files:
src/external/mit/ctwm/bin/ctwm: Makefile

Log Message:
ctwm: build autogenerated files from gen/


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/mit/ctwm/bin/ctwm/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/ctwm/bin/ctwm/Makefile
diff -u src/external/mit/ctwm/bin/ctwm/Makefile:1.9 src/external/mit/ctwm/bin/ctwm/Makefile:1.10
--- src/external/mit/ctwm/bin/ctwm/Makefile:1.9	Sun Apr 11 10:29:50 2021
+++ src/external/mit/ctwm/bin/ctwm/Makefile	Sun Apr 11 10:52:16 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.9 2021/04/11 10:29:50 nia Exp $
+#	$NetBSD: Makefile,v 1.10 2021/04/11 10:52:16 nia Exp $
 
 .include 
 
@@ -15,11 +15,13 @@ SRCS=	add_window.c animate.c captive.c c
 	session.c util.c vscreen.c win_decorations.c win_decorations_init.c \
 	win_iconify.c win_ops.c win_regions.c win_resize.c win_utils.c \
 	windowbox.c workspace_config.c workspace_manager.c workspace_utils.c \
-	ctwm_atoms.c deftwmrc.c gram.tab.c lex.c version.c \
+	ctwm_atoms.c deftwmrc.c version.c \
 	image_xpm.c parse_m4.c ewmh.c ewmh_atoms.c ctwm_wrap.c
 
 SRCS+=	repl_str.c
 
+SRCS+=	gram.tab.c lex.c
+
 YHEADER=1
 
 CTWMCONFIGDIR=		${X11ETCDIR}/ctwm
@@ -27,7 +29,7 @@ CTWMCONFIGDIR=		${X11ETCDIR}/ctwm
 CTWMDIR=		${X11SRCDIR}/external/mit/ctwm/dist
 XPMDIR=			${X11INCDIR}/X11/pixmaps/ctwm
 
-CPPFLAGS+=		-I. -I${CTWMDIR} \
+CPPFLAGS+=		-I. -I${CTWMDIR} -I${CTWMDIR}/gen \
 			-DUSE_XPM -DUSE_M4 -DUSE_EWMH -DUSE_SREGEX \
 			-DPIXMAP_DIRECTORY=\"${XPMDIR}\" \
 			-DSYSTEM_INIT_FILE=\"${CTWMCONFIGDIR}/system.ctwmrc\" \
@@ -58,7 +60,7 @@ FILES=			3D_Expand15.xpm 3D_Iconify15.xp
 LDADD+=	-lXpm  -lXmu -lXt -lSM -lICE -lXext -lX11
 DPADD+=	${LIBXPM} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} ${LIBXEXT} ${LIBX11}
 
-.PATH:	${CTWMDIR} ${CTWMDIR}/xpm ${CTWMDIR}/ext
+.PATH:	${CTWMDIR} ${CTWMDIR}/xpm ${CTWMDIR}/ext ${CTWMDIR}/gen
 
 .include 
 .include 



CVS commit: src/external/mit/ctwm/bin/ctwm

2021-04-11 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sun Apr 11 10:29:50 UTC 2021

Modified Files:
src/external/mit/ctwm/bin/ctwm: Makefile

Log Message:
Update build recipe for ctwm-4.0.3


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/mit/ctwm/bin/ctwm/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/ctwm/bin/ctwm/Makefile
diff -u src/external/mit/ctwm/bin/ctwm/Makefile:1.8 src/external/mit/ctwm/bin/ctwm/Makefile:1.9
--- src/external/mit/ctwm/bin/ctwm/Makefile:1.8	Mon Sep 28 06:04:08 2020
+++ src/external/mit/ctwm/bin/ctwm/Makefile	Sun Apr 11 10:29:50 2021
@@ -1,12 +1,24 @@
-#	$NetBSD: Makefile,v 1.8 2020/09/28 06:04:08 nia Exp $
+#	$NetBSD: Makefile,v 1.9 2021/04/11 10:29:50 nia Exp $
 
 .include 
 
 PROG=	ctwm
-SRCS=	add_window.c deftwmrc.c  events.c gram.tab.c gc.c \
-	list.c util.c ctwm.c lex.c parse.c menus.c resize.c \
-	version.c iconmgr.c cursor.c icons.c workmgr.c windowbox.c \
-	clicktofocus.c vscreen.c session.c mwmhints.c gnome.c
+SRCS=	add_window.c animate.c captive.c clargs.c clicktofocus.c \
+	colormaps.c ctopts.c ctwm_main.c cursor.c drawing.c \
+	event_core.c event_handlers.c event_names.c event_utils.c \
+	functions.c functions_captive.c functions_icmgr_wsmgr.c \
+	functions_identify.c functions_misc.c functions_warp.c \
+	functions_win.c functions_win_moveresize.c functions_workspaces.c \
+	gc.c iconmgr.c icons.c icons_builtin.c image.c image_bitmap.c \
+	image_bitmap_builtin.c image_xwd.c list.c mask_screen.c menus.c \
+	mwmhints.c occupation.c otp.c parse.c parse_be.c parse_yacc.c \
+	session.c util.c vscreen.c win_decorations.c win_decorations_init.c \
+	win_iconify.c win_ops.c win_regions.c win_resize.c win_utils.c \
+	windowbox.c workspace_config.c workspace_manager.c workspace_utils.c \
+	ctwm_atoms.c deftwmrc.c gram.tab.c lex.c version.c \
+	image_xpm.c parse_m4.c ewmh.c ewmh_atoms.c ctwm_wrap.c
+
+SRCS+=	repl_str.c
 
 YHEADER=1
 
@@ -15,13 +27,10 @@ CTWMCONFIGDIR=		${X11ETCDIR}/ctwm
 CTWMDIR=		${X11SRCDIR}/external/mit/ctwm/dist
 XPMDIR=			${X11INCDIR}/X11/pixmaps/ctwm
 
-CPPFLAGS+=		-I. -I${CTWMDIR}/src -DHAVE_MKSTEMP \
-			-DNO_ALLOCA -DCSRG_BASED -DUSEM4 -DGNOME -DXPM
-
-CPPFLAGS+=		-DPIXMAP_DIRECTORY=\"${XPMDIR}\"
-CPPFLAGS+=		-DCTWM_WELCOME_FILE=\"xpm:${X11INCDIR}/X11/pixmaps/NetBSD-inv.xpm\"
-
-CPPFLAGS.parse.c=	-DSYSTEM_INIT_FILE=\"${CTWMCONFIGDIR}/system.ctwmrc\" \
+CPPFLAGS+=		-I. -I${CTWMDIR} \
+			-DUSE_XPM -DUSE_M4 -DUSE_EWMH -DUSE_SREGEX \
+			-DPIXMAP_DIRECTORY=\"${XPMDIR}\" \
+			-DSYSTEM_INIT_FILE=\"${CTWMCONFIGDIR}/system.ctwmrc\" \
 			-DM4CMD=\"m4\"
 
 FILESDIR=		${XPMDIR}
@@ -49,7 +58,7 @@ FILES=			3D_Expand15.xpm 3D_Iconify15.xp
 LDADD+=	-lXpm  -lXmu -lXt -lSM -lICE -lXext -lX11
 DPADD+=	${LIBXPM} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} ${LIBXEXT} ${LIBX11}
 
-.PATH:	${CTWMDIR} ${CTWMDIR}/xpm
+.PATH:	${CTWMDIR} ${CTWMDIR}/xpm ${CTWMDIR}/ext
 
 .include 
 .include 



CVS commit: src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k

2021-03-22 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Mon Mar 22 14:11:02 UTC 2021

Modified Files:
src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k: Makefile

Log Message:
Remove -DHAVE_STRCASECMP from CPPFLAGS that is defined in dix-config.h.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 \
src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile
diff -u src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile:1.10 src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile:1.11
--- src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile:1.10	Sun Feb  7 16:56:00 2021
+++ src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile	Mon Mar 22 14:11:02 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.10 2021/02/07 16:56:00 tsutsui Exp $
+#	$NetBSD: Makefile,v 1.11 2021/03/22 14:11:02 tsutsui Exp $
 
 .include 
 
@@ -33,7 +33,6 @@ CPPFLAGS+=	-UXFree86LOADER -UXF86VIDMODE
 		-UXF86DRI -UXF86BIGFONT
 
 CPPFLAGS+=	-UHAVE_XORG_CONFIG_H
-CPPFLAGS+=	-DHAVE_STRCASECMP
 
 CPPFLAGS.x68kConfig.c=	 -DX11_LIBDIR=\"${X11ETCDIR}\"
 



CVS commit: src/external/mit/ctwm/etc

2021-03-04 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Thu Mar  4 08:35:59 UTC 2021

Modified Files:
src/external/mit/ctwm/etc: system.ctwmrc

Log Message:
ctwmrc: disable NoTitleFocus to prevent multiple windows having focus

some investigation help from Rhialto


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/external/mit/ctwm/etc/system.ctwmrc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/ctwm/etc/system.ctwmrc
diff -u src/external/mit/ctwm/etc/system.ctwmrc:1.11 src/external/mit/ctwm/etc/system.ctwmrc:1.12
--- src/external/mit/ctwm/etc/system.ctwmrc:1.11	Sat Feb 27 12:28:17 2021
+++ src/external/mit/ctwm/etc/system.ctwmrc	Thu Mar  4 08:35:58 2021
@@ -1,5 +1,5 @@
 #
-# $NetBSD: system.ctwmrc,v 1.11 2021/02/27 12:28:17 nia Exp $
+# $NetBSD: system.ctwmrc,v 1.12 2021/03/04 08:35:58 nia Exp $
 #
 # ctwmrc by nia
 #
@@ -148,7 +148,7 @@ StayUpMenus
 WarpToDefaultMenuEntry
 MenuShadowDepth  1
 
-NoTitleFocus
+TitleFocus
 
 # warp through all windows in the current workspace
 WindowRing



CVS commit: src/external/mit/ctwm/libexec

2021-03-01 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Mon Mar  1 15:40:40 UTC 2021

Modified Files:
src/external/mit/ctwm/libexec: ctwm_app_menu

Log Message:
Make this work with a non-standard LOCALBASE.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/mit/ctwm/libexec/ctwm_app_menu

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/ctwm/libexec/ctwm_app_menu
diff -u src/external/mit/ctwm/libexec/ctwm_app_menu:1.2 src/external/mit/ctwm/libexec/ctwm_app_menu:1.3
--- src/external/mit/ctwm/libexec/ctwm_app_menu:1.2	Mon Oct 12 11:07:24 2020
+++ src/external/mit/ctwm/libexec/ctwm_app_menu	Mon Mar  1 15:40:40 2021
@@ -1,5 +1,5 @@
 #!/bin/sh
-#	$NetBSD: ctwm_app_menu,v 1.2 2020/10/12 11:07:24 nia Exp $
+#	$NetBSD: ctwm_app_menu,v 1.3 2021/03/01 15:40:40 nia Exp $
 #
 # Copyright (c) 2020 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -28,13 +28,14 @@
 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 # POSSIBILITY OF SUCH DAMAGE.
 #
+LOCALBASE=$(pkg_info -Q LOCALBASE pkg_install 2>/dev/null || echo /usr/pkg)
 OFS=$IFS
 IFS='
 '
 printf 'menu "appmenu"\n'
 printf '{\n'
 printf '\t"Applications"\tf.title\n'
-for app in $(find /usr/pkg/share/applications -name '*.desktop');
+for app in $(find $LOCALBASE/share/applications -name '*.desktop');
 do
 	name=""
 	exec=""



CVS commit: src/external/mit/xorg/bin/xterm/resize

2021-02-27 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sat Feb 27 21:13:09 UTC 2021

Removed Files:
src/external/mit/xorg/bin/xterm/resize: Makefile

Log Message:
Clean up file obsoleted by migration to usr.bin/resize.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r0 src/external/mit/xorg/bin/xterm/resize/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/ctwm/etc

2021-02-27 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Feb 27 12:28:17 UTC 2021

Modified Files:
src/external/mit/ctwm/etc: system.ctwmrc

Log Message:
ctwmrc: remove SloppyFocus keyword, which breaks xev

the default still seems to be sloppy focus.

is this a bug? does ctwm use a different definition of sloppy focus to
the rest of the world? we may never know


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/external/mit/ctwm/etc/system.ctwmrc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/ctwm/etc/system.ctwmrc
diff -u src/external/mit/ctwm/etc/system.ctwmrc:1.10 src/external/mit/ctwm/etc/system.ctwmrc:1.11
--- src/external/mit/ctwm/etc/system.ctwmrc:1.10	Mon Nov 16 14:12:46 2020
+++ src/external/mit/ctwm/etc/system.ctwmrc	Sat Feb 27 12:28:17 2021
@@ -1,5 +1,5 @@
 #
-# $NetBSD: system.ctwmrc,v 1.10 2020/11/16 14:12:46 nia Exp $
+# $NetBSD: system.ctwmrc,v 1.11 2021/02/27 12:28:17 nia Exp $
 #
 # ctwmrc by nia
 #
@@ -111,8 +111,6 @@ DontPaintRootWindow
 NoOpaqueMove
 NoOpaqueResize
 
-SloppyFocus
-
 AutoOccupy
 AutoRelativeResize
 



CVS commit: src/external/mit/xorg/lib/gallium

2021-02-23 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Tue Feb 23 15:16:43 UTC 2021

Modified Files:
src/external/mit/xorg/lib/gallium: Makefile

Log Message:
Don't hard-code LLVM version, but pick it up from build glue.


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/external/mit/xorg/lib/gallium/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/gallium/Makefile
diff -u src/external/mit/xorg/lib/gallium/Makefile:1.44 src/external/mit/xorg/lib/gallium/Makefile:1.45
--- src/external/mit/xorg/lib/gallium/Makefile:1.44	Sat Apr  4 03:04:58 2020
+++ src/external/mit/xorg/lib/gallium/Makefile	Tue Feb 23 15:16:43 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2020/04/04 03:04:58 christos Exp $
+# $NetBSD: Makefile,v 1.45 2021/02/23 15:16:43 joerg Exp $
 
 # Link the gallium mega driver.
 
@@ -1114,8 +1114,8 @@ CPPFLAGS.streaming-load-memcpy.c+= -msse
 CPPFLAGS.i386+= -march=i586
 CPPFLAGS+=	${CPPFLAGS.${XORG_MACHINE_ARCH:U${MACHINE_ARCH}}}
 
-CPPFLAGS.r600_pipe_common.c+=	-DMESA_LLVM_VERSION_STRING=\"9.0.0\"
-CPPFLAGS.si_get.c+=	-DMESA_LLVM_VERSION_STRING=\"9.0.0\"
+CPPFLAGS.r600_pipe_common.c+=	-DMESA_LLVM_VERSION_STRING=\"${LLVM_VERSION}\"
+CPPFLAGS.si_get.c+=	-DMESA_LLVM_VERSION_STRING=\"${LLVM_VERSION}\"
 
 .include "../driver.mk"
 



CVS commit: src/external/mit/xorg/bin/xterm

2021-02-16 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Feb 17 03:06:07 UTC 2021

Modified Files:
src/external/mit/xorg/bin/xterm: Makefile

Log Message:
remove -DOPT_* from here (now in xtermcfg.h).

restore comment lost in rev 1.18.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/external/mit/xorg/bin/xterm/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/bin/xterm/Makefile
diff -u src/external/mit/xorg/bin/xterm/Makefile:1.20 src/external/mit/xorg/bin/xterm/Makefile:1.21
--- src/external/mit/xorg/bin/xterm/Makefile:1.20	Thu Feb 11 12:30:08 2021
+++ src/external/mit/xorg/bin/xterm/Makefile	Wed Feb 17 03:06:07 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.20 2021/02/11 12:30:08 mrg Exp $
+#	$NetBSD: Makefile,v 1.21 2021/02/17 03:06:07 mrg Exp $
 
 .include 
 
@@ -10,6 +10,9 @@ SRCS=	button.c charproc.c charsets.c cur
 	charclass.c precompose.c wcwidth.c xutf8.c cachedGCs.c xtermcap.c \
 	svg.c html.c version.c
 
+# XXX
+# xterm.appdata.xml
+
 CPPFLAGS+=	-I. \
 		-I${X11SRCDIR.${PROG}} \
 		-I${X11SRCDIR.${PROG}}/../include \
@@ -17,8 +20,6 @@ CPPFLAGS+=	-I. \
 		-I${DESTDIR}${X11INCDIR}/freetype2/freetype \
 		-DPROJECTROOT=${X11ROOTDIR} \
 		-DHAVE_CONFIG_H \
-		-DOPT_GRAPHICS \
-		-DOPT_SIXEL_GRAPHICS \
 		-D_REENTRANT \
 		${X11FLAGS.VERSION}
 



CVS commit: src/external/mit/xorg/bin/xterm

2021-02-11 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Feb 11 12:30:08 UTC 2021

Modified Files:
src/external/mit/xorg/bin/xterm: Makefile

Log Message:
add new files for xterm 366.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/external/mit/xorg/bin/xterm/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/bin/xterm/Makefile
diff -u src/external/mit/xorg/bin/xterm/Makefile:1.19 src/external/mit/xorg/bin/xterm/Makefile:1.20
--- src/external/mit/xorg/bin/xterm/Makefile:1.19	Sun Dec 27 21:13:18 2020
+++ src/external/mit/xorg/bin/xterm/Makefile	Thu Feb 11 12:30:08 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.19 2020/12/27 21:13:18 reinoud Exp $
+#	$NetBSD: Makefile,v 1.20 2021/02/11 12:30:08 mrg Exp $
 
 .include 
 
@@ -8,7 +8,7 @@ SRCS=	button.c charproc.c charsets.c cur
 	misc.c print.c ptydata.c screen.c scrollback.c scrollbar.c tabs.c \
 	util.c xstrings.c TekPrsTbl.c Tekproc.c VTPrsTbl.c main.c \
 	charclass.c precompose.c wcwidth.c xutf8.c cachedGCs.c xtermcap.c \
-	version.c
+	svg.c html.c version.c
 
 CPPFLAGS+=	-I. \
 		-I${X11SRCDIR.${PROG}} \



CVS commit: src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k

2021-02-07 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Feb  7 16:56:00 UTC 2021

Modified Files:
src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k: Makefile

Log Message:
Build mouseEmu3btn.c for added Emulate3Buttons support.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 \
src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile
diff -u src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile:1.9 src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile:1.10
--- src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile:1.9	Wed Aug  5 15:48:09 2020
+++ src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile	Sun Feb  7 16:56:00 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.9 2020/08/05 15:48:09 tsutsui Exp $
+#	$NetBSD: Makefile,v 1.10 2021/02/07 16:56:00 tsutsui Exp $
 
 .include 
 
@@ -18,6 +18,7 @@ WARNS?=	2
 .PATH:	${X11SRCDIR.xorg-server}/hw/netbsd/x68k
 SRCS=	x68kInit.c x68kConfig.c x68kIo.c x68kMouse.c x68kKbd.c x68kKeyMap.c \
 	x68kFb.c x68kGraph.c x68kText.c
+SRCS+=	mouseEmu3btn.c
 
 .PATH:	${X11SRCDIR.xorg-server}/Xi
 SRCS+=	stubs.c



CVS commit: src/external/mit/xorg/include/xorgproto/X11/extensions

2020-12-05 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Dec  5 21:36:21 UTC 2020

Modified Files:
src/external/mit/xorg/include/xorgproto/X11/extensions: Makefile

Log Message:
Don't install header marked obsolete

pointed out by mrg


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/external/mit/xorg/include/xorgproto/X11/extensions/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/include/xorgproto/X11/extensions/Makefile
diff -u src/external/mit/xorg/include/xorgproto/X11/extensions/Makefile:1.2 src/external/mit/xorg/include/xorgproto/X11/extensions/Makefile:1.3
--- src/external/mit/xorg/include/xorgproto/X11/extensions/Makefile:1.2	Sun Feb 23 09:10:50 2020
+++ src/external/mit/xorg/include/xorgproto/X11/extensions/Makefile	Sat Dec  5 21:36:21 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2020/02/23 09:10:50 mrg Exp $
+#	$NetBSD: Makefile,v 1.3 2020/12/05 21:36:21 nia Exp $
 
 .include 
 
@@ -15,7 +15,6 @@ INCS=	EVI.h \
 	XKBsrv.h \
 	XKBstr.h \
 	XResproto.h \
-	Xeviestr.h \
 	Xv.h \
 	XvMC.h \
 	XvMCproto.h \



CVS commit: src/external/mit/ctwm/etc

2020-11-16 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Mon Nov 16 14:12:46 UTC 2020

Modified Files:
src/external/mit/ctwm/etc: system.ctwmrc

Log Message:
system.ctwmrc: Set Cursors to avoid strange default fallbacks


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/mit/ctwm/etc/system.ctwmrc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/ctwm/etc/system.ctwmrc
diff -u src/external/mit/ctwm/etc/system.ctwmrc:1.9 src/external/mit/ctwm/etc/system.ctwmrc:1.10
--- src/external/mit/ctwm/etc/system.ctwmrc:1.9	Mon Oct 12 15:24:16 2020
+++ src/external/mit/ctwm/etc/system.ctwmrc	Mon Nov 16 14:12:46 2020
@@ -1,5 +1,5 @@
 #
-# $NetBSD: system.ctwmrc,v 1.9 2020/10/12 15:24:16 nia Exp $
+# $NetBSD: system.ctwmrc,v 1.10 2020/11/16 14:12:46 nia Exp $
 #
 # ctwmrc by nia
 #
@@ -197,6 +197,21 @@ WorkSpaces 
 "5"{ "lavender" "black" "darkslateblue" "white" }
 }
 
+Cursors
+{
+  Frame"left_ptr"
+  Title"left_ptr"
+  Icon "left_ptr"
+  IconMgr  "left_ptr"
+  Move "fleur"
+  Resize   "fleur"
+  Menu "left_ptr"
+  Button   "hand2"
+  Wait "watch"
+  Select   "dot"
+  Destroy  "pirate"
+}
+
 Color
 {
   BorderColor   "firebrick"



CVS commit: src/external/mit/xorg/lib/libepoxy

2020-11-07 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Nov  7 18:12:16 UTC 2020

Modified Files:
src/external/mit/xorg/lib/libepoxy: Makefile

Log Message:
libepoxy: Only require egl on ports with egl support.

Reported by martin.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/mit/xorg/lib/libepoxy/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/libepoxy/Makefile
diff -u src/external/mit/xorg/lib/libepoxy/Makefile:1.8 src/external/mit/xorg/lib/libepoxy/Makefile:1.9
--- src/external/mit/xorg/lib/libepoxy/Makefile:1.8	Mon Nov  2 06:25:24 2020
+++ src/external/mit/xorg/lib/libepoxy/Makefile	Sat Nov  7 18:12:16 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2020/11/02 06:25:24 mrg Exp $
+#	$NetBSD: Makefile,v 1.9 2020/11/07 18:12:16 nia Exp $
 
 .include 
 
@@ -40,8 +40,15 @@ PKGCONFIG_SED_FLAGS= \
 	-e "s,@DLOPEN_LIBS@,," \
 	-e "s,@epoxy_has_glx@,1," \
 	-e "s,@epoxy_has_egl@,${EGL}," \
-	-e "s,@epoxy_has_wgl@,0," \
+	-e "s,@epoxy_has_wgl@,0,"
+
+.if ${HAVE_XORG_GLAMOR} != "no"
+PKGCONFIG_SED_FLAGS+= \
 	-e "s,@GL_REQS@, gl egl,"
+.else
+PKGCONFIG_SED_FLAGS+= \
+	-e "s,@GL_REQS@, gl,"
+.endif
 
 .include 
 .include 



CVS commit: src/external/mit/xorg/server/xorg-server.old/hw/netbsd/x68k

2020-11-05 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Thu Nov  5 16:06:41 UTC 2020

Modified Files:
src/external/mit/xorg/server/xorg-server.old/hw/netbsd/x68k: Makefile

Log Message:
Cherry-pick Xorg version independent changes from xorg-server.

 Reorganize CPPFLAGS.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/external/mit/xorg/server/xorg-server.old/hw/netbsd/x68k/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/xorg-server.old/hw/netbsd/x68k/Makefile
diff -u src/external/mit/xorg/server/xorg-server.old/hw/netbsd/x68k/Makefile:1.2 src/external/mit/xorg/server/xorg-server.old/hw/netbsd/x68k/Makefile:1.3
--- src/external/mit/xorg/server/xorg-server.old/hw/netbsd/x68k/Makefile:1.2	Sat Jul 18 15:24:31 2020
+++ src/external/mit/xorg/server/xorg-server.old/hw/netbsd/x68k/Makefile	Thu Nov  5 16:06:41 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2020/07/18 15:24:31 tsutsui Exp $
+#	$NetBSD: Makefile,v 1.3 2020/11/05 16:06:41 tsutsui Exp $
 
 .include 
 
@@ -31,16 +31,14 @@ SRCS+=	miinitext.c
 .PATH:	${X11SRCDIR.xorg-server}/fb
 SRCS+=	fbcmap_mi.c
 
-CPPFLAGS+=	-I${X11SRCDIR.xorg-server}/include \
-		-I${X11SRCDIR.xorg-server}/hw/netbsd/x68k \
-		-I${X11SRCDIR.xorg-server}/fb \
-		-I${X11SRCDIR.xorg-server}/mi \
-		-I${X11SRCDIR.xorg-server}/render \
-		-I${DESTDIR}${X11INCDIR}/X11
+CPPFLAGS+=	-I${X11SRCDIR.xorg-server}/hw/netbsd/x68k \
+		${X11INCS.DIX}
 
 CPPFLAGS+=	-UXFree86LOADER -UXF86VIDMODE -UXFreeXDGA -UXF86MISC \
 		-UXF86DRI -UXF86BIGFONT
 
+CPPFLAGS+=	-UHAVE_XORG_CONFIG_H
+
 CPPFLAGS.x68kConfig.c=	 -DX11_LIBDIR=\"${X11ETCDIR}\"
 
 .include "../../../Makefile.Xserver"



CVS commit: src/external/mit/xorg/lib/fontconfig/etc/conf.avail

2020-11-05 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Thu Nov  5 12:13:02 UTC 2020

Modified Files:
src/external/mit/xorg/lib/fontconfig/etc/conf.avail:
70-no-bitmap-webfonts.conf

Log Message:
Also deny bitmap Lucida, Utopia from being selected through fontconfig.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \

src/external/mit/xorg/lib/fontconfig/etc/conf.avail/70-no-bitmap-webfonts.conf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/fontconfig/etc/conf.avail/70-no-bitmap-webfonts.conf
diff -u src/external/mit/xorg/lib/fontconfig/etc/conf.avail/70-no-bitmap-webfonts.conf:1.1 src/external/mit/xorg/lib/fontconfig/etc/conf.avail/70-no-bitmap-webfonts.conf:1.2
--- src/external/mit/xorg/lib/fontconfig/etc/conf.avail/70-no-bitmap-webfonts.conf:1.1	Sat Oct 10 09:17:33 2020
+++ src/external/mit/xorg/lib/fontconfig/etc/conf.avail/70-no-bitmap-webfonts.conf	Thu Nov  5 12:13:02 2020
@@ -1,5 +1,5 @@
 
-
+
 
 
 

CVS commit: src/external/mit/xorg/lib/libepoxy

2020-11-01 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Nov  2 06:25:24 UTC 2020

Modified Files:
src/external/mit/xorg/lib/libepoxy: Makefile

Log Message:
ensure PLATFORM_HAS_EGL and ENABLE_EGL are set consistently.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/mit/xorg/lib/libepoxy/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/libepoxy/Makefile
diff -u src/external/mit/xorg/lib/libepoxy/Makefile:1.7 src/external/mit/xorg/lib/libepoxy/Makefile:1.8
--- src/external/mit/xorg/lib/libepoxy/Makefile:1.7	Mon Nov  2 04:48:54 2020
+++ src/external/mit/xorg/lib/libepoxy/Makefile	Mon Nov  2 06:25:24 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.7 2020/11/02 04:48:54 mrg Exp $
+#	$NetBSD: Makefile,v 1.8 2020/11/02 06:25:24 mrg Exp $
 
 .include 
 
@@ -17,11 +17,12 @@ SRCS= \
 SRCS+= \
 	dispatch_egl.c \
 	egl_generated_dispatch.c
-CPPFLAGS+=	-DENABLE_EGL=1
 EGL=1
 .else
 EGL=0
 .endif
+CPPFLAGS+=	-DPLATFORM_HAS_EGL=${EGL}
+CPPFLAGS+=	-DENABLE_EGL=${EGL}
 
 INCSDIR=${X11INCDIR}/epoxy
 INCS= \



CVS commit: src/external/mit/xorg/lib/libepoxy

2020-11-01 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Nov  2 04:48:54 UTC 2020

Modified Files:
src/external/mit/xorg/lib/libepoxy: Makefile

Log Message:
adjust for libepoxy 1.5.4.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/mit/xorg/lib/libepoxy/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/libepoxy/Makefile
diff -u src/external/mit/xorg/lib/libepoxy/Makefile:1.6 src/external/mit/xorg/lib/libepoxy/Makefile:1.7
--- src/external/mit/xorg/lib/libepoxy/Makefile:1.6	Wed Jul 10 21:32:22 2019
+++ src/external/mit/xorg/lib/libepoxy/Makefile	Mon Nov  2 04:48:54 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2019/07/10 21:32:22 mrg Exp $
+#	$NetBSD: Makefile,v 1.7 2020/11/02 04:48:54 mrg Exp $
 
 .include 
 
@@ -17,7 +17,7 @@ SRCS= \
 SRCS+= \
 	dispatch_egl.c \
 	egl_generated_dispatch.c
-CPPFLAGS+=	-DPLATFORM_HAS_EGL=1
+CPPFLAGS+=	-DENABLE_EGL=1
 EGL=1
 .else
 EGL=0
@@ -36,10 +36,11 @@ CPPFLAGS+=	${X11FLAGS.CONNECTION}
 
 PKGCONFIG=	epoxy
 PKGCONFIG_SED_FLAGS= \
--e "s,@DLOPEN_LIBS@,," \
--e "s,@epoxy_has_glx@,1," \
--e "s,@epoxy_has_egl@,${EGL}," \
--e "s,@epoxy_has_wgl@,0,"
+	-e "s,@DLOPEN_LIBS@,," \
+	-e "s,@epoxy_has_glx@,1," \
+	-e "s,@epoxy_has_egl@,${EGL}," \
+	-e "s,@epoxy_has_wgl@,0," \
+	-e "s,@GL_REQS@, gl egl,"
 
 .include 
 .include 



CVS commit: src/external/mit/xorg/lib/xkeyboard-config

2020-11-01 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Nov  2 00:25:46 UTC 2020

Modified Files:
src/external/mit/xorg/lib/xkeyboard-config: Makefile

Log Message:
transform @xkb_base@ instead of __xkb_base__ now.

should fix build issues reported on -current.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 \
src/external/mit/xorg/lib/xkeyboard-config/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/xkeyboard-config/Makefile
diff -u src/external/mit/xorg/lib/xkeyboard-config/Makefile:1.13 src/external/mit/xorg/lib/xkeyboard-config/Makefile:1.14
--- src/external/mit/xorg/lib/xkeyboard-config/Makefile:1.13	Mon Mar 11 06:25:55 2019
+++ src/external/mit/xorg/lib/xkeyboard-config/Makefile	Mon Nov  2 00:25:46 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.13 2019/03/11 06:25:55 mrg Exp $
+#	$NetBSD: Makefile,v 1.14 2020/11/02 00:25:46 mrg Exp $
 
 .include 
 
@@ -12,7 +12,7 @@ NOOBJ=		# defined
 PKGCONFIG=	xkeyboard-config
 
 X11EXTRAMANTRANSFORMS+= \
-	__xkb_base__		${X11LIBDIR}/xkb
+	@xkb_base@		${X11LIBDIR}/xkb
 
 .include 
 .include 



CVS commit: src/external/mit/xorg/lib/xkeyboard-config

2020-11-01 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Nov  1 12:07:09 UTC 2020

Modified Files:
src/external/mit/xorg/lib/xkeyboard-config: xkeyboard-config.man
src/external/mit/xorg/lib/xkeyboard-config/rules: base base.lst evdev
evdev.lst
src/external/mit/xorg/lib/xkeyboard-config/symbols: Makefile

Log Message:
merge new xkeyboard-config 2.31 parts.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 \
src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.man
cvs rdiff -u -r1.14 -r1.15 \
src/external/mit/xorg/lib/xkeyboard-config/rules/base \
src/external/mit/xorg/lib/xkeyboard-config/rules/base.lst \
src/external/mit/xorg/lib/xkeyboard-config/rules/evdev.lst
cvs rdiff -u -r1.13 -r1.14 \
src/external/mit/xorg/lib/xkeyboard-config/rules/evdev
cvs rdiff -u -r1.15 -r1.16 \
src/external/mit/xorg/lib/xkeyboard-config/symbols/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.man
diff -u src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.man:1.7 src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.man:1.8
--- src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.man:1.7	Thu Mar 12 21:55:31 2020
+++ src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.man	Sun Nov  1 12:07:09 2020
@@ -1,11 +1,11 @@
 .\" WARNING: this man page is autogenerated. Do not edit or you will lose all your changes.
-.TH XKEYBOARD-CONFIG __miscmansuffix__ __vendorversion__
+.TH XKEYBOARD-CONFIG @miscmansuffix@ @vendorversion@
 .SH NAME
 xkeyboard-config \- XKB data description files
 .SH DESCRIPTION
 xkeyboard-config provides the description files for the X Keyboard
 Extension (XKB). The configuration options below are usually applied with
-setxkbmap(__appmansuffix__).
+setxkbmap(@appmansuffix@).
 .SH MODELS
 .TS
 left,box;
@@ -13,10 +13,12 @@ lB lB
 ___
 lB l.
 Model	Description
+pc86	Generic 86-key PC
 pc101	Generic 101-key PC
-pc102	Generic 102-key PC (intl.)
+pc102	Generic 102-key PC
 pc104	Generic 104-key PC
-pc105	Generic 105-key PC (intl.)
+pc104alt	Generic 104-key PC with L-shaped Enter key
+pc105	Generic 105-key PC
 dell101	Dell 101-key PC
 latitude	Dell Latitude laptop
 dellm65	Dell Precision M65 laptop
@@ -214,6 +216,7 @@ lB l.
 Layout(Variant)	Description
 us	English (US)
 us(chr)	Cherokee
+us(haw)	Hawaiian
 us(euro)	English (US, euro on 5)
 us(intl)	English (US, intl., with dead keys)
 us(alt-intl)	English (US, alt. intl.)
@@ -225,10 +228,11 @@ us(dvorak-l)	English (Dvorak, left-hande
 us(dvorak-r)	English (Dvorak, right-handed)
 us(dvorak-classic)	English (classic Dvorak)
 us(dvp)	English (programmer Dvorak)
+us(symbolic)	English (US, Symbolic)
 us(rus)	Russian (US, phonetic)
 us(mac)	English (Macintosh)
 us(altgr-intl)	English (intl., with AltGr dead keys)
-us(olpc2)	English (the divide/multiply keys toggle the layout)
+us(olpc2)	English (the divide/multiply toggle the layout)
 us(hbs)	Serbo-Croatian (US)
 us(norman)	English (Norman)
 us(workman)	English (Workman)
@@ -245,10 +249,10 @@ af(uz-olpc)	Uzbek (Afghanistan, OLPC)
 _
 ara	Arabic
 ara(azerty)	Arabic (AZERTY)
-ara(azerty_digits)	Arabic (AZERTY/digits)
-ara(digits)	Arabic (digits)
+ara(azerty_digits)	Arabic (AZERTY, Eastern Arabic numerals)
+ara(digits)	Arabic (Eastern Arabic numerals)
 ara(qwerty)	Arabic (QWERTY)
-ara(qwerty_digits)	Arabic (qwerty/digits)
+ara(qwerty_digits)	Arabic (QWERTY, Eastern Arabic numerals)
 ara(buckwalter)	Arabic (Buckwalter)
 ara(olpc)	Arabic (OLPC)
 ara(mac)	Arabic (Macintosh)
@@ -269,7 +273,7 @@ am(eastern-alt)	Armenian (alt. eastern)
 _
 at	German (Austria)
 at(nodeadkeys)	German (Austria, no dead keys)
-at(sundeadkeys)	German (Austria, with Sun dead keys)
+at(sundeadkeys)	German (Austria, Sun dead keys)
 at(mac)	German (Austria, Macintosh)
 
 _
@@ -283,15 +287,17 @@ _
 by	Belarusian
 by(legacy)	Belarusian (legacy)
 by(latin)	Belarusian (Latin)
+by(ru)	Russian (Belarus)
+by(intl)	Belarusian (intl.)
 
 _
 be	Belgian
 be(oss)	Belgian (alt.)
-be(oss_latin9)	Belgian (alt., Latin-9 only)
-be(oss_sundeadkeys)	Belgian (alt., with Sun dead keys)
-be(iso-alternate)	Belgian (alt. ISO)
+be(oss_latin9)	Belgian (Latin-9 only, alt.)
+be(oss_sundeadkeys)	Belgian (Sun dead keys, alt.)
+be(iso-alternate)	Belgian (ISO, alt.)
 be(nodeadkeys)	Belgian (no dead keys)
-be(sundeadkeys)	Belgian (with Sun dead keys)
+be(sundeadkeys)	Belgian (Sun dead keys)
 be(wang)	Belgian (Wang 724 AZERTY)
 
 _
@@ -304,14 +310,14 @@ in(ben)	Bangla (India)
 in(ben_probhat)	Bangla (India, Probhat)
 in(ben_baishakhi)	Bangla (India, Baishakhi)
 in(ben_bornona)	Bangla (India, Bornona)
-in(ben_gitanjali)	Bangla (India, Uni Gitanjali)
+in(ben_gitanjali)	Bangla (India, Gitanjali)
 in(ben_inscript)	Bangla (India, Baishakhi Inscript)
 in(eeyek)	Manipuri (Eeyek)
 in(guj)	Gujarati
 in(guru)	Punjabi (Gurmukhi)
 in(jhelum)	

CVS commit: src/external/mit/xorg/lib

2020-10-31 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Oct 31 13:28:22 UTC 2020

Modified Files:
src/external/mit/xorg/lib: libmesa.mk
src/external/mit/xorg/lib/libGL: Makefile
src/external/mit/xorg/lib/libglapi: Makefile

Log Message:
mesa: re-enable GLX TLS to help i386

mesa's assembly code for i386 only seems to be position independent
when compiled with ELF TLS, so having it disabled causes worse problems
than the edge cases ELF TLS causes.

potentially the assembly code could be fixed (it looks like it not
being safe is a bug), it could also be disabled, but i don't currently
have the means to measure the impact of that.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/external/mit/xorg/lib/libmesa.mk
cvs rdiff -u -r1.30 -r1.31 src/external/mit/xorg/lib/libGL/Makefile
cvs rdiff -u -r1.8 -r1.9 src/external/mit/xorg/lib/libglapi/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/libmesa.mk
diff -u src/external/mit/xorg/lib/libmesa.mk:1.12 src/external/mit/xorg/lib/libmesa.mk:1.13
--- src/external/mit/xorg/lib/libmesa.mk:1.12	Wed Sep 16 18:19:23 2020
+++ src/external/mit/xorg/lib/libmesa.mk	Sat Oct 31 13:28:22 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: libmesa.mk,v 1.12 2020/09/16 18:19:23 nia Exp $
+#	$NetBSD: libmesa.mk,v 1.13 2020/10/31 13:28:22 nia Exp $
 #
 # Consumer of this Makefile should set MESA_SRC_MODULES.
 
@@ -526,6 +526,7 @@ CPPFLAGS+=	\
 	-DHAVE_LIBDRM -DGLX_USE_DRM \
 	-DGLX_INDIRECT_RENDERING \
 	-DGLX_DIRECT_RENDERING \
+	-DGLX_USE_TLS \
 	-DHAVE_X11_PLATFORM \
 	-DHAVE_DRM_PLATFORM \
 	-DENABLE_SHADER_CACHE \

Index: src/external/mit/xorg/lib/libGL/Makefile
diff -u src/external/mit/xorg/lib/libGL/Makefile:1.30 src/external/mit/xorg/lib/libGL/Makefile:1.31
--- src/external/mit/xorg/lib/libGL/Makefile:1.30	Wed Sep 16 18:19:23 2020
+++ src/external/mit/xorg/lib/libGL/Makefile	Sat Oct 31 13:28:22 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.30 2020/09/16 18:19:23 nia Exp $
+#	$NetBSD: Makefile,v 1.31 2020/10/31 13:28:22 nia Exp $
 
 .include 
 
@@ -180,7 +180,7 @@ CPPFLAGS+=	\
 	-DHAVE_FUNC_ATTRIBUTE_NORETURN=1 -DHAVE_ENDIAN_H=1 -DHAVE_DLADDR=1 \
 	-DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 \
 	-DHAVE_PTHREAD=1 -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 \
-	-DHAVE_TIMESPEC_GET
+	-DHAVE_TIMESPEC_GET -DGLX_USE_TLS
 
 .include "../asm.mk"
 
@@ -224,7 +224,7 @@ PKGCONFIG_SED_FLAGS= \
 	s,@GL_PKGCONF_LIB@,GL,; \
 	s,@GL_PC_LIB_PRIV@,-lm -lpthread -pthread,; \
 	s,@GL_PC_CFLAGS@,,; \
-	s,@GLX_TLS@,no,"
+	s,@GLX_TLS@,yes,"
 
 
 CWARNFLAGS.clang+=	-Wno-tautological-compare -Wno-format -Wno-constant-conversion \

Index: src/external/mit/xorg/lib/libglapi/Makefile
diff -u src/external/mit/xorg/lib/libglapi/Makefile:1.8 src/external/mit/xorg/lib/libglapi/Makefile:1.9
--- src/external/mit/xorg/lib/libglapi/Makefile:1.8	Wed Sep 16 18:19:24 2020
+++ src/external/mit/xorg/lib/libglapi/Makefile	Sat Oct 31 13:28:22 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2020/09/16 18:19:24 nia Exp $
+#	$NetBSD: Makefile,v 1.9 2020/10/31 13:28:22 nia Exp $
 
 .include 
 
@@ -68,6 +68,7 @@ CPPFLAGS+=	\
 	-DGLX_USE_DRM \
 	-DGLX_INDIRECT_RENDERING \
 	-DGLX_DIRECT_RENDERING \
+	-DGLX_USE_TLS \
 	-DHAVE_X11_PLATFORM \
 	-DHAVE_DRM_PLATFORM \
 	-DENABLE_SHADER_CACHE \



CVS commit: src/external/mit/xorg/bin/xdm/config

2020-10-26 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Mon Oct 26 16:24:09 UTC 2020

Modified Files:
src/external/mit/xorg/bin/xdm/config: Xresources.in

Log Message:
xdm(8): fix definitions of truetype fonts in the default resource file

we don't ship with a truetype helvetica.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/mit/xorg/bin/xdm/config/Xresources.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/bin/xdm/config/Xresources.in
diff -u src/external/mit/xorg/bin/xdm/config/Xresources.in:1.4 src/external/mit/xorg/bin/xdm/config/Xresources.in:1.5
--- src/external/mit/xorg/bin/xdm/config/Xresources.in:1.4	Fri Mar 29 16:07:01 2019
+++ src/external/mit/xorg/bin/xdm/config/Xresources.in	Mon Oct 26 16:24:09 2020
@@ -22,19 +22,19 @@ xlogin*greetFont: -adobe-helvetica-bold-
 xlogin*font: -adobe-helvetica-medium-o-normal-*-14-*-*-*-*-*-iso8859-1
 xlogin*promptFont: -adobe-helvetica-medium-r-normal-*-14-*-*-*-*-*-iso8859-1
 xlogin*failFont: -adobe-helvetica-medium-r-normal-*-14-*-*-*-*-*-iso8859-1
-xlogin*greetFace:	Serif-24:bold:italic
-xlogin*face: 		Helvetica-14
-xlogin*promptFace: 	Helvetica-14:bold
-xlogin*failFace: 	Helvetica-14:bold
+xlogin*greetFace:	Sans-24
+xlogin*face: 		Sans-14
+xlogin*promptFace: 	Sans-14:bold
+xlogin*failFace: 	Sans-14:bold
 XHASHelse
 xlogin*greetFont: -adobe-helvetica-bold-o-normal--17-120-100-100-p-92-iso8859-1
 xlogin*font: -adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1
 xlogin*promptFont: -adobe-helvetica-bold-r-normal--12-120-75-75-p-70-iso8859-1
 xlogin*failFont: -adobe-helvetica-bold-o-normal--14-140-75-75-p-82-iso8859-1
-xlogin*greetFace:	Serif-18:bold:italic
-xlogin*face:		Helvetica-12
-xlogin*promptFace:	Helvetica-12:bold
-xlogin*failFace:	Helvetica-14:bold
+xlogin*greetFace:	Sans-18
+xlogin*face:		Sans-12
+xlogin*promptFace:	Sans-12:bold
+xlogin*failFace:	Sans-14:bold
 XHASHendif
 
 XHASHifdef COLOR



CVS commit: src/external/mit/ctwm/libexec

2020-10-13 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Tue Oct 13 09:10:38 UTC 2020

Modified Files:
src/external/mit/ctwm/libexec: Makefile

Log Message:
Fix previous; do not override SCRIPTS so that ctwm_app_menu gets installed.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/mit/ctwm/libexec/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/ctwm/libexec/Makefile
diff -u src/external/mit/ctwm/libexec/Makefile:1.2 src/external/mit/ctwm/libexec/Makefile:1.3
--- src/external/mit/ctwm/libexec/Makefile:1.2	Mon Oct 12 11:07:24 2020
+++ src/external/mit/ctwm/libexec/Makefile	Tue Oct 13 09:10:38 2020
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.2 2020/10/12 11:07:24 nia Exp $
+# $NetBSD: Makefile,v 1.3 2020/10/13 09:10:38 rin Exp $
 
 .include 
 
 SCRIPTS=	ctwm_app_menu
-SCRIPTS=	ctwm_font_size
+SCRIPTS+=	ctwm_font_size
 
 SCRIPTSDIR=	${X11ROOTDIR}/libexec
 



CVS commit: src/external/mit/ctwm/etc

2020-10-12 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Mon Oct 12 15:24:16 UTC 2020

Modified Files:
src/external/mit/ctwm/etc: system.ctwmrc

Log Message:
xclock also gets AlwaysOnTop


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/mit/ctwm/etc/system.ctwmrc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/ctwm/etc/system.ctwmrc
diff -u src/external/mit/ctwm/etc/system.ctwmrc:1.8 src/external/mit/ctwm/etc/system.ctwmrc:1.9
--- src/external/mit/ctwm/etc/system.ctwmrc:1.8	Mon Oct 12 11:07:24 2020
+++ src/external/mit/ctwm/etc/system.ctwmrc	Mon Oct 12 15:24:16 2020
@@ -1,5 +1,5 @@
 #
-# $NetBSD: system.ctwmrc,v 1.8 2020/10/12 11:07:24 nia Exp $
+# $NetBSD: system.ctwmrc,v 1.9 2020/10/12 15:24:16 nia Exp $
 #
 # ctwmrc by nia
 #
@@ -300,6 +300,7 @@ OccupyAll 
 
 AlwaysOnTop
 {
+   "xclock"
"XEyes"
"XVidCap"
 }



CVS commit: src/external/mit/xorg/bin/xinit

2020-10-12 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Mon Oct 12 11:43:11 UTC 2020

Modified Files:
src/external/mit/xorg/bin/xinit: Makefile

Log Message:
define xsetroot in the right place


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/external/mit/xorg/bin/xinit/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/bin/xinit/Makefile
diff -u src/external/mit/xorg/bin/xinit/Makefile:1.10 src/external/mit/xorg/bin/xinit/Makefile:1.11
--- src/external/mit/xorg/bin/xinit/Makefile:1.10	Sun Oct 11 10:08:26 2020
+++ src/external/mit/xorg/bin/xinit/Makefile	Mon Oct 12 11:43:11 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.10 2020/10/11 10:08:26 nia Exp $
+#	$NetBSD: Makefile,v 1.11 2020/10/12 11:43:11 nia Exp $
 
 .include 
 
@@ -14,6 +14,7 @@ CPPSCRIPTS=	startx xinitrc
 CPPSCRIPTFLAGS_xinitrc=	-DXINITDIR=${XINITDIR} -DBINDIR=${X11BINDIR} \
 		-DSHELL_CMD=/bin/sh -DXRDB=xrdb -DXMODMAP=xmodmap \
 		-DTWM=twm -DXCLOCK=xclock -DXTERM=${X11BINDIR}/xterm \
+		-DXSETROOT=${X11BINDIR}/xsetroot \
 		-DUXTERM=${X11BINDIR}/uxterm \
 		-DCTWM=${X11BINDIR}/ctwm
 CPPSCRIPTFLAGS_startx=	-DXINITDIR=${XINITDIR} -DBINDIR=${X11BINDIR} \



CVS commit: src/external/mit/ctwm/etc

2020-10-11 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sun Oct 11 10:12:53 UTC 2020

Modified Files:
src/external/mit/ctwm/etc: system.ctwmrc

Log Message:
slightly lower workspace manager size

this works nicely on a 12.5" FHD screen


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/mit/ctwm/etc/system.ctwmrc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/ctwm/etc/system.ctwmrc
diff -u src/external/mit/ctwm/etc/system.ctwmrc:1.6 src/external/mit/ctwm/etc/system.ctwmrc:1.7
--- src/external/mit/ctwm/etc/system.ctwmrc:1.6	Sun Oct 11 10:02:51 2020
+++ src/external/mit/ctwm/etc/system.ctwmrc	Sun Oct 11 10:12:53 2020
@@ -1,5 +1,5 @@
 #
-# $NetBSD: system.ctwmrc,v 1.6 2020/10/11 10:02:51 nia Exp $
+# $NetBSD: system.ctwmrc,v 1.7 2020/10/11 10:12:53 nia Exp $
 #
 # ctwmrc by nia
 #
@@ -129,7 +129,7 @@ ReverseCurrentWorkspace	
 StartInMapState
 WMgrHorizButtonIndent 0
 WMgrVertButtonIndent  0
-WorkSpaceManagerGeometry  "70x270-4-4" 1
+WorkSpaceManagerGeometry  "60x240-4-4" 1
 
 WorkSpaces 
 {



CVS commit: src/external/mit/xorg/bin/xinit

2020-10-11 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sun Oct 11 10:08:26 UTC 2020

Modified Files:
src/external/mit/xorg/bin/xinit: Makefile

Log Message:
allow xsetroot to be used in default xinitrc


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/mit/xorg/bin/xinit/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/bin/xinit/Makefile
diff -u src/external/mit/xorg/bin/xinit/Makefile:1.9 src/external/mit/xorg/bin/xinit/Makefile:1.10
--- src/external/mit/xorg/bin/xinit/Makefile:1.9	Mon Sep 21 13:51:55 2020
+++ src/external/mit/xorg/bin/xinit/Makefile	Sun Oct 11 10:08:26 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.9 2020/09/21 13:51:55 nia Exp $
+#	$NetBSD: Makefile,v 1.10 2020/10/11 10:08:26 nia Exp $
 
 .include 
 
@@ -21,6 +21,7 @@ CPPSCRIPTFLAGS_startx=	-DXINITDIR=${XINI
 		-DXSERVER=${X11BINDIR}/X -DXTERM=${X11BINDIR}/xterm \
 		-DUXTERM=${X11BINDIR}/uxterm \
 		-DCTWM=${X11BINDIR}/ctwm \
+		-DXSETROOT=${X11BINDIR}/xsetroot \
 		-DHAS_COOKIE_MAKER \
 		-DMK_COOKIE='dd if=/dev/urandom bs=16 count=1 2>/dev/null | hexdump -e \\"%08x\\"'
 



CVS commit: src/external/mit/ctwm/etc

2020-10-11 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sun Oct 11 10:02:51 UTC 2020

Modified Files:
src/external/mit/ctwm/etc: system.ctwmrc

Log Message:
allow the root window to be freely painted with e.g. xsetroot

it came up during initial review that it may be confusing that xsetroot
doesn't work by default


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/mit/ctwm/etc/system.ctwmrc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/ctwm/etc/system.ctwmrc
diff -u src/external/mit/ctwm/etc/system.ctwmrc:1.5 src/external/mit/ctwm/etc/system.ctwmrc:1.6
--- src/external/mit/ctwm/etc/system.ctwmrc:1.5	Sun Oct 11 07:08:29 2020
+++ src/external/mit/ctwm/etc/system.ctwmrc	Sun Oct 11 10:02:51 2020
@@ -1,5 +1,5 @@
 #
-# $NetBSD: system.ctwmrc,v 1.5 2020/10/11 07:08:29 nia Exp $
+# $NetBSD: system.ctwmrc,v 1.6 2020/10/11 10:02:51 nia Exp $
 #
 # ctwmrc by nia
 #
@@ -44,6 +44,9 @@ RestartPreviousState
 
 DecorateTransients
 
+# allow the user to have their root window recolored as they choose
+DontPaintRootWindow
+
 # hide window contents while altering windows for performance
 NoOpaqueMove
 NoOpaqueResize



CVS commit: src/external/mit/ctwm/etc

2020-10-11 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sun Oct 11 07:08:29 UTC 2020

Modified Files:
src/external/mit/ctwm/etc: system.ctwmrc

Log Message:
mute binding is annoying when there's hardware mute


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/mit/ctwm/etc/system.ctwmrc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/ctwm/etc/system.ctwmrc
diff -u src/external/mit/ctwm/etc/system.ctwmrc:1.4 src/external/mit/ctwm/etc/system.ctwmrc:1.5
--- src/external/mit/ctwm/etc/system.ctwmrc:1.4	Sat Oct 10 10:36:16 2020
+++ src/external/mit/ctwm/etc/system.ctwmrc	Sun Oct 11 07:08:29 2020
@@ -1,5 +1,5 @@
 #
-# $NetBSD: system.ctwmrc,v 1.4 2020/10/10 10:36:16 nia Exp $
+# $NetBSD: system.ctwmrc,v 1.5 2020/10/11 07:08:29 nia Exp $
 #
 # ctwmrc by nia
 #
@@ -329,7 +329,7 @@ Button3 = mod4	: window 	: f.resize
 
 "XF86AudioRaiseVolume" = : all : !"mixerctl -w outputs.master+=5"
 "XF86AudioLowerVolume" = : all : !"mixerctl -w outputs.master-=5"
-"XF86AudioMute"= : all : !"mixerctl -w outputs.master=0"
+#"XF86AudioMute"= : all : !"mixerctl -w outputs.master=0"
 
 #
 # "Windows" style keyboard shortcuts



CVS commit: src/external/mit/ctwm/etc

2020-10-10 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Oct 10 10:36:16 UTC 2020

Modified Files:
src/external/mit/ctwm/etc: system.ctwmrc

Log Message:
xeyes should be AlwaysOnTop - requested by a user


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/mit/ctwm/etc/system.ctwmrc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/ctwm/etc/system.ctwmrc
diff -u src/external/mit/ctwm/etc/system.ctwmrc:1.3 src/external/mit/ctwm/etc/system.ctwmrc:1.4
--- src/external/mit/ctwm/etc/system.ctwmrc:1.3	Sat Oct 10 10:33:37 2020
+++ src/external/mit/ctwm/etc/system.ctwmrc	Sat Oct 10 10:36:16 2020
@@ -1,5 +1,5 @@
 #
-# $NetBSD: system.ctwmrc,v 1.3 2020/10/10 10:33:37 nia Exp $
+# $NetBSD: system.ctwmrc,v 1.4 2020/10/10 10:36:16 nia Exp $
 #
 # ctwmrc by nia
 #
@@ -240,6 +240,7 @@ OccupyAll 
 
 AlwaysOnTop
 {
+   "XEyes"
"XVidCap"
 }
 



CVS commit: src/external/mit/ctwm/etc

2020-10-10 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Oct 10 10:33:37 UTC 2020

Modified Files:
src/external/mit/ctwm/etc: system.ctwmrc

Log Message:
Bump up the dark contrast a bit


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/mit/ctwm/etc/system.ctwmrc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/ctwm/etc/system.ctwmrc
diff -u src/external/mit/ctwm/etc/system.ctwmrc:1.2 src/external/mit/ctwm/etc/system.ctwmrc:1.3
--- src/external/mit/ctwm/etc/system.ctwmrc:1.2	Sat Oct 10 10:28:08 2020
+++ src/external/mit/ctwm/etc/system.ctwmrc	Sat Oct 10 10:33:37 2020
@@ -1,5 +1,5 @@
 #
-# $NetBSD: system.ctwmrc,v 1.2 2020/10/10 10:28:08 nia Exp $
+# $NetBSD: system.ctwmrc,v 1.3 2020/10/10 10:33:37 nia Exp $
 #
 # ctwmrc by nia
 #
@@ -72,8 +72,8 @@ IgnoreLockModifier
 RandomPlacement  "on"
 
 MoveDelta 3
-ClearShadowContrast   50
-DarkShadowContrast50
+ClearShadowContrast   40
+DarkShadowContrast60
 MovePackResistance100
 
 RaiseWhenAutoUnSqueeze



CVS commit: src/external/mit/ctwm/etc

2020-10-10 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Oct 10 10:28:08 UTC 2020

Modified Files:
src/external/mit/ctwm/etc: system.ctwmrc

Log Message:
Make it easier to identify the current active window (red border highlight)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/mit/ctwm/etc/system.ctwmrc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/ctwm/etc/system.ctwmrc
diff -u src/external/mit/ctwm/etc/system.ctwmrc:1.1 src/external/mit/ctwm/etc/system.ctwmrc:1.2
--- src/external/mit/ctwm/etc/system.ctwmrc:1.1	Thu Sep 24 05:43:30 2020
+++ src/external/mit/ctwm/etc/system.ctwmrc	Sat Oct 10 10:28:08 2020
@@ -1,5 +1,5 @@
 #
-# $NetBSD: system.ctwmrc,v 1.1 2020/09/24 05:43:30 nia Exp $
+# $NetBSD: system.ctwmrc,v 1.2 2020/10/10 10:28:08 nia Exp $
 #
 # ctwmrc by nia
 #
@@ -139,10 +139,10 @@ WorkSpaces 
 
 Color
 {
-  BorderColor   "steelblue"
+  BorderColor   "firebrick"
 
-  BorderTileBackground  "lavender"
-  BorderTileForeground  "lavender"
+  BorderTileBackground  "steelblue"
+  BorderTileForeground  "steelblue"
 
   DefaultBackground "grey70"
   DefaultForeground "black"



CVS commit: src/external/mit/xorg/share/fonts/misc/font-spleen-misc

2020-10-10 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Oct 10 07:28:04 UTC 2020

Added Files:
src/external/mit/xorg/share/fonts/misc/font-spleen-misc: Makefile

Log Message:
Add Makefile for X11 Spleen fonts. Not integrated yet.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
src/external/mit/xorg/share/fonts/misc/font-spleen-misc/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: src/external/mit/xorg/share/fonts/misc/font-spleen-misc/Makefile
diff -u /dev/null src/external/mit/xorg/share/fonts/misc/font-spleen-misc/Makefile:1.1
--- /dev/null	Sat Oct 10 07:28:04 2020
+++ src/external/mit/xorg/share/fonts/misc/font-spleen-misc/Makefile	Sat Oct 10 07:28:04 2020
@@ -0,0 +1,21 @@
+#	$NetBSD: Makefile,v 1.1 2020/10/10 07:28:04 nia Exp $
+
+.include 
+
+FONTSUBDIR=	misc
+FONTSRCPKG=	font-spleen-misc
+
+X11SRCDIR.font-spleen-misc= \
+	${X11SRCDIR}/external/bsd/${FONTSRCPKG}
+
+BDFFILES+=	spleen-12x24.bdf
+BDFFILES+=	spleen-16x32.bdf
+BDFFILES+=	spleen-32x64.bdf
+BDFFILES+=	spleen-5x8.bdf
+BDFFILES+=	spleen-6x12.bdf
+BDFFILES+=	spleen-8x16.bdf
+
+.include "../../Makefile.bdf"
+
+.include 
+.include 



CVS commit: src/external/mit/xorg/server/xorg-server/hw/xfree86/xorgos

2020-10-09 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Oct  9 17:01:29 UTC 2020

Modified Files:
src/external/mit/xorg/server/xorg-server/hw/xfree86/xorgos: Makefile

Log Message:
build ppc_video.c etc. on hppa


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 \
src/external/mit/xorg/server/xorg-server/hw/xfree86/xorgos/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/xorg-server/hw/xfree86/xorgos/Makefile
diff -u src/external/mit/xorg/server/xorg-server/hw/xfree86/xorgos/Makefile:1.47 src/external/mit/xorg/server/xorg-server/hw/xfree86/xorgos/Makefile:1.48
--- src/external/mit/xorg/server/xorg-server/hw/xfree86/xorgos/Makefile:1.47	Mon Dec 31 11:14:05 2018
+++ src/external/mit/xorg/server/xorg-server/hw/xfree86/xorgos/Makefile	Fri Oct  9 17:01:29 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.47 2018/12/31 11:14:05 mrg Exp $
+#	$NetBSD: Makefile,v 1.48 2020/10/09 17:01:29 macallan Exp $
 
 .include "../../../Makefile.serverlib"
 .include "../../../Makefile.servermod"
@@ -35,7 +35,8 @@ CPPFLAGS.${_FN}+=	-DPCVT_SUPPORT -DWSCON
 .endfor
 .endif
 
-.if ${MACHINE} == "macppc" || ${MACHINE} == "prep" || ${MACHINE} == "bebox" || ${MACHINE} == "ofppc" || ${MACHINE} == "ibmnws"
+.if ${MACHINE} == "macppc" || ${MACHINE} == "prep" || ${MACHINE} == "bebox" || ${MACHINE} == "ofppc" || \
+	${MACHINE} == "ibmnws" || ${MACHINE} == "hppa"
 SRCS.bsd+=	ppc_video.c pm_noop.c lnx_agp.c
 .for _FN in ${SRCS.bsd}
 CPPFLAGS.${_FN}=	-DWSCONS_SUPPORT -DPCVT_SUPPORT -DUSESTDRES -DHAVE_SYSV_IPC



CVS commit: src/external/mit/xorg/server/drivers

2020-10-08 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Oct  9 04:28:38 UTC 2020

Modified Files:
src/external/mit/xorg/server/drivers: Makefile

Log Message:
build some potentially useful drivers on hppa


To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 src/external/mit/xorg/server/drivers/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/drivers/Makefile
diff -u src/external/mit/xorg/server/drivers/Makefile:1.99 src/external/mit/xorg/server/drivers/Makefile:1.100
--- src/external/mit/xorg/server/drivers/Makefile:1.99	Sun Jan 19 10:45:50 2020
+++ src/external/mit/xorg/server/drivers/Makefile	Fri Oct  9 04:28:38 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.99 2020/01/19 10:45:50 jmcneill Exp $
+#	$NetBSD: Makefile,v 1.100 2020/10/09 04:28:38 macallan Exp $
 
 .include 
 
@@ -212,6 +212,13 @@ SUBDIR+= \
 	xf86-video-wsfb
 .endif # ${MACHINE} == "hpcarm" || ${MACHINE} == "hpcmips" || ${MACHINE} == "hpcsh"
 
+.if ${MACHINE} == "hppa"
+SUBDIR+= \
+	xf86-video-mga \
+	xf86-video-r128 \
+	xf86-video-wsfb
+.endif	# ${MACHINE} == "hppa"
+
 .if ${MACHINE} == "ibmnws"
 SUBDIR+= \
 	xf86-video-s3



CVS commit: src/external/mit/xorg/lib/fontconfig/etc

2020-10-05 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Mon Oct  5 09:16:26 UTC 2020

Modified Files:
src/external/mit/xorg/lib/fontconfig/etc: fonts.conf

Log Message:
Adjust the default fontconfig fonts.conf to avoid selecting bitmap
fonts included as part of X11 that are also included as scalable fonts
as part of macOS.

Many websites will attempt to select these fonts, which results in
very strange, poor quality rendering.

This should keep legacy X11 applications that want the old "Helvetica"
and "Times" fonts working, but prevent them from being selected by
applications that want scalable fonts.

It should not prevent "Helvetica" or "Times" from being selected
if the user installs a scalable version.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/mit/xorg/lib/fontconfig/etc/fonts.conf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/fontconfig/etc/fonts.conf
diff -u src/external/mit/xorg/lib/fontconfig/etc/fonts.conf:1.8 src/external/mit/xorg/lib/fontconfig/etc/fonts.conf:1.9
--- src/external/mit/xorg/lib/fontconfig/etc/fonts.conf:1.8	Tue Aug 29 20:53:56 2017
+++ src/external/mit/xorg/lib/fontconfig/etc/fonts.conf	Mon Oct  5 09:16:26 2020
@@ -66,6 +66,33 @@
 	
 
 
+	
+		
+			
+			Charter
+			false
+			
+			
+			Courier
+			false
+			
+			
+			Helvetica
+			false
+			
+			
+			Times
+			false
+			
+		
+
+
+
 	conf.d



CVS commit: src/external/mit/xorg/lib/fontconfig/etc

2020-10-05 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Mon Oct  5 09:16:53 UTC 2020

Modified Files:
src/external/mit/xorg/lib/fontconfig/etc: fonts.conf

Log Message:
fix indentation


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/mit/xorg/lib/fontconfig/etc/fonts.conf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/fontconfig/etc/fonts.conf
diff -u src/external/mit/xorg/lib/fontconfig/etc/fonts.conf:1.9 src/external/mit/xorg/lib/fontconfig/etc/fonts.conf:1.10
--- src/external/mit/xorg/lib/fontconfig/etc/fonts.conf:1.9	Mon Oct  5 09:16:26 2020
+++ src/external/mit/xorg/lib/fontconfig/etc/fonts.conf	Mon Oct  5 09:16:53 2020
@@ -90,7 +90,7 @@
 			false
 			
 		
-
+	
 
 

CVS commit: src/external/mit/xorg/bin/xterm

2020-10-02 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Fri Oct  2 13:08:07 UTC 2020

Modified Files:
src/external/mit/xorg/bin/xterm: Makefile

Log Message:
xterm: Enable SIXEL graphics support.

could also enable REGIS, it will require -lm and i suppose isn't
a default upstream yet(?)

test with "-ti vt340".


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/external/mit/xorg/bin/xterm/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/bin/xterm/Makefile
diff -u src/external/mit/xorg/bin/xterm/Makefile:1.17 src/external/mit/xorg/bin/xterm/Makefile:1.18
--- src/external/mit/xorg/bin/xterm/Makefile:1.17	Wed May  9 08:39:55 2018
+++ src/external/mit/xorg/bin/xterm/Makefile	Fri Oct  2 13:08:07 2020
@@ -1,16 +1,14 @@
-#	$NetBSD: Makefile,v 1.17 2018/05/09 08:39:55 mrg Exp $
+#	$NetBSD: Makefile,v 1.18 2020/10/02 13:08:07 nia Exp $
 
 .include 
 
 PROG=	xterm
 SRCS=	button.c charproc.c charsets.c cursor.c data.c doublechr.c \
-	fontutils.c input.c linedata.c menu.c misc.c print.c ptydata.c \
-	screen.c scrollback.c scrollbar.c tabs.c util.c xstrings.c \
-	TekPrsTbl.c Tekproc.c VTPrsTbl.c main.c charclass.c precompose.c \
-	wcwidth.c xutf8.c cachedGCs.c xtermcap.c version.c
-
-# graphics_regis.c graphics_sixel.c
-# xterm.appdata.xml
+	graphics.c graphics_sixel.c fontutils.c input.c linedata.c menu.c \
+	misc.c print.c ptydata.c screen.c scrollback.c scrollbar.c tabs.c \
+	util.c xstrings.c TekPrsTbl.c Tekproc.c VTPrsTbl.c main.c \
+	charclass.c precompose.c wcwidth.c xutf8.c cachedGCs.c xtermcap.c \
+	version.c
 
 CPPFLAGS+=	-I. \
 		-I${X11SRCDIR.${PROG}} \
@@ -19,6 +17,8 @@ CPPFLAGS+=	-I. \
 		-I${DESTDIR}${X11INCDIR}/freetype2/freetype \
 		-DPROJECTROOT=${X11ROOTDIR} \
 		-DHAVE_CONFIG_H \
+		-DOPT_GRAPHICS \
+		-DOPT_SIXEL_GRAPHICS \
 		-D_REENTRANT \
 		${X11FLAGS.VERSION}
 



CVS commit: src/external/mit/xorg/bin/xeyes

2020-10-01 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Thu Oct  1 21:22:47 UTC 2020

Modified Files:
src/external/mit/xorg/bin/xeyes: Makefile

Log Message:
xeyes: Enable anti-aliasing with XRENDER

If you prefer the "classic" look, "xeyes +render"


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/mit/xorg/bin/xeyes/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/bin/xeyes/Makefile
diff -u src/external/mit/xorg/bin/xeyes/Makefile:1.2 src/external/mit/xorg/bin/xeyes/Makefile:1.3
--- src/external/mit/xorg/bin/xeyes/Makefile:1.2	Sun Mar 11 08:21:24 2018
+++ src/external/mit/xorg/bin/xeyes/Makefile	Thu Oct  1 21:22:47 2020
@@ -1,11 +1,13 @@
-#	$NetBSD: Makefile,v 1.2 2018/03/11 08:21:24 mrg Exp $
+#	$NetBSD: Makefile,v 1.3 2020/10/01 21:22:47 nia Exp $
 
 .include 
 
+CPPFLAGS+=-DXRENDER
+
 PROG=	xeyes
 SRCS=	xeyes.c Eyes.c transform.c
 
-LDADD+=	-lXmu -lXt -lSM -lICE -lXext -lX11 -lm
+LDADD+=	-lXmu -lXt -lSM -lICE -lXext -lXrender -lX11 -lm
 DPADD+=	${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} ${LIBXEXT} ${LIBX11} ${LIBM}
 
 .PATH:	${X11SRCDIR.${PROG}}



CVS commit: src/external/mit/ctwm

2020-09-28 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Mon Sep 28 06:04:08 UTC 2020

Modified Files:
src/external/mit/ctwm: Makefile
src/external/mit/ctwm/bin/ctwm: Makefile
src/external/mit/ctwm/etc: Makefile

Log Message:
unbreak. bsd.files.mk needs to have an includes target, see also
share/wscons/fonts/Makefile


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/mit/ctwm/Makefile
cvs rdiff -u -r1.7 -r1.8 src/external/mit/ctwm/bin/ctwm/Makefile
cvs rdiff -u -r1.1 -r1.2 src/external/mit/ctwm/etc/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/ctwm/Makefile
diff -u src/external/mit/ctwm/Makefile:1.4 src/external/mit/ctwm/Makefile:1.5
--- src/external/mit/ctwm/Makefile:1.4	Thu Sep 24 06:52:48 2020
+++ src/external/mit/ctwm/Makefile	Mon Sep 28 06:04:08 2020
@@ -1,10 +1,10 @@
-#	$NetBSD: Makefile,v 1.4 2020/09/24 06:52:48 nia Exp $
+#	$NetBSD: Makefile,v 1.5 2020/09/28 06:04:08 nia Exp $
 
 # Top level Makefile to cross build xorg inside the NetBSD tree.
 
 .include 
 
-SUBDIR=		bin libexec
+SUBDIR=		bin etc libexec
 
 .if ${MKUPDATE} == "no" && !defined(NOCLEANDIR)
 BUILDTARGETS+=  cleandir

Index: src/external/mit/ctwm/bin/ctwm/Makefile
diff -u src/external/mit/ctwm/bin/ctwm/Makefile:1.7 src/external/mit/ctwm/bin/ctwm/Makefile:1.8
--- src/external/mit/ctwm/bin/ctwm/Makefile:1.7	Thu Sep 24 06:52:48 2020
+++ src/external/mit/ctwm/bin/ctwm/Makefile	Mon Sep 28 06:04:08 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.7 2020/09/24 06:52:48 nia Exp $
+#	$NetBSD: Makefile,v 1.8 2020/09/28 06:04:08 nia Exp $
 
 .include 
 
@@ -44,9 +44,7 @@ FILES=			3D_Expand15.xpm 3D_Iconify15.xp
 			xedit.xpm xftp.xpm xgopher.xpm xgrab.xpm xhpcalc.xpm \
 			xirc.xpm xmail.xpm xman.xpm xmosaic.xpm xnomail.xpm \
 			xrn-compose.xpm xrn.goodnews.xpm xrn.nonews.xpm xrn.xpm \
-			xterm.xpm system.ctwmrc
-
-FILESDIR_system.ctwmrc = ${CTWMCONFIGDIR}
+			xterm.xpm
 
 LDADD+=	-lXpm  -lXmu -lXt -lSM -lICE -lXext -lX11
 DPADD+=	${LIBXPM} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} ${LIBXEXT} ${LIBX11}

Index: src/external/mit/ctwm/etc/Makefile
diff -u src/external/mit/ctwm/etc/Makefile:1.1 src/external/mit/ctwm/etc/Makefile:1.2
--- src/external/mit/ctwm/etc/Makefile:1.1	Thu Sep 24 05:43:30 2020
+++ src/external/mit/ctwm/etc/Makefile	Mon Sep 28 06:04:08 2020
@@ -1,7 +1,10 @@
-#	$NetBSD: Makefile,v 1.1 2020/09/24 05:43:30 nia Exp $
+#	$NetBSD: Makefile,v 1.2 2020/09/28 06:04:08 nia Exp $
 
 FILESDIR=	${X11ETCDIR}/ctwm
 FILESMODE=	644
 FILES=		system.ctwmrc
 
+realall:	${FILES}
+
+.include 
 .include 



CVS commit: src/external/mit/ctwm

2020-09-24 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Thu Sep 24 06:52:48 UTC 2020

Modified Files:
src/external/mit/ctwm: Makefile
src/external/mit/ctwm/bin/ctwm: Makefile

Log Message:
revert; use system.ctwmrc from xsrc until I understand why the build fails


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/mit/ctwm/Makefile
cvs rdiff -u -r1.6 -r1.7 src/external/mit/ctwm/bin/ctwm/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/ctwm/Makefile
diff -u src/external/mit/ctwm/Makefile:1.3 src/external/mit/ctwm/Makefile:1.4
--- src/external/mit/ctwm/Makefile:1.3	Thu Sep 24 05:43:30 2020
+++ src/external/mit/ctwm/Makefile	Thu Sep 24 06:52:48 2020
@@ -1,10 +1,10 @@
-#	$NetBSD: Makefile,v 1.3 2020/09/24 05:43:30 nia Exp $
+#	$NetBSD: Makefile,v 1.4 2020/09/24 06:52:48 nia Exp $
 
 # Top level Makefile to cross build xorg inside the NetBSD tree.
 
 .include 
 
-SUBDIR=		bin etc libexec
+SUBDIR=		bin libexec
 
 .if ${MKUPDATE} == "no" && !defined(NOCLEANDIR)
 BUILDTARGETS+=  cleandir

Index: src/external/mit/ctwm/bin/ctwm/Makefile
diff -u src/external/mit/ctwm/bin/ctwm/Makefile:1.6 src/external/mit/ctwm/bin/ctwm/Makefile:1.7
--- src/external/mit/ctwm/bin/ctwm/Makefile:1.6	Thu Sep 24 05:43:29 2020
+++ src/external/mit/ctwm/bin/ctwm/Makefile	Thu Sep 24 06:52:48 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2020/09/24 05:43:29 nia Exp $
+#	$NetBSD: Makefile,v 1.7 2020/09/24 06:52:48 nia Exp $
 
 .include 
 
@@ -44,7 +44,9 @@ FILES=			3D_Expand15.xpm 3D_Iconify15.xp
 			xedit.xpm xftp.xpm xgopher.xpm xgrab.xpm xhpcalc.xpm \
 			xirc.xpm xmail.xpm xman.xpm xmosaic.xpm xnomail.xpm \
 			xrn-compose.xpm xrn.goodnews.xpm xrn.nonews.xpm xrn.xpm \
-			xterm.xpm
+			xterm.xpm system.ctwmrc
+
+FILESDIR_system.ctwmrc = ${CTWMCONFIGDIR}
 
 LDADD+=	-lXpm  -lXmu -lXt -lSM -lICE -lXext -lX11
 DPADD+=	${LIBXPM} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} ${LIBXEXT} ${LIBX11}



CVS commit: src/external/mit/ctwm

2020-09-23 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Thu Sep 24 05:43:30 UTC 2020

Modified Files:
src/external/mit/ctwm: Makefile
src/external/mit/ctwm/bin/ctwm: Makefile
Added Files:
src/external/mit/ctwm/etc: Makefile system.ctwmrc

Log Message:
move the new ctwmrc here so it doesn't conflict with the upstream one


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/mit/ctwm/Makefile
cvs rdiff -u -r1.5 -r1.6 src/external/mit/ctwm/bin/ctwm/Makefile
cvs rdiff -u -r0 -r1.1 src/external/mit/ctwm/etc/Makefile \
src/external/mit/ctwm/etc/system.ctwmrc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/ctwm/Makefile
diff -u src/external/mit/ctwm/Makefile:1.2 src/external/mit/ctwm/Makefile:1.3
--- src/external/mit/ctwm/Makefile:1.2	Wed Sep 23 15:30:36 2020
+++ src/external/mit/ctwm/Makefile	Thu Sep 24 05:43:30 2020
@@ -1,10 +1,10 @@
-#	$NetBSD: Makefile,v 1.2 2020/09/23 15:30:36 nia Exp $
+#	$NetBSD: Makefile,v 1.3 2020/09/24 05:43:30 nia Exp $
 
 # Top level Makefile to cross build xorg inside the NetBSD tree.
 
 .include 
 
-SUBDIR=		bin libexec
+SUBDIR=		bin etc libexec
 
 .if ${MKUPDATE} == "no" && !defined(NOCLEANDIR)
 BUILDTARGETS+=  cleandir

Index: src/external/mit/ctwm/bin/ctwm/Makefile
diff -u src/external/mit/ctwm/bin/ctwm/Makefile:1.5 src/external/mit/ctwm/bin/ctwm/Makefile:1.6
--- src/external/mit/ctwm/bin/ctwm/Makefile:1.5	Sun Mar 18 11:40:41 2018
+++ src/external/mit/ctwm/bin/ctwm/Makefile	Thu Sep 24 05:43:29 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2018/03/18 11:40:41 jmcneill Exp $
+#	$NetBSD: Makefile,v 1.6 2020/09/24 05:43:29 nia Exp $
 
 .include 
 
@@ -44,10 +44,7 @@ FILES=			3D_Expand15.xpm 3D_Iconify15.xp
 			xedit.xpm xftp.xpm xgopher.xpm xgrab.xpm xhpcalc.xpm \
 			xirc.xpm xmail.xpm xman.xpm xmosaic.xpm xnomail.xpm \
 			xrn-compose.xpm xrn.goodnews.xpm xrn.nonews.xpm xrn.xpm \
-			xterm.xpm system.ctwmrc
-
-FILESDIR_system.ctwmrc = ${CTWMCONFIGDIR}
-
+			xterm.xpm
 
 LDADD+=	-lXpm  -lXmu -lXt -lSM -lICE -lXext -lX11
 DPADD+=	${LIBXPM} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} ${LIBXEXT} ${LIBX11}

Added files:

Index: src/external/mit/ctwm/etc/Makefile
diff -u /dev/null src/external/mit/ctwm/etc/Makefile:1.1
--- /dev/null	Thu Sep 24 05:43:30 2020
+++ src/external/mit/ctwm/etc/Makefile	Thu Sep 24 05:43:30 2020
@@ -0,0 +1,7 @@
+#	$NetBSD: Makefile,v 1.1 2020/09/24 05:43:30 nia Exp $
+
+FILESDIR=	${X11ETCDIR}/ctwm
+FILESMODE=	644
+FILES=		system.ctwmrc
+
+.include 
Index: src/external/mit/ctwm/etc/system.ctwmrc
diff -u /dev/null src/external/mit/ctwm/etc/system.ctwmrc:1.1
--- /dev/null	Thu Sep 24 05:43:30 2020
+++ src/external/mit/ctwm/etc/system.ctwmrc	Thu Sep 24 05:43:30 2020
@@ -0,0 +1,383 @@
+#
+# $NetBSD: system.ctwmrc,v 1.1 2020/09/24 05:43:30 nia Exp $
+#
+# ctwmrc by nia
+#
+# An attempt to strike a usability balance that makes keys and buttons
+# do the thing users of various operating systems expect them to do.
+#
+# Most things should be possible to accomplish with only the keyboard.
+#
+# Also, mostly inoffensive colours (avoiding potentially inaccessible
+# combinations like red-green).
+#
+
+# don't use the default buttons or key bindings, we define our own
+NoDefaults
+
+ShowWorkSpaceManager
+ShowIconManager
+
+# 3D icon managers do not seemingly honor IconManagerHighlight,
+# which makes them slightly less useful
+#UseThreeDIconManagers
+#UseThreeDWMap
+UseThreeDBorders
+#UseThreeDMenus
+UseThreeDTitles
+
+ThreeDBorderWidth 3
+
+# TODO: we can use syscmd() in combination with xdpyinfo to detect
+# HiDPI screens and set appropiate fonts.
+#
+# need some good scaled bitmap fonts imported - terminus or spleen
+# would be good candidates
+MenuFont "-misc-fixed-medium-r-*-*-14-*-*-*-*-*-*-*"
+TitleFont"-misc-fixed-bold-r-*-*-18-*-*-*-*-*-*-*"
+IconManagerFont  "-misc-fixed-medium-r-*-*-14-*-*-*-*-*-*-*"
+IconFont "-misc-fixed-bold-r-*-*-18-*-*-*-*-*-*-*"
+ResizeFont   "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-*-*"
+WorkSpaceFont"-misc-fixed-medium-r-*-*-14-*-*-*-*-*-*-*"
+
+RestartPreviousState
+
+DecorateTransients
+
+# hide window contents while altering windows for performance
+NoOpaqueMove
+NoOpaqueResize
+
+SloppyFocus
+
+AutoOccupy
+AutoRelativeResize
+
+CenterFeedbackWindow
+
+NoGrabServer
+
+RaiseOnClick
+
+DontMoveOff
+MoveOffResistance	  150
+
+ConstrainedMoveTime   0
+
+IgnoreLockModifier
+
+# Not actually that random.
+# Means that windows do not have to be placed by hand with a mouse,
+# which helps if you are using a keyboard only.
+RandomPlacement  "on"
+
+MoveDelta 3
+ClearShadowContrast   50
+DarkShadowContrast50
+MovePackResistance100
+
+RaiseWhenAutoUnSqueeze
+ShortAllWindowsMenus
+
+#BeNiceToColorMap
+
+NoStackMode
+
+StayUpMenus
+WarpToDefaultMenuEntry
+MenuShadowDepth  1
+
+NoTitleFocus
+
+# warp through all 

CVS commit: src/external/mit/xorg/bin/xinit

2020-09-21 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Mon Sep 21 13:51:55 UTC 2020

Modified Files:
src/external/mit/xorg/bin/xinit: Makefile

Log Message:
also allow uxterm to be used in the default xinitrc


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/mit/xorg/bin/xinit/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/bin/xinit/Makefile
diff -u src/external/mit/xorg/bin/xinit/Makefile:1.8 src/external/mit/xorg/bin/xinit/Makefile:1.9
--- src/external/mit/xorg/bin/xinit/Makefile:1.8	Mon Sep 21 08:20:04 2020
+++ src/external/mit/xorg/bin/xinit/Makefile	Mon Sep 21 13:51:55 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2020/09/21 08:20:04 nia Exp $
+#	$NetBSD: Makefile,v 1.9 2020/09/21 13:51:55 nia Exp $
 
 .include 
 
@@ -14,10 +14,12 @@ CPPSCRIPTS=	startx xinitrc
 CPPSCRIPTFLAGS_xinitrc=	-DXINITDIR=${XINITDIR} -DBINDIR=${X11BINDIR} \
 		-DSHELL_CMD=/bin/sh -DXRDB=xrdb -DXMODMAP=xmodmap \
 		-DTWM=twm -DXCLOCK=xclock -DXTERM=${X11BINDIR}/xterm \
+		-DUXTERM=${X11BINDIR}/uxterm \
 		-DCTWM=${X11BINDIR}/ctwm
 CPPSCRIPTFLAGS_startx=	-DXINITDIR=${XINITDIR} -DBINDIR=${X11BINDIR} \
 		-DSHELL_CMD=/bin/sh -DXAUTH=xauth -DXINIT=xinit \
 		-DXSERVER=${X11BINDIR}/X -DXTERM=${X11BINDIR}/xterm \
+		-DUXTERM=${X11BINDIR}/uxterm \
 		-DCTWM=${X11BINDIR}/ctwm \
 		-DHAS_COOKIE_MAKER \
 		-DMK_COOKIE='dd if=/dev/urandom bs=16 count=1 2>/dev/null | hexdump -e \\"%08x\\"'



CVS commit: src/external/mit/xorg/bin/xinit

2020-09-21 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Mon Sep 21 08:20:05 UTC 2020

Modified Files:
src/external/mit/xorg/bin/xinit: Makefile

Log Message:
Define CTWM when building xinit

This will allow ctwm to eventually be used in the default xinitrc.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/mit/xorg/bin/xinit/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/bin/xinit/Makefile
diff -u src/external/mit/xorg/bin/xinit/Makefile:1.7 src/external/mit/xorg/bin/xinit/Makefile:1.8
--- src/external/mit/xorg/bin/xinit/Makefile:1.7	Mon Mar 11 06:25:55 2019
+++ src/external/mit/xorg/bin/xinit/Makefile	Mon Sep 21 08:20:04 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.7 2019/03/11 06:25:55 mrg Exp $
+#	$NetBSD: Makefile,v 1.8 2020/09/21 08:20:04 nia Exp $
 
 .include 
 
@@ -13,10 +13,12 @@ CPPFLAGS+=	${X11FLAGS.CONNECTION} -DBIND
 CPPSCRIPTS=	startx xinitrc
 CPPSCRIPTFLAGS_xinitrc=	-DXINITDIR=${XINITDIR} -DBINDIR=${X11BINDIR} \
 		-DSHELL_CMD=/bin/sh -DXRDB=xrdb -DXMODMAP=xmodmap \
-		-DTWM=twm -DXCLOCK=xclock -DXTERM=${X11BINDIR}/xterm
+		-DTWM=twm -DXCLOCK=xclock -DXTERM=${X11BINDIR}/xterm \
+		-DCTWM=${X11BINDIR}/ctwm
 CPPSCRIPTFLAGS_startx=	-DXINITDIR=${XINITDIR} -DBINDIR=${X11BINDIR} \
 		-DSHELL_CMD=/bin/sh -DXAUTH=xauth -DXINIT=xinit \
 		-DXSERVER=${X11BINDIR}/X -DXTERM=${X11BINDIR}/xterm \
+		-DCTWM=${X11BINDIR}/ctwm \
 		-DHAS_COOKIE_MAKER \
 		-DMK_COOKIE='dd if=/dev/urandom bs=16 count=1 2>/dev/null | hexdump -e \\"%08x\\"'
 



CVS commit: src/external/mit/xorg/lib

2020-09-16 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Wed Sep 16 18:19:24 UTC 2020

Modified Files:
src/external/mit/xorg/lib: libmesa.mk
src/external/mit/xorg/lib/libGL: Makefile
src/external/mit/xorg/lib/libglapi: Makefile

Log Message:
disable use of ELF TLS in Mesa/libGL

this is an optimization that primarily benefits linux/glibc -
most other systems have this disabled. in netbsd we've tried to
patch around it to make things work, but there still appears to be
some edge cases where libGL mysteriously crashes.

discussed on tech-x11 some time ago. already in place in pkgsrc.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/external/mit/xorg/lib/libmesa.mk
cvs rdiff -u -r1.29 -r1.30 src/external/mit/xorg/lib/libGL/Makefile
cvs rdiff -u -r1.7 -r1.8 src/external/mit/xorg/lib/libglapi/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/libmesa.mk
diff -u src/external/mit/xorg/lib/libmesa.mk:1.11 src/external/mit/xorg/lib/libmesa.mk:1.12
--- src/external/mit/xorg/lib/libmesa.mk:1.11	Sun Feb 23 02:03:19 2020
+++ src/external/mit/xorg/lib/libmesa.mk	Wed Sep 16 18:19:23 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: libmesa.mk,v 1.11 2020/02/23 02:03:19 joerg Exp $
+#	$NetBSD: libmesa.mk,v 1.12 2020/09/16 18:19:23 nia Exp $
 #
 # Consumer of this Makefile should set MESA_SRC_MODULES.
 
@@ -526,7 +526,6 @@ CPPFLAGS+=	\
 	-DHAVE_LIBDRM -DGLX_USE_DRM \
 	-DGLX_INDIRECT_RENDERING \
 	-DGLX_DIRECT_RENDERING \
-	-DGLX_USE_TLS \
 	-DHAVE_X11_PLATFORM \
 	-DHAVE_DRM_PLATFORM \
 	-DENABLE_SHADER_CACHE \

Index: src/external/mit/xorg/lib/libGL/Makefile
diff -u src/external/mit/xorg/lib/libGL/Makefile:1.29 src/external/mit/xorg/lib/libGL/Makefile:1.30
--- src/external/mit/xorg/lib/libGL/Makefile:1.29	Sun Mar 29 21:06:03 2020
+++ src/external/mit/xorg/lib/libGL/Makefile	Wed Sep 16 18:19:23 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.29 2020/03/29 21:06:03 maya Exp $
+#	$NetBSD: Makefile,v 1.30 2020/09/16 18:19:23 nia Exp $
 
 .include 
 
@@ -180,7 +180,7 @@ CPPFLAGS+=	\
 	-DHAVE_FUNC_ATTRIBUTE_NORETURN=1 -DHAVE_ENDIAN_H=1 -DHAVE_DLADDR=1 \
 	-DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 \
 	-DHAVE_PTHREAD=1 -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 \
-	-DHAVE_TIMESPEC_GET -DGLX_USE_TLS
+	-DHAVE_TIMESPEC_GET
 
 .include "../asm.mk"
 
@@ -224,7 +224,7 @@ PKGCONFIG_SED_FLAGS= \
 	s,@GL_PKGCONF_LIB@,GL,; \
 	s,@GL_PC_LIB_PRIV@,-lm -lpthread -pthread,; \
 	s,@GL_PC_CFLAGS@,,; \
-	s,@GLX_TLS@,yes,"
+	s,@GLX_TLS@,no,"
 
 
 CWARNFLAGS.clang+=	-Wno-tautological-compare -Wno-format -Wno-constant-conversion \

Index: src/external/mit/xorg/lib/libglapi/Makefile
diff -u src/external/mit/xorg/lib/libglapi/Makefile:1.7 src/external/mit/xorg/lib/libglapi/Makefile:1.8
--- src/external/mit/xorg/lib/libglapi/Makefile:1.7	Sun Feb 23 02:02:32 2020
+++ src/external/mit/xorg/lib/libglapi/Makefile	Wed Sep 16 18:19:24 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.7 2020/02/23 02:02:32 joerg Exp $
+#	$NetBSD: Makefile,v 1.8 2020/09/16 18:19:24 nia Exp $
 
 .include 
 
@@ -68,7 +68,6 @@ CPPFLAGS+=	\
 	-DGLX_USE_DRM \
 	-DGLX_INDIRECT_RENDERING \
 	-DGLX_DIRECT_RENDERING \
-	-DGLX_USE_TLS \
 	-DHAVE_X11_PLATFORM \
 	-DHAVE_DRM_PLATFORM \
 	-DENABLE_SHADER_CACHE \



CVS commit: src/external/mit/xorg/lib/libX11

2020-09-16 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Wed Sep 16 10:02:22 UTC 2020

Modified Files:
src/external/mit/xorg/lib/libX11: Makefile.libx11

Log Message:
someone pointed out it makes sense to load the exact libXcursor version


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/external/mit/xorg/lib/libX11/Makefile.libx11

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/libX11/Makefile.libx11
diff -u src/external/mit/xorg/lib/libX11/Makefile.libx11:1.20 src/external/mit/xorg/lib/libX11/Makefile.libx11:1.21
--- src/external/mit/xorg/lib/libX11/Makefile.libx11:1.20	Tue Sep 15 23:34:16 2020
+++ src/external/mit/xorg/lib/libX11/Makefile.libx11	Wed Sep 16 10:02:22 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.libx11,v 1.20 2020/09/15 23:34:16 nia Exp $
+#	$NetBSD: Makefile.libx11,v 1.21 2020/09/16 10:02:22 nia Exp $
 
 LIB=	X11
 .PATH:	${X11SRCDIR.${LIB}}/src
@@ -423,7 +423,7 @@ SETID_DEFINES=		-DHASSETUGID
 SHM_DEFINES=		-DHAS_SHM
 SOCK_DEFINES=		-DBSD44SOCKETS
 TRANS_INCLUDES=		-I${X11SRCDIR.xtrans}
-XCURSOR_DEFINES=	-DUSE_DYNAMIC_XCURSOR -DLIBXCURSOR=\"libXcursor.so\"
+XCURSOR_DEFINES=	-DUSE_DYNAMIC_XCURSOR -DLIBXCURSOR=\"libXcursor.so.2\"
 XDMAUTHDEFS=		-DHASXDMAUTH
 XF86BIGFONT_DEFINES=	-DXF86BIGFONT
 XKB_DEFINES=		-DXKB



CVS commit: src/external/mit/xorg/lib/libX11

2020-09-15 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Tue Sep 15 23:34:16 UTC 2020

Modified Files:
src/external/mit/xorg/lib/libX11: Makefile.libx11

Log Message:
libx11: Dynamically load unversioned libxcursor shared object

the version number is wrong for NetBSD, should be libXcursor.so.2


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/external/mit/xorg/lib/libX11/Makefile.libx11

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/libX11/Makefile.libx11
diff -u src/external/mit/xorg/lib/libX11/Makefile.libx11:1.19 src/external/mit/xorg/lib/libX11/Makefile.libx11:1.20
--- src/external/mit/xorg/lib/libX11/Makefile.libx11:1.19	Mon Jul  8 23:06:15 2019
+++ src/external/mit/xorg/lib/libX11/Makefile.libx11	Tue Sep 15 23:34:16 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.libx11,v 1.19 2019/07/08 23:06:15 mrg Exp $
+#	$NetBSD: Makefile.libx11,v 1.20 2020/09/15 23:34:16 nia Exp $
 
 LIB=	X11
 .PATH:	${X11SRCDIR.${LIB}}/src
@@ -423,7 +423,7 @@ SETID_DEFINES=		-DHASSETUGID
 SHM_DEFINES=		-DHAS_SHM
 SOCK_DEFINES=		-DBSD44SOCKETS
 TRANS_INCLUDES=		-I${X11SRCDIR.xtrans}
-XCURSOR_DEFINES=	-DUSE_DYNAMIC_XCURSOR -DLIBXCURSOR=\"libXcursor.so.1\"
+XCURSOR_DEFINES=	-DUSE_DYNAMIC_XCURSOR -DLIBXCURSOR=\"libXcursor.so\"
 XDMAUTHDEFS=		-DHASXDMAUTH
 XF86BIGFONT_DEFINES=	-DXF86BIGFONT
 XKB_DEFINES=		-DXKB



CVS commit: src/external/mit/xorg/lib/pixman

2020-09-14 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Sep 15 05:14:19 UTC 2020

Modified Files:
src/external/mit/xorg/lib/pixman: Makefile

Log Message:
avoid ICE on sh3.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/external/mit/xorg/lib/pixman/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/pixman/Makefile
diff -u src/external/mit/xorg/lib/pixman/Makefile:1.35 src/external/mit/xorg/lib/pixman/Makefile:1.36
--- src/external/mit/xorg/lib/pixman/Makefile:1.35	Wed Mar 30 16:19:06 2016
+++ src/external/mit/xorg/lib/pixman/Makefile	Tue Sep 15 05:14:19 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.35 2016/03/30 16:19:06 macallan Exp $
+#	$NetBSD: Makefile,v 1.36 2020/09/15 05:14:19 mrg Exp $
 
 NOLINT=	1	# defined
 
@@ -98,6 +98,11 @@ CPPFLAGS+=	-DUSE_LOONGSON_MMI
 COPTS.pixman-mmx.c=	-march=loongson2f -mhard-float -Wa,-mhard-float
 .endif
 
+.if ${MACHINE_CPU} == "sh3"
+# XXX pixman-fast-path.c:1204:1: internal compiler error: Segmentation fault
+COPTS.pixman-fast-path.c+=	-O1
+.endif
+
 INCS=	pixman.h pixman-version.h
 INCSDIR=${X11INCDIR}/pixman-1
 



CVS commit: src/external/mit/xorg/server/xorg-server

2020-09-13 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Sep 13 23:01:03 UTC 2020

Modified Files:
src/external/mit/xorg/server/xorg-server/Xext: Makefile
src/external/mit/xorg/server/xorg-server/fb: Makefile.fb
src/external/mit/xorg/server/xorg-server/hw/vfb: Makefile
src/external/mit/xorg/server/xorg-server/hw/xfree86/Xorg: Makefile
src/external/mit/xorg/server/xorg-server/record: Makefile

Log Message:
remove additional -DHAVE_DIX_CONFIG_H.

add ${X11FLAGS.DIX} ${X11INCS.DIX} to record.  fixes build on riscv64.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 \
src/external/mit/xorg/server/xorg-server/Xext/Makefile
cvs rdiff -u -r1.12 -r1.13 \
src/external/mit/xorg/server/xorg-server/fb/Makefile.fb
cvs rdiff -u -r1.19 -r1.20 \
src/external/mit/xorg/server/xorg-server/hw/vfb/Makefile
cvs rdiff -u -r1.17 -r1.18 \
src/external/mit/xorg/server/xorg-server/hw/xfree86/Xorg/Makefile
cvs rdiff -u -r1.2 -r1.3 \
src/external/mit/xorg/server/xorg-server/record/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/xorg-server/Xext/Makefile
diff -u src/external/mit/xorg/server/xorg-server/Xext/Makefile:1.7 src/external/mit/xorg/server/xorg-server/Xext/Makefile:1.8
--- src/external/mit/xorg/server/xorg-server/Xext/Makefile:1.7	Sat Aug 20 01:03:34 2016
+++ src/external/mit/xorg/server/xorg-server/Xext/Makefile	Sun Sep 13 23:01:02 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.7 2016/08/20 01:03:34 mrg Exp $
+#	$NetBSD: Makefile,v 1.8 2020/09/13 23:01:02 mrg Exp $
 
 LIBISPRIVATE=	yes
 LIB=		Xext
@@ -28,7 +28,6 @@ CPPFLAGS+=	-I${X11SRCDIR.xorg-server}/xf
 CPPFLAGS+=	-I${X11SRCDIR.xorg-server}/miext/sync
 CPPFLAGS+=	-I${X11SRCDIR.xorg-server}/composite
 CPPFLAGS+=	-I${X11SRCDIR.xorg-server}/damageext
-#CPPFLAGS+=	-DHAVE_DIX_CONFIG_H
 CPPFLAGS+=	-I${X11SRCDIR.xorg-server}/../include ${X11FLAGS.DIX}
 
 .PATH:		${X11SRCDIR.xorg-server}/Xext

Index: src/external/mit/xorg/server/xorg-server/fb/Makefile.fb
diff -u src/external/mit/xorg/server/xorg-server/fb/Makefile.fb:1.12 src/external/mit/xorg/server/xorg-server/fb/Makefile.fb:1.13
--- src/external/mit/xorg/server/xorg-server/fb/Makefile.fb:1.12	Sun Aug  9 15:02:52 2020
+++ src/external/mit/xorg/server/xorg-server/fb/Makefile.fb	Sun Sep 13 23:01:02 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.fb,v 1.12 2020/08/09 15:02:52 tsutsui Exp $
+#	$NetBSD: Makefile.fb,v 1.13 2020/09/13 23:01:02 mrg Exp $
 
 .PATH:		${X11SRCDIR.xorg-server}/fb
 SRCS.fb=	fballpriv.c \
@@ -30,13 +30,11 @@ SRCS.fb=	fballpriv.c \
 		fbutil.c\
 		fbwindow.c
 
-CPPFLAGS+=	${X11FLAGS.DIX} ${X11INCS.DIX} -DHAVE_DIX_CONFIG_H
+CPPFLAGS+=	${X11FLAGS.DIX} ${X11INCS.DIX}
 
 CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/pixman-1 \
 		-I${DESTDIR}${X11INCDIR}/xorg
 
-CPPFLAGS+=	-DHAVE_DIX_CONFIG_H
-
 # XXX
 COPTS.fbpict.c=		-Wno-error
 COPTS.fbwindow.c=	-Wno-error

Index: src/external/mit/xorg/server/xorg-server/hw/vfb/Makefile
diff -u src/external/mit/xorg/server/xorg-server/hw/vfb/Makefile:1.19 src/external/mit/xorg/server/xorg-server/hw/vfb/Makefile:1.20
--- src/external/mit/xorg/server/xorg-server/hw/vfb/Makefile:1.19	Wed Aug  5 15:48:09 2020
+++ src/external/mit/xorg/server/xorg-server/hw/vfb/Makefile	Sun Sep 13 23:01:02 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.19 2020/08/05 15:48:09 tsutsui Exp $
+#	$NetBSD: Makefile,v 1.20 2020/09/13 23:01:02 mrg Exp $
 
 .include 
 
@@ -25,7 +25,6 @@ CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/X11 
 		-I${DESTDIR}${X11INCDIR}/pixman-1 \
 		-I${DESTDIR}${X11INCDIR}/xorg \
 		-I${X11SRCDIR.xorg-server}/render \
-		-DHAVE_DIX_CONFIG_H \
 		-UGLXEXT
 
 CPPFLAGS+=	${X11FLAGS.OS_DEFINES} ${X11FLAGS.DIX} \

Index: src/external/mit/xorg/server/xorg-server/hw/xfree86/Xorg/Makefile
diff -u src/external/mit/xorg/server/xorg-server/hw/xfree86/Xorg/Makefile:1.17 src/external/mit/xorg/server/xorg-server/hw/xfree86/Xorg/Makefile:1.18
--- src/external/mit/xorg/server/xorg-server/hw/xfree86/Xorg/Makefile:1.17	Tue Apr 16 21:20:52 2019
+++ src/external/mit/xorg/server/xorg-server/hw/xfree86/Xorg/Makefile	Sun Sep 13 23:01:02 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.17 2019/04/16 21:20:52 mrg Exp $
+#	$NetBSD: Makefile,v 1.18 2020/09/13 23:01:02 mrg Exp $
 
 .include 
 
@@ -21,8 +21,7 @@ CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/X11 
 		-I${DESTDIR}${X11INCDIR}/libdrm \
 		-I${DESTDIR}${X11INCDIR}/pixman-1 \
 		-I${DESTDIR}${X11INCDIR}/xorg \
-		-I${X11SRCDIR.xorg-server}/render \
-		-DHAVE_DIX_CONFIG_H
+		-I${X11SRCDIR.xorg-server}/render
 
 CPPFLAGS+=	${X11FLAGS.OS_DEFINES} ${X11FLAGS.DIX} \
 		${X11FLAGS.EXTENSION}

Index: src/external/mit/xorg/server/xorg-server/record/Makefile
diff -u src/external/mit/xorg/server/xorg-server/record/Makefile:1.2 src/external/mit/xorg/server/xorg-server/record/Makefile:1.3
--- src/external/mit/xorg/server/xorg-server/record/Makefile:1.2	Sun Aug 10 06:42:39 2008
+++ 

CVS commit: src/external/mit/xorg/server/drivers

2020-09-06 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Sep  7 00:24:37 UTC 2020

Modified Files:
src/external/mit/xorg/server/drivers/xf86-video-intel: Makefile
src/external/mit/xorg/server/drivers/xf86-video-vmware: Makefile

Log Message:
use GCC_NO_ADDR_OF_PACKED_MEMBER.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 \
src/external/mit/xorg/server/drivers/xf86-video-intel/Makefile
cvs rdiff -u -r1.13 -r1.14 \
src/external/mit/xorg/server/drivers/xf86-video-vmware/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/drivers/xf86-video-intel/Makefile
diff -u src/external/mit/xorg/server/drivers/xf86-video-intel/Makefile:1.32 src/external/mit/xorg/server/drivers/xf86-video-intel/Makefile:1.33
--- src/external/mit/xorg/server/drivers/xf86-video-intel/Makefile:1.32	Fri May 10 06:25:58 2019
+++ src/external/mit/xorg/server/drivers/xf86-video-intel/Makefile	Mon Sep  7 00:24:37 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.32 2019/05/10 06:25:58 mrg Exp $
+#	$NetBSD: Makefile,v 1.33 2020/09/07 00:24:37 mrg Exp $
 
 .include 
 
@@ -227,5 +227,6 @@ COPTS.sna_trapezoids_mono.c+=	-Wno-stack
 COPTS.sna_trapezoids_precise.c+=	-Wno-stack-protector
 COPTS.i965_video.c+=	-Wno-stack-protector
 
+COPTS.sna_damage.c+=		${GCC_NO_ADDR_OF_PACKED_MEMBER}
 COPTS.sna_display.c+=		-Wno-error	# XXX deprecated
 COPTS.intel_driver.c+=		-Wno-error	# XXX deprecated

Index: src/external/mit/xorg/server/drivers/xf86-video-vmware/Makefile
diff -u src/external/mit/xorg/server/drivers/xf86-video-vmware/Makefile:1.13 src/external/mit/xorg/server/drivers/xf86-video-vmware/Makefile:1.14
--- src/external/mit/xorg/server/drivers/xf86-video-vmware/Makefile:1.13	Mon Dec 31 12:13:50 2018
+++ src/external/mit/xorg/server/drivers/xf86-video-vmware/Makefile	Mon Sep  7 00:24:37 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.13 2018/12/31 12:13:50 mrg Exp $
+#	$NetBSD: Makefile,v 1.14 2020/09/07 00:24:37 mrg Exp $
 
 DRIVER=		xf86-video-vmware
 DRIVER_NAME=	vmware_drv
@@ -25,3 +25,5 @@ COPTS.vmware.c+=	-Wno-error	# XXX deprec
 COPTS.vmwaremodes.c+=	-Wno-error
 
 .include "../Makefile.xf86-driver"
+
+CWARNFLAGS.gcc+=	${GCC_NO_ADDR_OF_PACKED_MEMBER}



CVS commit: src/external/mit/xorg/server/xorg-server/fb

2020-08-09 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Aug  9 15:02:53 UTC 2020

Modified Files:
src/external/mit/xorg/server/xorg-server/fb: Makefile.fb

Log Message:
Put back fbtile.c to SRCS.fb per xsrc dist file changes:

https://mail-index.netbsd.org/source-changes/2020/08/09/msg120399.html
> Revert upstream "fb: Remove even/odd tile slow-pathing" changes.
>
> https://gitlab.freedesktop.org/xorg/xserver/-/commit/e572bcc7f4236b7e0f23ab762f225b3bce37db59
> >> fb: Remove even/odd tile slow-pathing
> >>
> >> Again, clearly meant to be a fast path, but this turns out not to be the
> >> case.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 \
src/external/mit/xorg/server/xorg-server/fb/Makefile.fb

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/xorg-server/fb/Makefile.fb
diff -u src/external/mit/xorg/server/xorg-server/fb/Makefile.fb:1.11 src/external/mit/xorg/server/xorg-server/fb/Makefile.fb:1.12
--- src/external/mit/xorg/server/xorg-server/fb/Makefile.fb:1.11	Mon Dec 31 11:14:04 2018
+++ src/external/mit/xorg/server/xorg-server/fb/Makefile.fb	Sun Aug  9 15:02:52 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.fb,v 1.11 2018/12/31 11:14:04 mrg Exp $
+#	$NetBSD: Makefile.fb,v 1.12 2020/08/09 15:02:52 tsutsui Exp $
 
 .PATH:		${X11SRCDIR.xorg-server}/fb
 SRCS.fb=	fballpriv.c \
@@ -25,6 +25,7 @@ SRCS.fb=	fballpriv.c \
 		fbseg.c \
 		fbsetsp.c   \
 		fbsolid.c   \
+		fbtile.c\
 		fbtrap.c\
 		fbutil.c\
 		fbwindow.c



CVS commit: src/external/mit/xorg/server/xorg-server/hw

2020-08-05 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Aug  5 15:48:09 UTC 2020

Modified Files:
src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k: Makefile
src/external/mit/xorg/server/xorg-server/hw/sun: Makefile.Xsun
src/external/mit/xorg/server/xorg-server/hw/vfb: Makefile
src/external/mit/xorg/server/xorg-server/hw/xnest: Makefile

Log Message:
No need to build fbcmap_mi.c in each DDX server.

Per upstream commit:
 
https://cgit.freedesktop.org/xorg/xserver/commit/?id=432fc37e2ca833f1ec3cb614cbdc3a7ae13f22b7
> Build fbcmap_mi.c once, rather than once for each DDX, and make it part of 
> libfb
> or libwfb convenience library.

Tested on sun3 and x68k.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 \
src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile
cvs rdiff -u -r1.4 -r1.5 \
src/external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun
cvs rdiff -u -r1.18 -r1.19 \
src/external/mit/xorg/server/xorg-server/hw/vfb/Makefile
cvs rdiff -u -r1.22 -r1.23 \
src/external/mit/xorg/server/xorg-server/hw/xnest/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile
diff -u src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile:1.8 src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile:1.9
--- src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile:1.8	Wed Jul 22 21:25:03 2020
+++ src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile	Wed Aug  5 15:48:09 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2020/07/22 21:25:03 tsutsui Exp $
+#	$NetBSD: Makefile,v 1.9 2020/08/05 15:48:09 tsutsui Exp $
 
 .include 
 
@@ -25,9 +25,6 @@ SRCS+=	stubs.c
 .PATH:	${X11SRCDIR.xorg-server}/mi
 SRCS+=	miinitext.c
 
-.PATH:	${X11SRCDIR.xorg-server}/fb
-SRCS+=	fbcmap_mi.c
-
 CPPFLAGS+=	-I${X11SRCDIR.xorg-server}/hw/netbsd/x68k \
 		${X11INCS.DIX}
 

Index: src/external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun
diff -u src/external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun:1.4 src/external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun:1.5
--- src/external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun:1.4	Tue Aug  4 14:31:58 2020
+++ src/external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun	Wed Aug  5 15:48:09 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.Xsun,v 1.4 2020/08/04 14:31:58 tsutsui Exp $
+#	$NetBSD: Makefile.Xsun,v 1.5 2020/08/05 15:48:09 tsutsui Exp $
 
 .include 
 
@@ -70,9 +70,6 @@ SRCS+=	sunFbs.c sunIo.c sunKbd.c sunKeyM
 .PATH:  ${X11SRCDIR.xorg-server}/Xi
 SRCS+=  stubs.c
 
-.PATH:	${X11SRCDIR.xorg-server}/fb
-SRCS+=	fbcmap_mi.c
-
 CPPFLAGS+=	-I${X11SRCDIR.xorg-server}/hw/sun \
 		${X11INCS.DIX}
 

Index: src/external/mit/xorg/server/xorg-server/hw/vfb/Makefile
diff -u src/external/mit/xorg/server/xorg-server/hw/vfb/Makefile:1.18 src/external/mit/xorg/server/xorg-server/hw/vfb/Makefile:1.19
--- src/external/mit/xorg/server/xorg-server/hw/vfb/Makefile:1.18	Mon Dec 31 11:14:04 2018
+++ src/external/mit/xorg/server/xorg-server/hw/vfb/Makefile	Wed Aug  5 15:48:09 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.18 2018/12/31 11:14:04 mrg Exp $
+#	$NetBSD: Makefile,v 1.19 2020/08/05 15:48:09 tsutsui Exp $
 
 .include 
 
@@ -13,10 +13,6 @@ PROG=		Xvfb
 .PATH:		${X11SRCDIR.xorg-server}/mi
 SRCS=		InitInput.c InitOutput.c miinitext.c stubs.c
 
-# XXX should not be needed now
-#.PATH:		${X11SRCDIR.xorg-server}/fb
-#SRCS+=		fbcmap_mi.c
-
 CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/X11 \
 		-I${X11SRCDIR.xorg-server}/fb \
 		-I${X11SRCDIR.xorg-server}/mfb \

Index: src/external/mit/xorg/server/xorg-server/hw/xnest/Makefile
diff -u src/external/mit/xorg/server/xorg-server/hw/xnest/Makefile:1.22 src/external/mit/xorg/server/xorg-server/hw/xnest/Makefile:1.23
--- src/external/mit/xorg/server/xorg-server/hw/xnest/Makefile:1.22	Mon Jul 20 13:59:57 2020
+++ src/external/mit/xorg/server/xorg-server/hw/xnest/Makefile	Wed Aug  5 15:48:09 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.22 2020/07/20 13:59:57 tsutsui Exp $
+#	$NetBSD: Makefile,v 1.23 2020/08/05 15:48:09 tsutsui Exp $
 
 .include 
 
@@ -16,8 +16,7 @@ PROG=	Xnest
 SRCS=		Args.c Color.c Cursor.c Display.c Events.c Font.c \
 		GC.c GCOps.c Handlers.c Init.c Keyboard.c \
 		Pixmap.c Pointer.c Screen.c Visual.c Window.c \
-		stubs.c miinitext.c \
-		fbcmap_mi.c
+		stubs.c miinitext.c
 
 CPPFLAGS+=	-I${X11SRCDIR.xorg-server}/hw/xnest \
 		-I${DESTDIR}${X11INCDIR}/X11 \



CVS commit: src/external/mit/xorg/server/xorg-server.old/hw/sun

2020-08-04 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Tue Aug  4 14:35:24 UTC 2020

Modified Files:
src/external/mit/xorg/server/xorg-server.old/hw/sun: Makefile.Xsun

Log Message:
Sync with xorg-server:

> Specify default /var/log/Xsun.%s.log path definitions.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
src/external/mit/xorg/server/xorg-server.old/hw/sun/Makefile.Xsun

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/xorg-server.old/hw/sun/Makefile.Xsun
diff -u src/external/mit/xorg/server/xorg-server.old/hw/sun/Makefile.Xsun:1.1 src/external/mit/xorg/server/xorg-server.old/hw/sun/Makefile.Xsun:1.2
--- src/external/mit/xorg/server/xorg-server.old/hw/sun/Makefile.Xsun:1.1	Wed Jul 22 19:26:37 2020
+++ src/external/mit/xorg/server/xorg-server.old/hw/sun/Makefile.Xsun	Tue Aug  4 14:35:24 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.Xsun,v 1.1 2020/07/22 19:26:37 tsutsui Exp $
+#	$NetBSD: Makefile.Xsun,v 1.2 2020/08/04 14:35:24 tsutsui Exp $
 
 .include 
 
@@ -13,6 +13,7 @@ WARNS?=	2
 .PATH:	${X11SRCDIR.xorg-server}/hw/sun
 
 BUILDSYMLINKS=
+CPPFLAGS+=	-DDEFAULT_LOGDIR=\"/var/log\" -DDEFAULT_LOGPREFIX=\"${PROG}.\"
 CPPFLAGS+=	-DINCLUDE_CG2_HEADER
 #CPPFLAGS+=	-DLOWMEMFTPT
 



CVS commit: src/external/mit/xorg/server/xorg-server/hw/sun

2020-08-04 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Tue Aug  4 14:31:58 UTC 2020

Modified Files:
src/external/mit/xorg/server/xorg-server/hw/sun: Makefile.Xsun

Log Message:
Specify default /var/log/Xsun.%s.log path definitions.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun
diff -u src/external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun:1.3 src/external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun:1.4
--- src/external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun:1.3	Fri Jul 24 02:25:58 2020
+++ src/external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun	Tue Aug  4 14:31:58 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.Xsun,v 1.3 2020/07/24 02:25:58 tsutsui Exp $
+#	$NetBSD: Makefile.Xsun,v 1.4 2020/08/04 14:31:58 tsutsui Exp $
 
 .include 
 
@@ -13,6 +13,7 @@ WARNS?=	2
 .PATH:	${X11SRCDIR.xorg-server}/hw/sun
 
 BUILDSYMLINKS=
+CPPFLAGS+=	-DDEFAULT_LOGDIR=\"/var/log\" -DDEFAULT_LOGPREFIX=\"${PROG}.\"
 CPPFLAGS+=	-DINCLUDE_CG2_HEADER
 #CPPFLAGS+=	-DLOWMEMFTPT
 



CVS commit: src/external/mit/xorg/server/xorg-server/hw/sun

2020-07-23 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Fri Jul 24 02:25:58 UTC 2020

Modified Files:
src/external/mit/xorg/server/xorg-server/hw/sun: Makefile.Xsun

Log Message:
Explicitly disable dbe, record, and present DIX extentions.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun
diff -u src/external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun:1.2 src/external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun:1.3
--- src/external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun:1.2	Thu Jul 23 09:59:36 2020
+++ src/external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun	Fri Jul 24 02:25:58 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.Xsun,v 1.2 2020/07/23 09:59:36 mrg Exp $
+#	$NetBSD: Makefile.Xsun,v 1.3 2020/07/24 02:25:58 tsutsui Exp $
 
 .include 
 
@@ -73,11 +73,10 @@ SRCS+=  stubs.c
 SRCS+=	fbcmap_mi.c
 
 CPPFLAGS+=	-I${X11SRCDIR.xorg-server}/hw/sun \
-		-I${DESTDIR}${X11INCDIR}/xorg \
 		${X11INCS.DIX}
 
 CPPFLAGS+=	-UHAVE_XORG_CONFIG_H
-
+CPPFLAGS+=	-UDBE -UXRECORD -UPRESENT
 CPPFLAGS+=	-UXFree86LOADER -UXF86VIDMODE -UXFreeXDGA -UXF86MISC \
 		-UXF86DRI -UXF86BIGFONT
 
@@ -90,9 +89,7 @@ LDADD+= ${LDADD.dix} \
 	${LDADD.xkbstubs} \
 	${LDADD.randr} \
 	${LDADD.Xext} \
-	${LDADD.dbe} \
 	${LDADD.composite} \
-	${LDADD.record} \
 	${LDADD.render} \
 	${LDADD.os} \
 	${LDADD.xfixes} \
@@ -100,7 +97,6 @@ LDADD+= ${LDADD.dix} \
 	${LDADD.miext/damage} \
 	${LDADD.miext/sync} \
 	${LDADD.Xi} \
-	${LDADD.present} \
 	-lXfont2 \
 	-lpixman-1 \
 	-lX11 \
@@ -113,9 +109,7 @@ DPADD+= ${LDADD.dix} \
 	${DPADD.xkb} \
 	${DPADD.randr} \
 	${DPADD.Xext} \
-	${DPADD.dbe} \
 	${DPADD.composite} \
-	${DPADD.record} \
 	${DPADD.render} \
 	${DPADD.os} \
 	${DPADD.xfixes} \
@@ -123,10 +117,8 @@ DPADD+= ${LDADD.dix} \
 	${DPADD.miext/damage} \
 	${DPADD.miext/sync} \
 	${DPADD.Xi} \
-	${DPADD.present} \
 	${LIBXFONT2} \
 	${LIBPIXMAN-1} \
-	${LIBXEXT} \
 	${LIBX11} \
 	${LIBZ} \
 	${LIBM}



CVS commit: src/external/mit/xorg/server/xorg-server/hw/sun

2020-07-23 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Jul 23 09:59:36 UTC 2020

Modified Files:
src/external/mit/xorg/server/xorg-server/hw/sun: Makefile.Xsun

Log Message:
fix build:
- add .../xorg subdir to the path
- add dbe and present extensions, both wanted via linkage

.. but maybe these shouldn't be built?  they're not in sets.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
src/external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun
diff -u src/external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun:1.1 src/external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun:1.2
--- src/external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun:1.1	Wed Jul 22 20:54:08 2020
+++ src/external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun	Thu Jul 23 09:59:36 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.Xsun,v 1.1 2020/07/22 20:54:08 tsutsui Exp $
+#	$NetBSD: Makefile.Xsun,v 1.2 2020/07/23 09:59:36 mrg Exp $
 
 .include 
 
@@ -73,6 +73,7 @@ SRCS+=  stubs.c
 SRCS+=	fbcmap_mi.c
 
 CPPFLAGS+=	-I${X11SRCDIR.xorg-server}/hw/sun \
+		-I${DESTDIR}${X11INCDIR}/xorg \
 		${X11INCS.DIX}
 
 CPPFLAGS+=	-UHAVE_XORG_CONFIG_H
@@ -89,6 +90,7 @@ LDADD+= ${LDADD.dix} \
 	${LDADD.xkbstubs} \
 	${LDADD.randr} \
 	${LDADD.Xext} \
+	${LDADD.dbe} \
 	${LDADD.composite} \
 	${LDADD.record} \
 	${LDADD.render} \
@@ -98,9 +100,9 @@ LDADD+= ${LDADD.dix} \
 	${LDADD.miext/damage} \
 	${LDADD.miext/sync} \
 	${LDADD.Xi} \
+	${LDADD.present} \
 	-lXfont2 \
 	-lpixman-1 \
-	-lXext \
 	-lX11 \
 	-lz \
 	-lm
@@ -111,6 +113,7 @@ DPADD+= ${LDADD.dix} \
 	${DPADD.xkb} \
 	${DPADD.randr} \
 	${DPADD.Xext} \
+	${DPADD.dbe} \
 	${DPADD.composite} \
 	${DPADD.record} \
 	${DPADD.render} \
@@ -120,6 +123,7 @@ DPADD+= ${LDADD.dix} \
 	${DPADD.miext/damage} \
 	${DPADD.miext/sync} \
 	${DPADD.Xi} \
+	${DPADD.present} \
 	${LIBXFONT2} \
 	${LIBPIXMAN-1} \
 	${LIBXEXT} \



CVS commit: src/external/mit/xorg/server

2020-07-23 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Thu Jul 23 09:13:18 UTC 2020

Modified Files:
src/external/mit/xorg/server/xorg-server.old/hw: Makefile
src/external/mit/xorg/server/xorg-server/hw: Makefile

Log Message:
Remove duplicated (and .if 0'ed out) ${XSERVER_XFREE86} checks.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/external/mit/xorg/server/xorg-server.old/hw/Makefile
cvs rdiff -u -r1.7 -r1.8 src/external/mit/xorg/server/xorg-server/hw/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/xorg-server.old/hw/Makefile
diff -u src/external/mit/xorg/server/xorg-server.old/hw/Makefile:1.3 src/external/mit/xorg/server/xorg-server.old/hw/Makefile:1.4
--- src/external/mit/xorg/server/xorg-server.old/hw/Makefile:1.3	Thu Jul 23 09:09:12 2020
+++ src/external/mit/xorg/server/xorg-server.old/hw/Makefile	Thu Jul 23 09:13:18 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.3 2020/07/23 09:09:12 tsutsui Exp $
+#	$NetBSD: Makefile,v 1.4 2020/07/23 09:13:18 tsutsui Exp $
 
 .include "../Makefile.common"
 
@@ -34,10 +34,6 @@ SUBDIR+=netbsd/arm32vidc
 SUBDIR+=netbsd/dec
 .endif
 
-.if ${XSERVER_XFREE86} != "no"
-SUBDIR+=xfree86
-.endif
-
 .if ${XSERVER_XMAC68K} != "no"
 SUBDIR+=netbsd/mac68k
 .endif

Index: src/external/mit/xorg/server/xorg-server/hw/Makefile
diff -u src/external/mit/xorg/server/xorg-server/hw/Makefile:1.7 src/external/mit/xorg/server/xorg-server/hw/Makefile:1.8
--- src/external/mit/xorg/server/xorg-server/hw/Makefile:1.7	Thu Jul 23 09:09:13 2020
+++ src/external/mit/xorg/server/xorg-server/hw/Makefile	Thu Jul 23 09:13:18 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.7 2020/07/23 09:09:13 tsutsui Exp $
+#	$NetBSD: Makefile,v 1.8 2020/07/23 09:13:18 tsutsui Exp $
 
 .include "../Makefile.common"
 
@@ -34,10 +34,6 @@ SUBDIR+=netbsd/arm32vidc
 SUBDIR+=netbsd/dec
 .endif
 
-.if ${XSERVER_XFREE86} != "no"
-SUBDIR+=xfree86
-.endif
-
 .if ${XSERVER_XMAC68K} != "no"
 SUBDIR+=netbsd/mac68k
 .endif



CVS commit: src/external/mit/xorg/server

2020-07-23 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Thu Jul 23 09:09:13 UTC 2020

Modified Files:
src/external/mit/xorg/server/xorg-server: Makefile.common
src/external/mit/xorg/server/xorg-server.old: Makefile.common
src/external/mit/xorg/server/xorg-server.old/hw: Makefile
src/external/mit/xorg/server/xorg-server/hw: Makefile

Log Message:
Remove definitions for Xdreamcast, Xhpc, Xmacppc, and Xnewsmips.

All these port specific X11R6 servers just used MI wscons, and
all of them have been switched to Xorg servers with wsfb driver etc.
Even if someone wants a smaller monolithic server, it should be
written as a MI "Xwscons" server.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 \
src/external/mit/xorg/server/xorg-server/Makefile.common
cvs rdiff -u -r1.3 -r1.4 \
src/external/mit/xorg/server/xorg-server.old/Makefile.common
cvs rdiff -u -r1.2 -r1.3 \
src/external/mit/xorg/server/xorg-server.old/hw/Makefile
cvs rdiff -u -r1.6 -r1.7 src/external/mit/xorg/server/xorg-server/hw/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/xorg-server/Makefile.common
diff -u src/external/mit/xorg/server/xorg-server/Makefile.common:1.28 src/external/mit/xorg/server/xorg-server/Makefile.common:1.29
--- src/external/mit/xorg/server/xorg-server/Makefile.common:1.28	Thu Jul 23 08:34:33 2020
+++ src/external/mit/xorg/server/xorg-server/Makefile.common	Thu Jul 23 09:09:12 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.common,v 1.28 2020/07/23 08:34:33 tsutsui Exp $
+#	$NetBSD: Makefile.common,v 1.29 2020/07/23 09:09:12 tsutsui Exp $
 
 # These define parts of the Xserver tree that are to be
 # conditionally compiled for different platforms.  See
@@ -33,10 +33,6 @@ XSERVER_XAMIGA=		yes
 XSERVER_XMAC68K=	yes
 .endif
 
-.if ${MACHINE} == "macppc"
-XSERVER_XMACPPC=	yes
-.endif
-
 .if ${MACHINE} == "pmax"
 XSERVER_XDECNETBSD=	yes
 XSERVER_XPMAX=		no # XXX should be yes but may be obsoleted
@@ -73,10 +69,6 @@ XSERVER_XDECNETBSD?=	no
 XSERVER_XFREE68?=	no
 # Does this platform build the Xmac68k X server?
 XSERVER_XMAC68K?=	no
-# Does this platform build Xmacppc X server?
-XSERVER_XMACPPC?=	no
-# Does this platform build the Xnewsmips server?
-XSERVER_XNEWSMIPS?=	no
 # Does this platform build Xpmax X servers?
 XSERVER_XPMAX?=		no
 # Does this platform build Xsun* X servers?

Index: src/external/mit/xorg/server/xorg-server.old/Makefile.common
diff -u src/external/mit/xorg/server/xorg-server.old/Makefile.common:1.3 src/external/mit/xorg/server/xorg-server.old/Makefile.common:1.4
--- src/external/mit/xorg/server/xorg-server.old/Makefile.common:1.3	Thu Jul 23 08:34:33 2020
+++ src/external/mit/xorg/server/xorg-server.old/Makefile.common	Thu Jul 23 09:09:12 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.common,v 1.3 2020/07/23 08:34:33 tsutsui Exp $
+#	$NetBSD: Makefile.common,v 1.4 2020/07/23 09:09:12 tsutsui Exp $
 
 # These define parts of the Xserver tree that are to be
 # conditionally compiled for different platforms.  See
@@ -32,10 +32,6 @@ XSERVER_XAMIGA=		yes
 XSERVER_XMAC68K=	yes
 .endif
 
-.if ${MACHINE} == "macppc"
-XSERVER_XMACPPC=	yes
-.endif
-
 .if ${MACHINE} == "pmax"
 XSERVER_XDECNETBSD=	yes
 XSERVER_XPMAX=		no # XXX should be yes but may be obsoleted
@@ -72,10 +68,6 @@ XSERVER_XDECNETBSD?=	no
 XSERVER_XFREE68?=	no
 # Does this platform build the Xmac68k X server?
 XSERVER_XMAC68K?=	no
-# Does this platform build Xmacppc X server?
-XSERVER_XMACPPC?=	no
-# Does this platform build the Xnewsmips server?
-XSERVER_XNEWSMIPS?=	no
 # Does this platform build Xpmax X servers?
 XSERVER_XPMAX?=		no
 # Does this platform build Xsun* X servers?

Index: src/external/mit/xorg/server/xorg-server.old/hw/Makefile
diff -u src/external/mit/xorg/server/xorg-server.old/hw/Makefile:1.2 src/external/mit/xorg/server/xorg-server.old/hw/Makefile:1.3
--- src/external/mit/xorg/server/xorg-server.old/hw/Makefile:1.2	Wed Jul 22 19:26:37 2020
+++ src/external/mit/xorg/server/xorg-server.old/hw/Makefile	Thu Jul 23 09:09:12 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2020/07/22 19:26:37 tsutsui Exp $
+#	$NetBSD: Makefile,v 1.3 2020/07/23 09:09:12 tsutsui Exp $
 
 .include "../Makefile.common"
 
@@ -34,30 +34,14 @@ SUBDIR+=netbsd/arm32vidc
 SUBDIR+=netbsd/dec
 .endif
 
-.if ${XSERVER_XDREAMCAST} != "no"
-SUBDIR+=netbsd/dreamcast
-.endif
-
 .if ${XSERVER_XFREE86} != "no"
 SUBDIR+=xfree86
 .endif
 
-.if ${XSERVER_XHPC} != "no"
-SUBDIR+=netbsd/hpc
-.endif
-
 .if ${XSERVER_XMAC68K} != "no"
 SUBDIR+=netbsd/mac68k
 .endif
 
-.if ${XSERVER_XMACPPC} != "no"
-SUBDIR+=netbsd/macppc
-.endif
-
-.if ${XSERVER_XNEWSMIPS} != "no"
-SUBDIR+=netbsd/newsmips
-.endif
-
 .if ${XSERVER_XVFB} != "no"
 SUBDIR+=vfb
 .endif

Index: src/external/mit/xorg/server/xorg-server/hw/Makefile
diff -u src/external/mit/xorg/server/xorg-server/hw/Makefile:1.6 

CVS commit: src/external/mit/xorg/server

2020-07-23 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Thu Jul 23 08:34:33 UTC 2020

Modified Files:
src/external/mit/xorg/server/xorg-server: Makefile.common
src/external/mit/xorg/server/xorg-server.old: Makefile.common

Log Message:
Don't build Xsun servers for sparc and sparc64.

Not tested, and maybe not worth for wscons'fied ports.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 \
src/external/mit/xorg/server/xorg-server/Makefile.common
cvs rdiff -u -r1.2 -r1.3 \
src/external/mit/xorg/server/xorg-server.old/Makefile.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/xorg-server/Makefile.common
diff -u src/external/mit/xorg/server/xorg-server/Makefile.common:1.27 src/external/mit/xorg/server/xorg-server/Makefile.common:1.28
--- src/external/mit/xorg/server/xorg-server/Makefile.common:1.27	Fri Aug 19 03:59:30 2016
+++ src/external/mit/xorg/server/xorg-server/Makefile.common	Thu Jul 23 08:34:33 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.common,v 1.27 2016/08/19 03:59:30 mrg Exp $
+#	$NetBSD: Makefile.common,v 1.28 2020/07/23 08:34:33 tsutsui Exp $
 
 # These define parts of the Xserver tree that are to be
 # conditionally compiled for different platforms.  See
@@ -43,9 +43,9 @@ XSERVER_XPMAX=		no # XXX should be yes b
 .endif
 
 .if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64"
-XSERVER_XSUN=		yes
-XSERVER_XSUNMONO=	yes
-XSERVER_XSUN24=		yes
+#XSERVER_XSUN=		yes
+#XSERVER_XSUNMONO=	yes
+#XSERVER_XSUN24=		yes
 .endif
 
 .if ${MACHINE} == "sun3"

Index: src/external/mit/xorg/server/xorg-server.old/Makefile.common
diff -u src/external/mit/xorg/server/xorg-server.old/Makefile.common:1.2 src/external/mit/xorg/server/xorg-server.old/Makefile.common:1.3
--- src/external/mit/xorg/server/xorg-server.old/Makefile.common:1.2	Fri Aug 19 03:59:31 2016
+++ src/external/mit/xorg/server/xorg-server.old/Makefile.common	Thu Jul 23 08:34:33 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.common,v 1.2 2016/08/19 03:59:31 mrg Exp $
+#	$NetBSD: Makefile.common,v 1.3 2020/07/23 08:34:33 tsutsui Exp $
 
 # These define parts of the Xserver tree that are to be
 # conditionally compiled for different platforms.  See
@@ -42,9 +42,9 @@ XSERVER_XPMAX=		no # XXX should be yes b
 .endif
 
 .if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64"
-XSERVER_XSUN=		yes
-XSERVER_XSUNMONO=	yes
-XSERVER_XSUN24=		yes
+#XSERVER_XSUN=		yes
+#XSERVER_XSUNMONO=	yes
+#XSERVER_XSUN24=		yes
 .endif
 
 .if ${MACHINE} == "sun3"



CVS commit: src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k

2020-07-22 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Jul 22 21:25:03 UTC 2020

Modified Files:
src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k: Makefile

Log Message:
Reorganize CPPFLAGS.

- use ${X11INCS.DIX} in 
- explicitly undef HAVE_XORG_CONFIG_H to avoid reference to
  hw/xfree86/common in mi/miinitext.c
- remove -DHAVE_DIX_CONFIG_H which is already defined in
  ${X11FLAGS.DIX} and pulled via Makefile.servermod

XXX: -DHAVE_STRCASECMP should also be moved to ${X11FLAGS.DIX},
 or should be pulled via include/dix-config.h?


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 \
src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile
diff -u src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile:1.7 src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile:1.8
--- src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile:1.7	Sat Jul 18 16:07:15 2020
+++ src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile	Wed Jul 22 21:25:03 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.7 2020/07/18 16:07:15 tsutsui Exp $
+#	$NetBSD: Makefile,v 1.8 2020/07/22 21:25:03 tsutsui Exp $
 
 .include 
 
@@ -28,20 +28,13 @@ SRCS+=	miinitext.c
 .PATH:	${X11SRCDIR.xorg-server}/fb
 SRCS+=	fbcmap_mi.c
 
-CPPFLAGS+=	-I${X11SRCDIR.xorg-server}/include \
-		-I${X11SRCDIR.xorg-server}/hw/netbsd/x68k \
-		-I${X11SRCDIR.xorg-server}/hw/xfree86/common \
-		-I${X11SRCDIR.xorg-server}/fb \
-		-I${X11SRCDIR.xorg-server}/mi \
-		-I${X11SRCDIR.xorg-server}/render \
-		-I${X11SRCDIR.xorg-server}/present \
-		-I${X11SRCDIR.xorg-server}/miext/damage \
-		-I${DESTDIR}${X11INCDIR}/X11
+CPPFLAGS+=	-I${X11SRCDIR.xorg-server}/hw/netbsd/x68k \
+		${X11INCS.DIX}
 
 CPPFLAGS+=	-UXFree86LOADER -UXF86VIDMODE -UXFreeXDGA -UXF86MISC \
 		-UXF86DRI -UXF86BIGFONT
 
-CPPFLAGS+=	-DHAVE_DIX_CONFIG_H
+CPPFLAGS+=	-UHAVE_XORG_CONFIG_H
 CPPFLAGS+=	-DHAVE_STRCASECMP
 
 CPPFLAGS.x68kConfig.c=	 -DX11_LIBDIR=\"${X11ETCDIR}\"



CVS commit: src/external/mit/xorg/server/xorg-server.old/hw

2020-07-22 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Jul 22 19:26:37 UTC 2020

Modified Files:
src/external/mit/xorg/server/xorg-server.old/hw: Makefile
Added Files:
src/external/mit/xorg/server/xorg-server.old/hw/sun: Makefile
Makefile.Xsun
src/external/mit/xorg/server/xorg-server.old/hw/sun/Xsun: Makefile
src/external/mit/xorg/server/xorg-server.old/hw/sun/Xsun24: Makefile
src/external/mit/xorg/server/xorg-server.old/hw/sun/XsunMono: Makefile

Log Message:
Add build glue files for Xorg-Server-1.10'fied monolithic Xsun servers.

Not enabled and just for reference.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/external/mit/xorg/server/xorg-server.old/hw/Makefile
cvs rdiff -u -r0 -r1.1 \
src/external/mit/xorg/server/xorg-server.old/hw/sun/Makefile \
src/external/mit/xorg/server/xorg-server.old/hw/sun/Makefile.Xsun
cvs rdiff -u -r0 -r1.1 \
src/external/mit/xorg/server/xorg-server.old/hw/sun/Xsun/Makefile
cvs rdiff -u -r0 -r1.1 \
src/external/mit/xorg/server/xorg-server.old/hw/sun/Xsun24/Makefile
cvs rdiff -u -r0 -r1.1 \
src/external/mit/xorg/server/xorg-server.old/hw/sun/XsunMono/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/xorg-server.old/hw/Makefile
diff -u src/external/mit/xorg/server/xorg-server.old/hw/Makefile:1.1.1.1 src/external/mit/xorg/server/xorg-server.old/hw/Makefile:1.2
--- src/external/mit/xorg/server/xorg-server.old/hw/Makefile:1.1.1.1	Fri Jun 10 03:42:14 2016
+++ src/external/mit/xorg/server/xorg-server.old/hw/Makefile	Wed Jul 22 19:26:37 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1.1.1 2016/06/10 03:42:14 mrg Exp $
+#	$NetBSD: Makefile,v 1.2 2020/07/22 19:26:37 tsutsui Exp $
 
 .include "../Makefile.common"
 
@@ -11,6 +11,12 @@ SUBDIR+= xfree86
 SUBDIR+=netbsd/x68k
 .endif
 
+.if ${XSERVER_XSUN} != "no" || \
+${XSERVER_XSUNMONO} != "no" || \
+${XSERVER_XSUN24} != "no"
+SUBDIR+=sun
+.endif
+
 .if 0
 .if ${XSERVER_XALPHANETBSD} != "no"
 SUBDIR+=netbsd/alpha
@@ -52,10 +58,6 @@ SUBDIR+=netbsd/macppc
 SUBDIR+=netbsd/newsmips
 .endif
 
-.if ${XSERVER_XSUN} != "no"
-SUBDIR+=sun
-.endif
-
 .if ${XSERVER_XVFB} != "no"
 SUBDIR+=vfb
 .endif

Added files:

Index: src/external/mit/xorg/server/xorg-server.old/hw/sun/Makefile
diff -u /dev/null src/external/mit/xorg/server/xorg-server.old/hw/sun/Makefile:1.1
--- /dev/null	Wed Jul 22 19:26:37 2020
+++ src/external/mit/xorg/server/xorg-server.old/hw/sun/Makefile	Wed Jul 22 19:26:37 2020
@@ -0,0 +1,15 @@
+#	$NetBSD: Makefile,v 1.1 2020/07/22 19:26:37 tsutsui Exp $
+
+.include "../../Makefile.common"
+
+SUBDIR= Xsun
+
+.if ${XSERVER_XSUNMONO} != "no"
+SUBDIR+= XsunMono
+.endif
+
+.if ${XSERVER_XSUN24} != "no"
+SUBDIR+= Xsun24
+.endif
+
+.include 
Index: src/external/mit/xorg/server/xorg-server.old/hw/sun/Makefile.Xsun
diff -u /dev/null src/external/mit/xorg/server/xorg-server.old/hw/sun/Makefile.Xsun:1.1
--- /dev/null	Wed Jul 22 19:26:37 2020
+++ src/external/mit/xorg/server/xorg-server.old/hw/sun/Makefile.Xsun	Wed Jul 22 19:26:37 2020
@@ -0,0 +1,134 @@
+#	$NetBSD: Makefile.Xsun,v 1.1 2020/07/22 19:26:37 tsutsui Exp $
+
+.include 
+
+PROG?=		Xsun
+BINMODE=	4711
+
+.include "../../../Makefile.serverlib"
+.include "../../../Makefile.servermod"
+
+WARNS?=	2
+
+.PATH:	${X11SRCDIR.xorg-server}/hw/sun
+
+BUILDSYMLINKS=
+CPPFLAGS+=	-DINCLUDE_CG2_HEADER
+#CPPFLAGS+=	-DLOWMEMFTPT
+
+# for Xsun (8bpp)
+.if ${PROG} == "Xsun"
+SRCS=	sunInit.c
+SRCS+=	sunCfb.c
+# XXX not yet
+#SRCS+=	sunGX.c sunCursor.c
+SRCS+=	sunMfb.c
+
+BUILDSYMLINKS+= ../../mi/miinitext.c sunInitExt.c
+SRCS+=	sunInitExt.c
+.endif
+
+# for XsunMono (1bpp)
+.if ${PROG} == "XsunMono"
+BUILDSYMLINKS+= sunInit.c sunInitMono.c
+SRCS=	sunInitMono.c
+SRCS+=	sunMfb.c
+
+BUILDSYMLINKS+= ../../mi/miinitext.c sunInExMono.c
+SRCS+=	sunInExMono.c
+
+CPPFLAGS.sunInitMono.c=		-DSUNMAXDEPTH=1
+CPPFLAGS.sunInExMono.c=		-URENDER
+.endif
+
+# for Xsun24 (24bpp)
+.if ${PROG} == "Xsun24"
+BUILDSYMLINKS+= sunInit.c sunInitMulti.c
+SRCS+=	sunInitMulti.c
+SRCS+=	sunCfb.c
+SRCS+=	sunCfb24.c
+SRCS+=	sunMfb.c
+
+BUILDSYMLINKS+= ../../mi/miinitext.c sunInitExt.c
+SRCS+=	sunInitExt.c
+
+CPPFLAGS.sunInitMulti.c=	-DSUNMAXDEPTH=32
+.endif
+
+# for XsunMulti (XXX: incomplete?)
+.if 0
+SRCS+=	sunMultiDepth.c
+
+BUILDSYMLINKS+= ../../mi/miinitext.c sunInitExt.c
+SRCS+=	sunInitExt.c
+.endif
+
+# common sources
+SRCS+=	sunFbs.c sunIo.c sunKbd.c sunKeyMap.c sunMouse.c
+
+.PATH:	${X11SRCDIR.xorg-server}/Xext
+SRCS+=	dpmsstubs.c
+
+.PATH:  ${X11SRCDIR.xorg-server}/Xi
+SRCS+=  stubs.c
+
+.PATH:	${X11SRCDIR.xorg-server}/fb
+SRCS+=	fbcmap_mi.c
+
+CPPFLAGS+=	-I${X11SRCDIR.xorg-server}/hw/sun \
+		${X11INCS.DIX}
+
+CPPFLAGS+=	-UHAVE_XORG_CONFIG_H
+
+CPPFLAGS+=	-UXFree86LOADER -UXF86VIDMODE -UXFreeXDGA -UXF86MISC \
+		-UXF86DRI -UXF86BIGFONT
+
+.include "../../../Makefile.Xserver"
+
+LDADD+= 

CVS commit: src/external/mit/xorg/server

2020-07-20 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Mon Jul 20 13:59:57 UTC 2020

Modified Files:
src/external/mit/xorg/server/xorg-server.old/hw/xnest: Makefile
src/external/mit/xorg/server/xorg-server/hw/xnest: Makefile

Log Message:
Remove extra "-I" for ${X11INCS.DIX} macro.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/external/mit/xorg/server/xorg-server.old/hw/xnest/Makefile
cvs rdiff -u -r1.21 -r1.22 \
src/external/mit/xorg/server/xorg-server/hw/xnest/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/xorg-server.old/hw/xnest/Makefile
diff -u src/external/mit/xorg/server/xorg-server.old/hw/xnest/Makefile:1.3 src/external/mit/xorg/server/xorg-server.old/hw/xnest/Makefile:1.4
--- src/external/mit/xorg/server/xorg-server.old/hw/xnest/Makefile:1.3	Sun May 21 15:28:40 2017
+++ src/external/mit/xorg/server/xorg-server.old/hw/xnest/Makefile	Mon Jul 20 13:59:57 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.3 2017/05/21 15:28:40 riastradh Exp $
+#	$NetBSD: Makefile,v 1.4 2020/07/20 13:59:57 tsutsui Exp $
 
 .include 
 
@@ -28,7 +28,7 @@ CPPFLAGS+=	-I${X11SRCDIR.xorg-server}/hw
 		-I${DESTDIR}${X11INCDIR}/X11/extensions \
 		-I${DESTDIR}${X11INCDIR}/pixman-1 \
 		-I${X11SRCDIR.xorg-server}/../include \
-		-I${X11INCS.DIX}
+		${X11INCS.DIX}
 
 CPPFLAGS+=	${X11FLAGS.OS_DEFINES} \
 		${X11FLAGS.EXTENSION} \

Index: src/external/mit/xorg/server/xorg-server/hw/xnest/Makefile
diff -u src/external/mit/xorg/server/xorg-server/hw/xnest/Makefile:1.21 src/external/mit/xorg/server/xorg-server/hw/xnest/Makefile:1.22
--- src/external/mit/xorg/server/xorg-server/hw/xnest/Makefile:1.21	Mon Dec 31 11:14:06 2018
+++ src/external/mit/xorg/server/xorg-server/hw/xnest/Makefile	Mon Jul 20 13:59:57 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.21 2018/12/31 11:14:06 mrg Exp $
+#	$NetBSD: Makefile,v 1.22 2020/07/20 13:59:57 tsutsui Exp $
 
 .include 
 
@@ -30,7 +30,7 @@ CPPFLAGS+=	-I${X11SRCDIR.xorg-server}/hw
 		-I${DESTDIR}${X11INCDIR}/X11/extensions \
 		-I${DESTDIR}${X11INCDIR}/pixman-1 \
 		-I${X11SRCDIR.xorg-server}/../include \
-		-I${X11INCS.DIX}
+		${X11INCS.DIX}
 
 CPPFLAGS+=	${X11FLAGS.OS_DEFINES} \
 		${X11FLAGS.EXTENSION} \



CVS commit: src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k

2020-07-18 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Jul 18 16:07:15 UTC 2020

Modified Files:
src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k: Makefile

Log Message:
Xorg 1.20 servers require libXfont2 instead of libXfont.

Per the following upstream commit:
 
https://cgit.freedesktop.org/xorg/xserver/commit/?id=05a793f5b3c40747d5a92a076def7f4fb673c7e7
 > dix: Switch to the libXfont2 API (v2)

Now Xorg 1.20 based X68k server builds and confirmed working on XM6i.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 \
src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile
diff -u src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile:1.6 src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile:1.7
--- src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile:1.6	Sat Jul 18 15:26:30 2020
+++ src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile	Sat Jul 18 16:07:15 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2020/07/18 15:26:30 tsutsui Exp $
+#	$NetBSD: Makefile,v 1.7 2020/07/18 16:07:15 tsutsui Exp $
 
 .include 
 
@@ -63,7 +63,7 @@ LDADD+= ${LDADD.dix} \
 	${LDADD.miext/damage} \
 	${LDADD.miext/sync} \
 	${LDADD.Xi} \
-	-lXfont \
+	-lXfont2 \
 	-lpixman-1 \
 	-lXext \
 	-lX11 \
@@ -84,7 +84,7 @@ DPADD+= ${LDADD.dix} \
 	${DPADD.miext/damage} \
 	${DPADD.miext/sync} \
 	${DPADD.Xi} \
-	${LIBXFONT} \
+	${LIBXFONT2} \
 	${LIBPIXMAN-1} \
 	${LIBXEXT} \
 	${LIBX11} \



CVS commit: src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k

2020-07-18 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Jul 18 15:26:30 UTC 2020

Modified Files:
src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k: Makefile

Log Message:
Sync with xorg-server.old: No need to link miext/libshadow.a.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 \
src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile
diff -u src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile:1.5 src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile:1.6
--- src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile:1.5	Thu Jan  3 23:26:58 2019
+++ src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile	Sat Jul 18 15:26:30 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2019/01/03 23:26:58 mrg Exp $
+#	$NetBSD: Makefile,v 1.6 2020/07/18 15:26:30 tsutsui Exp $
 
 .include 
 
@@ -61,7 +61,6 @@ LDADD+= ${LDADD.dix} \
 	${LDADD.xfixes} \
 	${LDADD.damageext} \
 	${LDADD.miext/damage} \
-	${LDADD.miext/shadow} \
 	${LDADD.miext/sync} \
 	${LDADD.Xi} \
 	-lXfont \
@@ -83,7 +82,6 @@ DPADD+= ${LDADD.dix} \
 	${DPADD.xfixes} \
 	${DPADD.damageext} \
 	${DPADD.miext/damage} \
-	${DPADD.miext/shadow} \
 	${DPADD.miext/sync} \
 	${DPADD.Xi} \
 	${LIBXFONT} \



CVS commit: src/external/mit/xorg/server/xorg-server.old/hw/netbsd/x68k

2020-07-18 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Jul 18 15:24:31 UTC 2020

Modified Files:
src/external/mit/xorg/server/xorg-server.old/hw/netbsd/x68k: Makefile

Log Message:
No need to link miext/libshadow.a.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/external/mit/xorg/server/xorg-server.old/hw/netbsd/x68k/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/server/xorg-server.old/hw/netbsd/x68k/Makefile
diff -u src/external/mit/xorg/server/xorg-server.old/hw/netbsd/x68k/Makefile:1.1.1.1 src/external/mit/xorg/server/xorg-server.old/hw/netbsd/x68k/Makefile:1.2
--- src/external/mit/xorg/server/xorg-server.old/hw/netbsd/x68k/Makefile:1.1.1.1	Fri Jun 10 03:42:14 2016
+++ src/external/mit/xorg/server/xorg-server.old/hw/netbsd/x68k/Makefile	Sat Jul 18 15:24:31 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1.1.1 2016/06/10 03:42:14 mrg Exp $
+#	$NetBSD: Makefile,v 1.2 2020/07/18 15:24:31 tsutsui Exp $
 
 .include 
 
@@ -58,7 +58,6 @@ LDADD+= ${LDADD.dix} \
 	${LDADD.xfixes} \
 	${LDADD.damageext} \
 	${LDADD.miext/damage} \
-	${LDADD.miext/shadow} \
 	${LDADD.miext/sync} \
 	${LDADD.Xi} \
 	-lXfont \
@@ -80,7 +79,6 @@ DPADD+= ${LDADD.dix} \
 	${DPADD.xfixes} \
 	${DPADD.damageext} \
 	${DPADD.miext/damage} \
-	${DPADD.miext/shadow} \
 	${DPADD.miext/sync} \
 	${DPADD.Xi} \
 	${LIBXFONT} \



CVS commit: src/external/mit/libuv/lib

2020-06-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jun  1 14:39:42 UTC 2020

Modified Files:
src/external/mit/libuv/lib: Makefile

Log Message:
Arrange to create an _pic.a library too.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/mit/libuv/lib/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/libuv/lib/Makefile
diff -u src/external/mit/libuv/lib/Makefile:1.3 src/external/mit/libuv/lib/Makefile:1.4
--- src/external/mit/libuv/lib/Makefile:1.3	Sat May 30 16:54:46 2020
+++ src/external/mit/libuv/lib/Makefile	Mon Jun  1 10:39:42 2020
@@ -1,9 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2020/05/30 20:54:46 christos Exp $
+# $NetBSD: Makefile,v 1.4 2020/06/01 14:39:42 christos Exp $
 
-LIBISPRIVATE=yes
-
-LIBISPRIVATE=yes
-MKPICLIB=yes
+LIBISPRIVATE=pic
 
 .include 
 



CVS commit: src/external/mit/libuv/lib

2020-05-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat May 30 20:54:46 UTC 2020

Modified Files:
src/external/mit/libuv/lib: Makefile

Log Message:
Create pic lib and don't install pkgconfig file.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/mit/libuv/lib/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/libuv/lib/Makefile
diff -u src/external/mit/libuv/lib/Makefile:1.2 src/external/mit/libuv/lib/Makefile:1.3
--- src/external/mit/libuv/lib/Makefile:1.2	Sat May 30 16:47:59 2020
+++ src/external/mit/libuv/lib/Makefile	Sat May 30 16:54:46 2020
@@ -1,7 +1,10 @@
-# $NetBSD: Makefile,v 1.2 2020/05/30 20:47:59 christos Exp $
+# $NetBSD: Makefile,v 1.3 2020/05/30 20:54:46 christos Exp $
 
 LIBISPRIVATE=yes
 
+LIBISPRIVATE=yes
+MKPICLIB=yes
+
 .include 
 
 MKLINT=	no
@@ -61,10 +64,12 @@ CPPFLAGS+=	-I${LIBUVDIR}/include -I${LIB
 
 LIBDPLIBS+=	kvm ${NETBSDSRCDIR}/lib/libkvm
 
+.if ${LIBISPRIVATE} != "yes"
 SHLIB_MAJOR=	1
 SHLIB_MINOR=	0
 
 PKGCONFIG=libuv
 .include "${.CURDIR}/../pkgconfig.mk"
+.endif
 
 .include 



CVS commit: src/external/mit/libuv

2020-05-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun May 24 19:28:31 UTC 2020

Added Files:
src/external/mit/libuv: mkpc

Log Message:
Add build glue


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/external/mit/libuv/mkpc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: src/external/mit/libuv/mkpc
diff -u /dev/null src/external/mit/libuv/mkpc:1.1
--- /dev/null	Sun May 24 15:28:31 2020
+++ src/external/mit/libuv/mkpc	Sun May 24 15:28:31 2020
@@ -0,0 +1,27 @@
+#!/bin/sh
+#	$NetBSD: mkpc,v 1.1 2020/05/24 19:28:31 christos Exp $
+
+set +x
+getversion() {
+	(echo '#include "uv/version.h"';
+	echo UV_VERSION_MAJOR.UV_VERSION_MINOR.UV_VERSION_PATCH) |
+	eval "$CPP $CPPFLAGS" -I$1 | grep -v '#' | tr -d ' '
+}
+VERSION="$(getversion $1)"
+echo ${VERSION} 1>&2
+
+cat << EOF | sed -e s/@VERSION@/${VERSION}/
+# \$NetBSD: mkpc,v 1.1 2020/05/24 19:28:31 christos Exp $
+prefix=/usr
+exec_prefix=/usr
+libdir=/usr/lib
+includedir=/usr/include
+
+Name: libuv
+Version: @VERSION@
+Description: multi-platform support library with a focus on asynchronous I/O.
+URL: http://libuv.org/
+
+Libs: -luv -lkvm  
+Cflags:
+EOF



CVS commit: src/external/mit

2020-05-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun May 24 19:28:57 UTC 2020

Modified Files:
src/external/mit: Makefile

Log Message:
Descend into libuv


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/mit/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/Makefile
diff -u src/external/mit/Makefile:1.6 src/external/mit/Makefile:1.7
--- src/external/mit/Makefile:1.6	Mon Mar  2 19:36:29 2020
+++ src/external/mit/Makefile	Sun May 24 15:28:57 2020
@@ -1,8 +1,8 @@
-#	$NetBSD: Makefile,v 1.6 2020/03/03 00:36:29 christos Exp $
+#	$NetBSD: Makefile,v 1.7 2020/05/24 19:28:57 christos Exp $
 
 .include 
 
-SUBDIR+=	expat lua libcbor
+SUBDIR+=	expat lua libcbor libuv
 
 .if ${MKX11} != "no"
 SUBDIR+=	xorg



CVS commit: src/external/mit/xorg/lib/gallium

2020-04-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Apr  4 03:04:58 UTC 2020

Modified Files:
src/external/mit/xorg/lib/gallium: Makefile

Log Message:
Add all the dependent libraries and sort


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/external/mit/xorg/lib/gallium/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/gallium/Makefile
diff -u src/external/mit/xorg/lib/gallium/Makefile:1.43 src/external/mit/xorg/lib/gallium/Makefile:1.44
--- src/external/mit/xorg/lib/gallium/Makefile:1.43	Fri Jan 31 16:13:40 2020
+++ src/external/mit/xorg/lib/gallium/Makefile	Fri Apr  3 23:04:58 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2020/01/31 21:13:40 jmcneill Exp $
+# $NetBSD: Makefile,v 1.44 2020/04/04 03:04:58 christos Exp $
 
 # Link the gallium mega driver.
 
@@ -25,7 +25,6 @@ CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/libd
 
 CFLAGS+=	-pthread
 LDFLAGS+=	-pthread
-LIBDPLIBS+=	pthread		${.CURDIR}/../../../../../lib/libpthread
 
 GALLIUM_SUBDIRS= \
 	auxiliary \
@@ -953,10 +952,11 @@ CPPFLAGS.${_s}+= -I${X11SRCDIR.Mesa}/src
 .if ${BUILD_RADEON} == 1
 CFLAGS+=	-pthread
 LDFLAGS+=	-pthread
-LIBDPLIBS+=	pthread		${.CURDIR}/../../../../../lib/libpthread
 .endif
 
-LIBDPLIBS+=	m		${.CURDIR}/../../../../../lib/libm
+LIBDPLIBS+=	X11-xcb ${.CURDIR}/../libX11/libX11-xcb
+LIBDPLIBS+=	xcb-dri2${.CURDIR}/../libxcb/dri2
+LIBDPLIBS+=	xcb		${.CURDIR}/../libxcb/libxcb
 .if ${BUILD_RADEON} == 1 || ${BUILD_NOUVEAU} == 1
 LIBDPLIBS+= 	drm		${.CURDIR}/../libdrm
 .if ${BUILD_I915} == 1
@@ -973,10 +973,11 @@ LIBDPLIBS+= 	drm_nouveau	${.CURDIR}/../l
 LIBDPLIBS+= 	glapi		${.CURDIR}/../libglapi
 LIBDPLIBS+=	expat		${.CURDIR}/../../../../../external/mit/expat/lib/libexpat
 LIBDPLIBS+=	terminfo	${.CURDIR}/../../../../../lib/libterminfo
-LIBDPLIBS+=	z		${.CURDIR}/../../../../../lib/libz
 LIBDPLIBS+=	execinfo	${.CURDIR}/../../../../../lib/libexecinfo
-LIBDPLIBS+=	X11-xcb ${.CURDIR}/../libX11/libX11-xcb
-LIBDPLIBS+=	xcb-dri2${.CURDIR}/../libxcb/dri2
+
+LIBDPLIBS+=	elf		${NETBSDSRCDIR}/external/bsd/elftoolchain/lib/libelf
+LIBDPLIBS+=	z		${.CURDIR}/../../../../../lib/libz
+LIBDPLIBS+=	m		${.CURDIR}/../../../../../lib/libm
 
 # gallium drivers requiring LLVM
 .if ${BUILD_LLVMPIPE} == 1 || ${BUILD_RADEON} == 1



  1   2   3   4   5   6   7   8   9   10   >