From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 4OJfAOrLeF9dFAAA0tVLHw (envelope-from ) for ; Sat, 03 Oct 2020 19:07:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id cArBN+nLeF9sRAAAbx9fmQ (envelope-from ) for ; Sat, 03 Oct 2020 19:07:21 +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 4F5BB9400BF for ; Sat, 3 Oct 2020 19:07:21 +0000 (UTC) Received: from localhost ([::1]:52998 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kOmsI-0005cC-RT for larch@yhetil.org; Sat, 03 Oct 2020 15:07:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60544) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kOms2-0005ao-0x for guix-patches@gnu.org; Sat, 03 Oct 2020 15:07:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32953) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kOms1-00049p-Of for guix-patches@gnu.org; Sat, 03 Oct 2020 15:07:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kOms1-0002Cb-J9 for guix-patches@gnu.org; Sat, 03 Oct 2020 15:07:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43781] [PATCH 2/2] gnu: Add cgoban References: In-Reply-To: Resent-From: =?UTF-8?Q?Tom=C3=A1s_?= =?UTF-8?Q?Ort=C3=ADn_?= =?UTF-8?Q?Fern=C3=A1ndez?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 03 Oct 2020 19:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43781 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43781@debbugs.gnu.org Received: via spool by 43781-submit@debbugs.gnu.org id=B43781.16017519688404 (code B ref 43781); Sat, 03 Oct 2020 19:07:01 +0000 Received: (at 43781) by debbugs.gnu.org; 3 Oct 2020 19:06:08 +0000 Received: from localhost ([127.0.0.1]:44499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOmr6-0002BR-DC for submit@debbugs.gnu.org; Sat, 03 Oct 2020 15:06:08 -0400 Received: from mout-p-202.mailbox.org ([80.241.56.172]:60052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOmr3-0002At-D4 for 43781@debbugs.gnu.org; Sat, 03 Oct 2020 15:06:02 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4C3btB6nmSzQlKH for <43781@debbugs.gnu.org>; Sat, 3 Oct 2020 21:05:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h= content-transfer-encoding:content-language:content-type :content-type:mime-version:date:date:message-id:subject:subject :from:from:received; s=mail20150812; t=1601751948; bh=TDojLN878G /lJ4K+VeQ17tK6xyUylOo3HGmSJTOdL80=; b=ldTPtqprjCEnS4KLR0mdVzm5WN sfjmDHjuJByVieyMR9LY6tKiFfh/NJ//l1BIeQCzl0KIpQrl7ClZqgAz9vE/r8BM AavcEq9s7YKiWyJL+ckiRaPrJbfK4UJIsw0xaEPxNFlsusDahQP2DsRIsgoTKAo+ 1T6OnfRt803kt8h931bEWn5R+yVNUmoy5kadVEJYE2WOdvBtU7TFITeC7QDvpjYY RPaOuV2iUg4gi9dO0Ynripf1aGsklP15YT6GfD0oTdpn3UKbpBvve1B48cWGDDOp XU75Q8Azew5CXs6skfwhC6kmw+bFpYA+2Tr391sxVE9R//D6f2liKzFhek6A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1601751950; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=fvKwPIeqJvdtbCitmg8x0Ek6cdanavjnMJ9tOYt363w=; b=NHUUiLL0G53jc+1gryMXl0gXaion3s/7jOn1JKgzYJDnZneQuuOXDJ3E/CFq7sERGjDvuZ j4m+e4CIqRS65wtr1HkyujLMgIYFl+r6e4Ys3XF9c5sadX3H/rzSZVUJzkIsR4uFlEnD2B iWyEVLMAyENDI7NGEFZTKms3q6GgUI83o5ZIphtQTYnf7i/Jw4wbubvk2FvTwbn2x84q/G flJo6ZwGmZCu8gw7Ed5LfotOEaEL6BzqLz+YwBzsErYtWZs1rnONIQfuhRKy5ScYVYrRpg RC7xb9JlDNmr40g8Eokxxf1UtLuW/9NUA5wW/8qNnrcWtHsl1i+ldydqosA58Q== X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter04.heinlein-hosting.de (spamfilter04.heinlein-hosting.de [80.241.56.122]) (amavisd-new, port 10030) with ESMTP id cw8IdOn6B7zM for <43781@debbugs.gnu.org>; Sat, 3 Oct 2020 21:05:48 +0200 (CEST) Message-ID: <9f324abb-f935-b748-526b-467113e87670@mailbox.org> Date: Sat, 3 Oct 2020 21:05:46 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-MBO-SPAM-Probability: X-Rspamd-Score: -5.86 / 15.00 / 15.00 X-Rspamd-Queue-Id: 2BE4F1704 X-Rspamd-UID: 8d8939 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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" Reply-to: Tomás Ortín Fernández , Tomás Ortín Fernández via Guix-patches From: Tomás Ortín Fernández via Guix-patches via X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=mailbox.org header.s=mail20150812 header.b=ldTPtqpr; dkim=fail (rsa verify failed) header.d=mailbox.org header.s=mail20150812 header.b=NHUUiLL0; dmarc=pass (policy=none) header.from=gnu.org; 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-Spam-Score: -0.51 X-TUID: Zc3g37Fww4pF Sorry, I see I should have sent it all in one email. * gnu/packages/games.scm (cgoban): New variable. --- 2 files changed, 71 insertions(+), 1 deletion(-) gnu/packages/games.scm | 32 +++++++++++++++++++- gnu/packages/patches/cgoban-1.9.14-cflags.patch | 40 +++++++++++++++++++++++++ diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 28c1492b26..c2fefd6812 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -54,7 +54,8 @@ ;;; Copyright © 2020 Michael Rohleder ;;; Copyright © 2020 Trevor Hass ;;; Copyright © 2020 Leo Prikler -;;; +;;; Copyright © 2020 Tomás Ortín Fernández +;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it @@ -11790,3 +11791,32 @@ inside the Zenith Colony.") X11 that won't set your CPU on fire, drain your laptop battery, or lower video game FPS.") (license license:unlicense)))) + +(define-public cgoban + (package + (name "cgoban") + (version "1.9.14") + (source + (origin + (method url-fetch) + (uri (string-append "https://sourceforge.net/projects/cgoban1/files/" + "cgoban1/1.9.14/cgoban-1.9.14.tar.gz")) + (sha256 + (base32 "0qlvkiaglqq0izfph3l04mp4rqqqm9ks6rcsrmzrggw9x706z2iv")) + (patches (search-patches "cgoban-1.9.14-cflags.patch")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #t)) + (inputs + `(("xorgproto", xorgproto) + ("libx11", libx11) + ("libxt", libxt))) + (home-page "http://cgoban1.sourceforge.net/") + (synopsis "Go client for X11") + (description "CGoban provides a large set of Go-related services for X11: +-Local games with precise implementation of the Chinese and Japanese rulesets +-Edition and visualization of SGF files +-Connection to the NNGS or IGS Go servers +-Bridge to Go modem protocol, including playing against Go modem capable AIs, +such as GnuGo") + (license license:gpl2+))) diff --git a/gnu/packages/patches/cgoban-1.9.14-cflags.patch b/gnu/packages/patches/cgoban-1.9.14-cflags.patch new file mode 100644 index 0000000000..dc5e9ef15d --- /dev/null +++ b/gnu/packages/patches/cgoban-1.9.14-cflags.patch @@ -0,0 +1,40 @@ +--- a/configure.in ++++ b/configure.in +@@ -1,8 +1,9 @@ + #for autoconf 2.1x start configure script with next three lines + + AC_PREREQ(2.13) +-AC_INIT(src/cgoban.c) +-AM_INIT_AUTOMAKE(cgoban, 1.9.14) ++AC_INIT([cgoban], [1.9.14]) ++AC_CONFIG_SRCDIR([src/cgoban.c]) ++AM_INIT_AUTOMAKE([no-define]) + + #for autoconf 2.5x start configure script with next four lines + # AC_PREREQ(2.50) +@@ -145,7 +146,7 @@ + ###################################################################### + + export VERSION +-AC_DEFINE_UNQUOTED(VERSION,$VERSION) ++AC_DEFINE_UNQUOTED(VERSION,["$VERSION"]) + AC_PREFIX_DEFAULT(/usr/games) + + dayNum=`echo $date | awk '{ print $1 }'` +@@ -160,6 +161,7 @@ + AC_DEFINE_UNQUOTED(DATE,$DATE) + AC_DEFINE_UNQUOTED(DATE_FRENCH,$DATE_FRENCH) + ++AM_PROG_AR + AC_PROG_MAKE_SET + AC_PROG_INSTALL + AC_PROG_CC +@@ -168,7 +170,6 @@ + AC_MINIX + AC_PROG_CPP + AC_EXEEXT +-WMS_GET_CFLAGS + + AM_CONFIG_HEADER(configure.h) + AC_SUBST(LIBS)dnl +