~charlesk/indicator-datetime/lp-1424966-fix-ecanceled-errno-rtm-14.09

« back to all changes in this revision

Viewing changes to INSTALL

  • Committer: Charles Kerr
  • Date: 2013-10-29 16:50:36 UTC
  • mto: This revision was merged to the branch mainline in revision 281.
  • Revision ID: charles.kerr@canonical.com-20131029165036-pyw8pmyey75ehj9l
remove the panel FIXME comments in data/CMakeLists.txt b/c the .ui and .desktop files are being installed now

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Copyright (C) 2013 Canonical Ltd
 
3
#
 
4
# This program is free software: you can redistribute it and/or modify
 
5
# it under the terms of the GNU General Public License version 3 as
 
6
# published by the Free Software Foundation.
 
7
#
 
8
# This program is distributed in the hope that it will be useful,
 
9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11
# GNU General Public License for more details.
 
12
#
 
13
# You should have received a copy of the GNU General Public License
 
14
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
15
#
 
16
 
 
17
BUILD DEPENDENCIES
 
18
==================
 
19
 
 
20
build dependencies for indicator-datetime-service
 
21
 * glib-2.0 >= 2.36
 
22
 * gio-unix-2.0 >= 2.36
 
23
 * geoclue >= 0.12
 
24
 * libical >= 0.48
 
25
 * libecal-1.2 >= 3.5
 
26
 * libedataserver-1.2 >= 3.5
 
27
 * libnotify >= 0.7.6
 
28
 * url-dispatcher-1 >= 1
 
29
 * json-glib-1.0 >= 0.16.2
 
30
 
 
31
 
 
32
Additional build dependencies for the gnome-control-center panel:
 
33
 * gtk+-3.0>=3.1.4
 
34
 * timezonemap
 
35
 * libgnome-control-center
 
36
 * polkit-gobject-1
 
37
 
 
38
Build dependencies for testing / code coverage:
 
39
 * gcovr (gcovr, 2.4 or later)
 
40
 * lcov (lcov, 1.9 or later)
 
41
 * google test (libgtest-dev, 1.6.0 or later)
 
42
 * cppcheck (cppcheck)
 
43
 
 
44
 
 
45
Building the code
 
46
-----------------
 
47
 1. $ cd indicator-datetime-X.Y.Z
 
48
 2. $ mkdir build
 
49
 3. $ cd build
 
50
 4. $ cmake ..
 
51
    or
 
52
    $ cmake -DCMAKE_INSTALL_PREFIX=/your/install/prefix/here ..
 
53
    or
 
54
    $ cmake -GNinja ..
 
55
 5. $ make
 
56
 
 
57
Running the tests
 
58
-----------------
 
59
 1. $ cd indicator-datetime-X.Y.Z
 
60
 2. $ mkdir build
 
61
 3. $ cd build
 
62
 4. $ cmake ..
 
63
 5. $ make
 
64
 6. $ make test
 
65
 7. $ make cppcheck
 
66
 
 
67
Generating Test Coverage Reports
 
68
--------------------------------
 
69
 1. $ cd indicator-datetime-X.Y.Z
 
70
 2. $ mkdir build-coverage
 
71
 3. $ cd build-coverage
 
72
 4. $ cmake -DCMAKE_BUILD_TYPE=coverage ..
 
73
 5. $ make
 
74
 6. $ make coverage-html
 
75