Commit graph

48431 commits

Author SHA1 Message Date
Mathieu Othacehe 1a1bce6b5d
gnu: libsamplerate: Fix aarch64 cross-compilation.
The packaged config.sub and config.guess do not have aarch64 support. Replace
them by the ones from automake.

* gnu/packages/pulseaudio.scm (libsamplerate)[arguments]: Replace outdated config.sub and
config.guess, taken from ...
[native-inputs]: ... here, by adding automake.
2019-09-24 08:14:12 +02:00
Mathieu Othacehe 59bd4b90e8
gnu: indent: Fix aarch64 cross-compilation.
The packaged config.sub and config.guess do not have aarch64 support. Replace
them by the ones from automake.

* gnu/packages/code.scm (indent)[arguments]: Replace outdated config.sub and
config.guess, taken from ...
[native-inputs]: ... here, by adding automake.
(indent-2.2.12)[native-inputs]: Inherit from indent native-inputs to keep
automake that is added above.
2019-09-24 08:14:12 +02:00
Mathieu Othacehe 3fe8fe5360
gnu: libpaper: Fix aarch64 cross-compilation.
The packaged config.sub and config.guess do not have aarch64 support. Replace
them by the ones from automake.

* gnu/packages/ghostscript.scm (libpaper)[arguments]: Replace outdated config.sub and
config.guess, taken from ...
[native-inputs]: ... here, by adding automake.
2019-09-24 08:14:12 +02:00
Mathieu Othacehe e373adc139
gnu: libgpg-error: Fix cross compilation.
* gnu/packages/gnupg.scm (libgpg-error)[arguments]: Add a lock-obj header to
the target platform when cross-compiling,
[native-inputs]: add gettext that is needed when cross-compiling.
2019-09-24 08:14:12 +02:00
Pierre-Moana Levesque c3d523b048
gnu: guile-xcb: Fix cross-compilation.
* gnu/packages/guile-wm.scm (guile-xcb)[native-inputs]: Add guile.
2019-09-24 08:13:40 +02:00
Pierre-Moana Levesque 6fe3e25006
gnu: texinfo-4: Fix cross compilation
* gnu/packages/texinfo.scm (texinfo-4)[native-inputs]: Add automake and
native-inputs from texinfo package,
[arguments]: Replace outdated config.sub and config.guess by the ones
taken from automake above. Also make sure native tools are built before build
phase.
2019-09-24 08:12:59 +02:00
Pierre-Moana Levesque c096028a37
gnu: texinfo-5: Fix cross-compilation.
* gnu/packages/texinfo.scm (texinfo-5)[native-inputs]: Keep
native-inputs from inherited package texinfo.
2019-09-24 08:12:58 +02:00
Mathieu Othacehe 5a2f58d52c
gnu: texinfo: Fix cross-compilation.
* gnu/packages/texinfo.scm (texinfo)[arguments]: Do not reset environment
before running configure with the native compiler, in a cross-compilation
context,
[inputs]: move perl from here ...
[native-inputs]: ... to here. Also add ncurses that is needed in a
cross-compilation context to build texinfo native tools.
2019-09-24 08:12:58 +02:00
Mathieu Othacehe 9b70f2c386
gnu: alsa-utils: Fix cross-compilation.
* gnu/packages/linux.scm (alsa-utils)[inputs]: Move gettext from here ...
[native-inputs]: ... to here, in order to fix cross-compilation.
2019-09-24 08:12:58 +02:00
Mathieu Othacehe 032974aae6
gnu: pkg-config: Fix cross-compilation.
* gnu/packages/pkg-config.scm (%pkg-config)[arguments]: Add configure-flags
to disable tests that fail when cross-compiling.
2019-09-24 08:12:57 +02:00
Mathieu Othacehe 2b9ef6e5ef
gnu: tcsh: Fix cross-compilation.
* gnu/packages/shells.scm (tcsh)[arguments]: Replace "cc" by "gcc" as
native gethost compiler when cross-compiling.
2019-09-24 08:12:57 +02:00
Mathieu Othacehe 5fd395db3f
gnu: libarchive: Fix cross-compilation.
* gnu/packages/backup.scm (libarchive)[arguments]: Do not build and run tests
when cross-compiling.
2019-09-24 08:12:57 +02:00
Mathieu Othacehe 1475554147
gnu: xmlto: Fix cross-compilation.
* gnu/packages/xml.scm (xmlto)[native-inputs]: Add util-linux.
2019-09-24 08:12:56 +02:00
Mathieu Othacehe 642328abcd
gnu: help2man: Fix cross-compilation.
* gnu/packages/man.scm (help2man)[native-inputs]: Add perl.
2019-09-24 08:12:56 +02:00
Mathieu Othacehe b5ebab8023
gnu: mit-krb5: Fix cross-compilation.
* gnu/packages/kerberos.scm (mit-krb5)[arguments]: Disable tests when
cross-compiling. Add cross-compilation specific configure-flags and
make-flags. Search for perl in native-inputs or inputs.
2019-09-24 08:12:56 +02:00
Mathieu Othacehe 283fb64851
gnu: ath9k-htc-firmware: Fix cross compilation.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[phases]: Search for
"cross-gcc" in native-inputs and inputs in "configure" phase.
2019-09-24 08:12:55 +02:00
Mathieu Othacehe bc5ae287b7
gnu: libgit2: Fix cross compilation.
* gnu/packages/version-control.scm (libgit2)[arguments]: Set
PKG_CONFIG_EXECUTABLE variable when cross-compiling.
Also do not run test suite if cross-compiling.
2019-09-24 08:12:55 +02:00
Mathieu Othacehe 078784ce7c
gnu: http-parser: Fix cross-compilation.
* gnu/packages/web.scm (http-parser)[arguments]: Set CC and AR variables in
Makefile in order to fix cross-compilation.
2019-09-24 08:12:55 +02:00
Mathieu Othacehe ceb9de75a6
gnu: python: Further cross-compilation fixes.
* gnu/packages/patches/python-2.7-search-paths.patch: Add cross-compilation
support.
* gnu/packages/patches/python-3-search-paths.patch: Ditto.
* gnu/packages/patches/python-cross-compile.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Add above new patch.
* gnu/packages/python.scm (python-2.7)[patches]: Add new patch above,
[arguments]: Set _PYTHON_HOST_PLATFORM env variable when cross compiling.
2019-09-24 08:12:54 +02:00
Mathieu Othacehe d7c5364732
gnu: xorg: Fix cross-compilation of multiple packages.
* gnu/packages/xorg.scm (libxext)[arguments]: Disable zero malloc check that
fails when cross-compiling,
(libxrender)[arguments]: ditto,
(libx11)[arguments]: ditto.
2019-09-24 08:12:54 +02:00
Mathieu Othacehe da66bd3857
gnu: libxslt: Fix cross-compilation.
* gnu/packages/xml.scm (libxslt)[native-inputs]: Add pkg-config.
2019-09-24 08:12:54 +02:00
Mathieu Othacehe ee4c8c899b
gnu: tk: Fix cross-compilation.
* gnu/packages/tcl.scm (tk)[arguments]: Add configure flags to fix
cross-compilation.
2019-09-24 08:12:54 +02:00
Mathieu Othacehe 2ce30a37ad
gnu: tcl: Fix cross-compilation.
* gnu/packages/tcl.scm (tcl)[arguments]: Add configure flags to fix
cross-compilation.
2019-09-24 08:12:53 +02:00
Mathieu Othacehe 57ec9861f4
gnu: python: Fix cross compilation.
* gnu/packages/python.scm (python-2.7)[arguments]: Add a configure flag to
disable a check failing when cross-compiling. This is covered here:
https://lists.yoctoproject.org/pipermail/poky/2013-June/008997.html,
[native-inputs]: Add self and which when cross-compiling,
(python-3.7)[arguments]: Refer to native python when cross-compiling.
2019-09-24 08:12:53 +02:00
Mathieu Othacehe 001504a70a
gnu: perl: Fix cross-compilation.
* gnu/packages/perl.scm (perl)[arguments]: Use cross-libc instead of libc when
cross-compiling.
2019-09-24 08:12:53 +02:00
Mark H Weaver 567cca260d
gnu: bash: Unconditionally configure PGRP_PIPE for *-linux systems.
* gnu/packages/patches/bash-linux-pgrp-pipe.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/bash.scm (bash)[source]: Add the patch.
2019-09-23 23:46:48 +02:00
Ludovic Courtès e5efdbce21
gnu: perl-catalyst-view-json: Update to 0.37.
* gnu/packages/web.scm (perl-catalyst-view-json): Update to 0.37.
2019-09-23 11:40:53 +02:00
Ludovic Courtès 624ed47d41
gnu: perl-catalyst-runtime: Update to 5.90124.
* gnu/packages/web.scm (perl-catalyst-runtime): Update to 5.90124.
[propagated-inputs]: Add PERL-PERLIO-UTF8_STRICT.
2019-09-23 11:40:08 +02:00
Ludovic Courtès 27130ee8f7
gnu: libsmpeg: Fix build failure with GCC 7.
* gnu/packages/video.scm (libsmpeg)[arguments]: New field.
2019-09-23 00:11:13 +02:00
Ludovic Courtès 1f78a99964
gnu: perf: Really build without '-Werror'.
Until this change, it would fail to build with:

  In file included from /tmp/guix-build-perf-5.2.15.drv-0/linux-5.2.15/tools/include/uapi/linux/ethtool.h:19:0,
		   from xsk.c:18:
  /gnu/store/…-linux-libre-headers-4.19.56/include/linux/if_ether.h:165:1: error: packed attribute is unnecessary for 'ethhdr' [-Werror=packed]

* gnu/packages/linux.scm (perf)[arguments]: In 'configure' phase, remove
"-Werror" from 'tools/lib/bpf/Makefile'.
2019-09-22 23:49:57 +02:00
Ludovic Courtès 4b577961d7
gnu: instantmusic: Fix build failure.
This is a followup to 6bbb37a545.

* gnu/packages/music.scm (instantmusic): Move 'fix-file-permissions'
phase before 'install' rather than before 'check'.
2019-09-22 21:27:44 +02:00
Ludovic Courtès 3a2efbc867
gnu: python-libxml2, itstool: Provide crash-free variants.
Fixes <https://bugs.gnu.org/37468>.

* gnu/packages/patches/python-libxml2-utf8.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/xml.scm (python-libxml2/fixed): New variable.
* gnu/packages/glib.scm (itstool/fixed): New variable.
* gnu/packages/gnome.scm (gnumeric)[native-inputs]: Use ITSTOOL/FIXED
instead of ITSTOOL.
2019-09-20 12:21:19 +02:00
Ricardo Wurmus fb1d8d2baa
gnu: klick: Fix build with GCC 7.
* gnu/packages/music.scm (klick)[arguments]: Pass -fpermissive to compiler.
2019-09-19 21:33:44 +02:00
Ricardo Wurmus 923b2b5a48
gnu: avr-libc: Unset CPATH to fix the build.
* gnu/packages/avr.scm (avr-libc)[arguments]: Unset CPATH variable.
2019-09-19 21:33:44 +02:00
Ricardo Wurmus 081f767e8c
gnu: avr-gcc-4.9: Build with GCC 5.
* gnu/packages/avr.scm (avr-gcc-4.9)[native-inputs]: Add gcc-5.
2019-09-19 21:33:44 +02:00
Ricardo Wurmus bed0c4c83d
gnu: alsa-modular-synth: Build with GCC 5.
* gnu/packages/audio.scm (alsa-modular-synth)[native-inputs]: Add gcc-5.
2019-09-19 21:33:44 +02:00
Ricardo Wurmus 316fa45ea4
gnu: gcc-arm-none-eabi-4.9: Build with GCC 5.
* gnu/packages/embedded.scm (gcc-arm-none-eabi-4.9)[native-inputs]: Add gcc-5.
2019-09-19 21:33:40 +02:00
Ludovic Courtès 7670efefe4
gnu: fontforge: Update to 20190801.
* gnu/packages/fontutils.scm (fontforge): Update to 20190801.
[source](patches): Remove.  The patch served by github.com had been
modified in place.
2019-09-19 14:00:05 +02:00
Ricardo Wurmus a747ae609b
gnu: android-libutils: Build with GCC 5.
* gnu/packages/android.scm (android-libutils)[native-inputs]: Add gcc-5.
2019-09-19 12:56:54 +02:00
Ricardo Wurmus 2c6ebeb72b
gnu: perl-glib: Update to 1.3291.
* gnu/packages/glib.scm (perl-glib): Update to 1.3291.
2019-09-19 12:33:35 +02:00
Ludovic Courtès 9ff87bb996
Merge branch 'master' into core-updates 2019-09-17 16:27:15 +02:00
Ludovic Courtès ae71bef532
gnu: go@1.12: Apply patch from a build phase.
This is a followup to b938892551.

* gnu/packages/golang.scm (go-1.12)[source]: Remove 'patches'.
[arguments]: In 'pre-build' phase, invoke "patch".
[native-inputs]: Add "go-skip-gc-test.patch".
2019-09-17 11:34:18 +02:00
Ludovic Courtès 9e8e252026
gnu: guix: Update to 1h2qlbb.
Fixes <https://bugs.gnu.org/37426>.
Reported by Mikhail Kryshen <mikhail@kryshen.net>.

* gnu/packages/package-management.scm (guix): Update to 1h2qlbb.
2019-09-17 10:14:27 +02:00
Alex Vong 0ed97e6980
gnu: Add tegaki-wagomu-traditional-chinese.
* gnu/packages/language.scm (tegaki-wagomu-traditional-chinese): New
variable.
2019-09-17 13:31:25 +08:00
Alex Vong 708c6857c1
gnu: Add tegaki-wagomu-simplified-chinese.
* gnu/packages/language.scm (tegaki-wagomu-simplified-chinese): New variable.
2019-09-17 13:31:05 +08:00
Alex Vong 7c25904c98
gnu: Add tegaki-wagomu-japanese-joyo.
* gnu/packages/language.scm (tegaki-wagomu-japanese-joyo): New variable.
2019-09-17 13:31:00 +08:00
Alex Vong ee3dc52b3f
gnu: Add tegaki-wagomu-japanese-kyoiku.
* gnu/packages/language.scm (tegaki-wagomu-japanese-kyoiku): New variable.
2019-09-17 13:30:54 +08:00
Alex Vong 6b32e91a4c
gnu: Add tegaki-wagomu-japanese.
* gnu/packages/language.scm (tegaki-wagomu-japanese): New variable.
2019-09-17 13:30:48 +08:00
Alex Vong caee9806ac
gnu: Add tegaki-zinnia-traditional-chinese-light.
* gnu/packages/language.scm (tegaki-zinnia-traditional-chinese-light): New
variable.
2019-09-17 13:30:42 +08:00
Alex Vong 0bfcc29ddf
gnu: Add tegaki-zinnia-traditional-chinese.
* gnu/packages/language.scm (tegaki-zinnia-traditional-chinese): New
variable.
2019-09-17 13:30:36 +08:00