summary refs log tree commit diff
AgeCommit message (Collapse)Author
2021-10-28gnu: Add xfce4-dev-toolsDenis 'GNUtoo' Carikli
This is now needed to build newer lightdm-gtk-greeter versions * gnu/packages/xfce.scm (xfce4-dev-tools): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-28environment: Fix broken file-local variable.Zhu Zihao
* guix/scripts/environment.scm (Local Variables): Add missing eval. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-28gnu: lttng-tools: Patch default man path.Olivier Dion
* gnu/packages/linux.scm (lttng-tools) [arguments]: Add 'patch-default-man-path after 'unpack phase. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-28remote: Really build things remotely when #:build-locally? is #false.Ludovic Courtès
Fixes <https://issues.guix.gnu.org/46756>. Reported by pkill9 <pkill9@runbox.com>, Maxim Cournoyer <maxim.cournoyer@gmail.com>, and Katherine Cox-Buday <cox.katherine.e@gmail.com>. * guix/remote.scm (remote-eval): When BUILD-LOCALLY? is false, wrap 'build-derivations' call in 'with-build-handler'.
2021-10-28gnu: guix: Update to 014f1b6.Ludovic Courtès
* gnu/packages/package-management.scm (guix): Update to 014f1b6.
2021-10-27gnu: icecat: Update to 91.2.0-guix0-preview1.Mark H Weaver
* gnu/packages/gnuzilla.scm (mozilla-compare-locales) (all-mozilla-locales, %icecat-version, %icecat-build-id): Update. (icecat-source): Update upstream source hash. Update to latest gnuzilla commit. Remove the hack that provided 'rename' as 'prename'; set RENAME_CMD environment variable instead. Add python to PATH. Set PYTHONPATH appropriately. Adapt substitutions for the reorganized 'makeicecat' script. Run 'makeicecat' outside of the IceCat source directory. (icecat)[inputs]: Add cairo, font-dejavu, libpng-apng, libvpx, pciutils, hunspell, libnotify, sqlite, and zlib. Update icu4c to version 69. [native-inputs]: Update rust and cargo to 1.51. Update rust-cbindgen to 0.19. Update llvm and clang to 11. Add m4. Remove autoconf. [description]: Update embedded version number to 91. [arguments]: Remove "#:out-of-source? #t". Add "#:validate-runpath? #f". In configure-flags, add "--enable-application=browser", "--enable-rust-simd", "--enable-release", "--enable-optimize", "--enable-strip", "--disable-elf-hack", "--with-system-png", and "--with-system-zlib". Adjust the set of modules. Remove the 'link-libxul-with-libraries' and 'bootstrap' phases. Remove the sandbox whitelist population code from the 'fix-ffmpeg-runtime-linker' phase. Add a new 'build-sandbox-whitelist' phase. The new whitelist code now adds <font-dejavu>/share/fonts to the whitelist, and also the runpaths of all libraries in the 'mesa' package. Update the 'configure' phase to use clang-11 and llvm-11 for compilation (previously we used gcc), to create a 'mozconfig' file and run './mach configure' (previously we passed flags to './configure'). Update the 'build' and 'install' phases to use './mach'. Update and simplify the 'neutralise-store-references' phase. Move the 'install-desktop-entry' phase to happen after 'wrap-program', whereas previously it was run after 'configure'. In the 'wrap-program' phase, add libpng-apng and libnotify to LD_LIBRARY_PATH. (mozilla-78-compare-locales, all-mozilla-78-locales, %icecat-78-version) (icecat-78-source): New variables, containing the previous values of mozilla-compare-locales, all-mozilla-locales, %icecat-version, and icecat-source, respectively. (icedove)[source]: Use 'icecat-78-source'. * gnu/packages/patches/icecat-makeicecat.patch: Adapt to the reorganized 'makeicecat' script. * gnu/packages/patches/icecat-78-makeicecat.patch: New file, containing previous contents of icecat-makeicecat.patch. * gnu/local.mk: Add icecat-78-makeicecat.patch.
2021-10-28gnu: Add ocaml-z3.Julien Lepiller
* gnu/packages/maths.scm (ocaml-z3): New variable.
2021-10-27gnu: kicad: Update home page.Julien Lepiller
* gnu/packages/engineering.scm (kicad)[home-page]: Update.
2021-10-27gnu: python-deprecated: Update to 1.2.13.Efraim Flashner
* gnu/packages/python-xyz.scm (python-deprecated): Update to 1.2.13.
2021-10-27gnu: python-deprecated: Honor #:tests? flag.Efraim Flashner
* gnu/packages/python-xyz.scm (python-deprecated)[arguments]: Adjust custom 'check phase to honor the #:tests? flag.
2021-10-27gnu: diffoscope: Update to 188.Vagrant Cascadian
* gnu/packages/patches/diffoscope-fix-test_item3_deflate_llvm_bitcode.patch: Rename patch to... * gnu/packages/patches/diffoscope-fix-llvm-test.patch: This. * gnu/local.mk (dist_patch_DATA): Update patch name. * gnu/packages/diffoscope.scm (diffoscope): Update to 188. [source]: Update patch name. [arguments]: Add skip-python-tests phase. Add fpc-external-tool phase. Add use-dumppdf-py phase. [native-inputs]: Add fpc.
2021-10-27news: Add 'de' translation.Florian Pelz
* etc/news.scm: Add German translation of "guix shell" entry.
2021-10-27gnu: pdf2djvu: Update to 0.9.18.1.Guillaume Le Vaillant
* gnu/packages/djvu.scm (pdf2djvu): Update to 0.9.18.1. [arguments]: Add 'fix-tests' phase.
2021-10-27gnu: snooze: Fix installation destination.Tobias Geerinckx-Rice
* gnu/packages/suckless.scm (snooze)[arguments]: Remove bogus $(DESTDIR) from #:make-flags to install in $(PREFIX). Reported by Christopher Howard <christopher@librehacker.com>
2021-10-27gnu: tor: Update to 0.4.6.8.Tobias Geerinckx-Rice
* gnu/packages/tor.scm (tor): Update to 0.4.6.8. [fixes low-severity TROVE-2021-008]
2021-10-26gnu: asignify: Update to 1.1-1.08af003.Leo Famulari
* gnu/packages/crypto.scm (asignify): Update to 1.1-1.08af003.
2021-10-26gnu: Add b2sum.Leo Famulari
* gnu/packages/crypto.scm (b2sum): New variable.
2021-10-26syscalls: Gracefully handle failure to load libc's libutil.Ludovic Courtès
In particular, libutil is not found when running code on a statically-linked Guile. Reported by mahmooz on #guix. * guix/build/syscalls.scm (syscall->procedure): Add #:library parameter and honor it. (openpty, login-tty): Use 'syscall->procedure' instead of calling 'dynamic-link' directly.
2021-10-26gnu: Add yt-dlp.Robin Templeton
* gnu/packages/video.scm (yt-dlp): New variable. Co-authored-by: Morgan Smith <Morgan.J.Smith@outlook.com> Suggested-by: bdju <bdju@tilde.team> Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2021-10-26gnu: Add uuu.Mathieu Othacehe
* gnu/packages/flashing-tools.scm (uuu): New variable.
2021-10-26gnu: ruby-eventmachine: Add openssl input.Stephen Paul Weber
While EventMachine will build without openssl present, attempting to use it to make any TLS-secured connections will crash at runtime, which is not very useful. This allows the build system to find and link OpenSSL and thus TLS will work at runtime. * gnu/packages/ruby.scm (ruby-eventmachine): Add openssl input. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-26shell: Suggest running '--check' once for interactive use.Ludovic Courtès
* guix/scripts/shell.scm (hint-directory, hint-file, record-hint) (hint-given?): New procedures. (guix-shell): Record and probe the 'shell-check' hint.
2021-10-26environment: Add '--check'.Ludovic Courtès
* guix/scripts/environment.scm (show-environment-options-help) (%options): Add '--check'. * guix/scripts/environment.scm (child-shell-environment) (validate-child-shell-environment): New procedures. (guix-environment*): Call 'validate-child-shell-environment' when 'check?' key is in OPTS. * doc/guix.texi (Invoking guix shell): Shorten footnote about Bash startup files. Document '--check' and mention startup files. (Invoking guix environment): Document '--check'.
2021-10-26syscalls: Add 'openpty' and 'login-tty'.Ludovic Courtès
* guix/build/syscalls.scm (openpty, login-pty): New procedures. * tests/syscalls.scm ("openpty", "openpty + login-tty"): New tests.
2021-10-26packages: Optimize 'package-transitive-supported-systems'.Ludovic Courtès
With this change, the wall-clock time of: ./pre-inst-env guile -c '(use-modules (gnu) (guix)(ice-9 time)) (time (pk (fold-packages (lambda (p r)(supported-package? p)(+ 1 r)) 0)))' goes from 3.2s to 2.0s, a 37% improvement. * guix/packages.scm (package-transitive-supported-systems): Change 'supported-systems' to 'supported-systems-procedure', returning an 'mlambdaq' instead of the original 'mlambda'. Add 'procs'. Adjust body accordingly.
2021-10-26gnu: python-aiohttp: Remove cythonized files.Efraim Flashner
* gnu/packages/python-web.scm (python-aiohttp)[source]: Add snippet to remove generated cythonized files. [arguments]: Add phase to generate cythonized files. [native-inputs]: Add python-cython.
2021-10-26gnu: darkhttpd: Cross-compile.Tobias Geerinckx-Rice
* gnu/packages/web.scm (darkhttpd)[arguments]: Use CC-FOR-TARGET.
2021-10-26gnu: darkhttpd: Update to 1.13.Tobias Geerinckx-Rice
* gnu/packages/web.scm (darkhttpd): Update to 1.13. [source]: Use GIT-FETCH and GIT-FILE-NAME. [arguments]: Don't explicitly return #t from phases.
2021-10-26gnu: fcft: Update to 2.4.6.Tobias Geerinckx-Rice
* gnu/packages/fontutils.scm (fcft): Update to 2.4.6.
2021-10-25gnu: OpenEXR 2: Move the snippet into a build phase.Leo Famulari
This snippet was just working around a quirk of the Guix build environment. * gnu/packages/graphics.scm (openexr-2)[origin]: Remove snippet. [arguments]: Add a 'patch-test-directory' phase.
2021-10-25gnu: OpenEXR: Move the snippet into a build phase.Leo Famulari
This snippet was just working around a quirk of the Guix build environment. * gnu/packages/graphics.scm (openexr)[origin]: Remove snippet. [arguments]: Add a 'patch-test-directory' phase.
2021-10-25gnu: p11-kit: Update home page.Ludovic Courtès
* gnu/packages/tls.scm (p11-kit)[home-page]: Update.
2021-10-25gnu: xdg-desktop-portal-gtk: Propagate xdg-desktop-portal.John Kehayias
* gnu/packages/freedesktop.scm (xdg-desktop-portal-gtk)[inputs]: Fix the runtime need for xdg-desktop-portal and XDG_DESKTOP_PORTAL_DIR being written twice. Move xdg-desktop-portal to ... [propagated-inputs]: ... here. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-25gnu: flatpak: Add patch to fix paths.John Kehayias
* gnu/packages/package-management.scm (flatpak)[source]: Add patch. * gnu/packages/patches/flatpak-fix-path.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-25gnu: flatpak: Fix certificate error from p11-kit.John Kehayias
* gnu/packages/package-management.scm (flatpak)[inputs]: Add p11-kit-next. [arguments]: Add new 'p11-kit-fix phase to patch source to use p11-kit-next input instead of an implicit p11-kit from dependencies. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-25gnu: flatpak: Update to 1.12.1.John Kehayias
* gnu/packages/package-management.scm (flatpak): Update to 1.12.1. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-25gnu: p11-kit@0.24.0: Use certificates from /etc/ssl/certs.Ludovic Courtès
Fixes <https://issues.guix.gnu.org/49957>. Flatpak has a soft dependency on p11-kit, which was configured without knowledge of the system-wide CA certificate store. This caused some flatpak apps to fail with ERR_CERT_AUTHORITY_INVALID errors. Reported by Andrew Whatson <whatson@gmail.com>. * gnu/packages/tls.scm (p11-kit-next)[arguments]: New field. Co-authored-by: Andrew Whatson <whatson@gmail.com> Co-authored-by: John Kehayias <john.kehayias@protonmail.com>
2021-10-25gnu: Add p11-kit 0.24.0.John Kehayias
* gnu/packages/tls.scm (p11-kit-next): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-25gnu: xdg-desktop-portal-gtk: Update to 1.10.0.John Kehayias
* gnu/packages/freedesktop.scm (xdg-desktop-portal-gtk): Update to 1.10.0. [arguments]: Adjust configure-flags for Gnome backends in new version (defaults to disabled in this version) Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-25gnu: xdg-desktop-portal: Update to 1.10.1.John Kehayias
* gnu/packages/freedesktop.scm (xdg-desktop-portal): Update to 1.10.1. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-25gnu: libportal: Update to 0.4.John Kehayias
* gnu/packages/freedesktop.scm (libportal): Update to 0.4. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-25news: Add entry about "guix shell".Ludovic Courtès
* etc/news.scm: Add entry.
2021-10-25shell: Maintain a profile cache.Ludovic Courtès
shell: Maintain a profile cache. With this change, running "guix shell" (no arguments) is equivalent to: guix environment -r ~/.cache/guix/profiles/some-root -l guix.scm This is the cache miss. On cache hit, it's equivalent to: guix environment -p ~/.cache/guix/profiles/some-root ... which can run in 0.1s. * guix/scripts/shell.scm (options-with-caching): New procedure. (parse-args): Use it. (%profile-cache-directory): New variable. (profile-cache-key, profile-cached-gc-root): New procedures. (show-help, %options): Add '--rebuild-cache'. (guix-shell)[cache-entries, entry-expiration]: New procedures. Add call to 'maybe-remove-expired-cache-entries'. * doc/guix.texi (Invoking guix shell): Document '--rebuild-cache'.
2021-10-25cache: Gracefully handle non-existent cache.Ludovic Courtès
* guix/cache.scm (maybe-remove-expired-cache-entries): Ignore ENOENT when writing EXPIRY-FILE.
2021-10-25environment: Autoload some modules.Ludovic Courtès
This further speeds up the 'guix environment -p PROFILE' case. * guix/scripts/environment.scm: Autoload a bunch of modules.
2021-10-25environment: Do not connect to the daemon when '--profile' is used.Ludovic Courtès
This further speeds up the 'guix environment -p PROFILE' case. * guix/scripts/environment.scm (guix-environment*)[store-needed?]: New variable. [with-store/maybe]: New macro. Use it instead of 'with-store', and remove 'with-build-handler' form.
2021-10-25environment: Skip derivation computation when '--profile' is used.Ludovic Courtès
* guix/scripts/environment.scm (guix-environment*): Bypass calls to 'package-derivation' and to 'manifest->derivation' when PROFILE is true.
2021-10-25environment: Add tests for '--profile'.Ludovic Courtès
This is a followup to a643deac2de81755a1843a3b41dd53857678bebc. * tests/guix-environment-container.sh, tests/guix-environment.sh: Add tests for '--profile'.
2021-10-25shell: By default load the local 'manifest.scm' or 'guix.scm' file.Ludovic Courtès
* guix/scripts/shell.scm (parse-args): Add call to 'auto-detect-manifest'. (authorized-directory-file, authorized-shell-directory?) (find-file-in-parent-directories, auto-detect-manifest): New procedures. * tests/guix-shell.sh: Add test. * doc/guix.texi (Invoking guix shell): Document it.
2021-10-25Add 'guix shell'.Ludovic Courtès
* guix/scripts/shell.scm, tests/guix-shell.sh: New files. * Makefile.am (MODULES): Add 'shell.scm'. (SH_TESTS): Add 'tests/guix-shell.sh'. * guix/scripts/environment.scm (show-environment-options-help): New procedure. (show-help): Use it. (guix-environment*): New procedure. (guix-environment): Use it. * po/guix/POTFILES.in: Add it. * doc/guix.texi (Features): Refer to "guix shell" (Invoking guix package): Likewise. (Development): Likewise. (Invoking guix shell): New node. (Invoking guix environment): Add deprecation warning. (Debugging Build Failures): Use 'guix shell' in examples. (Invoking guix container): Refer to 'guix shell'. (Invoking guix processes, Virtualization Services): Adjust examples to use 'guix shell'. * doc/contributing.texi (Building from Git): Refer to 'guix shell'. * etc/completion/bash/guix: Handle "shell".