aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/base.scm
AgeCommit message (Collapse)Author
2024-09-03gnu: diffutils: Skip Gnulib’s ‘test-year2038’ on i586-gnu.Ludovic Courtès
This is a followup to 391ce2ea752c9eb43e47a1e97b1e13aaf6a63385. * gnu/packages/base.scm (diffutils)[arguments]: Add #:make-flags. Change-Id: Ia760cf9a86a2ae60206e42498a07517552d0c9f2
2024-08-31gnu: grep: Use gexps.Ludovic Courtès
* gnu/packages/base.scm (grep)[arguments]: Use gexps. Change-Id: I7311667b8b929161d1e7290ddfe37c0e875364b2
2024-08-31gnu: grep: Skip Gnulib’s ‘test-year2038’ on i586-gnu.Ludovic Courtès
* gnu/packages/base.scm (grep)[arguments]: Add #:make-flags. Change-Id: I262b6e677a40c37c14807a6189bd18c792099cae
2024-08-31gnu: Add glibc-locales-2.35.Josselin Poiret
* gnu/packages/base.scm (glibc-locales-2.35): Add glibc-locales variant. Change-Id: I72da524f7ff0cd897630c79c111dd7273065da0a
2024-08-31gnu: make-glibc-locales: Modernize.Josselin Poiret
* gnu/packages/base.scm (make-glibc-locales): Switch to G-Expressions. Change-Id: I10efbded72c3e01261a8651fec0a7d9ea29fadad
2024-08-31gnu: glibc-2.35: Disable C++ compiler for build.Josselin Poiret
* gnu/packages/base.scm (glibc-2.33): Move disabling the compiler from here... (glibc-2.35): to here, and update the comment. Change-Id: Ie2511486f0e5791929f1f48529be7cc88c9553c2
2024-08-31gnu: glibc-2.35: Use CVE-2023-4911 again.Josselin Poiret
* gnu/packages/base.scm (glibc-2.35): Use glibc-2.35-CVE-2023-4911.patch which was forgotten when ungrafting. Change-Id: I7774f67b50ba3be1246325ea9f40ac31e3dbc74f
2024-08-31gnu: glibc/fixed: Remove variable.Josselin Poiret
* gnu/packages/base.scm (glibc/fixed): Remove variable. Change-Id: I7882976eecd63fe7ccbbaabfe63484d258c4a167
2024-08-31gnu: glibc: Update patches following upstream's master branch.Josselin Poiret
* gnu/packages/patches/glibc-2.39-git-updates.patch: New patch. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/base.scm (glibc): Use it. Change-Id: I13ff3fa2eddd8296d138f87c9069487e9543b3bd
2024-08-31gnu: Remove leftover references to ‘%glibc/hurd-configure-flags’.Ludovic Courtès
This is a followup to 901b3c2a9db1935149d6ee366bf6f2a325391740. * gnu/packages/base.scm (glibc/hurd-headers): Remove reference to ‘%glibc/hurd-configure-flags’. * gnu/packages/cross-base.scm (cross-libc*): Likewise. Change-Id: Iac43d84e3407c16a0f3f926d795b55c7b7ac73fd
2024-08-31gnu: glibc: Remove unneeded workaround configure flags for Hurd.Josselin Poiret
* gnu/packages/base.scm (%glibc/hurd-configure-flags): Remove variable. (glibc): Stop using %glibc/hurd-configure-flags. Change-Id: I5cbdf8956a826d1eb25c449d4bc8a16d87dc8b80
2024-08-31gnu: glibc-2.33: Use gexps to fix build.Maxim Cournoyer
* gnu/packages/base.scm (glibc-2.33) [arguments]: Use gexps to resolve a build error. Change-Id: I3916360beb7016f2e03528ecfb1a31186cc5d6e2
2024-08-31gnu: glibc: Update to 2.39.Josselin Poiret
* gnu/packages/base.scm (glibc): Update it. Remove --enable-crypt as it is no longer included in 2.39. Remove upstreamed patch for hurd. * gnu/packages/patches/glibc-2.38-hurd-ucontext.patch: Remove patch. * gnu/local.mk (dist_patch_DATA): Unregister it. Change-Id: Idf9ae3ff6cbbe45f1c9bfbc2c78a331f118e0129
2024-08-31gnu: glibc-2.33: Resurrect.Janneke Nieuwenhuizen
* gnu/packages/base.scm (glibc-2.33)[arguments]: Use arguments from glibc-2.35. Change-Id: I40856a121b8687fe822fd70039215da57568f244
2024-08-31gnu: glibc-2.33: Fix source build.Janneke Nieuwenhuizen
* gnu/packages/base.scm (glibc-2.33)[source]: Use patches from glibc-2.35. Change-Id: Idfcad60a39bdfd54d6126c1b440c8915ec2d4df2
2024-08-31gnu: base: Add cautionary comments for canonical-package, %final-inputs usage.Maxim Cournoyer
* gnu/packages/base.scm (canonical-package, %final-inputs): Add comments. Change-Id: I8b2f5802127dbde169850a7931a64fb5eb503b7c
2024-08-31gnu: tzdata: Update to 2023d.Zheng Junjie
* gnu/packages/base.scm (tzdata): Update to 2023d. [inputs]: update tzcode. Change-Id: I54618cb6fedbed3c14a239d2d18a58938f331b51 Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31gnu: glibc/hurd: Install include/mach/machine symlink.Janneke Nieuwenhuizen
* gnu/packages/base.scm (glibc): When building for the Hurd, add phase `create-machine-symlink'. * gnu/packages/cross-base.scm (cross-libc*): Likewise. Change-Id: I61fa081ce081f05bed918a438fd9d4eec94ef4bf
2024-08-31gnu: glibc-locales: Fix build.Josselin Poiret
Change-Id: I34112114b76e75cb2e517d0965286ba8c11a5d6c * gnu/packages/base.scm (make-glibc-locales): Delete the new glibc 'install-utf8-c-locale phase. Change-Id: I843ea0a4fb34dba42e3a2e5ceafb85db7060089f
2024-08-31gnu: glibc/hurd: Update to 2.38.Janneke Nieuwenhuizen
* gnu/packages/base.scm (glibc/hurd): Define to glibc. Change-Id: I4c07ba3971dfe6bfba07e943648420b603c40e29
2024-08-31gnu: binutils-gold: Fix typo.Ludovic Courtès
Fixes a regression introduced in 8e9573784f06ec2af96f9298c6dd4346688888fb. * gnu/packages/base.scm (binutils-gold): Use ‘unquote-splicing’ for the optional ‘skip-gold-testsuite’ phase. Change-Id: Ia08dfe66496aaf2c05df6d3832557f9856ad84a8
2024-08-31gnu: binutils: Use gexps.Ludovic Courtès
This is the result of applying ‘guix style -S arguments’ and making small adjustments. * gnu/packages/base.scm (binutils)[arguments]: Use gexps. (binutils-2.33, binutils-gold): Likewise. * gnu/packages/commencement.scm (binutils-mesboot0, binutils-mesboot1) (binutils-boot0, binutils-final): Likewise. * gnu/packages/cross-base.scm (cross-binutils*): Adjust accordingly. * gnu/packages/embedded.scm (make-propeller-binutils): Use gexps. * gnu/packages/make-bootstrap.scm (%binutils-static): Use gexps. Change-Id: I59cbe29760784b09e6d4e80beca9153cb9b495a7
2024-08-31gnu: binutils: Update to 2.41.Ludovic Courtès
* gnu/packages/base.scm (binutils): Update to 2.41. [properties]: Remove. [native-inputs]: New field. (binutils+documentation): Remove. (binutils-2.33)[native-inputs]: New field. (binutils-gold): Inherit from BINUTILS. [native-inputs]: Use ‘modify-inputs’ to preserve BISON. * gnu/packages/commencement.scm (binutils-boot0)[arguments]: Pass ‘--disable-gprofng’. [native-inputs]: New field. (binutils-final): Move below ‘libstdc++’. [native-inputs]: New field. [arguments]: Add libstdc++ to #:allowed-references. Extend #:configure-flags to libstdc++ is found. Change-Id: I72750ca46ffd484d26608c4cec2931edb06b19a5
2024-08-31Revert "gnu: coreutils: Disable 64-bit time_t on 32-bit systems."Ludovic Courtès
This reverts commit 4eebb73295a8ffdaefcfb7940254ad9c18e4e5d4. The ‘--disable-year2038’ flag appears to be unnecessary (tested on i686-linux). More importantly, it’s potentially harmful as it could prevent rebuilds after year 2038 due to timestamp inconsistencies as they wrap around, and could make the tools unusable altogether. Change-Id: Iad828d38f84bd1824b83731ac3a3897da4b8b6d3
2024-08-31gnu: make: Update to 4.4.1.Ludovic Courtès
* gnu/packages/base.scm (gnu-make): Update to 4.4.1. Change-Id: I0caff2d3ea008e627544728646fcb066b69775f0
2024-08-31gnu: diffutils: Update to 3.10.Ludovic Courtès
* gnu/packages/base.scm (diffutils): Update to 3.10. * gnu/packages/patches/diffutils-fix-signal-processing.patch: Delete. * gnu/local.mk (dist_patch_DATA): Remove it. Change-Id: I795fa93938f8723090887d33574baa1a392ef42e
2024-08-31gnu: grep: Update to 3.11.Ludovic Courtès
* gnu/packages/base.scm (grep): Update to 3.11. Change-Id: Ia9d8d4748ab4faffee1f013d55000e11c6b86c11
2024-08-31gnu: glibc: Add patch for ‘ucontext’ on x86_64-gnu (GNU/Hurd).Ludovic Courtès
Suggested by Sergey Bugaev. * gnu/packages/patches/glibc-2.38-hurd-ucontext.patch: New file. * gnu/packages/base.scm (glibc)[source]: Use it. * gnu/local.mk (dist_patch_DATA): Add it. Change-Id: Ib74e93f2414eda2ec4b3e01fc2bb67b02838fabb
2024-08-31gnu: glibc-utf8-locales: Add the C.UTF-8 locale.Ludovic Courtès
* gnu/packages/base.scm (%default-utf8-locales): Add "C". (make-glibc-utf8-locales): Delete "C" from LOCALES for glibc versions lower than or equal to 2.35. Change-Id: I6a6faa68dc18bf0f87c372109a17f476d3561278
2024-08-31gnu: commencement: Remove ‘glibc-utf8-locales’ from ‘%final-inputs’.Ludovic Courtès
* 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
2024-08-31gnu: glibc: Improve handling of empty .a files.Ludovic Courtès
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
2024-08-31gnu: glibc: Install C.UTF-8 locale.Ludovic Courtès
* 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
2024-08-31gnu: glibc: Update to 2.38.Ludovic Courtès
* 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
2024-08-31gnu: glibc-utf8-locales: Generalize and use gexps.Ludovic Courtès
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
2024-08-31gnu: grep: Fix PCRE matches (grep -P).spacecadet
* 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
2024-08-31build-systems: gnu: Export %default-gnu-imported-modules and ↵Maxim Cournoyer
%default-gnu-modules. Until now users would have to cargo cult or inspect the private %default-modules variable of (guix build-systems gnu) to discover which modules to include when extending the used modules via the #:modules argument. The renaming was automated via the command: $ git grep -l %gnu-build-system-modules | xargs sed 's/%gnu-build-system-modules/%default-gnu-imported-modules/' -i * guix/build-system/gnu.scm (%gnu-build-system-modules): Rename to... (%default-gnu-imported-modules): ... this. (%default-modules): Rename to... (%default-gnu-modules): ... this. Export. (dist-package, gnu-build, gnu-cross-build): Adjust accordingly. Change-Id: Idef307fff13cb76f3182d782b26e1cd3a5c757ee
2024-08-31gnu: glibc: Add $TZDIR native search path.Maxim Cournoyer
* gnu/packages/base.scm (glibc) [native-search-paths]: Add $TZDIR.
2024-06-24gnu: patch: Update to latest commit [security fixes].Maxim Cournoyer
* gnu/packages/base.scm (patch): Rename to... (patch/pinned): ... this. Hide package. (patch): New variable. * gnu/packages/commencement.scm (patch-mesboot): Inherit from patch/pinned. (patch-boot0): Likewise. (%final-inputs): Replace patch with patch/pinned. * gnu/packages/lisp.scm (cl-asdf): Likewise. * guix/packages.scm (%standard-patch-inputs): Replace patch with patch/pinned. Fixes: https://issues.guix.gnu.org/47144 Reported-by: Mark H Weaver <mhw@netris.org> Change-Id: I54ae41b735f5ba0ebad30ebdfaabe0ccdc3f9873
2024-05-30gnu: patch: Fix indentation.Maxim Cournoyer
* gnu/packages/base.scm (patch): Re-indent package. Change-Id: I97a5d8054ebacc779bead6093d150c44acdcc91c
2024-02-03gnu: Add python-tzdata.Liliana Marie Prikler
* gnu/packages/time.scm (python-tzdata): New variable. * gnu/packages/base.scm (tzdata): Update comment.
2023-12-25gnu: Adjust to removing ed.scm and nano.scmEfraim Flashner
This is a follow-up to f6817e71dff7d0d9fdb55db8b85a1d3d04e2bf5a and e11e65a9ad08e18ea2faac3c9f4639a7b189bf76. * gnu/installer.scm, gnu/packages/algebra.scm, gnu/packages/base.scm, gnu/packages/cook.scm, gnu/packages/lisp.scm, gnu/packages/patchutils.scm, gnu/packages/version-control.scm, gnu/packages/web-browsers.scm, gnu/system.scm: Adjust module imports. Change-Id: I25e5519fa003c35a14b81c3dda37b24527858634
2023-12-06gnu: glibc-locales@2.37: Mark as hidden.Ludovic Courtès
Fixes <https://issues.guix.gnu.org/67586>. * gnu/packages/base.scm (glibc-locales/hurd): Wrap in ‘hidden-package’. Change-Id: If4f4aa1ef66c53ee0bb52eaea533241652e48cca Reported-by: Nils Landt <nils@landt.email> Change-Id: I5150f13be9c3b23e7abe408f815c56f498c92ecb
2023-12-02gnu: Add ‘libc-locales-for-target’ and related.Janneke Nieuwenhuizen
Partly fixes <https://issues.guix.gnu.org/66472>. This is a followup to 95ea1277ae2ebd278bdb51a7887f5ba1116fbc64. * gnu/packages/base.scm (glibc-locales/hurd): New variable (libc-locales-for-target): Use it in new procedure. (libc-utf8-locales-for-target): New procedure. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Change-Id: I16e187fcc65a5d4a3b065066b45ef9e45d1875f6
2023-11-25gnu: commencement: Use locales for the right libc version on GNU/Hurd.Ludovic Courtès
Fixes <https://issues.guix.gnu.org/66472>. Until now, we were unconditionally using ‘glibc-utf8-locales’, which targets the glibc version used on Linux (2.35) rather than that used on the Hurd (2.37). This would lead to build failures due to the inability to use locale encoding when targeting i586-gnu. * gnu/packages/base.scm (glibc-utf8-locales/hurd): New variable. * gnu/packages/commencement.scm (glibc-utf8-locales-final/hurd): New variable. (%boot5-inputs): Use it when ‘target-hurd?’ returns #t. (%final-inputs): Likewise. Change-Id: I1666d615dffbe3561cf2d9612b85cd31a48a7dcd
2023-10-12gnu: glibc: Fix CVE-2023-4911.Liliana Marie Prikler
* gnu/packages/patches/glibc-2.35-CVE-2023-4911.patch: New file. * gnu/local.mk: Register it here. * gnu/packages/base.scm (glibc/fixed): New variable. (glibc): Use it as replacement.
2023-10-01gnu: glibc-utf8-locales: Reintroduce input labels.Ludovic Courtès
Since 2f73ea3487b3bf6eb055c08aae7c53713d61a4d7, ‘make-glibc-utf8-locales’ couldn’t be passed a package with a name other than “glibc” (in particular “glibc-hurd”) since the builder expects the name “glibc” in ‘%build-inputs’. * gnu/packages/base.scm (make-glibc-utf8-locales): Reintroduce labels in ‘native-inputs’.
2023-09-17gnu: Remove extraneous imports.Maxim Cournoyer
Found by running 'guild compile -W3 gnu/packages/$module.scm', using guild from the upcoming Guile. * gnu/packages/admin.scm: Remove extraneous imports. * gnu/packages/avr.scm: Likewise. * gnu/packages/base.scm: Likewise. * gnu/packages/bootloaders.scm: Likewise. * gnu/packages/firmware.scm: Likewise. * gnu/packages/linphone.scm: Likewise. * gnu/packages/telephony.scm: Likewise. * gnu/packages/cran.scm: Likewise. * gnu/packages/kde.scm: Likewise. * gnu/packages/libcanberra.scm: Likewise. * gnu/packages/libreoffice.scm: Likewise. * gnu/packages/mes.scm: Likewise. * gnu/packages/mingw.scm: Likewise. * gnu/packages/serialization.scm: Likewise. * gnu/packages/sync.scm: Likewise. * gnu/packages/syncthing.scm: Likewise. * gnu/packages/terminals.scm: Likewise. * gnu/packages/version-control.scm: Likewise. * gnu/packages/video.scm: Likewise. * gnu/packages/wm.scm: Likewise. * gnu/packages/emulators.scm: Likewise. Reviewed-by: Ludovic Courtès <ludo@gnu.org>
2023-09-14gnu: glibc/hurd: Add unsubmitted getauxval patch from upstream.Janneke Nieuwenhuizen
This support building of gdk-pixbuf, gobject-introspection. * gnu/packages/patches/glibc-hurd-getauxval.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/base.scm (glibc/hurd)[source]: Use it.
2023-08-25gnu: gcc-toolchain: Add empty librt.a.Josselin Poiret
* gnu/packages/commencememnt.scm (make-gcc-toolchain): Add empty librt.a. * gnu/packages/base.scm (gcc): Add a warning regarding the missing librt.a.
2023-08-18gnu: commencement: Use system in %final-inputs.Christopher Baines
Otherwise this causes odd issues, I presume arising from when %current-system differs from the system argument passed to %final-inputs. * gnu/packages/commencement.scm (%final-inputs): Set %current-system to system. * gnu/packages/base.scm (%final-inputs): Add optional system parameter. * gnu/ci.scm (base-packages): New procedure to memoize the base packages depending on system. (package->job): Pass system to base-packages. Co-authored-by: Josselin Poiret <dev@jpoiret.xyz> Signed-off-by: Josselin Poiret <dev@jpoiret.xyz> Signed-off-by: Ludovic Courtès <ludo@gnu.org>