Fork of libstrophe (https://github.com/strophe/libstrophe) for use with Profanity XMPP Client
C Makefile Other
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
examples
jni
src
tests
.gitignore
.travis.yml
AUTHORS
COPYING
ChangeLog
Doxyfile
GPL-LICENSE.txt
LICENSE.txt
MIT-LICENSE.txt
Makefile.am
NEWS
README
README.markdown
TODO
bootstrap.sh
build-android.sh
configure-debug
configure.ac
libmesode.pc.in
mesode.h

README.markdown

libmesode

libmesode is a fork of libstrophe (http://strophe.im/libstrophe/) for use in Profanity (http://www.profanity.im/).

Reasons for forking:

  • Remove Windows support
  • Support only one XML Parser implementation (expat)
  • Support only one SSL implementation (OpenSSL)

This simplifies maintenance of the library when used in Profanity.

Whilst Profanity will run against libstrophe, libmesode provides extra TLS functionality such as manual SSL certificate verification.

Build Instructions

If you are building from a source control checkout, run:

./bootstrap.sh

to generate the configure script.

From the top-level directory, run the following commands:

./configure
make

The public API is defined in mesode.h which is in the top-level directory.

The examples directory contains some examples of how to use the library; these may be helpful in addition to the API documentation

To install on your system, as root (or using sudo):

make install

Note, the default install path is /usr/local/, to specify another path use the --prefix option during configure, e.g.:

./configure --prefix=/usr