The X-src-nv_103 release of the X consolidation for OpenSolaris is a snapshot of the Solaris Nevada X source trees from Nevada build 103. The package definitions for most of the X packages are now included in this delivery, but since the sources required to build some of the components in them is not yet available, you should expect to see that many packages failed to build. As of the build 103 code drop, you should expect 53 of 67 packages to build correctly on x86, and 52 of 67 on SPARC. It includes sources for these components and packages: Component SVR4 Packages Licenses ______________________________________________________________________________ Xorg 1.3 X server SUNWxorg-server MIT/X11, others and drivers SUNWxorg-graphics-ddx SUNWxorg-cfg SUNWxorg-doc SUNWxwfsw Xorg extension for SUNWxorg-tsol-module MIT/X11 Solaris Trusted Extensions X.Org X11R7.x client SUNWxorg-clientlibs MIT/X11, others libraries, programs, SUNWxorg-headers protocol headers, SUNWxorg-devel-docs documentation, etc. SUNWxorg-client-docs SUNWxorg-client-programs SUNWxcursor-themes SUNWxwice SUNWxwinc SUNWxwman SUNWxwopt SUNWxwplr SUNWxwplt SUNWxwpmn SUNWxwslb libpciaccess 0.10.5 SUNWpciaccess MIT/X11 pixman 0.12.0 SUNWpixman MIT/X11 Xprint server based on SUNWxprint-server MIT/X11 Xorg 1.3 SUNWxwpft Mesa 7.0.4 SUNWxorg-mesa SGI Free B, MIT/X11, others fontconfig 2.5.0 SUNWfontconfig MIT/X11 SUNWfontconfig-docs SUNWfontconfig-root freetype 2.3.7 SUNWfreetype2 FreeType License Xft 2.1.12 SUNWxwxft MIT/X11 xscreensaver 5.0.1 SUNWxwsvr MIT/X11, GPLv2, others SUNWxscreensaver-hacks SUNWxscreensaver-hacks-gl RealVNC 4.1.2 SUNWvncviewer GPLv2 SUNWxvnc accessx program SUNWxwacx MIT/X11 hwc streams module SUNWxwmod MIT/X11 Symlinks packages SUNWxwrtl MIT/X11 SUNWxwhl SUNWxorg-compatlinks X.Org X11R7.x fonts FSWxorg-fonts-* MIT/X11, others & other open source fonts Localization templates SUNW0* MIT/X11, others 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 now unified under the XW_NV directory. ============================================================================== 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/Solaris Express Community Edition (full install, recent build - tested on nv_99) - Studio 12 compilers, with the CBE patchset: http://www.opensolaris.org/os/community/on/flag-days/pages/2008101301/ http://opensolaris.org/os/community/tools/sun_studio_tools/sun_studio_12_tools/ - GNU autotools, gettext, and make - lynx (for converting docs from DocBook -> html -> text) The recommended source for the GNU tools needed to build the X consolidation is the JDS CBE 1.6, available from: http://www.opensolaris.org/os/project/jds/contributing/building/ Specifically required are: CBEmake CBEm4 CBEautoconf CBEautomake CBElibtool CBEgettext The recommended source for lynx is the Solaris Companion CD. The packages needed from the Solaris 10 edition are: SFWgcmn SFWgcc2l SFWgcc34l SFWncur SFWlynx To build all 64-bit software, you will need to be running a 64-bit kernel (which on x86 requires an AMD64 or Intel EM64T capable CPU). To build the AccessX accessibility program, your $LANG and any LC_* environment variables will need to be set to the C locale. (Bug 6764788, fixed in nv_103). ============================================================================== 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 The script XW_NV/open-src/util/build-tools/find-build-errors can be used to help find the build errors buried in these log files. The built binaries are found after the build in a proto area: SPARC XW_NV/proto-sun4-svr4/ x86/x64 XW_NV/proto-i386-svr4/ More information about the build system and makefiles used in the tree can be found in the XW_NV/open-src/README file. ============================================================================== Installing packages: The built packages will be found in the directory: XW_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. The upgrade-X script in the XW_NV/packages directory provides an example of how to do this, but assumes a complete Solaris Nevada X package set, including packages that are not built in this open source release yet, so may leave your system unusable if you try to run it as-is with the results of this build, since it will remove the existing packages and not be able to install their replacements.