2
# Copyright (C) 2013 Canonical Ltd
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.
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.
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/>.
17
Compile-time build dependencies
18
-------------------------------
19
- gettext (gettext 0.18.1.1-10ubuntu3 or later)
20
- glib (libglib2.0, 2.35.4 or later)
21
- cmake (cmake, 2.8.9 or later)
22
- gcovr (gcovr, 2.4 or later)
23
- lcov (lcov, 1.9 or later)
24
- google test (libgtest-dev, 1.6.0 or later)
27
Runtime DBus dependencies
28
-------------------------
29
- com.canonical.indicators.webcredentials
30
- org.freedesktop.Accounts
31
- org.freedesktop.Accounts.User
32
- org.freedesktop.DisplayManager.Seat
33
- org.freedesktop.login1.Manager
34
- org.freedesktop.login1.Seat
35
- org.freedesktop.login1.User
36
- org.gnome.ScreenSaver
37
- org.gnome.SessionManager
38
- org.gnome.SessionManager.EndSessionDialog
43
$ cd indicator-session-X.Y.Z
51
$ cd indicator-session-X.Y.Z
59
Generating Test Coverage Reports
60
--------------------------------
61
$ cd indicator-session-X.Y.Z
62
$ mkdir build-coverage
64
$ cmake -DCMAKE_BUILD_TYPE=coverage ..
72
LC_ALL=C /usr/bin/intltool-merge -x -u --no-translations com.canonical.indicator.session.gschema.xml.in com.canonical.indicator.session.gschema.xml
78
To get files that form part of an installation, run a "make install"
79
in the build directory. By default, this installs them in the "install"
80
subdirectory of the build directory. If you want to install into a
81
different directory, use
83
$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local # Or wherever...