From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cIJECp7I1GFalgAAgWs5BA (envelope-from ) for ; Tue, 04 Jan 2022 23:22:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QDqNB57I1GGxdgAA9RJhRA (envelope-from ) for ; Tue, 04 Jan 2022 23:22:22 +0100 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 B61A844A4F for ; Tue, 4 Jan 2022 23:22:21 +0100 (CET) Received: from localhost ([::1]:58566 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4sCC-0006Gw-6Z for larch@yhetil.org; Tue, 04 Jan 2022 17:22:20 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38710) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4sBv-0006GG-0J for guix-patches@gnu.org; Tue, 04 Jan 2022 17:22:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55648) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4sBu-0001mN-Nv for guix-patches@gnu.org; Tue, 04 Jan 2022 17:22:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n4sBu-00032z-KX for guix-patches@gnu.org; Tue, 04 Jan 2022 17:22:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53015] [PATCH 0/4] Add mangohud (update dear-imgui) Resent-From: John Kehayias Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 04 Jan 2022 22:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53015 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53015@debbugs.gnu.org X-Debbugs-Original-To: Guix-patches Received: via spool by submit@debbugs.gnu.org id=B.164133486511632 (code B ref -1); Tue, 04 Jan 2022 22:22:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Jan 2022 22:21:05 +0000 Received: from localhost ([127.0.0.1]:38959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4sAz-00031Y-Ba for submit@debbugs.gnu.org; Tue, 04 Jan 2022 17:21:05 -0500 Received: from lists.gnu.org ([209.51.188.17]:59706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4sAv-000310-JZ for submit@debbugs.gnu.org; Tue, 04 Jan 2022 17:21:04 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38588) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4sAv-0005jM-Dq for guix-patches@gnu.org; Tue, 04 Jan 2022 17:21:01 -0500 Received: from mail-4316.protonmail.ch ([185.70.43.16]:19395) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4sAt-0001aR-0F for guix-patches@gnu.org; Tue, 04 Jan 2022 17:21:01 -0500 Date: Tue, 04 Jan 2022 22:20:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail2; t=1641334855; bh=VxVWCE/SxtoNlqjATP8qitaNq39+fzw5DQaIJx8NmO0=; h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc; b=YE/53UiWDwC30sIVEo2+CDnqOeSyzMjaZwP65FXRK+c+OjSHnHP9vhYUaUHRuuzzy 447gTrWnx8LkTyl7hG6NZD7SvgeHK8ji18sCCRTq+qLH2AJHrLpWEFzgkSwI6aqkUC 7eeT5j2b4/pBBA2zwyifhJIV3Gt6SYuYolUHr1nIH5yNPSS5fn9ecdlwBSQeC6mgfA 3rZscEZlv/5k3eEKdbq4AN+tRccXU0HtEKJvPGv/eqHdEoWDypRLTQGfPl+2AM1jNr R7OCw8edhKkc+RDW0Z2/tRy/pPamIJQhrGZHzH5hMVHu6yaE1ZLrP8xqMcO/bfGY8h NBGll8uAk1K0Q== Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.16; envelope-from=john.kehayias@protonmail.com; helo=mail-4316.protonmail.ch X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action 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" Reply-to: John Kehayias X-ACL-Warn: , John Kehayias via Guix-patches From: John Kehayias via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641334942; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=VxVWCE/SxtoNlqjATP8qitaNq39+fzw5DQaIJx8NmO0=; b=PU/zu08UiJndFw1teJPNB6zNgmVI6tyMz5hsvx67UqwyZEGlmBTrRcFjCny9YYb8uCJJrN ZWw3/m/g94ADesT0OzutyacXZAuQtbk9pJTtqAk+Y8VoqEqm7a6F3z7NVMaDannGWt+Fxb DdzHqTPCUiELp9Yhw8vQYMm3Vpg9S2W+2WyeI84/4HxgurWGIx35eOSZEeYgMnZawwtoIK Q2ZiGuIVnEFCZX/Fur+XYTuZwFNwQp4yGFoMFNgRerRHVugm93LAYSz2f9p51THhDFOVZ5 4zu02pYvTlTmMs6XQVwHvbkexHucwhD9qbiWS+WNsKzVcHi2KJxEAEL5h/oQTA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641334942; a=rsa-sha256; cv=none; b=uee+NthaqzcvoQrc+eLxprAVFRrUmivm1J9xYjwsg93d20+ctbXlO5o+G5tp9OqTGGuAXL wHBXg0oCpCEm3GfrH+EC+DKRr6nJ1dHONfhHyuT9thDL5abbnbYiVkh3kPtGA4ZL2DUMWA coPndekAsnSGB6Fk0yXEVpicygne8Krni1I+vB6mevpt0Adw2D8Y0mGXXGNpMuvWlBWviD osotmGhDsUPT9d4I3A3+SQ9IPfN3GGKcus9s+j9ID+fn/9gEYL8FYwGcxFEqAdrw01chwm 9vh9rUrqFDH96yOScQdXC5HzxiaDao/CCfjJEdGm5X1tKHlvic5QlpO6d9YYhg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail2 header.b="YE/53UiW"; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -3.79 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail2 header.b="YE/53UiW"; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: B61A844A4F X-Spam-Score: -3.79 X-Migadu-Scanner: scn1.migadu.com X-TUID: 6qz3ksIF0ZIO Hi Guix, Here is a short series of patches to add mangohud (a cool Vulkan/OpenGL ove= rlay for things like framerate and hardware display in games). There were a= few steps involved that required some tweaks to other packages. Here is th= e breakdown, corresponding to the forthcoming patches: 1. pciutils-no-zlib: A new hidden package to provide uncompressed hardware = info (pci.ids). Mangohud and at least one other package I have read this fi= le directly, which is typically uncompressed, i.e. on Arch. We could later = change it in pciutils or have both uncompressed and compressed, or a separa= te package just for the hardware info. Since this would be a bigger change,= I opted for a simple hidden package of the full pciutils (I think programs= will need the rest of the package anyway). 2. spdlog: Build with '-fpic'. Since this is compiled as a static library, = and upstream implies this is more typical, compile it in a way to be useful= to shared libraries as well (needed for mangohud). I checked a random pack= age that uses spdlog and it built fine at least. 3. dear-imgui: Update to 1.81. This not the latest, but most recent of the = Debian makefiles we use. The only dependent is Ogre (very out of date) whic= h just uses the source, but needs 1.79. I made the previous one a hidden pa= ckage and updated Ogre to use that. There were enough build changes that I = didn't think an inherit would be very clean. Also added in the static libra= ry output (preferred by mangohud). New is many inputs for the backends (opt= ional). 4. mangohud: The new addition. Unbundled libraries to use guix's spdlog, de= ar-imgui, fixed hardcoded paths. Tested that it builds and works. The only = guix lint complaint was about the dear-imgui static input name not matching= (also needed dear-imgui for the headers and pkgconfig file). Okay, that's it! A few changes but I think these are not invasive and were = the cleanest on my end to use. Thanks! John