summary refs log tree commit diff
AgeCommit message (Collapse)Author
2020-05-14pack: Add relocation via ld.so and fakechroot.Ludovic Courtès
* 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-14gnu: Add fakechroot.Ludovic Courtès
* gnu/packages/linux.scm (fakechroot): New variable.
2020-05-14pack: Factorize store references in wrapper.Ludovic Courtès
* 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-14pack: Wrapper honors 'GUIX_EXECUTION_ENGINE' environment variable.Ludovic Courtès
* 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-14store: 'mapm/accumulate-builds' preserves '%current-target-system'.Ludovic Courtès
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-14packages: Ensure bags are insensitive to '%current-target-system'.Ludovic Courtès
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-14pack: Do not cross-compile the image building tools.Ludovic Courtès
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-14gnu: dump1090: Don't hard-code CC=gcc.Guillaume Le Vaillant
* gnu/packages/radio.scm (dump1090)[arguments]: Add 'make-flags' field to set 'CC' to the right compiler, remove 'configure' phase.
2020-05-14gnu: js8call: Fix undefined symbol error when starting the program.Guillaume Le Vaillant
* gnu/packages/radio.scm (js8call)[arguments]: Add 'work-around-runtime-bug' phase.
2020-05-14gnu: wsjtx: Fix undefined symbol error when starting the program.Guillaume Le Vaillant
* gnu/packages/radio.scm (wsjtx)[arguments]: Add 'work-around-runtime-bug' phase.
2020-05-14gnu: Add sparse.Jan (janneke) Nieuwenhuizen
* gnu/packages/c.scm (sparse): New variable.
2020-05-14gnu: exo: Fix exo-compose-mail.Jonathan Brielmaier
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-14gnu: qemu-minimal: Only build for the host's architecture.Efraim Flashner
* 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-14gnu: python-automat: Update to 20.2.0.Marius Bakke
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-14gnu: hackrf: Simplify installation instructions.Brice Waegeneire
* gnu/packages/radio.scm (hackrf)[description]: Replace 'modify-services' snippet with 'udev-rules-service'.
2020-05-14gnu: rtl-sdr: Simplify installation instructions.Brice Waegeneire
* gnu/packages/radio.scm (rtl-sdr)[description]: Replace 'modify-services' snippet with 'udev-rules-service'.
2020-05-14gnu: python-language-server: Update to 0.32.0.Giacomo Leidi
* 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-14gnu: Add emacs-icomplete-vertical.Ricardo Wurmus
* gnu/packages/emacs-xyz.scm (emacs-icomplete-vertical): New variable.
2020-05-14gnu: emacs-org-re-reveal: Update to 2.12.2.Michael Rohleder
[[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-14gnu: gcc-arm-none-eabi@7-2018-q2-update: Fix conflicting GCC headers.Björn Höfling
This is a follow-up of 7f6d3f395023ff430cf8b7a981d4780698e9d132 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-14gnu: libblockdev: Set default configuration directory.Brice Waegeneire
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-14gnu: libblockdev: Appease guix lint.Brice Waegeneire
* gnu/packages/disk.scm (libblockdev)[inputs]: Move gobject-introspection to ... [native-inputs]: ... here. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-05-14gnu: udisks: Appease guix lint.Brice Waegeneire
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-14gnu: udisks: Update to 2.8.4.Brice Waegeneire
* gnu/packages/freedesktop.scm (udisks): Update to 2.8.4. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-05-14syscalls: Add 'getxattr'.Jan (janneke) Nieuwenhuizen
* guix/build/syscalls.scm (getxattr): New procedure. * tests/syscalls.scm ("getxattr, setxattr"): Test it, together with setxattr.
2020-05-14gnu: freehdl: Fix build failure.Marius Bakke
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-13compile: Reduce optimization levels for gnu/services and gnu/packages.Ludovic Courtès
* 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-13services: Add missing import.Ludovic Courtès
* gnu/services/audio.scm: Import (ice-9 format).
2020-05-13syscalls: Add 'setxattr'.Jan (janneke) Nieuwenhuizen
* guix/build/syscalls.scm (setxattr): New procedure. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2020-05-13gnu: Add libqglviewer.Kei Kebreau
* gnu/packages/qt.scm (libqglviewer): New variable.
2020-05-13gnu: hstr: Update to 2.2.Michael Rohleder
* gnu/packages/shellutils.scm (hstr): Update to 2.2. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-05-13gnu: gcc-arm-none-eabi: Fix conflicting GCC headers.Marius Bakke
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-13gnu: avr-gcc: Fix conflicting GCC headers.Marius Bakke
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-13gnu: bitcoin-core: Reformat the package definition.Christopher Baines
Change the indentation to match what Emacs does. * gnu/packages/finance.scm (bitcoin-core): Change indentation of many lines.
2020-05-13gnu: Add ruby-2.7.Ryan Prior
* gnu/packages/ruby.scm (ruby-2.7): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-05-13gnu: ruby-2.5: Update to 2.5.8.Christopher Baines
* gnu/packages/ruby.scm (ruby-2.5): Update to 2.5.8.
2020-05-13gnu: ruby-2.4: Update to 2.4.10.Christopher Baines
* 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-13gnu: ruby: Remove ruby-2.3.Christopher Baines
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-13gnu: font-gnu-freefont: Rename the ‘woff’ subdirectory.Michael Rohleder
* 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-13gnu: font-gnu-freefont: Revert fonts' subdirectory names.Raghav Gururajan
* 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-13gnu: Promote libyaml@0.2 to the default 'libyaml' variable.Marius Bakke
* 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-13gnu: libyaml@0.2: Update to 0.2.4.Marius Bakke
* gnu/packages/web.scm (libyaml-0.2): Update to 0.2.4.
2020-05-13gnu: libyaml: Fix variable name for libyaml@0.2.Marius Bakke
* 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-13gnu: appstream-glib: Remove unused input.Marius Bakke
* gnu/packages/glib.scm (appstream-glib)[inputs]: Remove LIBYAML.
2020-05-13gnu: tbb: Update to 2020.2.Marius Bakke
* gnu/packages/tbb.scm (tbb): Update to 2020.2.
2020-05-13gnu: Add ecm.Kei Kebreau
* gnu/packages/compression.scm (ecm): New variable.
2020-05-13gnu: mumi: Update to 0.0.1-2.5a57832.Ricardo Wurmus
* gnu/packages/mail.scm (mumi): Update to 0.0.1-2.5a57832. [inputs]: Remove guile-sqlite3; add guile-fibers.
2020-05-13guix: cran: Add missing default R package.pimi
* 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-13gnu: kdevelop: Update to 5.5.1.Efraim Flashner
* gnu/packages/kde.scm (kdevelop): Update to 5.5.1.
2020-05-13gnu: kdevelop-pg-qt: Update to 2.2.1.Efraim Flashner
* gnu/packages/kde.scm (kdevelop-pg-qt): Update to 2.2.1. [source]: Download using git-fetch.