summaryrefslogtreecommitdiffstats
path: root/README
blob: 35f4286dd878cb3ba5652f8ba805c6eda9ba6f9a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Pica Pica  Node and Pica Pica Messenger
========================
(c) Copyright  2012 - 2019 Anton Sviridenko
anton@picapica.im

 
Pica Pica Node serves the Pica Pica distributed network. It authenticates users,
provides info about other existing nodes and online users, and routes encrypted
connections between users. Pica Pica Node is written in C.

Pica Pica Messenger is a graphical IM client written in C++ which uses the Qt toolkit.

BUILD
=========================
Run ./configure && make install to build and install pica-node and pica-client.
If you've checked out the source code from the repository, then you need to run

autoreconf --install

in order to create the configure script and install other required files. Autoconf and automake 
should be installed on your system in this case.

Dependencies:
	1) pica-node - OpenSSL libraries (libssl and libcrypto) >= 1.0.1, libevent >= 2.1,
SQLite3 library (libsqlite3) and sqlite3 command line client

	2) pica-client - OpenSSL libraries (libssl and libcrypto) >=1.0.1 and openssl command line tool,
Qt 6 libraries (QtCore, QtGui, QtWidgets, QtSql, QtNetwork), Qt 6 tools (uic and moc), pkg-config, xdg-utils (for menu
item installation). Qt 5 can be used instead by passing --with-qt=qt5 to the configure script

You can disable building of pica-node or pica-client by passing the appropriate option to the configure script:
	--disable-node
	--disable-client

pica-node:
By default, Pica Pica sources are configured to be installed in the /usr/local prefix. You can override the default
settings using --prefix=[your prefix]. If you are building .rpm, .deb or some other package, it is better to 
use the following settings:
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var

The "make install" command installs these important files for pica-node: pica-node.conf with default settings in
$(sysconfdir), nodelist.db (database with addresses of all existing nodes) in $(localstatedir)/lib/pica-node

After installation it is important to set the "announced_addr" parameter in the configuration file.

pica-client:
Alternatively, the pica-client.pro project file can be used to build pica-client bypassing autotools stuff. Open
pica-client.pro in Qt Creator IDE or use QMake to generate a Makefile

LICENSE
=========================
GPL-3.0-only

See COPYING file

BUGS
=========================
Report bugs at https://picapica.im/bugzilla/