jrincayc / ucblogo-code

Berkeley Logo interpreter
https://people.eecs.berkeley.edu/~bh/logo.html
GNU General Public License v3.0
182 stars 34 forks source link

ISSUE-158: Configure wxWidgets to avoid linking to brew installed libraries #159

Closed dmalec closed 1 year ago

dmalec commented 1 year ago

Resolves #158

Summary

On the GitHub MacOS runners, it looks like the installation of brew includes libraries which get picked up during the wxWidgets build. This creates a dependency for the UCBLogo binary on the brew installed libraries being present at runtime.

This change configures wxWidgets to use its builtin versions for libpng and libjpeg and configures it to build without libtiff entirely. In my first attempt, I configured libtiff as builtin but that triggered another link to a brew library which doesn't appear to have a builtin option :(

It is possible we can just compile all image libraries as without - willing to try that and see if there are any problems.

Testing

Ran UCBLogo and made sure things that might have image dependencies (such as printing) continued to work as expected.

Test Environments