summaryrefslogtreecommitdiff
path: root/gnu
Commit message (Collapse)AuthorAge
* gnu: ada-ed: Adjust target system.Efraim Flashner2021-07-18
| | | | | | * gnu/packages/ada.scm (ada-ed)[arguments]: Only set the target system when necessary. [supported-systems]: Add powerpc-linux.
* gnu: libogg: Update to 1.3.5.Matthew James Kraai2021-07-15
| | | | | | * gnu/packages/xiph.scm (libogg): Update to 1.3.5. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* libelf: Update configure script and config.guess and config.sub.Maxime Devos2021-07-14
| | | | | | | | | | | | | | | The current configure script is too old to find the cross-compiler and support variables passed as arguments. Also, config.guess and config.sub are too old to recognise powerpc64 and aarch64. Solve this by regenerating the 'configure' script and replacing 'config.guess' and 'config.sub'. * gnu/packages/elf.scm (libelf)[arguments]<#:phases>{configure}: Remove phase. (libelf)[arguments]<#:phases>{delete-configure}: Regenerate the configure script and replace 'config.guess' and 'config.sub'. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* glib: Look up "tzdata" in 'native-inputs', not 'inputs'.Maxime Devos2021-07-14
| | | | | | | | | | | Otherwise, "tzdata" won't be found when cross-compiling and string-append will complain about types. Alternatively, "tzdata" could be moved from 'native-inputs' to 'inputs'. * gnu/packages/glib.scm (glib)[arguments]<#:phases>{pre-check}: Look up "tzdata" in 'native-inputs', not 'inputs'. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* glib: Verify the cross-compiled python is used in installed scripts.Maxime Devos2021-07-14
| | | | | | | * gnu/packages/glib.scm (glib)[arguments]<#:disallowed-references>: Disallow the native python when cross-compiling. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* glib: Use a correct python in scripts when cross-compiling.Maxime Devos2021-07-14
| | | | | | | | | | | | | During the build, a native python should be used as these scripts will be invoked during the build, but when installed, they should be a python for the system we're compiling for. * gnu/packages/glib.scm (glib)[arguments]<#:phases>{patch-python-references}: Look up "python" in 'native-inputs', not 'inputs'. (glib)[inputs]{python,python-wrapper,bash-minimal}: New inputs. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* openssl: Extract logic for computing CONFIGURE_TARGET_ARCH.Maxime Devos2021-07-14
| | | | | | | | | | | By computing this value outside the build code, new targets can be added without causing rebuilds for other targets. * gnu/packages/tls.scm (target->openssl-target): New procedure. (openssl)[arguments]<#:phases>{set-cross-compile}: Use it. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* openssl: Move all man pages to separate output, not only man3.Maxime Devos2021-07-14
| | | | | | | | | | | There does not seem to be any reason to only move man3 pages. So, move all man pages to a separate output for documentation. * gnu/packages/tls.scm (openssl)[arguments]<#:phases>{move-extra-documentation}: Move all man pages, not only man3. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* openssl: Move documentation instead of copying and deleting it.Maxime Devos2021-07-14
| | | | | | | | | * gnu/packages/tls.scm (openssl)[arguments]<#:phases>{move-extra-documentation}: Use 'rename-file' instead of 'copy-recursively' and 'delete-file-recursively'. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* openssl: Use G-exp machinery for referring to outputs.Maxime Devos2021-07-14
| | | | | | | | | | | | This doesn't fix anything broken, just for simplifying the code a little while we're rebuilding the world anyway. IMHO this makes the code a little more readable. * gnu/packages/tls.scm (openssl)[arguments]<#:phases>: Don't refer to the association list 'outputs', use #$output, #$output:doc and #$output:static instead. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* openssl: Make the #:phases argument a G-expression.Maxime Devos2021-07-14
| | | | | | | | | | This allows using this-package-native-input later. * gnu/packages/tls.scm (openssl)[arguments]<#:phases>: Make this a G-expression. (openssl-1.0)[arguments]<#:phases>: Likewise. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* openssl: Remove trailing #t from phases.Maxime Devos2021-07-14
| | | | | | | * gnu/packages/tls.scm (openssl)[arguments]<#:phases>: Delete trailing #t. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* python: Fix reference to input when cross-compiling.Maxime Devos2021-07-14
| | | | | | | | | | "sitecustomize.py" is a native input, so look it up in 'native-inputs', not 'inputs'. * gnu/packages/python.scm (customize-site): Look up "sizecustomize.py" in 'native-inputs', not 'inputs'. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* libgpg-error: Fix cross-compilation error.Maxime Devos2021-07-14
| | | | | | | | | | TODO: inform upstream about the cross-compilation error. * gnu/packages/gnupg.scm (libgpg-error)[arguments]{fix-gen-lock-obj.sh}: Prevent generated header files from being sprinkled with ‘\c’. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* libgpg-error: Prevent silent miscompilation some systems.Maxime Devos2021-07-14
| | | | | | | | | | | * gnu/packages/gpg.scm (libgpgerror)[arguments]<#:phases>{cross-symlinks}: Only link to src/syscfg/lock-obj-pub.linux-gnu.h if the package is being compiled for a Linux target. Do not link either if the architecture is unknown, as the headers vary with the architecture. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* libgpg-error: Remove trailing #f from phases.Maxime Devos2021-07-14
| | | | | | | | | These aren't required anymore. * gnu/packages/gnupg.scm (libgpgerror)[arguments]{cross-symlinks}: Remove trailing #f. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* tzdata: Don't bother with cross-compiling.Maxime Devos2021-07-14
| | | | | | | | | | | | The time zone database is architecture-independent, so trying to cross-compile it is pointless! * gnu/packages/base.scm (tzdata)[arguments]<#:target>: Set to #f. (tzdata)[allowed-references]: Only include the "out" output itself, to make sure no (architecture-dependent) binaries are installed. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* net-base: Don't cross-compile.Maxime Devos2021-07-14
| | | | | | | | | | | net-base is pure data, so cross-compiling is pointless. * gnu/packages/admin.scm (net-base)[arguments]<#:target>: Set to #f. (net-base)[arguments]<#:allowed-references>: Disallow all references. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* utils: Define 'target-hurd?' predicate.Maxime Devos2021-07-14
| | | | | | | | | | | | | | | | | | | | | | | It behaves similarily to the other target-...? procedures. The usage of hurd-triplet? / target-hurd? in libgc appears incorrect to me, as (%current-system) is normally never false. * gnu/packages/hurd.scm (hurd-triplet?): Move to ... * guix/util.scm (target-hurd?): ... here, let its argument default to (%current-target-system) or (%current-system), and write a docstring. * gnu/packages/hurd.scm (hurd-target?, hurd-system?): Use target-hurd? instead of hurd-triplet?. * gnu/packages/bdw-gc.scm (libgc): Likewise. * gnu/packages/cross-base.scm (cross-libc)[arguments]<#:configure-flags>: Likewise. (cross-libc)[arguments]<#:phases>: Likewise. (cross-libc)[arguments]<#:native-inputs>: Likewise. * gnu/packages/make-boostrap.scm (%glibc-stripped)[inputs]: Likewise. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* openssl: Fix indentation.Mathieu Othacehe2021-07-14
| | | | * gnu/packages/tls.scm (openssl): Fix indentation.
* gnu: sdl2: Update to 2.0.14.Vincent Legoll2021-07-13
| | | | | | * gnu/packages/sdl.scm (sdl2): Update to 2.0.14. Signed-off-by: Leo Famulari <leo@famulari.name>
* gnu: openssl: Display configure environment.Efraim Flashner2021-07-13
| | | | | * gnu/packages/tls.scm (openssl)[arguments]: Adjust custom 'configure phase to also show how openssl is configured.
* gnu: openssl: Honor configure-flags.Efraim Flashner2021-07-13
| | | | | * gnu/packages/tls.scm (openssl)[arguments]: Adjust custom 'configure phase to also use configure-flags.
* gnu: fontconfig: Don't build PDFs.Ludovic Courtès2021-07-12
| | | | | * gnu/packages/fontutils.scm (fontconfig-with-documentation)[arguments]: Add 'no-pdf-doc' phase.
* gnu: fontconfig: Use (locally) deterministic cachingSarah Morgensen2021-07-11
| | | | | | | | | | | | Make fontconfig use directory contents rather than modification time to determine cache validity (by pretending that mtime is broken). * gnu/packages/patches/fontconfig-cache-ignore-mtime.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/fontutils.scm (fontconfig)[source]: Use it. [arguments]: Unset SOURCE_DATE_EPOCH for tests. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Change inputs of core packages to plain lists.Ludovic Courtès2021-07-11
| | | | | | | | | | | | | This is transparent: the resulting derivations are unchanged. * gnu/packages/base.scm (grep, sed, tar, patch, diffutils, glibc/hurd-headers) (coreutils, gnu-make, make-glibc-utf8-locales): Change input fields to plain package lists and use 'modify-inputs'. * gnu/packages/guile.scm (guile-1.8, guile-json-1, guile-json-3) (guile-gdbm-ffi, guile-sqlite3, guile-bytestructures) (guile-git, guile-zlib, guile-lzlib, guile-zstd, guile-next): Likewise. * gnu/packages/mes.scm (nyacc-0.86, nyacc-0.99) (nyacc, nyacc-1.00.2, mes-0.19, mes, m2-planet): Likewise.
* ci: Build commencement packages supported on the target system.Ludovic Courtès2021-07-10
| | | | | | | | | This is a followup to df49fe2a13d933c640e3189413c5adfced1103c5. * gnu/ci.scm (%bootstrap-packages): Rename to... (commencement-packages): ... this, and turn into a procedure. Filter packages that pass 'supported-package?'. (cuirass-jobs): Adjust accordingly.
* gnu: python-pyyaml: Fix build.Julien Lepiller2021-07-10
| | | | | | | | | python-cython is required to generate the C source for the libyaml extension, which is required for the `_yaml' module to work. This in turn lets the `sanity-check' phase succeed. * gnu/packages/python-xyz.scm (python-pyyaml)[inputs]: Add python-cython.
* gnu: coreutils: Patch broken Gnulib tests.Ludovic Courtès2021-07-10
| | | | | | | | Fixes <https://bugs.gnu.org/49459>. * gnu/packages/patches/coreutils-gnulib-tests.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/base.scm (coreutils)[source]: Use it.
* ci: Add bootstrap packages to the core subset.Mathieu Othacehe2021-07-09
| | | | | * gnu/ci.scm (%bootstrap-packages): New variable. (cuirass-jobs): Add it to the core subset.
* gnu: kmod: Add zstd support.Brice Waegeneire2021-07-08
| | | | | | | * gnu/packages/linux.scm (kmod)[inputs]: Add zstd:lib. [arguments]: Enable zstd support. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* gnu: kmod: Update to 29.Brice Waegeneire2021-07-08
| | | | | | * gnu/packages/linux.scm (kmod): Update to 29. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* gnu: xkbcomp: Update to 1.4.5.Matthew James Kraai2021-07-08
| | | | | | * gnu/packages/xorg.scm (xkbcomp): Update to 1.4.5. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* gnu: libdatrie: Turn configure flags into a gexp.Ludovic Courtès2021-07-08
| | | | | * gnu/packages/gtk.scm (libdatrie)[arguments]: Turn #:configure-flags into a gexp.
* gnu: libdatrie: Run tests sequentially.Ludovic Courtès2021-07-08
| | | | | | Fixes <https://bugs.gnu.org/49463>. * gnu/packages/gtk.scm (libdatrie)[arguments]: Add #:parallel-tests?.
* gnu: guile: Skip 'test-stack-overflow'.Ludovic Courtès2021-07-08
| | | | | * gnu/packages/guile.scm (guile-3.0)[arguments]: Add 'disable-stack-overflow-test' phase.
* gnu: glibc: Fix cross-compilation to powerpc64le-linux-gnu.Ludovic Courtès2021-07-08
| | | | | | | | | Fixes <https://bugs.gnu.org/49417>. Reported by Maxime Devos <maximedevos@telenet.be>. * gnu/packages/patches/glibc-cross-objcopy.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/base.scm (glibc)[source]: Use it.
* gnu: Disable more LuaJIT components on powerpc64le systems.Chris Marusich2021-07-06
| | | | | | | | | Fixes: <https://bugs.gnu.org/49218>. * gnu/packages/tex.scm (texlive-bin)[#:configure-flags]: Add "--disable-luajithbtex" on powerpc64le systems. (texlive-latex-base)[#:phases][build]: Add "mfluajit" to the disabled-formats list on powerpc64le systems.
* gnu: bc: Don't duplicate bootstrap phase.Efraim Flashner2021-07-06
| | | | | * gnu/packages/algebra.scm (bc)[arguments]: Use custom 'autoconf phase to replace standard 'bootstrap phase.
* gnu: gcc: Fix cross-compilation.Ludovic Courtès2021-07-06
| | | | | | | | | | | | | This fixes cross-compilation of GCC, as in: guix build --target=aarch64-linux-gnu -e '(@ (gnu packages gcc) gcc-10)' * gnu/packages/gcc.scm (gcc-canadian-cross-objdump-snippet): New variable. (gcc-5)[source]: Use it instead of inline 'snippet'. (gcc-8)[source]: Add 'modules' and 'snippet'. (gcc-9)[source]: Likewise. (gcc-10)[source]: Likewise. (gcc-11)[source]: Likewise.
* gnu: bootstrap-tarballs: Turn builder into a gexp.Ludovic Courtès2021-07-05
| | | | | * gnu/packages/make-bootstrap.scm (%bootstrap-tarballs)[arguments]: Turn #:builder into a gexp.
* gnu: bootstrap-tarballs: Fix build.Ludovic Courtès2021-07-05
| | | | | | * gnu/packages/make-bootstrap.scm (%bootstrap-tarballs)[arguments]: Make 'use-modules' the first expression. Failing that, 'match' would not be properly expanded when running on Guile 3.0.
* gnu: texlive: Fix Texinfo markup in descriptions.Ludovic Courtès2021-07-05
| | | | | | | * gnu/packages/tex.scm (texlive-latex-atveryend)[description]: Fix Texinfo markup. (texlive-generic-etexcmds)[description]: Likewise. (texlive-generic-kvdefinekeys)[description]: Likewise.
* ci: Change "core" subset to include the latest GCC and Guile.Ludovic Courtès2021-07-05
| | | | | * gnu/ci.scm (%core-packages): Replace GCC-7 by GCC-11 and GUILE-2.0 by GUILE-3.0.
* gnu: custom-gcc: Update regex for removing executables.Sarah Morgensen2021-07-05
| | | | | | | | | | Do not match "gccgo". Match "gcov-dump" and "gcov-tool", as well as "lto-dump" (which was introduced in GCC 10). * gnu/packages/gcc.scm (custom-gcc)[arguments]: Update regex used for matching broken or conflicting executables. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: bison-boot0: Replace 'posix_spawn' on non-x86 platforms.Ludovic Courtès2021-07-05
| | | | | * gnu/packages/commencement.scm (bison-boot0)[arguments]: Pass #:configure-flags on non-x86 platforms.
* gnu: glibc: Fix cross-compilation to aarch64-linux-gnu.Ludovic Courtès2021-07-04
| | | | | | | | | | | | | | | | | | | | Fixes <https://bugs.gnu.org/49113>. Reported by Maxime Devos <maximedevos@telenet.be>. Previously, the cross-compiled libc.so linker script would read: OUTPUT_FORMAT(elf64-little) instead of: OUTPUT_FORMAT(elf64-littleaarch64) This is because glibc 2.33 runs "objdump -f" instead of "aarch64-linux-gnu-objdump -f" to determine the output format. * gnu/packages/patches/glibc-cross-objdump.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/base.scm (glibc)[source]: Use it.
* gnu: glib-networking: Disable openssl support.Raghav Gururajan2021-07-03
| | | | | | | | Revert openssl support enabled in a1dd57ce83de42b115392816606e810d13864e41, as GnuTLS is preferred over OpenSSL in Guix. * gnu/packages/gnome.scm (glib-networking)[arguments](openssl): Remove flag. [inputs]: Remove openssl.
* gnu: make-boot0: Build with "--disable-posix-spawn".Ludovic Courtès2021-07-04
| | | | | | | Fixes <https://bugs.gnu.org/49367>. * gnu/packages/commencement.scm (gnu-make-boot0)[arguments]: Pass "--disable-posix-spawn" on non-x86.
* gnu: libxkbcommon: Update to 1.3.0.Brice Waegeneire2021-07-03
| | | | * gnu/packages/xdisorg.scm (libxkbcommon): Update to 1.3.0.