sdbus-c++-2.1.0

Introduction to sdbus-c++

The sdbus-c++ package provides a C++ API for D-Bus.

sdbus-c++ Dependencies

Required

CMake and D-Bus

Recommended

Installation of sdbus-c++

Install sdbus-c++ by running the following commands:

mkdir build &&
cd    build &&

cmake -D CMAKE_INSTALL_PREFIX=/usr   \
      -D CMAKE_BUILD_TYPE=Release    \
      -D CMAKE_SKIP_INSTALL_RPATH=ON \
      -G Ninja .. &&

ninja

Now, as the root user:

ninja install &&
mv -v /usr/share/doc/sdbus-c++{,-2.1.0}

Command Explanations

-D CMAKE_SKIP_INSTALL_RPATH=ON: Denne bryteren gjør at cmake fjerner hardkodede biblioteksøk stier (rpath) når du installerer en binær kjørbar fil eller et delt bibliotek. Denne pakken trenger ikke rpath når den er installert på standard plassering, og rpath kan noen ganger forårsake uønskede effekter eller til og med sikkerhetsproblemer.

mv -v /usr/share/doc/sdbus-c++{,-2.1.0}: This command makes the docs numbered and consistent with every other packages in the docs.

Contents

Installed Programs: None
Installed Libraries: libsdbus-c++
Installed Directories: /usr/include/sdbus-c++, /usr/lib/cmake/sdbus-c++, and /usr/share/doc/sdbus-c++-2.1.0

Short Descriptions

libsdbus-c++

provides API functions for D-Bus in C++