From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id Nr1jK5eYyGLEaQEAbAwnHQ (envelope-from ) for ; Fri, 08 Jul 2022 22:50:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id OCNJKZeYyGJ1XwAAG6o9tA (envelope-from ) for ; Fri, 08 Jul 2022 22:50:31 +0200 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 43A721A574 for ; Fri, 8 Jul 2022 22:50:31 +0200 (CEST) Received: from localhost ([::1]:43658 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9uvm-00056N-13 for larch@yhetil.org; Fri, 08 Jul 2022 16:50:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49462) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9uvL-00056E-Hd for guix-patches@gnu.org; Fri, 08 Jul 2022 16:50:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39348) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o9uvL-0006th-83 for guix-patches@gnu.org; Fri, 08 Jul 2022 16:50:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o9uvL-0004tL-4U for guix-patches@gnu.org; Fri, 08 Jul 2022 16:50:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56456] [PATCH 2/2] gnu: pokerth: Update to 1.1.2-8e6088e4. Resent-From: Greg Hogan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Jul 2022 20:50:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56456 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56456@debbugs.gnu.org Cc: Greg Hogan Received: via spool by 56456-submit@debbugs.gnu.org id=B56456.165731339118770 (code B ref 56456); Fri, 08 Jul 2022 20:50:03 +0000 Received: (at 56456) by debbugs.gnu.org; 8 Jul 2022 20:49:51 +0000 Received: from localhost ([127.0.0.1]:33244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9uv9-0004sg-6K for submit@debbugs.gnu.org; Fri, 08 Jul 2022 16:49:51 -0400 Received: from mail-qk1-f173.google.com ([209.85.222.173]:37566) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9uv6-0004sG-01 for 56456@debbugs.gnu.org; Fri, 08 Jul 2022 16:49:48 -0400 Received: by mail-qk1-f173.google.com with SMTP id b24so16670669qkn.4 for <56456@debbugs.gnu.org>; Fri, 08 Jul 2022 13:49:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greghogan-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1403L1tvWcQMtpRK/mO4FcxUAFerPb1HehkJGXyUNrY=; b=7IvrAvQcJLtSKknVxU3WqVCzy7knvJGMEvdPggjNwJmBswgB/MzrWPEn8JUOZmJxL2 hcaDR4+7ohT9YXIUgwHDjt2o08ua6TwKEtVrRhzcPKir/KHGczRak44HaLkSYQFQktqi uMSRiUquE77alXBGrzGW4aML+/Ye9ZB4JUKyIyNyxl7K1kgq5+2DZyFiqcbyJ6gXq0rk +FpuDyB5YDV0CoOUF7lafU0PWndyq2ahWyiGU3xFfYhB7UYn3RERLE4ZPZrDGruwp7uS 1hckANlYWeiSQ2B9zTbAmn6pptN89oNtFr+xP6hXR1DWgjWnZ0IYN7Dj1uezgbPdVDGC Z5Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1403L1tvWcQMtpRK/mO4FcxUAFerPb1HehkJGXyUNrY=; b=K/zSNXnfXN2mXiYSHxP3PaUWpqkt+MqrinDxYYAJN+uJkuw61r2WL2iiHIU5xhx16o fa5tjGQvTTmqR1imWHsiuXB+Wll4vXSc0JUlAVMznn2XQ8Ln6ub4mviO9If+xZJyhEFA 0KmpD6R9bO2F6EDCaXK+jghyiVswnEnOhZLOkHUf2qbXIGrE0iwlUBeJyig0qrrNZNqK ZmYIK+9pHC2/tdcPOIAOZMORCYovAJ9nBpMj0kAGZmyP058bTkPrr4Sf6D7nVZgxw67H 0seuEUL2EN+qH12cXSfYRphqiVzriusZoHeKBPFnSz8d5JpbUcFTMPRdJclcojX4HiuL Jyww== X-Gm-Message-State: AJIora9beymL5wxmMR7dUgJd0XeRa2snG/dz5kREP03rse+4qf/tzmx7 NH4Kc4kXp1v+XePCrZb0cNtIONhAG7gP88vO X-Google-Smtp-Source: AGRyM1vUjhTfRVD4UcjfG18FqTDWHflSKq+NhvqbAUUfMeiYRQo4xrejMIcZGTgTtUkeZgZMS1FE6A== X-Received: by 2002:a37:e20a:0:b0:6b5:55af:f2ef with SMTP id g10-20020a37e20a000000b006b555aff2efmr3665747qki.752.1657313382147; Fri, 08 Jul 2022 13:49:42 -0700 (PDT) Received: from ip-10-114-89-251.evoforge.org (ec2-52-70-167-183.compute-1.amazonaws.com. [52.70.167.183]) by smtp.gmail.com with ESMTPSA id bi13-20020a05620a318d00b006a6c552736asm34947902qkb.119.2022.07.08.13.49.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jul 2022 13:49:41 -0700 (PDT) From: Greg Hogan Date: Fri, 8 Jul 2022 20:49:30 +0000 Message-Id: <22b980b0564079b825af5a9dad5af81e68e20fe7.1657313089.git.code@greghogan.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <479518687c1c164ba3f159223985154acdedaa88.1657313089.git.code@greghogan.com> References: <479518687c1c164ba3f159223985154acdedaa88.1657313089.git.code@greghogan.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657313431; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=1403L1tvWcQMtpRK/mO4FcxUAFerPb1HehkJGXyUNrY=; b=QdHWM6k6o3f/lAsKFRDhAjqSzsNuK0UwBgY43jYjr6jcOGyWDLO7V/ec5UomDfMR+wO+5A fDIRwJvbd8j4aiK/xuSPWs529bddLFeACel/tif4FvKT2JnV5TGkr3RTT1XBoafw2aZv3g 8X8TYUhW04NyTGfkQ7JdqkZcW+fnKKuLq0nxp8ZCAUT6DGV2+vA+BgA937+SDyP63iTMkz 2dTvkKxqOItSTGlUdEXrAPl997YEZMBiYJw+TCE23hqnajy7NbiRT2M37MNnwbcGsYiwRL TOkShCsMypNV7K7GDswc7I48ctaDH2WsnbjguUlUEDXHS6V+gaKYgSJ1jIaY6A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657313431; a=rsa-sha256; cv=none; b=ZtTfVgEN0AXY7apeHFZ2Pr8eHeP2OqRs56qLklV1GYNkAl0LaR6XXDMOWHWQCHtDHB3lxZ cBAgA93oyC8mM3npchdpDh1f+D8/WP24Fd5X5cVMUXoElb1uBRgyAW82QZKTcsVXGzzzES 76bYDFuR34ST5FqkS8fsq8OQGHKyQdSmjeBkrwVMDq3rh/UY6Y3ryTuEEXI4L8ue0de63o 8wB87klQoUb+X4fiW0FZp4CQkfrVxK4HbvapNYQ9Xs2+TMU39qsF47INHyu60WSNZNH2Ih 0difI/pNyVsFt0SRjB5kHzd4TYq5XabR2TBVRE5xJ7EkNDvwmwemNadZZT0bAw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=greghogan-com.20210112.gappssmtp.com header.s=20210112 header.b=7IvrAvQc; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 1.15 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=greghogan-com.20210112.gappssmtp.com header.s=20210112 header.b=7IvrAvQc; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 43A721A574 X-Spam-Score: 1.15 X-Migadu-Scanner: scn0.migadu.com X-TUID: psMBl/39cgAX * gnu/packages/games.scm (pokerth): Update to 1.1.2-8e6088e4. [source]: Switch to git-fetch. [arguments]<#:phases>: Remove substitution for libircclient in 'fix-paths and delete 'fix-build. --- gnu/packages/games.scm | 129 +++++++++++++++++++---------------------- 1 file changed, 60 insertions(+), 69 deletions(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index c6ed6eed00..6f72465c5c 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -12231,76 +12231,67 @@ (define-public neverball (license license:gpl2+)))) (define-public pokerth - (package - (name "pokerth") - (version "1.1.2") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://sourceforge/pokerth/pokerth/" - version "/pokerth-" version ".tar.gz")) - (sha256 - (base32 "0yi9bj3k8yc1gkwmaf14zbbvvn13n54n1dli8k6j1pkph3p3vjq2")) - (modules '((guix build utils))) - (snippet - '(begin - ;; Remove bundled websocketpp. - (delete-file-recursively "src/third_party/websocketpp") - (substitute* "pokerth_lib.pro" - (("src/third_party/websocketpp") - "")) - #t)))) - (build-system qt-build-system) - (inputs - `(("boost" ,boost) - ("curl" ,curl) - ("gsasl" ,gsasl) - ("libgcrypt" ,libgcrypt) - ("libircclient" ,libircclient) - ("protobuf" ,protobuf-2) ; remove package when no longer needed - ("qtbase" ,qtbase-5) - ("sdl" ,(sdl-union (list sdl sdl-mixer))) - ("sqlite" ,sqlite) - ("tinyxml" ,tinyxml) - ("websocketpp" ,websocketpp) - ("zlib" ,zlib))) - (arguments - `(#:tests? #f ; No test suite - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-paths - (lambda* (#:key inputs #:allow-other-keys) - (substitute* (find-files "." "\\.pro$") - (("/opt/gsasl") - (assoc-ref inputs "gsasl")) - (("\\$\\$\\{PREFIX\\}/include/libircclient") - (search-input-directory inputs "/include/libircclient")) - (("LIB_DIRS =") - (string-append "LIB_DIRS = " - (assoc-ref inputs "boost") "/lib"))) - #t)) - (add-after 'unpack 'fix-build - (lambda _ - ;; Fixes for Boost versions >= 1.66. - (substitute* '("src/net/common/clientthread.cpp" - "src/net/serveraccepthelper.h") - (("boost::asio::socket_base::non_blocking_io command\\(true\\);") - "") - (("newSock->io_control\\(command\\);") - "newSock->non_blocking(true);") - (("acceptedSocket->io_control\\(command\\);") - "acceptedSocket->non_blocking(true);")) - #t)) - (replace 'configure - (lambda* (#:key outputs #:allow-other-keys) - (invoke "qmake" "pokerth.pro" "CONFIG+=client" - (string-append "PREFIX=" (assoc-ref outputs "out")))))))) - (home-page "https://www.pokerth.net") - (synopsis "Texas holdem poker game") - (description - "With PokerTH you can play the Texas holdem poker game, either against + (let ((commit "8e6088e425ace3bb31c1dfc3231bff74891e3e94") + (revision "0")) + (package + (name "pokerth") + (version "1.1.2") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/pokerth/pokerth") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1i7z0zc3sbws1bpgn1rd9nxfin121kl81d0as6f10wlrzndsn3sf")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Remove bundled websocketpp. + (delete-file-recursively "src/third_party/websocketpp") + (substitute* "pokerth_lib.pro" + (("src/third_party/websocketpp") + "")) + #t)))) + (build-system qt-build-system) + (inputs + `(("boost" ,boost) + ("curl" ,curl) + ("gsasl" ,gsasl) + ("libgcrypt" ,libgcrypt) + ("libircclient" ,libircclient) + ("protobuf" ,protobuf-2) ; remove package when no longer needed + ("qtbase" ,qtbase-5) + ("sdl" ,(sdl-union (list sdl sdl-mixer))) + ("sqlite" ,sqlite) + ("tinyxml" ,tinyxml) + ("websocketpp" ,websocketpp) + ("zlib" ,zlib))) + (arguments + `(#:tests? #f ; No test suite + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* (find-files "." "\\.pro$") + (("/opt/gsasl") + (assoc-ref inputs "gsasl")) + (("LIB_DIRS =") + (string-append "LIB_DIRS = " + (assoc-ref inputs "boost") "/lib"))) + #t)) + (replace 'configure + (lambda* (#:key outputs #:allow-other-keys) + (invoke "qmake" "pokerth.pro" "CONFIG+=client" + (string-append "PREFIX=" (assoc-ref outputs "out")))))))) + (home-page "https://www.pokerth.net") + (synopsis "Texas holdem poker game") + (description + "With PokerTH you can play the Texas holdem poker game, either against computer opponents or against real players online.") - (license license:agpl3+))) + (license license:agpl3+)))) (define-public xblackjack (package -- 2.36.1