Draft: fix(macos): create-dmg dependency issues
The PR fixes the dependency issues for MacOS DMG builds.
- The fix has been only tested for the
masterbranch - The fix may break when dependencies are updated
The PR is a step towards fixing #9713 (closed)
TODO
-
Add a flag for debug logs when running makebundle.py(helpful in debugging) -
Add conditional for x86_64 path of dependencies in gajim.specfile
How to verify
Start by building Gajim for MacOS:
./gajim-macos-helper.sh build
The build command clones a gajim-source.
And the create-dmg command uses the gajim-source/mac/gajim.spec file.
For testing the fix, cd into gajim-source and checkout to the fix branch:
cd gajim-source
git fetch https://dev.gajim.org/niyabits/gajim fix/macos-create-dmg:fix/macos-create-dmg
git checkout fix/macos-create-dmg
And then run:
./gajim-macos-helper.sh create-dmg
open gajim-source/gajim-2.4.1-41-g9cab92c1c.dmg
Edited by niya