summaryrefslogtreecommitdiff
path: root/gnu/local.mk
AgeCommit message (Expand)Author
2021-12-23Remove VM generation dead-code....This code duplicates the (gnu system image) and (gnu build image) code. Using VM for image generation is not needed, not portable and really slow. Remove all the VM image generation code to make sure that only the image API is used. * gnu/build/vm.scm: Remove it. Move the qemu-command procedure to ... * gnu/build/marionette.scm: ... here. * gnu/local.mk (GNU_SYSTEM_MODULES): Adapt it. * tests/modules.scm: Ditto. * gnu/tests/install.scm: Ditto. * gnu/system/vm.scm: Adapt it and remove expression->derivation-in-linux-vm, qemu-img, system-qemu-image/shared-store and system-docker-image procedures. * doc/guix.texi (G-Expressions): Adapt it. Mathieu Othacehe
2021-12-20gnu: opencv: Update to 4.5.4....* gnu/packages/patches/opencv-fix-build-of-grfmt_jpeg2000.cpp.patch: Delete file. * gnu/packages/patches/opencv-rgbd-aarch64-test-fix.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove patches. * gnu/packages/image-processing.scm (opencv): Update to 4.5.4. [source]: Remove patch; keep bundled quirc. [arguments]: Build without ade; update build phase 'disable-broken-tests; remove build phase 'add-ilmbase-include-path. [native-inputs]: Update source hashes for opencv-contrib and opencv-extra. [inputs]: Use new style; add imath and openblas; replace openexr-2 with openexr. [description]: Reformat first paragraph. Ricardo Wurmus
2021-12-19gnu: xdg-desktop-portal-wlr: Add binary dependencies....* gnu/packages/patches/xdg-desktop-portal-wlr-harcoded-length.patch: Add it. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/freedesktop.scm (xdg-desktop-portal-wlr): Add dependencies on bash-minimal, grim and slurp, and hardcode the paths in source. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Josselin Poiret
2021-12-19gnu: bear: Update to 3.0.17....* gnu/packages/build-tools.scm (bear): Update to 3.0.17. [source]: Remove patch, and… [arguments]: …replace it with a new 'disable-TEST_BEFORE_INSTALL phase. Don't explicitly return #t from other phases. * gnu/packages/patches/bear-disable-preinstall-tests.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it. Tobias Geerinckx-Rice
2021-12-18gnu: sssd: Fix build with glibc-2.33...* gnu/packages/patches/sssd-collision-with-external-nss-symbol.patch: Commit from sssd repo * gnu/packages/sssd.scm: Add patch Signed-off-by: Ludovic Courtès <ludo@gnu.org> Remco van 't Veer
2021-12-18gnu: Add Dyninst....* gnu/packages/instrumentation.scm: New file * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Olivier Dion
2021-12-18gnu: trytond: Ensure all modules are found....If the python package matching trytond is not installed alongside to trytond, PYTHONPATH is not set (or pointing to a wrong version) and trytond (and the trytond tools) would not find the trytond modules. This change introduces a new native-search-path GUIX_TRYTOND_MODULES_PATH. Trytond gets patched to honor this environment variable. Thanks to Maxim Cournoyer, whose code for guix-pythonpath-search-path was the template for guix-trytonpath-search-path. * gnu/packages/patches/trytond-add-guix_trytond_path.patch: New file. * gnu/local.mk: (dist_patch_DATA): Add it. * gnu/packages/tryton.scm (trytond): Use it. [native-search-paths]: New element. (guix-trytonpath-search-path): New function. Hartmut Goebel
2021-12-18gnu: trytond: Fix import of trytond modules....For adding modules, trytond uses entry-points, anyhow relying on the modules being named "trytond.modules.xxx" and being placed in the same filesystem path as "trytond.modules". The package "trytond.modules" is not a namespace module, anyhow trytond modules must be sub-modules of "trytond.modules". This works well if all packages are installed into the same filesystem path "…/trytond/modules": The Python importer will find all sub_modules at this place. Anyhow, in Guix, modules don't share the same filesystem path and the Python importer will not find them. Solution is to add all trytond module's locations to "trytond.modules._path__". This will make "trytond.module" behave much like a namespace module and the importer pick up the module. * gnu/packages/patches/trytond-add-egg-modules-to-path.patch: New file. * gnu/packages/tryton.scm (trytond): Use it. * gnu/local.mk (dist_patch_DATA): Add it Hartmut Goebel
2021-12-18gnu: build: Register missing patches....* gnu/local.mk (dist_patch_DATA): Add gcc-cross-gxx-include-dir.patch, gcc-10-cross-environment-variables.patch, gnome-session-support-elogind.patch, icedtea-7-hotspot-aarch64-use-c++98.patch, libvirt-create-machine-cgroup.patch, openjdk-14-builtins.patch, python-babel-fix-parse-future-test.patch, rust-wl-clipboard-rs-newer-wl.patch, streamlink-update-test.patch. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr> Josselin Poiret via Guix-patches via
2021-12-17gnu: grfcodec: Fix build with GCC 10....* gnu/packages/patches/grfcodec-gcc-compat.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/game-development.scm (grfcodec)[source](patches): New field. [arguments]: Remove trailing #t. Marius Bakke
2021-12-16gnu: xf86-video-qxl: Fix build....* gnu/packages/patches/xf86-video-qxl-fix-build.patch: Add patch. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/xorg.scm (xf86-video-qxl): Apply it. Maxim Cournoyer
2021-12-17gnu: telepathy-glib: Update to 0.24.2....* gnu/packages/glib.scm (telepathy-glib): Update to 0.24.2. [source]: Drop upstreamed patches. * gnu/packages/patches/telepathy-glib-channel-memory-leak.patch: Remove file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. Liliana Marie Prikler
2021-12-17gnu: Remove unreferenced nss/fixed....* gnu/packages/nss.scm (nss/fixed): Remove variable. * gnu/packages/patches/nss-CVE-2021-43527.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it. Tobias Geerinckx-Rice
2021-12-16gnu: python-magic: Work around crash on .crx files....* gnu/packages/patches/python-magic-python-bytecode.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/python-xyz.scm (python-magic)[source](patches): Add it. [inputs]: Add FILE-NEXT. [arguments]: While at it, remove input labels. * gnu/packages/diffoscope.scm (diffoscope)[native-inputs]: Add FILE-NEXT. Marius Bakke
2021-12-16gnu: ungoogled-chromium: Unexpire accelerated video decoding....* gnu/packages/patches/ungoogled-chromium-accelerated-video-decode.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/chromium.scm (%guix-patches): Add it. Marius Bakke
2021-12-16gnu: ungoogled-chromium: Enable RUNPATH validation....* gnu/packages/patches/ungoogled-chromium-RUNPATH.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/chromium.scm (%guix-patches): Add it. (ungoogled-chromium)[arguments]: Remove #:validate-runpath?. Marius Bakke
2021-12-16gnu: php: Properly fix openssl_x509_checkpurpose_basic.phpt....* gnu/packages/php.scm (php)[source]: Add patch. * gnu/packages/patches/php-openssl_x509_checkpurpose_basic.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Thanks to Diego Nicola Barbato <dnbarbato@posteo.de> Tobias Geerinckx-Rice
2021-12-16gnu: Add js-mathjax-3....* gnu/packages/javascript.scm (js-mathjax-3): New variable. * gnu/packages/patches/mathjax-disable-webpack.patch, gnu/packages/patches/mathjax-no-a11y.patch: New patches. * gnu/local.mk (dist_patch_DATA): Register them. Lars-Dominik Braun
2021-12-15gnu: spice-vdagent: Fix build with glib >= 2.68....* gnu/packages/spice.scm (spice-vdagent)[source]: Add patch. * gnu/packages/patches/spice-vdagent-glib-2.68.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Tobias Geerinckx-Rice
2021-12-14gnu: i7z: Fix building with GCC >= 10....* gnu/packages/hardware.scm (i7z)[source]: Add patch. * gnu/packages/patches/i7z-gcc-10.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Tobias Geerinckx-Rice
2021-12-13gnu: python-versioneer: Add support for Guix build directories....* gnu/packages/patches/python-versioneer-guix-support.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/python-xyz.scm (python-versioneer)[source](patches): New field. Marius Bakke
2021-12-13Merge branch 'master' into core-updates-frozenLudovic Courtès
2021-12-12gnu: python-pyflakes@2.2: Adjust tests for Python 3.9....* gnu/packages/patches/python-pyflakes-test-location.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/python-xyz.scm (python-pyflakes-2.2): Use it. Ludovic Courtès
2021-12-12gnu: sbcl-aserve: Add HTML5 elements to htmlgen....* gnu/patches/sbcl-aserve-add-HTML-5-elements.patch: New file. * gnu/patches/sbcl-aserve-fix-rfe12668.patch: New file. * gnu/local.mk (dist_patch_DATA): Add them. * gnu/packages/lisp-xyz.scm (sbcl-aserve)[source]: Use them. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Foo Chuan Wei
2021-12-11gnu: i3status-rust: Add missing inputs....* gnu/packages/rust-apps (i3status-rust)[inputs]: Add alsa-utils, bash-minmal, coreutils, ibus, iproute, kdeconnect, lm-sensors, setxkbmap, speedtest-cli, xdg-utils, xrandr. [arguments]: Add phase to wrap-program bin/i3status-rs. * gnu/local.mk: Add patch (change not applied in 575fcd3045ff1649e5319b6701ff9e28e97793e0) Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> Petr Hodina
2021-12-10Merge remote-tracking branch 'signed/master' into core-updatesMathieu Othacehe
2021-12-10gnu: sendgmail: Don't limit domain name of sender....There are three open pull requests adding this functionality: - https://github.com/google/gmail-oauth2-tools/pull/17 (October 2019) - https://github.com/google/gmail-oauth2-tools/pull/26 (May 2020) - https://github.com/google/gmail-oauth2-tools/pull/37 (May 2021) (The patch here is identical to #26, so I just closed this one.) Meanwhile, the most recent commit to the upstream repository was in May 2019: that was the commit that first added `sendgmail`. This commit adjusts Guix's `sendgmail`, following Postel's advice, to make the command "liberal in its receiving behavior" (RFC 760): it always accepts email addresses with any domain name, as in #26, and it accepts (and ignores) the `-gsuite` flag used in #17. * gnu/packages/patches/sendgmail-remove-domain-restriction.patch: New file. This is the patch from #26. * gnu/packages/patches/sendgmail-accept-ignored-gsuite-flag.patch: New file, based on #17. * gnu/local.mk (dist_patch_DATA): Add the new patches. * gnu/packages/mail.scm (sendgmail)[source]: Apply the new patches. Increment the "revision" argument to `git-version` from 0 to 1. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Philip McGrath
2021-12-10gnu: cdrkit-libre: Fix cross-compiling....* gnu/packages/cdrom.scm (cdrkit-libre)[source]: Add patch. * gnu/packages/patches/cdrkit-libre-cross-compile.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Efraim Flashner
2021-12-09gnu: metabat: Update to 2.15....* gnu/packages/bioinformatics.scm (metabat): Update to 2.15. [source]: Remove patch. [build-system]: Use cmake-build-system. [arguments]: Adjust to new build system. * gnu/packages/patches/metabat-fix-compilation.patch: Remove file. * gnu/local.mk (dist_patch_DATA): Remove it. Ricardo Wurmus
2021-12-09gnu: bind: Update to 9.16.23 [fixes CVE-2021-25218, CVE-2021-25219]....* gnu/packages/dns.scm (isc-bind): Update to 9.16.23. [source]: Add patch. * gnu/packages/patches/bind-re-add-attr-constructor-priority.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Tobias Geerinckx-Rice
2021-12-08gnu: geeqie: Fix X11 error at startup....Fixes <https://issues.guix.gnu.org/52089>. Reported by Maxim Cournoyer <maxim.cournoyer@gmail.com>. Patch provided by John Kehayias <john.kehayias@protonmail.com>. * gnu/packages/patches/geeqie-clutter.patch: New file. * gnu/packages/image-viewers.scm (geeqie)[sources]: Use it. * gnu/local.mk (dist_patch_DATA): Add it. Ludovic Courtès
2021-12-07gnu: icecat: Update to 91.4.0-guix0-preview1 [security fixes]....Includes fixes for CVE-2021-43536, CVE-2021-43537, CVE-2021-43538, CVE-2021-43539, CVE-2021-43541, CVE-2021-43542, CVE-2021-43543, CVE-2021-43545, CVE-2021-43546, and MOZ-2021-0009. * gnu/packages/gnuzilla.scm (%icecat-version, %icecat-build-id): Update. (icecat-source): Remove icecat-CVE-2021-43527.patch, which is now included in upstream icecat. Update the gnuzilla commit, base version, and hashes. * gnu/packages/patches/icecat-CVE-2021-43527.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it. Mark H Weaver
2021-12-06gnu: helm: Fix build with GCC 9 and later....* gnu/packages/music.scm (helm)[origin]: Add patch. * gnu/packages/patches/helm-fix-gcc-9-build.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Pierre Langlois
2021-12-06gnu: go-github-com-golang-snappy: Adjust test-suite on 32-bit systems....* gnu/packages/syncthing.scm (go-github-com-golang-snappy)[source]: Add patch to skip a test on 32-bit systems. * gnu/packages/patches/go-github-com-golang-snappy-32bit-test.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Efraim Flashner
2021-12-05Merge remote-tracking branch 'origin/master' into core-updates-frozenRicardo Wurmus
2021-12-04gnu: libunwind-julia: Fix build on i686-linux....* gnu/packages/julia.scm (libunwind)[origin]<patches>: Add patch. * gnu/packages/patches/libunwind-julia-fix-GCC10-fno-common.patch: New file. * gnu/local/mk (dist_patch_DATA): Register it. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> zimoun
2021-12-03gnu: icecat: Remove vestigial icecat-78-makeicecat.patch....This is a followup to commit a63231003e7bbeafb0110b077788e47e78685f20. * gnu/packages/patches/icecat-78-makeicecat.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it. Mark H Weaver
2021-12-03gnu: icecat: Fix CVE-2021-43527....* gnu/packages/patches/icecat-CVE-2021-43527.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/gnuzilla.scm (icecat-source): Apply it. Mark H Weaver
2021-12-03gnu: nss: Fix CVE-2021-43527 via graft....* gnu/packages/patches/nss-CVE-2021-43527.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/nss.scm (nss/fixed): New variable (nss)[replacement]: New field. Mark H Weaver
2021-12-01gnu: scalapack: Update to 2.1.0....* gnu/packages/maths.scm (scalapack): Update to 2.1.0. [source]: Remove "scalapack-blacs-mpi-deprecations.patch" and add "scalapack-gcc-10-compilation.patch". [arguments]: Add 'skip-faulty-test' phase. * gnu/packages/patches/scalapack-blacs-mpi-deprecations.patch: Remove. * gnu/packages/patches/scalapack-gcc-10-compilation.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. Ludovic Courtès
2021-12-01gnu: Update Trezor support....* gnu/packages/patches/python-trezor-agent-fix-argv0.patch: Remove file. * gnu/local.mk (dist_patch_DATA): Apply previous removal. * gnu/packages/finance.scm (python-trezor-agent): Update to 0.14.4. [source]: Remove now useless patch. (python-mnemonic): Update to 0.20. (python-trezor): Update to 0.12.4 (trezor-agent): Update to 0.11.0-1. [source]: Add file-name field. [arguments]: Remove trailing #T in phases. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> Attila Lendvai
2021-12-01gnu: Add dynaconf....* gnu/packages/python-xyz.scm (dynaconf): New variable. * gnu/packages/patches/dynaconf-Unvendor-dependencies.patch: New file. * local.mk (dist_patch_DATA): Register it. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Giacomo Leidi
2021-12-01gnu: Remove duplicated patch....* gnu/local.mk (dist_patch_DATA): Remove duplicated line. Mathieu Othacehe
2021-11-30gnu: freecad: Fix build....* gnu/packages/patches/freecad-boost-serialization.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/engineering.scm (freecad) [source]: Use it. [arguments]{#:configure-flags}: Turn it into a GEXP and adapt it. Mathieu Othacehe
2021-11-30gnu: freecad: Switch to vtk-9....Switch to vtk-9 with the relevant patch to be able to get rid of vtk-8. * gnu/packages/patches/freecad-vtk9.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/engineering.scm (freecad)[source]: Use it. Mathieu Othacehe
2021-11-30gnu: coq: Update to 8.14.0....* gnu/packages/coq.scm (coq): Update to 8.14.0. (coq-bignums): Update to 8.14.0. (coq-equations): Update to 1.3. * gnu/packages/patches/coq-fix-envvars.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Julien Lepiller
2021-11-29gnu: agg: Fix build....* gnu/packages/patches/agg-2.5-gcc8.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/graphics.scm (agg)[source]: Use it. Mathieu Othacehe
2021-11-28gnu: python-trezor-agent: Fix key generation with trezor-gpg init...* gnu/packages/finance.scm (trezor-agent): Add comment on why the undoing of the wrapping is done, and also delete the irrelevant sideffect of the now undone wrapping. (python-trezor-agent): Add a patch that changes the python code to handle the argv[0] changed by the wrapping. * gnu/packages/patches/trezor-agent-fix-argv0.patch: New file. * gnu/local.mk (dist_patch_DATA): Reference patch. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> Attila Lendvai
2021-11-27gnu: u-boot: Fix rk3399 boot from emmc....* gnu/packages/bootloaders.scm (%u-boot-rk3399-enable-emmc-phy-patch): New variable. (u-boot)[origin]: Register it. * gnu/packages/patches/u-boot-rk3399-enable-emmc-phy.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Pierre Langlois
2021-11-27gnu: gnome-boxes: Add Guix logo support....* gnu/packages/patches/gnome-boxes-add-guix-logo.patch: New patch. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/gnome.scm (gnome-boxes): Use it. Mathieu Othacehe