From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id AIFvHgPBjV90NAAA0tVLHw (envelope-from ) for ; Mon, 19 Oct 2020 16:38:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 6BZGGgPBjV+yGgAAB5/wlQ (envelope-from ) for ; Mon, 19 Oct 2020 16:38:27 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 98C5494023B for ; Mon, 19 Oct 2020 16:38:26 +0000 (UTC) Received: from localhost ([::1]:42666 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kUYAz-0002Zm-Ar for larch@yhetil.org; Mon, 19 Oct 2020 12:38:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUYAc-0002Y9-8V for guix-patches@gnu.org; Mon, 19 Oct 2020 12:38:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58868) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kUYAb-0006KZ-UY for guix-patches@gnu.org; Mon, 19 Oct 2020 12:38:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kUYAb-0006d1-S6 for guix-patches@gnu.org; Mon, 19 Oct 2020 12:38:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44019] add dbus-cxx Resent-From: tiregram arthur Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 19 Oct 2020 16:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44019 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: Miguel =?UTF-8?Q?=C3=81ngel?= Arruga Vivas Cc: 44019@debbugs.gnu.org Received: via spool by 44019-submit@debbugs.gnu.org id=B44019.160312546525453 (code B ref 44019); Mon, 19 Oct 2020 16:38:01 +0000 Received: (at 44019) by debbugs.gnu.org; 19 Oct 2020 16:37:45 +0000 Received: from localhost ([127.0.0.1]:42181 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUYAK-0006cS-RO for submit@debbugs.gnu.org; Mon, 19 Oct 2020 12:37:45 -0400 Received: from mail-ed1-f53.google.com ([209.85.208.53]:41764) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUXee-0005kC-Ml for 44019@debbugs.gnu.org; Mon, 19 Oct 2020 12:05:01 -0400 Received: by mail-ed1-f53.google.com with SMTP id l24so10811204edj.8 for <44019@debbugs.gnu.org>; Mon, 19 Oct 2020 09:05:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9oZRpht7TTFIdZCpUPHo2KEeMqkpFW4JjUdYvISguaQ=; b=XqZ9WllIMq8IaC5XJiRJvraySrsSFWFtALkqVY/9xZ80PEgWYivJ81KtE0ZEZf7Twm v70mSy2NhdfNwQahbvJ5mbSdwHX7V2MXDl6CGV0fNlnjOlPTd1315/0/QNdzaAzhE8BI RdFziFX9iV0LVCGKfHZFT29YceRdZAGmRAQ7NVKL2/7TJKwIPhtXcwXbzae8X2XP5nAI dfsJhOR9+Sk1Q/5W9erSLRak//EtGrikuCZGhHEYv/+XTxeDqTnbvo6cWytIZbpdrIYn KEWVfpJY0b4FBAEWR3r90rJpEKprkw5gmHv4uEwY/lrGwJADq/eiFGfRl2grqv9eQOj5 vlmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9oZRpht7TTFIdZCpUPHo2KEeMqkpFW4JjUdYvISguaQ=; b=Et04/nur9NgAB4hCd2NDEa53pOMkk5oGbUogDW3WlmacEPJx8Zm/648PA8pwZokk1n iKLZ8U4a/Eg6QP//zn8FzkQrfTPDy03k06gkYT/tDVEtKcWzN3fYNbTK87folxZlsD9n ZelpkpIgjkY8On1U8ttoHLuJWOXhtg/7V2WDH9VdvS11ni6lWHbo6IjmihLYwPsGZQ2o XujjlfBblkhew7+HWWVqd6lrLp11sj93/LKwXDypVbZkPzDvEGr6KntbYWIQ1DGQzrr6 b1G5Zk0SbivxqC51+58Ak76dyTSi1zNkOzoc9RGfS+QUEJLFQLuRP3AnHMsOq8qgqkk8 1sng== X-Gm-Message-State: AOAM530qLWbGyY/mrDY5co6ICzoIvp9FDZ8EMwU9qblfLd+VdXnYMScm uo6D9PcaQeUussTqxCzpcdPuXlz7LUh8TTecoh8= X-Google-Smtp-Source: ABdhPJwj5WqMl0Lnr/r4Oi45WH8JJA2Ka0YhEzNnqipxiIhZXIOC4Cj8/2Wp+QC4zR/Oon8rqkFlUW6/9D/c6qOV6FY= X-Received: by 2002:a50:8e5a:: with SMTP id 26mr496276edx.161.1603123494691; Mon, 19 Oct 2020 09:04:54 -0700 (PDT) MIME-Version: 1.0 References: <87h7qqnv5u.fsf@gmail.com> In-Reply-To: <87h7qqnv5u.fsf@gmail.com> From: tiregram arthur Date: Mon, 19 Oct 2020 18:04:43 +0200 Message-ID: Content-Type: multipart/alternative; boundary="0000000000006ed74105b20846f4" X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Mon, 19 Oct 2020 12:37:43 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=XqZ9WllI; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: wYQuuiUINtPe --0000000000006ed74105b20846f4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=C3=A9rents code base. I will move the d=C3=A9finition to glib.scm. Le lun. 19 oct. 2020 =C3=A0 16:33, Miguel =C3=81ngel Arruga Vivas < rosen644835@gmail.com> a =C3=A9crit : > 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 =C2=A9 2020 Arthur Margerit > > +;;; > > +;;; This file is part of GNU Guix. > > +;;; > > +;;; GNU Guix is free software; you can redistribute it and/or modify i= t > > +;;; 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 > --0000000000006ed74105b20846f4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi, thanks for the answer






Hi Arthur,

Thank you very much for your patch.=C2=A0 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).=C2=A0 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 <ruhtra.mar@gmail.com> writes:

>>From c3804aca21c496e66e44ba48fd150501154dfb6d Mon Sep 17 00:00:00 2= 001
> From: ruhtra <ruhtra.mar@gmail.com>
> Date: Thu, 15 Oct 2020 18:58:46 +0200
> Subject: [PATCH] to add dbus-cxx package add gnu/packages/dbus-cxx.scm=
>
> ---
>=C2=A0 gnu/packages/dbus-cxx.scm | 52 +++++++++++++++++++++++++++++++++= ++++++
>=C2=A0 1 file changed, 52 insertions(+)
>=C2=A0 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 =C2=A9 2020 Arthur Margerit <ruhtra.mar@gmail.com<= /a>>
> +;;;
> +;;; 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.=C2=A0 See th= e
> +;;; GNU General Public License for more details.
> +;;;
> +;;; You should have received a copy of the GNU General Public License=
> +;;; along with GNU Guix.=C2=A0 If not, see <
http://w= ww.gnu.org/licenses/>.
> +
> +(define-module (gnu packages dbus-cxx)
> +=C2=A0 #:use-module (guix packages)
> +=C2=A0 #:use-module (guix git-download)
> +=C2=A0 #:use-module (guix build-system cmake)
> +=C2=A0 #:use-module (guix licenses)
> +=C2=A0 #:use-module (gnu packages pkg-config)
> +=C2=A0 #:use-module (gnu packages m4)
> +=C2=A0 #:use-module ((gnu packages glib) #:select (dbus libsigc++)))<= br> > +
> +(define-public dbus-cxx
> +=C2=A0 (package
> +=C2=A0 =C2=A0 (name "dbus-cxx")
> +=C2=A0 =C2=A0 (version "0.12.0")
> +=C2=A0 =C2=A0 (source (origin
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (file-name (git-file= -name name version))
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (method git-fetch) > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (uri (git-reference<= br> > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= (url "https://github.com/dbus-cxx/dbus-cxx&= quot;)
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= (commit "ea7f8e361d11dc7d41d9ae2c4128aed2cdadd84e")))
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (sha256
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(base32
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "1sa448i= cfvl08rnik0lnk4scmkwhfyd3mrxh36jh8x7xndp90khp"))))
> +=C2=A0 =C2=A0 (build-system cmake-build-system)
> +=C2=A0 =C2=A0 (arguments
> +=C2=A0 =C2=A0 =C2=A0`(#:tests? #f))
> +=C2=A0 =C2=A0 (inputs `(("dbus-glib", dbus) ("libsigc+= +", libsigc++)))
> +=C2=A0 =C2=A0 (native-inputs `(("pkg-config", pkg-config) (= "m4", m4)))
> +=C2=A0 =C2=A0 (synopsis "C++ wrapper for dbus")
> +=C2=A0 =C2=A0 (description "Dbus-cxx is a C++ wrapper for dbus.<= br> > +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.")
> +=C2=A0 =C2=A0 (home-page "https://dbus-cxx.github.i= o/")
> +=C2=A0 =C2=A0 (license gpl3)))
> --
> 2.28.0
--0000000000006ed74105b20846f4--