Installing mwptools on MacOS#
+OS requirements#
+A version of MacOS supporting homebrew
, e.g.
Apple Silicon#
+-
+
- Sequoia +
- Sonoma +
- Ventura +
X86_64#
+-
+
- Sonoma +
- Ventura +
Install HomeBrew#
+/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
+
or use the official package from the Homebrew release area.
+Dependencies#
+brew install gtk4 \
+ libshumate \
+ libsoup \
+ git \
+ meson \
+ libadwaita \
+ libsecret \
+ vala \
+ protobuf-c \
+ libpaho-mqtt \
+ gstreamer \
+ go \
+ espeak-ng \
+ vte3 \
+ adwaita-icon-theme \
+ gnuplot
+
Blueprint compiler#
+This is not in homebrew
, install locally:
git clone https://gitlab.gnome.org/jwestman/blueprint-compiler
+cd blueprint-compiler/
+meson setup _build
+sudo ninja -C _build install
+
Build mwp#
+Only local install is "supported".
+-
+
- Clone the repository +
- Checkout the development branch (for now) +
cd mwptools
+
meson setup _build --buildtype=release --strip --prefix=~/.local
+ninja -C _build install
+
One off post install#
+-
+
- It is necessary to add
$HOME/.local/bin
to$PATH
+
mwp's gsettings
does not work on MacOS (or more strictly, it does, but mwp
and gsettings
do not share storage, which is not helpful. Therefore mwp is using a ini
file backend on MacOS.
-
+
- copy the template
ini
file into the config directory +mkdir -p ~/.config/mwp/ +cp docs/mwp.ini ~/.config/mwp/ +
+ - To set settings outside of mwp, you may edit
~/.config/mwp/mwp.ini
with care as there is no error checking.
+
Other notes#
+macOS appears not measure text width in the same was a other OS. A "fudge factor" is included that works on my "Ventura" VM. The user set there own value with the environment variable `MWP_MAC_FACTOR', set to a value greater than 100. Try with values around 125.
+e.g. +
mwp MWP_MAC_FACTOR=128
+
-
+
- Reset panel sizing
rm -f ~/.config/mwp/.paned
+ - If required, add the
MWP_MAC_FACTOR
environment variable to~/.config/mwp/cmdopts
+