This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
build:install_2.6 [2011/04/26 07:20] mean [Requirement list for Qt4 version(Fedora 14)] |
build:install_2.6 [2015/06/07 11:28] mean |
||
---|---|---|---|
Line 4: | Line 4: | ||
* The core modules: A set of dynamic libraries hosting core components. | * The core modules: A set of dynamic libraries hosting core components. | ||
- | * The application modules: GTK+, Qt(nbsp)4 and CLI variants. | + | * The application modules: Qt4 or Qt5, and CLI (command line). |
* 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 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 settings modules : They contain templates/settings for some encoder (x264 mostly). | ||
===== The simple way ===== | ===== The simple way ===== | ||
Line 20: | Line 21: | ||
By using <nowiki>--</nowiki>with-xxx or <nowiki>--</nowiki>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. | ||
+ | There is an extra option to build with Qt5 //--enable-qt5// | ||
The xxx list is as follows: | The xxx list is as follows: | ||
- | * **qt4:** Build the Qt(nbsp)4 UI | + | * **qt4:** Build the Qt4 UI (or Qt5 is --enable-qt5 is set) |
- | * **gtk:** Build the GTK+(nbsp)3 UI | + | |
* **cli:** Build CLI | * **cli:** Build CLI | ||
* **core:** Build core | * **core:** Build core | ||
Line 32: | Line 33: | ||
Build .deb for debian/ubuntu, core + Qt4 + plugins | Build .deb for debian/ubuntu, core + Qt4 + plugins | ||
bash bootStrap.bash --deb | bash bootStrap.bash --deb | ||
- | If you prefer Gtk: | + | |
- | bash bootStrap.bash --deb --without-qt4 --with-gtk | + | 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. | If you dont use --deb or --rpm, the result will be in the *install* folder. You can copy its content to /usr later. | ||
Line 43: | Line 49: | ||
For core modules | For core modules | ||
- | sudo apt-get install libxml2-dev gcc g++ make cmake pkg-config libpng12-dev fakeroot yasm | + | sudo apt-get install gcc g++ make cmake pkg-config libpng12-dev fakeroot yasm libsqlite3-dev build-essential |
- | For GTK+ | + | |
- | sudo apt-get install libgtk3.0-dev | + | For Qt **4** |
- | For Qt(nbsp)4 | + | |
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 | For common plugins | ||
sudo apt-get install libaften-dev libmp3lame-dev libx264-dev libfaad-dev libfaac-dev | 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) ===== | ===== Requirement list for Qt4 version(Fedora 14) ===== | ||
+ | Core | ||
yum install pkgconfig fakeroot yasm | yum install pkgconfig fakeroot yasm | ||
yum install libpng zlib zlib-devel patch rpm-build | yum install libpng zlib zlib-devel patch rpm-build | ||
- | yum install qt4 qt4-devel | + | yum install libsql3x-devel |
+ | Qt4 | ||
+ | yum install qt4 qt4-devel | ||
- | bash bootStrap.bash --rpm | + | Then |
+ | bash bootStrap.bash --rpm | ||
You must be sudoer | You must be sudoer |