Commit graph

60732 commits

Author SHA1 Message Date
Ludovic Courtès
502f609d05
vm: Use 'let-system'.
* gnu/system/vm.scm (expression->derivation-in-linux-vm)[check]: New macro.
[builder]: Use 'let-system' and 'check' instead of referencing
'%current-system' and '%current-target-system'.
2020-05-16 00:34:41 +02:00
Ludovic Courtès
300a54bb98
utils: 'target-arm32?' & co. take an optional parameter.
* guix/utils.scm (target-arm32?, target-aarch64?)
(target-arm?, target-64bit?): Make 'target' an optional parameter.
2020-05-16 00:34:41 +02:00
Ludovic Courtès
644cb40cd8
gexp: Add 'let-system'.
* guix/gexp.scm (<system-binding>): New record type.
(let-system): New macro.
(system-binding-compiler): New procedure.
(default-expander): Add 'self-quoting?' case.
(self-quoting?): New procedure.
(lower-inputs): Add 'filterm'.  Pass the result of
'mapm/accumulate-builds' through FILTERM.
(gexp->sexp)[self-quoting?]: Remove.
* tests/gexp.scm ("let-system", "let-system, target")
("let-system, ungexp-native, target")
("let-system, nested"): New tests.
* doc/guix.texi (G-Expressions): Document it.
2020-05-16 00:34:41 +02:00
Ludovic Courtès
d03001a31a
gexp: Compilers can now return lowerable objects.
* guix/gexp.scm (lower-object): Iterate if LOWERED is a struct.
(lower+expand-object): New procedure.
(gexp->sexp): Use it.
(define-gexp-compiler): Adjust docstring.
2020-05-16 00:34:40 +02:00
Ludovic Courtès
8cf7dd24ab
bootloader: grub: Refer to the native 'grub-mklayout' and font file.
* gnu/bootloader/grub.scm (eye-candy): Refer to the native FONT-FILE.
(keyboard-layout-file): Refer to the native 'grub-mklayout'.
2020-05-16 00:34:40 +02:00
Danny Milosavljevic
a7b20226b2
gnu: python-libmpsse: Update to 1.4.1.
* gnu/packages/embedded.scm (python-libmpsse): Update to 1.4.1.
[arguments]<#:phases>[set-environment-up]:
Fix build with Python 3.8.
2020-05-15 23:24:49 +02:00
Tobias Geerinckx-Rice
1c9403f6a6
gnu: kicad: Re-use common fields in add-ons.
* gnu/packages/engineering.scm (kicad-i18n, kicad-symbols): Re-use
kicad's VERSION and HOME-PAGE.
(kicad-symbols, kicad-footprints, kicad-packages3d, kicad-templates):
Re-use kicad's VERSION.
2020-05-15 22:24:35 +02:00
Tobias Geerinckx-Rice
fbfaafae27
gnu: kicad-templates: Update to 5.1.6.
* gnu/packages/engineering.scm (kicad-templates): Update to 5.1.6.
2020-05-15 22:08:34 +02:00
Tobias Geerinckx-Rice
57b90a5dae
gnu: kicad-packages3d: Update to 5.1.6.
* gnu/packages/engineering.scm (kicad-packages3d): Update to 5.1.6.
2020-05-15 22:08:34 +02:00
Tobias Geerinckx-Rice
47711ec978
gnu: kicad-footprints: Update to 5.1.6.
* gnu/packages/engineering.scm (kicad-footprints): Update to 5.1.6.
2020-05-15 22:08:34 +02:00
Tobias Geerinckx-Rice
3ef7c588df
gnu: kicad-symbols: Update to 5.1.6.
* gnu/packages/engineering.scm (kicad-symbols): Update to 5.1.6.
2020-05-15 22:08:34 +02:00
Tobias Geerinckx-Rice
02d1bc6b58
gnu: kicad-i18n: Update to 5.1.6.
* gnu/packages/engineering.scm (kicad-i18n): Update to 5.1.6.
2020-05-15 22:08:34 +02:00
Tobias Geerinckx-Rice
0094c4fa91
gnu: kicad: Update to 5.1.6.
* gnu/packages/engineering.scm (kicad): Update to 5.1.6.
[source]: Use GIT-FETCH & GIT-FILE-NAME.
2020-05-15 22:08:34 +02:00
Tobias Geerinckx-Rice
cb014f64a5
gnu: kicad-i18l: Fix typo in… name.
* gnu/packages/engineering.scm (kicad-i18n): New old variable previously…
(kicad-i18l): …this.  Redefine using DEPRECATED-PACKAGE.
(kicad)[arguments, native-inputs]: Adjust accordingly.
2020-05-15 20:38:02 +02:00
Ryan Prior
5225626ffc
gnu: oil-shell: Rename to "oil".
* gnu/packages/shells.scm (oil): Rename variable from…
(oil-shell): …this.  Redefine using DEPRECATED-PACKAGE.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2020-05-15 20:37:42 +02:00
Tobias Geerinckx-Rice
6e9ffc3f77
gnu: clamav: End snippet in truth.
* gnu/packages/antivirus.scm (clamav)[source]: Return #t from snippet.
2020-05-15 20:35:57 +02:00
Tobias Geerinckx-Rice
d2e438d3e2
gnu: clamav: Update to 0.102.3.
* gnu/packages/antivirus.scm (clamav): Update to 0.102.3.
2020-05-15 20:35:57 +02:00
Tobias Geerinckx-Rice
1d8d90a82d
gnu: ethtool: Update to 5.6.
* gnu/packages/networking.scm (ethtool): Update to 5.6.
[native-inputs]: Add pkg-config.
[inputs]: Add libmnl.
2020-05-15 20:35:57 +02:00
Tobias Geerinckx-Rice
57b13d1cc0
gnu: openconnect: Update to 8.10 [fixes CVE-2020-12823].
* gnu/packages/vpn.scm (openconnect): Update to 8.10.
2020-05-15 18:10:46 +02:00
Nicolas Goaziou
dfc414c489
gnu: emacs-flycheck-grammalecte: Update to 1.2.
* gnu/packages/emacs-xyz.scm (emacs-flycheck-grammalecte): Update to 1.2.
[arguments]: Exclude "test-profile.el", build with full Emacs for libxml
support.
[inputs]: Remove curl as dependency.
2020-05-15 17:56:48 +02:00
Tobias Geerinckx-Rice
28740402b2
gnu: tor: Update to 0.4.3.5.
* gnu/packages/tor.scm (tor): Update to 0.4.3.5.
[arguments]: Enable compression features that aren't auto-detected.
[native-inputs]: Use the default Python (3).
[inputs]: Order alphabetically.
2020-05-15 17:49:50 +02:00
Guillaume Le Vaillant
f7237a2e39
gnu: bitcoin-abc: Update to 0.21.6.
* gnu/packages/finance.scm (bitcoin-abc): Update to 0.21.6.
  [build-system]: Use cmake-build-system.
  [native-inputs]: Remove autoconf, automake and libtool.
  [inputs]: Add zeromq.
  [arguments]: Drop inheritance from bitcoin-core and use explicit
  'make-qt-deterministic', 'set-home' and 'check-functional' phases.
2020-05-15 17:34:52 +02:00
Guillaume Le Vaillant
89c5b924e1
gnu: bitcoin-unlimited: Update to 1.8.0.0.
* gnu/packages/finance.scm (bitcoin-unlimited): Update to 1.8.0.0.
  [arguments]: Add 'fix-build' phase, update 'fix-tests' phase.
2020-05-15 17:34:52 +02:00
Nicolas Goaziou
6207d74949
gnu: emacs-flycheck: Update to 31-2.9bcf6b6.
* gnu/packages/emacs-xyz.scm (emacs-flycheck): Update to 31-2.9bcf6b6.
2020-05-15 17:12:26 +02:00
Julien Lepiller
1ac2bf05c8
gnu: ocaml-ocurl: Update to 0.9.1.
* gnu/packages/ocaml.scm (ocaml-ocurl): Update to 0.9.1.
2020-05-15 15:56:33 +02:00
Julien Lepiller
bee8c8acd7
gnu: ocaml-fileutils: Update to 0.6.2.
* gnu/packages/ocaml.scm (ocaml-fileutils): Update to 0.6.2.
2020-05-15 14:48:46 +02:00
Julien Lepiller
8965111768
gnu: ocaml-octavius: Update to 1.2.2.
* gnu/packages/ocaml.scm (ocaml-octavius): Update to 1.2.2.
2020-05-15 14:44:58 +02:00
Florian Pelz
68f3ba37db
news: Add ‘de’ translation.
* etc/news.scm: Add a ‘de’ translation.
2020-05-15 12:26:52 +00:00
Mathieu Othacehe
ef9652ef4e
gnu: rottlog: Fix aarch64 cross-compilation.
* gnu/packages/admin.scm (rottlog)[arguments]: Add a 'fix-configure phase to
replace outdated config.sub and config.guess, without aarch64 support,
[native-inputs]: add "automake".
2020-05-15 14:19:39 +02:00
Ricardo Wurmus
c7c9370dd7
gnu: openjdk12: Simplify snippet.
* gnu/packages/java.scm (openjdk12)[source]: Use regular expression in
find-files.
2020-05-15 13:09:10 +02:00
Ricardo Wurmus
7b82e1cdbe
gnu: openjdk11: Build in parallel.
* gnu/packages/java.scm (openjdk11)[arguments]: Remove #:parallel-build?,
 #:parallel-tests?, and #:make-flags options; add
"write-source-revision-file"; replace "build" phase; do not set
GUIX_LD_WRAPPER_ALLOW_IMPURITIES; pass JOBS variable to make in "build" and
"build-jre" phases.
2020-05-15 13:09:10 +02:00
Ricardo Wurmus
62d46ad613
gnu: openjdk11: Simplify snippet.
* gnu/packages/java.scm (openjdk11)[source]: Use regular expression in
find-files.
2020-05-15 13:09:10 +02:00
Ricardo Wurmus
49ad6aec80
gnu: openjdk10: Simplify snippet.
* gnu/packages/java.scm (openjdk10)[source]: Use regular expression in
find-files.
2020-05-15 13:09:10 +02:00
Ricardo Wurmus
f5789c265d
gnu: openjdk9: Build in parallel.
* gnu/packages/java.scm (openjdk9)[arguments]: Add phase
"write-source-revision-file"; replace "build" phase; add make-flags; remove
GUIX_LD_WRAPPER_ALLOW_IMPURITIES.
2020-05-15 13:09:10 +02:00
Ricardo Wurmus
b7a1cac603
gnu: openjdk9: Simplify snippet.
* gnu/packages/java.scm (openjdk9)[source]: Use only one find-files
invocation.
2020-05-15 13:09:10 +02:00
Edouard Klein
1130e8c817
gnu: Add python-selenium.
* gnu/packages/python-web.scm (python-selenium): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-05-15 12:27:22 +02:00
Jonathan Brielmaier
35d1ac7fd8
gnu: quaternion: Update to 0.0.9.4e.
* gnu/packages/messaging.scm (quaternion): Update to 0.0.9.4e.
[source]: Upstream moved the repo to quotient-im namespace.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-05-15 12:27:22 +02:00
Jonathan Brielmaier
e9c6aed15d
gnu: libqmatrixclient: Update to 0.5.3.2.
* gnu/packages/messaging.scm (libqmatrixclient): Update to 0.5.3.2.
[source]: Name changed to libquotient, will be visible in 0.6.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-05-15 12:27:22 +02:00
Ludovic Courtès
2b8a9cca01
licenses: Update Zlib license URL.
* guix/licenses.scm (zlib): Change URL.
2020-05-15 12:27:22 +02:00
Ekaitz Zarraga
e3c3fb1d39
gnu: Add openctm.
* gnu/packages/engineering.scm (openctm): New Variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2020-05-15 12:27:17 +02:00
Ludovic Courtès
01611d141e
quirks: Add patch for <https://bugs.gnu.org/41214>.
Fixes <https://bugs.gnu.org/41214>.

* guix/quirks.scm (%bug-41214-patch): New variable.
(%patches): Add it.
2020-05-15 12:27:10 +02:00
Ludovic Courtès
9db8836916
channels: 'build-from-source' restores '%guile-for-build'.
Not restoring it would cause problems when running:

  guix time-machine --commit=6298c3ffd9654d3231a6f25390b056483e8f407c

or similar because the target Guix would be built with 2.2, and then
we'd erroneously go on and attempt build the profile with 2.2.  This
would fail because profile dependencies such as "guile-gdbm-ffi" now
target 3.0.

* guix/channels.scm (call-with-guile): New procedure.
(with-guile): New macro.
(build-from-source): Use it instead of calling 'set-guile-for-build'
just once.  This ensures that '%guile-for-build' is restored
afterwards.
2020-05-15 12:27:10 +02:00
Guillaume Le Vaillant
04191985cc
gnu: chirp: Update to 20200430.
* gnu/packages/radio.scm (chirp): Update to 20200430.
2020-05-15 11:53:29 +02:00
Raghav Gururajan
729cfbdd07
gnu: blueman: Enable AppIndicator.
* gnu/packages/networking.scm (blueman) [arguments]: Remove --disable
-appindicator configure-flag.
[inputs]: Add libappindicator.

Signed-off-by: Pierre Neidhardt <mail@ambrevar.xyz>
2020-05-15 11:43:18 +02:00
Pierre Neidhardt
afc46f2267
gnu: openrct2: Update to 0.2.6.
* gnu/packages/games.scm (openrct2): Update to 0.2.6.
2020-05-15 11:30:24 +02:00
Jan (janneke) Nieuwenhuizen
0d371c633f
syscalls: Adjust 'sockaddr-in', 'sockaddr-in6' structs for the Hurd.
* guix/build/syscalls.scm (sockaddr-in,sockaddr-in6): Rename to ...
(sockaddr-in/linux, sockaddr-in6/linux): ... this.  Rename introduced bindings
as well.
(write-socket-address!/linux,read-socket-address/linux): Rename from
(write-socket-address!, read-socket-address): ... new switches between those
and ...
(write-socket-address!/hurd, read-socket-address/hurd): ... these new function.
2020-05-15 10:08:56 +02:00
Mathieu Othacehe
dff31d41d9
mailmap: Update for self.
Add "othacehe@gnu.org" mail address.
2020-05-15 09:08:46 +02:00
Jan Wielkiewicz
da358e8c88
gnu: Add ffmpeg-jami.
This package is needed because Jami uses a modified version
of ffmpeg, which provides GPU hardware acceleration, automatical
adapting of bitrate and extra codecs. Because of the configure flags
list being long, it is better to keep them separated in variables,
instead of littering the package definition.

* gnu/packages/jami.scm (ffmpeg-jami, %ffmpeg-default-configure-flags,
%ffmpeg-linux-configure-flags, %ffmpeg-linux-x86-configure-flags):
New variables.
(ffmpeg-compose-configure-flags): New procedure.
(libring)[inputs]: Use ffmpeg-jami instead of ffmpeg.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-05-15 09:08:46 +02:00
Maxim Cournoyer
cb21ae7671
etc: indent-code.el: Use the --quick option.
This prevents Emacs from loading the autoload definitions found in its
profile, which needlessly clutters the output.  It also prevents Geiser (if
installed) from blocking the script and asking the user to input the Scheme
implementation to use.

The trick for passing multiple arguments to Emacs is to use what is called a
"sesquicolon" (see https://www.emacswiki.org/emacs/EmacsScripts).

* etc/indent-code.el.in: Rename to...
* etc/indent-code.el: ...this.  Adapt the shebang to use a sesquicolon, and
pass the --quick option to Emacs.  Since this line is interpreted by the
shell, simply use Emacs from the PATH instead of from a hard coded location.
(main): New procedure, used as the entry point.
* configure.ac: Remove the warning about Emacs.  Emacs can now be installed
any time by the user if they want to use the script.
* .gitignore: No longer ignore changes to etc/indent-code.el.
2020-05-14 23:05:42 -04:00
Mark H Weaver
b6d18fbdf6
gnu: linux-libre: Update to 5.4.41.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.41.
(linux-libre-5.4-pristine-source): Update hash.
2020-05-14 18:11:26 -04:00