From patchwork Thu Mar 30 14:31:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Deslauriers, Douglas via Guix-patches\" via" X-Patchwork-Id: 48818 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 1ADB0171AB; Thu, 30 Mar 2023 15:31:30 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 1020B17152 for ; Thu, 30 Mar 2023 15:31:27 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1phtIw-0005eU-07; Thu, 30 Mar 2023 10:31:06 -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 1phtIt-0005e3-6N for guix-patches@gnu.org; Thu, 30 Mar 2023 10:31:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1phtIs-0003mn-OT for guix-patches@gnu.org; Thu, 30 Mar 2023 10:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1phtIs-0000wR-Ac for guix-patches@gnu.org; Thu, 30 Mar 2023 10:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62545] [PATCH] gnu: Add Free as in Freedom (2.0). Resent-From: iyzsong@envs.net Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 30 Mar 2023 14:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62545 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62545@debbugs.gnu.org Cc: =?utf-8?b?5a6L5paH5q2m?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16801866533600 (code B ref -1); Thu, 30 Mar 2023 14:31:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Mar 2023 14:30:53 +0000 Received: from localhost ([127.0.0.1]:59166 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phtIj-0000vz-1t for submit@debbugs.gnu.org; Thu, 30 Mar 2023 10:30:53 -0400 Received: from lists.gnu.org ([209.51.188.17]:55202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phtIh-0000vs-FO for submit@debbugs.gnu.org; Thu, 30 Mar 2023 10:30:52 -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 1phtIZ-0005cR-1C for guix-patches@gnu.org; Thu, 30 Mar 2023 10:30:50 -0400 Received: from mail.envs.net ([5.199.136.28]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phtIV-0003kX-Vv for guix-patches@gnu.org; Thu, 30 Mar 2023 10:30:42 -0400 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id C97CF38A0073; Thu, 30 Mar 2023 14:30:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1680186630; bh=aE3kwznSGyCTgZ4TuDmpkHdc7ekd9dSNVh8B4vwC08I=; h=From:To:Cc:Subject:Date:From; b=RLTNPxInTNp34wCBgzVqEdAjR11JAoIN5HNAUuwlNBeNygEIWwMx8HGqZlxx8nvdo IZ2ws5+6rbAboTR33H9ZOUD9zM2dxhWB4P4U/gziU0+eyRCbK4RFfnQp8mfl4Bn2ZY gOLpg9YvmdFpR+O3/xpirZwEzH5+cKLN5PoCo8iz6Tikam+X6I6GrxOX6WGPi/pGLz CO04ze51LguQC7B89RdCdXJWfqdR4eqTqt6iyWNrjNdPFJG+d1hpcqY+UDmAMvmJNb dMFmkd0nkX2y5vD/WGJGGlggzgPCFBDWguXyjuxTsNEYVd02gysyZf3q1m4mUCnwmV LX0ApgabRIrYRJotAXPPo5y2uoYn69xuYNC5k0MlhmdOCUP3pj51aruS7trkeKh22z qUFBwqJpJc7qDhAcJnX8dZRLaMlpNles6ppht+S7xCyexBl3QbMehRPYHY6VlmW8uY XBi3+kwyeDkNRIWdpJrQxqMh5yxLATLjxOZQVqI1dVz12rUf0drNbS/d6l8ZrkK79k WYVTb65fojHqIentjYT8rYQJNvLOscRZTZscW3Ktt5b4Oyb3KIOP+paDec2YCm4k5S 7Kwleb0/oQRBKvZs5ryb/nx+Kk8v1Pzq2gUjO7bFoCpE96BnSIVbR53jGeRrr+ZUbK YK+D/oAY3O/c7//yvVdBDc/4= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 2AxUuLDivHSS; Thu, 30 Mar 2023 14:30:27 +0000 (UTC) Received: from localhost (unknown [36.170.57.211]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Thu, 30 Mar 2023 14:30:26 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 6cddfc12; Thu, 30 Mar 2023 14:31:10 +0000 (UTC) Date: Thu, 30 Mar 2023 22:31:09 +0800 Message-Id: <20230330143109.17484-1-iyzsong@envs.net> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Received-SPF: pass client-ip=5.199.136.28; envelope-from=iyzsong@envs.net; helo=mail.envs.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Reply-to: iyzsong@envs.net X-ACL-Warn: , iyzsong--- via Guix-patches X-Patchwork-Original-From: iyzsong--- via Guix-patches via From: "Deslauriers, Douglas via Guix-patches\" via" 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 From: 宋文武 * gnu/packages/fsf.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. --- gnu/local.mk | 1 + gnu/packages/fsf.scm | 72 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 gnu/packages/fsf.scm diff --git a/gnu/local.mk b/gnu/local.mk index aee0b8a645..2b99402ae0 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -262,6 +262,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/forth.scm \ %D%/packages/freedesktop.scm \ %D%/packages/freeipmi.scm \ + %D%/packages/fsf.scm \ %D%/packages/ftp.scm \ %D%/packages/fribidi.scm \ %D%/packages/fvwm.scm \ diff --git a/gnu/packages/fsf.scm b/gnu/packages/fsf.scm new file mode 100644 index 0000000000..70a5df741a --- /dev/null +++ b/gnu/packages/fsf.scm @@ -0,0 +1,72 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2023 Sou Bunnbu +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages fsf) + #:use-module (gnu packages tex) + #:use-module (guix build-system copy) + #:use-module (guix download) + #:use-module (guix gexp) + #:use-module (guix packages) + #:use-module ((guix licenses) #:prefix license:)) + +(define-public faif + (package + (name "faif") + (version "2.0") + (source (origin + (method url-fetch) + (uri (string-append "https://www.fsf.org/faif/faif-" version + ".tar.bz2")) + (sha256 + (base32 + "0qf14d0n6k1dn9z0fdnx9qkhn4iq685xd443w7l7w54bm931p7dw")))) + (build-system copy-build-system) + (native-inputs + (list (texlive-updmap.cfg + (list + texlive-caption + texlive-endnotes + texlive-fonts-ec + texlive-helvetic + texlive-hyperref + texlive-latex-fncychap + texlive-latex-geometry + texlive-latex-ucs + texlive-times)))) + (arguments + (list + #:install-plan #~'(("faif-2.0.pdf" "share/doc/")) + #:phases + #~(modify-phases %standard-phases + (add-before 'install 'build + (lambda _ + (invoke "pdflatex" "faif-2.0.tex")))))) + (home-page "https://www.fsf.org/faif") + (synopsis "Free as in Freedom (2.0)") + (description + "In 2002, Sam Williams wrote Free as in Freedom, a biography of Richard +M. Stallman. In its epilogue, Williams expressed hope that choosing to +distribute his book under the GNU Free Documentation License would enable and +encourage others to share corrections and their own perspectives through +modifications to his work. Free as in Freedom (2.0) is Stallman's revision of +the original biography. While preserving Williams's viewpoint, it includes +factual corrections and extensive new commentary by Stallman, as well as new +prefaces by both authors written for the occasion. It is a rare kind of +biography, where the reader has the benefit of both the biographer's original +words and the subject's response.") + (license license:fdl1.3+)))