Commit graph

124483 commits

Author SHA1 Message Date
Liliana Marie Prikler
e12610bede
gnu: Add emacs-next-pgtk-xwidgets.
* gnu/packages/emacs.scm (emacs-next-pgtk-xwidgets): New variable.
2023-09-09 16:32:31 +02:00
Liliana Marie Prikler
cef9f37999
gnu: Add emacs-next-pgtk.
* gnu/packages/emacs.scm (emacs-next-pgtk): New variable.
2023-09-09 16:32:09 +02:00
Liliana Marie Prikler
f65a727cb3
gnu: Add emacs-next.
* gnu/packages/emacs.scm (emacs->emacs-next, emacs-next): New variable.
2023-09-09 16:29:07 +02:00
Liliana Marie Prikler
1aa5537dfe
gnu: Add emacs-next-minimal.
* gnu/packages/emacs.scm (emacs-next-minimal): New variable.
2023-09-09 16:24:58 +02:00
Liliana Marie Prikler
94ca5b4357
Merge branch 'master' into emacs-team 2023-09-09 12:22:14 +02:00
Liliana Marie Prikler
db61bdd7f5
gnu: portfolio: Update to 1.0.0.
* gnu/packages/gnome-xyz.scm (portfolio): Update to 1.0.0.
[#:phases]: Add ‘skip-gtk-update-icon-cache’.
[inputs]: Replace gtk+ with gtk.
Replace libhandy with libadwaita.
[native-inputs]: Remove gtk+:bin.
Add pkg-config.
2023-09-09 10:21:00 +02:00
Liliana Marie Prikler
12d8efb1a9
gnu: capypdf: Update to 0.5.0.
* gnu/packages/pdf.scm (capypdf): Update to 0.5.0.
[arguments]<#:configure-flags>: Add “-Dcpp_std=c++23”
<#:phases>: Drop ‘add-missing-header’.
2023-09-09 10:21:00 +02:00
Janneke Nieuwenhuizen
e2e5df596f
gnu: dezyne: Update to 2.17.6.
* gnu/packages/dezyne.scm (dezyne): Update to 2.17.6.
2023-09-08 23:09:11 +02:00
Janneke Nieuwenhuizen
1ef4974be9
guix: shell: Don't whitelist / by typo in `shell-authorized-directories'.
Fixes <https://issues.guix.gnu.org/65832>.

* guix/scripts/shell.scm (authorized-shell-directory?): After warning,
continue LOOP to return valid query result for DIRECTORY.
2023-09-08 22:51:25 +02:00
Ludovic Courtès
4dd33fc628
gnu: shepherd: Switch back to Fibers 1.1 on Arm machines.
Fixes <https://issues.guix.gnu.org/64966>.

* gnu/packages/admin.scm (shepherd-0.10)[native-inputs]: Use
GUILE-FIBERS-1.1 when ‘target-arm?’ is true.

Reported-by: Timotej Lazar <timotej.lazar@araneo.si>
Reported-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Reported-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2023-09-08 19:12:15 +02:00
Artyom V. Poptsov
f4f92dd778
gnu: guile-dsv: Fix cross-compiling.
* gnu/packages/guile-xyz.scm (guile-dsv): Fix cross-compiling.
  [native-inputs]: Add "guile-3.0" and "guile-lib".
  (guile2.2-dsv) [native-inputs]: Replace "guile" with "guile-2.2"
  and "guile-lib" with "guile2.2-lib".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-09-08 19:12:15 +02:00
Artyom V. Poptsov
470ebff87b
gnu: guile2.2-dsv: Fix build.
* gnu/packages/guile-xyz.scm (guile2.2-dsv):
  [native-inputs]: Replace "guile-smc" with "guile2.2-smc" and add
  "guile2.2-lib".
  [inputs]: Replace "guile" with "guile-2.2" and "guile-smc" with
  "guile2.2-smc".
  [propagated-inputs]: Replace "guile-lib" with "guile2.2-lib" and
  "guile-smc" with "guile2.2-smc".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-09-08 19:12:15 +02:00
Artyom V. Poptsov
23cbb464ab
gnu: guile-smc: Fix build with Guile 2.2.
* gnu/packages/guile-xyz.scm (guile-smc): Fix build with Guile 2.2.
  [native-inputs]: Replace "guile" with "guile-2.2" and "guile-lib" with
  "guile2.2-lib".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-09-08 19:12:15 +02:00
Artyom V. Poptsov
d936ed6f08
gnu: guile-dsv: Update to 0.7.0.
* gnu/packages/guile-xyz.scm (guile-dsv): Update to 0.7.0.  Improve the
  package style.
  [inputs]: Add "bash-minimal".
  [native-inputs]: Add "guile-smc".
  [description}: Update.
  (guile2.2-dsv) [inputs]: Add "bash-minimal".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-09-08 19:12:15 +02:00
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 b4fbeae3d9: 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
Liliana Marie Prikler
6750c114e3
gnu: guix-emacs: Reword docstrings.
The current documentation strings cause compilation warnings; thus improve
them.

* gnu/packages/aux-files/emacs/guix-emacs.el (guix-emacs-autoload-regexp)
(guix-emacs-find-autoloads, guix-emacs-autoload-packages): Make do without
quoting 'autoload'.  Reserve quotation to variables and functions.
2023-09-07 20:25:07 +02:00
Maxim Cournoyer
b02ad19305
gnu: emacs: Reload subdirs.el files in ‘guix-emacs-autoload-packages’.
This fixes a regression introduced with 79cfe30f3 ("build-system: emacs: Use
subdirectories again.") which caused the 'guix-emacs-autoload-packages' to no
longer be able to autoload all packages.

* gnu/packages/aux-files/emacs/guix-emacs.el
(guix-emacs-autoload-packages): Reload subdirs.el files unless NO-RELOAD is
provided.  Update docstring.
* doc/guix.texi (Application Setup): Document that
‘guix-emacs-autoload-packages’ can be invoked interactively to auto-reload
newly installed Emacs packages.
* gnu/packages/emacs.scm (emacs)[arguments]<#:phases>: Call
guix-emacs-autoload-packages with an argument in the site-start.el file.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-09-07 20:25:07 +02:00
Maxim Cournoyer
05e4b3cba8
gnu: emacs: Allow producing verbose messages when loading autoloads.
* gnu/packages/aux-files/emacs/guix-emacs.el: Expound commentary.
(guix-emacs-verbose): New variable.
(guix-emacs--load-file-no-error): New procedure.
(guix-emacs-autoload-packages): Use it.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-09-07 20:25:06 +02:00
Maxim Cournoyer
d3bf08872b
gnu: emacs: Factorize a ‘guix-emacs--subdirs-files’ procedure.
* gnu/packages/aux-files/emacs/guix-emacs.el
(guix-emacs--subdirs-files): New procedure.
(guix-emacs-load-package-descriptors): Use it.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-09-07 20:25:06 +02:00