Commit graph

60750 commits

Author SHA1 Message Date
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
Mark H Weaver
9e5b793b69
gnu: linux-libre@5.6: Update to 5.6.13.
* gnu/packages/linux.scm (linux-libre-5.6-version): Update to 5.6.13.
(linux-libre-5.6-pristine-source): Update hash.
2020-05-14 18:10:56 -04:00
Mark H Weaver
e57aa31680
gnu: linux-libre@4.19: Update to 4.19.123.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.123.
(linux-libre-4.19-pristine-source): Update hash.
2020-05-14 18:09:59 -04:00
Ludovic Courtès
d395323343
gnu: sudo: Disable Python support when cross-compiling.
* gnu/packages/admin.scm (sudo)[arguments]: Pass "--disable-python"
when (%current-target-system) is true.
[inputs]: Remove PYTHON when (%current-target-system) is true.
2020-05-15 00:01:39 +02:00
Ludovic Courtès
4daa7a85b4
locale: Use the native gzip and libc when building locales.
This fixes system cross-compilation.

* gnu/system/locale.scm (single-locale-directory)[build]: Use the native
GZIP and LIBC.
2020-05-15 00:01:39 +02:00
Ludovic Courtès
2050734717
channels: Move quirks and patches to (guix quirks).
* guix/channels.scm (apply-patches): Don't access <patch> record
directly; use 'applicable-patch?' and 'apply-patch' instead.
(<patch>, syscalls-reexports-local-variables?)
(guile-2.2.4, %quirks, %bug-41028-patch, %patches): Move to...
* guix/quirks.scm: ... here.  New file.
(apply-patch, applicable-patch?): New procedures.
2020-05-15 00:01:39 +02:00
Ludovic Courtès
bbd9c9c901
gnu: mcron: Allow cross-compilation.
* gnu/packages/guile-xyz.scm (mcron)[native-inputs]: Add "guile-native".
2020-05-15 00:01:39 +02:00
Marius Bakke
27ced65656
gnu: blueman: Use bootstrapped tarball.
* gnu/packages/networking.scm (blueman)[source]: Switch to URL-FETCH.
[native-inputs]: Remove AUTOCONF, AUTOMAKE, AUTOGEN, and LIBTOOL.
2020-05-14 23:44:17 +02:00
Marius Bakke
ad477560be
gnu: blueman: Remove obsolete phase.
* gnu/packages/networking.scm (blueman)[arguments]: Remove setenv phase.
2020-05-14 23:44:16 +02:00
Julien Lepiller
9a9799ffa8
gnu: php: Update to 7.4.6.
* gnu/packages/php.scm (php): Update to 7.4.6.
2020-05-14 23:26:14 +02:00
Pierre Neidhardt
93c188d4c4
gnu: ccl: Update to 1.12.
* gnu/packages/lisp.scm (ccl): Update to 1.12.
[native-inputs]: Remove subversion.
[license]: Change to asl2.0.
(ccl-1.12): Remove obsolete variable.
2020-05-14 21:54:57 +02:00
Raghav Gururajan
c5a9b16dbd
gnu: blueman: Update package definition.
* gnu/packages/networking.scm (blueman): Fixes.
[version]: Upgrade to 2.1.3.
[source]<origin>[method]: Change from url-fetch to git-fetch.
[arguments]<#:phases>['setenv]: New phase.
['patch-python-references]: New phase.
['patch-external-programs]: New phase.
['patch-pulseaudio-libraries]: New phase.
['wrap-blueman-progs]: New phase.
[native-inputs]: Add autoconf, autogen, automake and gobject-introspection.
[inputs]: Add iptables and ppp. Remove adwaita-icon-theme.

Signed-off-by: Pierre Neidhardt <mail@ambrevar.xyz>
2020-05-14 19:11:27 +02:00
Nicolò Balzarotti
c7b777130f
gnu: Add libappindicator.
* gnu/packages/freedesktop.scm (libappindicator): New variable.

Signed-off-by: Pierre Neidhardt <mail@ambrevar.xyz>
2020-05-14 19:11:27 +02:00
Nicolò Balzarotti
5e2750fb9e
gnu: Add libindicator.
* gnu/packages/freedesktop.scm (libindicator): New variable.

Signed-off-by: Pierre Neidhardt <mail@ambrevar.xyz>
2020-05-14 19:11:26 +02:00
Nicolò Balzarotti
522b1148d1
gnu: Add dbus-test-runner.
* gnu/packages/glib.scm (dbus-test-runner): New variable.

Signed-off-by: Pierre Neidhardt <mail@ambrevar.xyz>
2020-05-14 19:11:26 +02:00
Ludovic Courtès
febd1fcfa0
news: Add news entry for 'guix pack -RR' and Fakechroot.
* etc/news.scm: Add entry.
2020-05-14 17:21:47 +02:00
Ludovic Courtès
6456232164
pack: Add relocation via ld.so and fakechroot.
* gnu/packages/aux-files/run-in-namespace.c (HAVE_EXEC_WITH_LOADER): New
macro.
(bind_mount): Rename to...
(mirror_directory): ... this.  Add 'firmlink' argument and use it
instead of calling mkdir/open/close/mount directly.
(bind_mount, make_symlink): New functions.
(exec_in_user_namespace): Adjust accordingly.
(exec_with_loader) [HAVE_EXEC_WITH_LOADER]: New function.
(exec_performance): New function.
(engines): Add them.
* guix/scripts/pack.scm (wrapped-package)[fakechroot-library]
[audit-module]: New procedures.
[audit-source]: New variable.
[build](elf-interpreter, elf-loader-compile-flags): New procedures.
(build-wrapper): Use them.
* tests/guix-pack-relocatable.sh: Test with
'GUIX_EXECUTION_ENGINE=fakechroot'.
* doc/guix.texi (Invoking guix pack): Document the 'performance' and
'fakechroot' engines.
* gnu/packages/aux-files/pack-audit.c: New file.
* Makefile.am (AUX_FILES): Add it.
2020-05-14 17:21:27 +02:00
Ludovic Courtès
4449e7c5e4
gnu: Add fakechroot.
* gnu/packages/linux.scm (fakechroot): New variable.
2020-05-14 17:21:27 +02:00
Ludovic Courtès
0cd13e72f2
pack: Factorize store references in wrapper.
* gnu/packages/aux-files/run-in-namespace.c (original_store): New variable.
(exec_in_user_namespace, exec_with_proot, main): Use it instead of the
literal "@STORE_DIRECTORY@".
2020-05-14 17:21:27 +02:00
Ludovic Courtès
fde2aec3f4
pack: Wrapper honors 'GUIX_EXECUTION_ENGINE' environment variable.
* gnu/packages/aux-files/run-in-namespace.c (struct engine): New type.
(exec_default): New function.
(engines): New variable.
(execution_engine): New function.
(main): Use it instead of calling 'exec_in_user_namespace' and
'exec_with_proot' directly.
* tests/guix-pack-relocatable.sh: Add test with 'GUIX_EXECUTION_ENGINE'.
* doc/guix.texi (Invoking guix pack): Document 'GUIX_EXECUTION_ENGINE'.
2020-05-14 17:21:27 +02:00
Ludovic Courtès
80963744a2
store: 'mapm/accumulate-builds' preserves '%current-target-system'.
Fixes <https://bugs.gnu.org/41182>.

* guix/store.scm (mapm/accumulate-builds): Pass #:system and #:target to
'run-with-store'.
* tests/store.scm ("mapm/accumulate-builds, %current-target-system"):
New test.
* tests/guix-pack.sh: Add 'guix pack -d --target' test.
2020-05-14 17:21:27 +02:00
Ludovic Courtès
f52fbf7094
packages: Ensure bags are insensitive to '%current-target-system'.
Fixes a bug whereby a bag's transitive dependencies would depend on the
global '%current-target-system' value.

Partly fixes <https://issues.guix.gnu.org/41182>.

* guix/packages.scm (bag-transitive-inputs)
(bag-transitive-build-inputs, bag-transitive-target-inputs):
Parameterize '%current-target-system'.
* tests/packages.scm ("package->bag, sensitivity to %current-target-system"):
New test.
2020-05-14 17:21:27 +02:00
Ludovic Courtès
a89df83c79
pack: Do not cross-compile the image building tools.
Until now, something like:

  guix pack -f docker --target=arm-linux-gnueabihf

would attempt to cross-compile tar.

* guix/scripts/pack.scm (self-contained-tarball): Pass #:target to
'gexp->derivation'.
(squashfs-image): Use #+ instead of #$ for ARCHIVER.  Use 'file-append'
instead of 'string-append'.  Pass #:target to 'gexp->derivation'.
(docker-image): Likewise.
2020-05-14 17:21:27 +02:00
Guillaume Le Vaillant
19e8a75418
gnu: dump1090: Don't hard-code CC=gcc.
* gnu/packages/radio.scm (dump1090)[arguments]: Add 'make-flags' field to set
  'CC' to the right compiler, remove 'configure' phase.
2020-05-14 17:17:47 +02:00
Guillaume Le Vaillant
ac4847ebaf
gnu: js8call: Fix undefined symbol error when starting the program.
* gnu/packages/radio.scm (js8call)[arguments]: Add 'work-around-runtime-bug'
  phase.
2020-05-14 17:17:47 +02:00
Guillaume Le Vaillant
b79794a763
gnu: wsjtx: Fix undefined symbol error when starting the program.
* gnu/packages/radio.scm (wsjtx)[arguments]: Add 'work-around-runtime-bug'
  phase.
2020-05-14 17:17:47 +02:00
Jan (janneke) Nieuwenhuizen
7adb529949
gnu: Add sparse.
* gnu/packages/c.scm (sparse): New variable.
2020-05-14 16:57:31 +02:00
Jonathan Brielmaier
5c7e477c6c
gnu: exo: Fix exo-compose-mail.
Fixes <https://issues.guix.gnu.org/issue/41244>.

* gnu/packages/xfce.scm (exo)[arguments]: Add wrap-exo-compose-mail phase so
it can find URI::Escape from perl-uri.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2020-05-14 16:48:45 +02:00
Efraim Flashner
355892e1c2
gnu: qemu-minimal: Only build for the host's architecture.
* gnu/packages/virtualization.scm (qemu-minimal)[arguments]: Adjust
configure-flags so that each architecture only builds for its native
architectures.
[synopsis]: Adjust to clarify it's only for the host's architecture.
2020-05-14 17:28:05 +03:00
Marius Bakke
f227dd489b
gnu: python-automat: Update to 20.2.0.
Fixes <https://bugs.gnu.org/41249>.
Reported by Mikhail Tsykalov <tsymsh@gmail.com>.

* gnu/packages/python-xyz.scm (python-automat): Update to 20.2.0.
2020-05-14 16:23:50 +02:00
Brice Waegeneire
32290b2c35
gnu: hackrf: Simplify installation instructions.
* gnu/packages/radio.scm (hackrf)[description]: Replace
'modify-services' snippet with 'udev-rules-service'.
2020-05-14 15:54:34 +02:00
Brice Waegeneire
aee7d000f8
gnu: rtl-sdr: Simplify installation instructions.
* gnu/packages/radio.scm (rtl-sdr)[description]: Replace
'modify-services' snippet with 'udev-rules-service'.
2020-05-14 15:54:09 +02:00
Giacomo Leidi
85eed078ff
gnu: python-language-server: Update to 0.32.0.
* gnu/packages/python-xyz.scm (python-language-server): Update to 0.32.0,
[propagated-inputs]: Remove PYTHON-JEDI-0.15. Add PYTHON-JEDI.
(python-jedi-0.15, python-parso-0.5): Remove variables.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2020-05-14 15:31:23 +02:00