TL;DR
- uninstall current GMT
- patch GMT with windbarb
- install GMT
env
- OS: Ubuntu 20.04LTS(native x86_64)
- GMT 5.4.5 -> 5.4.3 with windbarb
なお、既存の他アプリとの整合のためGMT5系が必要だった。今回は6系は試していない。
uninstall current GMT
sudo /usr/local/share/tools/gmt_uninstall.sh
patch GMT with windbarb
download GMT
tagを使って5.4.3を入手した。
download windbarb
patch
tar zxfv gmt-5.4.3.tar.gz
cd gmt-5.4.3
patch -p1 -f < ../gmt-5.4.3-windbarb.patch
cd ../
install GMT
cd gmt-5.4.3
cp cmake/ConfigUserTemplate.cmake cmake/ConfigUser.cmak
mkdir build
cd build
cmake ..
make
sudo make install