Commit Graph

124443 Commits

Author SHA1 Message Date
Maxime Devos 96eda590e1
lint: Check that (cc-for-target) and friends are used.
"CC=gcc" is almost always incorrect; people often just don't
notice the incorrectness because they are compiling natively.
For an exception, see tzdata.

"guix style" partially made things worse, so I partially ignored it.

* guix/lint.scm (check-compiler-for-target): New linter.
* tests/lint.scm
("compiler-for-target: unconditional CC=gcc is unacceptable")
("compiler-for-target: looks through G-expressions")
("compiler-for-target: (cc-for-target) is acceptable")
("compiler-for-target: CC=gcc is acceptable when target=#false"):
Test it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-09-08 19:12:15 +02:00
Paul A. Patience 05f44bbeb4
gnu: Add asli.
* gnu/packages/graphics.scm (asli): New variable.
* gnu/packages/patches/asli-use-system-libs.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register patch.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-09-08 19:12:14 +02:00
Andy Tai 45af7b8923
gnu: parallel: Update to 20230822.
* gnu/packages/parallel.scm (parallel): Update to 20230822.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-09-08 14:31:58 +03:00
Michael Ford e65ae37671
gnu: libupnp: Update to 1.14.18.
* gnu/packages/upnp.scm (libupnp): Update to 1.14.18.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-09-08 14:31:58 +03:00
Hilton Chain 3228dcd7db
gnu: font-chiron-sung-hk: Update to 1.010.
* gnu/packages/fonts.scm (font-chiron-sung-hk): Update to 1.010.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-09-08 14:31:42 +03:00
Marius Bakke 0fbeeee7e9
services: Open vSwitch: Depend on 'user-processes' target.
* gnu/services/networking.scm (openvswitch-shepherd-service)[ovsdb](requirement):
Add user-processes.
2023-09-08 18:53:47 +08:00
Marius Bakke 41c7e74d97
gnu: openvswitch: Update to 3.2.0.
* gnu/packages/networking.scm (openvswitch): Update to 3.2.0.
2023-09-08 18:53:47 +08:00
Marius Bakke 0007b45437
gnu: iputils: Use new style.
* gnu/packages/networking.scm (iputils)[arguments]: Use G-expression.
[native-inputs]: Remove labels.
2023-09-08 18:53:47 +08:00
Marius Bakke 51939d19c1
gnu: iputils: Update to 20221126.
* gnu/packages/networking.scm (iputils): Update to 20221126.
[source](patches): Remove.
[arguments]: Remove obsolete phase.  Disable one new test.
[description]: Adjust for removed commands.
* gnu/packages/patches/iputils-libcap-compat.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2023-09-08 18:53:47 +08:00
Marius Bakke 963abdf05d
gnu: python-bitarray: Update to 2.8.1.
* gnu/packages/python-xyz.scm (python-bitarray): Update to 2.8.1.
2023-09-08 18:53:47 +08:00
Marius Bakke c14e115b8a
gnu: drbd-utils: Update to 9.25.0.
* gnu/packages/cluster.scm (drbd-utils): Update to 9.25.0.
2023-09-08 18:53:46 +08:00
Marius Bakke 6add22db1e
gnu: varnish: Update to 7.3.0.
* gnu/packages/web.scm (varnish): Update to 7.3.0.
2023-09-08 18:53:46 +08:00
Marius Bakke a71ce15c73
services: ganeti: Fix tests.
* gnu/tests/ganeti.scm (run-ganeti-test)["force-start wconfd"]: Don't use
INVOKE.
["gnt-os list"]: Import (ice-9 textual-ports).
2023-09-08 18:53:46 +08:00
Marius Bakke b41ea5dcd4
gnu: ganeti: Fix build.
* gnu/packages/patches/ganeti-lens-compat.patch,
gnu/packages/patches/ganeti-procps-compat.patch,
gnu/packages/patches/ganeti-relax-dependencies.patch,
gnu/packages/patches/ganeti-reorder-arbitrary-definitions.patch,
gnu/packages/patches/ganeti-template-haskell-2.17.patch,
gnu/packages/patches/ganeti-template-haskell-2.18.patch: New files.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/virtualization.scm (ganeti)[source](patches): Add them.
2023-09-08 18:53:46 +08:00
Efraim Flashner d4645d5d25
gnu: python-fasteners: Update to 0.17.3.
* gnu/packages/python-xyz.scm (python-fasteners): Update to 0.17.3.
[build-system]: Switch to pyproject-build-system.
[arguments]: Add custom 'check phase.
[propagated-inputs]: Remove python-monotonic and python-six.
[native-inputs]: Remove python-testtools; add python-diskcache,
python-more-itertools, and python-pytest.
2023-09-08 12:25:22 +03:00
Efraim Flashner 68132407da
gnu: python-numcodecs: Fix building on non x86 machines.
* gnu/packages/python-xyz.scm (python-numcodecs)[source]: Adjust snippet
to prevent setup.py adding unsupported architecture specific CFLAGS.
2023-09-08 12:25:22 +03:00
Efraim Flashner 420d51fa02
gnu: python-numcodecs: Remove another cythonized file.
* gnu/packages/python-xyz.scm (python-numcodecs)[source]: Remove another
cythonized file.
2023-09-08 12:25:21 +03:00
Efraim Flashner 67ffb90dcb
gnu: Remove python-pyflakes-2.2.
* gnu/packages/python-xyz.scm (python-pyflakes-2.2): Delete variable.
* gnu/packages/patches/python-pyflakes-test-location.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2023-09-08 12:25:21 +03:00
Efraim Flashner 7525396c1e
gnu: Remove python-pycodestyle-2.6.
* gnu/packages/python-xyz.scm (python-pycodestyle-2.6): Delete variable.
2023-09-08 12:25:20 +03:00
Efraim Flashner 7646ea8270
gnu: Remove python-flake8-3.8.
* gnu/packages/python-xyz.scm (python-flake8-3.8): Delete variable.
2023-09-08 12:25:20 +03:00
Efraim Flashner 17b8f3d259
gnu: python-hacking: Update to 5.0.0.
* gnu/packages/openstack.scm (python-hacking): Update to 5.0.0.
[propagated-inputs]: Remove python-flake8-3.8; add python-flake8.
[native-inputs]: Remove python-dnspython, python-mock, and python-monotonic.
2023-09-08 12:25:20 +03:00
Efraim Flashner 9144a7809a
gnu: python-eventlet: Update to 0.33.3.
* gnu/packages/python-xyz.scm (python-eventlet): Update to 0.33.3.
[propagated-inputs]: Remove python-monotonic.
[arguments]: Skip another test.
2023-09-08 12:25:19 +03:00
Andy Tai 3eb77954f9
gnu: tensorflow-lite: Update to 2.12.1.
* gnu/packages/algebra.scm (eigen-for-tensorflow-lite): Remove variable.
* gnu/packages/machine-learning.scm (tensorflow-lite): Update to 2.12.1
[arguments]<configure-flags>: Turn on GPU and RUY use; Use cmake to
find packages already in Guix as dependencies for absl-cpp, eigen,
flatbuffer, neon2ssl, cpuinfo, ruy.
[arguments]<phases>: Remove operations setting up absl-cpp, eigen, ruy,
and neon2ssl as native inouts as now we use Guix's packages of these
as dependencies. Do default build phase.
Add steps to install C shared library and benchmark_model tool.
[inputs]: Add cpuinfo, eigen, fp16, mesa-header, opencl,
pthreadpool, ruy, vulkan and xnnpack as explicit inputs.
[native-inputs]: Remove local setup of neon2ssl and ruy
as we now use Guix's packages of these as explicit dependencies.
* gnu/packages/serialization.scm (flatbuffers-next-shared): New variable,
flatbuffers-next built with -fPIC as needed by tensorflow-lite.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2023-09-08 10:53:37 +02:00
Andy Tai 2d366e309b
gnu: Add ruy.
* gnu/packages/maths.scm (ruy): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2023-09-08 10:53:37 +02:00
Andy Tai 7879ab4229
gnu: Add nsync.
* gnu/packages/c.scm (nsync): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2023-09-08 10:53:37 +02:00
Charles Jackson c6ac52e8e6
gnu: Add vim-vlime.
* gnu/packages/vim.scm (vim-vlime): New variable.

Signed-off-by: jgart <jgart@dismail.de>
2023-09-08 01:26:01 -05:00
c4droid 75ee7ec470
gnu: python-pyspnego: Update to 0.8.0.
* gnu/packages/python-xyz.scm (python-pyspnego): Update to 0.8.0.
[source]: Download from pypi.
[arguments]: Remove custom 'check phase.
[build-system]: Switch to pyproject-build-system.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-09-08 09:05:58 +03:00
Philip McGrath bb20ab942e
gnu: chez-scheme-for-racket-bootstrap-bootfiles: Remove workaround.
Architecture autodetection in rktboot was fixed upstream, and the fix is
included in racket-backport-8.10-rktboot.patch for Guix. This commit
goes beyond reverting b4fbeae3d90a5d0f8146441772436df2eb471491: the
upstream fix also supports 'pbarch' machine types, so we never need to
supply a '--machine' argument to rktboot.

* gnu/packages/chez.scm (chez-scheme-for-racket-bootstrap-bootfiles)
[arguments]: Change 'build' phase to never use '--machine' for rktboot.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-09-08 09:05:58 +03:00
Philip McGrath bce0fe8293
gnu: racket: Declare OpenSSL search paths.
Otherwise, OpenSSL used via Racket fails to find certificates, e.g. when
attempting to run 'raco pkg install'.

Fixes <https://racket.discourse.group/t/2206/8>.

* gnu/packages/racket.scm (racket-minimal)[native-search-paths]: Add
$SSL_CERT_DIR and $SSL_CERT_FILE.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-09-08 09:05:57 +03:00
Philip McGrath 0a69961953
gnu: racket: Update to 8.10.
* gnu/packages/patches/racket-rktboot-riscv64-support.patch: Move to ...
* gnu/packages/patches/racket-backport-8.10-rktboot.patch: ... this
file, together with a related upstreamed patch.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
* gnu/packages/racket/scm (%racket-origin)[patches]: Likewise.
(%racket-version): Update to 8.10.
(racket)[inputs]<data, deinprogramm, drracket, gui, htdp, math>
<net-cookies, pict, plot, racklog, redex, scribble, slideshow, snip>
<typed-racket, string-constants, syntax-color, web-server>: Update
hashes.
* gnu/packages/chez.scm (chez-scheme-for-racket): Update to
9.9.9-pre-release.17.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-09-08 09:05:47 +03:00
Ricardo Wurmus 72745172d1
gnu: Add python-fasttext.
* gnu/packages/machine-learning.scm (python-fasttext): New variable.
2023-09-07 21:39:48 +02:00
Ricardo Wurmus 6d60d7ccba
gnu: Add fasttext.
* gnu/packages/machine-learning.scm (fasttext): New variable.
2023-09-07 21:39:41 +02:00
André Batista 451ba2e5bb
gnu: lighttpd: Update to 1.4.71.
* gnu/packages/web.scm (lighttpd): Update to 1.4.71.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-09-07 20:06:02 +03:00
Artyom V. Poptsov 7cd4103e81
gnu: yggdrasil: Update to 0.4.7.
* gnu/packages/networking.scm (yggdrasil): Update to 0.4.7.
[arguments]: Use G-expressions.  Set the package build name and version.
Use go-1.20.
[propagated-inputs]: Add go-golang-org-x-tools,
go-github-com-olekukonko-tablewriter and
go-github-com-mattn-go-colorable.
* gnu/packages/patches/yggdrasil-extra-config.patch: Don't use
deprecated "ioutil".

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-09-07 18:59:58 +03:00
Artyom V. Poptsov 81bbe95cd1
gnu: go-github-com-arceliar-ironwood: Update to 0.0.0-20221115123222-ec61cea2f439.
* gnu/packages/golang.scm (go-github-com-arceliar-ironwood): Update to
  0.0.0-20221115123222-ec61cea2f439.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-09-07 18:52:25 +03:00
Greg Hogan d76d78891e
gnu: python-duckdb: Update to 0.8.1.
* gnu/packages/python-xyz.scm (python-duckdb): Update to 0.8.1.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-09-07 16:32:42 +03:00
Greg Hogan 42e41cd7b1
gnu: fmt-10: Update to 10.1.1.
* gnu/packages/pretty-print.scm (fmt-10): Update to 10.1.1.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-09-07 16:31:11 +03:00
Kabelo M'sobomvu Moiloa 811f4fc509
gnu: emacs-consult-eglot: Update 0.2.0-0.db9d41c.
* gnu/packages/emacs-xyz.scm (emacs-consult-eglot): Update 0.2.0-0.db9d41c.

Signed-off-by: Andrew Tropin <andrew@trop.in>
Co-authored-by: Andrew Tropin <andrew@trop.in>
2023-09-07 16:49:46 +04:00
Nicolas Graves 33a0a80702
gnu: Add emacs-org-ql-dynamic-agenda.
* gnu/packages/emacs-xyz.scm (emacs-org-ql-dynamic-agenda): New variable.

Signed-off-by: Andrew Tropin <andrew@trop.in>
2023-09-07 16:26:29 +04:00
Nicolas Graves a9f0b0ec7d
gnu: Add emacs-org-dynamic-agenda.
* gnu/packages/emacs-xyz.scm (emacs-org-dynamic-agenda): New variable.

Signed-off-by: Andrew Tropin <andrew@trop.in>
2023-09-07 16:26:28 +04:00
Distopico 20832dac48
gnu: Add emacs-flymake-guile.
* gnu/packages/emacs-xyz.scm (emacs-flymake-guile): New variable.

Signed-off-by: Andrew Tropin <andrew@trop.in>
2023-09-07 16:25:59 +04:00
Tim Johann 5ef28595e9
gnu: Add erlang-lfe.
* gnu/packages/erlang.scm (erlang-lfe): New variable.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-09-06 22:29:20 -04:00
Olivier Dion 21e1ba8a2c
gnu: Add csmith.
* gnu/packages/linux.scm (csmith): New variable.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-09-06 22:29:20 -04:00
Efraim Flashner c21499fce7
gnu: julia-prettytables: Update to 2.1.2.
* gnu/packages/julia-xyz.scm (julia-prettytables): Update to 2.1.2.
[arguments]: Rename custom phase 'skip-color-tests to
'skip-tests-manipulating-terminal-display and skip some more tests.
[propagated-inputs]: Add julia-offsetarrays, julia-stringmanipulation.
2023-09-07 05:08:59 +03:00
Efraim Flashner 92820c1732
gnu: Add julia-stringmanipulation.
* gnu/packages/julia-xyz.scm (julia-stringmanipulation): New variable.
2023-09-07 05:08:58 +03:00
Simon Tournier d552c2508f
guix: packages: Support package/inherit by package-field-location.
Fixes <https://issues.guix.gnu.org/65236>.

* guix/packages.scm (package-field-location): Add package/inherit case.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Reported-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-09-06 16:41:06 -04:00
Maxim Cournoyer 65dcfb3f38
.dir-locals: Streamline Geiser configuration.
Geiser now has support locating the project root and adding it to the load
path without external help; leverage it.

* .dir-locals.el [nil]: Remove obsolete Geiser configuration.  Set the
geiser-repl-per-project-p variable to t.
* doc/contributing.texi (The Perfect Setup): No longer mention explicitly
setting the geiser-guile-load-path; instead mention the effect of the
.dir-locals.el file.

Reported-by: Wolf <wolf@wolfsden.cz>
2023-09-06 14:16:22 -04:00
Tobias Geerinckx-Rice 28b22c45ee
gnu: Register ruby-nokogiri.patch.
This follows up on commit e897569778.

* gnu/local.mk (dist_patch_DATA): Add ruby-nokogiri.patch.

Reported by acrow in #guix.
2023-09-03 02:00:00 +02:00
Maxim Cournoyer 6113e0529d
gnu: gmime: Update home-page URL.
* gnu/packages/mail.scm (gmime) [home-page]: Update URL.
2023-09-06 01:25:31 -04:00
Hilton Chain c14c25b4fb
gnu: go-github-com-tdewolff-minify-v2: Regenerate hash.
* gnu/packages/golang.scm (go-github-com-tdewolff-minify-v2)[#:phases]: Add
phase 'regenerate-hash.
[native-inputs]: Add go-github-com-tdewolff-hasher.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-09-06 01:25:31 -04:00