From patchwork Thu Sep 23 12:41:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Olivier Dion X-Patchwork-Id: 33261 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 2636327BBE3; Thu, 23 Sep 2021 14:44:30 +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_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable 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 1A6F927BBE1 for ; Thu, 23 Sep 2021 14:44:28 +0100 (BST) Received: from localhost ([::1]:53518 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mTP1X-0003v6-1T for patchwork@mira.cbaines.net; Thu, 23 Sep 2021 09:44:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60398) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTOWA-0008Lw-Rj for guix-patches@gnu.org; Thu, 23 Sep 2021 09:12:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41418) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mTOWA-0004Vt-KM for guix-patches@gnu.org; Thu, 23 Sep 2021 09:12:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mTOWA-0004AA-EE for guix-patches@gnu.org; Thu, 23 Sep 2021 09:12:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50757] [PATCH] gnu: Add babeltrace. Resent-From: Olivier Dion Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 23 Sep 2021 13:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50757 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50757@debbugs.gnu.org Cc: Olivier Dion X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163240268815934 (code B ref -1); Thu, 23 Sep 2021 13:12:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Sep 2021 13:11:28 +0000 Received: from localhost ([127.0.0.1]:52962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTOVc-00048q-FP for submit@debbugs.gnu.org; Thu, 23 Sep 2021 09:11:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:57978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTO2d-0003GW-Cm for submit@debbugs.gnu.org; Thu, 23 Sep 2021 08:41:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53726) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTO2b-0003tC-RG for guix-patches@gnu.org; Thu, 23 Sep 2021 08:41:31 -0400 Received: from smtp.polymtl.ca ([132.207.4.11]:44011) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTO2Z-0005G5-9I for guix-patches@gnu.org; Thu, 23 Sep 2021 08:41:29 -0400 Received: from laura.hitronhub.home (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) (authenticated bits=0) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 18NCfGNw008592 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Thu, 23 Sep 2021 08:41:24 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 18NCfGNw008592 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polymtl.ca; s=default; t=1632400885; bh=RFH/SXt6du6KOvhFLOk+LlMp2ouUjtVF1rU6egq40ho=; h=From:To:Cc:Subject:Date:From; b=ZoHjBmpXlinRq6F6dp9Thh69SsPoulBaAhTsOVJjub9YaLHuvdAJkr8o/ZjfgY5N3 7hKaUJBpTVOHHeyvf2rlHbrzPGn96Ni0LrNceUj/DZhaNEHb4al7RBz1K/ZfMvyVdI sSLF7Bo/Od/38sbQPx5PsHh+d67rowgRmAMo4NH8= Date: Thu, 23 Sep 2021 08:41:13 -0400 Message-Id: <20210923124113.3269-1-olivier.dion@polymtl.ca> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-Poly-FromMTA: (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) at Thu, 23 Sep 2021 12:41:16 +0000 Received-SPF: pass client-ip=132.207.4.11; envelope-from=olivier.dion@polymtl.ca; helo=smtp.polymtl.ca X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 23 Sep 2021 09:11:26 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 23 Sep 2021 09:44:18 -0400 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" Reply-to: Olivier Dion X-ACL-Warn: , Olivier Dion via Guix-patches X-Patchwork-Original-From: Olivier Dion via Guix-patches via From: Olivier Dion X-getmail-retrieved-from-mailbox: Patches * gnu/packages/linux.scm (babeltrace): New variable. Signed-off-by: Olivier Dion --- gnu/packages/linux.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 9bb90e599e..dcfea9cc6c 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -131,6 +131,7 @@ #:use-module (gnu packages sdl) #:use-module (gnu packages serialization) #:use-module (gnu packages slang) + #:use-module (gnu packages sphinx) #:use-module (gnu packages sqlite) #:use-module (gnu packages texinfo) #:use-module (gnu packages tls) @@ -8051,6 +8052,40 @@ enable and disable specific instrumentation points, and writes event records to ring buffers shared with a consumer daemon.") (license license:lgpl2.1+))) +(define-public babeltrace + (package + (name "babeltrace") + (version "2.0.3") + (source (origin + (method url-fetch) + (uri (string-append "https://www.efficios.com/files/babeltrace/babeltrace2-" + version ".tar.bz2")) + (sha256 + (base32 "1804pyq7fz6rkcz4r1abkkn0pfnss13m6fd8if32s42l4lajadm5")))) + + (build-system gnu-build-system) + + (propagated-inputs + `(("elfutils" ,elfutils))) + + (native-inputs + `(("asciidoc" ,asciidoc) + ("bison" ,bison) + ("flex" ,flex) + ("glib" ,glib) + ("pkg-config" ,pkg-config) + ("python" ,python-3) + ("python-sphinx" ,python-sphinx) + ("xmltoman" ,xmltoman))) + + (home-page "https://babeltrace.org/") + (synopsis "Babeltrace /ˈbæbəltreɪs/ is an open-source trace manipulation toolkit.") + (description "Babeltrace 2 is the reference parser implementation of the +Common Trace Format (CTF), a versatile trace format produced by various +tracers and tools such as LTTng and barectf. The Babeltrace 2 library and its +Python bindings can read and write CTF traces.") + (license license:expat))) + (define-public kexec-tools (package (name "kexec-tools")