Fixes build with Python >= 3.6: ------ Making all in libgnomeui make[2]: Entering directory '/tmp/guix-build-libgnomeui-2.24.5.drv-0/libgnomeui-2.24.5/libgnomeui' GEN stamp-gnome-marshal.h GEN stamp-gnometypebuiltins.h INFO: Reading ./gnome-marshal.list... GEN gnome-marshal.h Traceback (most recent call last): File "/gnu/store/...-glib-2.54.2-bin/bin/glib-mkenums", line 688, in process_file(fname) File "/gnu/store/...-glib-2.54.2-bin/bin/glib-mkenums", line 420, in process_file line = curfile.readline() File "/gnu/store/...-python-3.6.3/lib/python3.6/codecs.py", line 321, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf1 in position 1009: invalid continuation byte make[2]: *** [Makefile:1109: stamp-gnometypebuiltins.h] Error 1 make[2]: Leaving directory '/tmp/guix-build-libgnomeui-2.24.5.drv-0/libgnomeui-2.24.5/libgnomeui' make[1]: *** [Makefile:369: all-recursive] Error 1 make[1]: Leaving directory '/tmp/guix-build-libgnomeui-2.24.5.drv-0/libgnomeui-2.24.5' make: *** [Makefile:296: all] Error 2 ------ Patch copied from upstream source repository: https://git.gnome.org/browse/libgnomeui/commit/?id=30334c28794ef85d8973f4ed0779b5ceed6594f2 From 30334c28794ef85d8973f4ed0779b5ceed6594f2 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 7 Aug 2017 13:15:26 -0400 Subject: [PATCH] gnome-scores.h: Convert to UTF-8 The new Python `glib-mkenums` barfs on ISO-8859-1 input. --- libgnomeui/gnome-scores.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgnomeui/gnome-scores.h b/libgnomeui/gnome-scores.h index 911b12d1..4e641d22 100644 --- a/libgnomeui/gnome-scores.h +++ b/libgnomeui/gnome-scores.h @@ -27,7 +27,7 @@ * "High Scores" Widget * * AUTHOR: - * Horacio J. Peña + * Horacio J. Peña * * This is free software (under the terms of the GNU LGPL) * type='submit' value='search'/>
AgeCommit message (Expand)Author
2024-05-25deduplication: Detect holes and create sparse files....This reduces disk usage of sparse files that are substituted such as Guile object files (ELF files). As of Guile 3.0.9, .go files are sparse due to ELF sections being aligned on 64 KiB boundaries. This reduces disk usage reported by “du -sh†by 9% for the ‘guix’ package, by 23% for ‘guile’, and by 35% for ‘guile-git’. * guix/store/deduplication.scm (hole-size, find-holes): New procedures. (tee)[seekable?]: New variable. [read!]: Add case when SEEKABLE? is true. * tests/store-deduplication.scm (cartesian-product): New procedure. ("copy-file/deduplicate, sparse files (holes: ~a/~a/~a)"): New test set. Change-Id: Iad2ab7830dcb1220e2026f4a127a6c718afa8964 Ludovic Courtès
2022-12-10deduplicate: Use 'sendfile' for small file copies....* guix/store/deduplication.scm (dump-file/deduplicate): Use 'sendfile' instead of 'dump-port'. * tests/store-deduplication.scm ("copy-file/deduplicate, below %deduplication-minimum-size"): New test. Ludovic Courtès