Commit graph

84282 commits

Author SHA1 Message Date
Maxime Devos
d09822c394
gnu: 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.
2021-09-20 11:11:47 +00:00
Maxime Devos
cd4c6f9979
gnu: 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.
2021-09-20 11:11:47 +00:00
Maxime Devos
1d3cb21853
gnu: nspr: Adjust to Mozilla cross-compilation conventions.
* gnu/packages/nss.scm
  (nspr)[arguments]<#:configure-flags>: Set --host and --target
  inappropriately when cross-compiling.
2021-09-20 11:11:47 +00:00
Maxime Devos
5fc78abc7f
gnu: 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".
2021-09-20 11:11:46 +00:00
Maxime Devos
5203a3f123
gnu: 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.
2021-09-20 11:11:46 +00:00
Maxime Devos
04380925ea
gnu: 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.
2021-09-20 11:11:46 +00:00
Maxime Devos
ea91371466
gnu: elogind: Make #:configure-flags a G-exp.
* gnu/packages/freedesktop.scm
  (elogind)[arguments]{configure-flags}: Let this be a G-exp.
2021-09-20 11:11:46 +00:00
Maxime Devos
967f8af877
gnu: dbus-glib: Support cross-compilation.
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.
2021-09-20 11:11:46 +00:00
Mathieu Othacehe
4bacf9ced9
gnu: acpica: Update to 20210730.
* gnu/packages/admin.scm (acpica): Update to 20210730.
[source]: Fix uri field.
2021-09-20 09:36:57 +00:00
Mathieu Othacehe
650e85d855
gnu: grub: Strip debug symbols.
This is a follow-up of 71aa29911c. 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.
2021-09-20 09:12:01 +00:00
Thiago Jung Bauermann
b452fe87e0
gnu: gtk+: Fix testsuite failure on non-x86_64 platforms.
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>
2021-09-19 18:16:29 +00:00
Mathieu Othacehe
57c57f8541
gnu: fbida: Fix build.
* gnu/packages/pdf.scm (fbida)[arguments]<#:phases>: Add a 'set-fcommon phase.
Also wrap some lines and remove an empty one.
2021-09-19 18:10:39 +00:00
Efraim Flashner
02a585212f
gnu: newsboat: Fix build.
* gnu/packages/syndication.scm (newsboat)[arguments]: Move the prefix
declaration to the 'patch-source phase. Adjust other phases so they
actually build.
2021-09-19 19:52:11 +03:00
Mathieu Othacehe
71aa29911c
gnu: grub: Do not strip modules.
* gnu/packages/bootloaders.scm (grub)[arguments]<#:strip-binaries>: Set to
false to prevent Grub modules stripping.
2021-09-19 16:49:30 +02:00
Guillaume Le Vaillant
8e67a84a99
gnu: python-ipython: Update to 7.27.0.
* 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.
2021-09-18 23:17:56 +02:00
Guillaume Le Vaillant
cbdd76c493
gnu: Add python-matplotlib-inline.
* gnu/packages/python-xyz.scm (python-matplotlib-inline): New variable.
2021-09-18 23:05:29 +02:00
Guillaume Le Vaillant
19c9c266ae
gnu: mpg321: Fix compiling with gcc 10.
* 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.
2021-09-18 15:31:18 +02:00
Guillaume Le Vaillant
642fcb1d08
gnu: q5go: Fix build.
* gnu/packages/games.scm (q5go)[arguments]: Add 'fix-header' phase.
2021-09-18 15:03:41 +02:00
Guillaume Le Vaillant
a9798a0abe
gnu: aircrack-ng: Fix build.
* gnu/packages/networking.scm (aircrack-ng)[arguments]: Add '-fcommon' to
  CFLAGS.
2021-09-18 14:54:45 +02:00
Guillaume Le Vaillant
5a7703413b
gnu: pdf2djvu: Update to 0.9.18.
* gnu/packages/djvu.scm (pdf2djvu): Update to 0.9.18.
  [arguments]: Add 'set-home-for-tests' phase.
2021-09-18 14:48:54 +02:00
Mathieu Othacehe
d5f92f21a1
gnu: ruby-sass: Fix build.
* gnu/packages/ruby.scm (ruby-sass)[native-inputs]: Add ruby-cmath.
2021-09-18 13:00:10 +02:00
Mathieu Othacehe
ac6914ca7d
gnu: Add ruby-cmath.
* gnu/packages/ruby.scm (ruby-cmath): New variable.
2021-09-18 13:00:07 +02:00
Mathieu Othacehe
b7a5641ad7
gnu: rygel: Update to 0.40.1.
* 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.
2021-09-18 12:46:12 +02:00
Mathieu Othacehe
54b8cdfe3c
gnu: gupnp-av: Enable Vala bindings.
* gnu/packages/gnome.scm (gupnp-av)[native-inputs]: Add vala.
2021-09-18 12:46:12 +02:00
Mathieu Othacehe
3963211668
gnu: gupnp: Fix build.
* gnu/packages/gnome.scm (gupnp)[arguments]<#:phases>: Add a 'pre-check phase.
2021-09-18 12:46:12 +02:00
Guillaume Le Vaillant
048934c3b6
gnu: icu4j: Fix build.
* gnu/packages/icu4c.scm (icu4j)[arguments]: Use gexp for 'make-flags'.
2021-09-18 12:19:34 +02:00
Mathieu Othacehe
68557cd2f3
gnu: grilo-plugins: Update to 0.3.13.
* gnu/packages/gnome.scm (grilo-plugins): Update to 0.3.13.
[inputs]: Add python-pygobject and tracker-miners.
[arguments]<#:phases>: Add 'set-shell and 'fix-tests phases.
2021-09-18 12:12:48 +02:00
Mathieu Othacehe
4df5b64c8a
gnu: grilo: Update to 0.3.13.
* gnu/packages/gnome.scm (grilo): Update to 0.3.13.
2021-09-18 12:12:47 +02:00
muradm
e8d80d0456
gnu: gnunet: Fix libmicrohttpd test case using SSL3.
* gnu/packages/patches/libmicrohttpd-0.9.73-test-ssl3.patch:
Patch for failing test case as suggested by libmicrohttpd mailing list
* gnu/packages/gnunet.scm (libmicrohttpd): use patch
* gnu/local.mk (dist_patch_DATA): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-09-18 12:09:40 +02:00
Guillaume Le Vaillant
c3892d4ffb
gnu: openjdk: Fix compiling with gcc 10.
* gnu/packages/java.scm (openjdk9, openjdk10, openjdk11)[arguments]: Add
  '-fcommon', '-fno-delete-null-pointer-checks' and '-fno-lifetime-dse'
  to CFLAGS.
2021-09-18 11:18:41 +02:00
Mathieu Othacehe
8613652f3f
gnu: gnome-boxes: Update to 3.38.2.
* gnu/packages/gnome.scm (gnome-boxes): Update to 3.38.2.
[inputs]: Add gtksourceview and json-glib.
2021-09-17 23:03:20 +02:00
Mathieu Othacehe
0db21a8a31
gnu: nautilus: Update to 3.38.2.
* gnu/packages/gnome.scm (nautilus): Update to 3.38.2.
[inputs]: Add json-glib and libsoup.
2021-09-17 22:59:12 +02:00
Mathieu Othacehe
e7ff3f5cfa
gnu: tracker-miners: Update to 3.1.2.
* gnu/packages/gnome.scm (tracker-miners): Update to 3.1.2.
[arguments]<#:configure-flags>: Fix the rpath.  <#:phases>: Add 'set-shell,
'fix-paths and 'fix-tests phases. Replace the 'check phase.
[native-inputs]: Add docbook-xsl, docbook-xml-4.5, gsettings-desktop-schemas,
asciidocs and xsltproc.
[inputs]: add json-glib, libsoup and shared-mime-info.
2021-09-17 22:55:28 +02:00
Mathieu Othacehe
2a489b01f6
gnu: tracker: Update to 3.1.2.
* gnu/packages/gnome.scm (tracker): Update to 3.1.2.
[arguments]<#:configure-flags>: Fix the rpath. Do not build docs and do not
use systemd.
<#:phases>: Add 'set-shell and 'fix-paths phases. Merge the 'pre-check
phase into the new replaced 'check phase.
[native-inputs]: Add docbook-xsl, docbook-xml-4.5, gsettings-desktop-schemas,
asciidoc, xsltproc, cmake-minimal, gtk-doc and dbus.
2021-09-17 22:54:55 +02:00
Mathieu Othacehe
d075684860
gnu: libmusicbrainz: Fix build.
* gnu/packages/music.scm (libmusicbrainz)[arguments]: Add a new fix build
phase.
2021-09-17 18:18:53 +02:00
Mathieu Othacehe
7bfee950cc
gnu: gnome-contacts: Update to 3.38.1.
* gnu/packages/gnome.scm (gnome-contacts): Update to 3.38.1.
[arguments]: Use disabled instead of false for the cheese option.
2021-09-17 18:11:17 +02:00
Mathieu Othacehe
b95c149ac8
gnu: folks: Update to 0.14.0.
* gnu/packages/gnome.scm (folks): Update to 0.14.0.
[native-inputs]: Add python-dbusmock.
2021-09-17 18:10:56 +02:00
Mathieu Othacehe
cfc814754e
gnu: cheese: Fix build.
* gnu/packages/patches/cheese-vala-update.patch: New file.
* gnu/local.mk (DIST_PATCH_DATA): Add it.
* gnu/packages/gnome.scm (cheese)[source]: Use it.
2021-09-17 17:59:05 +02:00
Mathieu Othacehe
32c7233ff7
gnu: localed: Fix build.
* gnu/packages/freedesktop.scm (localed)[native-inputs]: Add rsync.
2021-09-17 17:33:27 +02:00
Guillaume Le Vaillant
a93a6afcef
gnu: libxml++: Fix build.
* gnu/packages/gnome.scm (libxml++)[propagated-inputs]: Replace glibmm by
  glibmm-2.64.
2021-09-17 16:53:07 +02:00
Guillaume Le Vaillant
ad0bd346f5
gnu: atril: Fix build.
* gnu/packages/mate.scm (atril)[inputs]: Replace python2-dogtail by
  python-dogtail. Replace openjpeg-1 by openjpeg.
2021-09-17 15:47:59 +02:00
Guillaume Le Vaillant
b56e01cb38
gnu: lightning: Fix build.
* gnu/packages/assembly.scm (lightning)[arguments]: Don't run tests in
  parallel.
2021-09-17 14:51:37 +02:00
Mathieu Othacehe
716470cda4
gnu: gnome-control-center: Fix build.
* gnu/packages/gnome.scm (gnome-control-center)[arguments]: Add a 'set-cflags
phase.
2021-09-17 08:42:40 +02:00
Marius Bakke
f62e47df8d
tests: Add missing module import.
This is a follow-up to commit 9bea983e4f.

* tests/builders.scm: Import (guix grafts).
2021-09-17 01:27:40 +02:00
Marius Bakke
5c3cb22c9b
Merge branch 'master' into core-updates-frozen
Conflicts:
	gnu/packages/bioinformatics.scm
	gnu/packages/chez.scm
	gnu/packages/docbook.scm
	gnu/packages/ebook.scm
	gnu/packages/gnome.scm
	gnu/packages/linux.scm
	gnu/packages/networking.scm
	gnu/packages/python-web.scm
	gnu/packages/python-xyz.scm
	gnu/packages/tex.scm
	gnu/packages/version-control.scm
	gnu/packages/xml.scm
	guix/build-system/dune.scm
	guix/build-system/go.scm
	guix/build-system/linux-module.scm
	guix/packages.scm
2021-09-17 01:25:52 +02:00
Marius Bakke
c896287ce5
gnu: texlive-context: Adjust to changes from 'master'.
This is a merge of commit f98dfdc1b6, with the
hash updated for TeX Live 2021.

* gnu/packages/tex.scm (texlive-context-base): Deprecate in favor of
TEXLIVE-CONTEXT.
(texlive-context)[source]: Extract manuals and more files.
[propagated-inputs]: Add TEXLIVE-AMSFONTS, TEXLIVE-LM, TEXLIVE-PDFTEX,
TEXLIVE-METAPOST, TEXLIVE-FONTS-STMARYRD, and TEXLIVE-MFLOGO-FONT.
2021-09-17 00:15:05 +02:00
Marius Bakke
52f42594aa
gnu: texlive-pdftex: Adjust to changes from 'master'.
This is a merge of commit 9003bd8709, with the
hash updated for TeX Live 2021.

* gnu/packages/chez.scm (texlive-pdftex)[source]: Extract two more files.
[propagated-inputs]: Add TEXLIVE-CM, TEXLIVE-ETEX, TEXLIVE-FONTS-KNUTH-LIB,
TEXLIVE-HYPHEN-BASE, TEXLIVE-KPATHSEA, TEXLIVE-TEX-INI-FILES, and
TEXLIVE-TEX-PLAIN.
2021-09-17 00:15:05 +02:00
Marius Bakke
2a054d29dc
gnu: varnish-modules: Update to 0.19.0.
* gnu/packages/web.scm (varnish-modules): Update to 0.19.0.
2021-09-16 23:26:58 +02:00
Marius Bakke
bb6481af0e
gnu: varnish: Update to 7.0.0.
* gnu/packages/web.scm (varnish): Update to 7.0.0.
[arguments]: Set CC in #:configure-flags.  Rewrite use-absolute-file-names
phase to use named inputs instead of WHICH and patch one more file.  Remove
trailing #t's.
[inputs]: Add BASH-MINIMAL and COREUTILS.  Replace PCRE with PCRE2, and
PYTHON-WRAPPER with PYTHON.
2021-09-16 23:26:58 +02:00
Marius Bakke
7de73cabe8
gnu: Remove python2-wtforms.
This trivial package currently fails to build and has no users in Guix.

* gnu/packages/python-web.scm (python2-wtforms): Remove variable.
2021-09-16 23:26:58 +02:00