From mboxrd@z Thu Jan 1 00:00:00 1970 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 Subject: [bug#40364] [PATCH] gnu: Add gnome-chess Resent-Message-ID: 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 From: Jack Hill Date: Wed, 1 Apr 2020 00:00:53 -0400 Message-Id: <20200401040053.9054-1-jackhill@jackhill.us> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40364@debbugs.gnu.org Cc: Jack Hill * 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") -- 2.25.1