I've got it working. See evidence (git snapshot from somewhen yesterday):

http://images.tomservo.cc/fusion1.jpg (Simple composited screen)
http://images.tomservo.cc/fusion2.jpg (Showing off Expo plugin)

Getting it to compile is somewhat annoying. You should update your GNU build 
stuff, like automake and autoconf. Compiling the things like they come from 
gnu.org seems to suffice here. To make the settings manager work, you however 
need Python 2.5. Best is to fetch and install it from sunfreeware.com, though 
there seem to be patches already to make it compile correctly on Solaris. On 
top of that, you need to download and compile PyGTK, PyCairo and PyGObject.

On various stages, you'll have to deal with broken configure and Makefiles, 
aswell as missing string functions and includes. The configure files of Compiz 
are broken because the autoconf tool doesn't seem to process some things 
correctly, you'll be fixing linebreaks and version numbers (PACKAGE_VERSION and 
VERSION strings). Nothing tragic, I got it working without knowledge of these 
tools.

The Makefiles are broken in the Py* components. Incompatible compiler 
statements are (still being) introduced by configure although the Gnome folks 
do know about this issue for some time (from their site). Removing -std=c9x/c99 
from the CFLAGS in the Makefiles seems to be sufficient.

The broken includes are in Compiz and its plugins. Just like in Erwann's patch, 
compiz.h and decoration.h need to be moved in front of the X11 includes.

String functions are missing aswell. Notably strcasestr, strsep and strndup in 
various places. Sadly, I didn't note where it happens, but it happens on a very 
few places only. Didn't encounter missing asprintf's yet, I guess that's fixed 
from their side.

Nothing else was done, apart from flipping includes and adding the string 
functions. It seems to work out of the box. One issue encountered was a broken 
mouse wheel, but that was due to a plugin being stupid.

I guess if they release an official snapshot, I'll patch it and put it up 
somewhere. Didn't seem that much of an issue to get it working.

-mg
 
 
This message posted from opensolaris.org

Reply via email to