conda-smithy icon indicating copy to clipboard operation
conda-smithy copied to clipboard

Add support on osx to preinstall some cdt-like packages similar to what we do for yum

Open mariusvniekerk opened this issue 5 years ago • 4 comments

See the following PR

https://github.com/conda-forge/ncl-feedstock/pull/61

cc @ocefpaf

mariusvniekerk avatar Jun 17 '19 15:06 mariusvniekerk

Yes, this is good idea.

scopatz avatar Jun 17 '19 16:06 scopatz

It would be nice but as far as I know only the ncl feedstock would use something like that. Also, if we agree on the X11 CFEP (https://github.com/conda-forge/conda-forge-enhancement-proposals/pull/7, we probably won't need this.

ocefpaf avatar Jun 17 '19 16:06 ocefpaf

I'm still in favor of using our own X11 packages (as Filipe suggests).

That said, XQuartz provides an X server for packages using X11 to interact with. Unless we package it ourselves ( https://github.com/conda-forge/staged-recipes/issues/2587 ), which could realistically happen, then it's probably reasonable to install a copy in macOS images as it is solving a different problem. It's just worth noting that Apple hasn't included XQuartz in a stock OS install since macOS 10.7. So we can't expect users to have it installed. Also it hasn't seen a release since October 2016.

jakirkham avatar Jun 17 '19 16:06 jakirkham

To revive this issue, in conda-forge/ncview-feedstock@149e975f025b76c73960689159be98e5d6f593b7 we installed xquartz via homebrew by modifying .scripts/run_osx_build.sh. This is a rather annoying solution since it needs to be reapplied after every rerendering.

zklaus avatar Apr 20 '21 09:04 zklaus