Source-Changes-HG archive

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

[src/trunk]: src Provide port-specific sample xorg.conf files in xserver.tgz.



details:   https://anonhg.NetBSD.org/src/rev/0656275e35db
branches:  trunk
changeset: 758666:0656275e35db
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Nov 12 17:05:48 2010 +0000

description:
Provide port-specific sample xorg.conf files in xserver.tgz.

No particular comments on tech-x11.

diffstat:

 distrib/sets/lists/xserver/md.dreamcast             |   4 +-
 external/mit/xorg/Makefile                          |   5 +-
 external/mit/xorg/etc/Makefile                      |  20 ++++++++
 external/mit/xorg/etc/etc.dreamcast/Makefile.inc    |   3 +
 external/mit/xorg/etc/etc.dreamcast/xorg.conf.jpkbd |  47 +++++++++++++++++++++
 external/mit/xorg/etc/etc.dreamcast/xorg.conf.uskbd |  47 +++++++++++++++++++++
 6 files changed, 123 insertions(+), 3 deletions(-)

diffs (168 lines):

diff -r f33e6e87d423 -r 0656275e35db distrib/sets/lists/xserver/md.dreamcast
--- a/distrib/sets/lists/xserver/md.dreamcast   Fri Nov 12 16:53:09 2010 +0000
+++ b/distrib/sets/lists/xserver/md.dreamcast   Fri Nov 12 17:05:48 2010 +0000
@@ -1,4 +1,6 @@
-#      $NetBSD: md.dreamcast,v 1.10 2010/06/19 18:17:55 tsutsui Exp $
+#      $NetBSD: md.dreamcast,v 1.11 2010/11/12 17:05:48 tsutsui Exp $
+./etc/X11/xorg.conf.jpkbd                              -unknown-       xorg
+./etc/X11/xorg.conf.uskbd                              -unknown-       xorg
 ./usr/X11R6/bin/X                                      -unknown-       x11
 ./usr/X11R6/bin/Xdreamcast                             -unknown-       x11
 ./usr/X11R6/man/cat1/Xdreamcast.0                      -unknown-       x11,.cat
diff -r f33e6e87d423 -r 0656275e35db external/mit/xorg/Makefile
--- a/external/mit/xorg/Makefile        Fri Nov 12 16:53:09 2010 +0000
+++ b/external/mit/xorg/Makefile        Fri Nov 12 17:05:48 2010 +0000
@@ -1,10 +1,10 @@
-#      $NetBSD: Makefile,v 1.7 2009/09/07 21:07:03 mrg Exp $
+#      $NetBSD: Makefile,v 1.8 2010/11/12 17:05:48 tsutsui Exp $
 
 # Top level Makefile to cross build xorg inside the NetBSD tree.
 
 .include <bsd.own.mk>
 
-SUBDIR=                tools .WAIT include .WAIT lib .WAIT bin share server
+SUBDIR=                tools .WAIT include .WAIT lib .WAIT bin share server etc
 
 .if ${MKUPDATE} == "no" && !defined(NOCLEANDIR)
 BUILDTARGETS+=  cleandir
@@ -57,6 +57,7 @@
        bin/xfs \
        bin/xinit \
        bin/xsm \
+       etc \
        lib/fontconfig/etc \
        lib/fontconfig/etc/conf.avail \
        lib/fontconfig/etc/conf.d
diff -r f33e6e87d423 -r 0656275e35db external/mit/xorg/etc/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/xorg/etc/Makefile    Fri Nov 12 17:05:48 2010 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2010/11/12 17:05:48 tsutsui Exp $
+
+.include <bsd.own.mk>
+
+.if exists(etc.${RELEASEMACHINE}/Makefile.inc)
+.include "etc.${RELEASEMACHINE}/Makefile.inc"
+.endif
+
+FILESDIR=      ${X11ETCDIR}
+CONFIGFILES=
+CONFIGSYMLINKS=
+
+.if defined(XORGCONF_FILES)
+.for file in ${XORGCONF_FILES}
+CONFIGFILES+=          ${file}
+FILESMODE_${file:T}=   644
+.endfor
+.endif
+
+.include <bsd.prog.mk>
diff -r f33e6e87d423 -r 0656275e35db external/mit/xorg/etc/etc.dreamcast/Makefile.inc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/xorg/etc/etc.dreamcast/Makefile.inc  Fri Nov 12 17:05:48 2010 +0000
@@ -0,0 +1,3 @@
+# $NetBSD: Makefile.inc,v 1.1 2010/11/12 17:05:49 tsutsui Exp $
+
+XORGCONF_FILES=        etc.${MACHINE}/xorg.conf.jpkbd etc.${MACHINE}/xorg.conf.uskbd
diff -r f33e6e87d423 -r 0656275e35db external/mit/xorg/etc/etc.dreamcast/xorg.conf.jpkbd
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/xorg/etc/etc.dreamcast/xorg.conf.jpkbd       Fri Nov 12 17:05:48 2010 +0000
@@ -0,0 +1,47 @@
+Section "ServerLayout"
+       Identifier      "wsfb"
+       Screen  0       "Screen0" 0 0
+       InputDevice     "Mouse0" "CorePointer"
+       InputDevice     "Keyboard0" "CoreKeyboard"
+EndSection
+       
+Section "Files"
+       FontPath        "/usr/pkg/lib/X11/fonts/TTF/"
+EndSection
+
+Section "InputDevice"
+       Identifier      "Keyboard0"
+       Driver          "kbd"
+       Option          "Protocol"      "wskbd"
+       Option          "Device"        "/dev/wskbd0"
+#      Option          "XkbLayout"     "us"
+       Option          "XkbLayout"     "jp(106)"
+#      Option          "XkbOptions"    "ctrl:swapcaps"
+EndSection
+
+Section "InputDevice"
+       Identifier      "Mouse0"
+       Driver          "mouse"
+       Option          "Protocol"      "wsmouse"
+       Option          "ButtonMapping" "1 2 3 2"
+EndSection
+
+Section "Device"
+       Identifier      "Wsdisplay0"
+       Driver          "wsfb"
+EndSection
+
+Section "Monitor"
+       Identifier      "Monitor"
+EndSection
+
+Section "Screen"
+       Identifier      "Screen0"
+       Device          "Wsdisplay0"
+       Monitor         "Monitor"
+
+       SubSection "Display"
+               Viewport        0 0
+               Depth           16
+       EndSubSection
+EndSection
diff -r f33e6e87d423 -r 0656275e35db external/mit/xorg/etc/etc.dreamcast/xorg.conf.uskbd
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/xorg/etc/etc.dreamcast/xorg.conf.uskbd       Fri Nov 12 17:05:48 2010 +0000
@@ -0,0 +1,47 @@
+Section "ServerLayout"
+       Identifier      "wsfb"
+       Screen  0       "Screen0" 0 0
+       InputDevice     "Mouse0" "CorePointer"
+       InputDevice     "Keyboard0" "CoreKeyboard"
+EndSection
+       
+Section "Files"
+       FontPath        "/usr/pkg/lib/X11/fonts/TTF/"
+EndSection
+
+Section "InputDevice"
+       Identifier      "Keyboard0"
+       Driver          "kbd"
+       Option          "Protocol"      "wskbd"
+       Option          "Device"        "/dev/wskbd0"
+       Option          "XkbLayout"     "us"
+#      Option          "XkbLayout"     "jp(106)"
+#      Option          "XkbOptions"    "ctrl:swapcaps"
+EndSection
+
+Section "InputDevice"
+       Identifier      "Mouse0"
+       Driver          "mouse"
+       Option          "Protocol"      "wsmouse"
+       Option          "ButtonMapping" "1 2 3 2"
+EndSection
+
+Section "Device"
+       Identifier      "Wsdisplay0"
+       Driver          "wsfb"
+EndSection
+
+Section "Monitor"
+       Identifier      "Monitor"
+EndSection
+
+Section "Screen"
+       Identifier      "Screen0"
+       Device          "Wsdisplay0"
+       Monitor         "Monitor"
+
+       SubSection "Display"
+               Viewport        0 0
+               Depth           16
+       EndSubSection
+EndSection



Home | Main Index | Thread Index | Old Index