All pastes #563434 Raw Edit

Compiz-git instructions

public text v1 · immutable
·published 2007-06-13 03:53 UTC
rendered paste body
We need to 'git' all packages needed, first make sure 'git' is installed, autotools, and a build system:
sudo apt-get install git-core automake build-essential

Now, get all the build-dependencies:
sudo apt-get build-dep compiz

we need these packages and git will get them for us, from http://gitweb.beryl-project.org/?o=age

create a compiz folder in your /home/user directory, change INTO that directory, then:

put 'git clone' in front of each of these lines below and run them in a terminal one by one

git://git.freedesktop.org/git/xorg/app/compiz
git://anongit.opencompositing.org/compcomm/libraries/bcop
git://anongit.opencompositing.org/compcomm/compiz-configuration-system/tools/ccsm
git://anongit.opencompositing.org/compcomm/compiz-configuration-system/libraries/ccs-lib
git://anongit.opencompositing.org/compcomm/compiz-configuration-system/bindings/ccs-python
git://anongit.opencompositing.org/compcomm/plugins-main

after you have all of this you have all the files, now it's time to build.

I will assume your username is "foo".  Henceforth, replace any instance of "foo" with your actual user name.

In the compiz directory, you want to run 
./autogen.sh --prefix=/home/foo/Compiz --enable-librsvg && make && make install

Then run
export PKG_CONFIG_PATH=/home/foo/Compiz/lib/pkgconfig

Then, in each of the bcop, ccs-lib, ccs-python, ccsm, plugins-main directories(in that order) run:
./autogen.sh --prefix=/home/foo/Compiz && make && make install

nvidia command to make window decorations work if needed:
sudo nvidia-xconfig --add-argb-glx-visuals -d 24


after all have been built with NO ERRORS, you should be able to start compiz like so:

~/Compiz/bin/compiz --replace --indirect-rendering --sm-disable ccp &

and to use the compiz-settings-manager, just type:

PYTHONPATH=/home/foo/Compiz/lib/python2.5/site-packages ccsm

(You can add the PKG_CONFIG_PATH and PYTHONPATH to your bash init in order to not have to type them in every time)