With --disable-mozilla, libxmlsec isn't built (see comment and code in libxmlsec/makefile.mk) -- however, the xmlsecurity component (which uses libxmlsec and requires the patched version inside libreoffice) is built anyway.
Not sure whether the right fix is to build libxmlsec in --disable-mozilla mode, or to stop building xmlsecurity...
Created attachment 40066 [details]
The fix enables building libxmlsec unconditionally. It works, but is not guaranteed to be the best thing to do.
I see the following in xmlsecurity/util/makefile.mk:
--- cut ---
.IF "$(WITH_MOZILLA)" == "NO"
@echo "No mozilla -> no nss -> no libxmlsec -> no xmlsecurity..."
--- cut ---
Unfortunately, it disables only the linking.
It seems that the right solution is to build xmlsecurity only with the mozilla stuff.
I suggest to solve it via optional build dependencies in the build.lst file. You might take inspiration in .e.g. binfilters. It means:
+ set BUILD_TYPE="$BUILD_TYPE XMLSECURITY" in bootstrap/configure.in
when the module should be built (WITH_MOZILLA = YES)
+ use XMLSECURITY:xmlsecurity in postprocess/prj/build.lst
Bernhard, could you please try to prepare and test this solution?
Anything new here?
Closing Bug due to reporter's inactivity as WFM.
RESOLVED, FIXED or CLOSED bugs cant be KEYWORD NEEDINFO.