forked from eLvErDe/museek-plus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
executable file
·90 lines (75 loc) · 2.98 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
Requirements:
libxml++2.6-dev or libxml++1.0-dev
libevent >= 1.3e
GCC
Python (by Python bindings)
pyexpat (for musetup)
CMake >= 2.8.3 (for building)
QT >= 5 for museeq
Optional:
libvorbis-dev
libogg-dev
SWIG (for the mucipher Python bindings)
Get binaries and help for Museek+ there:
http://www.museek-plus.org
-----------------------
I - Install using CMake
-----------------------
CMake is the recommended way to build everything
I.1 - DECLARATIONS (prefix with -D, set bool options on with 1; off with 0):
----------------------------------------------------------------------------
To customize the installation location, different variables can be set. For an exhaustive list please see the GNUInstallDirs module documentation which is part of cmake.
Examples:
CMAKE_INSTALL_PREFIX: Where museek+ should be installed (default is /usr/local)
CMAKE_INSTALL_MANDIR: Where man files should be installed (default is share/man)
CMAKE_INSTALL_DATADIR: Where data files should be installed (default is share). Museek will put it's data in a museek/ subfolder relative to this.
Relative paths are appended to CMAKE_INSTALL_PREFIX. Absolute paths are also possible.
EVERYTHING: Install every components of museek+ (daemon, clients, bindings, etc.) (default 0)
MUSEEKD: Build museekd soulseek daemon (default 1)
MUSETUP: Build musetup configuration interface for museekd (default 1)
MUSEEQ: Build museeq Qt client (default 1)
MUSCAN: Build muscan shared file index generator (default 1)
MUCOUS: Build mucous curses client (default 0)
MURMUR: Build murmur PyGTK client (default 0)
PYMUCIPHER: Generate PyMucipher bindings (default 0)
PYTHON_BINDINGS: Generate python bindings (default 0)
PYTHON_CLIENTS: Build python clients (mulog, museekchat, museekcontrol, musirc) (default 0)
Museeq options:
BINRELOC: Use binary relocation
RELOAD_TRANSLATIONS: Update .ts files in src/museeq/translations
I.2 - Commands
--------------
# cd /path/to/src
# mkdir build/
# cd build/
# cmake -CMAKE_INSTALL_DPREFIX=/usr ..
# (or) cmake -DEVERYTHING=1 -DCMAKE_INSTALL_PREFIX=/usr ..
# (or) cmake -DMUCOUS=1 -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_INSTALL_MANDIR=/usr/share/man ..
# make
# (or) make VERBOSE=1
# make install
----------------------------------------------------
II - Distutils (Python's built-in installation tool)
----------------------------------------------------
distutils doesn't provide for uninstalls, so be cautious with it.
Enter a directory and issue these commands
# python setup.py build
# python setup.py install
# (or) python setup.py install --prefix=/usr/local
---------------
PyMucipher (requires SWIG, Python)
# cd Mucipher/PyMucipher/
...............
Python Bindings
# cd python-bindings/
...............
Python Clients (mulog, museekchat, museekcontrol, musirc.py)
Requires: PyMucipher or PyCrypto, Python Bindings
# cd python-clients/
...............
Setup tools (musetup, musetup-gtk, musetup-qt)
# cd setup/
...............
Mucous
Requires: PyMucipher or PyCrypto, Python Bindings
# cd mucous/