summaryrefslogtreecommitdiff
path: root/gnu/packages/patches
AgeCommit message (Collapse)Author
2021-08-05gnu: ocaml@4.07: Fix link failure.Ludovic Courtès
The link failure shows up when using ld from GNU Binutils 2.37, and not with 2.34. * gnu/packages/patches/ocaml-multiple-definitions.patch: New file. * gnu/packages/ocaml.scm (ocaml-4.07-boot)[source]: Use it. * gnu/local.mk (dist_patch_DATA): Add it.
2021-08-03gnu: mesa-opencl, mesa-opencl-icd: Build all the LLVM targets again.Ludovic Courtès
Reported by John Kehayias <john.kehayias@protonmail.com> in <https://issues.guix.gnu.org/49794>. * gnu/packages/patches/mesa-opencl-all-targets.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/gl.scm (mesa-opencl)[source]: Use it.
2021-08-01Merge branch 'master' into core-updates-frozenMarius Bakke
2021-07-31gnu: glib-networking: Skip failing test.Ludovic Courtès
* gnu/packages/patches/glib-networking-gnutls-binding.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/gnome.scm (glib-networking)[source]: Use it.
2021-07-31gnu: gnutls: Patch the Guile bindings for EINTR/EAGAIN handling.Ludovic Courtès
* gnu/packages/patches/gnutls-guile-eintr-eagain.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/tls.scm (gnutls)[source]: Use it.
2021-07-31gnu: mesa: Update to 21.1.6.John Kehayias
* gnu/packages/gl.scm (mesa): Update to 21.1.6. * gnu/packages/patches/mesa-skip-tests.patch: Remove cache_test.c as it is no longer needed (test passes). Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-29Merge branch 'master' into core-updates-frozenMarius Bakke
Conflicts: gnu/packages/bioinformatics.scm gnu/packages/cmake.scm gnu/packages/curl.scm gnu/packages/emacs-xyz.scm gnu/packages/gpodder.scm gnu/packages/music.scm gnu/packages/patches/glibc-bootstrap-system.patch gnu/packages/python-xyz.scm gnu/packages/shells.scm gnu/packages/statistics.scm
2021-07-29gnu: julia-tracker: Patch for julia-1.6.Efraim Flashner
* 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.
2021-07-28gnu: glibc-for-bootstrap: Update patch.Franz Josef
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>
2021-07-31gnu: racket-minimal: Bootstrap from C.Philip McGrath
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>
2021-07-31gnu: racket: Unbundle racket-minimal.Philip McGrath
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>
2021-07-31gnu: onnx: Change source to 'git-fetch'.Ludovic Courtès
* 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.
2021-07-31gnu: python-onnx: Rename to "onnx".Ludovic Courtès
* 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.
2021-07-31gnu: python-onnx: Install libonnx.so and libonnx_proto.so.Ludovic Courtès
* 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.
2021-07-31gnu: python-onnx: Move comment to the patch header.Ludovic Courtès
* gnu/packages/machine-learning.scm (python-onnx): Move patch comment to... * gnu/packages/patches/python-onnx-use-system-googletest.patch: ... here.
2021-07-29gnu: Add XNNPACK.Ludovic Courtès
* 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.
2021-07-29gnu: Add FP16.Ludovic Courtès
* gnu/packages/patches/fp16-system-libraries.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/maths.scm (fp16): New variable.
2021-07-29gnu: Add cpuinfo.Ludovic Courtès
* gnu/packages/parallel.scm (cpuinfo): New variable. * gnu/packages/patches/cpuinfo-system-libraries.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it.
2021-07-29gnu: Add pthreadpool.Ludovic Courtès
* gnu/packages/parallel.scm (pthreadpool): New variable. * gnu/packages/patches/pthreadpool-system-libraries.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it.
2021-07-29gnu: Add FXDiv.Ludovic Courtès
* gnu/packages/maths.scm (fxdiv): New variable. * gnu/packages/patches/fxdiv-system-libraries.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it.
2021-07-27binutils: Fix Loongson workaround.Marius Bakke
This is a follow-up to 2fa26446a186664c6364de0536380e43113dc95f which inadvertently inverted the value of this variable. * gnu/packages/patches/binutils-loongson-workaround.patch: Flip variable value as it was before 2fa26446a186.
2021-07-25gnu: Add marble-qt.Wiktor Żelazny
* 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>
2021-07-24gnu: esmtp: Fix build with libesmtp >= 1.1.0.Tobias Geerinckx-Rice
* 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.
2021-07-24gnu: glibc: Remove versions 2.27 and 2.28.Ludovic Courtès
* gnu/packages/base.scm (glibc-2.28, glibc-2.27): Remove. * gnu/packages/patches/glibc-2.27-git-fixes.patch, gnu/packages/patches/glibc-2.27-supported-locales.patch, gnu/packages/patches/glibc-2.28-git-fixes.patch, gnu/packages/patches/glibc-2.28-supported-locales.patch: Remove. * gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2021-07-23gnu: libxml2: Update to 2.9.12.Marius Bakke
* gnu/packages/patches/libxml2-parent-pointers.patch, gnu/packages/patches/libxml2-terminating-newline.patch, gnu/packages/patches/libxml2-xpath-recursion-limit.patch: New files. * gnu/packages/patches/python-libxml2-python39-compat.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/xml.scm (libxml2): Update to 2.9.12. (python-lxml)[source](modules, snippet): New fields.
2021-07-23gnu: binutils: Update to 2.37.Marius Bakke
* gnu/packages/patches/binutils-loongson-workaround.patch: Adjust for upstream changes. * gnu/packages/patches/binutils-libiberty-endianness-bug.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/base.scm (binutils): Update to 2.37. [source](patches): Remove obsolete patch.
2021-07-23gnu: Perl: Update cross-compilation code.Marius Bakke
* gnu/packages/perl.scm (perl)[native-inputs]: Update "perl-cross" to 1.3.6. [arguments]: Remove obsolete patch. * gnu/packages/patches/perl-cross.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2021-07-23gnu: binutils: Update binutils patch for mingw.Maxime Devos
This allows "./pre-inst-env guix build hello --target=x86_64-w64-mingw32" to succeed. The binary can be run successfully under wine. * gnu/packages/patches/binutils-mingw-w64-timestamp.patch: Update to the current version in Debian. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-07-21gnu: glibc-2.31: Restore patches.Chris Marusich
Commit 87961fc965b96ac0c7a5909ac2faab2d023b5339 inadvertently modified the patch set for glibc-2.31. This change restores the original patch set. Fixes: <https://bugs.gnu.org/49516>. * gnu/packages/base.scm (glibc-2.31) [source]: Use the same patches as glibc, but replace glibc-hurd-clock_gettime_monotonic.patch with glibc-2.31-hurd-clock_gettime_monotonic.patch, and add glibc-hurd-signal-sa-siginfo.patch. * gnu/packages/patches/glibc-2.31-hurd-clock_gettime_monotonic.patch: Add it. * gnu/packages/patches/glibc-hurd-signal-sa-siginfo.patch: Add it. * gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2021-07-21gnu: extempore: Update to 0.8.9.Giacomo Leidi
* 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>
2021-07-21gnu: biber: Update to 2.16.Nathan Benedetto Proença
* gnu/packages/tex.scm (biber): Update to 2.16. [source]: Remove 'patches'. [inputs]: Add 'perl-io-string', 'perl-parse-recdescent', and 'perl-unicode-collate' (upstream appears to have fixed the issue initially mentioned as a comment: recent issue was closed after telling user to use perl-unicode-collate 1.29, which is the one available; see <https://github.com/plk/biber/issues/378>.) * gnu/packages/patches/biber-fix-encoding-write.patch, gnu/packages/patches/biber-sortinithash.patch: Remove. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2021-07-19gnu: ghostscript: Improve reproducibility of PDF document generationGuillaume Le Vaillant
* gnu/packages/patches/ghostscript-no-header-creationdate.patch: Disable writing "xmp:ModifyDate" and "xmp:CreateDate" if GS_GENERATE_UUIDS is set to "0" or "no".
2021-07-18Merge branch 'master' into core-updatesLudovic Courtès
2021-07-16gnu: Add transmission-remote-gtk.Justin Veilleux
* 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>
2021-07-16gnu: Add ark.Z572
* 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>
2021-07-12gnu: proot: Update to 5.2.0-alpha.Maxim Cournoyer
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.
2021-07-11gnu: fontconfig: Use (locally) deterministic cachingSarah Morgensen
Make fontconfig use directory contents rather than modification time to determine cache validity (by pretending that mtime is broken). * gnu/packages/patches/fontconfig-cache-ignore-mtime.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/fontutils.scm (fontconfig)[source]: Use it. [arguments]: Unset SOURCE_DATE_EPOCH for tests. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-10gnu: coreutils: Patch broken Gnulib tests.Ludovic Courtès
Fixes <https://bugs.gnu.org/49459>. * gnu/packages/patches/coreutils-gnulib-tests.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/base.scm (coreutils)[source]: Use it.
2021-07-09gnu: Add emacs-telega-server.Zhu Zihao
* 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>
2021-07-09gnu: python-seaborn: Update to 0.11.1.Ludovic Courtès
* 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.
2021-07-08gnu: glibc: Fix cross-compilation to powerpc64le-linux-gnu.Ludovic Courtès
Fixes <https://bugs.gnu.org/49417>. Reported by Maxime Devos <maximedevos@telenet.be>. * gnu/packages/patches/glibc-cross-objcopy.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/base.scm (glibc)[source]: Use it.
2021-07-07gnu: VTK 8: Re-fix a build failure with recent versions of freetype.Leo Famulari
* 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.
2021-07-07gnu: ytfzf: Fix loading of thumbnails.Raghav Gururajan
* gnu/packages/patches/ytfzf-programs.patch: Modify.
2021-07-06gnu: Add ytfzf.Raghav Gururajan
* gnu/packages/image-viewers.scm (ytfzf): New variable. Co-authored-by: jgart <jgart@dismail.de>
2021-07-04gnu: glibc: Fix cross-compilation to aarch64-linux-gnu.Ludovic Courtès
Fixes <https://bugs.gnu.org/49113>. Reported by Maxime Devos <maximedevos@telenet.be>. Previously, the cross-compiled libc.so linker script would read: OUTPUT_FORMAT(elf64-little) instead of: OUTPUT_FORMAT(elf64-littleaarch64) This is because glibc 2.33 runs "objdump -f" instead of "aarch64-linux-gnu-objdump -f" to determine the output format. * gnu/packages/patches/glibc-cross-objdump.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/base.scm (glibc)[source]: Use it.
2021-07-04gnu: libgrss: Fix CVE-2016-20011.Tobias Geerinckx-Rice
* 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.
2021-06-30gnu: tor: Update to 0.4.6.6.Efraim Flashner
* 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.
2021-06-28Revert "gnu: Add ytfzf."Raghav Gururajan
This reverts commit 3fdb2d679259f5d1541240dd4e9cedda17040bf2, as it was accidentally pushed.
2021-06-28gnu: Add ytfzf.LibreMiami
* gnu/packages/image-viewers.scm (ytfzf): New variable. Co-authored-by: Raghav Gururajan <rg@raghavgururajan.name> Co-authored-by: jgart <jgart@dismail.de>
2021-06-28gnu: Add go-1.16.Sarah Morgensen
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>