2012-04-02 21:05:06 +02:00
General
2011-10-17 09:57:07 +02:00
----------------------------------------------------------------------------------
2011-03-02 16:57:41 +01:00
2011-10-04 18:28:34 +02:00
If you can, you should use precompiled packages for your distribution.
But if you cannot use them, or they are not available, please read
2012-04-05 09:36:37 +02:00
this information before compiling.
2015-10-19 21:32:01 +02:00
After your binary is successfully compiled, you need to copy bin/ folder
2011-10-04 18:28:34 +02:00
from git to specific directory by your system you compiled for.
2011-10-17 09:57:07 +02:00
On Linux, you can easily do it by running make install.
2011-10-04 18:28:34 +02:00
If you are unsure where is the right place, you can check it directly from
2017-08-25 17:11:29 +02:00
Falkon by clicking from Help Menu on Configuration Information, then in
2011-10-27 14:26:40 +02:00
Path section.
2012-04-02 21:05:06 +02:00
2017-08-25 17:11:29 +02:00
You may want to build Falkon with debugging symbols (for generating
2012-02-26 12:12:38 +01:00
backtrace of crash) as easily as adding one line to src/defines.pri:
2012-04-02 21:05:06 +02:00
2011-10-27 14:26:40 +02:00
CONFIG += debug
2012-04-02 21:05:06 +02:00
2017-08-25 17:11:29 +02:00
Falkon requires Qt (>= 5.8) and QtWebEngine (at least version included in Qt 5.8)
2012-02-18 19:20:07 +01:00
2011-10-17 09:57:07 +02:00
Microsoft Windows
----------------------------------------------------------------------------------
2011-10-04 18:28:34 +02:00
2017-02-06 18:38:32 +01:00
You need Microsoft Visual C++ Compiler, Qt Libraries 5.8 or higher and openssl
2017-08-25 17:11:29 +02:00
libraries. in order to build Falkon.
2012-04-02 21:05:06 +02:00
2011-10-17 09:57:07 +02:00
Linux / Unix
----------------------------------------------------------------------------------
2011-10-04 18:28:34 +02:00
2017-02-06 18:38:32 +01:00
You need to have Qt 5 (>= 5.8) with QtWebEngine.
2015-09-25 22:04:05 +02:00
Next compulsory requirement is OpenSSL (libcrypto). xcb libraries are also
2013-06-21 11:09:19 +02:00
required unless you specify NO_X11 build option.
2013-05-19 10:52:44 +02:00
To build KWallet plugin, you need:
2016-03-29 15:12:00 +02:00
- KF5 KWallet
2013-01-19 19:37:40 +01:00
2014-02-02 16:21:06 +01:00
To build Gnome-Keyring plugin, you need
- libgnome-keyring-dev installed
2014-01-27 22:30:55 +01:00
For debug build, gdb is required by qmake.
2012-04-05 09:36:37 +02:00
MAC OS X
----------------------------------------------------------------------------------
2017-01-31 19:16:14 +01:00
You need to have Xcode from the Apple App Store installed in Applications, [Command Line Tools for the same Xcode version ](https://developer.apple.com/ ) may be included depending on the version,
2016-05-14 12:45:28 +02:00
[Homebrew ](http://brew.sh/ ), and `$ brew install openssl` for openssl.
2017-02-06 18:38:32 +01:00
Next compulsory requirement is Qt 5 (>= 5.8) with QtWebEngine.
2017-03-18 16:48:11 +01:00
After successful compilation, you need to build the application bundle. You will do it with following command:
2013-01-19 19:37:40 +01:00
2017-03-18 16:48:11 +01:00
$ make bundle
2012-04-02 21:05:06 +02:00
2011-12-28 14:55:54 +01:00
FreeBSD
----------------------------------------------------------------------------------
2017-08-25 17:11:29 +02:00
You may need to set few sysctls to get Falkon running with raster graphics system.
2012-04-02 21:05:06 +02:00
2011-12-28 14:55:54 +01:00
For more informations, please see FAQ.
2011-10-07 15:37:49 +02:00
2011-10-17 09:57:07 +02:00
Available Defines
----------------------------------------------------------------------------------
2012-02-26 12:12:38 +01:00
You can set define directly in file (src/defines.pri)
2011-10-13 20:06:27 +02:00
or set environment variable by
2012-04-02 21:05:06 +02:00
2011-10-18 14:30:17 +02:00
$ export NAME="value"
2011-10-04 18:28:34 +02:00
General:
2018-01-06 20:33:13 +01:00
PORTABLE_BUILD Falkon won't write any data outside of path of execution.
2011-12-28 14:55:54 +01:00
It will also disable plugins by default.
2011-10-04 18:28:34 +02:00
(disabled by default)
2012-04-02 21:05:06 +02:00
2011-10-18 14:30:17 +02:00
example:
2011-12-28 14:55:54 +01:00
$ export PORTABLE_BUILD="true"
2012-04-02 21:05:06 +02:00
2011-10-27 14:26:40 +02:00
Windows specific defines:
2012-04-02 21:05:06 +02:00
2011-10-13 17:38:51 +02:00
W7API Enable Windows 7 API support
2011-10-17 09:57:07 +02:00
Requires linking against libraries from Microsoft Visual C++
Compiler 2010
2011-10-23 14:44:18 +02:00
(enabled by default)
2012-04-02 21:05:06 +02:00
2011-10-04 18:28:34 +02:00
Linux / Unix specific defines:
2012-04-02 21:05:06 +02:00
2015-09-25 22:04:05 +02:00
NO_X11 Disable all X11 calls.
Enable this when building for Wayland-only.
All X11 calls are guarded by runtime X11 platform check
even without this option.
2013-03-23 14:16:08 +01:00
example:
$ export NO_X11="true"
2017-08-25 17:11:29 +02:00
NO_SYSTEM_DATAPATH By default, Falkon is using /usr/share/falkon/ path
2012-04-05 09:36:37 +02:00
for storing themes and translations.
2017-08-25 17:11:29 +02:00
By setting this define, Falkon will use path of execution.
2011-10-04 18:28:34 +02:00
(disabled by default)
2012-04-02 21:05:06 +02:00
2011-10-18 14:30:17 +02:00
example:
$ export NO_SYSTEM_DATAPATH="true"
2012-04-02 21:05:06 +02:00
2017-08-25 17:11:29 +02:00
FALKON_PREFIX You can define different prefix.
Falkon binary will then be moved to PREFIX/bin/, use
PREFIX/share/falkon/ as datadir, PREFIX/share/applications for
2011-10-27 14:26:40 +02:00
desktop launcher and PREFIX/share/pixmaps for icon.
2016-02-14 10:20:51 +01:00
(default prefix is "/usr")
2012-04-02 21:05:06 +02:00
2011-10-18 14:30:17 +02:00
example:
2017-08-25 17:11:29 +02:00
$ export FALKON_PREFIX="/usr"
2012-04-02 21:05:06 +02:00
2016-02-07 16:38:22 +01:00
SHARE_FOLDER You can define the path of the share folder, i.e. /usr/share
2017-08-25 17:11:29 +02:00
Falkon will then use SHARE_FOLDER/falkon as datadir,
2016-02-07 16:38:22 +01:00
SHARE_FOLDER/applications for desktop launcher and
2016-02-14 10:20:51 +01:00
SHARE_FOLDER/pixmaps for the icon. By default it is not defined
and files will be installed as described above.
(default share folder is "/usr/share")
example:
$ export SHARE_FOLDER="/usr/share"
2016-02-07 16:38:22 +01:00
2013-05-19 10:52:44 +02:00
DISABLE_DBUS Build without QtDBus module. Native desktop notifications
will be disabled.
2012-07-10 11:56:24 +02:00
example:
$ export DISABLE_DBUS="true"