I will post more details but to get Xgl & compiz up it is quite a bit of work on FC4 where i remain for the time being. That said, if you have a decent machine that you can leave compiling over night, it is very doable. Many of the things i did on FC4 will not be needed for FC5. So what did i do:
First, you need to follow the modular building instructions for Xorg which can be found at:
http://xorg.freedesktop.org/wiki/ModularDevelopersGuide
The important note is when checking out the xorg server component to use the tag xgl-0-0-1 or you will be getting the wrong server. You also need the latest Mesa source from CVS @sourceforge.
Ok make a build dir:
MAKE SURE YOU HAVE THE LATEST GLITZ/CAIRO AND DEVEL PKGS OR XGL WILL NOT BE BUILT
Sorry to yell. Go have cofee, tea, whiskey, or whatever floats your boat.
The errors cited above re: missing reqs like
Quote:
checking for XSERVERCFLAGS... configure: error: Package requirements (randrproto renderproto fixesproto damageproto xcmiscproto xextproto xproto xtrans xf86miscproto xf86vidmodeproto xf86bigfontproto scrnsaverproto bigreqsproto resourceproto fontsproto inputproto xf86dgaproto videoproto compositeproto trapproto recordproto resourceproto xineramaproto evieproto printproto xkbfile xfont xau fontenc xdmcp) were not met:
No package 'xkbfile' found
No package 'xfont' found
No package 'fontenc' found
|
stem from not having all the stuff you need either installed or failing to have your PKG_CONFIG_PATH updated to reflect where these libs are found.
For me:
Quote:
|
export PKG_CONFIG_PATH=/opt/Xorg-devel/lib/pkgconfig:$PKG_CONFIG_PATH.
|
Ok say everything worked and all the stuff installed. Getting closer
Make sure there is a /opt/Xorg-devel/bin/Xgl installed. If not, you likely don't have the latest cairo/glitz combo or their -devel packages. if not, install them, cd to xserver/xorg, run configure w/ the proper switches (you figure that out because you didn't listen above )
Ok, were getting close.
If you are still lagin' back on FC4, you will need a garnome or other update to your system to a recent gnome desktop that uses cairo for rendering. I used garnome2.12.3, and after a few easily solved problems had a gnome 2.12 desktop.
Ok, now you can get compiz:
Quote:
cd ~/usr/src/Xorg-devel/
cvs -d server:anonymous@cvs.freedesktop.org:/cvs/xorg login
cvs -d server:anonymous@cvs.freedesktop.org:/cvs/xorg co compiz
cd compiz
./autogen.sh --prefix=/opt/Xorg-devel
# the output at the end will indicate if it found everything you need to build both
# the composite mgr and the gnome-window-decorator
make
sudo make install
|
You may need to adjust PATH, PKG_CONFIG_PATH, and LD_LIBRARY_PATH depending on your target dir. If anyone has ?'s about this, post and i'll clarify. Any daring sole doing this should probably already understand these things...check man/info pages
Ok, now you can log out to test. (if garnome make sure you use a different user as the settings in Gnome 2.10 will NOT work for 2.12+! )
console log in as the root user and init to level 3:
Ok, become the new user or console login in another vty and try something like this:
Quote:
# update PATH, LD_LIBRARY_PATH
export PATH=/opt/Xorg-devel/bin:$PATH
export LD_LIBRARY_PATH=/opt/Xorg-devel/lib:$LD_LIBRARY_PATH
xinit /path/to/gnome-session -- /opt/Xorg-devel/bin/Xgl :0
# You need to add the appropriate settings after the :0 depending on your video card
# for me (NVIDIA 6800) the line looked like:
xinit /opt/garnome/bin/gnome-session -- /opt/Xorg-devel/bin/Xgl -fullscreen -ac -accel glx buffer -accel xv bo :0
#then start the compiz daemon making sure it finds the MESA LIBS!~!!
LD_LIBRARY_PATH=/opt/Xorg-devel/lib/Mesa:$LD_LIBRARY_PATH compiz --replace gconf decoration wobbly fade minimize cube rotate zoom scale move resize place switcher
# if it doesn't find out where Mesa is it won't find the GL_EXT_texture_from_pixmap which is only available in the latest source!!!
#finally
gnome-window-decorator
|
Ok, this was from memory, and CTRL-R'ing the command line. There were some small bugs along the way, and likely small ommisions above...but the way-cool results are worth the effort - if you like fast fonts, and wicked cool effects and have some evenings to burn.
So when you run into problems post em' and i'll try and help. This is my first attempt at a tutorial so flame away...i'll get better in the future
-tom