summaryrefslogtreecommitdiff
path: root/gnu/packages/patches
AgeCommit message (Expand)Author
2021-07-31gnu: racket-minimal: Bootstrap from C....This commit bootstraps the Racket compiler and runtime system from source, including Racket CS as well as both variants of Racket BC. (One remaining limitation is discussed in comments added to gnu/packages/racket.scm.) In the process, it moves to building minimal Racket from the Git repository, rather than the packaged source tarballs. The Git repository is slightly better as the ``corresponding source'': 1. A few packages especially closely tied to the Racket core implementation (like "compiler-lib", "base", and "racket-doc") are developed in the same Git repository. Having them use the same Guix origin, too, will help to keep them in sync. 2. The top-level Makefile in the Git repository is an important ``script[] used to control compilation and installation.'' In particular, it cooperates with the "distro-build" package to create the source tarballs and installers for a Racket distribution. (Racket supports a notion of custom distributions.) 3. It is ``the preferred form ... for making modifications'' to the core Racket implementation. Racket releases are tagged in the Git repository (e.g. "v8.1"). At the beginning of each release cycle, a branch is created to stabilizer a version for extra testing. Active development happens on the "master" branch. * gnu/packages/racket-minimal-sh-via-rktio.patch: Adjust for extra directory layer. * gnu/local/racket.scm (cfg-flag:sh-for-rktio, cfg-flag:enable-lt, cfg-flag:enable-racket, unpack-nanopass+stex, %main-repo-main-distribution-pkgs): New private variables. * gnu/local/racket.scm (racket-minimal)[source]: Use Git. [source](snippet): Unbundle nanopass, stex, and libffi. [native-inputs]: Use racket-bootstrap-chez-bootfiles, plus its dependencies (for Chez, plus a Racket for bootstrap pig). [arguments]: Revise extensively. * gnu/local/racket.scm (racket-minimal-bc-3m, racket-minimal-bc-cgc): New packages, hidden at least for now. (racket-bootstrap-chez-bootfiles): Another new package, but this one is especially likely to stay hidden. * gnu/local/racket.scm (racket)[origin](snippet): Unbundle packages developed in the main Git repository, but leave their links.rktd and pkgs.rktd entries in place. [native-inputs]: Add the main Racket Git repository. [arguments](#:phases): Adjust 'unpack-packages to also unpack package sources from the main Racket Git repository. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Philip McGrath
2021-07-31gnu: racket: Unbundle racket-minimal....This change takes advantage of improved support for layered and tethered installations in Racket 8.2. * gnu/packages/racket.scm (extend-layer): New private variable. This is a script for configuring a new config-tethered layer chaining to an existing Racket installation. * gnu/packages/racket.scm (racket)[source](snippet): Unbundle `racket-minimal`. [inputs]: Remove inputs that properly belong to `racket-minimal`. [native-inputs]: Add `racket-minimal` and `extend-layer`. [arguments]: Stop inheriting from `racket-minimal`. Add phase 'unpack-packages to move the sources and links file into place. Replace 'configure phase using `extend-layer`. Replace 'build phase using `raco setup`. Delete 'install phase. * gnu/packages/patches/racket-sh-via-rktio.patch: Rename to ... * gnu/packages/patches/racket-minimal-sh-via-rktio.patch: ... this file to placate `guix lint`. * gnu/local.mk (dist_patch_DATA): Update accordingly. * gnu/packages/racket.scm (racket-minimal)[source]: Likewise. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Philip McGrath
2021-07-31gnu: onnx: Change source to 'git-fetch'....* gnu/packages/machine-learning.scm (onnx)[source]: Change to 'git-fetch'. Add "onnx-skip-model-downloads.patch". [arguments]: Add 'make-test-directory-writable' phase. * gnu/packages/patches/onnx-skip-model-downloads.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Ludovic Courtès
2021-07-31gnu: python-onnx: Rename to "onnx"....* gnu/packages/machine-learning.scm (python-onnx): Rename to... (onnx): ... this, and change 'name' field accordingly. (python-onnx): New variable. * gnu/packages/patches/python-onnx-shared-libraries.patch: Rename to... * gnu/packages/patches/onnx-shared-libraries.patch: ... this. * gnu/packages/patches/python-onnx-use-system-googletest.patch: Rename to... * gnu/packages/patches/onnx-use-system-googletest.patch: ... this. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. Ludovic Courtès
2021-07-31gnu: python-onnx: Install libonnx.so and libonnx_proto.so....* gnu/packages/patches/python-onnx-shared-libraries.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/machine-learning.scm (python-onnx)[source]: Use it. [arguments]: New field. Ludovic Courtès
2021-07-31gnu: python-onnx: Move comment to the patch header....* gnu/packages/machine-learning.scm (python-onnx): Move patch comment to... * gnu/packages/patches/python-onnx-use-system-googletest.patch: ... here. Ludovic Courtès
2021-07-29gnu: Add XNNPACK....* gnu/packages/machine-learning.scm (xnnpack): New variable. * gnu/packages/patches/xnnpack-system-libraries.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Ludovic Courtès
2021-07-29gnu: Add FP16....* gnu/packages/patches/fp16-system-libraries.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/maths.scm (fp16): New variable. Ludovic Courtès
2021-07-29gnu: Add cpuinfo....* gnu/packages/parallel.scm (cpuinfo): New variable. * gnu/packages/patches/cpuinfo-system-libraries.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Ludovic Courtès
2021-07-29gnu: Add pthreadpool....* gnu/packages/parallel.scm (pthreadpool): New variable. * gnu/packages/patches/pthreadpool-system-libraries.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Ludovic Courtès
2021-07-29gnu: Add FXDiv....* gnu/packages/maths.scm (fxdiv): New variable. * gnu/packages/patches/fxdiv-system-libraries.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Ludovic Courtès
2021-07-29gnu: julia-tracker: Patch for julia-1.6....* gnu/packages/julia-xyz.scm (julia-tracker)[source]: Add patch. * gnu/packages/patches/julia-tracker-16-compat.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Efraim Flashner
2021-07-28gnu: glibc-for-bootstrap: Update patch....There was/is something funny going on with the bootstrap glibc. The symbol for posix_spawnp points to getopt_r. Which in turn leads to a lot of crashed in tests later on. I extended the glibc-bootstrap patch to work around this bug. * gnu/packages/patches/glibc-bootstrap-system.patch: Adjust patch to work correctly with new architectures. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Franz Josef
2021-07-25gnu: Add marble-qt....* gnu/packages/patches/marble-qt-add-qt-headers.patch: New patch. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/geo.scm (marble-qt): New variable. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Wiktor Żelazny
2021-07-24gnu: esmtp: Fix build with libesmtp >= 1.1.0....* gnu/packages/mail.scm (esmtp)[source]: Add patch. * gnu/packages/patches/esmtp-add-lesmtp.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Tobias Geerinckx-Rice
2021-07-21gnu: extempore: Update to 0.8.9....* gnu/packages/music.scm (extempore): Update to 0.8.6. [source]: Portaudio is no more in-tree. [arguments]: Load external libraries through patched CMakeLists.txt. [phases]: Symlink assets. * gnu/packages/patches/extempore-unbundle-external-dependencies.patch: Update accordingly. Signed-off-by: Ricardo Wurmus <rekado@elephly.net> Giacomo Leidi
2021-07-16gnu: Add transmission-remote-gtk....* gnu/packages/bittorrent.scm (transmission-remote-gtk): New variable. * gnu/packages/patches/transmission-remote-gtk-fix-appstream.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Co-authored-by: Leo Famulari <leo@famulari.name> Justin Veilleux
2021-07-16gnu: Add ark....* gnu/packages/kde-utils.scm (ark): New variable. * gnu/packages/patches/ark-skip-xar-test.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Z572
2021-07-12gnu: proot: Update to 5.2.0-alpha....This allows proot to be built for aarch64-linux and armhf-linux. * gnu/packages/patches/proot-test-fhs.patch: Delete patch. * gnu/local.mk (dist_patch_DATA): Un-register it. * gnu/packages/linux.scm: Update to 5.2.0-alpha. [patches]: Remove field. [supported-system]: New field. [tests?]: Disable for ARM-based systems. [phases]{fix-fhs-assumptions-in-tests, set-shell-file-name}: Combine into... {patch-sources}: ... this new phase. {build-manpage}: New phase. {check}: Add seccomp issue URL in comment. [native-inputs]: Add coreutils issue URL in comment. Add pkg-config and python-docutils. [inputs]: Add libarchive. Maxim Cournoyer
2021-07-09gnu: Add emacs-telega-server....* gnu/packages/emacs-xyz.scm (emacs-telega-server): New variable. * gnu/packages/patches/emacs-telega-path-placeholder.patch: New file. * gnu/package/patches/emacs-telega-patch-server-functions.patch: Remove stale patch. * gnu/local.mk (dist_patch_DATA): Update accordingly. Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at> Zhu Zihao
2021-07-09gnu: python-seaborn: Update to 0.11.1....* gnu/packages/patches/python-seaborn-kde-test.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/python-xyz.scm (python-seaborn): Use it, and update to 0.11.1. Ludovic Courtès
2021-07-07gnu: VTK 8: Re-fix a build failure with recent versions of freetype....* gnu/packages/patches/vtk-8-fix-freetypetools-build-failure.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/image-processing.scm (vtk-8): Dis-inherit from VTK. Use the package definition that predated the update to VTK 9, taken from commit f4dc8ac6dfa036d98aa0990ae22268a9650899d0. Leo Famulari
2021-07-07gnu: ytfzf: Fix loading of thumbnails....* gnu/packages/patches/ytfzf-programs.patch: Modify. Raghav Gururajan
2021-07-06gnu: Add ytfzf....* gnu/packages/image-viewers.scm (ytfzf): New variable. Co-authored-by: jgart <jgart@dismail.de> Raghav Gururajan
2021-07-04gnu: libgrss: Fix CVE-2016-20011....* gnu/packages/gnome.scm (libgrss): Add patch. * gnu/packages/patches/libgrss-CVE-2016-2001.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Tobias Geerinckx-Rice
2021-06-30gnu: tor: Update to 0.4.6.6....* gnu/packages/tor.scm (tor): Update to 0.4.6.6. [source]: Remove patch. * gnu/packages/patches/tor-fix-build-with-gcc-7.patch: Remove file. * gnu/local.mk (dist_patch_DATA): Remove it. Efraim Flashner
2021-06-28Revert "gnu: Add ytfzf."...This reverts commit 3fdb2d679259f5d1541240dd4e9cedda17040bf2, as it was accidentally pushed. Raghav Gururajan
2021-06-28gnu: Add ytfzf....* gnu/packages/image-viewers.scm (ytfzf): New variable. Co-authored-by: Raghav Gururajan <rg@raghavgururajan.name> Co-authored-by: jgart <jgart@dismail.de> LibreMiami
2021-06-28gnu: Add go-1.16....Add go@1.16 as a non-default go. Changes from 1.14: Use now-supported GO_LDSO configuration option for setting the interpreter. Bootstrap with gccgo on platforms which do not support go-1.4. Fix and re-enable cmd/go script tests. Fix typo in cgoldflags patch. Break out tests into "check" phase. Remove references to perl to reduce closure size by ~10%. Set GOCACHE so go doesn't attempt to access $HOME. * gnu/packages/patches/go-fix-script-tests.patch: New file. * local.mk (dist_patch_DATA): Register it. * gnu/packages/golang.scm (go-1.16): New variable. Use the patch. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Sarah Morgensen
2021-06-28gnu: Add oneko....* gnu/packages/toys.scm (oneko): New variable. Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at> Timotej Lazar
2021-06-28gnu: upower: Build from Git sources....* gnu/packages/gnome.scm (upower)[source]: Use GIT-FETCH and GIT-FILE-NAME. Adjust snippet. [native-inputs]: Add autoconf, automake, gtk-doc, libtool, and which. * gnu/packages/patches/upower-builddir.patch: Adjust to Makefile.am. Tobias Geerinckx-Rice
2021-06-25gnu: connman: Update to 1.40....* gnu/packages/connman.scm (connman): Update to 1.40. [source]: Remove upstreamed patch. [inputs]: Add lz4, rather than propagate it from openconnect. * gnu/packages/patches/connman-CVE-2021-33833.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it. Tobias Geerinckx-Rice
2021-06-23gnu: cups: Add replacement to fix CVE-2020-10001....* gnu/packages/patches/cups-CVE-2020-10001.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/cups.scm (cups-minimal/fixed): New variable. (cups-minimal)[replacement]: Assign it to new field. Tobias Geerinckx-Rice
2021-06-22gnu: widelands: Update to 1.0....* gnu/packages/games.scm (widelands): Update to 1.0. [source]: Download from github as there is no tarball for v1.0 on their website. [inputs]: Add curl. * gnu/packages/patches/widelands-system-wide_minizip.patch: Adjust for 1.0. CmakeLists.txt now already defines CMAKE_MODULE_PATH, so I've moved FindMinizip.cmake to this path. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> Felix Gruber
2021-06-21gnu: Add tlf....* gnu/packages/patches/tlf-support-hamlib-4.2+.patch: New file. * gnu/local.mk: Add it. * gnu/packages/radio.scm (tlf): New variable. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Jack Hill
2021-06-20gnu: linkchecker: Update to 10.0.1....* gnu/packages/web.scm (linkchecker): Update to 10.0.1. [source]: Remove patches. [inputs]: Add python-beautifulsoup4. Replace python2-dnspython-1.16, python2-pyxdg and python2-requests with python-dnspython, python-pyxdg and python-requests respectively. [native-inputs]: Replace python2-pytest, python2-miniboa and python2-parameterized with python-pytest, python-miniboa and python-parameterized respectively. [arguments]: Use python 3. Replace check phase instead of deleting the standard phase and adding a custom one. Use add-installed-pythonpath instead of setting PYTHONPATH directly. Support disabling of tests with tests?. [home-page]: Update URI. * gnu/packages/patches/linkchecker-tests-require-network.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Unregister it. Arun Isaac
2021-06-19gnu: Remove bsdiff traces....This is a follow-up to 373c7b5791acd8f377455be47260948b843dd5db. * gnu/packages/patches/bsdiff-CVE-2014-9862.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. Marius Bakke
2021-06-19gnu: efivar: Adjust for GCC 10....* gnu/packages/patches/efivar-gcc-compat.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/linux.scm (efivar)[source](patches, modules, snippet): New fields. [arguments]: Use CC-FOR-TARGET while at it. Marius Bakke
2021-06-19gnu: jfsutils: Adjust for GCC 10....* gnu/packages/patches/jfsutils-gcc-compat.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/file-systems.scm (jfsutils)[source](patches): Add it. Marius Bakke
2021-06-19gnu: isc-dhcp: Adjust for GCC 10....* gnu/packages/patches/isc-dhcp-gcc-compat.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/admin.scm (isc-dhcp)[source](patches): New field. Marius Bakke
2021-06-19gnu: ath9k-htc-firmware: Adjust for GCC 10....* gnu/packages/patches/ath9k-htc-firmware-gcc-compat.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/firmware.scm (ath9k-htc-firmware)[source](patches): Add it. Marius Bakke
2021-06-19gnu: QEMU: Adjust for Sphinx 4.0....* gnu/packages/patches/qemu-sphinx-compat.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/virtualization.scm (qemu)[source](patches): Add it. Marius Bakke
2021-06-18gnu: curl@7.77.0: Provide a correct TLS priority string....Fixes <https://bugs.gnu.org/49035>. * gnu/packages/patches/curl-7.77-tls-priority-string.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/curl.scm (curl-7.77.0)[source]: Use it. Ludovic Courtès
2021-06-18gnu: inkscape: Update to version 1.1....* gnu/packages/patches/inkscape-1.1-fix-build-witch-gcc7.5.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/inkscape.scm (inkscape-1.0) Rename to inkscape-1.1. * gnu/packages/inkscape.scm (inkscape-1.1) Update to version 1.1. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> Boris A. Dekshteyn
2021-06-17gnu: brightnessctl: Add elogind support....* gnu/packages/patches/brightnessctl-elogind-support.patch: New patch. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/linux.scm (brightnessctl)[source]: Apply it. [make-flags]: Enable logind support. [native-inputs]: Add pkg-config. [inputs]: Add elogind. Brice Waegeneire
2021-06-16gnu: HexChat: Add Libera Chat to the list of networks....* gnu/packages/patches/hexchat-add-libera-chat.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/messaging.scm (hexchat)[source]: Use it. Leo Famulari
2021-06-16gnu: Add rust-ndarray-0.13....* gnu/packages/crates-io.scm (rust-ndarray-0.13): New variable. (rust-ndarray-0.12): Inherit from above. * gnu/packages/patches/rust-ndarray-0.13-remove-blas-src.patch: New file. * gnu/local.mk: Register new file. Nicolas Goaziou
2021-06-16gnu: bash-completion: Look in user directories first....* gnu/packages/patches/bash-completion-directories.patch: Move user directories to the head of the list. Tobias Geerinckx-Rice
2021-06-14gnu: tor: Update to 0.4.6.5....* gnu/packages/tor.scm (tor): Update to 0.4.6.5. [source]: Add a patch to fix building with GCC 7. * gnu/packages/patches/tor-fix-build-with-gcc-7.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Tobias Geerinckx-Rice
2021-06-14gnu: gcc-8: Make static libs reproducible...This fixes the nonreproducibility in gcc documented here: https://reproducible-builds.org/docs/archives/#gnu-libtool * gnu/packages/patches/gcc-8-sort-libtool-find-output.patch: New patch. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/gcc.scm (gcc-8)[source]: Apply it. Carl Dong