User Tools

Site Tools


build:install_2.6

This is an old revision of the document!


Compiling Avidemux 2.6.x

Avidemux 2.6 is made of 3 components:

  • The core modules: A set of dynamic libraries hosting core components.
  • The application modules: GTK+, Qt(nbsp)4 and CLI variants.
  • The plug-in modules: Everything is a module in 2.6, so without plugins you can't do anything. The plugins either belong to the common part (they work with all UIs) or a specific part (they only work with one).

The simple way

Please look at the bootStrap.bash script that compiles, installs and builds automatically packages for Avidemux 2.6.

Packaging options

If you use --rpm, --deb or --tgz, bootStrap will automatically create the packages. Please note that they are incomplete (i.e. they do not contain proper dependencies and such). For RPM packaging, also note that the vanilla RPM as found in Fedora(nbsp)12 will not work (see cmake about that).

Target

By using --with-xxx or --without-xxx, you can specifically ask bootStrap.bash to build or not parts of Avidemux.

The xxx list is as follows:

  • qt4: Build the Qt(nbsp)4 UI
  • gtk: Build the GTK+(nbsp)3 UI
  • cli: Build CLI
  • core: Build core
  • plugins: Build plugins

Example Build .deb for debian/ubuntu, core + Qt4 + plugins

bash bootStrap.bash --deb

If you prefer Gtk:

bash bootStrap.bash --deb --without-qt4 --with-gtk

If you dont use –deb or –rpm, the result will be in the *install* folder. You can copy its content to /usr later.

Do not install it elsewhere, it will not work. If you want to install it to /usr/local or /opt or …, please edit the bootStrap.sh script. Note that the bootstrap script does not install anything by itself and does not require root privilege.

Requirement list (debian/ubuntu)

For core modules

sudo apt-get install libxml2-dev gcc g++ make cmake pkg-config libpng12-dev fakeroot yasm

For GTK+

sudo apt-get install libgtk3.0-dev

For Qt(nbsp)4

sudo apt-get install libqt4-dev

For common plugins

sudo apt-get install libaften-dev libmp3lame-dev libx264-dev  libfaad-dev libfaac-dev

Requirement list for Qt4 version(Fedora 14)

Core

yum install pkgconfig fakeroot yasm
yum install libpng zlib zlib-devel patch rpm-build

Qt4

yum install qt4 qt4-devel

Then

bash bootStrap.bash --rpm

You must be sudoer

build/install_2.6.1303795267.txt.gz · Last modified: 2012/11/11 08:51 (external edit)