needed parts
- wireshark source (https://1.eu.dl.wireshark.org/osx/Wireshark%201.12.6%20Intel%2064.dmg)
- wireshark-whatsapp (https://github.com/davidgfnet/wireshark-whatsapp)
- glib / libgcrypt (via brew)
- cmake (http://www.cmake.org/files/v3.3/cmake-3.3.0-rc3-Darwin-x86_64.dmg)
Install cmake
make camke working via cli
sudo "/Applications/CMake.app/Contents/bin/cmake-gui" --install
git clone https://github.com/davidgfnet/wireshark-whatsapp.git
cd wireshark-whatsapp
mkdir build ; cd build
get the wireshark source
wget https://1.eu.dl.wireshark.org/src/wireshark-1.12.6.tar.bz2 tar zxvf wireshark-1.12.6.tar.bz2
cd wireshark-1.12.6
ln -s packaging/macosx/native-gtk/config.h . (make will not fail)
cd ..
brew install glib
brew install libgcrypt
run cmake
cmake -DWIRESHARK_INCLUDE_DIRS="/path/to/wireshark-whatsapp/wireshark-1.12.6/" .. (it should not fail exept that glib/gregex.h and glib/gchecksum.h are not found)
run make
make (failing for me atm)
make install
You also have to install pkg-config:
brew install pkg-config