From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id WIwfEJxuEGXRMAAA9RJhRA:P1 (envelope-from ) for ; Sun, 24 Sep 2023 19:15:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WIwfEJxuEGXRMAAA9RJhRA (envelope-from ) for ; Sun, 24 Sep 2023 19:15:08 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0A7ED3FC21 for ; Sun, 24 Sep 2023 19:15:07 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dan.games header.s=fm3 header.b=I4UjMlob; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b="l/OeroUn"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695575708; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=x8YO/ZS8GFh3ECVFYK8d9+QRd7TEp36QgfC3dNVq8P0=; b=lJUU5rr8IHy4wLy0K7JbxgnO7V+tQTIT6NSBAW45moC3NjAv2kWZc8ZP61jAL9TkZwJgLe U1AqfH8N/COnOFzUnRFnLFZphSMoZL1znw/He3SE/xyWJOEqQOabrCe7YkLaUiG7hs4EAj gxS32ClSSTcbYJ+uvrXRE+Ho5KIphwj2B+68IEgloEA2/ZLpQ6fOsqdauOtJo7PyPMRw6L foPH+1KLcKMhfI4n2iqH60mF1/qQSjFzUgWnkimsGuhuiOcGuEn/53vPL9Yl/kXjo/F3cP RGlvOsyqxtzThkzcBq9qeIVjoDfa801utOxRY/vjuq6G6UZlS21BbBE3wIeLxw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695575708; a=rsa-sha256; cv=none; b=YPndpYIK9DueD0DEkIbVsNoPDB/udpaBiA0nmIgwWkmqSbZyaRXg14EilOSmug+zEGPiyI sRZNFR8Zl14qRSGMMgWVEOnEZ5+Hgk/P3OfzpeGY/I1bsjqnrUprjuYKcMnTIEFG/HV4Nh vgD9oLfjra4/LOLdvabl9DeDq75yLI9d/1wxpUR3kXCG3nghQEJruU+PthdYG4XlzgnIbB Cwtraq0ZSAtd0qyhyzSJtnC7U0CqfD/t1mQVnxGAl6UgX8W869jVWYnJVlK4BIzAn4iHnC j3vyGUcKlRP+v63fZUIn2qpb2lQOhGo5baSJwkeGTUJMI8mpL7JyasZytwEGOA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dan.games header.s=fm3 header.b=I4UjMlob; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b="l/OeroUn"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qkSh2-0005ki-Ky; Sun, 24 Sep 2023 13:14:52 -0400 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 1qkSh0-0005kP-MK for guix-patches@gnu.org; Sun, 24 Sep 2023 13:14:51 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qkSh0-0000ls-E6 for guix-patches@gnu.org; Sun, 24 Sep 2023 13:14:50 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qkShB-0007kb-VB for guix-patches@gnu.org; Sun, 24 Sep 2023 13:15:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65106] [PATCH v2 1/2] gnu: Add tracy-wayland. Resent-From: dan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 24 Sep 2023 17:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65106 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo patch To: 65106@debbugs.gnu.org Cc: maxim.cournoyer@gmail.com Received: via spool by 65106-submit@debbugs.gnu.org id=B65106.169557569929765 (code B ref 65106); Sun, 24 Sep 2023 17:15:01 +0000 Received: (at 65106) by debbugs.gnu.org; 24 Sep 2023 17:14:59 +0000 Received: from localhost ([127.0.0.1]:43555 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qkSh8-0007k1-JK for submit@debbugs.gnu.org; Sun, 24 Sep 2023 13:14:58 -0400 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:59227) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qkSh6-0007jf-Qr for 65106@debbugs.gnu.org; Sun, 24 Sep 2023 13:14:57 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 3551132009CB; Sun, 24 Sep 2023 13:14:39 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sun, 24 Sep 2023 13:14:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dan.games; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1695575678; x=1695662078; bh=x8YO/ZS8GFh3ECVFYK8d9+QRd7TEp36QgfC 3dNVq8P0=; b=I4UjMlobh5ogDvb4eFA+8lK7UQGmI4laniUbzPtRqQlNaa9S266 crIS2V3/4phYhqalg2y5FVBsSjd1XSBlriaA73JjSiyG8cr0ARPYerp3WKLTBkP7 Ey+QSVruHRVkigsyJBArCGHRbA/F4C89FUP+bytIh1uMAmnW/RK+mLXqtetNt3V1 FzmNA2+RmKoF+qfYrfSMR9atFg1XbCW0VXqcVaCXP7bARlMrklCHQWVwOAcy8baS Lws/DaSCBJe3Q5fVOOSFe/UIlVMxiHFLFFIo/A5Z+VhbHR3uiMRr5Q2OkakQdqYp 31NDkf88JpWZjGHOPuCfF2AIZpqZ3sF5I1Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1695575678; x=1695662078; bh=x8YO/ZS8GFh3ECVFYK8d9+QRd7TEp36QgfC 3dNVq8P0=; b=l/OeroUnNCMZzlvKV9vh6E1nRWFAbzFM4sYhak0Mp1Iuq4HboOV Aqk8107HtxhtxY3Bwcql6VVvHEhCfvuJPIzW5TsDm6b80I/5oMdHTpaUNml7n8Ze cMYX4RawKKKuV5anLdkgk0LIG3LGltq6nyjvTMTm1X1aVrw3K4cT/EkFRe5pNmNC AnzGNIdYg15g3hjZsNNT3lF4Y4OpSTR5YsesSDstM3izcF1CReNsqGat+iopjujz UxyDjCALnQBC/+HGF6dTheSnT7oXQW20Jn82BT0j6hCxeCkMQJ9M37Gszk0zTWn7 9zNmlGk6nKksoJJsoNsR02LEcYlT0yGR+wg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudelvddgudduudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgjfhggtgfgse htkeertdertdejnecuhfhrohhmpegurghnuceoihesuggrnhdrghgrmhgvsheqnecuggft rfgrthhtvghrnhepheehhfeiteevueeltdduteehhefgleeuieegkeejudeiveevueetue ehffdtveejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucevlhhushhtvghrufhi iigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehisegurghnrdhgrghmvghs X-ME-Proxy: Feedback-ID: i3b5946ed:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 24 Sep 2023 13:14:36 -0400 (EDT) From: dan Date: Mon, 25 Sep 2023 01:13:59 +0800 Message-ID: <20230924171400.7496-2-i@dan.games> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230924171400.7496-1-i@dan.games> References: <20230924171400.7496-1-i@dan.games> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -1.37 X-Migadu-Spam-Score: -1.37 X-Migadu-Scanner: mx1.migadu.com X-Migadu-Queue-Id: 0A7ED3FC21 X-TUID: 7A/+8GvBmmB4 * gnu/packages/profiling.scm (tracy-wayland): New variable. --- gnu/packages/profiling.scm | 53 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 51 insertions(+), 2 deletions(-) diff --git a/gnu/packages/profiling.scm b/gnu/packages/profiling.scm index 8a1c609669..af79488c30 100644 --- a/gnu/packages/profiling.scm +++ b/gnu/packages/profiling.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2017 Dave Love ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2022 Ludovic Courtès +;;; Copyright © 2023 dan ;;; ;;; This file is part of GNU Guix. ;;; @@ -21,6 +22,7 @@ (define-module (gnu packages profiling) #:use-module (guix packages) #:use-module (guix gexp) + #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) ; avoid zlib, expat clashes #:use-module (guix download) #:use-module (guix utils) @@ -31,19 +33,24 @@ (define-module (gnu packages profiling) #:use-module (gnu packages bison) #:use-module (gnu packages compression) #:use-module (gnu packages documentation) + #:use-module (gnu packages engineering) #:use-module (gnu packages fabric-management) #:use-module (gnu packages flex) + #:use-module (gnu packages fontutils) + #:use-module (gnu packages freedesktop) #:use-module (gnu packages gawk) #:use-module (gnu packages gcc) + #:use-module (gnu packages gl) #:use-module (gnu packages glib) #:use-module (gnu packages libunwind) #:use-module (gnu packages linux) #:use-module (gnu packages mpi) #:use-module (gnu packages ncurses) #:use-module (gnu packages perl) - #:use-module (gnu packages perl) + #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) - #:use-module (gnu packages qt)) + #:use-module (gnu packages qt) + #:use-module (gnu packages xdisorg)) ;; Fixme: Separate out lib and fix resulting cycle errors; separate libpfm ;; output(?); build libmsr and add that component. @@ -389,3 +396,45 @@ (define (make-scorep mpi) (license license:cpl1.0))) (define-public scorep-openmpi (make-scorep openmpi)) + +(define-public tracy-wayland + (package + (name "tracy-wayland") + (version "0.9.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/wolfpld/tracy.git") + (commit (string-append "v" version)))) + (sha256 + (base32 + "1znw1r1c4vrb9vrsr08gcwynpjda8xxmb3923yykpymw2hsm0n9b")) + (file-name (git-file-name "tracy" version)))) + (build-system gnu-build-system) + (arguments + (list #:tests? #f ;no test for the profiler + #:make-flags #~(list (string-append "CC=" + #$(cc-for-target))) + #:phases #~(modify-phases %standard-phases + (replace 'configure + (lambda _ + (chdir "profiler/build/unix"))) + (replace 'install + (lambda _ + (let ((bin (string-append #$output "/bin")) + (tracy (string-append #$output "/bin/tracy"))) + (mkdir-p bin) + (copy-file "Tracy-release" tracy))))))) + (inputs (list capstone + dbus + freetype + libxkbcommon + mesa + wayland)) + (native-inputs (list pkg-config)) + (home-page "https://github.com/wolfpld/tracy") + (synopsis "Frame profiler") + (description + "A real time, nanosecond resolution, remote telemetry, hybrid frame and +sampling profiler for games and other applications.") + (license license:bsd-3))) -- 2.41.0