From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 4CVuIlc1z2TpGAEASxT56A (envelope-from ) for ; Sun, 06 Aug 2023 07:53:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id sBI6IVc1z2Q+hgEAG6o9tA (envelope-from ) for ; Sun, 06 Aug 2023 07:53:27 +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 0BD174E6E3 for ; Sun, 6 Aug 2023 07:53:26 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dan.games header.s=fm1 header.b="0i/8HhBs"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=M9Aier5L; 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=1691301207; h=from:from:sender:sender: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=XEifcOeLlIDhtPz1ZgGcyXZ0EetFfgnwBU0zGAyEics=; b=rnfeC82o0F3Sb5cUoN14ir3s7MMX31GLKNunbCYQmk+sykiIxYzUKad5K2MWJbkc0j73mQ /SlT5xIsJQKJaR7PlDxQrACGzduCY1peoPFowW3KqmrDgICS9Y9qDeksdjawoprR0gQC5T 5mVUvn7a0NIv43JWm+93f5687oAZ2XreySBC+Jzlxcpb/6SZdnmaL79LwuZkDy2E86aq9F +5KWVhdg/y3/wOve1JnVruSCaLNy2Wr4Fw+zNuf2+u4TEmvSVOFaLszd5yZPTFLcsMWmms Ib7lHQHAVPSXNZK0MIautNpLdFltdYYCg2l6rXPMDRFmgPKwI4HzyrpA9jTRYw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691301207; a=rsa-sha256; cv=none; b=aZXUEvu7N3QUE7zFFh8wd+akf2AR5v1XM3+GiJGScm0eZJAsOXNuV3toHKkHENI1Tf1wq6 9rPKP5esigWdAiGENt/MKAzAklW0BibChki9jARGrAkWH4UgGwakZO4IIcCiXBUOVZHBjz yzAsYGvAyquuAC0+wx+2Xf1oarDtRrW7RZTehIwZWCM9e3n9HB6v/zWIqHBwjlKoZudsWM tPzzFQszwUHSQ0eB5CLF3A/3Xi2KsCJqzFIMhFz5B3IzXO+9nVKIMoefaH3Z6doRw08pRv 9Ax8i8aYq+epe6YSNsckcakoUCjj7rXq3RI46kTfoo2ALWQdKYN1RVN6uU7Taw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dan.games header.s=fm1 header.b="0i/8HhBs"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=M9Aier5L; 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 1qSWhL-0000nk-Lp; Sun, 06 Aug 2023 01:53:03 -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 1qSWhK-0000nc-KY for guix-patches@gnu.org; Sun, 06 Aug 2023 01:53:02 -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 1qSWhK-0004zr-CD for guix-patches@gnu.org; Sun, 06 Aug 2023 01:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qSWhK-0004F2-6z for guix-patches@gnu.org; Sun, 06 Aug 2023 01:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65107] [PATCH] gnu: Add gf. Resent-From: dan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Aug 2023 05:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65107 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65107@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169130115516269 (code B ref -1); Sun, 06 Aug 2023 05:53:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Aug 2023 05:52:35 +0000 Received: from localhost ([127.0.0.1]:58547 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSWgs-0004EK-Rm for submit@debbugs.gnu.org; Sun, 06 Aug 2023 01:52:35 -0400 Received: from lists.gnu.org ([2001:470:142::17]:58934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSWgp-0004Dx-JZ for submit@debbugs.gnu.org; Sun, 06 Aug 2023 01:52:33 -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 1qSWgj-0000kv-RM for guix-patches@gnu.org; Sun, 06 Aug 2023 01:52:25 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qSWgi-0004qF-2m for guix-patches@gnu.org; Sun, 06 Aug 2023 01:52:25 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 647583200754 for ; Sun, 6 Aug 2023 01:52:21 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sun, 06 Aug 2023 01:52:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dan.games; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to; s=fm1; t=1691301140; x=1691387540; bh=XE ifcOeLlIDhtPz1ZgGcyXZ0EetFfgnwBU0zGAyEics=; b=0i/8HhBshvf7wU2y50 dBfg9I3wNrDQbccZpPZXxa8+zxWjnQDrHaelQaX098AFppaa75Ca2eMblqOectXl /bGPJMw+YkcBAMXn9k1SvxDM/MtethXL+pR3dYRP02Z6nhPXoynqrvJ0igi8lq2V zgiScvkj+BQ2rf7f95Soq8LYEe5MEZNx26vJ1mfUddoD/9hGMX120p/Qepqe+Bfe pGSOj3/aEqUMEPiFPGkm9KS5aoTbSzYDiMfZ28+uziUJoOViuXnmPe2PsDBn3CLX 9Blh/s+0MEuEciuf4sPnnIZ7HMBOdm1WUbFnQ4w8h5weI9MNflwmQNPNZosqedi+ h2OQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1691301140; x=1691387540; bh=XEifcOeLlIDht Pz1ZgGcyXZ0EetFfgnwBU0zGAyEics=; b=M9Aier5LQZzhDSDj6GCew3XQTIRKI gz1LZD0nfJ8bhronchY9c0zNcIHR8Ku2OA/PQ2N6vgtTMqxKfP+ZBva2HlrJgyc1 Y7Y1XEqSwhHJONMhfcPJcelfA4vJaySLPGwFyfLFOUnxO0tLU7NP+QNJPe3oUYPC nPSP4DlQ0IX07pZ/g6y9SGKVh0CYLVqJn6/MxeD4IGSUo7KMM0eBxY9toSeHDxBn bGFnxR6P8BH6BCCVGll+UQWmaOt5dBEIMB7bgUINYV99hRXsbrAEdEAXcqGNhPO+ 9TUYQguPBFqsEANplFU92YvJ19ZLKcmTMKqMkBhAr4BtsX+hqXhvPVl/Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrkeejgddutdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofggtgfgsehtkeertd ertdejnecuhfhrohhmpegurghnuceoihesuggrnhdrghgrmhgvsheqnecuggftrfgrthht vghrnheptddtuddtjedvgedvteefieeiveelffetheffgfevueeiteelleevfedvudevje fgnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigvpedt necurfgrrhgrmhepmhgrihhlfhhrohhmpehisegurghnrdhgrghmvghs X-ME-Proxy: Feedback-ID: i3b5946ed:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sun, 6 Aug 2023 01:52:19 -0400 (EDT) From: dan Date: Sun, 6 Aug 2023 13:52:12 +0800 Message-ID: <20230806055213.29704-1-i@dan.games> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=64.147.123.25; envelope-from=i@dan.games; helo=wout2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 0BD174E6E3 X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -4.25 X-Spam-Score: -4.25 X-TUID: PKrb7yV2WcGe --- gnu/packages/debug.scm | 56 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/gnu/packages/debug.scm b/gnu/packages/debug.scm index e2a29a3ae9..104ecc3091 100644 --- a/gnu/packages/debug.scm +++ b/gnu/packages/debug.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2022 Matthew James Kraai ;;; Copyright © 2023 Andy Tai ;;; Copyright © 2023 Ricardo Wurmus +;;; Copyright © 2023 dan ;;; ;;; This file is part of GNU Guix. ;;; @@ -50,6 +51,7 @@ (define-module (gnu packages debug) #:use-module (gnu packages code) #:use-module (gnu packages compression) #:use-module (gnu packages flex) + #:use-module (gnu packages fontutils) #:use-module (gnu packages gdb) #:use-module (gnu packages glib) #:use-module (gnu packages gtk) @@ -918,3 +920,57 @@ (define-public delve (synopsis "Debugger for the Go programming language") (description "Delve is a debugger for the Go programming language.") (license license:expat))) + +(define-public gf + (let ((commit "77a1f69204ceca5e62936976f97c62085a705126") + (revision "0")) + (package + (name "gf") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nakst/gf") + (commit commit))) + (sha256 + (base32 + "167ykfv7vf5vajxd5m3ggw4avpcim0i0bfmbxb495n8rgpaiizdy")) + (file-name (git-file-name name version)))) + (build-system gnu-build-system) + (arguments + (list #:tests? #f ; no test + #:phases #~(modify-phases %standard-phases + (delete 'configure) + (replace 'build + (lambda* _ + (invoke "g++" + "gf2.cpp" + "-o" + "gf2" + "-g" + "-O2" + "-lX11" + "-lfreetype" + "-pthread" + (string-append "-I" + #$freetype + "/include/freetype2") + "-DUI_FREETYPE" + "-DUI_NO_COLOR_PICKER" + "-DUI_SSE2" + "-Wall" + "-Wextra" + "-Wno-unused-parameter" + "-Wno-unused-result" + "-Wno-missing-field-initializers" + "-Wno-format-truncation"))) + (replace 'install + (lambda* _ + (install-file "gf2" + (string-append #$output "/bin"))))))) + (inputs (list libx11 libxext libxcursor freetype)) + (propagated-inputs (list gdb)) + (home-page "https://github.com/nakst/gf") + (synopsis "GDB frontend") + (description "A graphical GDB frontend for Linux.") + (license license:expat)))) base-commit: c4b9f726e3a1889b92a4b14a2af1c25f10798469 -- 2.41.0