Installing Compiz Development
All the source files have now been moved to one repository on launchpad. This assumes you are a developer, know exactly what you're doing or do not mind breaking your system. Make sure your regular user has write access to the source directory (do not build the source as root). The dependency list is as follows.
bzr git-core cmake libcairo2-dev librsvg2-dev libglib2.0-dev libpng12-dev libdbus-1-dev libboost-dev libboost-serialization-dev libxml2-dev libgl1-mesa-dev libglu1-mesa-dev libwnck-dev libgconf2-dev libx11-xcb-dev libxslt1-dev libnotify-dev libmetacity-dev python-gtk2-dev libgnome-window-settings-dev libgnome-desktop-dev gnome-control-center-dev intltool cython python2.7-dev libglibmm-2.4-dev libprotobuf-dev python-pyrex
Building Compiz 0.9.x
As of version 0.9.8.0, all the sources were merged into one repository for easier development on launchpad. The history remains in tact.
1. bzr branch lp:compiz 2. mkdir -P compiz/build 3. cd compiz/build 4. cmake ../ -DCMAKE_INSTALL_PREFIX=[where do you want compiz installed if not /usr/lib]
This last command will configure the build. There are also other build variables that can be set with -D[variable]=[...]. You can also use ccmake to get a more interactive configuration system.
Available Compiz cmake variables:
COMPIZ_DEFAULT_PLUGINS : default active plugin list (comma separated) that is added to the core xml/gconf schema file. COMPIZ_DISABLE_PLUGIN_[PLUGIN NAME] : set it to On to disable building of the plugin COMPIZ_INSTALL_GCONF_SCHEMA_DIR : directory where the gconf schema files should be installed USE_(GCONF|GNOME|GNOME_KEYBINDINGS|GTK|METACITY|KDE4|GSETTINGS) : set it to false to disable build of the specified feature
6. $ make 7. $ [sudo] make install 8. $ [sudo] make findcompiz_install 9. $ [sudo] make findcompizconfig_install
This installs the FindCompiz.cmake module into the cmake module directory. This only needs to be done once, if we don't improve this module in the future
If you've installed to a nonstandard prefix, you will want to set LD_LIBRARY_PATH accordingly.
1. $ LD_LIBRARY_PATH=$PREFIX/lib $PREFIX/bin/compiz --replace --indirect-rendering ccp
C++Compiling (last edited 2012-06-27 00:20:55 by modemcable088)