Instructions for building GNOME on OpenSolaris 2008.11
Check out the excellent instructions in Matt Keenan's Blog.
Instructions for building GNOME for OpenSolaris 2008.05
- install Solaris Nevada 86 or later
- download and install the OSD CBE from http://dlc.sun.com/osol/jds/downloads/cbe/
Note: DO NOT install the packages listed in 2) when the cbe-install script requests them. Just say no to those questions:
Package SUNWcleu2 is required for building JDS
Would you like to install it now? [yes]: n
Package SUNWeu8os is required for building JDS
Would you like to install it now? [yes]: n
...
- . /opt/jdsbld/bin/env.sh
- check out the OSD spec files:
cd /export/osd
svn co svn+ssh://anon@svn.opensolaris.org/svn/jds/spec-files/branches/gnome-2-20 spec-files
cd spec-files
- uninstall the Solaris-branded OSD bits that we are going to replace with OpenSolaris-branded (or updated) bits:
pkgtool uninstall-pkgs ~--with-sun-branding `cat indiana/indiana-branded.speclist`
- build OSD for Indiana:
make
pkgtool build ~--download ~--with-l10n \
~--without-dt ~--with-indiana-branding \
~--without-blueprint `cat indiana/indiana-branded.speclist`
Instructions for building GNOME for OpenSolaris Developer Preview 2.
- install Solaris Nevada 79 (other recent builds should work too)
- uninstall the following packages, if installed:
I18N_PKGS="SUNWi2cs SUNWi1cs SUNWi15cs SUNWceuos SUNWcleu SUNWeuluf
SUNWdeiso1 SUNWi5cs SUNWi13cs SUNWi9cs SUNWeeuos SUNWi7cs
SUNWesiso1 SUNWcleu2 SUNWeu8os SUNWfriso1 SUNWale SUNWhkleu
SUNWhleu SUNWinleu SUNWitiso1 SUNWjfpu SUNWkleu SUNWmeaos
SUNWnafos SUNWnamos SUNWneuos SUNWsamos SUNWseuos SUNWsviso1
SUNWtleu SUNWweuos SUNWiiimr SUNWiiimu SUNWbdb"
for pkg in $I18N_PKGS; do yes | pfexec /usr/sbin/pkgrm $pkg; done
- download and install the OSD CBE from http://dlc.sun.com/osol/jds/downloads/cbe/
Note: DO NOT install the packages listed in 2) when the cbe-install script requests them. Just say no to those questions:
Package SUNWcleu2 is required for building JDS
Would you like to install it now? [yes]: n
Package SUNWeu8os is required for building JDS
Would you like to install it now? [yes]: n
...
- . /opt/jdsbld/bin/env.sh
- install the latest FOX packages from the FOX project
- check out the OSD spec files:
cd /export/osd
svn co svn+ssh://anon@svn.opensolaris.org/svn/jds/spec-files/branches/gnome-2-20 spec-files
cd spec-files
- as root, disable some services:
# svcadm disable svc:/system/postrun:default
# svcadm disable svc:/system/dbus:default
# svcadm disable svc:/system/hal:default
# svcadm disable svc:/system/avahi-bridge-dsd:default
- uninstall the Nevada OSD bits:
pkgtool uninstall-pkgs *.spec closed/*.spec indiana/*.spec
- build OSD for Indiana:
make
pkgtool build ~--download ~--with-l10n ~--with-gnu-iconv \
~--without-dt ~--without-sun-branding ~--with-indiana-branding \
~--without-blueprint ~--with-fox indiana/*.spec *.spec