unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: texinfo: Make version 4.13a available
@ 2014-02-10 14:41 Mark H Weaver
  2014-02-10 16:13 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Mark H Weaver @ 2014-02-10 14:41 UTC (permalink / raw)
  To: guix-devel

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

This patch adds texinfo-4.13a back to Guix, as an alternative to
texinfo-5.2.

The motivation is that building Guile's manual using texinfo-4.13a takes
about 6 seconds on my Yeeloong, compared with about 12 *minutes* using
texinfo-5.2.  For me, that's intolerable.  I think that anyone with a
slower machine who wants to get work done on a project with a large
texinfo manual will want this.

What do you think?

      Mark


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: [PATCH] gnu: texinfo: Make version 4.13a available --]
[-- Type: text/x-patch, Size: 1251 bytes --]

From ea307b2af2d995b4f37c27e52f5d259131d27fe8 Mon Sep 17 00:00:00 2001
From: Mark H Weaver <mhw@netris.org>
Date: Mon, 10 Feb 2014 02:04:38 -0500
Subject: [PATCH] gnu: texinfo: Make version 4.13a available.

* gnu/packages/texinfo.scm (texinfo-4): New variable.
---
 gnu/packages/texinfo.scm | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/gnu/packages/texinfo.scm b/gnu/packages/texinfo.scm
index 7c753a7..0f21ec3 100644
--- a/gnu/packages/texinfo.scm
+++ b/gnu/packages/texinfo.scm
@@ -50,3 +50,17 @@ package includes both the tools necessary to produce Info documents from
 their source and the command-line Info reader.  The emphasis of the language
 is on expressing the content semantically, avoiding physical markup commands.")
     (license gpl3+)))
+
+(define-public texinfo-4
+  (package (inherit texinfo)
+    (version "4.13a")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://gnu/texinfo/texinfo-"
+                    version
+                    ".tar.lzma"))
+              (sha256
+               (base32
+                "1rf9ckpqwixj65bw469i634897xwlgkm5i9g2hv3avl6mv7b0a3d"))))
+    (inputs `(("ncurses" ,ncurses) ("xz" ,xz)))))
-- 
1.8.4


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

* Re: [PATCH] gnu: texinfo: Make version 4.13a available
  2014-02-10 14:41 [PATCH] gnu: texinfo: Make version 4.13a available Mark H Weaver
@ 2014-02-10 16:13 ` Ludovic Courtès
  2014-02-10 16:55   ` John Darrington
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2014-02-10 16:13 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guix-devel

Mark H Weaver <mhw@netris.org> skribis:

> This patch adds texinfo-4.13a back to Guix, as an alternative to
> texinfo-5.2.
>
> The motivation is that building Guile's manual using texinfo-4.13a takes
> about 6 seconds on my Yeeloong, compared with about 12 *minutes* using
> texinfo-5.2.

Ouch.  My laptop is faster, but yeah, I sympathize.  :-)

I wonder about the environmental footprint of the switch to Texinfo 5.

> From ea307b2af2d995b4f37c27e52f5d259131d27fe8 Mon Sep 17 00:00:00 2001
> From: Mark H Weaver <mhw@netris.org>
> Date: Mon, 10 Feb 2014 02:04:38 -0500
> Subject: [PATCH] gnu: texinfo: Make version 4.13a available.
>
> * gnu/packages/texinfo.scm (texinfo-4): New variable.

OK to commit.

Thanks,
Ludo’.

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

* Re: [PATCH] gnu: texinfo: Make version 4.13a available
  2014-02-10 16:13 ` Ludovic Courtès
@ 2014-02-10 16:55   ` John Darrington
  0 siblings, 0 replies; 3+ messages in thread
From: John Darrington @ 2014-02-10 16:55 UTC (permalink / raw)
  To: Ludovic Court??s; +Cc: guix-devel

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

On Mon, Feb 10, 2014 at 05:13:47PM +0100, Ludovic Court??s wrote:
     Mark H Weaver <mhw@netris.org> skribis:
     
     > This patch adds texinfo-4.13a back to Guix, as an alternative to
     > texinfo-5.2.
     >
     > The motivation is that building Guile's manual using texinfo-4.13a takes
     > about 6 seconds on my Yeeloong, compared with about 12 *minutes* using
     > texinfo-5.2.
     
     Ouch.  My laptop is faster, but yeah, I sympathize.  :-)
     
     I wonder about the environmental footprint of the switch to Texinfo 5.
     
I think having 4.x in guix is also a good idea, since there are still packages in the wild
whose manuals don't build with 5.x

J'

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

end of thread, other threads:[~2014-02-10 16:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-10 14:41 [PATCH] gnu: texinfo: Make version 4.13a available Mark H Weaver
2014-02-10 16:13 ` Ludovic Courtès
2014-02-10 16:55   ` John Darrington

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).