While trying to build seafile-server from source (to package it for NixOS), I discovered that the build instructions are seriously outdated.
I’ve managed building the seafile C code parts successfully using the normal autotools workflow, but am struggling to create a directory structure like the one in the pre-built packages including the scripts as
setup-seafile-mysql.sh. The old build instructions above still mention the
seafile-admin script, which is abandoned and still python2.
A quick search through the sources indicates that
seafile-server/scripts/build/build-server.py plays an important role in creating the required structure. But how and when do I use it?
Once I manage to build and package seafile-server-8.0.1 properly, I am willing to update the build instructions, but until then I need your advice.