1
1
INSTALLATION OF NUVOLA PLAYER
3
* Report bugs at https://bugs.launchpad.net/nuvola-player
4
* Ask questions at https://answers.launchpad.net/nuvola-player
5
* Discuss at https://launchpad.net/~nuvola-player-devel
9
Bellow you can see a list of minimal and required dependencies. Many of these
10
dependencies should be already available in an official repository of your
11
distribution, otherwise you can download them from their websites.
13
Nuvola Player has almost all features enabled by default, so you may have to disable
14
some of them if you cannot satisfy extra dependencies. The build script should
15
suggest you which features to turn off:
17
-----------8<---------
19
Configuration status : FAIL
21
* Unable to satisfy dependency glib-2.0 >= 2.26
22
* Feature Dock Manager support requires gio-2.0 >= 2.26 and glib-2.0 >= 2.26.
23
You can disable it by a flag --no-dock-manager.
24
* Feature MPRIS support requires gio-2.0 >= 2.26 and glib-2.0 >= 2.26.
25
You can disable it by a flag --no-mpris.
26
* Feature console client requires gio-2.0 >= 2.26 and glib-2.0 >= 2.26.
27
You can disable it by a flag --no-nuvola-client.
28
* Feature support for media keys requires gio-2.0 >= 2.26 and glib-2.0 >= 2.26.
29
You can disable it by a flag --no-media-keys.
31
-----------8<---------
35
Programs (build time):
37
gcc http://gcc.gnu.org/
38
valac >= 0.12 https://live.gnome.org/Vala
39
python2 >= 2.5 http://python.org/
40
pkg-config http://www.freedesktop.org/wiki/Software/pkg-config
41
msgfmt http://www.gnu.org/software/gettext/
42
perl http://www.perl.org/
43
intltool-merge http://ftp.gnome.org/pub/gnome/sources/intltool/
44
rsvg-convert https://live.gnome.org/LibRsvg
48
xdg-utils http://portland.freedesktop.org/xdg-utils-1.0/
50
Libraries (and their C header files in build time):
52
gee-1.0 >=0.5 https://live.gnome.org/Libgee/
53
x11 >= 0.5 http://www.x.org/wiki/
54
gtk+-2.0 >= 2.20.0 http://www.gtk.org/
55
gdk-2.0 >= 2.20.0 http://www.gtk.org/
56
libsoup-2.4 >= 2.30 https://live.gnome.org/LibSoup
57
unique-1.0 >= 0.9 https://live.gnome.org/LibUnique/
58
webkit-1.0 >= 1.0, < 1.7 http://webkitgtk.org/
59
glib-2.0 >= 2.22 http://www.gtk.org/
60
gio-2.0 >= 2.22 http://www.gtk.org/
65
Programs (build time):
67
scour http://codedread.com/scour/
71
tsocks http://tsocks.sourceforge.net/
73
Libraries (and their C header files in build time):
75
gee-1.0 >= 0.6 https://live.gnome.org/Libgee/
76
libnotify >= 0.4 http://ftp.gnome.org/pub/GNOME/sources/libnotify/
77
libsoup-2.4 >= 2.34 https://live.gnome.org/LibSoup
78
json-glib-1.0 >= 0.7 https://live.gnome.org/JsonGlib/
79
unity >= 3.0 https://launchpad.net/libunity
80
dbusmenu-glib-0.4 >= 0.4 https://launchpad.net/dbusmenu
81
webkit-1.0 >= 1.5, < 1.7 http://webkitgtk.org/
82
javascriptcoregtk-1.0 >= 1.5 http://webkitgtk.org/
83
glib-2.0 >= 2.26 http://www.gtk.org/
84
gio-2.0 >= 2.26 http://www.gtk.org/
86
=== Configure build process ===
88
Run command `python2 ./waf configure [OPTIONS]` to configure the build process.
92
* to change installation prefix:
94
`python2 ./waf configure --prefix=/usr`
96
* to disable some features if you cannot satisfy some extra dependencies:
98
`python2 ./waf configure --no-unity-quick-list`
100
* to read build script help:
102
`python2 ./waf --help`
104
=== Trigger the build process ===
106
Run command `python2 ./waf build` to build Nuvola Player
108
=== Trigger installation ===
110
Run command `python2 ./waf install` as root to install Nuvola Player.
112
=== Stable vs Unstable builds ===
114
Stable build are build without debug symbols by default:
116
$ ./waf configure --no-debug-symbols build && ls -l build/nuvola*
118
'build' finished successfully (0.035s)
119
-rwxrwxr-x 1 fenryxo fenryxo 645083 2012-07-01 18:58 build/nuvolaplayer*
120
-rwxrwxr-x 1 fenryxo fenryxo 44010 2012-07-01 18:58 build/nuvolaplayer-client*
122
Unstable builds contains debugging symbols by default, so they can have bigger
123
memory usage and may run slower:
125
$ ./waf configure --debug-symbols build && ls -l build/nuvola*
127
'build' finished successfully (5.998s)
128
-rwxrwxr-x 1 fenryxo fenryxo 15150710 2012-07-01 19:03 build/nuvolaplayer
129
-rwxrwxr-x 1 fenryxo fenryxo 297170 2012-07-01 19:02 build/nuvolaplayer-client
131
=== Clean build environment ===
133
When the build fails, try to clean the build environment:
135
$ python2 ./waf distclean configure build