The X-src-20060418 release of the X consolidation for OpenSolaris is a snapshot of the Solaris Nevada X source trees from Nevada build 39. It includes sources for these components and packages: Component SVR4 Packages Licenses ______________________________________________________________________________ Xorg 6.9.0 X server SUNWxorg-server MIT/X11, others and drivers SUNWxorg-graphics-ddx SUNWxorg-xkb SUNWxorg-cfg SUNWxorg-doc SUNWxorg-compatlinks Xtsol extension for SUNWxorg-tsol-module MIT/X11 Solaris Trusted Extensions Xorg 6.9.0 client SUNWxorg-clientlibs MIT/X11, others libraries (libXrandr, SUNWxorg-headers SUNWxorg-devel-docs libXv, libXvMC, libXxf86misc, libXxf86vm) Xorg 6.9.0 client SUNWxorg-client-programs MIT/X11, others programs (xgamma, SUNWxorg-client-docs xrandr, xvidtune, xvinfo) Mesa 6.4.1 SUNWxorg-mesa SGI Free B, MIT/X11, others fontconfig 2.3.2 SUNWfontconfig MIT/X11 SUNWfontconfig-docs SUNWfontconfig-root freetype 2.1.10 SUNWfreetype2 FreeType License Xft 2.1.6 SUNWxwxft MIT/X11 For details on the licenses, see the licenses in the source files or the license information on http://www.opensolaris.org/os/community/x_win/sources/licenses/ The source trees are split into two build sections. All the Xorg sources (including Mesa) are located under XORG_NV. The font software is located under the XW_NV section. ============================================================================== Downloads: After downloading the Sun-modified sources from opensolaris.org, and unpacking them, you will need to download the original open source packages they modify. The Sun sources include a script named download-tarballs that you can run to do this. It assumes running /usr/sfw/bin/wget can connect to Internet websites. If you need to set it to use web proxies, run "man -M /usr/sfw/man wget" for instructions. To download all needed sources: ./download-tarballs To delete all current tarballs and re-download all needed sources: ./download-tarballs -c (c for "clobber") To see what it will do without connecting to any sites: ./download-tarballs -n ============================================================================== Build requirements & preparation: - Solaris Nevada (full install) - Studio 10 or 11 compilers To build all 64-bit software, you will need to be running in 64-bit mode (which on x86 requires an AMD64 or Intel EM64T capable CPU). To build freetype on x86 which works displays text correctly in gpdf you must either use Studio 11 or add patch 117846-11 to Studio 10. To build Xorg completely without errors, you need two headers introduced in ON in Nevada build 37. To build on an older build, you will need to disable the build of the Solaris Trusted Extensions components: chmod +w XORG_NV/sun-src/xc/config/cf/host.def echo '#define BuildXtsol NO' >> XORG_NV/sun-src/xc/config/cf/host.def To build the SUNWxorg-server package, you will need to edit XORG_NV/packages/SUNWxorg-server/prototype and comment out the line for libbitstream.so. You may want to uncomment the line for libfreetype.so to get the open source TrueType font support to replace libbitstream. ============================================================================== Building software: To build the software, simply cd into the top level directory and run ./buildit To build the software and create SVR4 packages, add the -p flag to buildit: ./buildit -p Output of various stages is stored into log files which you can check for errors: XW_NV build log/buildit-XW XW_NV packaging XW_NV/proto-packages/logs/package_build XORG_NV build XORG_NV/log/buildit-XW XORG_NV packaging XORG_NV/proto-packages/logs/package_build The built binaries are found after the build in several proto areas: XW_NV 32-bit & 64-bit XW_NV/proto-sun4-svr4/ XORG_NV 32-bit XORG_NV/build_32/proto-sun4-svr4/ XORG_NV 64-bit XORG_NV/build_64/proto-sun4-svr4/ (All of the above assume sparc - replace "sun4" with "i386" on x86/x64.) ============================================================================== Installing packages: The built packages will be found in these two directories: XW_NV/proto-packages/installdir XORG_NV/proto-packages/installdir To install the packages from XW_NV/proto-packages/installdir, first pkgrm any existing packages with the same names and then pkgadd the new ones. For XORG_NV you may either manually pkgrm and pkgadd or run the upgrade-Xorg script in the installdir which will pkgrm and pkgadd all of the packages for you.