From unknown Sat Jun 14 05:27:33 2025 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 104.248.1.95 X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) * 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 From unknown Sat Jun 14 05:27:33 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#40364] [PATCH] gnu: Add gnome-chess Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 Apr 2020 07:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40364 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 40364@debbugs.gnu.org, Jack Hill Received: via spool by 40364-submit@debbugs.gnu.org id=B40364.15857265888224 (code B ref 40364); Wed, 01 Apr 2020 07:37:01 +0000 Received: (at 40364) by debbugs.gnu.org; 1 Apr 2020 07:36:28 +0000 Received: from localhost ([127.0.0.1]:37414 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJXvC-00027y-It for submit@debbugs.gnu.org; Wed, 01 Apr 2020 03:36:28 -0400 Received: from mira.cbaines.net ([212.71.252.8]:33762) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJXv9-00027c-87 for 40364@debbugs.gnu.org; Wed, 01 Apr 2020 03:36:20 -0400 Received: from localhost (unknown [46.237.163.68]) by mira.cbaines.net (Postfix) with ESMTPSA id CE11627BBE1; Wed, 1 Apr 2020 08:36:17 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id b8dc2276; Wed, 1 Apr 2020 07:36:15 +0000 (UTC) References: <20200401040053.9054-1-jackhill@jackhill.us> User-agent: mu4e 1.2.0; emacs 26.3 From: Christopher Baines In-reply-to: <20200401040053.9054-1-jackhill@jackhill.us> Date: Wed, 01 Apr 2020 08:36:12 +0100 Message-ID: <87d08rac9f.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Jack Hill writes: > * gnu/packages/games.scm (gnome-chess): New variable. > --- > gnu/packages/games.scm | 40 ++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 40 insertions(+) Thanks for the patch Jack! > 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 =C2=A9 2020 Alberto Eleuterio Flores Guerrero > ;;; Copyright =C2=A9 2020 Naga Malleswari > ;;; Copyright =C2=A9 2020 Vitaliy Shatrov > +;;; Copyright =C2=A9 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)))) It would be good to wrap gnome-chess to include it's own share directory in the XDG_DATA_DIRS environment variable. Without that, I can't just run it [1], but when I set that variable correctly [2], it works :) 1: =E2=86=92 /gnu/store/jv8jpq23iic13j7zdl8mdc30vcv508wh-gnome-chess-3.36.0/bi= n/gnome-chess (gnome-chess:10039): GLib-GIO-ERROR **: 08:31:52.482: Settings schema 'org.= gnome.Chess' is not installed Trace/breakpoint trap 2: =E2=86=92 XDG_DATA_DIRS=3D"$XDG_DATA_DIRS:/gnu/store/jv8jpq23iic13j7zdl8mdc= 30vcv508wh-gnome-chess-3.36.0/share" /gnu/store/jv8jpq23iic13j7zdl8mdc30vcv= 508wh-gnome-chess-3.36.0/bin/gnome-chess This wrapping is something that would automatically be done through the glib-or-gtk-build-system, but maybe not automatically through the meson build system. > + (inputs > + `(("gtk+" ,gtk+) > + ("librsvg" ,librsvg))) > + (native-inputs > + `(("gettext" ,gettext-minimal) > + ("glib:bin" ,glib "bin") ; for desktop-file-validate and appstrea= m-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 eng= ine > +such as chess or stockfish.") > + (license license:gpl3+))) > + > (define-public gnubg > (package > (name "gnubg") Apart from the wrapping I mentioned above, this looks good to me :) Thanks, Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl6ERGxfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XebnhAAi6jfjYnmQMdiFj+3FzA/LGtztdrIXjSiOWCRra/uiGatBTIQ1sbFc12h Bt0tjAACn77C0kdIVO+MHvqXbHGC3v4mnvSQny373+TTIa8QsLNHRBXdxImI7y2N 3FiEjMOfklHPPTrHQAsGzWrMbw1Xbr1vTx3dD8uv6mzyGt8MxNy8FGy9RG4a3KqU QpCWbBeRaVvERH1O+YZwTUDSHqbJ5TiP+x960INc06HaDN50E2peLOXDE5BjajRR 5QkXYUXDNdMlWdg9o8GMfFjhuFRH8Am1cQFFav+Ubyw/2Gf/apC0cRRxfQIKW8hs NJt3d+fvxBVvUx2r4M/szaQcAJDdEohUqC5nnaocQAb8owhO6bV5DtdvNRJBbsaw 1IF9GzVomEUK0l6LPp1PzHRCT158kbg7DfBnqHGiLJp4UgBx4AqW5/e1y1kd8g4y eVgykmctl4TdATqIDaahCxxz9vsYZFFyRlW+3s/esWe4D23k3hCyX+s9DL2U8/GL kldiEQXLcOzU/o7yHXqHWwkhDSkldxpRqf1fq/JXeNc+Rw72cjpzs9FWFl3xnChW vMtW83pYw4VG5FWi4D9+ByYpFB31r2bPagvOzv/zeF/MvA+YIGh+bLZj9RcFu6uM xRddvtRJKfxDapPLyYH3QQmGarNs4DH4rUt37g725V/dzRlrKVk= =UGxl -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Jun 14 05:27:33 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#40364] [PATCH] gnu: Add gnome-chess Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 Apr 2020 08:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40364 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Christopher Baines Cc: 40364@debbugs.gnu.org, Jack Hill Received: via spool by 40364-submit@debbugs.gnu.org id=B40364.158572968024538 (code B ref 40364); Wed, 01 Apr 2020 08:28:02 +0000 Received: (at 40364) by debbugs.gnu.org; 1 Apr 2020 08:28:00 +0000 Received: from localhost ([127.0.0.1]:37435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJYjA-0006Ni-AI for submit@debbugs.gnu.org; Wed, 01 Apr 2020 04:28:00 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:11715) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJYj7-0006Mo-D9 for 40364@debbugs.gnu.org; Wed, 01 Apr 2020 04:27:58 -0400 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id E8E6A240015; Wed, 1 Apr 2020 08:27:49 +0000 (UTC) From: Nicolas Goaziou References: <20200401040053.9054-1-jackhill@jackhill.us> <87d08rac9f.fsf@cbaines.net> Date: Wed, 01 Apr 2020 10:27:49 +0200 In-Reply-To: <87d08rac9f.fsf@cbaines.net> (Christopher Baines's message of "Wed, 01 Apr 2020 08:36:12 +0100") Message-ID: <874ku34nlm.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, Christopher Baines writes: > This wrapping is something that would automatically be done through the > glib-or-gtk-build-system, but maybe not automatically through the meson > build system. I think the meson build system has a #:glib-or-gtk? parameter to do that. Regards, -- Nicolas Goaziou From unknown Sat Jun 14 05:27:33 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#40364] [PATCH v2] gnu: Add gnome-chess Resent-From: Jack Hill Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 Apr 2020 14:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40364 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 40364@debbugs.gnu.org Cc: Jack Hill , mail@cbaines.net, mail@nicolasgoaziou.fr Received: via spool by 40364-submit@debbugs.gnu.org id=B40364.158575156726401 (code B ref 40364); Wed, 01 Apr 2020 14:33:02 +0000 Received: (at 40364) by debbugs.gnu.org; 1 Apr 2020 14:32:47 +0000 Received: from localhost ([127.0.0.1]:38551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJeQ6-0006rV-3h for submit@debbugs.gnu.org; Wed, 01 Apr 2020 10:32:47 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:60316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJeQ4-0006qz-Sf for 40364@debbugs.gnu.org; Wed, 01 Apr 2020 10:32:41 -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 1jJePx-0000j8-J1; Wed, 01 Apr 2020 10:32:33 -0400 From: Jack Hill Date: Wed, 1 Apr 2020 10:32:07 -0400 Message-Id: <20200401143207.13357-1-jackhill@jackhill.us> X-Mailer: git-send-email 2.25.1 In-Reply-To: <874ku34nlm.fsf@nicolasgoaziou.fr> References: <874ku34nlm.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/games.scm (gnome-chess): New variable. --- Thanks for the review and suggestion. I've added the #glib-or-gtk? #t argument, and it looks like the wrapping happens correctly. gnu/packages/games.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index e818b851f4..8a24dad33d 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,46 @@ 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 + '(#:glib-or-gtk? #t + #: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 From unknown Sat Jun 14 05:27:33 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Jack Hill Subject: bug#40364: closed (Re: [PATCH v2] gnu: Add gnome-chess) Message-ID: References: <878sjf9kr3.fsf@cbaines.net> <20200401040053.9054-1-jackhill@jackhill.us> X-Gnu-PR-Message: they-closed 40364 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 40364@debbugs.gnu.org Date: Wed, 01 Apr 2020 17:31:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1585762262-31375-1" This is a multi-part message in MIME format... ------------=_1585762262-31375-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #40364: [PATCH] gnu: Add gnome-chess which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 40364@debbugs.gnu.org. --=20 40364: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D40364 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1585762262-31375-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 40364-done) by debbugs.gnu.org; 1 Apr 2020 17:30:30 +0000 Received: from localhost ([127.0.0.1]:38617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJhCA-00088I-Ht for submit@debbugs.gnu.org; Wed, 01 Apr 2020 13:30:30 -0400 Received: from mira.cbaines.net ([212.71.252.8]:34574) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJhC8-000883-4l for 40364-done@debbugs.gnu.org; Wed, 01 Apr 2020 13:30:28 -0400 Received: from localhost (unknown [46.237.163.68]) by mira.cbaines.net (Postfix) with ESMTPSA id 1C04D27BBE1; Wed, 1 Apr 2020 18:30:27 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id f6a335ca; Wed, 1 Apr 2020 17:30:24 +0000 (UTC) References: <874ku34nlm.fsf@nicolasgoaziou.fr> <20200401143207.13357-1-jackhill@jackhill.us> User-agent: mu4e 1.2.0; emacs 26.3 From: Christopher Baines To: Jack Hill Subject: Re: [PATCH v2] gnu: Add gnome-chess In-reply-to: <20200401143207.13357-1-jackhill@jackhill.us> Date: Wed, 01 Apr 2020 18:30:24 +0100 Message-ID: <878sjf9kr3.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40364-done Cc: 40364-done@debbugs.gnu.org, mail@nicolasgoaziou.fr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Jack Hill writes: > * gnu/packages/games.scm (gnome-chess): New variable. > --- > > Thanks for the review and suggestion. I've added the #glib-or-gtk? #t > argument, and it looks like the wrapping happens correctly. Great, I've pushed this as 63406c0bfd0d016098ef593dcc8bfc412df36bea. Thanks for the patch! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl6Ez7BfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XeK+hAAg2NTcsMGaWlizxQkZH5v6POqY/c+CzaLG4BvwO+nMnYmUkKEzlezzxOq nObWDLFOrU9e2QbXq1wHTucksKc6IP8hDPAHx890xiGDr10RvsMRwngU94tg4c3+ taqxoOTQnbhx4UzvCLtYmTInLw4sAdVDWgZ4fsBujskYQn7pg6f4hmzUuycKPd80 QNkvCOZdhu3w2PKesW6328y6C9CB6h0idIv+vqaUpxj3n4phEJE+wUIobRqPu2GE l44Sz/xg3YPQuL4fzjs1gqh8lsHCFl7+nLerQPYaNdht8p9yXpBOc0D5oPX3KxMQ rZ1mmJFKkLgnQ+kocwoKnETx5dfw+rFRktMgC3HbIgjJvcOOmJF3lnGYCAJsTtLc PTp+BvDgpdW3rfRpHPjn6LAn5jELJsAJIcjWhtt54s0gCyxbEfX/fHaA3aEqtx5V A1UcKyWzPSeuQ1oaj4sOQIddhl4U0x/v2W+TUEjdAYpc+IkNlMp/O5JJh3EXdvx5 P4w42LGCuGtXrNpMAY8esNs2mkpc9umXPY+MzstFzorGsBUZFlevbAhqI5X/XUqM MpJs2yblzixbPAmR86S3zorQc2Hbu2DhwNXZ5ee0DvlCMJCzq6KPsm116bc4uZUe tb0R1XSfVp9TzQHzuApjsUwWL6qi6X6a7dV1/HyHq7GegeP9qUg= =n4QM -----END PGP SIGNATURE----- --=-=-=-- ------------=_1585762262-31375-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 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 To: guix-patches@gnu.org Subject: [PATCH] gnu: Add gnome-chess 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 104.248.1.95 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: submit Cc: Jack Hill X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) * 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 ------------=_1585762262-31375-1--