-
Notifications
You must be signed in to change notification settings - Fork 10
/
INSTALL
68 lines (51 loc) · 2.77 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Installation Instructions for NewBreeze v3.0.0
==============================================
1. Preparation
==============
a] Dependencies
The list of dependencies are given below. Please install them in your system as appropriate.
The below methods assume you have a debian based system.
1]Qt5 (qtbase5-dev, qtbase5-dev-tools)
a] QtWebKit (libqtwebkit-dev, qtwebkit5-dev)
b] QtWebEngine (qtwebengine5-dev)
c] QScintilla ( libqscintilla2-dev, libqt5scintilla2-dev)
2] zlib (zlib1g-dev)
3] liblzma (liblzma-dev)
4] libbzip2 (libbz2-dev)
5] libarchive (libarchive-dev)
6] xdg-utils (xdg-utils)
7] mupdf (libmupdf-dev)
8] libdjvulibre-dev (libdjvulibre-dev)
9] libffmpegthumbs-dev
10] libvlc-dev
11] libexif-dev
Type the following command (on Debian and Debian based systems) to install the above dependencies (with root previleges)
Qt5 - With WebKit:
apt-get install g++ qtbase5-dev qtbase5-dev-tools libqt5webkit5-dev libqscintilla2-qt5-dev xdg-utils libarchive-dev libbz2-dev zlib1g-dev \
liblzma-dev libmupdf-dev libdjvulibre-dev libffmpegthumbs-dev libvlc-dev libexif-dev
Qt5 - With WebEngine:
apt-get install g++ qtbase5-dev qtbase5-dev-tools qtwebengine5-dev libqscintilla2-qt5-dev xdg-utils libarchive-dev libbz2-dev zlib1g-dev \
liblzma-dev libmupdf-dev libdjvulibre-dev libffmpegthumbs-dev libvlc-dev libexif-dev
Note:
These are typical commands and by no means universal. In some cases libqscintilla2-qt5-dev may have to be replacef by libqt5scintilla2-dev (Ubuntu).
Again, in Ubuntu, till Qt 5.9.1 (Artful), webengine is unavailable, though various ppa's may give access to QtWebEngine. By default, *-xenial.pro
assumes you do not have access to QtWebEngine and will use QtWebKit.
b] Installation locations
You need to set the locations where you want to install newbreeze, and its plugins. By default, the prefix is /usr.
The newbreeze binary is installed at /usr/bin/, libnewbreeze-common.so at /usr/lib/newbreeze, plugins at /usr/lib/newbreeze/plugins.
These are set in the respective .pro files. You'll have to edit the individual .pro files.
NOTE: Please make note that we use RPATH to locate libnewbreeze-common.so. Setting improper values to $PREFIX, or in QMAKE_RPATHDIR
will result in newbreeze crashing out with error.
2. Building
===========
a] Preparing the Makefile
In the terminal, type
qmake -qt5
b] Building
In the terminal, type
make -kj$(nproc)
3. Installation
===============
In the terminal, type
sudo make install
This will install NewBreeze, the plugins and all the include files (by default into /usr/bin, /usr/lib/newbreeze and /use/include/newbreeze)