ObjMatrix/README.md
Jonathan Schleifer 0c583033f0 README.md: Mention that this needs Clang
FossilOrigin-Name: c2d568993445b2513193bd06c1c625b74c97bc0e4f3c5cdf4a6db57e9cd66892
2020-10-03 14:48:27 +00:00

1.2 KiB

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 and ObjOpenSSL 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 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.