Closed inglor closed 1 year ago
Ah, this is probably #80 , let me check, if I can fix that.
The issue was only in the test code. You can either disable building those tests using -DBUILD_LIB_TESTS=OFF
or use the commit https://github.com/Nheko-Reborn/mtxclient/commit/6daf21627c36704e28245e52ad525508ec5be51f . (Or disable LTO for those tests, which prevents the functions from being removed.)
Thank you - I ended up not using it after all for now since the tests depend on synapse server running in docker (according to docs). I'll try to revisit tests once I got the rest packaged.
Thank you - I ended up not using it after all for now since the tests depend on synapse server running in docker (according to docs). I'll try to revisit tests once I got the rest packaged.
Not all tests. We have a patch in Gentoo ::guru to disable the ones requiring a server: 0.6.0_remove_network_tests.patch.
(Some day you will just be able to use the "nonetwork" testsuite in meson... some day :D)
@deepbluev7 is there somewhere written down what's left to fully transition to meson? And interested in PRs? :)
The problem is that for ease of development we wanted to provide wraps for everything. This included curl on Windows. However, as you can see, usually we naively use a cmake subproject as a wrap instead. That doesn't work on Windows if you include Qt, since both have an xhash header and the way meson uses cmake for subprojects uses the cmake API, which does not distinguish between public and private headers. So basically we needed to write a meson.build for curl, so that we can have a wrap on Windows and I gave up halfway. The meson branch for Nheko should still be on our gitlab (nheko.im) and possibly also on github. :D
Oof! 😅 I'll check but it already looks complicated 🤣
I do already Arch work, better not burn out all the good will :p
Otherwise join us in our matrix room and I can walk you through it in detail.
Might be confusing due to my GitHub username but I'm @artafinde@fosstodon.org :) so I appreciate the comments, assistance and prompt resolution 😃
I'll get into the matrix room :)
Hello
I'm a package maintainer in Archlinux and looking to get
nheko
into the repos. Building themtxclient
usingcmake
and enabled tests fails with the below which I think is due to nlogmann_json dependency (maybe I'm wrong):Build command used:
cmake build detection log:
You can see the full log mtxclient-0.9.1-1-x86_64-build.log
Thanks for the assistance