unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Miguel Ángel Arruga Vivas" <rosen644835@gmail.com>
To: tiregram arthur <ruhtra.mar@gmail.com>
Cc: 44019@debbugs.gnu.org
Subject: [bug#44019] add dbus-cxx
Date: Fri, 23 Oct 2020 16:28:32 +0200	[thread overview]
Message-ID: <87sga5hv8v.fsf@gmail.com> (raw)
In-Reply-To: <CAHBH9LAjetjdp_HbnhTGBESopH2vomSMdaL9kZOFsnD-B0YdRg@mail.gmail.com> (tiregram arthur's message of "Fri, 23 Oct 2020 14:47:27 +0200")

Hi,

tiregram arthur <ruhtra.mar@gmail.com> 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 <ruhtra.mar@gmail.com>
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 <goodoldpaul@autistici.org>
 ;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
 ;;; Copyright © 2020 Nicolò Balzarotti <nicolo@nixo.xyz>
+;;; Copyright © 2020 Arthur Margerit <ruhtra.mar@gmail.com>
 ;;;
 ;;; 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")
-- 
2.28.0





  parent reply	other threads:[~2020-10-23 14:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-15 17:19 [bug#44019] add dbus-cxx tiregram arthur
2020-10-19 14:32 ` Miguel Ángel Arruga Vivas
2020-10-19 16:04   ` tiregram arthur
2020-10-19 17:24     ` Miguel Ángel Arruga Vivas
     [not found]       ` <CAHBH9LAGDi2TiTayM41e5uL2DJjzivd_yvEafZacP=WP92062Q@mail.gmail.com>
2020-10-22 16:26         ` Miguel Ángel Arruga Vivas
     [not found]           ` <CAHBH9LA_VWsJXXsGRCKa2UGrpLjgqWpNNmcP3_nR9zCsvg6hyw@mail.gmail.com>
     [not found]             ` <CAHBH9LAjetjdp_HbnhTGBESopH2vomSMdaL9kZOFsnD-B0YdRg@mail.gmail.com>
2020-10-23 14:28               ` Miguel Ángel Arruga Vivas [this message]
2020-10-24  1:02                 ` bug#44019: " Miguel Ángel Arruga Vivas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sga5hv8v.fsf@gmail.com \
    --to=rosen644835@gmail.com \
    --cc=44019@debbugs.gnu.org \
    --cc=ruhtra.mar@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).