Opened 7 years ago
Last modified 10 months ago
#4362 new task
Update and cleanup OS X libraries — at Version 4
Reported by: | fabio | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 27 |
Component: | Build & Packages | Keywords: | macOS |
Cc: | Stan, trompetin17, Krinkle, wraitii, historic_bruno | Patch: |
Description (last modified by )
Update and cleanup build-osx-libs.sh:
- update libraries to latest releases (should do for alpha22, some have security issues);
- boost system may not be needed anymore; remove it if confirmed;
- verify how to use already built libpng for wxwidgets, rather than its builtin version (no need to provide two libpng, wx one is also older).
Change History (4)
comment:2 by , 7 years ago
Keywords: | rfc patch added |
---|
comment:3 by , 7 years ago
As a sidenote: using brew libraries and hot linking seems to work but fails to compile into a binary that's self-sufficient, it'll probably take more changes. As a side-sidenote, wxwidgets 3.0.2 no longer compiles on macOs 10.12 (Sierra), you have to use 3.1.0
edit:hm actually not either, we'll have to port an upstream patch.
comment:4 by , 7 years ago
Description: | modified (diff) |
---|
Can we push that to A23 or is there an important library update that needs to be performed before packaging?
Note:
See TracTickets
for help on using tickets.
I created a branch that relies on Homebrew to download all non-bundled libs (except for gloox, as we do not use ssl and brew does).
https://github.com/wraitii/0ad/tree/OSX_libs_brew
This seems to compile on my system (10.11.6), and has the advantages of:
Now we voluntarily didn't use brew before. I'm not exactly sure why, but here are a few notes:
I don't see why we should/could not rely on it now, at least.
NB: I removed libiconv because it seemed to be only used to compile the others, but I'm not actually sure about that.