From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ULrqN8WHkGCFJQEAgWs5BA (envelope-from ) for ; Tue, 04 May 2021 01:31:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4N2QM8WHkGCwSgAA1q6Kng (envelope-from ) for ; Mon, 03 May 2021 23:31:17 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6F8B427196 for ; Tue, 4 May 2021 01:31:17 +0200 (CEST) Received: from localhost ([::1]:46230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldi20-00005B-Gw for larch@yhetil.org; Mon, 03 May 2021 19:31:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldhfW-00037Q-4U for guix-patches@gnu.org; Mon, 03 May 2021 19:08:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37706) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldhfV-0003kl-Tn for guix-patches@gnu.org; Mon, 03 May 2021 19:08:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ldhfV-0006RI-On for guix-patches@gnu.org; Mon, 03 May 2021 19:08:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48210] [PATCH] gnu: xboard: Set default engine to gnuchess. Resent-From: Michael Rohleder Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 03 May 2021 23:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48210 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48210@debbugs.gnu.org Cc: Michael Rohleder X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162008326424743 (code B ref -1); Mon, 03 May 2021 23:08:01 +0000 Received: (at submit) by debbugs.gnu.org; 3 May 2021 23:07:44 +0000 Received: from localhost ([127.0.0.1]:49251 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldhfE-0006R1-Fa for submit@debbugs.gnu.org; Mon, 03 May 2021 19:07:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:44324) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldhfD-0006Qv-7q for submit@debbugs.gnu.org; Mon, 03 May 2021 19:07:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35424) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldhfC-0002uc-DP for guix-patches@gnu.org; Mon, 03 May 2021 19:07:43 -0400 Received: from wp224.webpack.hosteurope.de ([2a01:488:42:1000:50ed:84e7::]:56222) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldhf8-0003Y9-3K for guix-patches@gnu.org; Mon, 03 May 2021 19:07:41 -0400 Received: from www.rohleder.de ([37.61.204.227]); authenticated by wp224.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1ldhf3-0000wm-56; Tue, 04 May 2021 01:07:33 +0200 Received: from [192.168.1.3] (helo=micha.rohleder.de) by www.rohleder.de with esmtp (Exim 4.94) (envelope-from ) id 1ldhf2-0006ZK-C2; Tue, 04 May 2021 01:07:32 +0200 From: Michael Rohleder Date: Tue, 4 May 2021 01:07:28 +0200 Message-Id: <20210503230728.16491-1-mike@rohleder.de> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;mike@rohleder.de;1620083258;27f3581a; X-HE-SMSGID: 1ldhf3-0000wm-56 Received-SPF: permerror client-ip=2a01:488:42:1000:50ed:84e7::; envelope-from=mike@rohleder.de; helo=wp224.webpack.hosteurope.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620084677; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=TlX+9R8PiFMyBT4gP2vPrNFBGxZCMkUkIs1Ps1zoSV4=; b=OS+D6XP16O+mGYx8LeayhvBxdssQM2bwChrE6X0NwkibLjVhrWEIea0VtYzm1QfQI6iehm MFjTzLRDiMet90AOkU+AmR9LTRkqt2bFW+y8fqRWN0gjY60AkLOXbGFAAmmT0Z6OmX7D0b YU5RDJNQWEsKpWS6BescfKKS2rbb91oht7+aB8buMPr71S68tZMBPJXArRPChtCmBigN+R 8UrJh+MI6U7nCUPh73q99GXER8YCqJIIhAb1+j0lStEKd9Xd2KfBFt2BKBWbXfrbldVO0F eHd/AbU3lTE9oG8/2ti/5tMwFGMctECxvKrXCZIZGQpGb+4FJ10VveQuSQBOfw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620084677; a=rsa-sha256; cv=none; b=Dr4u6Q3ji8VPmqa7b9iSC7O2vyRdKR37PMwz9gGfjXQo81K/9Le/VgH3zkSivlSg3sL6cy Z7ehKu0pbI0/vivi7nJgQLNVu8S5Lexk13oDpgt1ATGxkU0JlDGWnsAlRVg/J5cgi2j6ia OgvqIR4pWoC9VZaDvdp7m/MOMGOxLg0Fd/JM+VQCvfVF2+8bkv0IbS/E7GOQ/qEH6y2UAs RCC/+aWGQKdHlZkFEWTS8wGtdYCdrsHRBZpmYYNqLVUZesBZxex4UpcF/BI/LhmTC3EJcy MXoB4+6vONNC6sLeQ9xtkb+Da5vrfweRln7pwPsIGM2lsA+x1U62zDh1vvr9Og== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 2.54 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 6F8B427196 X-Spam-Score: 2.54 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0kqTTszAhoza Fixes . * gnu/packages/games.scm (xboard): Set default engine to gnuchess. [arguments]: Add phase 'patch-default-engine. [inputs]: Add chess. --- gnu/packages/games.scm | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 073e41eec6..b394e0e5e9 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -3332,10 +3332,18 @@ exec ~a/bin/freedink -refdir ~a/share/dink\n" (lambda* (#:key inputs #:allow-other-keys) (substitute* "xboard.conf" (("aplay -q") - (string-append (assoc-ref inputs "alsa-utils") "/bin/aplay -q"))) - #t))))) + (string-append (assoc-ref inputs "alsa-utils") "/bin/aplay -q"))))) + ;; Fixes https://issues.guix.gnu.org/45236. + (add-after 'unpack 'patch-default-engine + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "xboard.conf" + (("-firstChessProgram fairymax") + (string-append "-firstChessProgram " + (assoc-ref inputs "chess") + "/bin/gnuchessx")))))))) (inputs `(("alsa-utils" ,alsa-utils) + ("chess" ,chess) ("gtk+" ,gtk+-2) ("librsvg" ,librsvg))) (native-inputs -- 2.31.1