Hi, thanks for the answer https://www.freedesktop.org/wiki/Software/DBusBindings/ As you can, read in the cpp binding section they are many dbus binding. And they are différents code base. I will move the définition to glib.scm. Le lun. 19 oct. 2020 à 16:33, Miguel Ángel Arruga Vivas < rosen644835@gmail.com> a écrit : > Hi Arthur, > > Thank you very much for your patch. Nonetheless, there is already a > package named dbus-c++ and that can be found in gnu/packages/glib.scm > and the description fits almost exactly this one, but it's being used > currently only by libring (Jami). Even if they are different projects > (dbus-c++ and dbus-cxx), they should belong together in the source code > (gnu/packages/glib.scm). > > Could you confirm that they are different code bases, and also move that > definition there for the patch if that's the case? > > Happy hacking! > Miguel > > tiregram arthur writes: > > >>From c3804aca21c496e66e44ba48fd150501154dfb6d Mon Sep 17 00:00:00 2001 > > From: ruhtra > > Date: Thu, 15 Oct 2020 18:58:46 +0200 > > Subject: [PATCH] to add dbus-cxx package add gnu/packages/dbus-cxx.scm > > > > --- > > gnu/packages/dbus-cxx.scm | 52 +++++++++++++++++++++++++++++++++++++++ > > 1 file changed, 52 insertions(+) > > create mode 100644 gnu/packages/dbus-cxx.scm > > > > diff --git a/gnu/packages/dbus-cxx.scm b/gnu/packages/dbus-cxx.scm > > new file mode 100644 > > index 0000000000..4ec08fb4ac > > --- /dev/null > > +++ b/gnu/packages/dbus-cxx.scm > > @@ -0,0 +1,52 @@ > > +;;; Copyright © 2020 Arthur Margerit > > +;;; > > +;;; This file is part of GNU Guix. > > +;;; > > +;;; GNU Guix is free software; you can redistribute it and/or modify it > > +;;; under the terms of the GNU General Public License as published by > > +;;; the Free Software Foundation; either version 3 of the License, or > (at > > +;;; your option) any later version. > > +;;; > > +;;; GNU Guix is distributed in the hope that it will be useful, but > > +;;; WITHOUT ANY WARRANTY; without even the implied warranty of > > +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > +;;; GNU General Public License for more details. > > +;;; > > +;;; You should have received a copy of the GNU General Public License > > +;;; along with GNU Guix. If not, see . > > + > > +(define-module (gnu packages dbus-cxx) > > + #:use-module (guix packages) > > + #:use-module (guix git-download) > > + #:use-module (guix build-system cmake) > > + #:use-module (guix licenses) > > + #:use-module (gnu packages pkg-config) > > + #:use-module (gnu packages m4) > > + #:use-module ((gnu packages glib) #:select (dbus libsigc++))) > > + > > +(define-public dbus-cxx > > + (package > > + (name "dbus-cxx") > > + (version "0.12.0") > > + (source (origin > > + (file-name (git-file-name name version)) > > + (method git-fetch) > > + (uri (git-reference > > + (url "https://github.com/dbus-cxx/dbus-cxx") > > + (commit > "ea7f8e361d11dc7d41d9ae2c4128aed2cdadd84e"))) > > + (sha256 > > + (base32 > > + > "1sa448icfvl08rnik0lnk4scmkwhfyd3mrxh36jh8x7xndp90khp")))) > > + (build-system cmake-build-system) > > + (arguments > > + `(#:tests? #f)) > > + (inputs `(("dbus-glib", dbus) ("libsigc++", libsigc++))) > > + (native-inputs `(("pkg-config", pkg-config) ("m4", m4))) > > + (synopsis "C++ wrapper for dbus") > > + (description "Dbus-cxx is a C++ wrapper for dbus. > > +It exposes the C API to allow direct manipulation and > > +relies on sigc++ to provide an OO interface. > > +Also included is dbus-cxx-xml2cpp to generate proxy and adapter > > + interfaces from DBus XML introspection-like documents.") > > + (home-page "https://dbus-cxx.github.io/") > > + (license gpl3))) > > -- > > 2.28.0 >