User Tools

Site Tools


build:install_2.6

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
build:install_2.6 [2010/04/10 18:54]
meanadmin
build:install_2.6 [2015/06/07 11:17]
mean [Requirement list (debian/ubuntu)]
Line 1: Line 1:
-====== ​ Compiling Avidemux 2.6.x  ======+====== Compiling Avidemux 2.6.x ======
  
-Avidemux 2.6 is made of 3 components : +Avidemux 2.6 is made of 3 components:
-  * The core modules : A set of dynamic libraries hosting core components. +
-  * The application modules : Gtk, Qt4 and Cli variants. +
-  * The plug-in modules : Everything is a module in 2.6, so without plugins you cant do anything. The plugins either belong to the common part (they work with all UIs) or specific part (they only work with one). +
-=====  The simple way  =====+
  
-Please look at the bootStrap.bash script\\ +  * The core modules: A set of dynamic libraries hosting core components. 
-that compiles, installs and builds automatically packages for avidemux ​2.6.\\+  * 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 ==== ==== Packaging options ====
-If you use --rpm, --deb or --tgz, bootStrap will automatically create the packages.+ 
 +If you use <​nowiki>​--</​nowiki>​rpm, <​nowiki>​--</​nowiki>​deb or <​nowiki>​--</​nowiki>​tgz, bootStrap will automatically create the packages.
 Please note that they are incomplete (i.e. they do not contain ​ proper dependencies and such). 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 Fedora12 ​will not work (see cmake about that).+For RPM packaging, also note that the vanilla ​RPM as found in Fedora(nbsp)12 ​will not work (see cmake about that).
  
 ==== Target ==== ==== Target ====
  
-By using --with-xxx or --without-xxx,​ you can specifically ask bootStrap.bash to build or not parts of avidemux. +By using <​nowiki>​--</​nowiki>​with-xxx or <​nowiki>​--</​nowiki>​without-xxx,​ you can specifically ask bootStrap.bash to build or not parts of Avidemux.
-The xxx list is as follow : +
-  * qt4    : Build qt4 +
-  * gtk    : Build gtk +
-  * cli    : Build cli +
-  * core   : Build core +
-  * plugins: Build plugins+
  
 +The xxx list is as follows:
  
-=====  Requirement list  =====+  * **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 
 + 
 +Build .deb for debian/​ubuntu,​ core + Qt5 + plugins 
 +  bash bootStrap.bash --deb --enable-qt5 
 + 
 +Build .deb for debian/​ubuntu,​ core + Qt5 + plugins + cli 
 +  bash bootStrap.bash --deb --enable-qt5 --with-cli 
 + 
 +   
 +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 For core modules
-  sudo apt-get install ​libxml2-dev ​gcc g++ make cmake pkg-config libpng12-dev fakeroot +  sudo apt-get install gcc g++ make cmake pkg-config libpng12-dev fakeroot ​yasm libsqlite3-dev  build-essential  
-For Gtk + 
-  sudo apt-get install libgtk2.0-dev libglade2-dev +For Qt **4**
-For QT4+
   sudo apt-get install libqt4-dev   sudo apt-get install libqt4-dev
 +  ​
 +For Qt **5**
 +  sudo apt-get install qttools5-dev-tools qtbase5-dev
 +  ​
 +  ​
 +For common plugins
 +  sudo apt-get install libaften-dev libmp3lame-dev libx264-dev ​ libfaad-dev libfaac-dev
 +  ​
 + ​**Warning** ​
 +If you want to create .debs, the cmake version bundled with some versions of ubuntu is buggy. Please build cmake from source (latest version)
 +  ​
 +=====  Requirement list for Qt4 version(Fedora 14)  =====  ​
 +Core 
 +  yum install pkgconfig fakeroot yasm
 +  yum install libpng zlib zlib-devel patch rpm-build
 +  yum install libsql3x-devel
 +Qt4  ​
 +  yum install qt4 qt4-devel
 +
 +Then
 +  bash bootStrap.bash --rpm
 +
 +You must be sudoer
build/install_2.6.txt · Last modified: 2015/06/08 20:51 by mean