From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukas Gradl Subject: [Patch 2/10] Add dbus-c++. Date: Mon, 12 Sep 2016 21:24:24 -0500 Message-ID: <87bmzs1qqv.fsf@openmailbox.org> References: <87mvjc1quq.fsf@openmailbox.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53417) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjdOn-0007EV-TY for guix-devel@gnu.org; Mon, 12 Sep 2016 22:24:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjdOj-000180-KV for guix-devel@gnu.org; Mon, 12 Sep 2016 22:24:36 -0400 Received: from smtp12.openmailbox.org ([62.4.1.46]:48637) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjdOj-00017d-9q for guix-devel@gnu.org; Mon, 12 Sep 2016 22:24:33 -0400 In-Reply-To: <87mvjc1quq.fsf@openmailbox.org> (Lukas Gradl's message of "Mon, 12 Sep 2016 21:22:05 -0500") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0002-gnu-Add-dbus-c.patch Content-Transfer-Encoding: quoted-printable From=20828174a6663363c26362637f23569e4f23698786 Mon Sep 17 00:00:00 2001 From: Lukas Gradl Date: Thu, 21 Jul 2016 08:39:54 -0500 Subject: [PATCH 02/10] gnu: Add dbus-c++. * gnu/packages/glib.scm (dbus-c++): New variable. =2D-- gnu/packages/glib.scm | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm index a85a565..6a78684 100644 =2D-- a/gnu/packages/glib.scm +++ b/gnu/packages/glib.scm @@ -4,6 +4,7 @@ ;;; Copyright =C2=A9 2013 Nikita Karetnikov ;;; Copyright =C2=A9 2014, 2015, 2016 Mark H Weaver ;;; Copyright =C2=A9 2016 Efraim Flashner +;;; Copyright =C2=A9 2016 Lukas Gradl ;;; ;;; This file is part of GNU Guix. ;;; @@ -31,6 +32,7 @@ #:use-module (gnu packages base) #:use-module (gnu packages bison) #:use-module (gnu packages compression) + #:use-module (gnu packages enlightenment) #:use-module (gnu packages flex) #:use-module (gnu packages gettext) #:use-module (gnu packages gnome) @@ -43,6 +45,7 @@ #:use-module (gnu packages xml) #:use-module (gnu packages bash) #:use-module (gnu packages file) + #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (gnu packages m4) =20 @@ -659,3 +662,43 @@ many applications simultaneously. =20 This package provides the library for GLib applications.") (license license:lgpl2.1+))) + + +(define-public dbus-c++ + (package + (name "dbus-c++") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri + (string-append + "https://sourceforge.net/projects/dbus-cplusplus/files/dbus-c%2B%= 2B/" + version "/libdbus-c%2B%2B-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0qafmy2i6dzx4n1dqp6pygyy6gjljnb7hwjcj2z11c1wgclsq4dw")))) + (build-system gnu-build-system) + (propagated-inputs + `(("dbus" ,dbus))) ; This is mentioned in the pkg-config file. + (inputs + `(("efl" ,efl) + ("expat" ,expat) + ("glib" ,glib))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (arguments + `(#:configure-flags (list "LDFLAGS=3D-lpthread") + #:phases + (modify-phases %standard-phases + (add-before 'configure 'add-missing-header + (lambda _ + (substitute* "include/dbus-c++/eventloop-integration.h" + (("#include ") + "#include \n#include "))))))) + (synopsis "D-Bus API for C++") + (description "This package provides an D-Bus API for the C++ programmi= ng +langauage. It also contains the utility @code{dbuscxx-xml2cpp}.") + (home-page "https://sourceforge.net/projects/dbus-cplusplus/") + (license license:lgpl2.1))) =2D-=20 2.9.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJX12NZAAoJEFP7dyh+2DCRWMMQAL4CkrNSe1S4h3J9KUYYV5HC QkbDgUAFLfr/aMySOspG34T1nFmiD3v+Ipzki3NrXQyZ5o7wSEJxpzIQCX7nqCfE OFwMfms4Pr6vLcR29zMoh80N+23rNy6+zJ7EHy6GCMlx0j9aa3ZpmYlN4i2Lu/Wl CZzAMtDcLm+eI6yE9g6w3IP3vacspsV9FLvR6/ggrTYEIjrcAzNzQ5zVAU+1j031 DAZ3JnPqsNucn61uF/TFBoKP/Xjx/pGQegC95ptRPr/2uRlZgxIGqyRuQtDIUU/U oBXDGR+FmI3psxI5fhQQlY26Oipiom68mrkcu5jnGl9+NjLnbC41vvnalgOgDBBw w/L4MPdsK4r4B6wqeZzBrGpfISzvNp2+5UzvZDyo86IXbAyLtsyW4HAt1TdCB/Nl 9sm9h9Bo3nru0AzyeIglqWqNZWX7oPkMG5eavWOqafd8uxLl2ECeSGxACMnCxR2v drwtl2ZmlDbDBts1kn4ppk6MLE4aBgNYUEQxolvLHMnfbMJWPpj9b2EZqQDWPQ5+ 5Ej5oi0bVXA6kztpVKLgKFeu/Iz0r04HWIPI17k0+NUylcBaOSIuFXvHJfPwQKzs 2s17AQC0OTyabAnUcY7MSHndI+1rg9Ct25cFaWpy1PzwBrC5vs17DUecQ7WsjHzq MxKxALOcDKUwOcv6DGBj =D1AG -----END PGP SIGNATURE----- --==-=-=--