-
Notifications
You must be signed in to change notification settings - Fork 20
/
INSTALL
56 lines (43 loc) · 2.93 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
FatRat uses the CMake build system.
An example compilation procedure:
cmake . -DWITH_BITTORRENT=ON -DWITH_SFTP=ON -DCMAKE_INSTALL_PREFIX=/usr
make
make install
The prefix can be changed to /usr using -DCMAKE_INSTALL_PREFIX=/usr. The default prefix is /usr/local,
but may be implementation dependent.
Should you need to make install to a different directory, the traditional DESTDIR is supported.
*** FEATURES ***
+-------------------------------+-----------------------+----------------------------------------------+
| Feature name | Switch | Dependencies |
+-------------------------------+-----------------------+----------------------------------------------+
| Translations | WITH_NLS | --- |
| HTTP(S)/FTP(S) support | WITH_CURL | libcurl 7.18.2, Linux 2.6.2 or newer |
| BitTorrent support | WITH_BITTORRENT | Rasterbar libtorrent 0.15.0, ASIO, QtWebKit |
| Jabber remote control | WITH_JABBER | gloox 0.9/1.0 |
| Documentation | WITH_DOCUMENTATION | QtHelp |
| Web interface | WITH_WEBINTERFACE | libpion-net |
| Java extensions | WITH_JPLUGINS | JRE 1.6, (JDK for compilation) |
| All of above | WITH_EVERYTHING | |
+-------------------------------+-----------------------+----------------------------------------------+
CMake may have issues finding your JDK installation. Should that happen, try exporting variables such as
JAVA_INCLUDE_PATH2, JAVA_INCLUDE_PATH and JAVA_JVM_LIB_PATH.
*** HIERARCHY ***
All shared data is stored in prefix/share/fatrat:
* lang/ - Localization files
* doc/ - Optional end-user documentaton
* data/ - Other data
* remote/ - Data for the web interface
* java/ - Data for Java extensions
* btsearch/ - Parse information for the Torrent Search
* btlinks.txt - Regular expressions that help identify .torrent links
* mirrors.txt - Mirror lists for segmented downloads mirror search
* defaults.conf - Default confguration options
* genssl.cnf - OpenSSL configuration file for one-click certificate generation
User data is stored in ~/.local/share/fatrat, except for the configuration file located in
~/.config/Dolezel/fatrat.conf
* data/ - All files stored in this directory have precedence over files stored in prefix/share/fatrat/data
Notably all installed Java extensions are stored here.
* torrents/ - .torrent file storage, needs to be purged time from time
* queues.xml - Information about all queues and transfers in FatRat
FatRat installs a single binary in prefix/bin/fatrat and creates a symlink named "fatrat-nogui", which is
really just an alias for 'fatrat --nogui'.