unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 0/3] Fix bash:include and build recutils' Bash builtin.
@ 2015-10-18 19:40 Leo Famulari
  2015-10-18 19:40 ` [PATCH 1/3] gnu: bash: Install more headers in "include" output Leo Famulari
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Leo Famulari @ 2015-10-18 19:40 UTC (permalink / raw)
  To: guix-devel

The Bash patches update the install-headers-phase to make all the Bash
headers available in bash:include. Basically, I copied the relevant
portions of the Debian rules file for the bash-builtins package [1].
There is still some work that could be done — e.g. there are examples of
loadable Bash builtins that could go in the docs.

The regex should be selecting any file whose name ends in .h in the
"include/" directory of the source tarball (someone better double-check
it though — I'm no regex expert!).  I separated it from the existing
file-copying routines because the contents of "include/" should go in
the top-level of the output's "include/bash" directory. This is
different from the files copied from other tarball directories — they
get copied along with their folders. I also altered the code to use
'install-file' instead of 'mkdir-p' and 'copy-file', reducing the amount
of boilerplate code.

The recutils patch tells recutils where to find the Bash headers so that
the recutils' Bash builtin 'readrec' can be built.

[1]
line 254 onwards:
https://sources.debian.net/src/bash/4.3-11/debian/rules/

Leo Famulari (3):
  gnu: bash: Install more headers in "include" output.
  gnu: bash: Use 'install-file' instead of 'mkdir-p' and 'copy-file'.
  gnu: recutils: Build the Bash builtin, readrec.

 gnu/packages/bash.scm      | 10 ++++++----
 gnu/packages/databases.scm | 12 ++++++++----
 2 files changed, 14 insertions(+), 8 deletions(-)

-- 
2.6.1

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

end of thread, other threads:[~2015-10-22 22:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-18 19:40 [PATCH 0/3] Fix bash:include and build recutils' Bash builtin Leo Famulari
2015-10-18 19:40 ` [PATCH 1/3] gnu: bash: Install more headers in "include" output Leo Famulari
2015-10-21 19:22   ` Ludovic Courtès
2015-10-22 22:56     ` Leo Famulari
2015-10-18 19:40 ` [PATCH 2/3] gnu: bash: Use 'install-file' instead of 'mkdir-p' and 'copy-file' Leo Famulari
2015-10-18 19:40 ` [PATCH 3/3] gnu: recutils: Build the Bash builtin, readrec Leo Famulari

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).