Stylesheets icon indicating copy to clipboard operation
Stylesheets copied to clipboard

Packaging for Homebrew on OS X

Open adunning opened this issue 10 years ago • 4 comments

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.)

adunning avatar Sep 22 '15 05:09 adunning

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.

peterstadler avatar Sep 22 '15 07:09 peterstadler

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.

martindholmes avatar Sep 22 '15 12:09 martindholmes

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.)

adunning avatar Sep 22 '15 13:09 adunning

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).

hcayless avatar Nov 11 '15 15:11 hcayless