When I try to merge xorg-x11 on OS X I get quite a few errors during build and the rusulting image does not contain the X server. Looking at the Fink info file it looks like xorg should build in a few simple steps. There is also a patch but it is very small and it looks like the build fails in places unrelated to the patch. On the other hand, gentoo includes quite a few patches and the process of building xorg is very complicated.
Created attachment 75551 [details] the fink patch for xorg See bug 115647 for the build log. the build process as reconstructed from fink info file (/sw is the fink prefix): - get X11R6.8.2-src.tar.bz2 (md5 8131cd7ea1e4566e6e05c438a93fcfe1) - unpack it - change into the directory xc echo '#define ExtraIncDir /sw/include' > config/cf/host.def echo '#define EtcX11Directory ProjectRoot/etc' >> config/cf/host.def echo '#define CcCmd gcc' >> config/cf/host.def echo '#define CplusplusCmd g++' >> config/cf/host.def echo '#define BuildFontCache YES' >> config/cf/host.def echo '#define HasFreetype2 NO' >> config/cf/host.def echo '#define InstallCmd /usr/bin/install' >> config/cf/host.def - apply the patch make WORLDOPTS= World - you are done There is at least one drawback to this: the xkb extension is not built on OS X which disables keyboard layout switching. I can try to build this but it would take quite some time and it is not very useful since I cannot merge (and later unmerge) the resulting binaries with portage.
the /sw/include should go, as we cannot rely on Fink with Gentoo.
This has been complicated by the fact that gentoo(and upstream) is moving away from the monolithic release (`make world`) in favor of the modular/autoconfed xorg. I haven't tested recently, but last I checked a few of the Darwin bits had not been modularized yet.
I can build the X server with a clean xorg soure with the fink patch applied. suchanek:~/xorg-x11-finkinfo/xc root# cat config/cf/host.def #define CcCmd gcc #define CplusplusCmd g++ #define BuildFontCache YES #define HasFreetype2 YES #define InstallCmd /usr/bin/install suchanek:~/xorg-x11-finkinfo/xc root# make WORLDOPTS= World Building Release 6.8.2. I hope you checked the configuration parameters in ./config/cf to see if you need to pass BOOTSTRAPCFLAGS. Mon Dec 26 18:00:04 CET 2005 ... + rm -f XKBlib.ps + gzip -d + rm -f XKBproto.ps + gzip -d making all in doc/hardcopy/XPRINT... + rm -f dtprint_fspec.ps + gzip -d Mon Dec 26 23:27:26 CET 2005 Full build of Release 6.8.2 complete. suchanek:~/xorg-x11-finkinfo/xc root# exit Script done on Wed Dec 28 13:21:18 2005 Since there is going to be 6.8.3 before they stop supporting the monolithic build it will probably last for some time. And I expect that the Darwin bits could be modularized for the next release. Otherwise we will be left with the old monolithic one, and it will be the only one that can be built easily on OS X.
the modular Xorg builds on Darwin, xquartz builds to and is in principle a better head.