{"id":19079296,"url":"https://github.com/covesa/capicxx-dbus-runtime","last_synced_at":"2025-04-14T23:32:25.141Z","repository":{"id":105098801,"uuid":"59298149","full_name":"COVESA/capicxx-dbus-runtime","owner":"COVESA","description":"Common API C++ dbus runtime","archived":false,"fork":false,"pushed_at":"2024-05-21T09:32:24.000Z","size":1481,"stargazers_count":18,"open_issues_count":8,"forks_count":36,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-03-28T11:38:35.739Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/COVESA.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-20T13:50:45.000Z","updated_at":"2025-03-16T15:59:39.000Z","dependencies_parsed_at":"2023-11-13T09:47:46.182Z","dependency_job_id":null,"html_url":"https://github.com/COVESA/capicxx-dbus-runtime","commit_stats":null,"previous_names":[],"tags_count":56,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/COVESA%2Fcapicxx-dbus-runtime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/COVESA%2Fcapicxx-dbus-runtime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/COVESA%2Fcapicxx-dbus-runtime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/COVESA%2Fcapicxx-dbus-runtime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/COVESA","download_url":"https://codeload.github.com/COVESA/capicxx-dbus-runtime/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248978587,"owners_count":21192817,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T02:14:12.567Z","updated_at":"2025-04-14T23:32:25.124Z","avatar_url":"https://github.com/COVESA.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"### CommonAPI C++ D-Bus Runtime\n\n##### Copyright\nCopyright (C) 2016-2023, Bayerische Motoren Werke Aktiengesellschaft (BMW AG).\nCopyright (C) 2016-2023, COVESA\n\nThis file is part of COVESA Project IPC Common API C++.\nContributions are licensed to the COVESA under one or more Contribution License Agreements or MPL 2.0.\n\n##### License\nThis Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, you can obtain one at http://mozilla.org/MPL/2.0/.\n\n##### CommonAPI D-Bus C++ User Guide\nThe user guide can be found in the documentation directory of the CommonAPI-D-Bus-Tools project as AsciiDoc document. A pdf version can be found at https://github.com/GENIVI/capicxx-dbus-tools/releases.\n\n##### Further information\nhttps://covesa.github.io/capicxx-core-tools/\n\n##### Build Instructions for Linux\n\n###### Patching libdbus\n\nCommonAPI-D-Bus needs some api functions of libdbus which are not available in actual libdbus versions. For these additional api functions it is necessary to patch the required libdbus version with all the patches in the directory src/dbus-patches. Use autotools to build libdbus.\n\n```bash\n$ wget http://dbus.freedesktop.org/releases/dbus/dbus-\u003cVERSION\u003e.tar.gz\n$ tar -xzf dbus-\u003cVERSION\u003e.tar.gz\n$ cd dbus-\u003cVERSION\u003e\n$ patch -p1 \u003c \u003c/path/to/CommonAPI-D-Bus/src/dbus-patches/patch-names\u003e.patch \n$ ./configure --prefix=\u003c/path to your preferred installation folder for patched libdbus\u003e\n$ make -C dbus \n$ make -C dbus install\n$ make install-pkgconfigDATA\n```\n\nYou can change the installation directory by the prefix option or you can let it uninstalled (skip the _make install_ commands).\nWARNING: Installing the patched libdbus to /usr/local can prevent your system from booting correctly at the next reboot.\n\n###### Build CommonAPI-D-Bus Runtime\n\nIn order to build the CommonAPI-D-Bus Runtime library the pkgconfig files of the patched libdbus library must be added to the _PKG_CONFIG_PATH_.\n\nFor example, if the patched _libdbus_ library is available in /usr/local, set the _PKG_CONFIG_PATH_ variable as follows:\n\n```bash\n$ export PKG_CONFIG_PATH=\"/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH\" \n```\n\nNow use CMake to build the CommonAPI D-Bus runtime library. We assume that your source directory is _common-api-dbus-runtime_:\n\n```bash\n$ cd common-api-dbus-runtime\n$ mkdir build\n$ cd build\n$ cmake -D USE_INSTALLED_COMMONAPI=ON -D CMAKE_INSTALL_PREFIX=/usr/local ..\n$ make\n$ make install\n```\n\nYou can change the installation directory by the CMake variable _CMAKE_INSTALL_PREFIX_ or you can let it uninstalled (skip the _make install_ command). If you want to use the uninstalled version of CommonAPI set the CMake variable _USE_INSTALLED_COMMONAPI_ to _OFF_.\n\nFor further build instructions (build for windows, build documentation, tests etc.) please refer to the CommonAPI D-Bus tutorial.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcovesa%2Fcapicxx-dbus-runtime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcovesa%2Fcapicxx-dbus-runtime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcovesa%2Fcapicxx-dbus-runtime/lists"}