I've been using Devilspie for quite some time, and detailed steps on compiling rev 0.10 to run on Solaris 10. Well, I'm now using a OpenSolaris/Nevada Sunray server on x86, so I can no longer use my old binary.
Devilspie has had a complete overhaul since I last built it, so my old instructions don't quite apply anymore. What's more, Nevada has a little bug that will trip up compiling devilspie without a little bit of work.
This post will detail how to compile Devilspie 0.22 on OpenSolaris/Nevada.
Download the source code tarball - devilspie-0.22.tar.gz - and extract it to a directory of your choice.
Unfortunately, there is an outstanding bug on Nevada in that there is no x11.pc file required for pkg-config. We can resolve this by creating one of our own.
If you have root access, place this file into the /usr/lib/pkgconfig directory.
If you don't have root access, place this anywhere you like. It's only needed temporarily, so I've placed it into the devilspie-0.22 directory.
Now, for some reason, pkg-config doesn't seem to pickup the libwnck-1.0.pc file that exists in /usr/lib/pkgconfig. It expects to find libwnck.pc, so lets help it out.
If you don't have root access, symlink /usr/lib/pkgconfig/libwnck-1.0.pc to libwnck.pc in the same directory you copied the x11.pc file to.
If you do not have root access, or have placed the two .pc files into a non-standard location, export the PKG_CONFIG_PATH environment variable pointing to the location of these two files.
If all goes well, you should now be able to run make install to install Devilspie.
Remember, if you've used a version prior to 0.13, you will need to recreate your configuration file. The old xml configuration file format has been replaced with the much simpler s-expressions style.
You can find some very good documentation and examples here.