(comp²)fusion - A Compiz Fusion Compile Script

Links

 

About

 

Kristian Lyngstøl's get-git script is one of my favorite scripts to compile Compiz Fusion with. However, there were a few things that I sought to improve, or at least make more usable for myself. This script differs from Kristian's script in that it is designed to recover from a build failure. For example. If bcop, emerald, and emerald-themes all build fine, but plugins-main fails because of some issue, the system will save information on what it has built already and then will exit. Simply fix the issue (perhaps a dependency problem or a bad commit), and run the script again. The script should pick up where it left off.

Also, I tried to make the ITEMS variable a little more intuitive. Simply comment out the stuff that you don't need/want.

The last major difference is that the script will log everything to the logs directory (it will create it if it doesn't exist) if you set SUPRESS to "true" (no, the typo wasn't mine) and will display compile information to standard output if you set it to "false" (Kristian's script sent everything to /dev/null if SUPRESS was set to "true").

Other than that, there aren't many other modifications that I made. A couple of small ones, yes, but they are rather unimportant. Any sloppy coding is probably my fault and not Kristian's.

 

 

Installation Instructions

 

Untar ccf-x.yz.tgz by typing tar -xzf ccf-x.yz.tgz. Next, simply open up the ccf script in the ccf folder with your favorite editor and follow the instructions to configure the items that you want. Then, just run ccf from its directory (i.e. cd /ccf; ./ccf). I ran it as root, but you probably should be able to run it as another user as well. There might be a conflict when trying to clear the logs, though (sudo make install will make a log with root as the owner instead of the user).

 

 

Changelog

 

1.0b - The first release.

 

 

Copyright © JWC  [Site Info]

top | home | blog