From patchwork Tue Mar 12 16:47:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Trofimov X-Patchwork-Id: 61703 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 AB08C27BBE9; Tue, 12 Mar 2024 16:50:06 +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 C01CE27BBE2 for ; Tue, 12 Mar 2024 16:50:04 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rk5Jy-0006Ot-Ug; Tue, 12 Mar 2024 12:49:46 -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 1rk5Jt-0006Kr-2f for guix-patches@gnu.org; Tue, 12 Mar 2024 12:49: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 1rk5Js-0005zu-9o for guix-patches@gnu.org; Tue, 12 Mar 2024 12:49:40 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rk5KE-0000nT-Oq; Tue, 12 Mar 2024 12:50:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62228] [PATCH v5 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 16:50: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.17102621873028 (code B ref 62228); Tue, 12 Mar 2024 16:50:02 +0000 Received: (at 62228) by debbugs.gnu.org; 12 Mar 2024 16:49:47 +0000 Received: from localhost ([127.0.0.1]:43601 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rk5Jz-0000mm-2X for submit@debbugs.gnu.org; Tue, 12 Mar 2024 12:49:47 -0400 Received: from mail-wr1-f41.google.com ([209.85.221.41]:59480) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rk5Jp-0000lm-9I for 62228@debbugs.gnu.org; Tue, 12 Mar 2024 12:49:46 -0400 Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-33e92b3b5c9so2908953f8f.2 for <62228@debbugs.gnu.org>; Tue, 12 Mar 2024 09:49:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sarg.org.ru; s=google; t=1710262077; x=1710866877; 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=9HIVkq6GJW2mhAzQT0tlIJzHZON7bOjysFiOfbfy8sY=; b=VnPk4zloDjEx/sArryyo/tU6tDo99FBdEV3g2/RLzV4i+b6LKywGuIxS8PCveJQl6J 25+YG8nMzNcI4EX7zYByspOtUHB2cL1T5r4nzTeO2G6q2xkwII0KFhUyIepcki4g1SVT 5b55efSaBHX252RLJsOlL5t2ZtFFhttA8z5UE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710262077; x=1710866877; 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=9HIVkq6GJW2mhAzQT0tlIJzHZON7bOjysFiOfbfy8sY=; b=gFg7htwbEy0Moc6ITGoVqZzSoazkcAyr0yESEtbOjH3pW2Gzkpz+f/md9/RZ1gV1Ay en0PIVO+pJLj0XxSP+YDtIGB9tdkXOnoqVKBAEDS0Q5ExC4hnBCZNQwscRAFkAB4qtPH dYlc5GrZ80XTs5HBbZje2HqN1vWviNfQ3io+siitCzbIEisaskvxdjlQozXO/mwuJQOk oRspOXO8jIVu3+Ssx00zaXcAVkUygbmcAAw3j4vYFVX2ca4Ur7wXNc56OC+SYp1zg5IV 9aJi5H7APWjX48Iv0QwBdVOLikgjen2Ppn7Uv7cEXStWdsJDGfNKtnjmv53pN48I0cUE b6sg== X-Gm-Message-State: AOJu0Yy7jod7VkHKxtj/bQMEmTWBq2ux5sglEydfRRJTdK6txGPQGCPm Km75Z9qy4b55TQ8h4NQX4Ua8av4oGK4HZKP3EOGGhjOb1tLPMDRKTkiUX5nEDz6bLF5H2ScA1Vt R X-Google-Smtp-Source: AGHT+IFcE5c0/MDBtVdGTQ0pDxgTUGE38JHK4ZpKNBAW9mMGossj4YSBEDOIfku+8bCVvpvVm6+1GQ== X-Received: by 2002:a5d:4f84:0:b0:33d:6334:e14 with SMTP id d4-20020a5d4f84000000b0033d63340e14mr14008wru.11.1710262076773; Tue, 12 Mar 2024 09:47:56 -0700 (PDT) Received: from localhost ([2a02:2454:a09d:d000:3f1e:a87:ccd2:4aec]) by smtp.gmail.com with ESMTPSA id c13-20020adfe74d000000b0033cf4e47496sm9473261wrn.51.2024.03.12.09.47.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 09:47:56 -0700 (PDT) From: Sergey Trofimov Date: Tue, 12 Mar 2024 17:47:35 +0100 Message-ID: <702fe978787813cc7721d6ba94128513e349ef5d.1710262044.git.sarg@sarg.org.ru> X-Mailer: git-send-email 2.41.0 In-Reply-To: <5bb65698442012f2791ffbdd7748164e9de0044c.1710262044.git.sarg@sarg.org.ru> References: <5bb65698442012f2791ffbdd7748164e9de0044c.1710262044.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 | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 9ff08e5e74..63df5b57aa 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -938,6 +938,41 @@ (define-public rogue (home-page "https://github.com/Davidslv/rogue") (license license:bsd-3))) +(define-public sgt-puzzles + (let ((commit "80aac3104096aee4057b675c53ece8e60793aa90") + (revision "0")) + (package + (name "sgt-puzzles") + (version (git-version "20240302" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.tartarus.org/simon/puzzles.git") + (commit commit))) + (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* (#:key inputs #:allow-other-keys) + (substitute* "gtk.c" + (("(#define HELP_BROWSER_PATH).+" all define) + (format #f "~a ~s~%" define + (search-input-file inputs "/bin/xdg-open"))))))))) + (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