VLC versions measurement and comparison tool
Frankly, the tool was only tested on Debian Wheezy and Kubuntu 12.10 distributions.
You should expect issues in case of use of another systems, but it will probably work well on all modern Debian based distros.
Well, you also should run VLCC with Python 2.7.
There are no valid reasons why it couldn't be implemented to run with 2.6 or 3.x, but it only actually works on 2.7.
Run
$ sudo python setup.py install
This will install VLCC and its additional requirements.
Note that you should have setuptools package installed in order to install all the dependencies.
If you don't have setuptools, you'll need psutil, flask, PyYAML and pysqlite to install.
Okay. For now your system was enriched with the vlcc lib and two binaries:
- vlcc-run does all the building and comparison job,
- vlcc-http is a simple HTTP server which hosts the VLCC Web page.
In order to run, debootstrap, gnuplot and wget packages are required by VLCC runner script (i. e. vlcc-run).
The script will warn you If any of these packages are absent.
A configuration file (usually config.yaml) can be specified with -c or --config option to both vlcc-run and vlcc-http scripts.
If you don't have one, both scripts will try to create its basic reincarnation on first run in current directory.
Configuration with config.yaml is quite simple and intuitive, if you want to change paths or add new VLC version, just follow the example configuration in the default config file.
Note that, using the default config, the database file and images folder will be created in current directory.
Also note that both vlcc-http and vlcc-run should use the same config (nevermind, just run them both in the same directory).
Note that root privileges are required to run vlcc-run since debootstrap & chroot do need them.
I've actually spent some time on playing with fakeroot/fakechroot stuff but it eventually doesn't work properly, so run with sudo.
The very basic launch of vlcc-run script follows:
$ sudo vlcc-run <video_file_path> 1.1.3 2.0.3
Where 1.1.3 and 2.0.3 are sample VLC versions available in the default config file.
This will create ./build/ dir in current directory and will start to make chroot jails, configuring, compiling, installing and comparing.
For vlcc-http just do
$ vlcc-http
And visit http://127.0.0.1:5000 in your favourite browser (in fact, you'd better run it with Chrome or Firefox :-) ).
For advanced usage information, run the scripts with --help option.
Note that VLCC has failback functionality, so you don't have to repeat all the previous build states on each run.
The available build states which describe the atomicity of the failback functionality are: jail_created, source_unpacked, configured, compiled, installed.
So it goes. Feel free to ask any questions.