Packaging for Homebrew on OS X
I would like to have a Homebrew formula to package the stylesheets for OS X. I am running into problems because (unless I'm misunderstanding) the makefile requires Oxygen to be installed; it won't be possible to rely on this in OS X, since there isn't a standard location for it. Is there any straightforward way around this?
(As a suggestion, it would make the download much smaller if it could depend on external copies of Saxon and Trang rather than including its own.)
AFAIK, the Makefile is not needed (any more) for most operations (as is the dependency on oXygen).
For all supported transformations you will find a folder (under Stylesheets-root) with a respective ANT build file. E.g. relaxng/build-to.xml will output a RelaxNG schema in XML syntax for an input ODD.
IIRC, some operations do depend on having Oxygen available; I think some documentation processing some Oxygen code. We should look at this, though; if it's no longer the case, we can leave that out of the Jenkins build recipe.
It looks to me as it's being used to process the documentation, and some operations use its copy of Saxon-EE.
(And to clarify, what I'm wanting to achieve here is to have the TEI stylesheets easily accessible via the command line. I'd love to be able to be able to run these anywhere and integrate them more easily into scripts.)
I think this wouldn't be super hard, and it would be cool to have. I think we'd have to make an installer specifically for the Mac though. The Makefile doesn't seem to do the right thing (at least for me).