summaryrefslogtreecommitdiff
path: root/gnu
Commit message (Collapse)AuthorAge
...
* 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".
* gnu: dbus-cairo: Add missing bash-minimal input.Maxime Devos2021-09-20
| | | | | | | | If absent, this causes the 'glib-or-gtk-wrap' phase to fail. * gnu/packages/glib.scm (cairo)[inputs]: Add "bash-minimal", but only when cross-compiling to avoid a world-rebuild.
* gnu: poppler: Find pkg-config when cross-compiling.Maxime Devos2021-09-20
| | | | | * gnu/packages/pdf.scm (poppler)[arguments]<#:phases>{set-PKG_CONFIG}: New phase.
* gnu: mozjs-60: Fix cross-compilation build errors.Maxime Devos2021-09-20
| | | | | | | | | | | | Presumably the other versions of mozjs need some changes as well, but for now only fix mozjs@60, which is a dependency of polkit. * gnu/packages/gnuzilla.scm (mozjs-60)[arguments]<#:configure-flags>: Set --with-nspr-prefix and set --host and --target inappropriately when cross-compiling. (mozjs-60)[arguments]<#:phases>{set-PKG_CONFIG}: New phase when cross-compiling.
* gnu: nspr: Don't retain references to native inputs.Maxime Devos2021-09-20
| | | | | | | * gnu/packages/nss.scm (nspr)[inputs]: Add 'perl' and 'bash-minimal' when cross-compiling. (nspr)[arguments]{#:disallowed-references}: Add native 'perl' when cross-compiling.
* gnu: nspr: Adjust to Mozilla cross-compilation conventions.Maxime Devos2021-09-20
| | | | | | * gnu/packages/nss.scm (nspr)[arguments]<#:configure-flags>: Set --host and --target inappropriately when cross-compiling.
* gnu: perl: Find 'bash' when cross-compiling.Maxime Devos2021-09-20
| | | | | | | | * gnu/packages/perl.scm (perl)[arguments]<#:phases>{unpack-cross}: Search for "bash" with 'search-input-file' instead of 'assoc-ref'. (perl)[arguments]<#:phases>{configure}: Search for "bash-minimal" instead of "bash".
* gnu: libcap: Fix cross-compilation build failures.Maxime Devos2021-09-20
| | | | | | | | * gnu/packages/linux.scm (libcap)[arguments]<#:phases>{configure}: Don't use non-existent '%output' when cross-compiling. (libcap)[arguments]<#:make-flags>: Set "CROSS_COMPILE" and "BUILD_CC" when cross-compiling.
* gnu: elogind: Fix cross-compilation.Maxime Devos2021-09-20
| | | | | | | | %build-inputs and friends don't exist when cross-compiling, so use some G-expology instead. * gnu/packages/freedesktop.scm (elogind)[arguments]<#:configure-flags>: Don't use '%outputs' or '%build-inputs' when cross-compiling.
* gnu: elogind: Make #:configure-flags a G-exp.Maxime Devos2021-09-20
| | | | | * gnu/packages/freedesktop.scm (elogind)[arguments]{configure-flags}: Let this be a G-exp.
* gnu: dbus-glib: Support cross-compilation.Maxime Devos2021-09-20
| | | | | | | | | This allows cross-compilation to succeed when not using QEMU's transparent emulation, and the cross-compilation is not a pointless cross-compilation like x86_64 -> i686. * gnu/packages/glib.scm (dbus-glib)[arguments]: Set --with-dbus-binding-tool to a native version of "dbus-binding-tool" when cross-compiling.
* gnu: acpica: Update to 20210730.Mathieu Othacehe2021-09-20
| | | | | * gnu/packages/admin.scm (acpica): Update to 20210730. [source]: Fix uri field.
* gnu: grub: Strip debug symbols.Mathieu Othacehe2021-09-20
| | | | | | | | | | This is a follow-up of 71aa29911cf3f4e6db5f9bff9237308b5f93283d. Grub does not support modules stripped with --strip-unneeded but supports the --strip-debug option. * gnu/packages/bootloaders.scm (grub)[arguments]<#:strip-binaries>: Set to true and use ... <#:strip-flags>: ... to pass --strip-debug instead of --strip-unneeded.
* gnu: gtk+: Fix testsuite failure on non-x86_64 platforms.Thiago Jung Bauermann2021-09-19
| | | | | | | | | | | | | | | On non-x86_64 platforms, gtk+ is linked with a gdk-pixbuf version that doesn’t support SVG. This causes the ‘icontheme’ test to fail because it tries to fetch SVG icons in some of the tests. Therefore, we need to disable the test when SVG support isn’t available. * gnu/packages/gtk.scm (gtk+)[propagated-inputs]: Use the ‘target-x86-64?’ convenience function. [arguments]<#:phases>{disable-failing-tests}: Disable ‘icontheme’ test on non-x86_64 platforms. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* gnu: fbida: Fix build.Mathieu Othacehe2021-09-19
| | | | | * gnu/packages/pdf.scm (fbida)[arguments]<#:phases>: Add a 'set-fcommon phase. Also wrap some lines and remove an empty one.
* gnu: newsboat: Fix build.Efraim Flashner2021-09-19
| | | | | | * gnu/packages/syndication.scm (newsboat)[arguments]: Move the prefix declaration to the 'patch-source phase. Adjust other phases so they actually build.
* gnu: grub: Do not strip modules.Mathieu Othacehe2021-09-19
| | | | | * gnu/packages/bootloaders.scm (grub)[arguments]<#:strip-binaries>: Set to false to prevent Grub modules stripping.
* gnu: python-ipython: Update to 7.27.0.Guillaume Le Vaillant2021-09-18
| | | | | | * gnu/packages/python-xyz.scm (python-ipython): Update to 7.27.0. [inputs]: Add matplotlib-inline. [arguments]: Update 'fix-tests' phase to disable "pylabtools" test.
* gnu: Add python-matplotlib-inline.Guillaume Le Vaillant2021-09-18
| | | | * gnu/packages/python-xyz.scm (python-matplotlib-inline): New variable.
* gnu: mpg321: Fix compiling with gcc 10.Guillaume Le Vaillant2021-09-18
| | | | | | * gnu/packages/patches/mpg321-gcc-10.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/mp3.scm (mpg321)[source]: Use it.
* gnu: q5go: Fix build.Guillaume Le Vaillant2021-09-18
| | | | * gnu/packages/games.scm (q5go)[arguments]: Add 'fix-header' phase.
* gnu: aircrack-ng: Fix build.Guillaume Le Vaillant2021-09-18
| | | | | * gnu/packages/networking.scm (aircrack-ng)[arguments]: Add '-fcommon' to CFLAGS.
* gnu: pdf2djvu: Update to 0.9.18.Guillaume Le Vaillant2021-09-18
| | | | | * gnu/packages/djvu.scm (pdf2djvu): Update to 0.9.18. [arguments]: Add 'set-home-for-tests' phase.
* gnu: ruby-sass: Fix build.Mathieu Othacehe2021-09-18
| | | | * gnu/packages/ruby.scm (ruby-sass)[native-inputs]: Add ruby-cmath.
* gnu: Add ruby-cmath.Mathieu Othacehe2021-09-18
| | | | * gnu/packages/ruby.scm (ruby-cmath): New variable.
* gnu: rygel: Update to 0.40.1.Mathieu Othacehe2021-09-18
| | | | | | | | | * gnu/packages/gnome.scm (rygel): Update to 0.40.1. [build-system]: Switch to meson. [arguments]<#:configure-flags>: Pass a plugins list to exclude the tracker plugin. [native-inputs]: Add glib:bin, docbook-xml, docbook-xsl, xsltproc. [inputs]: Add gst-editing-services and json-glib.