aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* packages: Output and error ports are line-buffered in ‘patch-and-repack’.Ludovic Courtès2024-08-31
| | | | | | * guix/packages.scm (patch-and-repack): Add ‘setvbuf’ calls. Change-Id: I039bb6407263d5172bf0bc716bda6860dc2615fb
* profiles: Use C.UTF-8 instead of ‘glibc-utf8-locales’ where possible.Ludovic Courtès2024-08-31
| | | | | | | | | | | | | | This is a followup to 1cebc334a77030c0c94955981652f4df7608c9e3. * guix/profiles.scm (ca-certificate-bundle)[libc-utf8-locales-for-target]: Remove. [build]: Use “C.UTF-8” instead of “en_US.utf8”. (profile-derivation)[libc-utf8-locales-for-target]: Remove. [set-utf8-locale]: Rewrite to a gexp that calls ‘setlocale’ for “C.UTF-8”. * tests/profiles.scm ("profile-derivation, cross-compilation"): Remove ‘locales’ variable and related check. Change-Id: I7cb148b9149fe5fbe5b9b1b25fdce1002ad1f37e
* gnu: commencement: Remove ‘glibc-utf8-locales’ from ‘%final-inputs’.Ludovic Courtès2024-08-31
| | | | | | | | | | | | | | | | * gnu/packages/commencement.scm (%boot5-inputs): Make an alias for ‘%boot4-inputs’. (with-boot5): Turn into an alias for ‘with-boot4’. (%final-inputs): Override ‘native-inputs’ of GAWK. Remove "locales" entry. (canonical-package): Add “glibc-utf8-locales” entry. * gnu/packages/base.scm (libc-utf8-locales-for-target): Use ‘canonical-package’. * gnu/packages/gawk.scm (gawk)[native-inputs]: New field. * gnu/packages/texinfo.scm (texinfo)[native-inputs]: Add ‘libc-utf8-locales-for-target’. Change-Id: I2283ffc6c6000c98ad2db89c04d581e050667c94
* build-system/gnu: Change default locale to C.UTF-8.Ludovic Courtès2024-08-31
| | | | | | | | | | | | This is a followup to 1cebc334a77030c0c94955981652f4df7608c9e3. * guix/build-system/gnu.scm (gnu-build, gnu-cross-build): #:locale now defaults to "C.UTF-8". * guix/build/gnu-build-system.scm (install-locale): Likewise. * gnu/packages/linux.scm (util-linux)[arguments]: In ‘pre-check’ phase, remove ‘invalid-multibyte’ modification so the test runs under C.UTF-8. Change-Id: I9a4bfe564bcd8bbd0d57ba04568eb6b8020bd051
* packages: Remove reference to ‘glibc-utf8-locales’ in ↵Ludovic Courtès2024-08-31
| | | | | | | | | | | | ‘patch-and-repack’. This is a followup to 1cebc334a77030c0c94955981652f4df7608c9e3. * guix/packages.scm (%standard-patch-inputs): Remove “locales” entry. (patch-and-repack): Remove ‘locales’ variable. [build]: Remove reference to ‘locales’. Use “C.UTF-8” unconditionally. Change-Id: I54219b232880e05534599fbba8738cc00fb5d568
* gnu: file: Fix building on 32-bit systems.Efraim Flashner2024-08-31
| | | | | | | | * gnu/packages/file.scm (file)[source]: Add patch. * gnu/packages/patches/file-32bit-time.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Change-Id: I9511769647147eb79db2babaaa606816d77fadad
* gnu: gsl-static: Remove variable.Efraim Flashner2024-08-31
| | | | | | * gnu/packages/maths.scm (gsl-static): Remove variable. Change-Id: I20af472e62582b403afa4be80b2d3f725903dabc
* gnu: gsl: Provide static library in separate output.Efraim Flashner2024-08-31
| | | | | | | | | * gnu/packages/maths.scm (gsl)[outputs]: New field. [arguments]: Remove configure-flag disabling static library. Add make-flag to produce PIC output. Add a phase to move the static libraries into the static output. Change-Id: I4c5dddb8d384f4e2f82122b239da44350bacf57a
* guix: search-paths: Fix obj-c++ search paths.Efraim Flashner2024-08-31
| | | | | | | * guix/search-paths.scm ($OBJCPLUS_INCLUDE_PATH): Also search 'include/c++'. Change-Id: I403674038c1c3bf1251c710031496363c924f19a
* gnu: clang-from-llvm: Use gcc's search paths.Efraim Flashner2024-08-31
| | | | | | | * gnu/packages/llvm.scm (clang-from-llvm)[native-search-paths]: Use %gcc-search-paths. Change-Id: I777cab55e8a1931502a537c0680608d7d6b5b715
* gnu: gcc: Support objc, objc++ by default.Efraim Flashner2024-08-31
| | | | | | | | | | | | | | | | * gnu/packages/gcc.scm (gcc-4.7)[configure-flags]: Adjust the enable-languages flag to also enable objc, obj-c++. (gcc-objc-4.8, gcc-objc-4.9, gcc-objc-5, gcc-objc-6, gcc-objc-7, gcc-objc-8, gcc-objc-9, gcc-objc-10, gcc-objc-11, gcc-objc-12, gcc-objc, gcc-objc++-4.8, gcc-objc++-4.9, gcc-objc++-5, gcc-objc++-6, gcc-objc++-7, gcc-objc++-8, gcc-objc++-9, gcc-objc++-10, gcc-objc++-11, gcc-objc++-12, gcc-objc++, %objc-search-paths, %objc++-search-paths): Remove variables. * guix/search-paths.scm ($OBJC_INCLUDE_PATH, $OBJCPLUS_INCLUDE_PATH): New variables. (%gcc-search-paths): Include $OBJC_INCLUDE_PATH, $OBJCPLUS_INCLUDE_PATH. Change-Id: Ib4cd176eb88c733a82f2d31e8cc45b9c61720f8f
* gnu: cross-base: Remove ‘install-utf8-c-locale’.Ludovic Courtès2024-08-31
| | | | | | | * gnu/packages/cross-base.scm (cross-libc*): Remove ‘install-utf8-c-locale’ phase. Change-Id: I47cf555548335491f06443dd921a457f458801f4
* build-system/gnu: Introduce ‘%gnu-build-system-modules’ deprecated alias.Ludovic Courtès2024-08-31
| | | | | | | | | This is a followup to 9e4ce281dbd92e3c52b831824ebb1f77023c960c. * guix/build-system/gnu.scm (%gnu-build-system-modules): New deprecated alias. Change-Id: Ia40c9920b2927ac00660647ab1a475e2a6d5b787
* gnu: cross-base: Let glibc use the right Binutils programs.Ludovic Courtès2024-08-31
| | | | | | | | | | | | | | This replaces ‘glibc-cross-objdump.patch’ and ‘glibc-cross-objcopy.patch’ (not applied to glibc@2.38): these patches were committed upstream and later reverted on the grounds that ‘gcc -print-prog-name=objdump’ should find the cross ‘objdump’: https://inbox.sourceware.org/libc-alpha/d72f5f6f-cc3a-bd89-0800-ffb068928e0f@linaro.org/t/ * gnu/packages/cross-base.scm (cross-libc*): Add ‘add-cross-binutils-to-PATH’ phase. Change-Id: I38dc7a6134177ec73313c0a9c8b0a12c85c60e26
* gnu: glibc: Improve handling of empty .a files.Ludovic Courtès2024-08-31
| | | | | | | | | | | | | This partially reverts 3b2de6529b9d77c8a74d431859a3ec334e9603c2, itself a followup to 25b30622b4a77cd4b2965b9d62fa310a22413d54. * gnu/packages/base.scm (glibc)[arguments]: In ‘move-static-libs’ phase, remove ‘empty-static-libraries’ variable and rewrite ‘empty-static-library?’ to check file type and size. * gnu/packages/commencement.scm (make-gcc-toolchain): Remove ‘copy-file’ call to create ‘librt.a’. Change-Id: I33c6825d5b1e6e790dfff494bac1da07d3389e77
* gnu: glibc: Ensure C.UTF-8 locale is always found.Ludovic Courtès2024-08-31
| | | | | | | | | | This change ensures that $prefix/lib/locale, which now contains C.UTF-8 data, is always searched. Thus, “setlocale (LC_ALL, "C.UTF-8")” is guaranteed to always succeed. * gnu/packages/patches/glibc-2.37-versioned-locpath.patch: Adjust. Change-Id: I6aaf2757da98e811aa55e0959126065537cd8970
* gnu: glibc: Install C.UTF-8 locale.Ludovic Courtès2024-08-31
| | | | | | | | | * gnu/packages/base.scm (glibc)[arguments]: Add ‘install-utf8-c-locale’ phase. (glibc-2.35)[arguments]: Delete ‘install-utf8-c-locale’ phase. (glibc-2.33, glibc-2.32, glibc-2.31): Inherit from ‘glibc-2.35’. Change-Id: I7ba515184c7b7c40eaefd355639ffef8eeca66d8
* gnu: glibc: Update to 2.38.Ludovic Courtès2024-08-31
| | | | | | | | | | | * gnu/packages/patches/glibc-2.38-ldd-x86_64.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/base.scm (glibc): Update to 2.38. [source]: Adjust list of patches. [arguments]: Add ‘--enable-crypt’. (glibc-2.35): New variable. Change-Id: I040b724c47d2ee5f90f2deb03a4828e79d1bfc4e
* gnu: mpfr: Update to 4.2.1.Janneke Nieuwenhuizen2024-08-31
| | | | | | | | | This fixes building mpfr with glibc-2.38. * gnu/packages/multiprecision.scm (mpfr): Update to 4.2.1. Change-Id: Ib8a8eecc9e72587e0fc1b8b0ee965aa274b85c7b Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: glibc-utf8-locales: Generalize and use gexps.Ludovic Courtès2024-08-31
| | | | | | | | | | Previously code was dependent on the ‘name’ field of the GLIBC package. * gnu/packages/base.scm (make-glibc-utf8-locales): Use gexps. Replace references to ‘%build-inputs’ by calls to ‘which’. Replace reference to ‘version’ by (package-version this-package). Change-Id: I1e7003047aa85df74069b233191ab331b5f887b6
* gnu: gcc@11: Update to 11.4.0.Greg Hogan2024-08-31
| | | | | | | | | * gnu/packages/gcc.scm (gcc-11): Update to 11.4.0. Remove ‘gcc-10-tree-sra-union-handling.patch’. Change-Id: Iff8c9151326c87cb13db9c5b1a00c44b8eef95e3 Co-authored-by: Janneke Nieuwenhuizen <janneke@gnu.org> Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: grep-final: Adjust for changes in grep.Efraim Flashner2024-08-31
| | | | | | | | * gnu/packages/commencement.scm (grep-final)[arguments]: Strip inherited configure-flags. [inputs]: Remove inherited pcre2, not pcre. Change-Id: Ib912430712b3d4dfea4854e563e4efb4ae5e3e45
* gnu: grep-mesboot: Remove inherited configure-flags.Efraim Flashner2024-08-31
| | | | | | | * gnu/packages/commencement.scm (grep-mesboot)[arguments]: Strip inherited configure-flags. Change-Id: Id1e9c0d742aaa978b436073088f92a742ec45272
* gnu: grep: Fix PCRE matches (grep -P).spacecadet2024-08-31
| | | | | | | | * gnu/packages/base.scm (grep)[inputs]: Replace pcre with pcre2. [arguments]: Add "--enable-perl-regexp" to #:configure-flags to detect broken PCRE in future. Change-Id: I612564ca9ceae6aeee325368f34b2aa35eba0c40
* gnu: image: Reformat comments.Tobias Geerinckx-Rice2024-08-31
| | | | | | I wrote these to fit on their lines, so the pointless widows bug me. * gnu/build/image.scm (make-iso9660-image): M-q comments.
* gnu: gitless: Fix definition.Hilton Chain2024-08-31
| | | | | | | | | | This is a follow-up of 04031f4c16f38b2653797b9942d4da143f501cbb (gnu: gitless: Add bash-minimal to inputs, use gexps.). gnu/packages/version-control.scm(gitless)[arguments] Move #~ to #:phases. Change-Id: Ibe3cdbd24fc0b27a15a880a2a45cb0cd8cfde84d Signed-off-by: Hilton Chain <hako@ultrarare.space>
* gnu: fontforge: Fix build.Zheng Junjie2024-08-31
| | | | | | | | | | This follows up on commit 3f2c6cc3933bc01077383e4ff83b6a5d00f83129 (gnu: fontutils: Add 'bash' input for 'wrap-program'.). gnu/packages/fontutils.scm(fontforge)[arguments]<#:phases>: Adjust input names. Change-Id: I64c3992e995294cb04a9f4c79cd841bfc51ba08d Signed-off-by: Hilton Chain <hako@ultrarare.space>
* gnu: httpd: Rewrite using G-Expressions.Bruno Victal2024-08-31
| | | | | | * gnu/packages/web.scm (httpd): Rewrite using G-Expressions. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: rust: Add 'bash' input for 'wrap-program'.Maxime Devos2024-08-31
| | | | | | | | | | | It is required for cross-compilation. * gnu/packages/rust.scm (rust-bootstrap)[inputs]: Add 'bash-minimal'. (rust-1.55)[inputs]: Likewise. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: I8f0f71b236504d6a2e04c5823fbf20f926485992
* gnu: rednotebook: Add 'bash' input for 'wrap-program'.Maxime Devos2024-08-31
| | | | | | | | | It is required for cross-compilation. * gnu/packages/rednotebook.scm (rednotebook)[inputs]: Add 'bash-minimal'. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: I95d596403bd603df2ef48145bc87f783625b11cf
* gnu: gnuradio: Add 'bash' input for 'wrap-program'.Maxime Devos2024-08-31
| | | | | | | | | | It is required for cross-compilation. * gnu/packages/radio.scm (gnuradio)[inputs]: Add 'bash-minimal'. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: Ia3c4d9e65c5ca8ea1d5456dd59d74e9a5b7503da
* gnu: python-screenkey: Add 'bash' input for 'wrap-program'.Maxime Devos2024-08-31
| | | | | | | | | It is required for cross-compilation. * gnu/packages/python-xyz.scm (python-screenkey)[inputs]: Add 'bash-minimal'. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu: presentty: Add 'bash' input for 'wrap-program'.Maxime Devos2024-08-31
| | | | | | | | | | It is required for cross-compilation. * gnu/packages/presentation.scm (presentty)[inputs]: Add 'bash-minimal'. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: Ief6c983cdbced493c27c8584ac63afe5bc0bac98
* gnu: plotutils: Add 'bash' input for 'wrap-program'.Maxime Devos2024-08-31
| | | | | | | | | | It is required for cross-compilation. * gnu/packages/plotutils.scm (plotutils)[inputs]: Add 'bash-minimal'. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: Ib898b9ff05c65bdd58fa97b093d3d0f7683f12f2
* gnu: piet: Add 'bash' input for 'wrap-program'.Maxime Devos2024-08-31
| | | | | | | | | | | | | It is required for cross-compilation. * gnu/packages/piet.scm (npiet)[inputs]: Add 'bash-minimal'. (piet-toolchain): Delete trailing #t. [inputs]: Add 'bash-minimal'. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: I804edbb3696fda1cee9df579be2cfd7158b18514
* gnu: orange: Add 'bash' input for 'wrap-program'.Maxime Devos2024-08-31
| | | | | | | | | It is required for cross-compilation. * gnu/packages/orange.scm (orange)[inputs]: Add 'bash-minimal'. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: Icd77fcd747fc2066d7a413c984f22c134ffddbec
* gnu: python-git-review: Add 'bash' input for 'wrap-program'.Maxime Devos2024-08-31
| | | | | | | | | | It is required for cross-compilation. * gnu/packages/openstack.scm (python-git-review)[inputs]: Add 'bash-minimal'. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: Ib17da31cc7f25d91e12e3cda95cf07a01f6f21d7
* gnu: mypaint: Add 'bash' input for 'wrap-program'.Maxime Devos2024-08-31
| | | | | | | | | | | | It is required for cross-compilation. * gnu/packages/image.scm (mypaint): Delete trailing #t. [inputs]: Add 'bash-minimal'. [native-inputs]: Remove labels. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: Ifb3b6bd129f9ca2d5724288622d6162db2e84746
* gnu: itk-snap: Add 'bash' input for 'wrap-program'.Maxime Devos2024-08-31
| | | | | | | | | | It is required for cross-compilation. * gnu/packages/image-processing.scm (itk-snap)[inputs]: Add 'bash-minimal'. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: I700d4819aa240ab8d6dc3722336e8fe91d896d96
* gnu: raincat: Add 'bash' input for 'wrap-program'.Maxime Devos2024-08-31
| | | | | | | | | | It is required for cross-compilation. * gnu/packages/haskell-apps.scm (raincat)[inputs]: Add 'bash-minimal'. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: I43678905da46d4ab6638d2c7744a547d5ee00089
* gnu: guile-wm: Add 'bash' input for 'wrap-program'.Maxime Devos2024-08-31
| | | | | | | | | | It is required for cross-compilation. * gnu/packages/guile-wm.scm (guile-wm)[inputs]: Add 'bash-minimal'. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: Ie70871d0cc10f761f05273b65abda843a4ce8bcd
* gnu: gtk-doc: Add 'bash' input for 'wrap-program'.Maxime Devos2024-08-31
| | | | | | | | | | It is required for cross-compilation. * gnu/packages/gtk.scm (gtk-doc)[inputs]: Add 'bash-minimal'. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: I5db498ba4c7c7db239adb2b46a16585da044fd02
* gnu: groff: Add 'bash' input for 'wrap-program'.Maxime Devos2024-08-31
| | | | | | | | | | | | | It is required for cross-compilation. * gnu/packages/groff.scm (roffit): Remove trailing #t [native-inputs]: Remove labels. [inputs]: Add 'bash-minimal'. (ronn-ng)[inputs]: Add 'bash-minimal'. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: I6ffaf53d1389c49b96c964447989b9db45d6b509
* gnu: gpsd: Add 'bash' input for 'wrap-program'.Maxime Devos2024-08-31
| | | | | | | | | | It is required for cross-compilation. * gnu/packages/gpsd.scm (gpsd)[inputs]: Add 'bash-minimal'. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: I005ee0b9d223717219463fbb01e8cbfe97a90b80
* gnu: icedove: Add 'bash' input for 'wrap-program'.Maxime Devos2024-08-31
| | | | | | | | | | It is required for cross-compilation. * gnu/packages/gnuzilla.scm (icedove)[inputs]: Add bash-minimal. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: I8662841b88d46baebc7f700b7331b0c5cc786f64
* gnu: icecat: Add 'bash' input for 'wrap-program'.Maxime Devos2024-08-31
| | | | | | | | | | | It is required for cross-compilation. * gnu/packages/gnuzilla.scm (icecat)[inputs]: Add 'bash-minimal'. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: I30f7f40b8093457e4076a3d8ac9f3a6a1cca703c
* gnu: windowmaker: Add 'bash' input for 'wrap-program'.Maxime Devos2024-08-31
| | | | | | | | | | | | It is required for cross-compilation. * gnu/packages/gnustep.scm (windowmaker): Remove trailing #t. [inputs]: Add 'bash-minimal'. Remove labels. Sort. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: Icba4437e459e209cb5af4e00a436d3921fc27957
* gnu: gnome-shell-extension-gsconnect: Add 'bash' input.Maxime Devos2024-08-31
| | | | | | | | | | It is required by 'wrap-program' when cross-compilation. * gnu/packages/gnome-xyz.scm (gnome-shell-extension-gsconnect)[inputs]: Add 'bash-minimal'. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: I74d6baab414734e6feb30b6dc5b6da82f80920a7
* gnu: itstool: Add 'bash' input for 'wrap-program'.Maxime Devos2024-08-31
| | | | | | | | | | It is required for cross-compilation. * gnu/packages/glib.scm (itstool)[inputs]: Add 'bash-minimal'. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: I27a2d20d1bbd727c966928b491f80717281fb626
* gnu: gramps: Add 'bash' input for 'wrap-program'.Maxime Devos2024-08-31
| | | | | | | | | | | It is required for cross-compilation. * gnu/packages/genealogy.scm (gramps)[inputs]: Add 'bash-minimal'. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: I96613a43578f77fbd6e8eff95fe98f04e88b0dba