Difference between revisions of "Gource"

From Vlsiwiki
Jump to: navigation, search
(Created page with '=Installation= Especially for the FTGL, the operations must be done in this order or there are errors which will pop up. === Initial === mkdir /tmp/gource cd /tmp/gource su…')
 
(FTGL)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
=Installation=
 
=Installation=
Especially for the FTGL, the operations must be done in this order or there are errors which will pop up.
+
Especially for the FTGL, the operations must be done in this order (Initial, FTGL, Gource) or there are errors which will pop up.
  
 
=== Initial ===
 
=== Initial ===
Line 17: Line 17:
 
  ./configure --prefix=/usr --libdir=/usr/lib64
 
  ./configure --prefix=/usr --libdir=/usr/lib64
  
  // Edit the Makefile at line 222 to leave only the "src" subdirectory
+
  # Edit the Makefile at line 222 to leave only the "src" subdirectory
  
 
  make
 
  make

Latest revision as of 01:22, 22 May 2010

Installation

Especially for the FTGL, the operations must be done in this order (Initial, FTGL, Gource) or there are errors which will pop up.

Initial

mkdir /tmp/gource
cd /tmp/gource
sudo yum install -y SDL-devel SDL_image-devel pcre libpng-devel libjpeg-devel
sudo yum install -y freetype-devel

FTGL

wget http://downloads.sourceforge.net/project/ftgl/FTGL%20Source/2.1.3%7Erc5/ftgl-2.1.3-rc5.tar.gz
tar -xvzf ftgl-2.1.3-rc5.tar.gz
cd ftgl-2.1.3~rc5
./configure --prefix=/usr --libdir=/usr/lib64
# Edit the Makefile at line 222 to leave only the "src" subdirectory
make
sudo make install

Gource

cd /tmp/gource
wget http://gource.googlecode.com/files/gource-0.26b.tar.gz
tar -xvzf gource-0.26b.tar.gz
cd gource-0.26b
./configure
make
sudo make install

ENJOY!

Usage

Viewing

The following command shows the visualization of the esesc/pwth branch of esesc, and is called from within the ~/esesc directory.

gource -a 0.01 -s 2 --highlight-all-users --stop-at-end --git-branch pwth

Recording

In order to record the visualizations, something like ffmpeg must be installed (I had to install it from source), you can then specify many options for the run, which will be saved to a file.

gource -a 0.01 -s 2 --highlight-all-users --git-branch pwth --stop-at-end --output-ppm-stream - | ffmpeg -y -b 3000K -r 60 -f image2pipe -vcodec ppm -i - -vcodec mpeg4 gource.mp4