Doug Scott writes:
CBE WINE BUILD INSTRUCTIONS - V1.0
----------------------------------
Step 1: [OPTIONAL] Add new user to do builds
- User requires "Software Installation" profile for CBE
root@db1> useradd -g sysadmin -d /export/home/cbe -m -s /usr/bin/bash -c "CBE build user" -P "Software Installation" cbe
Create a suitable /export/home/cbe/.bash_profile
root@db1> su - cbe
Step 2: Download and extract CBE
cbe@db1> wget -O -
http://dlc.sun.com/osol/jds/download...-1.6.0-src.tar | tar fx -
Step 3: Remove SUNWsmbaS from JDS_DEPENDENCIES in jds-cbe-1.6.0/cbe-install
- Required for later SXCE builds as SUNWsmbaS is not installed
cbe@db1> chmod u+w jds-cbe-1.6.0/cbe-install
cbe@db1> printf "%%s/SUNWsmbaS//\nwq\n" | ex - jds-cbe-1.6.0/cbe-install
Step 4: Build and install CBE
- If you are not building JDS you can say no to installing dependencies
- This may take some time
cbe@db1> cd jds-cbe-1.6.0
cbe@db1> ./cbe-install
Step 5: Add env.sh to your .bash_profile
cbe@db1> cd ..
cbe@db1> printf ". /opt/jdsbld/bin/env.sh\n" >> .bash_profile
cbe@db1> . /opt/jdsbld/bin/env.sh
Step 6: Check out spec-files-extra
cbe@db1> svn co
https://pkgbuild.svn.sourceforge.net...es-extra/trunk spec-files-extra
Step 7: Build
cbe@db1> cd spec-files-extra
cbe@db1> pkgtool build --download SFEfontforge.spec SFEfreetype.spec SFEwine.spec
This is using the CBE package system for Solaris. Just like blastwave, but it downloads the source automatically and compiles automatically for you. However, first the were was an compilation error, I first had to copy libgunicode.so.3 to /usr/lib and then compiling continued. But it would be better to a symlink i believe. This package also installs fontforge for you automatically.
The CBE package has also the latest vlc-player to download for Solaris (and lots of other stuff, like "GKrellm" which is a must - it displays info about your computer; memory, swap, etc. Go to it's web site). However, I couldnt get vlc to work. So if you succeed with vlc player I would be happy to know. The only issue is that it crashes when playing mpeg4, otherwise it works perfectly.