From patchwork Fri Mar 3 15:54:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruno Victal X-Patchwork-Id: 47575 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 D593A16D07; Fri, 3 Mar 2023 15:56:15 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A594316878 for ; Fri, 3 Mar 2023 15:56:12 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pY7lN-000475-9b; Fri, 03 Mar 2023 10:56:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pY7lK-00045q-9K for guix-patches@gnu.org; Fri, 03 Mar 2023 10:56:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pY7lK-0001Xu-0o for guix-patches@gnu.org; Fri, 03 Mar 2023 10:56:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pY7lJ-0004G3-Tk for guix-patches@gnu.org; Fri, 03 Mar 2023 10:56:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61939] [PATCH 2/3] gnu: Add libtraceevent. Resent-From: Bruno Victal Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 03 Mar 2023 15:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61939 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61939@debbugs.gnu.org Cc: Bruno Victal , Petr Hodina Received: via spool by 61939-submit@debbugs.gnu.org id=B61939.167785890716272 (code B ref 61939); Fri, 03 Mar 2023 15:56:01 +0000 Received: (at 61939) by debbugs.gnu.org; 3 Mar 2023 15:55:07 +0000 Received: from localhost ([127.0.0.1]:33757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pY7kR-0004EO-2X for submit@debbugs.gnu.org; Fri, 03 Mar 2023 10:55:07 -0500 Received: from smtpm4.myservices.hosting ([185.26.105.235]:48232) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pY7kP-0004EE-GQ for 61939@debbugs.gnu.org; Fri, 03 Mar 2023 10:55:05 -0500 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpm4.myservices.hosting (Postfix) with ESMTP id 810C920CCA; Fri, 3 Mar 2023 16:55:04 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 36F1D8009A; Fri, 3 Mar 2023 16:55:04 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id FM0sIA6Ul1IP; Fri, 3 Mar 2023 16:55:03 +0100 (CET) Received: from guix-nuc.home.arpa (bl9-119-177.dsl.telepac.pt [85.242.119.177]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 5C17F80097; Fri, 3 Mar 2023 16:55:03 +0100 (CET) From: Bruno Victal Date: Fri, 3 Mar 2023 15:54:21 +0000 Message-Id: X-Mailer: git-send-email 2.39.1 In-Reply-To: References: 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Petr Hodina * gnu/packages/linux.scm (libtraceevent): New variable. Co-authored-by: Bruno Victal --- gnu/packages/linux.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 545d53fe91..16a9d9aa90 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -9636,6 +9636,45 @@ (define-public libgpiod license:gpl2+ ;; gpio-tools license:lgpl3+)))) ;; C++ bindings +(define-public libtraceevent + (package + (name "libtraceevent") + (version "1.7.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git") + (commit (string-append name "-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1kbl11lqh8cadi6r3qqxx68idr7597l6i50pr5p5mdgsf6k2i83c")) + (modules '((guix build utils))) + (snippet + #~(begin + (substitute* "Makefile" + (("/bin/pwd") "pwd")) + (substitute* "scripts/utils.mk" + (("/bin/pwd") "pwd")))))) + (build-system gnu-build-system) + (arguments + (list + #:tests? #f ;no test suite + #:make-flags + #~(list + (string-append "pkgconfig_dir=" #$output "/lib/pkgconfig") + (string-append "prefix=" #$output)) + #:phases + #~(modify-phases %standard-phases + (delete 'configure)))) + (home-page "https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/") + (synopsis "Linux kernel trace event library") + (description "This package provides library to parse raw trace event +formats.") + (license (list license:gpl2 + license:lgpl2.1)))) + (define-public libtree (package (name "libtree")