all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add gnu-maintain and gnu-standards.
@ 2016-03-23 21:26 Jan Nieuwenhuizen
  2016-03-25 10:18 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Nieuwenhuizen @ 2016-03-23 21:26 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 54 bytes --]

Hi,

I was missing these info files.

Greetings, Jan


[-- Attachment #2: 0001-gnu-Add-gnu-maintain-and-gnu-standards.patch --]
[-- Type: text/x-diff, Size: 5404 bytes --]

From 914756aa6c8893ce68f57dab575ed67f4d5ae560 Mon Sep 17 00:00:00 2001
From: Jan Nieuwenhuizen <janneke@gnu.org>
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 © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
+;;;
+;;; 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 <http://www.gnu.org/licenses/>.
+
+(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.texi")
+                     (system* "gzip" (string-append info-dir "/maintain.info"))))))
+    (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.gz")
+              (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.texi")
+                     (system* "gzip" (string-append info-dir "/standards.info"))))))
+    (home-page "http://www.gnu.org/prep/standards/")
+    (synopsis "GNU coding standards")
+    (description "The GNU Coding Standards were written by Richard Stallman and other GNU Project volunteers.  Their purpose is to make the GNU system clean, consistent, and easy to install.")
+    (license fdl1.3+)))
-- 
2.6.3


[-- Attachment #3: Type: text/plain, Size: 154 bytes --]


-- 
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar®  http://AvatarAcademy.nl  

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-03-31 21:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-23 21:26 [PATCH] gnu: Add gnu-maintain and gnu-standards Jan Nieuwenhuizen
2016-03-25 10:18 ` Ludovic Courtès
2016-03-26 13:00   ` Jan Nieuwenhuizen
2016-03-31 21:56     ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.