blob: 096fea5cd66ad4764fc5824c6cb8bb264f06cb11 [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 Salenikovich137376c2015-04-15 14:25:43 -04009Packages for Debian/Ubuntu/Fedora can be found on http://ring.cx
10
11More info about the Ring project or this client can be found on their respective wiki pages:
12- https://projects.savoirfairelinux.com/projects/ring/wiki
13- https://projects.savoirfairelinux.com/projects/ring-gnome-client/wiki
14
Stepan Salenikovich4e740b62015-03-13 14:06:49 -040015
Stepan Salenikoviche3500cb2015-02-13 15:55:46 -050016Requirements
17==================
18
19- Ring daemon
Stepan Salenikovich137376c2015-04-15 14:25:43 -040020- libRingClient
Stepan Salenikoviche3500cb2015-02-13 15:55:46 -050021- GTK+3 (3.10 or higher)
22- Qt5 Core
Stepan Salenikovich137376c2015-04-15 14:25:43 -040023- X11
24- gnome-icon-theme-symbolic (certain icons are used which other themes might be missing)
25- libebook1.2 / evolution-data-server (3.10 or higher)
Stepan Salenikovich19a251e2015-06-10 15:01:37 -040026- libnotify (optional, if you wish to receive desktop notifications of incoming calls, etc)
Stepan Salenikovichb8fa9432015-09-17 11:22:38 -040027- gettext (optional to compile translations)
Stepan Salenikovich137376c2015-04-15 14:25:43 -040028
29On Debian/Ubuntu these can be installed by:
Stepan Salenikovichb8fa9432015-09-17 11:22:38 -040030 sudo apt-get install g++ cmake libgtk-3-dev qtbase5-dev libclutter-gtk-1.0-dev gnome-icon-theme-symbolic libebook1.2-dev libnotify-dev gettext
Stepan Salenikovich137376c2015-04-15 14:25:43 -040031
32On Fedora:
Stepan Salenikovichb8fa9432015-09-17 11:22:38 -040033 yum install gcc-c++ cmake gtk3-devel qt5-qtbase-devel clutter-gtk-devel gnome-icon-theme-symbolic evolution-data-server-devel libnotify-devel gettext
Stepan Salenikovich137376c2015-04-15 14:25:43 -040034
35The build instruction for the daemon and libRingClient can be found on their respective wiki pages:
36- https://projects.savoirfairelinux.com/projects/ring-daemon/wiki
37- https://projects.savoirfairelinux.com/projects/libringclient/wiki/Wiki
Stepan Salenikoviche3500cb2015-02-13 15:55:46 -050038
Stepan Salenikovich4e740b62015-03-13 14:06:49 -040039
Stepan Salenikoviche3500cb2015-02-13 15:55:46 -050040Compiling
41==================
42
43In the project root dir:
Stepan Salenikovich137376c2015-04-15 14:25:43 -040044 mkdir build
45 cd build
46 cmake ..
47 make
Stepan Salenikoviche3500cb2015-02-13 15:55:46 -050048
Stepan Salenikovich19a251e2015-06-10 15:01:37 -040049You can then simply run ./gnome-ring from the build directory
50
51Installing
52==================
53
54If you're building the client for use (rather than testing of packaging), it is
55recommended that you install it on your system, eg: in '/usr', '/usr/local', or
56'/opt', depending on your distro's preference to get full functionality such as
57desktop integration. In this case you should perform a 'make install' after
58building the client.
Stepan Salenikovich4e740b62015-03-13 14:06:49 -040059
60
61Building without installing Ring daemon and libRingClient
62==================
63
64It is possible to build ring-client-gnome without installing the deamon and
65libRingClient on your system (eg: in /usr or /usr/local):
66
671. build the daemon
682. when building libRingClient, specify the location of the daemon lib in the
69 cmake options with -DRING_BUILD_DIR=, eg:
70 -DRING_BUILD_DIR=/home/user/ring/daemon/src
713. to get the proper headers, we still need to 'make install' libRingClient, but
72 we don't have to install it in /usr, so just specify another location for the
73 install prefix in the cmake options, eg:
74 -DCMAKE_INSTALL_PREFIX=/home/user/ringinstall
754. now compile libRingClient and do 'make install', everything will be installed
76 in the dir specified by the prefix
Stepan Salenikovichb8fa9432015-09-17 11:22:38 -0400774. now we just have to point the client to the libRingClient cmake module during
78 the configuration:
79 -DLibRingClient_DIR=/home/user/ringinstall/lib/cmake/LibRingClient
Stepan Salenikovich4e740b62015-03-13 14:06:49 -040080
81
82Debugging
83==================
84
85For now, the build type of the client is "Debug" by default, however it is
86useful to also have the debug symbols of libRingClient. To do this, specify this
87when compiling libRingClient with '-DCMAKE_BUILD_TYPE=Debug' in the cmake
Stepan Salenikovich137376c2015-04-15 14:25:43 -040088options.