[PATCH devel 3/6] Add a HACK file.

2021-03-04 Thread Maxim Cournoyer
To ease the hacking experience. * HACK: New file. --- HACK | 47 +++ 1 file changed, 47 insertions(+) create mode 100644 HACK diff --git a/HACK b/HACK new file mode 100644 index 000..a7cf01e --- /dev/null +++ b/HACK @@ -0,0 +1,47 @@ +Dependencies

[PATCH devel 5/6] build: Add support for cross-compilation.

2021-03-04 Thread Maxim Cournoyer
From: Christopher Baines This enables cross-compiling for systems different than the build machine. * configure.ac (GUILE_TARGET): New variable. * am/guile.mk (.scm.go): Use it. Signed-off-by: Maxim Cournoyer --- am/guile.mk | 2 +- configure.ac | 5 + 2 files changed, 6 insertions(+), 1

[PATCH devel 0/6] Parameterize the parent constraints in htmlprag & varia

2021-03-04 Thread Maxim Cournoyer
Hello! The following is an attempt to upstream the various fixes accumulated for guile-lib in the Guix code base. Among other things, it adds support to configure or otherwise disable the parent constraints feature of the htmlprag tokenizer. Thank you, Maxim HACK | 47 +++

[PATCH devel 6/6] configure.ac: Standardize default installation directory.

2021-03-04 Thread Maxim Cournoyer
And add a new --with-guile-site-dir option that allows specifying an exact location explicitly. Also add a --with-versioned-site-dir option that appends the effective Guile version to the default site directory when set to 'yes'. * m4/guile-ext.m4: Remove file. * configure.ac (GUILE_GLOBAL_SITE_D

[PATCH devel 1/6] Revert "When using guile-3.0, compile src/md5.scm using -O0"

2021-03-04 Thread Maxim Cournoyer
This reverts commit 437ddcdd359ce7daccd546be0060fb71c56a71d7. I'm proposing to add the fix from Guix, which is simpler. --- am/guile.mk | 12 +--- configure.ac | 4 +--- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/am/guile.mk b/am/guile.mk index 0cc75a7..6ab0750 1006

[PATCH devel 2/6] Work around Guile 3.0.0 miscompilation at -O2.

2021-03-04 Thread Maxim Cournoyer
From: Ludovic Courtès This bug would cause the test suite to hang and fully use one CPU core and slowly consume all the memory. Signed-off-by: Maxim Cournoyer --- src/md5.scm | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/md5.scm b/src/md5.scm index c30ef2c..48df

[PATCH devel 4/6] htmlprag: Allow users to parameterize the parent constraints.

2021-03-04 Thread Maxim Cournoyer
These constraints are used to make the tokenizer more lenient in the face of incomplete/invalid HTML; unfortunately it causes valid HTML to be parsed incorrectly. This change allows users to parameterize the alist that defines which elements are treated specially via the %PARENT-CONSTRAINTS parame