From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:58710) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jO56l-00015L-AH for guix-patches@gnu.org; Mon, 13 Apr 2020 15:51:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jO56k-0004rb-2q for guix-patches@gnu.org; Mon, 13 Apr 2020 15:51:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49308) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jO56k-0004rU-09 for guix-patches@gnu.org; Mon, 13 Apr 2020 15:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jO56j-000825-Uh for guix-patches@gnu.org; Mon, 13 Apr 2020 15:51:01 -0400 Subject: [bug#40607] [PATCH 2/3] gnu: Add libqb. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:58559) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jO560-0000xI-Hm for guix-patches@gnu.org; Mon, 13 Apr 2020 15:50:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jO55z-00047x-AL for guix-patches@gnu.org; Mon, 13 Apr 2020 15:50:16 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:60103) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jO55z-00045M-4m for guix-patches@gnu.org; Mon, 13 Apr 2020 15:50:15 -0400 Received: from localhost (luy13-1-78-237-113-178.fbx.proxad.net [78.237.113.178]) (Authenticated sender: brice@waegenei.re) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 9122F60005 for ; Mon, 13 Apr 2020 19:50:12 +0000 (UTC) From: Brice Waegeneire Date: Mon, 13 Apr 2020 21:49:59 +0200 Message-Id: <20200413195000.28971-3-brice@waegenei.re> In-Reply-To: <20200413195000.28971-1-brice@waegenei.re> References: <20200413195000.28971-1-brice@waegenei.re> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40607@debbugs.gnu.org * gnu/packages/hardware.scm (libqb): New variable. --- gnu/packages/hardware.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index 4c9c45bc48..8a7c7b3c62 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice +;;; Copyright © 2020 Brice Waegeneire ;;; ;;; This file is part of GNU Guix. ;;; @@ -25,6 +26,7 @@ #:use-module (gnu packages ncurses) #:use-module (gnu packages pkg-config) #:use-module (gnu packages xdisorg) + #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (guix build-system gnu) #:use-module (guix download) @@ -276,3 +278,31 @@ supported by the Linux kernel.") ;; Source file headers still say GPL2+, but the authorial intent ;; (from COPYING and the F9 'about' screen) is clearly GPL3+. (license license:gpl3+))) + +(define-public libqb + (package + (name "libqb") + ;; NOTE: We are using a Release Candidate version (for 2.0) here because + ;; of the linker issues with the previous release. + (version "1.9.1") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/ClusterLabs/libqb/releases/download/v" + version "/libqb-" version ".tar.xz")) + (sha256 + (base32 + "008vvw504kh40br5v2xkqavnp9vpmjvf768faqzv1d00fd53ingn")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config) + ("xmllint" ,libxml2))) + (home-page "https://clusterlabs.github.io/libqb/") + (synopsis "Library providing high performance logging, tracing, ipc, and poll") + (description "Libqb is a library with the primary purpose of providing +high-performance, reusable features for client-server architecture, such as +logging, tracing, inter-process communication (IPC), and polling. Libqb is +not intended to be an all-encompassing library, but instead provide focused +APIs that are highly tuned for maximum performance for client-server +applications.") + (license license:lgpl2.1))) -- 2.26.0