From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4CP4Eh4S3GIKqgAAbAwnHQ (envelope-from ) for ; Sat, 23 Jul 2022 17:22:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kDHqEh4S3GLhLQEA9RJhRA (envelope-from ) for ; Sat, 23 Jul 2022 17:22:06 +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 F093C44388 for ; Sat, 23 Jul 2022 17:22:05 +0200 (CEST) Received: from localhost ([::1]:56158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oFGxB-0004yx-5C for larch@yhetil.org; Sat, 23 Jul 2022 11:22:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50344) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFGx8-0004yG-Ie for bug-guix@gnu.org; Sat, 23 Jul 2022 11:22:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56313) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oFGx8-0004eA-A7 for bug-guix@gnu.org; Sat, 23 Jul 2022 11:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oFGx8-0007kN-66 for bug-guix@gnu.org; Sat, 23 Jul 2022 11:22:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#54691: [PATCH 2/5] gnu: Add fortunes-jkirchartz. References: <3fc3794df2d837c16ce768594c3ea9086b5f0abf.camel@telenet.be> In-Reply-To: <3fc3794df2d837c16ce768594c3ea9086b5f0abf.camel@telenet.be> Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 23 Jul 2022 15:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54691 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxime Devos Cc: 54691@debbugs.gnu.org Received: via spool by 54691-submit@debbugs.gnu.org id=B54691.165858970429722 (code B ref 54691); Sat, 23 Jul 2022 15:22:02 +0000 Received: (at 54691) by debbugs.gnu.org; 23 Jul 2022 15:21:44 +0000 Received: from localhost ([127.0.0.1]:46055 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFGwq-0007jD-1E for submit@debbugs.gnu.org; Sat, 23 Jul 2022 11:21:44 -0400 Received: from mail-ej1-f65.google.com ([209.85.218.65]:38625) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFGwf-0007iN-54 for 54691@debbugs.gnu.org; Sat, 23 Jul 2022 11:21:34 -0400 Received: by mail-ej1-f65.google.com with SMTP id l23so13258887ejr.5 for <54691@debbugs.gnu.org>; Sat, 23 Jul 2022 08:21:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:date:subject:to:cc:content-transfer-encoding:message-id :mime-version; bh=Iji7Goea2D8dJMg1x8/Qs33us39mmlzOZowlBNl31gg=; b=l3q5sVsn2W+lGFPwUayfJV1qyoJeKWLcFgZhj6W3z0yhCtMf3ltnby2ZWJC1VGIrt/ OlT6bWxYNGfi5w/IhRHaRLj3w3on/uUiA5LcP8I9vLuZ6rGmTVpUQKohuiSouAdRMt41 Fn/4T100IITU3IaCeBAkAPbMVAfq/4ukEdOoLFDQzy2NZnMjH+cjX0GwxFajdE82LoU3 wbDJEySgPgYQMhdmVw8rxd95GUJks4Cr3vfAGjPk9Nv/3K6ZlxtMnQFxzyVV7wJlzCtU 3yObWM3ueQAGobhWV2A0uLXIVvECEKC74zUBkGJR/fcCpzIZtj+fr6rI4MVThNjT3c97 88WQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:date:subject:to:cc :content-transfer-encoding:message-id:mime-version; bh=Iji7Goea2D8dJMg1x8/Qs33us39mmlzOZowlBNl31gg=; b=iJSfhwhEVQOT3M85umeXteUEGsIFiyX2MxFiT/UPvJ1sdeBmxPHUO+WUtP8yDqWBOB T66fbJCU20pKBr/lzw/AfiXz6GyWAtXSqpbARjO7kSRX5D034b0hf4QjAOQQYEy4gmqn zvG1jzLYdz4O4NPo/u5WTPpEZYzda7NEhqcGp8PZmghIsIT9mdM7S4ilVWQVBJO1Fz6V 954Rxl7NIHhwghB92WVYly91kEdq+a6QTg/8/RY3NyS8vP5QcCMoxmxYkt1b1mS7J9ni VkJPhzitteFEJSWZgBcoF7TIDwjjbmIr9MF60is6wzE+3v2smnGJ+l57rj5mcwF7TDqb V3rQ== X-Gm-Message-State: AJIora8tCOItGKS2fQRQxAYVZxqMFTTRTkeT9dyTWlbDLGuhpULkcxR4 yGvNPxG90nfDaUpAsFq+YPA= X-Google-Smtp-Source: AGRyM1uQv5wHjj6gM4f0f80bvpqcvAn4tOh2JAd7UIJt6jrZZQLYB5SgDLhnR9hLo8rMa5Zl409wQA== X-Received: by 2002:a17:907:1def:b0:72b:33e6:46d6 with SMTP id og47-20020a1709071def00b0072b33e646d6mr3692074ejc.414.1658589687349; Sat, 23 Jul 2022 08:21:27 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id we10-20020a170907234a00b006fec4ee28d0sm3253293ejb.189.2022.07.23.08.21.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Jul 2022 08:21:27 -0700 (PDT) From: Liliana Marie Prikler Date: Sat, 23 Jul 2022 17:11:16 +0200 Content-Transfer-Encoding: 7bit Message-ID: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" 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=1658589726; 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=Iji7Goea2D8dJMg1x8/Qs33us39mmlzOZowlBNl31gg=; b=gxyPESlLLPQahbovtCsdSPDrKYav8VvMvLO4uiasDrBM24dKFB+NUwZktdVKoWj0TrxaH4 EEa3fbeg12iFl6+S2EDiHRPaqVYkzIxchFcMUDUqIpFyIl8W8jmZ1H3KNbcRtaR3069+AD eicljtKLBpXRp/Kzz0L9PLoXQFfYalzA72NEPW7cvAVmnmEpXmw8VKZU00g5Yn22VvFHtw 6WH96os54HK80sFnZFrdmMgsiJ5yxe7UsRo/InkkKNq5eRMDUmlqhIzgmK7tnrIU/WPeZd 0PkDUOoc7+Mya2pBlQkrUkWMiWSdDfWp4uos+Lk4wngGkKWutbnVrDhSGUczVw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658589726; a=rsa-sha256; cv=none; b=P+Q/8QFYu6N+vYrrLhg2OpvnvHbkAcFhAd+gBJdKsqDkQXe9Mke5UcCTHzsIDPRGF4+95L mI9Qg6tW1RDfR4dxJAsQ9BptVgkP1hnGDaDonJytjMTRpkZl3NnvzGpGHauKWKPKWES7eo yjz3xraes5AcqozcLDMF3eggSSmETh7Uqhx0sBsP8PdysJJGi6zPATKbA6p0Y9E1Cop+Jk Bj7mEYr6ia1Z+KtLG2KBPtFnJg9Ftd9fhLCMNu/g0I8B07Pq9PmqtDvmqw4R+PJsBDqe9o vSQpfPI4I5YiZ3dSBjPVFZphOFICWP2sbXp8IheeCBW7giAbkze7LXpEQ5L2bw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=l3q5sVsn; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 4.47 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=l3q5sVsn; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: F093C44388 X-Spam-Score: 4.47 X-Migadu-Scanner: scn0.migadu.com X-TUID: CT5UY75VjeQh * gnu/packages/toys.scm (fortunes-jkirchartz): New variable. --- gnu/packages/toys.scm | 49 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/toys.scm b/gnu/packages/toys.scm index b3e4cc4f84..556f196a55 100644 --- a/gnu/packages/toys.scm +++ b/gnu/packages/toys.scm @@ -23,6 +23,7 @@ (define-module (gnu packages toys) #:use-module (gnu packages) + #:use-module (gnu packages base) #:use-module (gnu packages bison) #:use-module (gnu packages flex) #:use-module (gnu packages gtk) @@ -35,8 +36,10 @@ (define-module (gnu packages toys) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (guix build-system gnu) + #:use-module (guix build-system copy) #:use-module (guix build-system meson) #:use-module (guix download) + #:use-module (guix gexp) #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) @@ -69,6 +72,52 @@ (define-public daikichi (variable "DAIFUKU_FORTUNE_PATH") (files '("share/fortunes"))))))) +(define-public fortunes-jkirchartz + (let ((commit "2e32ba0a57e3842dc06c8128d880ab4c8ec3aefc") + (revision "2022.05.23")) ; Use a date rather than a number + (package + (name "fortunes-jkirchartz") + (version (git-version "0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JKirchartz/fortunes") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1ym4ldzww5yfd76q7zvhi491bqlykfjnc215bqx1cbj0c8ndb2l4")) + (snippet + #~(for-each delete-file + ;; incompatible license + '("BibleAbridged"))))) + ;; To read the fortunes, but also to compile them. + ;; No support for cross-compilation yet + (build-system copy-build-system) + (propagated-inputs (list daikichi)) + (native-inputs (list gnu-make)) + (arguments + (list #:install-plan + #~`(("." "share/fortunes" #:include-regexp ("\\.dat$"))) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda _ + (substitute* "showerthoughts" + (("<") "<") + ((">") ">") + (("&") "&")) + (substitute* "Makefile" + (("strfile") "daikichi pack")))) + (add-before 'install 'build + (lambda _ + (invoke "make")))))) + (home-page "https://github.com/JKirchartz/fortunes") + (synopsis "Collection of fortunes") + (description "This package contains a large collection of fortunes drawn +from sources all around the world.") + (license license:unlicense)))) + (define-public lolcat (let ((commit "35dca3d0a381496d7195cd78f5b24aa7b62f2154") (revision "0")) -- 2.37.0