summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2021-09-20gnu: at-spi2-atk: Don't compile tests when cross-compiling....* gnu/packages/gtk.scm (at-spi2-atk)[arguments]<#:configure-flags>: Set tests=false when cross-compiling. Maxime Devos
2021-09-20gnu: pango: Add bash-minimal input when cross-compiling....* gnu/packages/gtk.scm (pango)[inputs]: Add "bash-minimal" when cross-compiling. Maxime Devos
2021-09-20gnu: gdk-pixbuf: Add bash-minimal input when cross-compiling....* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Add "bash-minimal" when cross-compiling. Maxime Devos
2021-09-20gnu: gdk-pixbuf: Find docbook when cross-compiling....* gnu/packages/gtk.scm (gdk-pixbuf)[arguments]<#:phases>{patch-docbook}: Look for docbook in 'native-inputs' instead of 'inputs' when cross-compiling. Maxime Devos
2021-09-20gnu: libproxy: Don't run tests when cross-compiling....* gnu/packages/networking.scm (libproxy)[arguments]]<#:phases>{check}: Respect #:tests? when cross-compiling. Maxime Devos
2021-09-20gnu: wayland: Find docbook-xml when cross-compiling....* gnu/packages/freedesktop.scm (wayland)[arguments]<#:phases>{patchdocbook-xml}: Look in 'native-inputs' instead of 'inputs' when cross-compiling. Maxime Devos
2021-09-20gnu: wayland: Find wayland-scanner when cross-compiling....* gnu/packages/freedesktop.scm (wayland)[native-inputs]: Add pkg-config-for-build and 'this-package' when cross-compiling. Maxime Devos
2021-09-20gnu: Add pkg-config-for-build....* gnu/packages/pkg-config.scm (pkg-config-for-build): New variable. Maxime Devos
2021-09-20gnu: libxxf85vm: Add --disable-malloc0-returnsnull when necessary....* gnu/packages/xorg.scm (libxxf86vm)[arguments]<#:configure-flags>: Add malloc0-flags. Maxime Devos
2021-09-20gnu: libxrandr: Add --disable-malloc0-returnsnull when necessary....* gnu/packages/xorg.scm (libxrandr)[arguments]<#:configure-flags>: Add malloc0-flags. Maxime Devos
2021-09-20gnu: libxi: Add --disable-malloc0-returnsnull when necessary....* gnu/packages/xorg.scm (libxi)[arguments]<#:configure-flags>: Add malloc0-flags. Maxime Devos
2021-09-20gnu: libxinerama: Add --disable-malloc0-returnsnull when necessary....* gnu/packages/xorg.scm (libxinerama)[arguments]<#:configure-flags>: Add malloc0-flags. Maxime Devos
2021-09-20gnu: xorg: Unify --disable-malloc0-returnsnull code....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. Maxime Devos
2021-09-20gnu: at-spi2-core: Add missing "bash-minimal" input....* gnu/packages/gtk.scm (at-spi2-core)[inputs]: Add "bash-minimal" when cross-compiling. Maxime Devos
2021-09-20gnu: at-spi2-core: Find docbook when cross-compiling....* 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. Maxime Devos
2021-09-20gnu: at-spi2-core: Don't cross-compile documentation....* 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. Maxime Devos
2021-09-20gnu: avahi: Use the cross-compiled bash....* gnu/packages/avahi.scm (avahi)[arguments]<#:phases>{patch-more-shebangs}: Replace the bash in the shebangs in "/etc/avahi" with a cross-compiled bash. Maxime Devos
2021-09-20gnu: avahi: Find 'TARGET-pkg-config' when cross-compiling....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. Maxime Devos
2021-09-20gnu: libdaemon: Support cross-compilation to aarch64-linux-gnu....* 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. Maxime Devos
2021-09-20gnu: libthai: Add datrie as native-input when cross-compiling....This allows the cross-build to succeed. * gnu/packages/gnome.scm (libthai)[native-inputs]: Add "datrie" when cross-compiling. Maxime Devos
2021-09-20gnu: json-glib: Don't build introspection data when cross-compiling....* gnu/packages/gnome.scm (json-glib)[arguments]<#:configure-flags>: Set introspection=false when cross-compiling. Maxime Devos
2021-09-20gnu: json-glib: Don't build gtk documentation when cross-compiling....* 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. Maxime Devos
2021-09-20gnu: json-glib: Find docbook inputs when cross-compiling....* gnu/packages/gnome.scm (json-glib)[arguments]<#:phases>{patch-docbook}: Look up "docbook-xml" in 'native-inputs', not 'inputs', when cross-compiling. Maxime Devos
2021-09-20gnu: json-glib: Add missing 'bash-minimal' input....* gnu/packages/gnome.scm (json-glib)[inputs]: Add "bash-minimal" when cross-compiling (for wrapper scripts). Maxime Devos
2021-09-20gnu: heimdal: Use libcom_err from input when cross-compiling....* gnu/packages/kerberos.scm (heimdal)[arguments]<#:phases>{pre-configure}: Consider ${krb_cv_com_err} to be 'yes' when cross-compiling. Maxime Devos
2021-09-20gnu: heimdal: Find tools when cross-compiling....* gnu/packages/kerberos.scm (heimdal)[arguments]<#:configure-flags>: Set --with-cross-tools. (heimdal)[arguments]<#:phases>{pre-configure}: Override ac_cv_PROG_COMPILE_ET. Maxime Devos
2021-09-20gnu: heimdal: Use the cross-compiled bash in "su"....* gnu/packages/kerberos.scm (heimdal)[arguments]<#:phases>{pre-configure}: Replace _PATH_BSHELL with the cross-compiled bin/sh when cross-compiling. Maxime Devos
2021-09-20gnu: heimdal: Refer to cross-compiled bash....* 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. Maxime Devos
2021-09-20gnu: heimdal: Fix linking error when cross-compiling....* gnu/packages/kerberos.scm (heimdal)[arguments]<#:configure-flags>: Set ac_cv_func_getpwnam_r_posix=yes when cross-compiling. Maxime Devos
2021-09-20gnu: heimdal: Fix inputs when cross-compiling....* gnu/packages/kerberos.scm (heimdal)[inputs]: Add "bash-minimal" when cross-compiling. (heimdal)[native-inputs]: Add 'perl' when cross-compiling. Maxime Devos
2021-09-20gnu: iso-codes: Move inputs to native-inputs when cross-compiling....* gnu/packages/iso-codes.scm (iso-codes)[inputs]: Move "gettext", "perl" and "python" to ... (iso-codes)[native-inputs]: ... here when cross-compiling. Maxime Devos
2021-09-20gnu: gamin: Fix 'configure' script when cross-compiling....* gnu/packages/gnome.scm (gamin)[arguments]<#:phases>{set-have-abstract-sockets}: Override test for ‘abstract sockets’ when cross-compiling. Maxime Devos
2021-09-20gnu: gamin: Recognise aarch64 as architecture when cross-compiling....* gnu/packages/gnome.scm (gamin)[arguments]<#:phases>{replace-config.sub}: Update 'config.sub' when cross-compiling. (gamin)[native-inputs]: Add "config" when cross-compiling. Maxime Devos
2021-09-20gnu: graphene: Don't build introspection data when cross-compiling....* gnu/packages/gtk.scm (graphene)[arguments]<#:configure-flags>: Set introspection=false when cross-compiling. Maxime Devos
2021-09-20gnu: bdb: Fix cross-compilation build errors....* gnu/packages/dbm.scm (bdb-4.8)[arguments]<#:phases>{update-config.sub}: Update 'config.sub' when cross-compiling for 'powerpc64le' or 'aarch64'. Maxime Devos
2021-09-20gnu: atk: Disable introspection when cross-compiling....* gnu/packages/gtk.scm (atk)[arguments]<#:configure-flags>: Set -Dintrospection=false when cross-compiling. Maxime Devos
2021-09-20gobject-introspection: Correct library name when cross-compiling....* 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. Maxime Devos
2021-09-20gobject-introspection: Fix inputs when cross-compiling....* 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. Maxime Devos
2021-09-20gnu: gobject-introspection: Don't build introspection data when cross-compiling....* 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". Maxime Devos
2021-09-20gnu: polkit: Prevent cross-compilation build error....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". Maxime Devos
2021-09-20gnu: dbus-cairo: Add missing bash-minimal input....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. Maxime Devos
2021-09-20build-system/glib-or-gtk: Support cross-compilaton....* guix/build-system/glib-or-gtk.scm (lower): Add 'implicit-cross-inputs?' argument. Generate a bag when cross-compiling. (glib-or-gtk-cross-build): New procedure. Maxime Devos
2021-09-20build-system/meson: Allow 'configure-flags' to be a G-exp....* guix/build-system/meson.scm (meson-build, meson-cross-build): Only call 'sexp->gexp' on 'configure-flags' when 'configure-flags' is a pair. Maxime Devos
2021-09-20gnu: poppler: Find pkg-config when cross-compiling....* gnu/packages/pdf.scm (poppler)[arguments]<#:phases>{set-PKG_CONFIG}: New phase. Maxime Devos
2021-09-20gnu: mozjs-60: Fix cross-compilation build errors....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. Maxime Devos
2021-09-20gnu: nspr: Don't retain references to native inputs....* gnu/packages/nss.scm (nspr)[inputs]: Add 'perl' and 'bash-minimal' when cross-compiling. (nspr)[arguments]{#:disallowed-references}: Add native 'perl' when cross-compiling. Maxime Devos
2021-09-20gnu: nspr: Adjust to Mozilla cross-compilation conventions....* gnu/packages/nss.scm (nspr)[arguments]<#:configure-flags>: Set --host and --target inappropriately when cross-compiling. Maxime Devos
2021-09-20gnu: perl: Find 'bash' when cross-compiling....* 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". Maxime Devos
2021-09-20gnu: libcap: Fix cross-compilation build failures....* 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. Maxime Devos
2021-09-20gnu: elogind: Fix cross-compilation....%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. Maxime Devos