From patchwork Sun Mar 10 21:36:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Trofimov X-Patchwork-Id: 61616 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 320F827BBE2; Sun, 10 Mar 2024 21:39:05 +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 6A97827BBEA for ; Sun, 10 Mar 2024 21:39:03 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rjQsW-0008Q5-Je; Sun, 10 Mar 2024 17:38:44 -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 1rjQsU-0008PZ-Gv for guix-patches@gnu.org; Sun, 10 Mar 2024 17:38:42 -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 1rjQsU-0007bK-8z for guix-patches@gnu.org; Sun, 10 Mar 2024 17:38:42 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rjQso-0005sl-Jn; Sun, 10 Mar 2024 17:39:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62228] [PATCH v3 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: Sun, 10 Mar 2024 21:39:02 +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.171010672322575 (code B ref 62228); Sun, 10 Mar 2024 21:39:02 +0000 Received: (at 62228) by debbugs.gnu.org; 10 Mar 2024 21:38:43 +0000 Received: from localhost ([127.0.0.1]:38116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjQsU-0005s2-DC for submit@debbugs.gnu.org; Sun, 10 Mar 2024 17:38:42 -0400 Received: from mail-wm1-f54.google.com ([209.85.128.54]:45306) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjQsL-0005rJ-Q1 for 62228@debbugs.gnu.org; Sun, 10 Mar 2024 17:38:40 -0400 Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-4132600824bso3200955e9.2 for <62228@debbugs.gnu.org>; Sun, 10 Mar 2024 14:38:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sarg.org.ru; s=google; t=1710106614; x=1710711414; 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=L82F7bho7W1wspgQIZ539KsLmG/5f7w9XDNfmGN3shY=; b=lNzA/bvCJ1HQtWlGq4XPJHLvgYH6gEJVkwhWRpxFEMmNyBfFQV9Wntoz3pVHFmwcDA 3BP0agbPruF4L6mtk96gRr1YfAJIRNhyNZpMm577qFt05WG0UmHCwU80z+a17J4HRB78 bfCPEqAPs8Xw9kyVpB8t7lHqkF0Uo8El90FHM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710106614; x=1710711414; 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=L82F7bho7W1wspgQIZ539KsLmG/5f7w9XDNfmGN3shY=; b=OOcptlXK4qrwIhLATUAO0AUEpauzD32y1fIOgxEti89I4ODA78i5t/5/lwitnVbQu0 YUHinuXJafn983R10oi1PD08IZtdmsFjojMjtotj+J6QChhX3jwn+y+JA2Kdu3CBJP0S 5djkreMBWTXjL8L6pP2UVj5kAKjmzcJlC+Oe/l5gtcfoWSlA+NzuDUuxwpZ7JHlF1EEZ bWo4prlVv55WomRCFZGOXq5fpFCujIw2QP4NcNfdT/wyHcT4GVfyxowD+coO1+dSv02b E5EnMgUoKcA8/WLbkznXhJLCWACn9qzpZag7eVeSTdV0cBT8IFq5xaU6ViSMafcDc+mi k/Vg== X-Gm-Message-State: AOJu0YzZPyk/rHwc1L+d4i89pCE94S9YdpkOM6i5wqHrEnjdZh6BW6DR 3qwjegIf6lXtH5BlRxzeyNkeV3w75I6Npxv9iLlimxAhhsnqcyQsRgDeAxpF09OmJQrRIH6WqSg f X-Google-Smtp-Source: AGHT+IGfEz2zGs2G0cu6h40Q9jwrjxSwIIyWwqlmdU41ZThP14hM58l017lyVQgBDS1sjMtYHk6qOQ== X-Received: by 2002:a05:600c:1e11:b0:413:27ac:c9a8 with SMTP id ay17-20020a05600c1e1100b0041327acc9a8mr1861206wmb.5.1710106614013; Sun, 10 Mar 2024 14:36:54 -0700 (PDT) Received: from localhost ([2a02:2454:a09d:d000:3f1e:a87:ccd2:4aec]) by smtp.gmail.com with ESMTPSA id f6-20020a05600c154600b004131ae36ac4sm8965573wmg.20.2024.03.10.14.36.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Mar 2024 14:36:53 -0700 (PDT) From: Sergey Trofimov Date: Sun, 10 Mar 2024 22:36:40 +0100 Message-ID: <013f9a8b5120ef100e8dd06a31db26cc2bb27fed.1710106585.git.sarg@sarg.org.ru> X-Mailer: git-send-email 2.41.0 In-Reply-To: <64b55303d5c8523dec00a48adcd88a7bbc17610b.1710106585.git.sarg@sarg.org.ru> References: <64b55303d5c8523dec00a48adcd88a7bbc17610b.1710106585.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 | 71 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 9ff08e5e74..b7486ec940 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -938,6 +938,77 @@ (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 url-fetch) + (uri (string-append + "https://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-" + version ".tar.gz")) + (sha256 + (base32 + "026jsfigx9fvmx8cpkfsf788cjvni8kz4cyljlzyscrhmqdfdrnk")))) + (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. It currently consists of these games: +@itemize +@item Black Box, ball-finding puzzle +@item Bridges, bridge-placing puzzle +@item Cube, rolling cube puzzle +@item Dominosa, domino tiling puzzle +@item Fifteen, sliding block puzzle +@item Filling, polyomino puzzle +@item Flip, tile inversion puzzle +@item Galaxies, symmetric polyomino puzzle +@item Guess, combination-guessing puzzle +@item Inertia, gem-collecting puzzle +@item Keen, arithmetic Latin square puzzle +@item Light Up, light-bulb placing puzzle +@item Loopy, loop-drawing puzzle +@item Magnets, magnet-placing puzzle +@item Map, map-colouring puzzle +@item Mines, mine-finding puzzle +@item Net, network jigsaw puzzle +@item Netslide, toroidal sliding network puzzle +@item Pattern +@item Pearl, loop-drawing puzzle +@item Pegs, peg solitaire puzzle +@item Range, visible-distance puzzle +@item Rectangles +@item Same Game, block-clearing puzzle +@item Signpost, square-connecting puzzle +@item Singles, number-removing puzzle +@item Sixteen, toroidal sliding block puzzle +@item Slant, maze-drawing puzzle +@item Solo, number placement puzzle +@item Tents, tent-placing puzzle +@item Towers, tower-placing Latin square puzzle +@item Twiddle, rotational sliding block puzzle +@item Undead, monster-placing puzzle +@item Unequal, Latin square puzzle +@item Unruly, black and white grid puzzle +@item Untangle, planar graph layout puzzle +@end itemize") + (license license:expat))) (define-public bzflag (package