Matrix library for ObjFW.
Find a file
Jonathan Schleifer 28b47e985c MTXStorage: Add support for storing joined rooms
FossilOrigin-Name: 027eb0e2f8e814fdc47db7a5edc266c4988eff89bb9875e3ff99b2b8f59e3908
2020-10-09 22:08:19 +00:00
.fossil-settings Add support for storage 2020-10-03 19:47:26 +00:00
.github Add .github 2020-10-03 15:06:01 +00:00
build-aux Add buildsys 2020-10-02 23:48:23 +00:00
src MTXStorage: Add support for storing joined rooms 2020-10-09 22:08:19 +00:00
tests Initial skeleton for handling sync 2020-10-06 20:48:14 +00:00
autogen.sh Add buildsys 2020-10-02 23:48:23 +00:00
buildsys.mk.in Add buildsys 2020-10-02 23:48:23 +00:00
configure.ac Add support for storage 2020-10-03 19:47:26 +00:00
extra.mk.in Add MTXRequest, MTXClient & support for logging in 2020-10-03 14:23:04 +00:00
Makefile Add buildsys 2020-10-02 23:48:23 +00:00
ObjMatrix.oc Add support for storage 2020-10-03 19:47:26 +00:00
README.md Add support for storage 2020-10-03 19:47:26 +00:00

ObjMatrix

What is ObjMatrix?

ObjMatrix is a Matrix client library for ObjFW.

It is currently in early development stages.

How to build it?

You need ObjFW, ObjOpenSSL and ObjSQLite3 installed in order to do this.

ObjMatrix uses modern Objective-C, and hence cannot be compiled with GCC, but only with Clang. So install Clang first and ObjFW will automatically pick it up.

You can install them all like this:

$ for i in objfw objopenssl objsqlite3 objmatrix; do
      fossil clone https://fossil.nil.im/$i $i.fossil &&
      mkdir $i &&
      cd $i &&
      fossil open ../$i.fossil &&
      ./autogen.sh &&
      ./configure &&
      make &&
      sudo make install &&
      cd .. || break
  done

You might need to install your distribution's -dev packages for OpenSSL beforehand. E.g. on Ubuntu:

$ sudo apt install libssl-dev

Contributing

Just create an account on the ObjMatrix Fossil and post your patch on the forum. After a few patches, you will be granted commit access.