Commit graph

3461 commits

Author SHA1 Message Date
Marius Bakke
4a943cfdbe
gnu: ungoogled-chromium: Update to 97.0.4692.71-1.
* gnu/packages/patches/ungoogled-chromium-system-ffmpeg.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/chromium.scm (%guix-patches): Add it.
(%chromium-version): Set to 97.0.4692.71-1.
(%ungoogled-origin, ungoogled-chromium): Update hashes.
2022-01-07 17:15:38 +01:00
Lars-Dominik Braun
927c589256
gnu: xpra: Install Cython-built libraries.
xpra would fail to start, because shared objects were
not installed. It’s not clear why it stopped working,
but it seems it was not the upgrade I reverted in commit
ab6d56d01d to fix #52869. Sorry for the
confusion :(

* gnu/packages/patches/xpra-4.2-install_libs.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/xorg.scm (xpra)[source]: Add new patch.
[arguments]: Ensure 'build phase runs and passes #:configure-flags
to setup.py.
2022-01-07 08:58:40 +01:00
Tobias Geerinckx-Rice
b4263f12ed
gnu: tremc: Fix execution with recent Python.
* gnu/packages/bittorrent.scm (tremc)[source]: Add patch.
* gnu/packages/patches/tremc-fix-decodestring.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Reported by gnoo in #guix
2022-01-06 19:36:40 +01:00
John Kehayias
b1cf1d44f4
gnu: Add openrgb.
* gnu/packages/hardware.scm (openrgb): New variable.
* gnu/packages/patches/openrgb-unbundle-hueplusplus.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Signed-off-by: Leo Famulari <leo@famulari.name>
2022-01-06 13:18:27 -05:00
John Kehayias
fb8568857f
gnu: Add hueplusplus.
* gnu/packages/hardware.scm (hueplusplus): New variable.
* gnu/packages/patches/hueplusplus-mbedtls.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2022-01-06 13:18:19 -05:00
Taiju HIGASHI
b0d25a7118
gnu: tootle: Fix build.
* gnu/packages/patches/tootle-glib-object-naming.patch,
gnu/packages/patches/tootle-reason-phrase.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/mastodon.scm (tootle)[source]: Use them.
[inputs]: Use LIBSOUP-MINIMAL-2 instead of LIBSOUP.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-01-05 23:44:18 +01:00
Tobias Geerinckx-Rice
14564f5847
gnu: linuxdcpp: Reanimate.
* gnu/packages/direct-connect.scm (linuxdcpp)[source]: Add patch and
snippet to fix build.
* gnu/packages/patches/linuxdcpp-openssl-1.1.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2022-01-05 03:54:03 +01:00
Mathieu Othacehe
84207eea2c
gnu: Add python-pdoc3.
* gnu/packages/patches/python-pdoc3-tests.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/local.mk (python-pdoc3): New variable.
2022-01-04 12:45:29 +01:00
Felix Gruber
a83dc5022b
gnu: widelands: Fix build against boost 1.77.
Widelands fails to build with boost 1.77 due to a missing include in one
of Wideland's header files that was previously indirectly included by
boost 1.76.

* gnu/packages/patches/widelands-add-missing-map-include.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/games.scm (widelands)[source]: Add patch.

Signed-off-by: Leo Famulari <leo@famulari.name>
2022-01-01 23:22:59 -05:00
Timmy Douglas
bff99f6b63
gnu: Add crun.
* gnu/packages/containers.scm (crun): New variable.
* gnu/local.mk: add containers.scm

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-01 19:06:53 +01:00
Simon South
aac3a33d1e
gnu: ragel: Fix build of knot on aarch64-linux.
Apply a patch backported from Ragel's "ragel-6" branch that allows it to
reliably generate usable code on aarch64-linux where the C/C++ "char" type is
unsigned by default, fixing the build of Knot on this platform.

* gnu/packages/patches/ragel-char-signedness.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/ragel.scm (ragel)[arguments]: Add custom phase for AArch64 that
applies the patch.
[native-inputs]: Add "patch" and patch file on AArch64.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-01 15:11:51 +01:00
Hartmut Goebel
e057383848
gnu: Add libsequoia.
* gnu/packages/sequoia.scm (sequoia-package-origin): New variable.
  (libsequoia): New variable.
* gnu/packages/patches/sequoia-fix-ffi-Makefile.patch,
  gnu/packages/patches/sequoia-remove-store.patch New files.
* gnu/local.mk (dist_patch_DATA): Add them.
2021-12-30 21:32:44 +01:00
Blake Shaw
7022eb6ea0
gnu: Add notcurses.
* gnu/packages/notcurses.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-12-29 13:19:22 -05:00
Ricardo Wurmus
9e644d979d
gnu: tensorflow: Install C headers.
* gnu/packages/machine-learning.scm (tensorflow)[arguments]: Add build phase
'patch-cmake-file-to-install-c-headers; move setting of LDFLAGS from
'build-pip-package to 'unpack-third-party-sources; move 'build-pip-package
after 'install phase.
[source]: Add patch.
* gnu/packages/patches/tensorflow-c-api-fix.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2021-12-28 19:05:32 +01:00
Eric Bavier
2c451db39a
gnu: cool-retro-term: Fix build with gcc@10.
* gnu/packages/patches/cool-retro-term-wctype.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/terminals.scm (cool-retro-term)[source]: Add
'cool-retro-term-wctype.patch'.
2021-12-27 22:53:46 -06:00
Ricardo Wurmus
e742437211
gnu: Add llvm-13.
* gnu/packages/llvm.scm (llvm-13, clang-runtime-13, clang-13,
clang-toolchain-13): New variables.
(llvm-12): Inherit from llvm-13.
* gnu/packages/patches/clang-13.0-libc-search-path.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2021-12-27 13:21:05 +01:00
Marius Bakke
52d945d382
gnu: fifengine: Fix build.
* gnu/packages/patches/fifengine-boost-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/games.scm (fifengine)[source](patches): Add it.
[arguments]: Remove defunct Python module import.
2021-12-26 00:58:27 +01:00
Ricardo Wurmus
96ccb89bef
gnu: Remove icedtea-6.
* gnu/packages/java.scm (icedtea-6): Remove variable.
* gnu/packages/patches/icedtea-6-extend-hotspot-aarch64-support.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove patch.
2021-12-23 20:27:46 +01:00
Mathieu Othacehe
05a9d1f378
Remove 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.
2021-12-23 10:54:00 +01:00
Ricardo Wurmus
5894b1210d
gnu: 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.
2021-12-20 23:23:40 +01:00
Josselin Poiret
360c10ba7e
gnu: 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>
2021-12-19 13:17:30 +01:00
Tobias Geerinckx-Rice
de01d08bdf
gnu: 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.
2021-12-19 00:36:29 +01:00
Remco van 't Veer
08b0f5c2a5
gnu: 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>
2021-12-18 22:51:54 +01:00
Olivier Dion
2068e3ccd9
gnu: 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>
2021-12-18 22:51:54 +01:00
Hartmut Goebel
d4ecdc3328
gnu: 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.
2021-12-18 15:13:57 +01:00
Hartmut Goebel
939e3813d0
gnu: 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
2021-12-18 15:13:56 +01:00
Josselin Poiret via Guix-patches via
f98edfa816
gnu: 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>
2021-12-18 00:45:38 +01:00
Marius Bakke
e0559c5314
gnu: 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.
2021-12-17 19:07:17 +01:00
Maxim Cournoyer
a7c5df90a9
gnu: 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.
2021-12-16 23:49:50 -05:00
Liliana Marie Prikler
47843a14a4
gnu: 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.
2021-12-17 04:43:08 +01:00
Tobias Geerinckx-Rice
df8a93044c
gnu: 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.
2021-12-17 03:07:52 +01:00
Marius Bakke
1f4319886a
gnu: 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.
2021-12-16 22:21:13 +01:00
Marius Bakke
745d6cb7d3
gnu: 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.
2021-12-16 22:21:12 +01:00
Marius Bakke
48a1bb314d
gnu: 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?.
2021-12-16 22:21:12 +01:00
Tobias Geerinckx-Rice
88b4dcdabe
gnu: 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>
2021-12-16 19:06:50 +01:00
Lars-Dominik Braun
44e1300994
gnu: 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.
2021-12-16 08:58:07 +01:00
Tobias Geerinckx-Rice
7166417ea6
gnu: 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.
2021-12-15 03:04:54 +01:00
Tobias Geerinckx-Rice
a0fd9a3532
gnu: 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.
2021-12-14 19:35:23 +01:00
Marius Bakke
99e0c4bc74
gnu: 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.
2021-12-13 23:28:58 +01:00
Ludovic Courtès
1052ae5f03
Merge branch 'master' into core-updates-frozen 2021-12-13 11:49:15 +01:00
Ludovic Courtès
867dcbe3a1
gnu: 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.
2021-12-12 22:16:33 +01:00
Foo Chuan Wei
d1072f21ba
gnu: 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>
2021-12-12 10:24:52 +01:00
Petr Hodina
610645b175
gnu: 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
  575fcd3045)

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-12-11 15:35:44 +01:00
Mathieu Othacehe
32750e8c3e
Merge remote-tracking branch 'signed/master' into core-updates 2021-12-10 21:49:25 +01:00
Philip McGrath
7c2d84df1c
gnu: 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>
2021-12-10 15:32:45 +01:00
Efraim Flashner
a66642f744
gnu: 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.
2021-12-10 12:57:35 +02:00
Ricardo Wurmus
0bf3c9abaa
gnu: 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.
2021-12-09 11:50:10 +01:00
Tobias Geerinckx-Rice
4ca0e9d5f7
gnu: 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.
2021-12-09 01:24:37 +01:00
Ludovic Courtès
3b8825421b
gnu: 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.
2021-12-08 22:35:03 +01:00
Mark H Weaver
906dd9ff63
gnu: 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.
2021-12-07 19:09:24 -05:00