summaryrefslogtreecommitdiff
path: root/gnu
Commit message (Collapse)AuthorAge
* tests: Adjust to SRFI-64 as found in Guile 3.0.7.Ludovic Courtès2021-09-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Guile 3.0.7, 'test-runner-current' is set to #f upon 'test-end'. Consequently, the previous strategy, where we'd call 'test-runner-current' after 'test-end', no longer works. Instead, set the test runner in each test right before 'test-begin'. * gnu/build/marionette.scm (system-test-runner): New procedure. * gnu/tests/audio.scm (run-mpd-test): Replace (exit (= ...)) idiom by (test-runner-current (system-test-runner)). * gnu/tests/base.scm (run-basic-test) (run-cleanup-test, run-mcron-test, run-nss-mdns-test): Likewise. * gnu/tests/ci.scm (run-laminar-test): Likewise. * gnu/tests/cups.scm (run-cups-test): Likewise. * gnu/tests/databases.scm (run-memcached-test) (run-postgresql-test, run-mysql-test): Likewise. * gnu/tests/desktop.scm (run-elogind-test): Likewise. * gnu/tests/dict.scm (run-dicod-test): Likewise. * gnu/tests/docker.scm (run-docker-test): Likewise. (run-docker-system-test): Likewise. * gnu/tests/file-sharing.scm (run-transmission-daemon-test): Likewise. * gnu/tests/ganeti.scm (run-ganeti-test): Likewise. * gnu/tests/guix.scm (run-guix-build-coordinator-test): Likewise. (run-guix-data-service-test): Likewise. * gnu/tests/ldap.scm (run-ldap-test): Likewise. * gnu/tests/linux-modules.scm (run-loadable-kernel-modules-test-base): Likewise. * gnu/tests/mail.scm (run-opensmtpd-test) (run-exim-test, run-dovecot-test, run-getmail-test): Likewise. * gnu/tests/messaging.scm (run-xmpp-test) (run-bitlbee-test, run-quassel-test): Likewise. * gnu/tests/monitoring.scm (run-prometheus-node-exporter-server-test) (run-zabbix-server-test): Likewise. * gnu/tests/networking.scm (run-inetd-test, run-openvswitch-test) (run-dhcpd-test, run-tor-test, run-iptables-test, run-ipfs-test): Likewise. * gnu/tests/nfs.scm (run-nfs-test) (run-nfs-server-test, run-nfs-root-fs-test): Likewise. * gnu/tests/package-management.scm (run-nix-test): Likewise. * gnu/tests/reconfigure.scm (run-switch-to-system-test) (run-upgrade-services-test, run-install-bootloader-test): Likewise. * gnu/tests/rsync.scm (run-rsync-test): Likewise. * gnu/tests/security-token.scm (run-pcscd-test): Likewise. * gnu/tests/singularity.scm (run-singularity-test): Likewise. * gnu/tests/ssh.scm (run-ssh-test): Likewise. * gnu/tests/telephony.scm (run-jami-test): Likewise. * gnu/tests/version-control.scm (run-cgit-test): Likewise. (run-git-http-test, run-gitolite-test, run-gitile-test): Likewise. * gnu/tests/virtualization.scm (run-libvirt-test, run-childhurd-test): Likewise. * gnu/tests/web.scm (run-webserver-test, run-php-fpm-test) (run-hpcguix-web-server-test, run-tailon-test, run-patchwork-test): Likewise.
* gnu: emacs-geiser-guile: Depend on Guile 3.0.Ludovic Courtès2021-09-24
| | | | * gnu/packages/emacs-xyz.scm (emacs-geiser-guile)[inputs]: Depend on GUILE-3.0.
* gnu: guile@2.2: Build with '-fexcess-precision=standard' on i686.Ludovic Courtès2021-09-24
| | | | | * gnu/packages/guile.scm (guile-2.2)[arguments]: New field. (guile-3.0)[arguments]: Inherit arguments from GUILE-2.0 instead of GUILE-2.2
* gnu: glib: Actually skip tests that fail on i686.Ludovic Courtès2021-09-22
| | | | | | * gnu/packages/glib.scm (glib)[arguments]: In 'disable-failing-tests' phase, when 'target-x86-32?' returns true, skip several tests in timer.c.
* installer: keymap: Fix optional fields handling.Mathieu Othacehe2021-09-21
| | | | | | | | | | | Fixes: <https://issues.guix.gnu.org/50723>. The keymap xml contains optional shortDescription and description fields. The assoc-ref call on those fields can return false, handle it correctly. * gnu/installer/keymap.scm (xkb-rules->models+layouts): Introduce a new "maybe-empty" helper to deal with optional fields. Use it for shortDescription and description fields.
* gnu: 4dtris: Fix build.Felix Gruber2021-09-21
| | | | | | | * gnu/packages/games.scm (4dtris)[attributes]: Add -fcommon to CFLAGS and use search-input-directory to find SDL include path. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* gnu: cmake: Skip CPack TXZ test on i686.Ludovic Courtès2021-09-21
| | | | | | | | Fixes <https://issues.guix.gnu.org/50617>. * gnu/packages/cmake.scm (%common-build-phases): Turn into a procedure and adjust users. When 'target-x86-32?' returns true, add 'skip-cpack-txz-test'.
* gnu: icedtea-7: Use pem certificates.Mathieu Othacehe2021-09-21
| | | | | | | This is a follow-up of: 287a8c90484c76336e0c0457960e4b2ebf4d2b16. * gnu/packages/java.scm (icedtea-7)[arguments]{install-keystore}: Use pem certificates.
* gnu: nss-certs: Copy pem files.Mathieu Othacehe2021-09-21
| | | | | * gnu/packages/certs.scm (nss-certs)[arguments]<#:phases>{install}: Copy pem files instead of crt files.
* gnu: certdata2pem: Produce pem files.Mathieu Othacehe2021-09-21
| | | | | | | Create files with pem extension instead of crt. * gnu/packages/certs.scm (certdata2pem)[arguments]<#:phases>{fix-extension}: New phase.
* gnu: at-spi2-atk: Don't compile tests when cross-compiling.Maxime Devos2021-09-20
| | | | | | * gnu/packages/gtk.scm (at-spi2-atk)[arguments]<#:configure-flags>: Set tests=false when cross-compiling.
* gnu: pango: Add bash-minimal input when cross-compiling.Maxime Devos2021-09-20
| | | | | * gnu/packages/gtk.scm (pango)[inputs]: Add "bash-minimal" when cross-compiling.
* gnu: gdk-pixbuf: Add bash-minimal input when cross-compiling.Maxime Devos2021-09-20
| | | | | * gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Add "bash-minimal" when cross-compiling.
* gnu: gdk-pixbuf: Find docbook when cross-compiling.Maxime Devos2021-09-20
| | | | | | * gnu/packages/gtk.scm (gdk-pixbuf)[arguments]<#:phases>{patch-docbook}: Look for docbook in 'native-inputs' instead of 'inputs' when cross-compiling.
* gnu: libproxy: Don't run tests when cross-compiling.Maxime Devos2021-09-20
| | | | | | * gnu/packages/networking.scm (libproxy)[arguments]]<#:phases>{check}: Respect #:tests? when cross-compiling.
* gnu: wayland: Find docbook-xml when cross-compiling.Maxime Devos2021-09-20
| | | | | | * gnu/packages/freedesktop.scm (wayland)[arguments]<#:phases>{patchdocbook-xml}: Look in 'native-inputs' instead of 'inputs' when cross-compiling.
* gnu: wayland: Find wayland-scanner when cross-compiling.Maxime Devos2021-09-20
| | | | | * gnu/packages/freedesktop.scm (wayland)[native-inputs]: Add pkg-config-for-build and 'this-package' when cross-compiling.
* gnu: Add pkg-config-for-build.Maxime Devos2021-09-20
| | | | * gnu/packages/pkg-config.scm (pkg-config-for-build): New variable.
* gnu: libxxf85vm: Add --disable-malloc0-returnsnull when necessary.Maxime Devos2021-09-20
| | | | | * gnu/packages/xorg.scm (libxxf86vm)[arguments]<#:configure-flags>: Add malloc0-flags.
* gnu: libxrandr: Add --disable-malloc0-returnsnull when necessary.Maxime Devos2021-09-20
| | | | | * gnu/packages/xorg.scm (libxrandr)[arguments]<#:configure-flags>: Add malloc0-flags.
* gnu: libxi: Add --disable-malloc0-returnsnull when necessary.Maxime Devos2021-09-20
| | | | | * gnu/packages/xorg.scm (libxi)[arguments]<#:configure-flags>: Add malloc0-flags.
* gnu: libxinerama: Add --disable-malloc0-returnsnull when necessary.Maxime Devos2021-09-20
| | | | | * gnu/packages/xorg.scm (libxinerama)[arguments]<#:configure-flags>: Add malloc0-flags.
* gnu: xorg: Unify --disable-malloc0-returnsnull code.Maxime Devos2021-09-20
| | | | | | | | | The idea is to keep the comments in one place, instead of copying them over and over. It's also documented more now. * gnu/packages/xorg.scm (malloc0-flags): New procedure. (libxext,libxrender,libx11,libxt): Use new procedures.
* gnu: at-spi2-core: Add missing "bash-minimal" input.Maxime Devos2021-09-20
| | | | | * gnu/packages/gtk.scm (at-spi2-core)[inputs]: Add "bash-minimal" when cross-compiling.
* gnu: at-spi2-core: Find docbook when cross-compiling.Maxime Devos2021-09-20
| | | | | | * gnu/packages/gtk.scm (at-spi2-core)[arguments]<#:phases>{patch-docbook-sgml}: Look up "docbook-sxml" in 'native-inputs' instead of 'inputs' when cross-compiling.
* gnu: at-spi2-core: Don't cross-compile documentation.Maxime Devos2021-09-20
| | | | | | | | * gnu/packages/gtk.scm (at-spi2-core)[arguments]<#:configure-flags>: Set docs=false when cross-compiling. (at-spi2-core)[arguments]<#:phases>{move-documentation}: Remove when cross-compiling.
* gnu: avahi: Use the cross-compiled bash.Maxime Devos2021-09-20
| | | | | * gnu/packages/avahi.scm (avahi)[arguments]<#:phases>{patch-more-shebangs}: Replace the bash in the shebangs in "/etc/avahi" with a cross-compiled bash.
* gnu: avahi: Find 'TARGET-pkg-config' when cross-compiling.Maxime Devos2021-09-20
| | | | | | | | The configure script first tests whether "pkg-config" is in PATH, and then uses "TARGET-pkg-config". Pretend "pkg-config" exists. * gnu/packages/avahi.scm (avah)[arguments]<#:configure-flags>: Set ac_cv_prog_have_pkg_config=yes when cross-compiling.
* gnu: libdaemon: Support cross-compilation to aarch64-linux-gnu.Maxime Devos2021-09-20
| | | | | | | | * gnu/packages/libdaemon.scm (libdaemon)[native-inputs]: Add "config" when cross-compiling for aarch64. (libdaemon)[arguments]<#:phases>{update-config.sub}: When cross-compiling for aarch64, update the "config.sub" script.
* gnu: libthai: Add datrie as native-input when cross-compiling.Maxime Devos2021-09-20
| | | | | | | This allows the cross-build to succeed. * gnu/packages/gnome.scm (libthai)[native-inputs]: Add "datrie" when cross-compiling.
* gnu: json-glib: Don't build introspection data when cross-compiling.Maxime Devos2021-09-20
| | | | | | * gnu/packages/gnome.scm (json-glib)[arguments]<#:configure-flags>: Set introspection=false when cross-compiling.
* gnu: json-glib: Don't build gtk documentation when cross-compiling.Maxime Devos2021-09-20
| | | | | | | | | | * gnu/packages/gnome.scm (json-glib)[arguments]<#:configue-flags>: Set gtk_doc=disables when cross-compiling. (json-glib)[arguments]<#:phases>{move-docs}: Don't run when cross-compiling ... (json-glib)[arguments]<#:phases>{stub-docs}: ... instead, create an empty directory where the documentation would be.
* gnu: json-glib: Find docbook inputs when cross-compiling.Maxime Devos2021-09-20
| | | | | | * gnu/packages/gnome.scm (json-glib)[arguments]<#:phases>{patch-docbook}: Look up "docbook-xml" in 'native-inputs', not 'inputs', when cross-compiling.
* gnu: json-glib: Add missing 'bash-minimal' input.Maxime Devos2021-09-20
| | | | | * gnu/packages/gnome.scm (json-glib)[inputs]: Add "bash-minimal" when cross-compiling (for wrapper scripts).
* gnu: heimdal: Use libcom_err from input when cross-compiling.Maxime Devos2021-09-20
| | | | | | * gnu/packages/kerberos.scm (heimdal)[arguments]<#:phases>{pre-configure}: Consider ${krb_cv_com_err} to be 'yes' when cross-compiling.
* gnu: heimdal: Find tools when cross-compiling.Maxime Devos2021-09-20
| | | | | | | * gnu/packages/kerberos.scm (heimdal)[arguments]<#:configure-flags>: Set --with-cross-tools. (heimdal)[arguments]<#:phases>{pre-configure}: Override ac_cv_PROG_COMPILE_ET.
* gnu: heimdal: Use the cross-compiled bash in "su".Maxime Devos2021-09-20
| | | | | | * gnu/packages/kerberos.scm (heimdal)[arguments]<#:phases>{pre-configure}: Replace _PATH_BSHELL with the cross-compiled bin/sh when cross-compiling.
* gnu: heimdal: Refer to cross-compiled bash.Maxime Devos2021-09-20
| | | | | | | * gnu/packages/kerberos.scm (heimdal)[arguments]<#:phases>{pre-configure}: Let "appl/afsutil/pagsh.c" refer to the cross-compiled bash instead of the native bash when cross-compiling.
* gnu: heimdal: Fix linking error when cross-compiling.Maxime Devos2021-09-20
| | | | | * gnu/packages/kerberos.scm (heimdal)[arguments]<#:configure-flags>: Set ac_cv_func_getpwnam_r_posix=yes when cross-compiling.
* gnu: heimdal: Fix inputs when cross-compiling.Maxime Devos2021-09-20
| | | | | | * gnu/packages/kerberos.scm (heimdal)[inputs]: Add "bash-minimal" when cross-compiling. (heimdal)[native-inputs]: Add 'perl' when cross-compiling.
* gnu: iso-codes: Move inputs to native-inputs when cross-compiling.Maxime Devos2021-09-20
| | | | | | * gnu/packages/iso-codes.scm (iso-codes)[inputs]: Move "gettext", "perl" and "python" to ... (iso-codes)[native-inputs]: ... here when cross-compiling.
* gnu: gamin: Fix 'configure' script when cross-compiling.Maxime Devos2021-09-20
| | | | | | * gnu/packages/gnome.scm (gamin)[arguments]<#:phases>{set-have-abstract-sockets}: Override test for ‘abstract sockets’ when cross-compiling.
* gnu: gamin: Recognise aarch64 as architecture when cross-compiling.Maxime Devos2021-09-20
| | | | | | | * gnu/packages/gnome.scm (gamin)[arguments]<#:phases>{replace-config.sub}: Update 'config.sub' when cross-compiling. (gamin)[native-inputs]: Add "config" when cross-compiling.
* gnu: graphene: Don't build introspection data when cross-compiling.Maxime Devos2021-09-20
| | | | | * gnu/packages/gtk.scm (graphene)[arguments]<#:configure-flags>: Set introspection=false when cross-compiling.
* gnu: bdb: Fix cross-compilation build errors.Maxime Devos2021-09-20
| | | | | | * gnu/packages/dbm.scm (bdb-4.8)[arguments]<#:phases>{update-config.sub}: Update 'config.sub' when cross-compiling for 'powerpc64le' or 'aarch64'.
* gnu: atk: Disable introspection when cross-compiling.Maxime Devos2021-09-20
| | | | | | * gnu/packages/gtk.scm (atk)[arguments]<#:configure-flags>: Set -Dintrospection=false when cross-compiling.
* gobject-introspection: Correct library name when cross-compiling.Maxime Devos2021-09-20
| | | | | | | * gnu/packages/glib.scm (python-extension-suffix, correct-library-name-phase): New procedures. (gobject-introspection)[arguments]<#:phases>{rename-library}: New phase, correct the name of the python extension when cross-compiling.
* gobject-introspection: Fix inputs when cross-compiling.Maxime Devos2021-09-20
| | | | | | | | * gnu/packages/glib.scm (gobject-introspection)[native-inputs]: Add 'bison' and 'flex' when cross-compiling. (gobject-introspection)[inputs]: Use 'python' instead of 'python-wrapper' when cross-compiling. Remove 'bison', 'flex' when cross-compiling.
* gnu: gobject-introspection: Don't build introspection data when cross-compiling.Maxime Devos2021-09-20
| | | | | | | | * gnu/packages/glib.scm (gobject-introspection)[arguments]<#:configure-flags>: Set gi_cross_use_prebuilt_gi to 'true'. (gobject-introspection)[arguments]<#:phases>{set-typelibs}: New phase, avoid undefined variable in "meson.build".
* gnu: polkit: Prevent cross-compilation build error.Maxime Devos2021-09-20
| | | | | | | | Alternative ‘os types’ include RedHat and Gentoo, which don't seem applicable. * gnu/packages/polkit.scm (polkit)[arguments]<#:configure-flags>: Set "--with-os-type" to "unknown".