From patchwork Wed Jun 9 17:00:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30086 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 96CF227BC83; Wed, 9 Jun 2021 18:03:05 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, TVD_SPACE_RATIO,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3B9A227BC81 for ; Wed, 9 Jun 2021 18:03:05 +0100 (BST) Received: from localhost ([::1]:53132 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lr1bZ-0003gJ-Pu for patchwork@mira.cbaines.net; Wed, 09 Jun 2021 13:03:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lr1Zh-0002rQ-TI for guix-patches@gnu.org; Wed, 09 Jun 2021 13:01:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51190) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lr1Ze-0007Ds-Rq for guix-patches@gnu.org; Wed, 09 Jun 2021 13:01:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lr1Ze-0002dP-Qq for guix-patches@gnu.org; Wed, 09 Jun 2021 13:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v3 31/47] gnu: Add go-github-com-getlantern-errors. References: <574ccbc7-599c-082b-51ca-17e625d4575f@raghavgururajan.name> In-Reply-To: <574ccbc7-599c-082b-51ca-17e625d4575f@raghavgururajan.name> Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 09 Jun 2021 17:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.16232580519995 (code B ref 48729); Wed, 09 Jun 2021 17:01:02 +0000 Received: (at 48729) by debbugs.gnu.org; 9 Jun 2021 17:00:51 +0000 Received: from localhost ([127.0.0.1]:34471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1ZS-0002b8-Ms for submit@debbugs.gnu.org; Wed, 09 Jun 2021 13:00:50 -0400 Received: from out2.migadu.com ([188.165.223.204]:29821) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1ZP-0002aj-JZ for 48729@debbugs.gnu.org; Wed, 09 Jun 2021 13:00:49 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623258045; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=7GyPO1w+6i7UFEjIWAJGBVDqZGbVVm58CppW8ZUFNGI=; b=BooBXb+UOcx35gzumNqM6OTcxy2bMtbdbVzsS6qU643oWbUfUV9w/cLEJn82GZ0L9AJ9pU 4S1C3VOy/NuFxoVSz6FUX+VKGKbTzU4MUyAjmCY42+4f6icas44tbfDAJduTSV3WHolh/M LaBRoi4KDoy8R3ENt486hLOejSRjK+RKZayp6O+p0LMxnSbPsAK6dx6Kb0XyCfCwPqipnG oPhz6poHuILMkp0dv8Ax+5IjmDp7+TxWrFR765UVgsAW4ZYHs/qScWcgMnlRc3hcx+OvOR uLMWrAG8VnKexjJn0hn0W+jiOC4n5+L60r9SUOj200bM6eZGI8NtwRWoDdJI+g== Date: Wed, 9 Jun 2021 13:00:06 -0400 Message-Id: <20210609170022.8207-31-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name 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: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-getlantern-errors): New variable. --- gnu/packages/golang.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 0bd8792c10..4886a0d326 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -69,6 +69,39 @@ #:use-module (ice-9 match) #:use-module (srfi srfi-1)) +(define-public go-github-com-getlantern-errors + (package + (name "go-github-com-getlantern-errors") + (version "1.0.1") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/getlantern/errors") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0ymz5nb9dplrim9sgfb523iqx1x08bxvbv9383ry2zbsfgqkc966")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/getlantern/errors")) + (native-inputs + `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify))) + (propagated-inputs + `(("go-github-com-getlantern-context" + ,go-github-com-getlantern-context) + ("go-github-com-getlantern-hidden" + ,go-github-com-getlantern-hidden) + ("go-github-com-getlantern-ops" + ,go-github-com-getlantern-ops) + ("go-github-com-go-stack-stack" + ,go-github-com-go-stack-stack))) + (home-page "https://github.com/getlantern/errors") + (synopsis "Structured errors for Go") + (description "Structured errors for Go.") + (license license:asl2.0))) + (define-public go-github-com-go-stack-stack (package (name "go-github-com-go-stack-stack") From patchwork Wed Jun 9 17:00:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30088 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 9A08127BC81; Wed, 9 Jun 2021 18:03:14 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5E76C27BC78 for ; Wed, 9 Jun 2021 18:03:14 +0100 (BST) Received: from localhost ([::1]:53214 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lr1bl-0003jP-DL for patchwork@mira.cbaines.net; Wed, 09 Jun 2021 13:03:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42924) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lr1Zh-0002rO-S1 for guix-patches@gnu.org; Wed, 09 Jun 2021 13:01:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51186) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lr1Zg-0007Di-2z for guix-patches@gnu.org; Wed, 09 Jun 2021 13:01:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lr1Ze-0002d9-2Q for guix-patches@gnu.org; Wed, 09 Jun 2021 13:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v3 32/47] gnu: Add go-github-com-oxtoacart-bpool. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 09 Jun 2021 17:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162325805110003 (code B ref 48729); Wed, 09 Jun 2021 17:01:02 +0000 Received: (at 48729) by debbugs.gnu.org; 9 Jun 2021 17:00:51 +0000 Received: from localhost ([127.0.0.1]:34473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1ZS-0002bA-UL for submit@debbugs.gnu.org; Wed, 09 Jun 2021 13:00:51 -0400 Received: from out2.migadu.com ([188.165.223.204]:29827) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1ZP-0002am-Mq for 48729@debbugs.gnu.org; Wed, 09 Jun 2021 13:00:49 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623258047; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SOUAKGDhg9GKSycYuHl0smTgHXxIGONjm10j2ac/P1c=; b=e97mm43Vh3Hl8rG0h7GHEF8v8AtQk8kWDbYtPO8YxPv4rqzV9QvvJhQQF+Nf3G32du7xmb 6LmLqJeJy+0f5AXeKoyHFb+S70+qbWKd9F1PO7eoM5hVyEnTABQJv3lPT/FuyaRj3DrV6l VMg/vr94VnixxxdA7fbm+6Cl68lW6gPy0FalWVsKCbrZ4ovh+tPD0P6rUwPOznDt0M6U7k v3g/k/9gcboYtTot6DoT1hh99/X9Pi90bI3vWPwTRVtTsl6pKTCRe7Ct7m8M6logke2r6V d0ijMYiXSTpMo+6zWBXOiFd7Ws+Z+MUsShOIRwNDwhNvMvfP2fY5tjOuGS6r8Q== Date: Wed, 9 Jun 2021 13:00:07 -0400 Message-Id: <20210609170022.8207-32-rg@raghavgururajan.name> In-Reply-To: <20210609170022.8207-31-rg@raghavgururajan.name> References: <20210609170022.8207-31-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name 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: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-oxtoacart-bpool): New variable. --- gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 4886a0d326..eaca6b9351 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -69,6 +69,34 @@ #:use-module (ice-9 match) #:use-module (srfi srfi-1)) +(define-public go-github-com-oxtoacart-bpool + (let ((commit "03653db5a59cd88b481403d312d7c324b56af377") + (revision "18")) + (package + (name "go-github-com-oxtoacart-bpool") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/oxtoacart/bpool") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1crdgm5w6kvcnvdglrrnrfkh5h60ldafwvrv00q97lz3790kgb15")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/oxtoacart/bpool")) + (native-inputs + `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify))) + (synopsis "Buffer/Byte pool for Go") + (description "Bpool implements leaky pools of byte arrays and buffers as +bounded channels. It is based on the leaky buffer example from the Effective Go +documentation.") + (home-page "https://github.com/oxtoacart/bpool") + (license license:asl2.0)))) + (define-public go-github-com-getlantern-errors (package (name "go-github-com-getlantern-errors") From patchwork Wed Jun 9 17:00:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30083 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 D6EDF27BC81; Wed, 9 Jun 2021 18:02:04 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, TVD_SPACE_RATIO,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7A1BF27BC78 for ; Wed, 9 Jun 2021 18:02:04 +0100 (BST) Received: from localhost ([::1]:52246 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lr1ad-0002v0-Gn for patchwork@mira.cbaines.net; Wed, 09 Jun 2021 13:02:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42918) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lr1Zh-0002rL-S4 for guix-patches@gnu.org; Wed, 09 Jun 2021 13:01:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51187) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lr1Zg-0007Do-Ew for guix-patches@gnu.org; Wed, 09 Jun 2021 13:01:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lr1Ze-0002dH-EX for guix-patches@gnu.org; Wed, 09 Jun 2021 13:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v3 33/47] gnu: Add go-github-com-getlantern-golog. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 09 Jun 2021 17:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162325805110010 (code B ref 48729); Wed, 09 Jun 2021 17:01:02 +0000 Received: (at 48729) by debbugs.gnu.org; 9 Jun 2021 17:00:51 +0000 Received: from localhost ([127.0.0.1]:34475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1ZT-0002bI-5X for submit@debbugs.gnu.org; Wed, 09 Jun 2021 13:00:51 -0400 Received: from out2.migadu.com ([188.165.223.204]:29838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1ZR-0002ar-Fp for 48729@debbugs.gnu.org; Wed, 09 Jun 2021 13:00:49 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623258048; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JhawOr9rqtJTVwgiEQcArC1khwehb3bq+Y3cyDQG7MI=; b=rQCZHMA3UVHKsfRus5btjBSEXBqYZROmuGCoW+x8ZfqpW3+zDjtM2Qtu1PrTlG2oL0eV/5 ViH+5ZYHx8pWmwAc8befSvuDjyTkutmhKOUHozLWIc/biTe6zm9rGrwi1a2sGkY5zDrJm2 h4/T+0OAsBX8+LTCI45KZwddG2UvkUgP1AG2NnfQK3btmoOSC+Vlx4j6PBWEaQWnGj4kDp KlDbauFfDW54iogVuiduDNhTMT6xV0D9mFJCi/lTmowBD4EAK5EL3MbCpzLwsMr/E9Q0SU 2lwHokfDvYOaHD5QkP7RRACW+lbJ9aDCzjUhMRCzaYH4DdMSrNKg+0zQTtlMOg== Date: Wed, 9 Jun 2021 13:00:08 -0400 Message-Id: <20210609170022.8207-33-rg@raghavgururajan.name> In-Reply-To: <20210609170022.8207-31-rg@raghavgururajan.name> References: <20210609170022.8207-31-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name 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: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-getlantern-golog): New variable. --- gnu/packages/golang.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index eaca6b9351..3e7366f60f 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -69,6 +69,41 @@ #:use-module (ice-9 match) #:use-module (srfi srfi-1)) +(define-public go-github-com-getlantern-golog + (let ((commit "9586b8bde3a95f71c84d9ee2a1a3f778759a76ab") + (revision "25")) + (package + (name "go-github-com-getlantern-golog") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/getlantern/golog") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0pqmvjqh5lv5ldc93srvlq9nwianxyjfvmjzxx4xmncbxgqsxgli")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/getlantern/golog")) + (native-inputs + `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify))) + (propagated-inputs + `(("go-github-com-getlantern-errors" + ,go-github-com-getlantern-errors) + ("go-github-com-getlantern-hidden" + ,go-github-com-getlantern-hidden) + ("go-github-com-getlantern-ops" + ,go-github-com-getlantern-ops) + ("go-github-com-oxtoacart-bpool" + ,go-github-com-oxtoacart-bpool))) + (synopsis "Basic logging for Go") + (description "GoLog provides logging used in many getlantern components.") + (home-page "https://github.com/getlantern/golog") + (license license:asl2.0)))) + (define-public go-github-com-oxtoacart-bpool (let ((commit "03653db5a59cd88b481403d312d7c324b56af377") (revision "18")) From patchwork Wed Jun 9 17:00:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30085 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 43F5927BC81; Wed, 9 Jun 2021 18:02:52 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 015DA27BC78 for ; Wed, 9 Jun 2021 18:02:52 +0100 (BST) Received: from localhost ([::1]:53074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lr1bP-0003dc-28 for patchwork@mira.cbaines.net; Wed, 09 Jun 2021 13:02:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42916) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lr1Zh-0002rK-S8 for guix-patches@gnu.org; Wed, 09 Jun 2021 13:01:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51195) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lr1Zf-0007Dx-Ay for guix-patches@gnu.org; Wed, 09 Jun 2021 13:01:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lr1Zf-0002dX-8w for guix-patches@gnu.org; Wed, 09 Jun 2021 13:01:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v3 34/47] gnu: Add go-github-com-getlantern-systray. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 09 Jun 2021 17:01:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162325805510040 (code B ref 48729); Wed, 09 Jun 2021 17:01:03 +0000 Received: (at 48729) by debbugs.gnu.org; 9 Jun 2021 17:00:55 +0000 Received: from localhost ([127.0.0.1]:34483 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1ZX-0002bq-FA for submit@debbugs.gnu.org; Wed, 09 Jun 2021 13:00:55 -0400 Received: from out2.migadu.com ([188.165.223.204]:29850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1ZT-0002bF-7J for 48729@debbugs.gnu.org; Wed, 09 Jun 2021 13:00:51 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623258050; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZnHDADUuyn0l7LyMjl2N6QO5CnY4R62HuRw90fVhtv4=; b=kWDq7NqpCBsPbolbC+SNci3cKxCrDMTYDG0GlWttEfR/13+ivAKprYfzvKpO5iM1175Z/p pqo53ZYIO4FTcZ+zn8pix44D79QHMnseYoGxelWTluWhz6kboYmmsRzOyvHwmyJMQfl8ed IyNCPNpbkCwthoX4iY0Z9Pfh+CrGd2CrDKKtc0cG0pdeahTV4LkTrOebk5juQ1HuE40b6X 4iLASl/pRvCg6nZ6lmomXqtrSMnhL5WAxn4OEN4UFyCRzV19SaopYUqVycIve4MmqKYNB+ YGkDrx2U3NunHJGJT9HkitbaaKpQiLBZ/7BBPzlV0V2j8wmJcKnUoJqjxpm2AA== Date: Wed, 9 Jun 2021 13:00:09 -0400 Message-Id: <20210609170022.8207-34-rg@raghavgururajan.name> In-Reply-To: <20210609170022.8207-31-rg@raghavgururajan.name> References: <20210609170022.8207-31-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name 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: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-getlantern-systray): New variable. --- gnu/packages/golang.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 3e7366f60f..e9611b6f67 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -55,8 +55,10 @@ #:use-module (gnu packages) #:use-module (gnu packages admin) #:use-module (gnu packages base) + #:use-module (gnu packages freedesktop) #:use-module (gnu packages gcc) #:use-module (gnu packages glib) + #:use-module (gnu packages gtk) #:use-module (gnu packages lua) #:use-module (gnu packages mp3) #:use-module (gnu packages pcre) @@ -69,6 +71,39 @@ #:use-module (ice-9 match) #:use-module (srfi srfi-1)) +(define-public go-github-com-getlantern-systray + (package + (name "go-github-com-getlantern-systray") + (version "1.1.0") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/getlantern/systray") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0m2n29jmks8rwcwixgmmd5dhpzqw1f7mqyjgyqyycml5w6da2m7z")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/getlantern/systray")) + (native-inputs + `(("gtk+:bin" ,gtk+ "bin") + ("pkg-config" ,pkg-config))) + (inputs + `(("gtk+" ,gtk+) + ("libappindicator" ,libappindicator))) + (propagated-inputs + `(("go-github-com-getlantern-golog" + ,go-github-com-getlantern-golog) + ("go-golang-org-x-sys" ,go-golang-org-x-sys))) + (home-page "https://github.com/getlantern/systray") + (synopsis "System Tray library for Go") + (description "SysTray is a cross-platform Go library to place an icon and +menu in the notification area.") + (license license:asl2.0))) + (define-public go-github-com-getlantern-golog (let ((commit "9586b8bde3a95f71c84d9ee2a1a3f778759a76ab") (revision "25")) From patchwork Wed Jun 9 17:00:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30091 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 C0FAF27BC81; Wed, 9 Jun 2021 18:03:31 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 476EE27BC78 for ; Wed, 9 Jun 2021 18:03:31 +0100 (BST) Received: from localhost ([::1]:54082 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lr1c2-0004Mj-Da for patchwork@mira.cbaines.net; Wed, 09 Jun 2021 13:03:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42926) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lr1Zh-0002rP-Tb for guix-patches@gnu.org; Wed, 09 Jun 2021 13:01:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51196) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lr1Zg-0007EL-2X for guix-patches@gnu.org; Wed, 09 Jun 2021 13:01:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lr1Zg-0002dx-1x for guix-patches@gnu.org; Wed, 09 Jun 2021 13:01:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v3 35/47] gnu: Add go-github-com-gotk3-gotk3. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 09 Jun 2021 17:01:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan , Jorge Gomez Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162325805610047 (code B ref 48729); Wed, 09 Jun 2021 17:01:04 +0000 Received: (at 48729) by debbugs.gnu.org; 9 Jun 2021 17:00:56 +0000 Received: from localhost ([127.0.0.1]:34485 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1ZX-0002bt-NT for submit@debbugs.gnu.org; Wed, 09 Jun 2021 13:00:56 -0400 Received: from out2.migadu.com ([188.165.223.204]:29859) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1ZV-0002bb-8F for 48729@debbugs.gnu.org; Wed, 09 Jun 2021 13:00:54 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623258052; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gu5O1CXcIl/RzwtDdiWnp2QWi+iC6jVpVEYip+UBnOs=; b=p+yWinykep6fqGuT8qIVi/xcAC+UhSmPLsSN/U8wYWF5TgAhJq1NYwMntd1MuyyloNhQqP ZxlksverDDiwXPKC5rdVc6r+IzUNZMFqM+h8zIuId8g/73gxE1Ahsi9ypVc0dR12XMPhMz bjR31Rnx8OFeDx3wmOPBz5c0yPwviHy4KuoM/DqTAkKXa5kwymd0u5mj71VsAfLv0c6IpH 5J7zoxWw9CrXZRWWUhE3hFuDMbHQli2Po/3LJEvPoQAwD1yJ84y1GQ3KMQKwl045bQQvtj 9FRxKcG+ObHyqUqtMa3IDEqWyy5R+EedJVdAlzYAnAddRTAqk5JUqzs7/IVXLg== Date: Wed, 9 Jun 2021 13:00:10 -0400 Message-Id: <20210609170022.8207-35-rg@raghavgururajan.name> In-Reply-To: <20210609170022.8207-31-rg@raghavgururajan.name> References: <20210609170022.8207-31-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name 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: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/goloang.scm (go-github-com-gotk3-gotk3): New variable. Co-authored-by: Jorge Gomez --- gnu/packages/golang.scm | 110 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 110 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index e9611b6f67..ad0ba57b78 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -68,9 +68,119 @@ #:use-module (gnu packages textutils) #:use-module (gnu packages tls) #:use-module (gnu packages web) + #:use-module (gnu packages xorg) #:use-module (ice-9 match) #:use-module (srfi srfi-1)) +(define-public go-github-com-gotk3-gotk3 + (package + (name "go-github-com-gotk3-gotk3") + (version "0.5.2") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/gotk3/gotk3") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1d5b4nrf4fwdwv0w2h7m0jh65fcvm3xmjv3aypylzaa4fg8wi4cc")))) + (build-system go-build-system) + (arguments + `(#:unpack-path "github.com/gotk3/gotk3" + #:phases + (modify-phases %standard-phases + (replace 'build + (lambda* (#:key source system outputs search-paths build-flags unpack-path inputs #:allow-other-keys) + (for-each + (lambda (directory) + ((assoc-ref %standard-phases 'build) + #:source source + #:system system + #:outputs outputs + #:search-paths search-paths + #:build-flags build-flags + #:unpack-path unpack-path + #:inputs inputs + #:import-path directory)) + (list + "github.com/gotk3/gotk3/cairo" + "github.com/gotk3/gotk3/gdk" + "github.com/gotk3/gotk3/gio" + "github.com/gotk3/gotk3/glib" + "github.com/gotk3/gotk3/gtk" + "github.com/gotk3/gotk3/pango")) + #t)) + (add-before 'check 'pre-check + (lambda _ + ;; Tests require a running X server. + (system "Xvfb :1 +extension GLX &") + (setenv "DISPLAY" ":1") + ;; Tests write to $HOME. + (setenv "HOME" (getcwd)) + ;; Tests look for $XDG_RUNTIME_DIR. + (setenv "XDG_RUNTIME_DIR" (getcwd)) + ;; For missing '/etc/machine-id'. + (setenv "DBUS_FATAL_WARNINGS" "0") + #t)) + (replace 'check + (lambda* (#:key source system outputs search-paths tests? unpack-path inputs #:allow-other-keys) + (for-each + (lambda (directory) + ((assoc-ref %standard-phases 'check) + #:source source + #:system system + #:outputs outputs + #:search-paths search-paths + #:tests? tests? + #:unpack-path unpack-path + #:inputs inputs + #:import-path directory)) + (list + "github.com/gotk3/gotk3/cairo" + "github.com/gotk3/gotk3/gdk" + "github.com/gotk3/gotk3/gio" + "github.com/gotk3/gotk3/glib" + "github.com/gotk3/gotk3/gtk" + "github.com/gotk3/gotk3/pango")) + #t)) + (replace 'install + (lambda* (#:key source system outputs search-paths install-source? unpack-path inputs #:allow-other-keys) + (for-each + (lambda (directory) + ((assoc-ref %standard-phases 'install) + #:source source + #:system system + #:outputs outputs + #:search-paths search-paths + #:install-source? install-source? + #:unpack-path unpack-path + #:inputs inputs + #:import-path directory)) + (list + "github.com/gotk3/gotk3/cairo" + "github.com/gotk3/gotk3/gdk" + "github.com/gotk3/gotk3/gio" + "github.com/gotk3/gotk3/glib" + "github.com/gotk3/gotk3/gtk" + "github.com/gotk3/gotk3/pango")) + #t))))) + (native-inputs + `(("glib:bin" ,glib "bin") + ("gtk+:bin" ,gtk+ "bin") + ("pkg-config" ,pkg-config) + ("xorg-server" ,xorg-server-for-tests))) + (inputs + `(("cairo" ,cairo) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("pango" ,pango))) + (home-page "https://github.com/gotk3/gotk3") + (synopsis "Go bindings for GTK3") + (description "Gotk3 provides Go bindings for GTK 3 and dependent projects.") + (license license:isc))) + (define-public go-github-com-getlantern-systray (package (name "go-github-com-getlantern-systray") From patchwork Wed Jun 9 17:00:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30087 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 AEABC27BC81; Wed, 9 Jun 2021 18:03:06 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2335F27BC78 for ; Wed, 9 Jun 2021 18:03:05 +0100 (BST) Received: from localhost ([::1]:53168 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lr1bZ-0003hd-9r for patchwork@mira.cbaines.net; Wed, 09 Jun 2021 13:03:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lr1Zh-0002rM-Qs for guix-patches@gnu.org; Wed, 09 Jun 2021 13:01:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51197) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lr1Zg-0007Et-Fm for guix-patches@gnu.org; Wed, 09 Jun 2021 13:01:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lr1Zg-0002e5-EO for guix-patches@gnu.org; Wed, 09 Jun 2021 13:01:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v3 36/47] gnu: Add go-github-com-jmshal-go-locale. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 09 Jun 2021 17:01:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162325806010075 (code B ref 48729); Wed, 09 Jun 2021 17:01:04 +0000 Received: (at 48729) by debbugs.gnu.org; 9 Jun 2021 17:01:00 +0000 Received: from localhost ([127.0.0.1]:34491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1Zb-0002cL-6o for submit@debbugs.gnu.org; Wed, 09 Jun 2021 13:01:00 -0400 Received: from out2.migadu.com ([188.165.223.204]:29867) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1ZW-0002bj-Ls for 48729@debbugs.gnu.org; Wed, 09 Jun 2021 13:00:55 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623258054; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=haaqIt2itknTMAyk1/6BA7z7+zbc10AQ7QBW8ycpRog=; b=TFaV0Fz7gt1RHBYhAwgrO3qubLItlQ/Pczjjmzeeg2r6H/9bPRnAYNbGuPKLFEDuEaQZ3x t18ElYZgvOi4ImNKvaPN75HoyzAlL2MP/SKCdTSSJKrL/6AJhbW9BfaYNMc9JsJyPJ3iGx dll3ZfvZkxPRRD9tAfF4XQlcHFn4U3w51NJr6My29CrKfDMRu7ErUtgIstHNJ1LVGBMaLS AKV5Th3VGn1zJN8KKfazJKaJE4Rvf04OacLRG/Aq7s0fJR3MIIvFL4+cqSLDfBi0+qzjzb Vilo2cDAz1SQHEUmB0iQYGPoQBALloGPan/op2SP2kqID/E9c/peaBqhxDssSQ== Date: Wed, 9 Jun 2021 13:00:11 -0400 Message-Id: <20210609170022.8207-36-rg@raghavgururajan.name> In-Reply-To: <20210609170022.8207-31-rg@raghavgururajan.name> References: <20210609170022.8207-31-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name 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: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-jmshal-go-locale): New variable. --- gnu/packages/golang.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index ad0ba57b78..d9a2f40285 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -72,6 +72,30 @@ #:use-module (ice-9 match) #:use-module (srfi srfi-1)) +(define-public go-github-com-jmshal-go-locale + (let ((commit "eb00fb25cc61bca7a5331ae576ae4a3d5572a1e4") + (revision "8")) + (package + (name "go-github-com-jmshal-go-locale") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/jmshal/go-locale") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "05lyrcsrj0vzk30laa9zyy574ijh6f0ybzdv65w4l6n5yibjgnwa")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/jmshal/go-locale")) + (synopsis "User locale detection for Go") + (description "User locale detection for Go.") + (home-page "https://github.com/jmshal/go-locale") + (license license:expat)))) + (define-public go-github-com-gotk3-gotk3 (package (name "go-github-com-gotk3-gotk3") From patchwork Wed Jun 9 17:00:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30081 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 04F7C27BC81; Wed, 9 Jun 2021 18:01:52 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9895B27BC78 for ; Wed, 9 Jun 2021 18:01:51 +0100 (BST) Received: from localhost ([::1]:52222 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lr1aQ-0002ti-E7 for patchwork@mira.cbaines.net; Wed, 09 Jun 2021 13:01:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42922) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lr1Zh-0002rN-Si for guix-patches@gnu.org; Wed, 09 Jun 2021 13:01:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51200) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lr1Zg-0007Fr-Ss for guix-patches@gnu.org; Wed, 09 Jun 2021 13:01:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lr1Zg-0002eE-RP for guix-patches@gnu.org; Wed, 09 Jun 2021 13:01:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v3 37/47] gnu: Add gtkglarea. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 09 Jun 2021 17:01:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162325806010085 (code B ref 48729); Wed, 09 Jun 2021 17:01:04 +0000 Received: (at 48729) by debbugs.gnu.org; 9 Jun 2021 17:01:00 +0000 Received: from localhost ([127.0.0.1]:34495 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1Zc-0002cP-5H for submit@debbugs.gnu.org; Wed, 09 Jun 2021 13:01:00 -0400 Received: from out2.migadu.com ([188.165.223.204]:29874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1ZY-0002bz-D1 for 48729@debbugs.gnu.org; Wed, 09 Jun 2021 13:00:57 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623258055; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1YnkGwGsaOgWojpY6ks14JZHxJq+6e/zvGkBlx8h0As=; b=uGnHoF8/UJMHv2bXUQVMXL+sw4mPdujWAgbSxqGI/MxIuBwc7JgnqgPBr+Jb2AFV/Mzxgw fVAxlkUksNIlOaaWj19rPeki5MMoYkUio3uAGELV5gpdFB/Oin6LdjjIW1QJFxOsNo3vtB NhPnknMpX+d/354na2ywLvL74KTeNKymrYfz6oUlDHesL6ngYaCRIGzGVnB8tHyjzTDH17 g5XUeUmjFBqmymzXq9ODrVH5na44V5fBJOvLWi5op2ePqtTvY7kFm0QK+/Uok7V9w5WHcK KmUCO5esD5ASrbC2ntTYPEwNNj+XrMNcoQNPV5O63Cp25WTiLGZKW1aVFv4U5Q== Date: Wed, 9 Jun 2021 13:00:12 -0400 Message-Id: <20210609170022.8207-37-rg@raghavgururajan.name> In-Reply-To: <20210609170022.8207-31-rg@raghavgururajan.name> References: <20210609170022.8207-31-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name 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: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/gnome.scm (gtkglarea): New variable. --- gnu/packages/gnome.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 2f579a2f82..837ab3564b 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -219,6 +219,37 @@ #:use-module (ice-9 match) #:use-module (srfi srfi-1)) +(define-public gtkglarea + (package + (name "gtkglarea") + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri + (string-append "mirror://gnome/sources/" name "/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 "1pl2vdj6l64j864ilhkq1bcggb3hrlxjwk5m029i7xfjfxc587lf")))) + (build-system glib-or-gtk-build-system) + (arguments + `(#:configure-flags + (list + "--disable-static"))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("mesa" ,mesa))) + (propagated-inputs + `(("gtk+" ,gtk+-2))) + (synopsis "OpenGL widget for GTK+") + (description "GtkGLArea is an OpenGL widget for GTK+ GUI toolkit. + Just as GTK+ is build on top of GDK, GtkGLArea is built on top of gdkgl which + is basically wrapper around GLX functions.") + (home-page "https://developer.gnome.org/gtk3/stable/GtkGLArea.html") + (license license:lgpl2.0+))) + (define-public gupnp-igd (package (name "gupnp-igd") From patchwork Wed Jun 9 17:00:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30090 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 BD29F27BC78; Wed, 9 Jun 2021 18:03:28 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 65D1227BC81 for ; Wed, 9 Jun 2021 18:03:28 +0100 (BST) Received: from localhost ([::1]:53994 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lr1bz-0004Jc-Bc for patchwork@mira.cbaines.net; Wed, 09 Jun 2021 13:03:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42930) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lr1Zh-0002rR-UB for guix-patches@gnu.org; Wed, 09 Jun 2021 13:01:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51201) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lr1Zh-0007GL-I3 for guix-patches@gnu.org; Wed, 09 Jun 2021 13:01:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lr1Zh-0002eL-GY for guix-patches@gnu.org; Wed, 09 Jun 2021 13:01:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v3 38/47] gnu: Add gtkspell2. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 09 Jun 2021 17:01:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162325806010091 (code B ref 48729); Wed, 09 Jun 2021 17:01:05 +0000 Received: (at 48729) by debbugs.gnu.org; 9 Jun 2021 17:01:00 +0000 Received: from localhost ([127.0.0.1]:34497 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1Zc-0002cc-J0 for submit@debbugs.gnu.org; Wed, 09 Jun 2021 13:01:00 -0400 Received: from out2.migadu.com ([188.165.223.204]:29881) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1Za-0002cC-1c for 48729@debbugs.gnu.org; Wed, 09 Jun 2021 13:00:58 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623258057; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=t3UK5/IveDDhe3RMQYK9zz2CR16nf9sZeJX16b+BdI4=; b=BdRYtQNTQQqbpF3tLUIHPUed4Z+YO2ec99witBHCiixowQcD8yJips8YbKKLb3olqkzaOR +xXfBv6NT6Owojog4IJ0qxGJKTryQrl+rs06Wo447HclIerTKgWC2L1kUP/f93O7UQ4EwY Yy5HZx36wOV0tBav0uqXd/9M2mUlPFspeAt27/2ebafDET2mKyn1wiBmyUktSjUroU6ELI mBrsXx6Cr2NOHMtdYM+rucmRyRSwmjNj8rUNnRIQdpq6hM6aQj6DkAEXwxFIDePSLYN/SD 1ooyaJF+0FSKUorpOwkii4CWx73uh0T1MS1zD226LoAYn9nyAz8u8KdcFoS9KA== Date: Wed, 9 Jun 2021 13:00:13 -0400 Message-Id: <20210609170022.8207-38-rg@raghavgururajan.name> In-Reply-To: <20210609170022.8207-31-rg@raghavgururajan.name> References: <20210609170022.8207-31-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name 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: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/gtk.scm (gtkspell2): New variable. --- gnu/packages/gtk.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index 138fa7c314..c8c7d1e718 100644 --- a/gnu/packages/gtk.scm +++ b/gnu/packages/gtk.scm @@ -1914,6 +1914,33 @@ glass artworks done by Venicians glass blowers.") misspelled words in a GtkTextView widget.") (license license:gpl2+))) +(define-public gtkspell2 + (package + (inherit gtkspell3) + (name "gtkspell2") + (version "2.0.16") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/gtkspell/" + version "/gtkspell-" version ".tar.gz")) + (sha256 + (base32 "00hdv28bp72kg1mq2jdz1sdw2b8mb9iclsp7jdqwpck705bdriwg")))) + (arguments + `(#:configure-flags + (list + "--disable-static"))) + (native-inputs + `(("gettext" ,gettext-minimal) + ("intltool" ,intltool) + ("pkg-config" ,pkg-config) + ("xmllint" ,libxml2))) + (inputs + `(("enchant" ,enchant-1.6) + ("pango" ,pango))) + (propagated-inputs + `(("gtk+" ,gtk+-2))))) + (define-public clipit (package (name "clipit") From patchwork Wed Jun 9 17:00:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30082 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 97B4B27BC81; Wed, 9 Jun 2021 18:01:54 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0EFB827BC78 for ; Wed, 9 Jun 2021 18:01:54 +0100 (BST) Received: from localhost ([::1]:52260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lr1aS-0002wh-TW for patchwork@mira.cbaines.net; Wed, 09 Jun 2021 13:01:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42936) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lr1Zj-0002ru-NT for guix-patches@gnu.org; Wed, 09 Jun 2021 13:01:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51202) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lr1Zh-0007HZ-W9 for guix-patches@gnu.org; Wed, 09 Jun 2021 13:01:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lr1Zh-0002eY-VX for guix-patches@gnu.org; Wed, 09 Jun 2021 13:01:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v3 39/47] gnu: Add go-github-com-mattn-go-gtk. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 09 Jun 2021 17:01:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162325806310149 (code B ref 48729); Wed, 09 Jun 2021 17:01:05 +0000 Received: (at 48729) by debbugs.gnu.org; 9 Jun 2021 17:01:03 +0000 Received: from localhost ([127.0.0.1]:34503 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1Ze-0002dS-Rc for submit@debbugs.gnu.org; Wed, 09 Jun 2021 13:01:03 -0400 Received: from out2.migadu.com ([188.165.223.204]:29890) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1Zb-0002cM-J5 for 48729@debbugs.gnu.org; Wed, 09 Jun 2021 13:01:00 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623258059; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kD/i3b4fgO09RmKrnZDbKj4TPpFoClHiuwHF5Bu5jHk=; b=YObWrFVCmmI+V/nGTYB0iptQm6P3mfJjTlSTsSIW+B2f/1BapCp6rNIW58rIjoisjce45L TTMmOBlw3Ov/LFkHwf4aOjiAvcOWCUd9tiIqvSkA+qLI00n3kJapVMgqA2DrGVl/UUzNGs iB/vgjae0AMNWpZMsr37IHGzbnrcW08nlSqy3u5pnqX3VimAzxhp+iLsbDdySJQibTxP3n Fjr4rS+whP7SbBlTHu0fIHyyeR2pbkcSkaxjULqwF/559MFnRTFgioY8vyHZC3OQMDn+Ze FnjnKGwtDlhZQyVDpalyTOoqWcHVfnsLxhgMfamScnQXZddvSHbiUIHcGnp7mw== Date: Wed, 9 Jun 2021 13:00:14 -0400 Message-Id: <20210609170022.8207-39-rg@raghavgururajan.name> In-Reply-To: <20210609170022.8207-31-rg@raghavgururajan.name> References: <20210609170022.8207-31-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name 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: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-mattn-go-gtk): New variable. --- gnu/packages/golang.scm | 135 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 135 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index d9a2f40285..691a5fed00 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -58,6 +58,7 @@ #:use-module (gnu packages freedesktop) #:use-module (gnu packages gcc) #:use-module (gnu packages glib) + #:use-module (gnu packages gnome) #:use-module (gnu packages gtk) #:use-module (gnu packages lua) #:use-module (gnu packages mp3) @@ -72,6 +73,140 @@ #:use-module (ice-9 match) #:use-module (srfi srfi-1)) +(define-public go-github-com-mattn-go-gtk + (let ((commit "af2e013261f57706ec683a61f85e8759a3faf6be") + (revision "1134")) + (package + (name "go-github-com-mattn-go-gtk") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/mattn/go-gtk") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1zcvxz45iinamxnpvwf5ij9f6dk62bdbjg1vaggvyz79z5y9llk2")))) + (build-system go-build-system) + (arguments + `(#:unpack-path "github.com/mattn/go-gtk" + #:phases + (modify-phases %standard-phases + (replace 'build + (lambda* (#:key source system outputs search-paths build-flags unpack-path inputs #:allow-other-keys) + (for-each + (lambda (directory) + ((assoc-ref %standard-phases 'build) + #:source source + #:system system + #:outputs outputs + #:search-paths search-paths + #:build-flags build-flags + #:unpack-path unpack-path + #:inputs inputs + #:import-path directory)) + (list + "github.com/mattn/go-gtk/gdk" + "github.com/mattn/go-gtk/gdkpixbuf" + "github.com/mattn/go-gtk/gio" + "github.com/mattn/go-gtk/glib" + "github.com/mattn/go-gtk/gtk" + "github.com/mattn/go-gtk/gtkgl" + "github.com/mattn/go-gtk/gtksourceview" + "github.com/mattn/go-gtk/gtkspell" + "github.com/mattn/go-gtk/pango" + "github.com/mattn/go-gtk/tools/gogtkinfo" + "github.com/mattn/go-gtk/tools/make_inline_pixbuf")) + #t)) + (add-before 'check 'pre-check + (lambda _ + ;; Tests require a running X server. + (system "Xvfb :1 +extension GLX &") + (setenv "DISPLAY" ":1") + ;; Tests write to $HOME. + (setenv "HOME" (getcwd)) + ;; Tests look for $XDG_RUNTIME_DIR. + (setenv "XDG_RUNTIME_DIR" (getcwd)) + ;; For missing '/etc/machine-id'. + (setenv "DBUS_FATAL_WARNINGS" "0") + #t)) + (replace 'check + (lambda* (#:key source system outputs search-paths tests? unpack-path inputs #:allow-other-keys) + (for-each + (lambda (directory) + ((assoc-ref %standard-phases 'check) + #:source source + #:system system + #:outputs outputs + #:search-paths search-paths + #:tests? tests? + #:unpack-path unpack-path + #:inputs inputs + #:import-path directory)) + (list + "github.com/mattn/go-gtk/gdk" + "github.com/mattn/go-gtk/gdkpixbuf" + "github.com/mattn/go-gtk/gio" + "github.com/mattn/go-gtk/glib" + "github.com/mattn/go-gtk/gtk" + "github.com/mattn/go-gtk/gtkgl" + "github.com/mattn/go-gtk/gtksourceview" + "github.com/mattn/go-gtk/gtkspell" + "github.com/mattn/go-gtk/pango" + "github.com/mattn/go-gtk/tools/gogtkinfo")) + ;; ERROR: Println arg list ends with redundant newline. + ;;"github.com/mattn/go-gtk/tools/make_inline_pixbuf")) + #t)) + (replace 'install + (lambda* (#:key source system outputs search-paths install-source? unpack-path inputs #:allow-other-keys) + (for-each + (lambda (directory) + ((assoc-ref %standard-phases 'install) + #:source source + #:system system + #:outputs outputs + #:search-paths search-paths + #:install-source? install-source? + #:unpack-path unpack-path + #:inputs inputs + #:import-path directory)) + (list + "github.com/mattn/go-gtk/gdk" + "github.com/mattn/go-gtk/gdkpixbuf" + "github.com/mattn/go-gtk/gio" + "github.com/mattn/go-gtk/glib" + "github.com/mattn/go-gtk/gtk" + "github.com/mattn/go-gtk/gtkgl" + "github.com/mattn/go-gtk/gtksourceview" + "github.com/mattn/go-gtk/gtkspell" + "github.com/mattn/go-gtk/pango" + "github.com/mattn/go-gtk/tools/gogtkinfo" + "github.com/mattn/go-gtk/tools/make_inline_pixbuf")) + #t))))) + (native-inputs + `(("glib:bin" ,glib "bin") + ("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify) + ("gtk+:bin" ,gtk+-2 "bin") + ("pkg-config" ,pkg-config) + ("xorg-server" ,xorg-server-for-tests))) + (inputs + `(("gdk-pixbuf" ,gdk-pixbuf+svg) + ("glib" ,glib) + ("gtk+" ,gtk+-2) + ("gtkgl" ,gtkglarea) + ("gtksourceview" ,gtksourceview-2) + ("gtkspell" ,gtkspell2) + ("pango" ,pango))) + (propagated-inputs + `(("go-github-com-mattn-go-pointer" + ,go-github-com-mattn-go-pointer))) + (home-page "https://github.com/mattn/go-gtk") + (synopsis "Go bindings for GTK") + (description "Go bindings for GTK.") + (license license:bsd-3)))) + (define-public go-github-com-jmshal-go-locale (let ((commit "eb00fb25cc61bca7a5331ae576ae4a3d5572a1e4") (revision "8")) From patchwork Wed Jun 9 17:00:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30084 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 A41C127BC81; Wed, 9 Jun 2021 18:02:15 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 64B8727BC78 for ; Wed, 9 Jun 2021 18:02:15 +0100 (BST) Received: from localhost ([::1]:52308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lr1ao-00030f-Bm for patchwork@mira.cbaines.net; Wed, 09 Jun 2021 13:02:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lr1Zj-0002rt-Mr for guix-patches@gnu.org; Wed, 09 Jun 2021 13:01:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51205) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lr1Zi-0007IG-Cw for guix-patches@gnu.org; Wed, 09 Jun 2021 13:01:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lr1Zi-0002eg-BZ for guix-patches@gnu.org; Wed, 09 Jun 2021 13:01:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v3 40/47] gnu: Add go-github-com-grd-glfw3. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 09 Jun 2021 17:01:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162325806410163 (code B ref 48729); Wed, 09 Jun 2021 17:01:06 +0000 Received: (at 48729) by debbugs.gnu.org; 9 Jun 2021 17:01:04 +0000 Received: from localhost ([127.0.0.1]:34508 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1Zf-0002da-9q for submit@debbugs.gnu.org; Wed, 09 Jun 2021 13:01:03 -0400 Received: from out2.migadu.com ([188.165.223.204]:29908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1Zd-0002co-8P for 48729@debbugs.gnu.org; Wed, 09 Jun 2021 13:01:01 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623258060; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9A1inAO1gy6fo3dK0J9D6F170Ff9rR0ictjxunClSVI=; b=DOvjrzT1dtrL1L16sDBXeU7yv2IVD/5n5ORPve3TrrJTkpQ2Ce0nryh1UD0ITELwJVpnLe ikPR0n45qRu+ojP8IitUYQjM9gIj6otqmePJiwheSRt2C8gjJe73IE43oTijP4AsnqxzG5 OsYlCb/0fx/Gtq6SemxK2R2XQQ/d0CrQK49R7CsWUmre9u2HpPivYzHsXKRkW8niaH0art iANJ1iVyxPnYbubb9QqGw5yhu5XcP1AfxZ6bhAZwqK87YIZuNs4VmM60ygDqgGWabrJXas tSqjgcHZtkBhiw3w6XFSPQ4iZCmd74LJuDL/0wYjcHo79z11rqK2uv6J3X1mfQ== Date: Wed, 9 Jun 2021 13:00:15 -0400 Message-Id: <20210609170022.8207-40-rg@raghavgururajan.name> In-Reply-To: <20210609170022.8207-31-rg@raghavgururajan.name> References: <20210609170022.8207-31-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name 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: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-grd-glfw3): New variable. --- gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 691a5fed00..7661813489 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -57,6 +57,7 @@ #:use-module (gnu packages base) #:use-module (gnu packages freedesktop) #:use-module (gnu packages gcc) + #:use-module (gnu packages gl) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) #:use-module (gnu packages gtk) @@ -73,6 +74,32 @@ #:use-module (ice-9 match) #:use-module (srfi srfi-1)) +(define-public go-github-com-grd-glfw3 + (let ((commit "55390ea70f0d427a7ed40c26ea19e82fce17c927") + (revision "100")) + (package + (name "go-github-com-grd-glfw3") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/grd/glfw3") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "15avw38mgx54a3rmlz97ryczpcbibn00rd8486w2si6f1zcawpxw")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/grd/glfw3")) + (inputs + `(("glfw" ,glfw))) + (home-page "https://github.com/grd/glfw3") + (synopsis "Go bindings for GLFW3") + (description "Go bindings for GLFW3.") + (license license:bsd-3)))) + (define-public go-github-com-mattn-go-gtk (let ((commit "af2e013261f57706ec683a61f85e8759a3faf6be") (revision "1134")) From patchwork Wed Jun 9 17:00:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30089 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 2756B27BC83; Wed, 9 Jun 2021 18:03:28 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id BF47827BC78 for ; Wed, 9 Jun 2021 18:03:27 +0100 (BST) Received: from localhost ([::1]:53946 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lr1by-0004Hz-PN for patchwork@mira.cbaines.net; Wed, 09 Jun 2021 13:03:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lr1ad-0003Z0-Mx for guix-patches@gnu.org; Wed, 09 Jun 2021 13:02:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51228) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lr1ab-0007kG-VA for guix-patches@gnu.org; Wed, 09 Jun 2021 13:02:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lr1ab-0002hQ-UV for guix-patches@gnu.org; Wed, 09 Jun 2021 13:02:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v3 41/47] gnu: Add go-github-com-go-gl-glow. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 09 Jun 2021 17:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162325806710240 (code B ref 48729); Wed, 09 Jun 2021 17:02:01 +0000 Received: (at 48729) by debbugs.gnu.org; 9 Jun 2021 17:01:07 +0000 Received: from localhost ([127.0.0.1]:34521 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1Zi-0002f3-U7 for submit@debbugs.gnu.org; Wed, 09 Jun 2021 13:01:07 -0400 Received: from out2.migadu.com ([188.165.223.204]:29918) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1Ze-0002dO-Vt for 48729@debbugs.gnu.org; Wed, 09 Jun 2021 13:01:03 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623258062; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZcW24fBBhlXUWRxHVWSYan55ZTzIoPQOLSwK0W1eIig=; b=LHI0wvBV/lEsZoeFVJu5fJOC/eIo44IWDy7zMTAyjtgDHhFUAAzsESCe5NPSaXnfmn39CR 8sIqfpGJ65/mDvWNoFMJAKIaEax+4vwnZ/pCKEy3WhXZdn6lgruBTbIs5s1zlhwwLH9u4D UlE1/r6x/oa1Pr74vbfR7BRP5J3kSA0X1sQaJwiuuAuQXCd2d/GY9dy3QHDV63V2cxpFtV 35XZTyKoWXy9LYBakEx3I94tSsO9ReczXyBQy64VS+4bOu7lkNgdp08RO5dLQHkxghWWfF EPrctT1oTwGwOo3ZOQwKyk1TYZIWPmj/Ukh9ohi3ZtuswNbKzKxImH1O6jGVlg== Date: Wed, 9 Jun 2021 13:00:16 -0400 Message-Id: <20210609170022.8207-41-rg@raghavgururajan.name> In-Reply-To: <20210609170022.8207-31-rg@raghavgururajan.name> References: <20210609170022.8207-31-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name 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: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-go-gl-glow): New variable. --- gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 7661813489..3a632b0705 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -74,6 +74,34 @@ #:use-module (ice-9 match) #:use-module (srfi srfi-1)) +(define-public go-github-com-go-gl-glow + (let ((commit "640349a6105e64eb9e5085d2afee1ab2ec67d2dc") + (revision "300")) + (package + (name "go-github-com-go-gl-glow") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/go-gl/glow") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1lzibraqjkzibvxw1lagrlzpjsqbp5pd4fcyi6ygqhgja0ik3zd7")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/go-gl/glow")) + (propagated-inputs + `(("go-golang-org-x-tools" ,go-golang-org-x-tools))) + (home-page "https://github.com/go-gl/glow") + (synopsis "Go binding generator for OpenGL") + (description "Glow is an OpenGL binding generator for Go. It parses the +OpenGL XML API registry and the EGL XML API registry to produce a +machine-generated cgo bridge between Go functions and native OpenGL functions.") + (license license:expat)))) + (define-public go-github-com-grd-glfw3 (let ((commit "55390ea70f0d427a7ed40c26ea19e82fce17c927") (revision "100")) From patchwork Wed Jun 9 17:00:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30096 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 35EC727BC81; Wed, 9 Jun 2021 18:04:17 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id ACC7F27BC78 for ; Wed, 9 Jun 2021 18:04:16 +0100 (BST) Received: from localhost ([::1]:55388 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lr1cl-0005H0-Or for patchwork@mira.cbaines.net; Wed, 09 Jun 2021 13:04:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43178) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lr1ad-0003Z2-Ns for guix-patches@gnu.org; Wed, 09 Jun 2021 13:02:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51229) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lr1ac-0007kH-Dg for guix-patches@gnu.org; Wed, 09 Jun 2021 13:02:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lr1ac-0002hY-CN for guix-patches@gnu.org; Wed, 09 Jun 2021 13:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v3 42/47] gnu: Add go-github-com-go-gl-gl. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 09 Jun 2021 17:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162325806710247 (code B ref 48729); Wed, 09 Jun 2021 17:02:02 +0000 Received: (at 48729) by debbugs.gnu.org; 9 Jun 2021 17:01:07 +0000 Received: from localhost ([127.0.0.1]:34523 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1Zj-0002f7-5W for submit@debbugs.gnu.org; Wed, 09 Jun 2021 13:01:07 -0400 Received: from out2.migadu.com ([188.165.223.204]:29926) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1Zg-0002e8-O8 for 48729@debbugs.gnu.org; Wed, 09 Jun 2021 13:01:05 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623258064; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RXRXFKKAL9DB9vakABpqkrMv1Mtn96usuMdCTsiDzqg=; b=Xes7VGHiF68etGYhkz4fuxpbCiO8utpTwnosTzuiuYUB54Dv1cWTOeke1qzJzeGPiB6Dk7 ssU1kKErs5zk5jBR2oIJy7GEKsNAxnq/ii9xg0ts733g5od5LoCqhYyC5Xhw54hkEnJiI4 MTyLbSzrn+z7PSx6zoeE/fHHo1lQ1IW9Y6FfPgPu4tY5Woh+BHTIO9VN7LaIDKSkE4TcJb IvS1yTHuiVDMSF0TDjSFK0PBWwkiplCVdyrVzbRCjMt1FOr7umFVPGTLxATB74DoaK3W2V 9C8gUylZyn2s78nRQaVrUeTNYlOePSvXwPDC9Pkyyg6stFHaI1fFxGHqR4ustw== Date: Wed, 9 Jun 2021 13:00:17 -0400 Message-Id: <20210609170022.8207-42-rg@raghavgururajan.name> In-Reply-To: <20210609170022.8207-31-rg@raghavgururajan.name> References: <20210609170022.8207-31-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name 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: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-go-gl-gl): New variable. --- gnu/packages/golang.scm | 134 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 134 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 3a632b0705..074e8e6bdf 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -74,6 +74,140 @@ #:use-module (ice-9 match) #:use-module (srfi srfi-1)) +(define-public go-github-com-go-gl-gl + (let ((commit "69f74958bac0960e82e8ac5977ff073af29381ba") + (revision "87")) + (package + (name "go-github-com-go-gl-gl") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/go-gl/gl") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "15bqz4dax3b5ha9qcc855aczsa89qa65p578dnjrbww53q31s5w0")))) + (build-system go-build-system) + (arguments + `(#:unpack-path "github.com/go-gl/gl" + #:phases + (modify-phases %standard-phases + (replace 'build + (lambda* (#:key source system outputs search-paths build-flags unpack-path inputs #:allow-other-keys) + (for-each + (lambda (directory) + ((assoc-ref %standard-phases 'build) + #:source source + #:system system + #:outputs outputs + #:search-paths search-paths + #:build-flags build-flags + #:unpack-path unpack-path + #:inputs inputs + #:import-path directory)) + (list + "github.com/go-gl/gl/all-core/gl" + "github.com/go-gl/gl/v2.1/gl" + "github.com/go-gl/gl/v3.1/gles2" + "github.com/go-gl/gl/v3.2-compatibility/gl" + "github.com/go-gl/gl/v3.2-core/gl" + "github.com/go-gl/gl/v3.3-compatibility/gl" + "github.com/go-gl/gl/v3.3-core/gl" + "github.com/go-gl/gl/v4.1-compatibility/gl" + "github.com/go-gl/gl/v4.1-core/gl" + "github.com/go-gl/gl/v4.2-compatibility/gl" + "github.com/go-gl/gl/v4.2-core/gl" + "github.com/go-gl/gl/v4.3-compatibility/gl" + "github.com/go-gl/gl/v4.3-core/gl" + "github.com/go-gl/gl/v4.4-compatibility/gl" + "github.com/go-gl/gl/v4.4-core/gl" + "github.com/go-gl/gl/v4.5-compatibility/gl" + "github.com/go-gl/gl/v4.5-core/gl" + "github.com/go-gl/gl/v4.6-compatibility/gl" + "github.com/go-gl/gl/v4.6-core/gl")) + #t)) + (replace 'check + (lambda* (#:key source system outputs search-paths tests? unpack-path inputs #:allow-other-keys) + (for-each + (lambda (directory) + ((assoc-ref %standard-phases 'check) + #:source source + #:system system + #:outputs outputs + #:search-paths search-paths + #:tests? tests? + #:unpack-path unpack-path + #:inputs inputs + #:import-path directory)) + (list + "github.com/go-gl/gl/all-core/gl" + "github.com/go-gl/gl/v2.1/gl" + "github.com/go-gl/gl/v3.1/gles2" + "github.com/go-gl/gl/v3.2-compatibility/gl" + "github.com/go-gl/gl/v3.2-core/gl" + "github.com/go-gl/gl/v3.3-compatibility/gl" + "github.com/go-gl/gl/v3.3-core/gl" + "github.com/go-gl/gl/v4.1-compatibility/gl" + "github.com/go-gl/gl/v4.1-core/gl" + "github.com/go-gl/gl/v4.2-compatibility/gl" + "github.com/go-gl/gl/v4.2-core/gl" + "github.com/go-gl/gl/v4.3-compatibility/gl" + "github.com/go-gl/gl/v4.3-core/gl" + "github.com/go-gl/gl/v4.4-compatibility/gl" + "github.com/go-gl/gl/v4.4-core/gl" + "github.com/go-gl/gl/v4.5-compatibility/gl" + "github.com/go-gl/gl/v4.5-core/gl" + "github.com/go-gl/gl/v4.6-compatibility/gl" + "github.com/go-gl/gl/v4.6-core/gl")) + #t)) + (replace 'install + (lambda* (#:key source system outputs search-paths install-source? unpack-path inputs #:allow-other-keys) + (for-each + (lambda (directory) + ((assoc-ref %standard-phases 'install) + #:source source + #:system system + #:outputs outputs + #:search-paths search-paths + #:install-source? install-source? + #:unpack-path unpack-path + #:inputs inputs + #:import-path directory)) + (list + "github.com/go-gl/gl/all-core/gl" + "github.com/go-gl/gl/v2.1/gl" + "github.com/go-gl/gl/v3.1/gles2" + "github.com/go-gl/gl/v3.2-compatibility/gl" + "github.com/go-gl/gl/v3.2-core/gl" + "github.com/go-gl/gl/v3.3-compatibility/gl" + "github.com/go-gl/gl/v3.3-core/gl" + "github.com/go-gl/gl/v4.1-compatibility/gl" + "github.com/go-gl/gl/v4.1-core/gl" + "github.com/go-gl/gl/v4.2-compatibility/gl" + "github.com/go-gl/gl/v4.2-core/gl" + "github.com/go-gl/gl/v4.3-compatibility/gl" + "github.com/go-gl/gl/v4.3-core/gl" + "github.com/go-gl/gl/v4.4-compatibility/gl" + "github.com/go-gl/gl/v4.4-core/gl" + "github.com/go-gl/gl/v4.5-compatibility/gl" + "github.com/go-gl/gl/v4.5-core/gl" + "github.com/go-gl/gl/v4.6-compatibility/gl" + "github.com/go-gl/gl/v4.6-core/gl")) + #t))))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("mesa" ,mesa))) + (propagated-inputs + `(("go-github-com-go-gl-glow" ,go-github-com-go-gl-glow))) + (home-page "https://github.com/go-gl/gl") + (synopsis "Go bindings for OpenGL") + (description "Go-GL holds Go bindings to various OpenGL versions.") + (license license:expat)))) + (define-public go-github-com-go-gl-glow (let ((commit "640349a6105e64eb9e5085d2afee1ab2ec67d2dc") (revision "300")) From patchwork Wed Jun 9 17:00:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30094 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 9B84527BC81; Wed, 9 Jun 2021 18:04:03 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6090527BC78 for ; Wed, 9 Jun 2021 18:04:03 +0100 (BST) Received: from localhost ([::1]:54926 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lr1cY-0004x3-Fp for patchwork@mira.cbaines.net; Wed, 09 Jun 2021 13:04:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lr1ad-0003Z5-NU for guix-patches@gnu.org; Wed, 09 Jun 2021 13:02:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51230) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lr1ac-0007kJ-R9 for guix-patches@gnu.org; Wed, 09 Jun 2021 13:02:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lr1ac-0002hf-PP for guix-patches@gnu.org; Wed, 09 Jun 2021 13:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v3 43/47] gnu: Add go-github-com-skelterjohn-go-wde. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 09 Jun 2021 17:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162325806810255 (code B ref 48729); Wed, 09 Jun 2021 17:02:02 +0000 Received: (at 48729) by debbugs.gnu.org; 9 Jun 2021 17:01:08 +0000 Received: from localhost ([127.0.0.1]:34525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1Zj-0002fF-M6 for submit@debbugs.gnu.org; Wed, 09 Jun 2021 13:01:07 -0400 Received: from out2.migadu.com ([188.165.223.204]:29932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1Zi-0002ee-B0 for 48729@debbugs.gnu.org; Wed, 09 Jun 2021 13:01:06 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623258065; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mNKogqPIKRpCa44jX3FfhXMxIU+LRJlS+JN0pdPzxDE=; b=QiLEWQyjAxVenrRgdnW9bgSciimgcr/xRORDz75N6bWUl+cSPPi0S6R/cUU3To2M6pd3S0 bnl/dmCzNESW2Xtp/mjTZiZsC9l242/tVAEpVCY3GUJUUe6Q3vDDw6TC50ngUbGOsnv8iG 2sULPONIxcoBIIEUp9Gn31Y7CQEfawQcYfeXgzIYdPndY0Bl5zq7crxMH7ML6tSikXB+DT KN6ii0bZ00soV/dXTw7OsuuFBeDYXaByia2aQpWsmFFYSyHElOC+XRJvi07nsDP9q1JDnj 5g8ULyyzh8Il55wv2BSjGVog//EbzCc5d5RSuo5mVF45FQp1XDNAU12WsZY78w== Date: Wed, 9 Jun 2021 13:00:18 -0400 Message-Id: <20210609170022.8207-43-rg@raghavgururajan.name> In-Reply-To: <20210609170022.8207-31-rg@raghavgururajan.name> References: <20210609170022.8207-31-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name 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: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-skelterjohn-go-wde): New variable. --- gnu/packages/golang.scm | 43 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 074e8e6bdf..e5e3098e97 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -74,6 +74,49 @@ #:use-module (ice-9 match) #:use-module (srfi srfi-1)) +(define-public go-github-com-skelterjohn-go-wde + (let ((commit "adc3f78cdb457e9db21bfff010c85ed97315d8d7") + (revision "203")) + (package + (name "go-github-com-skelterjohn-go-wde") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/skelterjohn/go.wde") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1zxdilxd7iyv367xv7qx7ca0v6fkw5l8gy1bv8s762akx0vqbd85")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/skelterjohn/go.wde" + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda _ + (substitute* (find-files "." "\\.go$") + ;; Use 'jezek/xgb' instead of 'BurntSushi/xgb', + ;; as the latter is unmaintained. + (("github.com/BurntSushi/xgb") + "github.com/jezek/xgb")) + #t))))) + (propagated-inputs + `(("go-github-com-go-gl-gl" + ,go-github-com-go-gl-gl) + ("go-github-com-grd-glfw3" + ,go-github-com-grd-glfw3) + ("go-github-com-jezek-xgb" + ,go-github-com-jezek-xgb) + ("go-github-com-burntsushi-xgbutil" + ,go-github-com-burntsushi-xgbutil))) + (home-page "https://github.com/skelterjohn/go.wde") + (synopsis "Windows, drawing and events for Go") + (description "Go-WDE provides (W)indows, (D)rawing and (E)vents for Go.") + (license license:asl2.0)))) + (define-public go-github-com-go-gl-gl (let ((commit "69f74958bac0960e82e8ac5977ff073af29381ba") (revision "87")) From patchwork Wed Jun 9 17:00:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30092 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 51AD527BC81; Wed, 9 Jun 2021 18:03:55 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 12FDF27BC78 for ; Wed, 9 Jun 2021 18:03:55 +0100 (BST) Received: from localhost ([::1]:54530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lr1cO-0004gg-N8 for patchwork@mira.cbaines.net; Wed, 09 Jun 2021 13:03:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43176) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lr1ad-0003Z1-Nw for guix-patches@gnu.org; Wed, 09 Jun 2021 13:02:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51231) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lr1ad-0007kL-8j for guix-patches@gnu.org; Wed, 09 Jun 2021 13:02:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lr1ad-0002hm-7f for guix-patches@gnu.org; Wed, 09 Jun 2021 13:02:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v3 44/47] gnu: Add go-github-com-skratchdot-open-golang. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 09 Jun 2021 17:02:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162325807210286 (code B ref 48729); Wed, 09 Jun 2021 17:02:03 +0000 Received: (at 48729) by debbugs.gnu.org; 9 Jun 2021 17:01:12 +0000 Received: from localhost ([127.0.0.1]:34533 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1Zn-0002fo-Vd for submit@debbugs.gnu.org; Wed, 09 Jun 2021 13:01:12 -0400 Received: from out2.migadu.com ([188.165.223.204]:29941) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1Zj-0002fJ-Vs for 48729@debbugs.gnu.org; Wed, 09 Jun 2021 13:01:08 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623258067; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nHUFt7gLQnXY3+/wfoKt+8V8SFv7WhyWwnL4UGkJy8g=; b=pRQh5YupG8UTD5S337j8UC0i7KdL0UlqdJp1dVehQqDLBF0ajuZaCr0tojsix4030zlBBw OLkhxSUgIKM0sdRVBSQ3BFhbIWAJWFgx8Pkwk9sFV+S1Mmym8hTWndyTU87Yf6Bj7STpo0 LYHrn7NjdsElMUojcN2hF3HP3h2aiZM0vXpT+xJoWgg1OgfYPVY+hJgN83OYWGhaF2x6Y0 epcorr/fb1Qsv7KTSvJlgZRJv0VqDnBDzoxsKAjl0g7PeuTAB27ueJjuDj7MaxtivbrN0Y fPYQhq5//C/oT5TsTaP1vy49wQUtO/Xd8CEIZXknxxfgB6lHFY80DozV19lFtg== Date: Wed, 9 Jun 2021 13:00:19 -0400 Message-Id: <20210609170022.8207-44-rg@raghavgururajan.name> In-Reply-To: <20210609170022.8207-31-rg@raghavgururajan.name> References: <20210609170022.8207-31-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name 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: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-skratchdot-open-golang): New variable. --- gnu/packages/golang.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index e5e3098e97..d6e54c9d8b 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -74,6 +74,41 @@ #:use-module (ice-9 match) #:use-module (srfi srfi-1)) +(define-public go-github-com-skratchdot-open-golang + (let ((commit "eef8423979666925a58eb77f9db583e54320d5a4") + (revision "28")) + (package + (name "go-github-com-skratchdot-open-golang") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/skratchdot/open-golang") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0n6387csjn024db8wldadsiy8ljz7lk7szl6ls28fcbkax7rw86y")) + (modules '((guix build utils))) + (snippet + `(begin + (delete-file-recursively "vendor") + #t)))) + (build-system go-build-system) + (arguments + `(#:tests? #f ; requires networking + #:unpack-path "github.com/skratchdot/open-golang" + #:import-path "github.com/skratchdot/open-golang/open")) + (inputs + `(("xdg-open" ,xdg-utils))) + (home-page "https://github.com/skratchdot/open-golang") + (synopsis "Proxy for XDG-Open") + (description "Open-GoLang provides a module to open a file, directory, or +URI using the OS's default application for that object type. Optionally, you can +specify an application to use.") + (license license:expat)))) + (define-public go-github-com-skelterjohn-go-wde (let ((commit "adc3f78cdb457e9db21bfff010c85ed97315d8d7") (revision "203")) From patchwork Wed Jun 9 17:00:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30093 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 001BE27BC81; Wed, 9 Jun 2021 18:03:57 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 643C627BC78 for ; Wed, 9 Jun 2021 18:03:57 +0100 (BST) Received: from localhost ([::1]:54804 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lr1cS-0004rs-F3 for patchwork@mira.cbaines.net; Wed, 09 Jun 2021 13:03:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43188) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lr1al-0003au-77 for guix-patches@gnu.org; Wed, 09 Jun 2021 13:02:14 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51232) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lr1ad-0007kk-N9 for guix-patches@gnu.org; Wed, 09 Jun 2021 13:02:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lr1ad-0002hv-L8 for guix-patches@gnu.org; Wed, 09 Jun 2021 13:02:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v3 45/47] gnu: Add go-github-com-sqweek-dialog. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 09 Jun 2021 17:02:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162325807210293 (code B ref 48729); Wed, 09 Jun 2021 17:02:03 +0000 Received: (at 48729) by debbugs.gnu.org; 9 Jun 2021 17:01:12 +0000 Received: from localhost ([127.0.0.1]:34535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1Zo-0002fr-Co for submit@debbugs.gnu.org; Wed, 09 Jun 2021 13:01:12 -0400 Received: from out2.migadu.com ([188.165.223.204]:29952) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1Zl-0002fY-NB for 48729@debbugs.gnu.org; Wed, 09 Jun 2021 13:01:09 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623258069; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5uhpHvuliLjkbYoZ3c3QjMgaqCJbjPqJ0pkNtU7B8js=; b=QNimZOHoMyIetVAXm/CBAZC5C+3H0h+77fmo3Y1duEToOGZiJli0pOHjdz5kmQ0XDZ5fdD Of86DjTQPMiV4nbpuI9Z2FmcNA2t812WtyUjJpysAwngCBrWR8AP85nqN4ba6FFkd44QMg FOzX26qcx50a8is03FjhUeBtPEF6Y2A8twzIbRAtg42y6ZJjNPs13nkrmyUbAJa/Q16CbY VCDlby9bQPUK4j81Vb9hjEudCbRW8qLECSiLCZ/UgY5QAY7E0mOQyt1cfB0SfDa0a6r3kL CcWPDZHrolN8yN6ncEJlcX2h9ZjuRPeZTM4GLQgjK6SFyq1/heoDNfW3Edo4MA== Date: Wed, 9 Jun 2021 13:00:20 -0400 Message-Id: <20210609170022.8207-45-rg@raghavgururajan.name> In-Reply-To: <20210609170022.8207-31-rg@raghavgururajan.name> References: <20210609170022.8207-31-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name 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: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-sqweek-dialog): New variable. --- gnu/packages/golang.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index d6e54c9d8b..f92e14ad28 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -74,6 +74,35 @@ #:use-module (ice-9 match) #:use-module (srfi srfi-1)) +(define-public go-github-com-sqweek-dialog + (let ((commit "8a3d98e8211d6ee4351f31eb597043631002144b") + (revision "30")) + (package + (name "go-github-com-sqweek-dialog") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/sqweek/dialog") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1sdb4nddjyx1dkddk7cga71ymv1fd69pzdf4nywvfb33nfqqbvl1")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/sqweek/dialog")) + (native-inputs + `(("gtk+:bin" ,gtk+ "bin") + ("pkg-config" ,pkg-config))) + (inputs + `(("gtk+" ,gtk+))) + (home-page "https://github.com/sqweek/dialog") + (synopsis "Dialog API for Go") + (description "Dialog is a simple cross-platform dialog API for go-lang.") + (license license:isc)))) + (define-public go-github-com-skratchdot-open-golang (let ((commit "eef8423979666925a58eb77f9db583e54320d5a4") (revision "28")) From patchwork Wed Jun 9 17:00:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30097 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 EC17A27BC81; Wed, 9 Jun 2021 18:04:27 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B089327BC78 for ; Wed, 9 Jun 2021 18:04:27 +0100 (BST) Received: from localhost ([::1]:55890 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lr1cw-0005cg-RY for patchwork@mira.cbaines.net; Wed, 09 Jun 2021 13:04:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lr1al-0003av-5k for guix-patches@gnu.org; Wed, 09 Jun 2021 13:02:14 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51233) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lr1ae-0007lD-4s for guix-patches@gnu.org; Wed, 09 Jun 2021 13:02:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lr1ae-0002i2-3F for guix-patches@gnu.org; Wed, 09 Jun 2021 13:02:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v3 46/47] gnu: Add go-0xacab-org-leap-go-dialog. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 09 Jun 2021 17:02:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162325807510303 (code B ref 48729); Wed, 09 Jun 2021 17:02:04 +0000 Received: (at 48729) by debbugs.gnu.org; 9 Jun 2021 17:01:15 +0000 Received: from localhost ([127.0.0.1]:34539 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1Zq-0002g7-Mz for submit@debbugs.gnu.org; Wed, 09 Jun 2021 13:01:14 -0400 Received: from out2.migadu.com ([188.165.223.204]:29966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1Zn-0002ff-DE for 48729@debbugs.gnu.org; Wed, 09 Jun 2021 13:01:11 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623258070; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=miMrBG9tIv4YMYdcWb3JEqk6p2RDrJVdjr6YB1tI9Os=; b=UK1fg/zpZFGTPqb54AlZUTj3mHPMZj8e3uKwD1ljCPOI/4p3JH9jNlK2Dj74wHOB/ezy/d t6F/ogNJedljz3Q85LRysDCmIGs3ETEG2Lta6mTKC+s72t5Xv1CJLyFzTUz1Vh4VpvnZh3 OOQ0y+LPv3YK0ZadwL4lnE67YPxLSih16D41Jz4/aUD63hG8tJP2MbVYUA/zV55br+hEUk 6KB5D1ZVW04i0bqjasaSWzfrkzaVHkBCMCBt+4dlY/YRpxQMCazLPLZMJhs9j9vSOd1ulB DgFV2gWhyxGDNK45nJoHJSHOn/opcRZ4UHiBhDwxjzWBj2sUZ1+/vyjissyQaA== Date: Wed, 9 Jun 2021 13:00:21 -0400 Message-Id: <20210609170022.8207-46-rg@raghavgururajan.name> In-Reply-To: <20210609170022.8207-31-rg@raghavgururajan.name> References: <20210609170022.8207-31-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name 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: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-0xacab-org-leap-go-dialog): 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 f92e14ad28..96bf6e6551 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -74,6 +74,38 @@ #:use-module (ice-9 match) #:use-module (srfi srfi-1)) +(define-public go-0xacab-org-leap-go-dialog + (let ((commit "0ee8438431a0dca8f25ea788d74bfe7e88078b7a") + (revision "25")) + (package + (name "go-0xacab-org-leap-go-dialog") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://0xacab.org/leap/go-dialog") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1dn2dxpg6162f7vyr66vnwhy31wnjj7f14bqdcs7q0wk890kfh21")))) + (build-system go-build-system) + (arguments + `(#:import-path "0xacab.org/leap/go-dialog")) + (native-inputs + `(("gtk+:bin" ,gtk+ "bin") + ("pkg-config" ,pkg-config))) + (inputs + `(("gtk+" ,gtk+))) + (propagated-inputs + `(("go-github-com-gotk3-gotk3" + ,go-github-com-gotk3-gotk3))) + (home-page "https://0xacab.org/leap/go-dialog") + (synopsis "Dialog API for Go") + (description "Dialog is a simple cross-platform dialog API for go-lang.") + (license license:isc)))) + (define-public go-github-com-sqweek-dialog (let ((commit "8a3d98e8211d6ee4351f31eb597043631002144b") (revision "30")) From patchwork Wed Jun 9 17:00:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 30095 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 025AE27BC81; Wed, 9 Jun 2021 18:04:05 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id CD28927BC78 for ; Wed, 9 Jun 2021 18:04:03 +0100 (BST) Received: from localhost ([::1]:54970 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lr1cY-0004zw-UL for patchwork@mira.cbaines.net; Wed, 09 Jun 2021 13:04:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43186) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lr1al-0003at-6X for guix-patches@gnu.org; Wed, 09 Jun 2021 13:02:14 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51234) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lr1ae-0007lW-Hs for guix-patches@gnu.org; Wed, 09 Jun 2021 13:02:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lr1ae-0002i9-GT for guix-patches@gnu.org; Wed, 09 Jun 2021 13:02:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v3 47/47] gnu: Add bitmask-vpn. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 09 Jun 2021 17:02:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan , Jorge Gomez Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162325808110328 (code B ref 48729); Wed, 09 Jun 2021 17:02:04 +0000 Received: (at 48729) by debbugs.gnu.org; 9 Jun 2021 17:01:21 +0000 Received: from localhost ([127.0.0.1]:34541 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1Zr-0002gK-UO for submit@debbugs.gnu.org; Wed, 09 Jun 2021 13:01:21 -0400 Received: from out2.migadu.com ([188.165.223.204]:29981) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1Zp-0002g5-Rm for 48729@debbugs.gnu.org; Wed, 09 Jun 2021 13:01:15 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623258072; h=from:from: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: in-reply-to:in-reply-to:references:references; bh=vDp+iJr9l2wrcmJ8/VvetBWltdhuDSDcqWqJy2Y/87s=; b=OZpkaTRAhR9NPemPsSYwAhtrzIKm2DTb7sxl/w92dosCtf10l+GnOcVj+ri6P0v6he6OQb yIjaJZaQX8Cz4hdofeWlkkvjgJbQ2cUnJVIPepR27ctHWJzLCUHCyQ2udS/cj/vqt15ato sHCg9Mw5crdpj0Qeu9u1d2BOTnNiCu/kYhZ6ldF0sqq6GWLAIsBbp9K5swLJ0BQNNDZEOi IWVMMUi1YJEx6gNWUi6EpGWw1nYF0uQtIOZMXrWf5Qi12qGoVW087thExmdbpfrKjMuPMN H2JOk+Cx2od8/GNDWca4cT1DQS52xlqGXLonMnzWmQthUqVZU3/oPoeJkHjRcA== Date: Wed, 9 Jun 2021 13:00:22 -0400 Message-Id: <20210609170022.8207-47-rg@raghavgururajan.name> In-Reply-To: <20210609170022.8207-31-rg@raghavgururajan.name> References: <20210609170022.8207-31-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name 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: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/vpn.scm (bitmask-vpn): New variable. Co-authored-by: Jorge Gomez --- gnu/packages/vpn.scm | 220 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 220 insertions(+) diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm index a952e3f0db..3bc990c613 100644 --- a/gnu/packages/vpn.scm +++ b/gnu/packages/vpn.scm @@ -15,6 +15,8 @@ ;;; Copyright © 2020 Ryan Prior ;;; Copyright © 2020 Ivan Kozlov ;;; Copyright © 2020 David Dashyan +;;; Copyright © 2021 Raghav Gururajan +;;; Copyright © 2021 Jorge Gomez ;;; ;;; This file is part of GNU Guix. ;;; @@ -38,6 +40,7 @@ #:use-module (guix git-download) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) + #:use-module (guix build-system go) #:use-module (guix build-system linux-module) #:use-module (guix build-system python) #:use-module (guix utils) @@ -52,6 +55,8 @@ #:use-module (gnu packages freedesktop) #:use-module (gnu packages gettext) #:use-module (gnu packages gnupg) + #:use-module (gnu packages golang) + #:use-module (gnu packages gtk) #:use-module (gnu packages guile) #:use-module (gnu packages libevent) #:use-module (gnu packages linux) @@ -69,6 +74,221 @@ #:use-module (gnu packages tls) #:use-module (gnu packages xml)) +(define-public bitmask + (package + (name "bitmask") + (version "0.20.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://0xacab.org/leap/bitmask-vpn") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "04sh69m5fq3gml4xgzv92z8i3hay98n9llq9p7p6q9q81s8q8849")))) + (build-system go-build-system) + (arguments + `(#:imported-modules + ((guix build copy-build-system) + ,@%go-build-system-modules) + #:modules + (((guix build copy-build-system) + #:prefix copy:) + (guix build go-build-system) + (guix build utils)) + #:unpack-path "0xacab.org/leap/bitmask-vpn" + #:phases + (modify-phases %standard-phases + (add-after 'setup-go-environment 'insert-missing-sources + ;; For some reason these packages are left out. + (lambda* (#:key inputs #:allow-other-keys) + (let* ((go-dialog (assoc-ref inputs "go-0xacab-org-leap-go-dialog")) + (go-dialog-src (string-append go-dialog "/src")) + (shapeshifter (assoc-ref inputs "go-0xacab-org-leap-shapeshifter")) + (shapeshifter-src (string-append shapeshifter "/src"))) + (copy-recursively go-dialog-src "src") + (copy-recursively shapeshifter-src "src")) + #t)) + (add-after 'unpack 'patch-source + (lambda* (#:key inputs outputs #:allow-other-keys) + ;; To use 'emersion/go-autostart', + ;; instead of 'ProtonMail/go-autostart', + ;; as the latter no longer exists. + (substitute* (find-files "." "\\.go$") + (("github.com/ProtonMail/go-autostart") + "github.com/emersion/go-autostart")) + ;; To use absolute paths for referenced programs. + (let* ((ip (string-append (assoc-ref inputs "iproute") + "/sbin/ip")) + (iptables (string-append (assoc-ref inputs "iptables") + "/sbin/iptables")) + (ip6tables (string-append (assoc-ref inputs "iptables") + "/sbin/ip6tables")) + (sysctl (string-append (assoc-ref inputs "procps") + "/sbin/sysctl")) + (openvpn (string-append (assoc-ref inputs "openvpn") + "/sbin/openvpn")) + (bitmask-root (string-append (assoc-ref outputs "out") + "/sbin/bitmask-root"))) + (substitute* (find-files "." "(\\.go$|\\.policy$|bitmask-root)") + (("swhich\\(\"ip\"\\)") + (string-append "\"" ip "\"")) + (("swhich\\(\"iptables\"\\)") + (string-append "\"" iptables "\"")) + (("swhich\\(\"ip6tables\"\\)") + (string-append "\"" ip6tables "\"")) + (("swhich\\(\"sysctl\"\\)") + (string-append "\"" sysctl "\"")) + (("/usr/sbin/openvpn") + openvpn) + (("/usr/sbin/bitmask-root") + bitmask-root) + (("/usr/local/sbin/bitmask-root") + bitmask-root))) + #t)) + (replace 'build + (lambda* (#:key source system outputs search-paths build-flags unpack-path inputs #:allow-other-keys) + (for-each + (lambda (directory) + ((assoc-ref %standard-phases 'build) + #:source source + #:system system + #:outputs outputs + #:search-paths search-paths + #:build-flags build-flags + #:unpack-path unpack-path + #:inputs inputs + #:import-path directory)) + (list + "0xacab.org/leap/bitmask-vpn/cmd/bitmask-connect" + "0xacab.org/leap/bitmask-vpn/cmd/bitmask-helper" + "0xacab.org/leap/bitmask-vpn/cmd/bitmask-vpn" + "0xacab.org/leap/bitmask-vpn/icon" + "0xacab.org/leap/bitmask-vpn/pkg/bitmask" + "0xacab.org/leap/bitmask-vpn/pkg/bitmaskd" + "0xacab.org/leap/bitmask-vpn/pkg/config" + "0xacab.org/leap/bitmask-vpn/pkg/helper" + "0xacab.org/leap/bitmask-vpn/pkg/standalone" + "0xacab.org/leap/bitmask-vpn/pkg/systray" + "0xacab.org/leap/bitmask-vpn/tools/transifex")) + #t)) + (replace 'check + (lambda* (#:key source system outputs search-paths tests? unpack-path inputs #:allow-other-keys) + (for-each + (lambda (directory) + ((assoc-ref %standard-phases 'check) + #:source source + #:system system + #:outputs outputs + #:search-paths search-paths + #:tests? tests? + #:unpack-path unpack-path + #:inputs inputs + #:import-path directory)) + (list + "0xacab.org/leap/bitmask-vpn/cmd/bitmask-connect" + "0xacab.org/leap/bitmask-vpn/cmd/bitmask-helper" + "0xacab.org/leap/bitmask-vpn/cmd/bitmask-vpn" + "0xacab.org/leap/bitmask-vpn/icon" + "0xacab.org/leap/bitmask-vpn/pkg/bitmask" + "0xacab.org/leap/bitmask-vpn/pkg/bitmaskd" + "0xacab.org/leap/bitmask-vpn/pkg/config" + "0xacab.org/leap/bitmask-vpn/pkg/helper" + "0xacab.org/leap/bitmask-vpn/pkg/standalone" + "0xacab.org/leap/bitmask-vpn/pkg/systray" + "0xacab.org/leap/bitmask-vpn/tools/transifex")) + #t)) + (replace 'install + (lambda* (#:key source system outputs search-paths install-source? unpack-path inputs #:allow-other-keys) + (for-each + (lambda (directory) + ((assoc-ref %standard-phases 'install) + #:source source + #:system system + #:outputs outputs + #:search-paths search-paths + #:install-source? install-source? + #:unpack-path unpack-path + #:inputs inputs + #:import-path directory)) + (list + "0xacab.org/leap/bitmask-vpn/cmd/bitmask-connect" + "0xacab.org/leap/bitmask-vpn/cmd/bitmask-helper" + "0xacab.org/leap/bitmask-vpn/cmd/bitmask-vpn" + "0xacab.org/leap/bitmask-vpn/icon" + "0xacab.org/leap/bitmask-vpn/pkg/bitmask" + "0xacab.org/leap/bitmask-vpn/pkg/bitmaskd" + "0xacab.org/leap/bitmask-vpn/pkg/config" + "0xacab.org/leap/bitmask-vpn/pkg/helper" + "0xacab.org/leap/bitmask-vpn/pkg/standalone" + "0xacab.org/leap/bitmask-vpn/pkg/systray" + "0xacab.org/leap/bitmask-vpn/tools/transifex")) + #t)) + (add-after 'install 'install-continued + ;; To install bitmask-root script and polkit policy. + (lambda args + (apply (assoc-ref copy:%standard-phases 'install) + #:install-plan + '(("src/0xacab.org/leap/bitmask-vpn/helpers" + "sbin" + #:include ("bitmask-root")) + ("src/0xacab.org/leap/bitmask-vpn/helpers" + "share/polkit-1/actions" + #:include ("se.leap.bitmask.policy"))) + args))) + (add-after 'install-continued 'post-install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bitmask-root (string-append out "/sbin/bitmask-root"))) + ;; To make bitmask-root script executable. + (chmod bitmask-root #o555) + ;; To wrap bitmask-root script with $PYTHONPATH. + (wrap-program bitmask-root + `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH"))))) + #t))))) + (native-inputs + `(("gtk+:bin" ,gtk+ "bin") + ("pkg-config" ,pkg-config))) + (inputs + `(("gtk+" ,gtk+) + ("iproute" ,iproute) + ("iptables" ,iptables) + ("libappindicator" ,libappindicator) + ("openvpn" ,openvpn) + ("procps" ,procps) + ("python" ,python))) + (propagated-inputs + `(("go-0xacab-org-leap-go-dialog" + ,go-0xacab-org-leap-go-dialog) + ("go-0xacab-org-leap-shapeshifter" + ,go-0xacab-org-leap-shapeshifter) + ("go-github-com-apparentlymart-go-openvpn-mgmt" + ,go-github-com-apparentlymart-go-openvpn-mgmt) + ("go-github-com-emersion-go-autostart" + ,go-github-com-emersion-go-autostart) + ("go-github-com-getlantern-systray" + ,go-github-com-getlantern-systray) + ("go-github-com-jmshal-go-locale" + ,go-github-com-jmshal-go-locale) + ("go-github-com-keybase-go-ps" + ,go-github-com-keybase-go-ps) + ("go-github-com-sevlyar-go-daemon" + ,go-github-com-sevlyar-go-daemon) + ("go-github-com-skratchdot-open-golang" + ,go-github-com-skratchdot-open-golang) + ("go-golang-org-x-sys" ,go-golang-org-x-sys) + ("go-golang-org-x-text" ,go-golang-org-x-text) + ("go-golang-org-x-tools" ,go-golang-org-x-tools))) + (synopsis "Bitmask VPN Client") + (description "Bitmask, by @acronym{LEAP, LEAP Encryption Access Project}, +is an application to provide easy and secure encrypted communication with a +@acronym{VPN, Virtual Private Network}. It allows you to select from a variety +of trusted service provider all from one app. Current providers include Riseup +Networks and The Calyx Institute.") + (home-page "https://bitmask.net/") + (license license:gpl3+))) + (define-public gvpe (package (name "gvpe")