DBusKit#
DBusKit is a framework that allows you to use the D-Bus inter-process communication system, which is standard on Unix-like operating systems excluding Mac OS X.
👉 Browse the API reference
📖 Read the Manual
Install#
Download version 2.0
git clone https://github.com/gnustep/libs-dbuskit/
cd libs-dbuskit
git checkout 5d69a35357f6e32fc2e1194194e176bf48588120
cd ..
Dependencies – you must replace the libclang version with the version of Clang you installed:
sudo apt install libdbus-1-dev libdbus-1-3 libclang1-11 libclang-11-dev
Fix config.guess and config.sub:
curl -o config.guess "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD"
curl -o config.sub "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD"
export CPATH=$CPATH:/usr/lib/llvm-11/include/clang:/usr/include/dbus-1.0/dbus/:/usr/lib/arm-linux-gnueabihf/dbus-1.0/include:/usr/GNUstep/Local/Library/Headers
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/arm-linux-gnueabihf:/usr/lib/llvm-11/lib/
# Use clang
export CC=clang
export CXX=clang++
export RUNTIME_VERSION=gnustep-2.1
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
export LD=/usr/bin/ld.gold
export LDFLAGS="-fuse-ld=gold -L/usr/local/lib"
./configure
make nonstrict=yes
sudo -E make install
cd Bundles
cd DBusMenu
make
sudo -E make install
cd ../DKUserNotification
make
sudo -E make install
cd ../..
cd Examples/GlobalMenu
make
sudo -E make install
cd ../..