summaryrefslogtreecommitdiff
path: root/gnu/packages
AgeCommit message (Collapse)Author
2021-09-27gnu: gusb: Don't build introspection data when cross-compiling.Maxime Devos
This fixes a configure error when cross-compiling and doesn't cause any rebuilds. * gnu/packages/gnome.scm (gusb)[arguments]<#:configure-flags>: Set 'introspection' and 'vapi' to false. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-09-27gnu: libxvmc: Pass --disable-malloc0returnsnull when cross-compiling.Maxime Devos
This fixes a configure error when cross-compiling and doesn't cause any rebuilds. * gnu/packages/xorg.scm (libxvmc)[arguments]<#:configure-flags>: Add malloc0flags. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-09-27gnu: libxv: Pass --disable-malloc0returnsnull when cross-compiling.Maxime Devos
This fixes a configure error when cross-compiling and doesn't cause any rebuilds. * gnu/packages/xorg.scm (libxv)[arguments]<#:configure-flags>: Add malloc0flags. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-09-27gnu: xev: Pass --disable-malloc0returnsnull when cross-compiling.Maxime Devos
This fixes a configure error when cross-compiling and doesn't cause any rebuilds. * gnu/packages/xorg.scm (xev)[arguments]<#:configure-flags>: Add malloc0flags. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-09-27gnu: llvm: Let it cross-compile.Maxime Devos
The derivation when compiling natively remains the same, so this doesn't cause any rebuilds. * gnu/packages/llvm.scm (llvm-12)[arguments]<#:configure-flags>: Set LLVM_TABLEGEN, LLVM_DEFAULT_TARGET_TRIPLE, LLVM_TARGET_ARCH and LLVM_TARGETS_TO_BUILD when cross-compiling. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-09-27gnu: pkg-config: Fix typo in search paths.Maxime Devos
* gnu/packages/pkg-config.scm (pkg-config-for-build)[native-search-paths]: Use "PKG_CONFIG_PATH_FOR_BUILD" instead of "PKG_CONFIG_PATH". Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-09-27gnu: python-graphql-relay: Enable tests.Efraim Flashner
* gnu/packages/python-xyz.scm (python-graphql-relay)[arguments]: Use custom 'check phase. [native-inputs]: Add python-pytest, python-pytest-asyncio.
2021-09-27gnu: python-graphql-relay: Update to 3.1.0.Efraim Flashner
* gnu/packages/python-xyz.scm (python-graphql-relay): Update to 3.1.0. [propagated-inputs]: Remove python-promise and python-six.
2021-09-25gnu: texlive: Remove remaining uses of deprecated packages.Ludovic Courtès
This is a followup to b949f34f31a045eb0fb242b81a223178fb6994d3 and 7269f0c1b2411c8fbe014b32cea0ce5f8621c67b. * gnu/packages/tex.scm (texlive-hyperref)[propagated-inputs]: Use TEXLIVE-URL instead of TEXLIVE-LATEX-URL. (texlive-pdftex)[propagated-inputs]: Use TEXLIVE-KNUTH-LIB instead of TEXLIVE-FONTS-KNUTH-LIB. (texlive-context)[propagated-inputs]: Use TEXLIVE-STMARYRD instead of TEXLIVE-FONTS-STMARYRD.
2021-09-24gnu: emacs-geiser-guile: Depend on Guile 3.0.Ludovic Courtès
* gnu/packages/emacs-xyz.scm (emacs-geiser-guile)[inputs]: Depend on GUILE-3.0.
2021-09-24gnu: guile@2.2: Build with '-fexcess-precision=standard' on i686.Ludovic Courtès
* 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
2021-09-22gnu: glib: Actually skip tests that fail on i686.Ludovic Courtès
* gnu/packages/glib.scm (glib)[arguments]: In 'disable-failing-tests' phase, when 'target-x86-32?' returns true, skip several tests in timer.c.
2021-09-21gnu: 4dtris: Fix build.Felix Gruber
* 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>
2021-09-21gnu: cmake: Skip CPack TXZ test on i686.Ludovic Courtès
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'.
2021-09-21gnu: icedtea-7: Use pem certificates.Mathieu Othacehe
This is a follow-up of: 287a8c90484c76336e0c0457960e4b2ebf4d2b16. * gnu/packages/java.scm (icedtea-7)[arguments]{install-keystore}: Use pem certificates.
2021-09-21gnu: nss-certs: Copy pem files.Mathieu Othacehe
* gnu/packages/certs.scm (nss-certs)[arguments]<#:phases>{install}: Copy pem files instead of crt files.
2021-09-21gnu: certdata2pem: Produce pem files.Mathieu Othacehe
Create files with pem extension instead of crt. * gnu/packages/certs.scm (certdata2pem)[arguments]<#:phases>{fix-extension}: New phase.
2021-09-20gnu: at-spi2-atk: Don't compile tests when cross-compiling.Maxime Devos
* gnu/packages/gtk.scm (at-spi2-atk)[arguments]<#:configure-flags>: Set tests=false when cross-compiling.
2021-09-20gnu: pango: Add bash-minimal input when cross-compiling.Maxime Devos
* gnu/packages/gtk.scm (pango)[inputs]: Add "bash-minimal" when cross-compiling.
2021-09-20gnu: gdk-pixbuf: Add bash-minimal input when cross-compiling.Maxime Devos
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Add "bash-minimal" when cross-compiling.
2021-09-20gnu: gdk-pixbuf: Find docbook when cross-compiling.Maxime Devos
* gnu/packages/gtk.scm (gdk-pixbuf)[arguments]<#:phases>{patch-docbook}: Look for docbook in 'native-inputs' instead of 'inputs' when cross-compiling.
2021-09-20gnu: libproxy: Don't run tests when cross-compiling.Maxime Devos
* gnu/packages/networking.scm (libproxy)[arguments]]<#:phases>{check}: Respect #:tests? when cross-compiling.
2021-09-20gnu: wayland: Find docbook-xml when cross-compiling.Maxime Devos
* gnu/packages/freedesktop.scm (wayland)[arguments]<#:phases>{patchdocbook-xml}: Look in 'native-inputs' instead of 'inputs' when cross-compiling.
2021-09-20gnu: wayland: Find wayland-scanner when cross-compiling.Maxime Devos
* gnu/packages/freedesktop.scm (wayland)[native-inputs]: Add pkg-config-for-build and 'this-package' when cross-compiling.
2021-09-20gnu: Add pkg-config-for-build.Maxime Devos
* gnu/packages/pkg-config.scm (pkg-config-for-build): New variable.
2021-09-20gnu: libxxf85vm: Add --disable-malloc0-returnsnull when necessary.Maxime Devos
* gnu/packages/xorg.scm (libxxf86vm)[arguments]<#:configure-flags>: Add malloc0-flags.
2021-09-20gnu: libxrandr: Add --disable-malloc0-returnsnull when necessary.Maxime Devos
* gnu/packages/xorg.scm (libxrandr)[arguments]<#:configure-flags>: Add malloc0-flags.
2021-09-20gnu: libxi: Add --disable-malloc0-returnsnull when necessary.Maxime Devos
* gnu/packages/xorg.scm (libxi)[arguments]<#:configure-flags>: Add malloc0-flags.
2021-09-20gnu: libxinerama: Add --disable-malloc0-returnsnull when necessary.Maxime Devos
* gnu/packages/xorg.scm (libxinerama)[arguments]<#:configure-flags>: Add malloc0-flags.
2021-09-20gnu: xorg: Unify --disable-malloc0-returnsnull code.Maxime Devos
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.
2021-09-20gnu: at-spi2-core: Add missing "bash-minimal" input.Maxime Devos
* gnu/packages/gtk.scm (at-spi2-core)[inputs]: Add "bash-minimal" when cross-compiling.
2021-09-20gnu: at-spi2-core: Find docbook when cross-compiling.Maxime Devos
* 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.
2021-09-20gnu: at-spi2-core: Don't cross-compile documentation.Maxime Devos
* 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.
2021-09-20gnu: avahi: Use the cross-compiled bash.Maxime Devos
* gnu/packages/avahi.scm (avahi)[arguments]<#:phases>{patch-more-shebangs}: Replace the bash in the shebangs in "/etc/avahi" with a cross-compiled bash.
2021-09-20gnu: avahi: Find 'TARGET-pkg-config' when cross-compiling.Maxime Devos
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.
2021-09-20gnu: libdaemon: Support cross-compilation to aarch64-linux-gnu.Maxime Devos
* 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.
2021-09-20gnu: libthai: Add datrie as native-input when cross-compiling.Maxime Devos
This allows the cross-build to succeed. * gnu/packages/gnome.scm (libthai)[native-inputs]: Add "datrie" when cross-compiling.
2021-09-20gnu: json-glib: Don't build introspection data when cross-compiling.Maxime Devos
* gnu/packages/gnome.scm (json-glib)[arguments]<#:configure-flags>: Set introspection=false when cross-compiling.
2021-09-20gnu: json-glib: Don't build gtk documentation when cross-compiling.Maxime Devos
* 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.
2021-09-20gnu: json-glib: Find docbook inputs when cross-compiling.Maxime Devos
* gnu/packages/gnome.scm (json-glib)[arguments]<#:phases>{patch-docbook}: Look up "docbook-xml" in 'native-inputs', not 'inputs', when cross-compiling.
2021-09-20gnu: json-glib: Add missing 'bash-minimal' input.Maxime Devos
* gnu/packages/gnome.scm (json-glib)[inputs]: Add "bash-minimal" when cross-compiling (for wrapper scripts).
2021-09-20gnu: heimdal: Use libcom_err from input when cross-compiling.Maxime Devos
* gnu/packages/kerberos.scm (heimdal)[arguments]<#:phases>{pre-configure}: Consider ${krb_cv_com_err} to be 'yes' when cross-compiling.
2021-09-20gnu: heimdal: Find tools when cross-compiling.Maxime Devos
* gnu/packages/kerberos.scm (heimdal)[arguments]<#:configure-flags>: Set --with-cross-tools. (heimdal)[arguments]<#:phases>{pre-configure}: Override ac_cv_PROG_COMPILE_ET.
2021-09-20gnu: heimdal: Use the cross-compiled bash in "su".Maxime Devos
* gnu/packages/kerberos.scm (heimdal)[arguments]<#:phases>{pre-configure}: Replace _PATH_BSHELL with the cross-compiled bin/sh when cross-compiling.
2021-09-20gnu: heimdal: Refer to cross-compiled bash.Maxime Devos
* 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.
2021-09-20gnu: heimdal: Fix linking error when cross-compiling.Maxime Devos
* gnu/packages/kerberos.scm (heimdal)[arguments]<#:configure-flags>: Set ac_cv_func_getpwnam_r_posix=yes when cross-compiling.
2021-09-20gnu: heimdal: Fix inputs when cross-compiling.Maxime Devos
* gnu/packages/kerberos.scm (heimdal)[inputs]: Add "bash-minimal" when cross-compiling. (heimdal)[native-inputs]: Add 'perl' when cross-compiling.
2021-09-20gnu: iso-codes: Move inputs to native-inputs when cross-compiling.Maxime Devos
* gnu/packages/iso-codes.scm (iso-codes)[inputs]: Move "gettext", "perl" and "python" to ... (iso-codes)[native-inputs]: ... here when cross-compiling.
2021-09-20gnu: gamin: Fix 'configure' script when cross-compiling.Maxime Devos
* gnu/packages/gnome.scm (gamin)[arguments]<#:phases>{set-have-abstract-sockets}: Override test for ‘abstract sockets’ when cross-compiling.
2021-09-20gnu: gamin: Recognise aarch64 as architecture when cross-compiling.Maxime Devos
* gnu/packages/gnome.scm (gamin)[arguments]<#:phases>{replace-config.sub}: Update 'config.sub' when cross-compiling. (gamin)[native-inputs]: Add "config" when cross-compiling.