component/{firefox,phantomjs}: don't install fonts
Users will need to generate a proper fonts.conf and set it as $FONTCONFIG_FILE environment variable.
-
Owner
@romain this and !706 (merged) probably break jstestnode, but maybe it works when fonts are present system wide because it works on my testnode
-
Owner
should I install those components from the software profile?
-
Owner
No, a
$FONTCONFIG_FILE
is needed now. I will take a look if you want.I don't see how I can test this though, we could execute
runTestSuite
but I think it only works with a software distributor -
Owner
In the case of ERP5, when ERP5 runs firefox it has
$FONTCONFIG_FILE
so it works (but I only tested ERP5 on my testnode where this works)FYI, my testnode where "it works" in reality does not work ;) there was another problem. On this testnode, the partition directory is a symlink and nginx does 404 because of the
disable_symlinks
we have on https://lab.nexedi.com/nexedi/slapos/blob/e56876027e0f2cc6bc3efe4bdb6aabbf868e55a2/software/jstestnode/template-nginx.cfg.in#L92 . What I did is create /srv/slappart11/srv, then move it to /data/srv_slappart11_srv and then symlink /srv/slappart11/srv -> /data/srv_slappart11_srv . I'm not sure we should support this, this setup is really hackish. I don't plan to change to support this, that's really for your information -
Owner
!759 (merged) let's
🤞 for tests -
Owner
for test, I configured an officejs test suite on that branch, if test pass there, it's OK.
-
mentioned in merge request !762 (merged)