X.Org - heldersrvio/PureDarwin GitHub Wiki

X.Org

[![](http://upload.wikimedia.org/wikipedia/commons/thumb/9/90/X.Org_Logo.svg/431px-X.Org_Logo.svg.png)](http://upload.wikimedia.org/wikipedia/commons/thumb/9/90/X.Org_Logo.svg/431px-X.Org_Logo.svg.png) This page is about X.Org on Darwin.
Contents 1. [**1** XDarwin](xorg.html#TOC-XDarwin) 2. [**2** History of X.Org on Darwin](xorg.html#TOC-History-of-X.Org-on-Darwin) 3. [**3** X.app](xorg.html#TOC-X.app) 4. [**4** X.Org in MacPorts](xorg.html#TOC-X.Org-in-MacPorts) 5. [**5** X.Org in fink](xorg.html#TOC-X.Org-in-fink) 6. [**6** Ressources](xorg.html#TOC-Ressources)

XDarwin

Update June 2012: Guillaume Verdeau has released patches to get Xorg running on PureDarwin. Please see the announcement. The remainder of this page is left here for historical reasons. It needs to be rewritten to reflect the above.

History of X.Org on Darwin

From http://www.x.org/archive/X11R6.8.0/doc/Darwin2.html

"The X window server for Darwin and Mac OS X provided by the X.Org Foundation. is called XDarwin. (...) XDarwin can also be run from the Darwin console in IOKit mode. (...) From the console, the Darwin port of X11R6.8 uses the IOKit for device driver loading and discovery, rather than the X11R6.8 module loader. Because of this, the X11R6.8 configuration file is not used on Darwin or Mac OS X systems. The descriptions found elsewhere of devices supported by X11R6.8 for other operating systems also do not apply. (...) X11R6.8 for Darwin or Mac OS X will work with any video card that you have an IOKit driver for. (...) If you have a pure Darwin installation, you may need to download additional third-party drivers from Apple's Darwin site. IOKit drivers are typically installed in /System/Library/Extensions/ or /Library/Extensions/."

X.app

The X.app that is shipped with Leopard apparently lacks the IOKit mode that would be needed for Darwin, as it apparently only supports the Quartz modes:

Quartz modes (Experimental / In Development): -fullscreen : run full screen in parallel with Mac OS X window server. -rootless : run rootless inside Mac OS X window server.

Is there a way to get the IOKit mode back?

X.Org in MacPorts

It seems like it needs some work, since all it currently does is print the following message: build a version that needs Quartz (which is not available in PureDarwin). The source subdirectory hw/darwin/iokit apparently has been removed and needs to be resurrected. `` --->  Fetching xorg Error: Target org.macports.fetch returned:          Hi, my name is xorg, I am broken for the time being, so please do not file a bug for me.         Instead, you can use Apple's X11 that is provided on the OS X install CDs ...             and also install the X11 SDK from Xcode Tools because they are both required.         There is also a working XFree86 port and ongoing development to port X11R7 to OS X.

X.Org in fink

fink (which is basically apt-get for Mac OS X and Darwin) contains two binary packages

  • xorg-shlibs_6.8.2-1040_darwin-i386.deb
  • xorg_6.8.2-1040_darwin-i386.deb These can be unpacked to a PureDarwin volume by: sudo su cd /Volumes/PureDarwin/ UNP=$(find xorg*_darwin-i386.deb 2>/dev/null) && for UN in $UNP; do ar p $UN data.tar.gz | zcat | tar xv ; done Then we can try to run them on PureDarwin with export PATH=/usr/X11R6/bin:$PATH startx However, it turns out that this links to ApplicationServices which is not a part of Darwin and hence makes these packages worthless for PureDarwin. Please let us know if otherwise!

Ressources

http://www.x.org/wiki/ 

⚠️ **GitHub.com Fallback** ⚠️