[MacOS] Add ci mode to build and create dmg file
Goal
Add a new "CI mode" to build and create .dmg file using system side dependencies.
It's the only way we found to make a "cleaner" .dmg build and add a minimum of changes in the gajim.spec file.
Thanks a lot to @niyabits for her tests, debugs and solutions!
What this PR do
- In
gajim-macos-helper.shscript:- Use the
masterbranch ofgajimandnbxmppby default - Add CI mode to build and create
.dmgfile - Add the
CI_BUILDvariable - Move python dependencies in a variable at the top of the file
- Use the
- In
gajim.specfile:- Add
hidden_libsvariable to addlibsoupandlibgtksourceview - Define the good Homebrew library path according to system arch
- Use a glob to select the longest path to find hidden libraries and add them in our dmg bundle (without specifying the version number, so it will work on all MacOS and even after upgrade of this libs we hope)
- Use a glob to collect GI repository typelib files
- Ignore
PIL._imagingftto avoid adding wrong non-system versions of dependencies libs ofPIL._imagingft
- Add
- In
README.md:- Explain the new CI mode
Information
- Fix #9713 (closed)
Edited by Codimp