From patchwork Fri Oct 23 14:28:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Miguel Arruga Vivas X-Patchwork-Id: 24762 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 6D9AD27BBF1; Fri, 23 Oct 2020 15:30:21 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7507327BBF0 for ; Fri, 23 Oct 2020 15:30:20 +0100 (BST) Received: from localhost ([::1]:47198 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVy5D-0006Mz-J0 for patchwork@mira.cbaines.net; Fri, 23 Oct 2020 10:30:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42420) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVy4x-0006Me-9L for guix-patches@gnu.org; Fri, 23 Oct 2020 10:30:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46403) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kVy4w-0001ad-W0 for guix-patches@gnu.org; Fri, 23 Oct 2020 10:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kVy4w-0008Em-Rv for guix-patches@gnu.org; Fri, 23 Oct 2020 10:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44019] add dbus-cxx Resent-From: Miguel =?utf-8?b?w4FuZ2Vs?= Arruga Vivas Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 23 Oct 2020 14:30:02 +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: To: tiregram arthur Cc: 44019@debbugs.gnu.org Received: via spool by 44019-submit@debbugs.gnu.org id=B44019.160346338131609 (code B ref 44019); Fri, 23 Oct 2020 14:30:02 +0000 Received: (at 44019) by debbugs.gnu.org; 23 Oct 2020 14:29:41 +0000 Received: from localhost ([127.0.0.1]:57949 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVy4b-0008Dl-0b for submit@debbugs.gnu.org; Fri, 23 Oct 2020 10:29:41 -0400 Received: from mail-wm1-f54.google.com ([209.85.128.54]:52380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVy4Z-0008DU-A5 for 44019@debbugs.gnu.org; Fri, 23 Oct 2020 10:29:39 -0400 Received: by mail-wm1-f54.google.com with SMTP id c194so1692126wme.2 for <44019@debbugs.gnu.org>; Fri, 23 Oct 2020 07:29:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=5Ab0SPhItfQDXn0rUXzfo3hVkBAoYcJgQLYgqPTrIdU=; b=pT9rEgRbqP2yzkbPvtRHvlSjAj6cZX0KkwC9D3O7NICMqzFX1bss0vWMUY9ZYeSpoa LWH7E2WaYiGDPdxTlujjuLxaJj+7chOnENvtVr8SCCBvovaED/ssfiLfDz0rSh6AL49w 9vaRNeb9GTd/FYwNHL7Ii2na18lrexjUjiNyGBnfKBKm+X+OH4gDRS6/BxArB3bv9SAq ok/FHLs3JxNN9oWVHyCgmC1AZorDsBSRQGDXrhdBWQhyr3QR0H/ig+7Hmm1zZLgVhZa4 HJcrlNbLWWsvB2fSfI2uEASLmuqwBtvAJxfw4wsc8yBeRxxNaCanPeAXYY1TgMPMFOYp 7w0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=5Ab0SPhItfQDXn0rUXzfo3hVkBAoYcJgQLYgqPTrIdU=; b=AlUDVbdW5MrmgZvmhWxEz0nCvIMRPJLdnHGbZJ5n0uhvf39KJk7Fv6stD8171viM61 F7wOQsdLPU+ayn/j2kBJ1jzUze21m+SppDNFina6BCPKcIz4jahvolEay+Linp9pVqG4 SlcgaBZTOs1fpul2Dpd+Qe7Fxo+wt2W9ViLwhz0IxySP6pHvCbVdtb7PSOUrYLVZQ4re bnu5ANboglGhnUjiIds1Z83MFhkod5RZG9tXkvER3RIhBdh7D4Vyh1bQjst+pn/1d72M XE7M9RhAOlDjN7kxkG/KtWkZz1xvFZMh+TJVX9qpXahCP7cIah2oM0Mr44yy4A0yqPh/ p/sQ== X-Gm-Message-State: AOAM531pDN32jaiQKgMK1EZgCLDwrYp/O9o7udfV2Wtq5sxYDmEvgWVI T8ytvEUVDU1Q1D8xK0LR56sZDCzZomk= X-Google-Smtp-Source: ABdhPJxZdjPsKzoknaf7kNeqnAW14KVrOsRhWaHWrJGdZOnPw/o0OgUVm2EkpsQ6Kx9Gpmf0Bem+YQ== X-Received: by 2002:a1c:dcc3:: with SMTP id t186mr2603872wmg.70.1603463372934; Fri, 23 Oct 2020 07:29:32 -0700 (PDT) Received: from unfall (218.139.134.37.dynamic.jazztel.es. [37.134.139.218]) by smtp.gmail.com with ESMTPSA id n4sm3339268wrr.91.2020.10.23.07.29.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Oct 2020 07:29:32 -0700 (PDT) From: Miguel =?utf-8?b?w4FuZ2Vs?= Arruga Vivas References: <87h7qqnv5u.fsf@gmail.com> <87sgaam8mx.fsf@gmail.com> <873626jkgc.fsf@gmail.com> Date: Fri, 23 Oct 2020 16:28:32 +0200 In-Reply-To: (tiregram arthur's message of "Fri, 23 Oct 2020 14:47:27 +0200") Message-ID: <87sga5hv8v.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi, tiregram arthur writes: >> update. >> i remove newline. >> i move to tar >> i add compilation option for test, tools and glibmm >> i modified description >> i indent the code as expected. >> >> you can find the new version atach to this email. Thank you very much, this version looks superb! :-) > I just get the warning about softwareheritage. > Who is in charge of this part? I still need an answer for this. As soon as I have it, I hope sooner than later, I'll push this with the right origin, as you provided both versions already. Thank you again, Miguel --- From e3dcfc10dcd9fff1486b282b3d77309411c44ac9 Mon Sep 17 00:00:00 2001 From: ruhtra Date: Fri, 23 Oct 2020 14:40:20 +0200 Subject: [PATCH] gnu: Add dbus-cxx. --- gnu/packages/glib.scm | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm index cde95b13eb..898b44a9e4 100644 --- a/gnu/packages/glib.scm +++ b/gnu/packages/glib.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2019 Giacomo Leidi ;;; Copyright © 2019, 2020 Marius Bakke ;;; Copyright © 2020 Nicolò Balzarotti +;;; Copyright © 2020 Arthur Margerit ;;; ;;; This file is part of GNU Guix. ;;; @@ -53,6 +54,7 @@ #:use-module (gnu packages package-management) #:use-module (gnu packages perl) #:use-module (gnu packages perl-check) + #:use-module (gnu packages popt) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages python-xyz) @@ -61,6 +63,7 @@ #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (guix build-system gnu) + #:use-module (guix build-system cmake) #:use-module (guix build-system meson) #:use-module (guix build-system perl) #:use-module (guix build-system python) @@ -932,6 +935,45 @@ programming language. It also contains the utility (home-page "https://sourceforge.net/projects/dbus-cplusplus/") (license license:lgpl2.1+))) +(define-public dbus-cxx + (package + (name "dbus-cxx") + (version "0.12.0") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/dbus-cxx/dbus-cxx/" + version "/dbus-cxx-" version ".tar.gz")) + (sha256 + (base32 + "1acsgpkd9v7b9jdc79ijmh9dbdfrzgkwkaff518i3zpk7y6g5mzw")))) + (build-system cmake-build-system) + (arguments + `(#:configure-flags '("-DENABLE_TESTS=ON" + "-DENABLE_TOOLS=ON" + "-DENABLE_GLIBMM=ON"))) + (inputs `(("dbus-glib" ,dbus) + ("libsigc++" ,libsigc++) + ("glibmm" ,glibmm) + ("python" ,python) + ("popt" ,popt) + ("expat" ,expat))) + (native-inputs `(("pkg-config" ,pkg-config) + ("m4" ,m4))) + (synopsis "C++ wrapper for dbus") + (description "Dbus-cxx is a C++ wrapper for dbus.\n +It exposes the C API to allow direct manipulation and +relies on sigc++ to provide an Oriented Object interface.\n +This package provide 2 utils: +@enumerate +@item @command{dbus-cxx-xml2cpp} to generate proxy and adapter +@item @command{dbus-cxx-introspect} to introspect a dbus interface +@end enumerate + +Some codes examples can be find at: +@url{https://dbus-cxx.github.io/examples.html}") + (home-page "https://dbus-cxx.github.io/") + (license license:gpl3))) + (define-public appstream-glib (package (name "appstream-glib")