blob: 1aaab2b664cf5e597a5202d058a6dca5c4e049be [file] [log] [blame]
Stepan Salenikoviche3500cb2015-02-13 15:55:46 -05001ring-client-gnome
2*****************
3
4Ring-client-gnome is a Ring client written in GTK+3. It uses libRingClient to
5communicate with the Ring daemon and for all of the underlying models and their
6logic. Ideally ring-client-gnome should only contain UI related code and any
7wrappers necessary for interacting with libRingClient.
8
Stepan Salenikovich4e740b62015-03-13 14:06:49 -04009
Stepan Salenikoviche3500cb2015-02-13 15:55:46 -050010Requirements
11==================
12
13- Ring daemon
14- libRingClient (Qt5 version)
15- GTK+3 (3.10 or higher)
16- Qt5 Core
17
Stepan Salenikovich4e740b62015-03-13 14:06:49 -040018
Stepan Salenikoviche3500cb2015-02-13 15:55:46 -050019Compiling
20==================
21
22In the project root dir:
23 mkdir build
24 cd build
25 cmake ..
26 make
27
28Then simply run ./ring-client-gnome
Stepan Salenikovich4e740b62015-03-13 14:06:49 -040029
30
31Building without installing Ring daemon and libRingClient
32==================
33
34It is possible to build ring-client-gnome without installing the deamon and
35libRingClient on your system (eg: in /usr or /usr/local):
36
371. build the daemon
382. when building libRingClient, specify the location of the daemon lib in the
39 cmake options with -DRING_BUILD_DIR=, eg:
40 -DRING_BUILD_DIR=/home/user/ring/daemon/src
413. to get the proper headers, we still need to 'make install' libRingClient, but
42 we don't have to install it in /usr, so just specify another location for the
43 install prefix in the cmake options, eg:
44 -DCMAKE_INSTALL_PREFIX=/home/user/ringinstall
454. now compile libRingClient and do 'make install', everything will be installed
46 in the dir specified by the prefix
474. now we just have to give the same install prefix to the cmake options of the
48 client and it will find libRingClient:
49 -DCMAKE_INSTALL_PREFIX=/home/user/ringinstall
50
51
52Debugging
53==================
54
55For now, the build type of the client is "Debug" by default, however it is
56useful to also have the debug symbols of libRingClient. To do this, specify this
57when compiling libRingClient with '-DCMAKE_BUILD_TYPE=Debug' in the cmake
58options.