From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 MOveMp103GIh6AAAbAwnHQ (envelope-from ) for ; Sun, 24 Jul 2022 00:22:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id CP7VMp103GLH3gAAauVa8A (envelope-from ) for ; Sun, 24 Jul 2022 00:22:21 +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 89910AEB2 for ; Sun, 24 Jul 2022 00:22:21 +0200 (CEST) Received: from localhost ([::1]:51550 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oFNVs-00060o-Pu for larch@yhetil.org; Sat, 23 Jul 2022 18:22:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52322) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFNVa-0005fa-Cc for bug-guix@gnu.org; Sat, 23 Jul 2022 18:22:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56768) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oFNVa-00089X-42 for bug-guix@gnu.org; Sat, 23 Jul 2022 18:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oFNVa-0005eG-07 for bug-guix@gnu.org; Sat, 23 Jul 2022 18:22:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#54691: [PATCH v2 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 22:22:01 +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.165861487021612 (code B ref 54691); Sat, 23 Jul 2022 22:22:01 +0000 Received: (at 54691) by debbugs.gnu.org; 23 Jul 2022 22:21:10 +0000 Received: from localhost ([127.0.0.1]:46510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFNUj-0005cV-VW for submit@debbugs.gnu.org; Sat, 23 Jul 2022 18:21:10 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:35608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFNUe-0005b0-3j for 54691@debbugs.gnu.org; Sat, 23 Jul 2022 18:21:05 -0400 Received: by mail-ed1-f65.google.com with SMTP id e15so9692951edj.2 for <54691@debbugs.gnu.org>; Sat, 23 Jul 2022 15:21:04 -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=iaT10XijRZQnKxe/15WVNdNIcUvdxLD9SBrplBHJ+NY=; b=Gooui946uNRaxk4AVqZYTUswdxDtpcHb8SGgVaiWw/K/Ju8q1IggJvNPgq9C/AnZhr 2KXHQOzTKXXbLIPkk58QNBbLLIu0F/x9EUULIc9/RpPFnBmMUo3rI508hdZrRwx4HAfQ q3y5pjfOrXICj//MwhLaOXJ+m03jmCG6/FBTgy/5AhOIzrQUJ8er+FlA/XovYH193CEn 8fhE617tAS5eab0KJcad7npCZvgNUyKGUeMFcbeuKx2SL5axEqZJLiSZCDA5sd5DIIrA Hdy519WjDIqlCMwrr4rU2BjhdgIhT4ZU2OeU/Q8HX/t+mI7ofkIkpYrej2hPCNWWmPy4 7iRw== 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=iaT10XijRZQnKxe/15WVNdNIcUvdxLD9SBrplBHJ+NY=; b=WlkpYdrIryCwiYnjrqYannCBB5Jr0DwGiTDfuJCcGRZI+xijkcx9GPsVruGZV+HrsK mgH09L6tw5OAz9WDqrLRfbQdgPbfnasunB7FMMTELG+gowKNr719ZPiCqp9hPqPFQ2Qv Botht9WwV/YqxgoKKJLVgeiRj0fmGEajipNJpOhUgmO6pazz6Dpm3ofga4Qoa48Cwub+ 74Gsa+/WIroXZx8v92k9gKc8uLa0KI1BaDlSAztBJrZ7LB58Sd37uoQS9aMaBCUDz2uq QNcGeVkrRRNjWPz7wUPvON5ZkB9VXpCe00GON1unC4jKqJPbz8ODGOTigdQNZmdiisDg 7p1Q== X-Gm-Message-State: AJIora+vdPuO458wxQwWHQVAZXzt7NRkh1Wc6MgLYD28JbpzVQ4mcsIW iqzpXYtCJrgvi8ZkM9qYVb8= X-Google-Smtp-Source: AGRyM1s8UCDf8jTle9N/ofzRa1/GtBuTnDyNJ+qjCup4I1E9L0DJ0QHJLbEoQvVY3Grrsn+1+ZH5NQ== X-Received: by 2002:a05:6402:248d:b0:437:dd4c:e70e with SMTP id q13-20020a056402248d00b00437dd4ce70emr5868898eda.75.1658614858158; Sat, 23 Jul 2022 15:20:58 -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 kz20-20020a17090777d400b00722e203633esm3571610ejc.122.2022.07.23.15.20.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Jul 2022 15:20:57 -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=1658614941; 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=iaT10XijRZQnKxe/15WVNdNIcUvdxLD9SBrplBHJ+NY=; b=ZheEdj3jO8T/PD+2vWWXfdS2mYx2JEb4UwKv40bl+q1KdY1ZHY0WaSPwN15acDTQcMZuiy r+utL55eBzB474cwVycYk1EJezb/YywMg94w27X/j+SOwdSmoCgJp6JJYuUJbjtMrew060 D8tmcpUhulLkIALGw30kHKVqB6vZm+lSDmDH7ZOt5OHeL7IEccRmTlRygTge06WdlKhUSM dHDoN0NmBnEkUUiy/oz8YtJeT2OVwk9/WXyeLL9rx/nBzJSnzZniXniuUVduwyu020qb1D GIp9O1sOSwxL3pfYB2FCvZYGltr2tvedYrcYDmVWa9bcy62iZ7oV0jw73OvmPQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658614941; a=rsa-sha256; cv=none; b=sbA6sRrejvvLoLgyrK1UePtownltmFfnhZViRmJzilVgQ8S9C3CgKOdiElv5f9ZXKMi9hp +erZN2dXIMlJHOawzw9l9jrHbmjK9isAR6wJOnnRiXBiFdZxtuu/efjNTtAT6Am3n3lBzj WTKZ5jj4G5jW36n62hOX8Ur+E706ZTVkTpQ1EKna6Pj/j2QUYCQMaNZfwKCGyqHTszqDYv +JCxh9PQ67+mk3VIy01dIC8JJ6SK6DkhpCzeXmqkoJaPE5iczUfw+ATaWN3UjgjXMlsEV9 m3BMBl0D4Bz51VFnpOq0H986b9RI8pii8hxOI7tR6JmWpAIhPwMQO5w3bip9pw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Gooui946; 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: 5.77 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Gooui946; 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: 89910AEB2 X-Spam-Score: 5.77 X-Migadu-Scanner: scn0.migadu.com X-TUID: RxsNXRpqOKl6 * gnu/packages/toys.scm (fortunes-jkirchartz): New variable. --- gnu/packages/toys.scm | 51 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/toys.scm b/gnu/packages/toys.scm index 45eb74ecbc..28131314ae 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,54 @@ (define-public daikichi (variable "DAIKICHI_FORTUNE_PATH") (files '("share/fortunes"))))))) +(define-public fortunes-jkirchartz + ;; No public release. + ;; Note to updaters: Please ensure that new quotes do not bring harm + ;; rather than fortune. + (let ((commit "2e32ba0a57e3842dc06c8128d880ab4c8ec3aefc") + (revision "0")) + (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"))))) + (build-system copy-build-system) + ;; Cross-compile with care, daikichi does not guarantee that the target + ;; can actually read the fortunes. + (native-inputs (list daikichi gnu-make)) + (arguments + (list #:install-plan + #~`(("." "share/fortunes" #:include-regexp ("\\.dat$"))) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda* (#:key inputs native-inputs #:allow-other-keys) + (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 quotes to +display via @command{fortune}, drawn from sources all around the world.") + (license license:unlicense)))) + (define-public lolcat (let ((commit "35dca3d0a381496d7195cd78f5b24aa7b62f2154") (revision "0")) -- 2.37.0