Re: docbook-xsl version number in pathname (was Re: [PATCH] gnu: Add moreutils.)

2015-02-13 Thread Mark H Weaver
taylanbayi...@gmail.com (Taylan Ulrich "Bayırlı/Kammer") writes: > From d7eeccc9c6b53670aa82936add30e2b0c80ea201 Mon Sep 17 00:00:00 2001 > From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?= > > Date: Sun, 1 Feb 2015 02:21:11 +0100 > Subject: [PATCH] gnu: Add moreutils. > > * gnu/packa

Re: [PATCH] gnu: Add moreutils.

2015-02-02 Thread Ludovic Courtès
taylanbayi...@gmail.com (Taylan Ulrich "Bayırlı/Kammer") skribis: > I still use setenv for XML_CATALOG_FILES; is there a more correct way? Yes there is! libxml2 has a ‘search-path-specification’ for it, meaning that if both libxml2 and docbook are inputs, XML_CATALOG_FILES will automatically be

Re: docbook-xsl version number in pathname (was Re: [PATCH] gnu: Add moreutils.)

2015-02-01 Thread Taylan Ulrich Bayırlı/Kammer
Mark H Weaver writes: > I just realized, it's not good that the docbook-xsl version number is > hardcoded here. This will break the next time docbook-xsl is updated. > > Does anyone know how to improve this? > > The relevant bit in the package Makefile that is being modified is this: > > DOCBOOK

docbook-xsl version number in pathname (was Re: [PATCH] gnu: Add moreutils.)

2015-02-01 Thread Mark H Weaver
Mark H Weaver writes: > With these simplifications, it would look like this: > > (lambda* (#:key inputs #:allow-other-keys) > (substitute* "Makefile" > (("/usr/share/xml/.*/docbook.xsl") > (string-append > (assoc-ref inputs "docbook-xsl") >

Re: [PATCH] gnu: Add moreutils.

2015-02-01 Thread Mark H Weaver
taylanbayi...@gmail.com (Taylan Ulrich "Bayırlı/Kammer") writes: > I still use setenv for XML_CATALOG_FILES; is there a more correct way? This is handled automatically, so you can simply omit that part. > From b38dd34fce834a54ccd0ae4628d8806418b41269 Mon Sep 17 00:00:00 2001 > From: =?UTF-8?q?Ta

Re: [PATCH] gnu: Add moreutils.

2015-02-01 Thread Taylan Ulrich Bayırlı/Kammer
No problem; here's the updated patch. :-) I still use setenv for XML_CATALOG_FILES; is there a more correct way? (It's not a Make variable; it's for xmllint(1).) >From b38dd34fce834a54ccd0ae4628d8806418b41269 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?=

Re: [PATCH] gnu: Add moreutils.

2015-02-01 Thread David Thompson
"Taylan Ulrich Bayırlı/Kammer" writes: > Never mind the previous patch, just saw your comment re. 2015. :-) > > (Too much copy-paste again.) > > From dc3070321f3923780d75906d0b73b60fcd166bb0 Mon Sep 17 00:00:00 2001 > From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?= > > Date: Sun, 1

Re: [PATCH] gnu: Add moreutils.

2015-02-01 Thread Taylan Ulrich Bayırlı/Kammer
Never mind the previous patch, just saw your comment re. 2015. :-) (Too much copy-paste again.) >From dc3070321f3923780d75906d0b73b60fcd166bb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?= Date: Sun, 1 Feb 2015 02:21:11 +0100 Subject: [PATCH] gnu: Add mor

Re: [PATCH] gnu: Add moreutils.

2015-02-01 Thread Taylan Ulrich Bayırlı/Kammer
Mark H Weaver writes: > David Thompson writes: > >> In GNU Make, the '?=' operator for variable assignment means "assign if >> the variable isn't already defined"[1]. So, rather than a substitution, >> how about just setting an environment variable? >> >> (setenv "PREFIX" out) > > Another way

Re: [PATCH] gnu: Add moreutils.

2015-01-31 Thread Mark H Weaver
David Thompson writes: > "Taylan Ulrich Bayırlı/Kammer" writes: > >> From c770ed88c66c10de47e8fe7f84c3df6cf7b14aa4 Mon Sep 17 00:00:00 2001 >> From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?= >> >> Date: Sun, 1 Feb 2015 02:21:11 +0100 >> Subject: [PATCH] gnu: Add moreutils. >> >> *

Re: [PATCH] gnu: Add moreutils.

2015-01-31 Thread David Thompson
"Taylan Ulrich Bayırlı/Kammer" writes: > From c770ed88c66c10de47e8fe7f84c3df6cf7b14aa4 Mon Sep 17 00:00:00 2001 > From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?= > > Date: Sun, 1 Feb 2015 02:21:11 +0100 > Subject: [PATCH] gnu: Add moreutils. > > * gnu-system.am (GNU_SYSTEM_MODULES)