me
/
guix
Archived
1
0
Fork 0
Commit Graph

135390 Commits (76127069e0221a603f880a950ba0fb42a499be3d)

Author SHA1 Message Date
Ludovic Courtès 76127069e0
packages: ‘define-public’ replacement calls ‘module-export!’ directly.
This reduces code bloat and loading overhead for package modules, which
use ‘define-public’ extensively.

* guix/packages.scm (define-public*): Use ‘define’ followed by
‘module-export!’ directly instead of ‘define-public’.

Change-Id: I7f56d46b391c1e3eeeb0b9a08a9d34b5de341245
2024-05-04 19:14:24 +02:00
Ludovic Courtès c14b8636fb
records: Do not inline the constructor.
Struct initialization uses one instruction per field, which contributes
to code bloat in the case of package modules.  With this change, the
‘.rtl-text’ section of ‘gnu/packages/tex.go’ goes from 7,334,508 B to
6,356,592 B (-13%; -7% on the whole file size), which alone is still
larger than the source file (4,2 MB).

* guix/records.scm (make-syntactic-constructor)[record-inheritance]: Use
CTOR instead of ‘make-struct/no-tail’.
Pass ABI-COOKIE as the first argument to CTOR.
(define-record-type*): Define CTOR-PROCEDURE and pass it to
‘make-syntactic-constructor’.

Change-Id: Ifd7b4e884e9fbf21c43fb4c3ad963126ef5cb476
2024-05-04 19:14:24 +02:00
Ludovic Courtès b011ef4378
packages: Reduce bloat induced by ‘sanitize-inputs’.
At -O1, peval does the bulk of the optimization work and it cannot
reduce things like (null? (list 1 2)), unlike what happens in CPS at
-O2.  Thus, reduce the part of ‘sanitize-inputs’ that’s inlined.

* guix/packages.scm (maybe-add-input-labels): New procedure.
(sanitize-inputs): Turn into a macro; use ‘maybe-add-input-labels’.

Change-Id: Id2283bb5a2f5d714722200bdcfe0b0bfa606923f
2024-05-04 19:14:24 +02:00
Ludovic Courtès 2f93e1682a
records: Do not inline throws for ABI mismatches.
* guix/records.scm (record-abi-mismatch-error): New procedure.
(abi-check): Use it.

Change-Id: I49936599716e117b8fbf26fb9d8f462bbbb8e88b
2024-05-04 19:14:24 +02:00
Danny Milosavljevic 9e184d5e54
gnu: gmime: Update to 3.2.14.
* gnu/packages/mail.scm (gmime): Update to 3.2.14.
[native-inputs]: Replace autoconf by autoconf-2.71.

Change-Id: If72864085d085e55883ea1474b1c05ca1610d21a
2024-05-04 12:27:41 +02:00
Oleg Pykhalov fc607d3689
gnu: cava: Update to 0.10.1.
* gnu/packages/audio.scm (cava)[version]: Update to 0.10.1.
[native-inputs]: Add pkg-config.
[inputs]: Add alsa-lib and pipewire.

Change-Id: Iffa80b22199a032111ca06e8ed583139f35f2fab
2024-05-04 10:45:33 +03:00
Wilko Meyer 9bf19720b9
gnu: linux-libre 6.1: Update to 6.1.89.
* gnu/packages/linux.scm (linux-libre-6.1-version): Update to 6.1.89.
  (linux-libre-6.1-pristine-source): Update hashes.

Change-Id: Id48a19cc0d59b11bf17179eb5dd860ed37ac35dc
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-05-04 00:17:12 -04:00
Nicolas Goaziou aa9ac25220
gnu: emacs-lsp-metals: Update to 1.2.0-1.01060e9.
* gnu/packages/emacs-xyz.scm (emacs-lsp-metals): Update to 1.2.0-1.01060e9.

Change-Id: I6d396290aa0935a5c1cba91c95313df28c1c6949
2024-05-02 21:06:37 +02:00
Janneke Nieuwenhuizen 5010a51fc9
gnu: dezyne: Update to 2.18.2.
* gnu/packages/dezyne.scm (dezyne)[version,source]: Update to 2.18.2.

Change-Id: I604b4dc405c28a7ee711ae9f00106ab1b0685f9f
2024-05-02 13:15:03 +02:00
Florian Pelz 7477f8e96d
teams: Add myself to the documentation team.
* etc/teams.scm (Florian Pelz): Add to documentation team.

Change-Id: I904097dbaf32ed0ae80caff5ef966bed287a2a05
2024-05-02 10:56:33 +02:00
Nicolas Graves 04d4e772e5
gnu: scilab: Improve package management robustness in scilab-cli.
* gnu/packages/maths.scm (scilab)[source]<origin>: Improve
  package management robustness in scilab-cli by allowing
  tbx_build_help to log the scilab mode incompatibility error and not
  process the rest of the function instead of failing with it.
* gnu/packages/patches/scilab-tbx_build_help.patch :
  Add patch.
* gnu/local.mk(dist_patch_DATA): Add
  gnu/packages/patches/scilab-tbx_build_help.patch.

Change-Id: I8ee94afb4aba906cbc8c7ca67f4c89aa0cf55ae6
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-01 23:45:34 +02:00
Nicolas Graves 4dec5a30fe
gnu: scilab: Fixup and improve compilerDetection.sh script.
* gnu/packages/maths.scm (scilab)
  [arguments]<#:phases>: Fix compilerDetection.sh script in phase
  bootstrap-dynamic_link-scripts.
  [source]<origin>(patches): Add scilab-better-compiler-detection.patch.
* gnu/packages/patches/scilab-better-compiler-detection.patch: Add
  file.
* gnu/local.mk(dist_path_DATA): Add
  scilab-better-compiler-detection.patch.

Change-Id: I7b1c78c4637fa1bc965eca8c516bf0b6cd4b92d1
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-01 23:45:24 +02:00
Nicolas Graves df1a6c7259
gnu: scilab: Cleanup.
* gnu/packages/maths.scm (scilab):
  [arguments]<#:phases>: In pre-build phase, remove unecessary
  code, due to the former introduction of the rewrap-scilab-cli
  phase. More robust version setting in the set-version phase. It
  anticipates for the next release which will not use "main" anymore.
  [source]<origin>(snippet) Sort dynamic_link deleted files.
  [inputs]: Add bash-minimal.

Change-Id: I49b17886405e1ed8161e71b51655fa393ff7f10b
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-01 23:44:15 +02:00
Ludovic Courtès aae603980b
teams: Add myself to the documentation team.
* etc/teams.scm (Ludovic Courtès): Add to documentation team.

Change-Id: Icf71ad8e2ebbe2b65ab3b6c0cf8cd8fe60cf2d0a
2024-05-01 22:31:28 +02:00
Ludovic Courtès 54f6732e5d
teams: Add documentation team.
* etc/teams.scm (documentation): New team.

Change-Id: I34d4ed9029f369ebf0d1f510cc0810baca2ced89
2024-05-01 22:31:13 +02:00
Artyom V. Poptsov a47fe0fdc4
gnu: xdot: Update to 1.3.
* gnu/packages/graphviz.scm (xdot): Update to 1.3.
  [source]: Download the sources from GitHub as the PyPI tarbal is missing
  some test files.
  [arguments]: Use Gexps.  Add "start-xserver" and "set-test-environment"
  to setup test environment properly.  Simplify "wrap" phase.  Replace "check"
  phase to run "test.py".
  [native-inputs]: Add "gobject-introspection" and "xorg-server-for-tests".
  [inputs]: Add "bash-minimal", "mesa", "mesa-opencl", "python-numpy"
  and "vulkan-loader".

Change-Id: I7a68e9f5c1b66a6539b83623a457e16edacff012
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-01 22:24:49 +02:00
John Kehayias 2aeb9faa42
gnu: spirv-llvm-translator: Update to 18.1.0.
This fixes a build failure (after mesa-updates merge, perhaps from the
spirv-headers update).  The package version corresponds to the LLVM version
targeted, so inputs needed to be updated.

* gnu/packages/vulkan.scm (spirv-llvm-translator): Update to 18.1.0.
[inputs]: Replace llvm-15 with llvm-18.
[native-inputs]: Ditto. Replace clang-15 with clang-18.

Change-Id: I8ad51dd019e508a14b479a7481de62cdae446425
2024-05-01 15:29:53 -04:00
Ludovic Courtès 5c13ab50b9
news: Add entry for ‘guix git authenticate’ changes.
* etc/news.scm: Add entry.

Change-Id: I661a0c0bfc373b87a70508ad9a735315c96ba4a5

Co-authored-by: Florian Pelz <pelzflorian@pelzflorian.de>
Change-Id: Ibafef9d432df163948c4884279d4ce2579ed0312
2024-05-01 17:48:24 +02:00
Ludovic Courtès 8d1d98a3aa
git authenticate: Install pre-push and post-checkout hooks.
* guix/scripts/git/authenticate.scm (install-hooks): New procedure.
(guix-git-authenticate): Use it.
* doc/guix.texi (Invoking guix git authenticate): Document it.

Change-Id: I4464a33193186e85b476a12740e54412bd58429c
2024-05-01 17:26:19 +02:00
Ludovic Courtès 1a5041a502
git authenticate: Print something upon success.
Until now the command would be silent and exit with 0.

* guix/scripts/git/authenticate.scm (guix-git-authenticate): Print
something upon success.

Change-Id: I08d086c35df6ac74ee847df0479660293c68987d
2024-05-01 17:26:19 +02:00
Ludovic Courtès 88573dd928
git authenticate: Discover the repository.
This allows one to run ‘guix git authenticate’ from a sub-directory of
the checkout.

* guix/scripts/git/authenticate.scm (%default-options): Remove
‘directory’ key.
(guix-git-authenticate): Use ‘repository-discover’ when ‘directory’
option is missing.

Change-Id: Ifada00d559254971ed7eeb8c0a8d4ae74ff3defc
2024-05-01 17:26:18 +02:00
Ludovic Courtès 7b4bf4ee88
git authenticate: Record introduction and keyring in ‘.git/config’.
* guix/scripts/git/authenticate.scm (%default-options): Remove
‘keyring-reference’.
(config-value, configured-introduction, configured-keyring-reference)
(configured?, record-configuration, current-branch): New procedures.
(guix-git-authenticate)[missing-arguments]: New procedure.
Use ‘configured-introduction’ when zero arguments are given.
Use ‘configured-keyring-reference’ when ‘-k’ is not passed.  Add call to
‘record-configuration’.
* doc/guix.texi (Invoking guix git authenticate): Document it.

Change-Id: I66e111a83f50407b52da71662629947f83a78bbc
2024-05-01 17:26:18 +02:00
Ludovic Courtès 10aa88ea01
gnu: guile-git: Update to 0.7.0.
* gnu/packages/guile.scm (guile-git): Update to 0.7.0.

Change-Id: I7a0a9d50a0f8a788963b05029a37ac9450ffa185
2024-05-01 17:26:18 +02:00
Ludovic Courtès 5d2d081af0
svn-download: Add dependency on tar+gzip for SWH retrieval.
Fixes a bug whereby ‘swh-download-directory-by-nar-hash’ would fail due
to ‘tar’ not being found in $PATH:

  $ GUIX_DOWNLOAD_METHODS=swh guix build -S texlive-geometry --check
  In execvp of tar: No such file or directory
  SWH: found directory with nar-sha256 hash 217e1c8d33aa6fd063f205453a946509b059b85fa7e8d32b7e80054d5e6e5c26 at 'swh:1:dir:ccb56476fb36b2ba0298e57f2b2e69c735ac0a2f'
  […]

* guix/svn-download.scm (svn-fetch)[tar+gzip]: New variable.
[build]: Use it.
(svn-multi-fetch): Likewise.

Change-Id: I37ba9824a5feb6d38f85743519cbd2b2c3e1a9e8
2024-05-01 17:26:18 +02:00
Nicolas Goaziou e2ba58a67f
gnu: Add emacs-ob-asymptote.
* gnu/packages/emacs-xyz.scm (emacs-ob-asymptote): New variable.

Change-Id: I022557ed6eb6473e26842a5e72d9abdd1d516d35
2024-05-01 15:37:45 +02:00
Nicolas Goaziou 4115590ed1
gnu: emacs-dockerfile-mode: Update to 1.9.
* gnu/packages/emacs-xyz.scm (emacs-dockerfile-mode): Update to 1.9.

Change-Id: Ie3fd4d3701d720ece886b3e873b9637aeb468fea
2024-05-01 14:00:21 +02:00
Nicolas Goaziou 1b4c846d83
gnu: emacs-polymode-ansible: Update to 0.4.0.
* gnu/packages/emacs-xyz.scm (emacs-polymode-ansible): Update to 0.4.0.
[propagated-inputs]: Add EMACS-ANSIBLE.

Change-Id: I1d15b309332f1bb82a0d515195eb2d1e8bd8cc34
2024-05-01 13:58:43 +02:00
Nicolas Goaziou 97f2f03c62
gnu: Add emacs-ansible.
* gnu/packages/emacs-xyz.scm (emacs-ansible): New variable.

Change-Id: Id8fc420fff4817faea14fcf8c115c13a64e49d32
2024-05-01 13:58:43 +02:00
Nicolas Goaziou 7f766c9ba4
gnu: emacs-org-fc: Update to 0.6.1.
* gnu/packages/emacs-xyz.scm (emacs-org-fc): Update to 0.6.1.

Change-Id: Ib64456aa31d51bd3dea738ce895e4b8d5b56cbb0
2024-05-01 12:34:09 +02:00
Nicolas Goaziou b6b97fafe8
gnu: emacs-org-contrib: Update to 0.5.
* gnu/packages/emacs-xyz.scm (emacs-org-contrib): Update to 0.5.

Change-Id: Ib5f3f6ca30c3a5a72ce855db416c68b8d3e00aad
2024-05-01 12:29:29 +02:00
Nicolas Goaziou 6cb1f6b601
gnu: emacs-posframe: Update to 1.4.3.
* gnu/packages/emacs-xyz.scm (emacs-posframe): Update to 1.4.3.

Change-Id: I806412d1e4115f22443d1d018fde9dfefd315417
2024-05-01 12:26:32 +02:00
Nicolas Goaziou c06e18c199
gnu: emacs-vundo: Update to 2.3.0.
* gnu/packages/emacs-xyz.scm (emacs-vundo): Update to 2.3.0.

Change-Id: I7a6847fa8d76d55ea4124a31c7f95d035304ff15
2024-05-01 12:21:49 +02:00
Nicolas Goaziou 5267dbee62
gnu: emacs-ement: Update to 0.15.
* gnu/packages/emacs-xyz.scm (emacs-ement): Update to 0.15.

Change-Id: Ie746965ddd693b232f7dce9c1562b84ac169f840
2024-05-01 12:17:12 +02:00
Nicolas Goaziou 7d4ae2fca7
gnu: emacs-org-modern: Update to 1.2.
* gnu/packages/emacs-xyz.scm (emacs-org-modern): Update to 1.2.
[synopsis]: Fix capitalization.
[description]: Fix ambiguity between package and project name.

Change-Id: I453db305d3bb529ca14414d3542dc8374c880403
2024-05-01 10:22:21 +02:00
Oleg Pykhalov 6e9529eef9
gnu: firefox-decrypt: Update to 1.1.1.
* gnu/packages/gnuzilla.scm (firefox-decrypt)[version]: Update to 1.1.1.
[arguments]<#:builder>: Update patch shebang substitute.

Change-Id: Iceabe4883b103e2cde9eac808316986db97b760c
2024-05-01 10:39:25 +03:00
Oleg Pykhalov b32d129ad9
gnu: bats: Update to 1.11.0.
* gnu/packages/bash.scm (bats)[version]: Update to 1.11.0.
[arguments]<#:builder>: Filter out symlinks in patch-shebang.

Change-Id: I74405b99f91172c10b8c81caa0f3f46e1df4d74e
2024-05-01 10:05:42 +03:00
Oleg Pykhalov 7d7fca1942
gnu: jc: Update to 1.25.2.
* gnu/packages/admin.scm (jc): Update to 1.25.2.

Change-Id: I076bf285a6fd23ef65f6c094b355c5891c8b76e7
2024-05-01 09:24:57 +03:00
Oleg Pykhalov 757bbaaf14
gnu: gource: Update to 0.54.
* gnu/packages/version-control.scm (gource)[version]: Update to 0.54.
[arguments]<#:disallowed-references>: Add tzdata-for-tests.
<#:phases>: Unbundle tinyxml. Set TZDIR environment variable.
<#:configure-flags>: Add --with-tinyxml argument.
[native-inputs]: Add tzdata-for-tests.
[inputs]: Replace pcre with pcre2. Add tinyxml.

Change-Id: I67c2a1ee74582ed3e0a4ec5e6d229c948f9d5265
2024-05-01 09:11:05 +03:00
Oleg Pykhalov 2e505090ae
gnu: bird: Update to 2.15.1.
* gnu/packages/networking.scm (bird): Update to 2.15.1.

Change-Id: Ib30ee5eb503cbbafb066c13221d36059669f3dec
2024-05-01 06:48:55 +03:00
Eric Bavier eed1c0adb0
gnu: nickle: Update to 2.97.
* gnu/packages/patches/nickle-man-release-date.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/patches/nickle-man-release-date.patch (nickle): Update to 2.97.
[source]: Use patch.
[native-inputs]: Remove field.
[inputs]: Add readline.

Change-Id: Id33d121e9eea9e3124b8891c60047b3943711ade
2024-04-30 22:03:39 -05:00
Florian Pelz 8bf41c80ef
nls: Update translations.
* po/packages/sv.po: New file.
* po/packages/LINGUAS: Add it.

Change-Id: I2ad4dfcb935ba0a4e79c15b86cee6826c6580729
2024-05-01 02:42:54 +02:00
Wilko Meyer fc8f04726c
news: Add entry for removing linux-libre 6.7 (EoL).
* etc/news.scm: Add entry for linux-libre 6.7 removal.

Change-Id: I8fe3eb3f68023e85fcac7549c06d2cc26cd8e810
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-04-30 17:58:05 -04:00
Wilko Meyer 238a74c7df
gnu: Remove linux-libre 6.7.
* gnu/packages/linux.scm (linux-libre-6.7-version, linux-libre-6.7-gnu-revision,
deblob-scripts-6.7, linux-libre-6.7-pristine-source, linux-libre-6.7-source,
linux-libre-headers-6.7, linux-libre-6.7): Remove variables.
* gnu/packages/aux-files/linux-libre/6.7-arm.conf,
gnu/packages/aux-files/linux-libre/6.7-arm64.conf,
gnu/packages/aux-files/linux-libre/6.7-i686.conf,
gnu/packages/aux-files/linux-libre/6.7-x86_64.conf: Delete files.
* Makefile.am (AUX_FILES): Remove aforementioned .conf files.

Change-Id: Ic69a65e1fbfa59d893e85d26950f33195ea9fbe1
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-04-30 17:50:21 -04:00
Sharlatan Hellseher 147f1f2e0d
gnu: Add psfex.
* gnu/packages/astronomy.scm (psfex): New variable.

Change-Id: I073df933b244811cd09343ea4951f481ad76b075
2024-04-30 21:36:14 +01:00
Sharlatan Hellseher bba6eca509
gnu: Add scamp.
* gnu/packages/astronomy.scm (scamp): New variable.

Change-Id: If32adb281017858b0e7d5816cecb509af3cec835
2024-04-30 21:36:14 +01:00
Sharlatan Hellseher 21a22addd3
gnu: python-stsci-stimage: Adjust test steps.
* gnu/packages/astronomy.scm (python-stsci-stimage):
[arguments]: <#:test-flags>: Add them. <#:phases>: Fail over to default
'check phase and add 'waf-configure-build phase before check.
[native-inputs]: Remove python-codecov and, python-pytest-cov.
[description]: Fix indentation.

Change-Id: I350c4ced2cb4afaff72d4d4941d198932cd888f5
2024-04-30 21:36:14 +01:00
Sharlatan Hellseher c8a468047c
gnu: python-stsci-stimage: Update to 0.2.8.
* gnu/packages/astronomy.scm (python-stsci-stimage): Update to 0.2.8.

Change-Id: Ib2f8b9544bc732959d87527d2c55f274dab4393b
2024-04-30 21:36:13 +01:00
Sharlatan Hellseher 595f9440b7
gnu: python-crds: Update to 11.17.20.
* gnu/packages/astronomy.scm (python-crds): Update to 11.17.20.

Change-Id: I426241c2e216b0261787117a10ceab36197dff12
2024-04-30 21:36:13 +01:00
Sharlatan Hellseher fb2d58b81d
gnu: python-asdf: Adjust inputs.
python-asdf requires python-semantic-version during runtime which may be
reproduced by:

   guix shell python-asdf python -- python3 -c 'import asdf'
   <...>
   ModuleNotFoundError: No module named 'semantic_version'

* gnu/packages/astronomy.scm (python-asdf): Adjust inputs.
[native-inputs]: Remove python-semantic-version.
[propagated-inputs]: Add python-semantic-version.

(python-asdf-astropy, python-asdf-compression, python-asdf-coordinates-schemas,
python-asdf-wcs-schemas, python-asdf-zarr, python-astroalignn, python-ccdproc,
python-crds, python-ginga, python-gwcs, python-photutils, python-rad,
python-reproject, python-roman-datamodels, python-spectral-cube,
python-specutils, python-stcal, python-stdatamodels, python-stpipe,
python-stsynphot, python-sunpy, python-synphot, python-tweakwcs): Remove
python-semantic-version from native or propagated inputs.

Change-Id: I96bf57f77c327f4ff208e0b173e84bcdd4c287da
Reported-by: Iliya Tikhonenko <tikhonenko@mpe.mpg.de>
2024-04-30 21:36:13 +01:00
Sharlatan Hellseher 03776790b7
gnu: python-reproject: Enable tests.
* gnu/packages/astronomy.scm (python-reproject): Enable tests.
[arguments]: <#:tests-flags>: Add them as seen in tox.ini.
<#:phases>: Rename 'writable-home to 'prepare-test-environment to reflect
purpose and build extension before tests.
[native-inputs]: Add python-xdist.

Change-Id: I7a5454e3ce241b7a54626f8aba27602b4965c25b
2024-04-30 21:36:13 +01:00