0
|
1 |
|
15
|
2 |
# Uptime tracking for MCabber |
0
|
3 |
|
15
|
4 |
This is a mcabber module to track mcabber uptime. To do so you need |
|
5 |
either to have '/proc/self/stat', '/proc/uptime' and 'sysconf()' |
|
6 |
(probably, linux-specific) or load it at mcabber initialization time. |
|
7 |
|
|
8 |
To use first variant, set the 'uptime_use_proc' option. |
|
9 |
|
|
10 |
# Installation |
0
|
11 |
|
|
12 |
To install it, you need: |
|
13 |
|
15
|
14 |
* mcabber headers |
|
15 |
* glib |
|
16 |
* cmake |
|
17 |
* make |
|
18 |
* c compiler (gcc) |
|
19 |
* linker (binutils) |
|
20 |
|
|
21 |
Then do: |
0
|
22 |
|
15
|
23 |
$ mkdir build |
|
24 |
$ cd build |
|
25 |
$ cmake .. |
|
26 |
$ make edit_cache |
|
27 |
$ make |
|
28 |
# make install |
0
|
29 |
|
15
|
30 |
Debian users can instead of make install do: |
0
|
31 |
|
15
|
32 |
$ make package |
|
33 |
# dpkg -i libmcabber-uptime_*.deb |
|
34 |
|
|
35 |
Users of other distributions can select appropriate package generator, |
|
36 |
using cache editor. |
0
|
37 |
|
15
|
38 |
# License |
0
|
39 |
|
15
|
40 |
This code underlies terms of GNU GPL v2 or later. You can find it in |
|
41 |
file COPYING from this distribution or on a GNU web-site |
|
42 |
<http://www.gnu.org/licenses/>. |
|
43 |
|
|
44 |
# Contact |
0
|
45 |
|
|
46 |
I will be happy to get feedback, patches, suggestions, etc. |
|
47 |
You can send me email or contact via jabber <isbear@unixzone.org.ua>. |
|
48 |
|
|
49 |
-- Myhailo Danylenko <isbear@ukrpost.net> |