Skip to content

[MacOS] Add a Mac OS helper

Codimp requested to merge codimp/gajim:macos-helper into master

Goal

Add a Bash script to help building virtual environments for nbxmpp and Gajim in Mac OS.

It also permit to less "techy" people using Mac OS to have a working version of Gajim only in 5 minutes by running 3 simple commands (the "Install Homebrew" command, ./gajim-macos-helper.sh build and ./gajim-macos-helper.sh start).

Requirements for this script

Brew and Bash, the script will install and do the rest.

Usage

The script usage is written in it, here it is:

  • Always check the versions variables (check tags dates on Gitlab to make nbxmpp and Gajim versions match)
  • Always execute this script from the directory where it is located (./gajim-macos-helper.sh)
  • To build (or rebuild) a new version of nbxmpp and Gajim: ./gajim-macos-helper.sh build
  • To start built version: ./gajim-macos-helper.sh start

Information

Bash on MacOS is stuck in version 3.2 (because of Bash licence since version 4.0), so we avoid using recent things in this script (like declaring some sort of array).

Merge request reports

Loading