From patchwork Wed Aug 24 18:05:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Cairn X-Patchwork-Id: 41924 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 3F30827BBEA; Wed, 24 Aug 2022 19:17:09 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 026A827BBE9 for ; Wed, 24 Aug 2022 19:17:09 +0100 (BST) Received: from localhost ([::1]:37664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQuw8-0007p3-2m for patchwork@mira.cbaines.net; Wed, 24 Aug 2022 14:17:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44512) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQulP-0000q3-Rz for guix-patches@gnu.org; Wed, 24 Aug 2022 14:06:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58419) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQulP-0000fB-8e for guix-patches@gnu.org; Wed, 24 Aug 2022 14:06:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oQulP-0004i1-4K for guix-patches@gnu.org; Wed, 24 Aug 2022 14:06:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57390] [PATCH 1/3] gnu: Add go-github-com-veandco-go-sdl2. References: <20220824180118.28815-1-cairn@pm.me> In-Reply-To: <20220824180118.28815-1-cairn@pm.me> Resent-From: Cairn Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 24 Aug 2022 18:06:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57390 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57390@debbugs.gnu.org Cc: Cairn Received: via spool by 57390-submit@debbugs.gnu.org id=B57390.166136433218034 (code B ref 57390); Wed, 24 Aug 2022 18:06:03 +0000 Received: (at 57390) by debbugs.gnu.org; 24 Aug 2022 18:05:32 +0000 Received: from localhost ([127.0.0.1]:48164 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQuku-0004gn-2R for submit@debbugs.gnu.org; Wed, 24 Aug 2022 14:05:32 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]:61343) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQukp-0004gN-2f for 57390@debbugs.gnu.org; Wed, 24 Aug 2022 14:05:30 -0400 Date: Wed, 24 Aug 2022 18:05:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1661364320; x=1661623520; bh=jeCAmeEEA2Cizq6Sn5/UFdB/aA64mB1QQW+x7acAUgU=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:Feedback-ID:From:To: Cc:Date:Subject:Reply-To:Feedback-ID:Message-ID; b=h0lXwbabeojj51F9jAN/+zNG8ThgaFrogcAkNIyn2BSI/vpbxL8aR3v1JBLyET08w rBVQsWGQXx8PwbH+ehCzC9j8DC25HeYKHkLErtJdC2dChO+KVIdktbIgidZRQpSkR1 iPm0XXmKMC3HljUIF2NRmvc47Qfzvb6ptSUbBttV7B5ZqfjjUkpqYDTn419QTWJkrb /UhKGwOoF2JPQKNISQttbJDPqBwigAV4XXsAegVG9hqUmrBAvaB/yaq82uJLEx6Y/Y TVsjtY9S4ATRt7tDtBEdufG6coDgy4itQNnycK67iSiT3+1I3xgFClo12Y6nRYXo2+ WekEkZPH8/6sg== Message-ID: <20220824180447.29003-1-cairn@pm.me> Feedback-ID: 6989168:user:proton 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" Reply-to: Cairn X-ACL-Warn: , Cairn via Guix-patches X-Patchwork-Original-From: Cairn via Guix-patches via From: Cairn X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-veandco-go-sdl2): New variable. --- gnu/packages/golang.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index d2f3dc39df..b295b826e9 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -35,6 +35,7 @@ ;;; Copyright © 2021 Lu Hui ;;; Copyright © 2022 Pier-Hugues Pellerin ;;; Copyright © 2022 muradm +;;; Copyright © 2022 Cairn ;;; ;;; This file is part of GNU Guix. ;;; @@ -83,6 +84,7 @@ (define-module (gnu packages golang) #:use-module (gnu packages textutils) #:use-module (gnu packages tls) #:use-module (gnu packages web) + #:use-module (gnu packages sdl) #:use-module (ice-9 match) #:use-module (srfi srfi-1)) @@ -9914,3 +9916,33 @@ (define-public go-github-com-sourcegraph-jsonrpc2 (description "Package jsonrpc2 provides a Go implementation of JSON-RPC 2.0.") (license license:expat))) + +(define-public go-github-com-veandco-go-sdl2 + (package + (name "go-github-com-veandco-go-sdl2") + (version "0.4.25") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/veandco/go-sdl2") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1jvk0bpbq7dbza03a5j9yisij65si59zqzn2x9km2xjdjzbdzpyy")))) + (build-system go-build-system) + (arguments + '(#:tests? #f + #:import-path "github.com/veandco/go-sdl2/sdl" + #:unpack-path "github.com/veandco/go-sdl2")) + (native-inputs (list pkg-config)) + (propagated-inputs (list sdl2 + sdl2-image + sdl2-mixer + sdl2-ttf + sdl2-gfx)) + (home-page "https://github.com/veandco/go-sdl2") + (synopsis "Go bindings for the SDL2 library") + (description "Go-SDL2 is SDL2 wrapped for Go users. It enables +interoperability between Go and the SDL2 library.") + (license license:bsd-3))) From patchwork Wed Aug 24 18:06:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cairn X-Patchwork-Id: 41925 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 37EAD27BBE9; Wed, 24 Aug 2022 19:17:37 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 5B0DE27BBEB for ; Wed, 24 Aug 2022 19:17:34 +0100 (BST) Received: from localhost ([::1]:54694 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQuwX-00089K-HE for patchwork@mira.cbaines.net; Wed, 24 Aug 2022 14:17:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42154) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQumM-0002RV-TN for guix-patches@gnu.org; Wed, 24 Aug 2022 14:07:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58424) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQumM-0000pJ-LB for guix-patches@gnu.org; Wed, 24 Aug 2022 14:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oQumM-0004jd-HZ for guix-patches@gnu.org; Wed, 24 Aug 2022 14:07:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57390] [PATCH 2/3] gnu: Add go-github-com-anaseto-gruid-sdl. References: <20220824180118.28815-1-cairn@pm.me> In-Reply-To: <20220824180118.28815-1-cairn@pm.me> Resent-From: Cairn Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 24 Aug 2022 18:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57390 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57390@debbugs.gnu.org Cc: Cairn Received: via spool by 57390-submit@debbugs.gnu.org id=B57390.166136439918168 (code B ref 57390); Wed, 24 Aug 2022 18:07:02 +0000 Received: (at 57390) by debbugs.gnu.org; 24 Aug 2022 18:06:39 +0000 Received: from localhost ([127.0.0.1]:48173 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQuly-0004iy-P1 for submit@debbugs.gnu.org; Wed, 24 Aug 2022 14:06:39 -0400 Received: from mail-4322.protonmail.ch ([185.70.43.22]:31021) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQulx-0004il-0d for 57390@debbugs.gnu.org; Wed, 24 Aug 2022 14:06:37 -0400 Date: Wed, 24 Aug 2022 18:06:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1661364391; x=1661623591; bh=SXvS2QpBAz3rkNN9ihsK3kARh8TV9lN2akE/ZCfcfdg=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:Feedback-ID:From:To: Cc:Date:Subject:Reply-To:Feedback-ID:Message-ID; b=c9KlXmDhzxidIafb3Ys0Kbm6242A9woUsEVjPh2OippNOGk3DutygQrj62/LypoK9 F4MvIK8hzN/dHz2S+UAIGQJkl91smR31anJsiLGxJ9Z88gM7rWhpqr8s37ri68ejRU XlIv9LjrXcNQ8NCf0EXmGzWA2c5PyWLwbDO4yiQbVrp05tx5owVY6w9rva+TIpOejF 0FCCLaK9uhVtU6moal8T1nHY19T0LiDdRpdWfMk2v1OQMOlF5lB5NXaEW4VoQ/B6DF eYWFkjt/rvmk6YjVHldkWTLyXThoUeAUbV5CivC7Whg0Q/INVSdwwD8bDAkM3vheZC f6bq7o6XbKmig== Message-ID: <20220824180614.29179-1-cairn@pm.me> Feedback-ID: 6989168:user:proton 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" Reply-to: Cairn X-ACL-Warn: , Cairn via Guix-patches X-Patchwork-Original-From: Cairn via Guix-patches via From: Cairn X-getmail-retrieved-from-mailbox: Patches * gnu/packages/games.scm (go-github-com-anaseto-gruid-sdl): New variable. --- gnu/packages/games.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index a3278b8918..7f5d59cce1 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -9474,6 +9474,32 @@ (define-public go-github-com-anaseto-gruid-tcell terminal full-window applications.") (license license:isc))) +(define-public go-github-com-anaseto-gruid-sdl + (package + (name "go-github-com-anaseto-gruid-sdl") + (version "0.4.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/anaseto/gruid-sdl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "14g26kskkkp509bnql5brbainxxvp59qb59b5s7qqgv9hxgx201m")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/anaseto/gruid-sdl")) + (native-inputs (list pkg-config)) + (inputs (list go-github-com-anaseto-gruid + go-golang-org-x-image)) + (propagated-inputs (list go-github-com-veandco-go-sdl2)) + (home-page "https://github.com/anaseto/gruid-sdl") + (synopsis "Gruid driver for using the SDL2 library") + (description "The gruid-sdl2 module provides a Gruid driver for +building native graphical applications with SDL2.") + (license license:isc))) + (define-public harmonist (package (name "harmonist") From patchwork Wed Aug 24 18:06:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Cairn X-Patchwork-Id: 41926 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 9F88B27BBEA; Wed, 24 Aug 2022 19:17:46 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 60C9627BBE9 for ; Wed, 24 Aug 2022 19:17:46 +0100 (BST) Received: from localhost ([::1]:46370 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQuwj-0008WO-Hp for patchwork@mira.cbaines.net; Wed, 24 Aug 2022 14:17:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQunK-0003h4-6V for guix-patches@gnu.org; Wed, 24 Aug 2022 14:08:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58429) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQunJ-0000w7-Tm for guix-patches@gnu.org; Wed, 24 Aug 2022 14:08:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oQunJ-0004lM-Pm for guix-patches@gnu.org; Wed, 24 Aug 2022 14:08:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57390] [PATCH 3/3] gnu: Add harmonist-sdl. References: <20220824180118.28815-1-cairn@pm.me> In-Reply-To: <20220824180118.28815-1-cairn@pm.me> Resent-From: Cairn Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 24 Aug 2022 18:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57390 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57390@debbugs.gnu.org Cc: Cairn Received: via spool by 57390-submit@debbugs.gnu.org id=B57390.166136443218242 (code B ref 57390); Wed, 24 Aug 2022 18:08:01 +0000 Received: (at 57390) by debbugs.gnu.org; 24 Aug 2022 18:07:12 +0000 Received: from localhost ([127.0.0.1]:48178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQumW-0004k9-4K for submit@debbugs.gnu.org; Wed, 24 Aug 2022 14:07:12 -0400 Received: from mail-40131.protonmail.ch ([185.70.40.131]:16453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQumU-0004jw-2U for 57390@debbugs.gnu.org; Wed, 24 Aug 2022 14:07:10 -0400 Date: Wed, 24 Aug 2022 18:06:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1661364423; x=1661623623; bh=piQCJFeb358zmbWwHwXDLFEXR6ZWrzqloVcTfL6ZV2M=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:Feedback-ID:From:To: Cc:Date:Subject:Reply-To:Feedback-ID:Message-ID; b=k+2nnhHQXKIQ9XZPyxCmVvdem8CXTS7zixBo5e9Ff2MBlE9UFtKg+X/winqZOCpYL XPh2I1KfiSZQrv5nGeYruQpdJFvUCtLON5IgPxvTQVqJZYZR/2Q3j4QTZZPm3pm7Az yXSYTs3oW9BUzRkSUfhavonGRms8QhNFbztOpDNNhUyzBTeEOVfAiOuNDvMGqzjrqn ZKgCAHTw65zG7zOwzktlRCXZkNu/6Hu7e1Z20f7SX4XeY1VTErPb2W5x5gAXtXv9G2 dae1+7xOojNwWeHbJFYKxz1YCVlObOryqLCjHm0xd9cSOxnr/aFxn6kYhsm8UfpQOV K7jlBjFqSPVKw== Message-ID: <20220824180646.29263-1-cairn@pm.me> Feedback-ID: 6989168:user:proton 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" Reply-to: Cairn X-ACL-Warn: , Cairn via Guix-patches X-Patchwork-Original-From: Cairn via Guix-patches via From: Cairn X-getmail-retrieved-from-mailbox: Patches * gnu/packages/games.scm (harmonist-sdl): New variable. --- gnu/packages/games.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 7f5d59cce1..6e8e695c02 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -73,6 +73,7 @@ ;;; Copyright © 2022 zamfofex ;;; Copyright © 2022 Gabriel Arazas ;;; Copyright © 2022 Maxim Cournoyer +;;; Copyright © 2022 Cairn ;;; ;;; This file is part of GNU Guix. ;;; @@ -9531,6 +9532,22 @@ (define-public harmonist on items and player adaptability for character progression.") (license license:isc))) +(define-public harmonist-sdl + (package + (inherit harmonist) + (name "harmonist-sdl") + (native-inputs + (modify-inputs (package-native-inputs harmonist) + (append pkg-config))) + (inputs + (modify-inputs (package-inputs harmonist) + (append go-github-com-anaseto-gruid-sdl))) + (arguments + (substitute-keyword-arguments (package-arguments harmonist) + ((#:build-flags flags ''()) + `(append '("--tags" "sdl") + ,flags)))))) + (define-public drascula (package (name "drascula")