From patchwork Tue Mar 12 07:28:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Trofimov X-Patchwork-Id: 61680 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E579C27BBEA; Tue, 12 Mar 2024 07:30:12 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1C21827BBE9 for ; Tue, 12 Mar 2024 07:30:12 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rjwZt-0003mp-AL; Tue, 12 Mar 2024 03:29:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rjwZr-0003mD-2n for guix-patches@gnu.org; Tue, 12 Mar 2024 03:29:35 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rjwZq-0007rn-Qv for guix-patches@gnu.org; Tue, 12 Mar 2024 03:29:34 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rjwaK-0000yR-8x; Tue, 12 Mar 2024 03:30:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62228] [PATCH v4 3/3] gnu: Add sgt-puzzles. Resent-From: Sergey Trofimov Original-Sender: "Debbugs-submit" Resent-CC: sarg@sarg.org.ru, mirai@makinata.eu, liliana.prikler@ist.tugraz.at, liliana.prikler@gmail.com, adam.faiz@disroot.org, iyzsong@envs.net, guix-patches@gnu.org Resent-Date: Tue, 12 Mar 2024 07:30:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62228 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62228@debbugs.gnu.org Cc: Sergey Trofimov , Sergey Trofimov , Bruno Victal , Liliana Marie Prikler , Liliana Marie Prikler , Adam Faiz , =?utf-8?b?5a6L5paH5q2m?= X-Debbugs-Original-Xcc: Sergey Trofimov , Bruno Victal , Liliana Marie Prikler , Liliana Marie Prikler , Adam Faiz , =?utf-8?b?5a6L5paH5q2m?= Received: via spool by 62228-submit@debbugs.gnu.org id=B62228.17102286033731 (code B ref 62228); Tue, 12 Mar 2024 07:30:04 +0000 Received: (at 62228) by debbugs.gnu.org; 12 Mar 2024 07:30:03 +0000 Received: from localhost ([127.0.0.1]:41680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjwaI-0000xr-1f for submit@debbugs.gnu.org; Tue, 12 Mar 2024 03:30:02 -0400 Received: from mail-wr1-f54.google.com ([209.85.221.54]:45332) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjwaD-0000wo-Jx for 62228@debbugs.gnu.org; Tue, 12 Mar 2024 03:29:58 -0400 Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-33e94c12cfaso1716460f8f.3 for <62228@debbugs.gnu.org>; Tue, 12 Mar 2024 00:29:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sarg.org.ru; s=google; t=1710228497; x=1710833297; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=0XZ9mIngMcQUrJR25hnPaCLQ2fQqCzoiDshYE1MJFC4=; b=W8yj7vJI55FqfSgKNp74vEtesT/CYXFE9Vinvf9uy4ykuXeETECQpcp+WqW7YzgnU9 CjRqsG9oaV2gF74zstNG9A9zzpAfGImGPiDAIM7NKBCw3kbO/bcAsbovi/x2Ow0j/+fo 0g05oKtBn5JRF5B/SnLUr0GEp55AdUs4zsB/Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710228497; x=1710833297; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0XZ9mIngMcQUrJR25hnPaCLQ2fQqCzoiDshYE1MJFC4=; b=L+6OPUHYHrt1wRvBtfZ+yFCY/yfgnmiieBXmgVjDUK39dABY9Shwyf8mEOsXaU0OUa 6orxvOv9Kd6V7dm4o/ZE24StUAu2/hSfQ9LpGo2qSQtFkT6c2/NnlmeCcAIhhwE8caj7 5jjaiJCu4lOBskw2KohgWNpp5K/XAHdUK/MD62RzaP4F/sCIwYPOQ5+XLlcEqqrZaICy E47fvnmqk0FdmeQdWmSK9Rufdqcl7C1BhQjtMlO8iUe/cQh10Edxujjt5FFhQK/u1Gwi E7/OftwG5vS20x1q6zEioZEHA1ve/+Q4aAPJihzvhPprf9c1Z7TTy+LYVSvUaaVYbtzw RyPw== X-Gm-Message-State: AOJu0Yx4X5JwTDXf1l/9Wf5mqCgzMkNQbu8PnWKA/QLMa1UPWlyOPjIJ KMpeU03VeT4cDVKO0UtGmJfK6ReLYOeb9pAyXLwCUeKRrGUX3Rculv/y2vQy3uQjKZuJy9gwp0w o X-Google-Smtp-Source: AGHT+IEIOkm8ffOw57PKaiD7H29poZ7u2lxuQ2lWedTL63nFPke8SntTRWphn0EyaBe1ooGsiSss3g== X-Received: by 2002:a5d:538c:0:b0:33e:9dd3:59a0 with SMTP id d12-20020a5d538c000000b0033e9dd359a0mr2257166wrv.33.1710228497087; Tue, 12 Mar 2024 00:28:17 -0700 (PDT) Received: from localhost ([2a02:2454:a09d:d000:3f1e:a87:ccd2:4aec]) by smtp.gmail.com with ESMTPSA id q15-20020a5d61cf000000b0033e2291fbc0sm8265757wrv.68.2024.03.12.00.28.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 00:28:16 -0700 (PDT) From: Sergey Trofimov Date: Tue, 12 Mar 2024 08:28:02 +0100 Message-ID: <4389dc229183f814581dd5ca87c12157ac81c744.1710228453.git.sarg@sarg.org.ru> X-Mailer: git-send-email 2.41.0 In-Reply-To: <5bb65698442012f2791ffbdd7748164e9de0044c.1710228453.git.sarg@sarg.org.ru> References: <5bb65698442012f2791ffbdd7748164e9de0044c.1710228453.git.sarg@sarg.org.ru> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/games.scm (sgt-puzzles): New variable. --- gnu/packages/games.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 9ff08e5e74..94aa9e9140 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -938,6 +938,40 @@ (define-public rogue (home-page "https://github.com/Davidslv/rogue") (license license:bsd-3))) +(define-public sgt-puzzles + (package + (name "sgt-puzzles") + (version "20240302.80aac31") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.tartarus.org/simon/puzzles.git") + (commit "80aac3104096aee4057b675c53ece8e60793aa90"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0z4clv0xi98q28riz323ppn165cm62gj1c6h3xdd2sym4v8gy65z")))) + (build-system cmake-build-system) + (arguments + (list #:tests? #f ;No tests. + #:configure-flags #~(list "-DNAME_PREFIX=sgt-") + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'set-xdg-open-path + (lambda _ + (substitute* "gtk.c" + (("(#define HELP_BROWSER_PATH ).+" all define) + (string-append define "\"" + #$(this-package-input + "xdg-utils") + "/bin/xdg-open\"\n")))))))) + (inputs (list gtk+ xdg-utils)) + (native-inputs (list pkg-config perl imagemagick halibut)) + (home-page "https://www.chiark.greenend.org.uk/~sgtatham/puzzles/") + (synopsis "Simon Tatham's portable puzzle collection") + (description + "Simon Tatham's Portable Puzzle Collection contains a number of +popular puzzle games for one player.") + (license license:expat))) (define-public bzflag (package