From patchwork Wed Apr 1 04:00:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jack Hill X-Patchwork-Id: 21025 X-Patchwork-Delegate: mail@cbaines.net 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 5CBBC27BBE4; Wed, 1 Apr 2020 05: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.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, 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 ESMTP id 1CE4627BBE1 for ; Wed, 1 Apr 2020 05:02:15 +0100 (BST) Received: from localhost ([::1]:46746 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJUZy-0004QH-HY for patchwork@mira.cbaines.net; Wed, 01 Apr 2020 00:02:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60823) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJUZn-0004Pm-MG for guix-patches@gnu.org; Wed, 01 Apr 2020 00:02:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJUZm-0007C1-C3 for guix-patches@gnu.org; Wed, 01 Apr 2020 00:02:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53985) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jJUZm-00079Y-8d for guix-patches@gnu.org; Wed, 01 Apr 2020 00:02:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jJUZm-0005FW-2s for guix-patches@gnu.org; Wed, 01 Apr 2020 00:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40364] [PATCH] gnu: Add gnome-chess Resent-From: Jack Hill Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 Apr 2020 04:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40364 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 40364@debbugs.gnu.org Cc: Jack Hill X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158571369920102 (code B ref -1); Wed, 01 Apr 2020 04:02:01 +0000 Received: (at submit) by debbugs.gnu.org; 1 Apr 2020 04:01:39 +0000 Received: from localhost ([127.0.0.1]:37298 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJUZJ-0005Dp-QC for submit@debbugs.gnu.org; Wed, 01 Apr 2020 00:01:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:34403) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJUZI-0005Dc-1p for submit@debbugs.gnu.org; Wed, 01 Apr 2020 00:01:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59619) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJUZG-0004Ns-LE for guix-patches@gnu.org; Wed, 01 Apr 2020 00:01:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJUZE-0003UY-Ms for guix-patches@gnu.org; Wed, 01 Apr 2020 00:01:30 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:35880) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jJUZB-0003Rf-40 for guix-patches@gnu.org; Wed, 01 Apr 2020 00:01:26 -0400 Received: from lib-its13.lib.duke.edu ([152.3.118.151] helo=localhost.localdomain) by minsky.hcoop.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1jJUZ6-0003Dx-BM; Wed, 01 Apr 2020 00:01:20 -0400 From: Jack Hill Date: Wed, 1 Apr 2020 00:00:53 -0400 Message-Id: <20200401040053.9054-1-jackhill@jackhill.us> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/games.scm (gnome-chess): New variable. --- gnu/packages/games.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index e818b851f4..dbc9e899b8 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -49,6 +49,7 @@ ;;; Copyright © 2020 Alberto Eleuterio Flores Guerrero ;;; Copyright © 2020 Naga Malleswari ;;; Copyright © 2020 Vitaliy Shatrov +;;; Copyright © 2020 Jack Hill ;;; ;;; This file is part of GNU Guix. ;;; @@ -1095,6 +1096,45 @@ destroying an ancient book using a special wand.") ;; license. The whole package is released under GPLv3+. (license license:gpl3+))) +(define-public gnome-chess + (package + (name "gnome-chess") + (version "3.36.0") + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnome/sources/" name "/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "1a9fgi749gy1f60vbcyrqqkab9vqs42hji70q73k1xx8rv0agmg0")))) + (build-system meson-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'skip-gtk-update-icon-cache + ;; Don't create 'icon-theme.cache'. + (lambda _ + (substitute* "meson_post_install.py" + (("gtk-update-icon-cache") "true")) + #t))))) + (inputs + `(("gtk+" ,gtk+) + ("librsvg" ,librsvg))) + (native-inputs + `(("gettext" ,gettext-minimal) + ("glib:bin" ,glib "bin") ; for desktop-file-validate and appstream-util + ("itstool" ,itstool) + ("pkg-config" ,pkg-config) + ("vala" ,vala))) + (home-page "https://wiki.gnome.org/Apps/Chess") + (synopsis "Chess board for GNOME") + (description "GNOME Chess provides a 2D board for playing chess games +against human or computer players. It supports loading and saving games in +Portable Game Notation. To play against a computer, install a chess engine +such as chess or stockfish.") + (license license:gpl3+))) + (define-public gnubg (package (name "gnubg")