From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Nieuwenhuizen Subject: [PATCH] gnu: Add gnu-maintain and gnu-standards. Date: Wed, 23 Mar 2016 22:26:20 +0100 Message-ID: <87a8lokhs3.fsf@drakenvlieg.flower> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33941) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aiqIV-0007DG-Dw for guix-devel@gnu.org; Wed, 23 Mar 2016 17:26:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aiqIR-00024G-Q2 for guix-devel@gnu.org; Wed, 23 Mar 2016 17:26:35 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --=-=-= Content-Type: text/plain Hi, I was missing these info files. Greetings, Jan --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-gnu-maintain-and-gnu-standards.patch Content-Transfer-Encoding: quoted-printable >From 914756aa6c8893ce68f57dab575ed67f4d5ae560 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Wed, 23 Mar 2016 22:18:46 +0100 Subject: [PATCH] gnu: Add gnu-maintain and gnu-standards. * gnu/packages/gnu-doc.scm: New file. --- gnu/packages/gnu-doc.scm | 100 +++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 100 insertions(+) create mode 100644 gnu/packages/gnu-doc.scm diff --git a/gnu/packages/gnu-doc.scm b/gnu/packages/gnu-doc.scm new file mode 100644 index 0000000..601409c --- /dev/null +++ b/gnu/packages/gnu-doc.scm @@ -0,0 +1,100 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright =C2=A9 2016 Jan Nieuwenhuizen +;;; +;;; 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 gnu-doc) + #:use-module (gnu packages base) + #:use-module (gnu packages compression) + #:use-module (gnu packages texinfo) + + #:use-module (guix build-system trivial) + #:use-module (guix download) + #:use-module (guix licenses) + #:use-module (guix packages)) + +(define-public gnu-maintain + (package + (name "gnu-maintain") + (version "2015-05-07") + (source (origin + (method url-fetch) + (uri "http://www.gnu.org/prep/maintain/maintain.texi.tar.gz") + (sha256 + (base32 + "0zqi8xni8r9fxn8xcz2by4vpcgfy0ky5j46p91hysm63yzpamz3s")))) + (build-system trivial-build-system) + (native-inputs `(("gzip" ,gzip) + ("source" ,source) + ("tar" ,tar) + ("texinfo" ,texinfo))) + (arguments + `(#:modules ((guix build utils)) + #:builder (begin + (use-modules (guix build utils)) + (let ((gzip (assoc-ref %build-inputs "gzip")) + (source (assoc-ref %build-inputs "source")) + (tar (assoc-ref %build-inputs "tar")) + (texinfo (assoc-ref %build-inputs "texinfo")) + (info-dir (string-append %output "/share/info"))) + (setenv "PATH" (string-append gzip "/bin" + ":" tar "/bin" + ":" texinfo "/bin")) + (mkdir-p info-dir) + (system* "tar" "xf" source) + (system* "makeinfo" "--output" info-dir "maintain.tex= i") + (system* "gzip" (string-append info-dir "/maintain.in= fo")))))) + (home-page "http://www.gnu.org/prep/maintain/") + (synopsis "Information for maintainers of GNU software") + (description "Guidelines and advice for someone who is the maintainer = of a +GNU program on behalf of the GNU Project.") + (license fdl1.3+))) + +(define-public gnu-standards + (package + (name "gnu-standards") + (version "2015-04-23") + (source (origin + (method url-fetch) + (uri "http://www.gnu.org/prep/standards/standards.texi.tar.g= z") + (sha256 + (base32 + "1rdyqk6d5bgrpmlnb8r65qif1h604jz1g7v3szh24cqga3mgi9py")))) + (build-system trivial-build-system) + (native-inputs `(("gzip" ,gzip) + ("source" ,source) + ("tar" ,tar) + ("texinfo" ,texinfo))) + (arguments + `(#:modules ((guix build utils)) + #:builder (begin + (use-modules (guix build utils)) + (let ((gzip (assoc-ref %build-inputs "gzip")) + (source (assoc-ref %build-inputs "source")) + (tar (assoc-ref %build-inputs "tar")) + (texinfo (assoc-ref %build-inputs "texinfo")) + (info-dir (string-append %output "/share/info"))) + (setenv "PATH" (string-append gzip "/bin" + ":" tar "/bin" + ":" texinfo "/bin")) + (mkdir-p info-dir) + (system* "tar" "xf" source) + (system* "makeinfo" "--output" info-dir "standards.te= xi") + (system* "gzip" (string-append info-dir "/standards.i= nfo")))))) + (home-page "http://www.gnu.org/prep/standards/") + (synopsis "GNU coding standards") + (description "The GNU Coding Standards were written by Richard Stallma= n and other GNU Project volunteers. Their purpose is to make the GNU syste= m clean, consistent, and easy to install.") + (license fdl1.3+))) --=20 2.6.3 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.nl= =20=20 --=-=-=--