xc/config/cf/host.defbefore compiling. To compile the sources, invoke ``
make World'' in the xc directory.
XFree86 has a configuration option to select the console
drivers to use in
#define XFree86ConsoleDefines -DPCCONS_SUPPORT
#define XFree86ConsoleDefines -DPCVT_SUPPORT
host.defthe pccons and pcvt drivers will be supported by default.
Native support for the wscons console driver found on OpenBSD/macppc and on OpenBSD/i386 2.9 and later is built by adding:
#define XFree86ConsoleDefines -DWSCONS_SUPPORT
xc/config/host.defbefore rebuilding the server.
For the i386, you should include both pcvt and wscons support in order to use the pcvt compatibility mode of wscons:
#define XFree86ConsoleDefines -DPCVT_SUPPORT -DWSCONS_SUPPORT
XFree86 also compiles on other OpenBSD architectures.
Note that OpenBSD project now has its own source tree, based on the XFree86 source tree, with some local modifications. You may want to start with this tree to rebuild from sources. The OpenBSD XF4 source tree is available by anoncvs from all OpenBSD anoncvs servers. See http://www.openbsd.org/anoncvs.html for details on anoncvs.
The XFree86 server is currently known to work on the G4 Macs and new iBooks with ATI Rage 128 cards running OpenBSD 3.0 or later. Other machines are more or less untested. Earlier OpenBSD versions lack some kernel support for it.
Use xf86config to build a /etc/X11/XF86Config file before starting the server for the first time.
Tou configure the keyboard, the protocol should be specified as
wskbd and the device as
Using a wsmux device as the keyboard device doesn't work (yet). Use
macintosh as XkbModel.
For the Titanium Powerbook G4, you can try the following mode line in
/etc/X11/XF86Config to match the flat panel resolution:
Modeline "1152x768" 78.741 1152 1173 1269 1440 768 769 772 800 +HSync +VSync
You need to set
securelevel to -1 in the
configuration file to run XFree86 on OpenBSD/macppc.