Commit graph

60669 commits

Author SHA1 Message Date
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
Ricardo Wurmus
f3e8e28152
gnu: Add emacs-icomplete-vertical.
* gnu/packages/emacs-xyz.scm (emacs-icomplete-vertical): New variable.
2020-05-14 13:13:33 +02:00
Michael Rohleder
d4e3ea3f2f
gnu: emacs-org-re-reveal: Update to 2.12.2.
[[PGP Signed Part:No public key for 7C7AFFBEFEF2CB25 created at 2020-05-14T11:15:53+0200 using RSA]]
To test this, I made a presentation about guix git workflow in emacs:
https://www.rohleder.de/~mike/guix-workflow/

maybe, its useful for someone.

From 528ccdab63cf399012582450491be6df3d8cc431 Mon Sep 17 00:00:00 2001
From: Michael Rohleder <mike@rohleder.de>
Date: Thu, 14 May 2020 08:16:49 +0000
Subject: [PATCH] gnu: emacs-org-re-reveal: Update to 2.12.2.

* gnu/packages/emacs-xyz.scm (emacs-org-re-reveal): Update to 2.12.2.
2020-05-14 11:20:51 +02:00
Björn Höfling
f6ec9f9d39
gnu: gcc-arm-none-eabi@7-2018-q2-update: Fix conflicting GCC headers.
This is a follow-up of 7f6d3f3950 and merely
a copy-and-paste of Marius Bakke's fix.

* gnu/packages/embedded.scm (gcc-arm-none-eabi-7-2018-q2-update)[arguments]:
Add phase to remove the default compiler from CPLUS_INCLUDE_PATH.
[native-inputs]: Distinguish GCC-5.
2020-05-14 10:40:30 +02:00
Brice Waegeneire
99f2c93470
gnu: libblockdev: Set default configuration directory.
Fix error from 'udisks': “Failed to get contents of the config
dir (/etc/libblockdev/conf.d/)Error opening directory
"/etc/libblockdev/conf.d/": No such file or directory.”

* gnu/packages/disk.scm (libblockdev)[arguments]: Add phase
'patch-configuration-directory'.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-05-14 11:25:46 +03:00
Brice Waegeneire
7d18deb22e
gnu: libblockdev: Appease guix lint.
* gnu/packages/disk.scm (libblockdev)[inputs]: Move
gobject-introspection to ...
[native-inputs]: ... here.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-05-14 11:25:41 +03:00
Brice Waegeneire
34316259c9
gnu: udisks: Appease guix lint.
The line is too long and HTML docs are build fine without it.

* gnu/packages/freedesktop.scm (udisks)[arguments]: Remove configure
flag '--enable-gtk-doc'.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-05-14 11:02:53 +03:00
Brice Waegeneire
59b7689e28
gnu: udisks: Update to 2.8.4.
* gnu/packages/freedesktop.scm (udisks): Update to 2.8.4.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-05-14 11:02:49 +03:00
Jan (janneke) Nieuwenhuizen
df05842332
syscalls: Add 'getxattr'.
* guix/build/syscalls.scm (getxattr): New procedure.
* tests/syscalls.scm ("getxattr, setxattr"): Test it, together with setxattr.
2020-05-14 00:48:12 +02:00
Marius Bakke
1a044e3936
gnu: freehdl: Fix build failure.
Fixes <https://bugs.gnu.org/41246>.
Reported by  tsmish <tsymsh@gmail.com>.

* gnu/packages/engineering.scm (freehdl)[source](patches): New field.
[native-inputs]: Remove GCC-5.
2020-05-14 00:21:41 +02:00
Ludovic Courtès
a4d76a514f
compile: Reduce optimization levels for gnu/services and gnu/packages.
* guix/build/compile.scm (optimization-options)[strip-option]
[override-option]: New procedures.
Add case for "gnu/services".  Change "gnu/packages" to
'-O0 -Opartial-eval'.
2020-05-13 23:35:57 +02:00
Ludovic Courtès
ad263045b9
services: Add missing import.
* gnu/services/audio.scm: Import (ice-9 format).
2020-05-13 23:35:57 +02:00
Jan (janneke) Nieuwenhuizen
d155c9d934
syscalls: Add 'setxattr'.
* guix/build/syscalls.scm (setxattr): New procedure.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2020-05-13 23:26:06 +02:00
Kei Kebreau
e792dd3244
gnu: Add libqglviewer.
* gnu/packages/qt.scm (libqglviewer): New variable.
2020-05-13 17:03:55 -04:00
Michael Rohleder
ad81708d22
gnu: hstr: Update to 2.2.
* gnu/packages/shellutils.scm (hstr): Update to 2.2.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-05-13 22:42:34 +03:00
Marius Bakke
7f6d3f3950
gnu: gcc-arm-none-eabi: Fix conflicting GCC headers.
Fixes <https://bugs.gnu.org/41210>.
Reported by Ricardo Wurmus <rekado@elephly.net>.

* gnu/packages/embedded.scm (gcc-arm-none-eabi-4.9)[arguments]: Add phase to
remove the default compiler from CPLUS_INCLUDE_PATH.
[native-inputs]: Distinguish GCC-5.
2020-05-13 21:07:40 +02:00
Marius Bakke
fd96ae4a70
gnu: avr-gcc: Fix conflicting GCC headers.
Fixes <https://bugs.gnu.org/41209>.
Reported by Ricardo Wurmus <rekado@elephly.net>.

* gnu/packages/avr.scm (avr-gcc-4.9)[arguments]: Add phase to hide the default
GCC from CPLUS_INCLUDE_PATH.
[native-inputs]: Distinguish GCC-5.
2020-05-13 21:07:40 +02:00
Christopher Baines
8ba4d8a347
gnu: bitcoin-core: Reformat the package definition.
Change the indentation to match what Emacs does.

* gnu/packages/finance.scm (bitcoin-core): Change indentation of many lines.
2020-05-13 18:57:01 +01:00
Ryan Prior
1cc7d3404f
gnu: Add ruby-2.7.
* gnu/packages/ruby.scm (ruby-2.7): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-05-13 18:45:35 +01:00
Christopher Baines
a09ff632cc
gnu: ruby-2.5: Update to 2.5.8.
* gnu/packages/ruby.scm (ruby-2.5): Update to 2.5.8.
2020-05-13 17:37:23 +01:00
Christopher Baines
dfe211f939
gnu: ruby-2.4: Update to 2.4.10.
* gnu/packages/ruby.scm (ruby-2.4): Update to 2.4.10.
[source]: Remove a now redundant patch
* gnu/packages/patches/ruby-rubygems-276-for-ruby24.patch: Delete file.
* gnu/local.mk: Remove deleted patch.
2020-05-13 17:37:23 +01:00
Christopher Baines
7f1401fe59
gnu: ruby: Remove ruby-2.3.
No packages in Guix depend on Ruby 2.3, and it was declared as end-of-life on
2019-03-31 by the upstream project.

* gnu/packages/ruby.scm (ruby-2.3): Remove variable.
2020-05-13 17:37:23 +01:00
Michael Rohleder
bb3685e8d7
gnu: font-gnu-freefont: Rename the ‘woff’ subdirectory.
* gnu/packages/fonts.scm (font-gnu-freefont)[arguments]: Install WOFFs
into ‘share/fonts/webfonts’.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2020-05-13 18:34:29 +02:00
Raghav Gururajan
7d426c5b0e
gnu: font-gnu-freefont: Revert fonts' subdirectory names.
* gnu/packages/fonts.scm (font-gnu-freefont)[arguments]<#:phases>:
Change ‘share/fonts’ subdirectories from ‘ttf’ and ‘otf’ back to
‘truetype’ and ‘opentype’, respectively.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2020-05-13 18:10:01 +02:00
Marius Bakke
1b35d3033d
gnu: Promote libyaml@0.2 to the default 'libyaml' variable.
* gnu/packages/web.scm (libyaml): Update to 0.2.4.
(libyaml-0.2): Remove variable.
* gnu/packages/haskell-xyz.scm (ghc-libyaml)[inputs]: Change from LIBYAML-0.2
to LIBYAML.
2020-05-13 16:19:05 +02:00
Marius Bakke
e3e24d80e3
gnu: libyaml@0.2: Update to 0.2.4.
* gnu/packages/web.scm (libyaml-0.2): Update to 0.2.4.
2020-05-13 16:17:03 +02:00
Marius Bakke
f35978ff10
gnu: libyaml: Fix variable name for libyaml@0.2.
* gnu/packages/web.scm (libyaml-2.1): Rename to ...
(libyaml-0.2): ... this.
* gnu/packages/haskell-xyz.scm (ghc-libyaml)[inputs]: Adjust accordingly.
2020-05-13 16:16:42 +02:00
Marius Bakke
ff229e6c46
gnu: appstream-glib: Remove unused input.
* gnu/packages/glib.scm (appstream-glib)[inputs]: Remove LIBYAML.
2020-05-13 16:15:30 +02:00
Marius Bakke
8c19e2a92a
gnu: tbb: Update to 2020.2.
* gnu/packages/tbb.scm (tbb): Update to 2020.2.
2020-05-13 16:14:24 +02:00
Kei Kebreau
3480ceb10a
gnu: Add ecm.
* gnu/packages/compression.scm (ecm): New variable.
2020-05-13 09:32:57 -04:00
Ricardo Wurmus
3fa02b2d8c
gnu: mumi: Update to 0.0.1-2.5a57832.
* gnu/packages/mail.scm (mumi): Update to 0.0.1-2.5a57832.
[inputs]: Remove guile-sqlite3; add guile-fibers.
2020-05-13 14:02:58 +02:00
pimi
daf9fa94e2
guix: cran: Add missing default R package.
* guix/import/cran.scm (default-r-packages): Add "datasets" to the list of
default R packages.

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