From patchwork Wed Feb 23 19:55:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: John Kehayias X-Patchwork-Id: 37438 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 D984E27BBEA; Wed, 23 Feb 2022 19:56:10 +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=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 A599427BBE9 for ; Wed, 23 Feb 2022 19:56:10 +0000 (GMT) Received: from localhost ([::1]:49048 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nMxk9-0002lB-Pi for patchwork@mira.cbaines.net; Wed, 23 Feb 2022 14:56:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55664) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMxk3-0002kn-2l for guix-patches@gnu.org; Wed, 23 Feb 2022 14:56:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52706) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nMxk2-0001xh-BT for guix-patches@gnu.org; Wed, 23 Feb 2022 14:56:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nMxk2-00006Z-4L for guix-patches@gnu.org; Wed, 23 Feb 2022 14:56:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54132] [PATCH] gnu: imgui: Add missing build files. Resent-From: John Kehayias Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 23 Feb 2022 19:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54132 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54132@debbugs.gnu.org X-Debbugs-Original-To: Guix-patches Received: via spool by submit@debbugs.gnu.org id=B.1645646157391 (code B ref -1); Wed, 23 Feb 2022 19:56:01 +0000 Received: (at submit) by debbugs.gnu.org; 23 Feb 2022 19:55:57 +0000 Received: from localhost ([127.0.0.1]:46603 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMxjx-00006F-Dx for submit@debbugs.gnu.org; Wed, 23 Feb 2022 14:55:57 -0500 Received: from lists.gnu.org ([209.51.188.17]:39512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMxjs-000062-Lh for submit@debbugs.gnu.org; Wed, 23 Feb 2022 14:55:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55662) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMxjs-0002kO-6w for guix-patches@gnu.org; Wed, 23 Feb 2022 14:55:52 -0500 Received: from mail-40133.protonmail.ch ([185.70.40.133]:56033) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMxjp-0001ty-LA for guix-patches@gnu.org; Wed, 23 Feb 2022 14:55:51 -0500 Date: Wed, 23 Feb 2022 19:55:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1645646144; bh=WFtW71gbM6G7oOSqQ7xFlmi6pHK5gnVdfHpo6kvmJJo=; h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc:Date:Subject: Reply-To:Feedback-ID:Message-ID; b=OKhNOANrbMvFdBiPcuZ/VTmDnCGVT+29ggsOzG2JovEKlebtcSpuEfP2vB2c2RovX 1EK0AWFDKgEzUq3ydFFR5Ss0BJ8ZPUx8DD02Ttypz6hUkhpoEOIPV778FRQUmoC1gN mjf1p2MD8yvx816ejXGfemzJGKyTBlbCZcacjl9abvFz/3GtbsCCTsXHYeRvhKUQwm s8pkfU+sFoQd1fpA8hwnGY7V7xspGm64nXqt2Z/mali4MJ/lWwwIJ5oIUrsby0CBAW ip7CFd9JZQjx5nRodZf+AsKYos0ai0oSTVK4If2TtGdan/7+Uk1g2SwsgMEhMkOTTN AUdewd2/43Heg== Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.40.133; envelope-from=john.kehayias@protonmail.com; helo=mail-40133.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: John Kehayias X-ACL-Warn: , John Kehayias via Guix-patches X-Patchwork-Original-From: John Kehayias via Guix-patches via From: John Kehayias X-getmail-retrieved-from-mailbox: Patches Imgui was being built without two of its files, removing table and widget support from the built library. This simple patch adds them back to the build phase. Tested it builds and those features work in a package (mangohud) that uses them. From 11c8aa71d3e226b469e4ed3c65fd85851eb63f76 Mon Sep 17 00:00:00 2001 From: John Kehayias Date: Wed, 23 Feb 2022 14:51:32 -0500 Subject: [PATCH] gnu: imgui: Add missing build files. * gnu/packages/toolkits.scm (imgui)[phases]: Add imgui_tables.cpp and imgui_widgets.cpp to the build phase. --- gnu/packages/toolkits.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/packages/toolkits.scm b/gnu/packages/toolkits.scm index ee0cffa2f9..ba860014a4 100644 --- a/gnu/packages/toolkits.scm +++ b/gnu/packages/toolkits.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2022 Maxim Cournoyer ;;; Copyright © 2020 Tobias Geerinckx-Rice +;;; Copyright © 2022 John Kehayias ;;; ;;; This file is part of GNU Guix. ;;; @@ -69,6 +70,8 @@ (define-public imgui "-o" "libimgui.so" "imgui.cpp" "imgui_draw.cpp" + "imgui_tables.cpp" + "imgui_widgets.cpp" ;; Include the supported backends. "backends/imgui_impl_glfw.cpp" "backends/imgui_impl_sdl.cpp" -- 2.34.0