Created attachment 208470 [details]
The current make config options of net-im/profanity do not allow to build with OMEMO enabled. According to the original source code it can be enabled:
As I needed OMEMO support I did the following:
1.) I added "--enable-omemo" to CONFIGURE_ARGS of /usr/ports/net-im/profanity/Makefile
2.) As configure complained about missing libsignal I installed port net/libsignal and rebuilt profanity.
With these two steps net-im/profanity could be built with OMEMO enabled. According to my tests OMEMO support works as expected.
Please find the patch for the Makefile attached.
This doesn't build, see:
Looks like net/libsignal does not build under FreeBSD 12.0-RELEASE-p10 amd64.
I have built under FreeBSD 11.3-RELEASE-p4 and net/libsignal-2.3.2.
Thus OMEMO works reliably in chats and multi-user-chats.
I strongly suppose for automatically build required net/libsignal the Makefile needs an additional patch, e.g. something under LIB_DEPENDS= like:
Unfortunately, my knowledge of Makefiles is rather limited. The port maintainer, arved@FreeBSD.org, will know this for sure.
If net/libsignal is built manually before net-im/profanity should build under FreeBSD 12.0-RELEASE-p10 amd64 as well.
Created attachment 208980 [details]
patch seems to work
@Tilman: Thanks for putting the bricks together in clean Makefile patch. I suppose OMEMO will now be enabled by default and cannot be disabled by "make config". For me this totally fine.
committed my patch. Thanks for reporting
A commit references this bug:
Date: Mon Nov 11 17:30:17 UTC 2019
New revision: 517269
Enable OMEMO support
Reported by: firstname.lastname@example.org