~ruther/guix-local

f5642e7e — Sharlatan Hellseher 1 year, 9 months ago
gnu: calceph: Update to 4.0.0.

* gnu/packages/astronomy.scm (calceph): Update to 4.0.0.
[source]: Swap to git checkout.
[build-system]: Swap to cmake-build-system.
[properties]: Remove them.

Change-Id: Ic1559a1f956aa90200c911fbee057c55a7fb9874
Signed-off-by: Andrew Tropin <andrew@trop.in>
ab0af703 — Sharlatan Hellseher 1 year, 9 months ago
gnu: packages/astronomy: Minimize import from python build system.

* gnu/packages/astronomy.scm: Select just pypi-uri from python build
system module.

Change-Id: I1b02cdd24a6456d58136ee126f7bdb2a01dce9b4
Signed-off-by: Andrew Tropin <andrew@trop.in>
adb56c36 — Sharlatan Hellseher 1 year, 9 months ago
gnu: python-sgp4: Use pyproject-build-system.

* gnu/packages/astronomy.scm (python-sgp4): [build-system]: Swap to
pyproject-build-system.

Change-Id: Iebaba503a439d858f1e603ab3f7e4bd17be2adb1
Signed-off-by: Andrew Tropin <andrew@trop.in>
00d827a9 — Sharlatan Hellseher 1 year, 9 months ago
gnu: python-ephem: Use pyproject-build-system.

* gnu/packages/astronomy.scm (python-ephem): Adjust indentation.
[build-system]: Swap to pyproject-build-system.

Change-Id: Idc21c004f93f2362a70b2e9fb874ff125fd8c3fa
Signed-off-by: Andrew Tropin <andrew@trop.in>
c220874a — Sharlatan Hellseher 1 year, 9 months ago
gnu: python-sep: Refresh package style.

* gnu/packages/astronomy.scm (python-sep): Refresh package style.
[package]: Swap to package/inherit.
[build-system]: Swap to pyproject-build-system.
[arguments]: <#:test-flags>: Activate tests for Python.
[native-inputs]: Do not modify inherited inputs, override instead. Add
python-pytest.
[propagated-inputs]: Override inputs.
[synopsis]: Add Python specific synopsis.

Change-Id: I86f68972eb51e9d546bcba6ee4f33de726c022e2
Signed-off-by: Andrew Tropin <andrew@trop.in>
ee8ff445 — Efraim Flashner 1 year, 9 months ago
gnu: gcc-13: Remove unneeded patch for i586-gnu.

* gnu/packages/gcc.scm (gcc-13)[arguments]: When building for i586-gnu
delete the inherited phase 'patch-hurd-libpthread as it exists upstream.

Change-Id: I0837dcff325b15b6975b34dbd7268faaa223ecdd
86cab5c4 — Efraim Flashner 1 year, 9 months ago
gnu: gccgo-12: Fix building on riscv64-linux.

* gnu/packages/gcc.scm (make-gccgo)[arguments]: When building gccgo-12
for riscv64-linux don't add a phase to adjust the order of libgo
dependencies.

Change-Id: I600c744ce33ad802a5c466c19df41dcbb29a2be0
fce70718 — Efraim Flashner 1 year, 9 months ago
gnu: mozjs: Fix build on riscv64-linux.

* gnu/packages/gnuzilla.scm (mozjs)[arguments]: When building for
riscv64-linux adjust the 'adjust-tests phase to skip 2 more tests
skipped by upstream.

Change-Id: Ia5fbe6782e3d1d8e1904cdf49a35e0666837b277
5b2ee0f3 — Guillaume Le Vaillant 1 year, 9 months ago
gnu: electron-cash: Update to 4.4.1.

* gnu/packages/finance.scm (electron-cash): Update to 4.4.1.

Change-Id: I79e4bd3b039074440d897a72ca145c2b2adf0c48
970d2c4a — Guillaume Le Vaillant 1 year, 9 months ago
gnu: cl-cf: Update to 1.0-3.d386072.

* gnu/packages/lisp-xyz.scm (sbcl-cf): Update to 1.0-3.d386072.

Change-Id: I79ef6b23cfcb28f93d0530bbd3b0ff051a1b98f1
b4b6aafc — Guillaume Le Vaillant 1 year, 9 months ago
gnu: bitcoin-unlimited: Update to 2.1.0.0.

* gnu/packages/finance.scm (bitcoin-unlimited): Update to 2.1.0.0.

Change-Id: I2faf7909c39bb72ceaf4d03b8bbb4f52e599fa3e
29a4514a — Maxim Cournoyer 1 year, 10 months ago
gnu: cling: Update to 1.0.

* gnu/packages/llvm.scm (%cling-version): Delete variable.
(llvm-cling): Inherit from llvm-15 and update to version 13-20240318-01.
[source]: Update source URL.  Remove obsolete snippet.  Add patches field.
[outputs]: Delete field.
[arguments]: Likewise.
(clang-cling-runtime): Update to 13-20240318-01.  Inherit from
clang-runtime-13.  Use llvm-cling source.
[phases]: Use gexps.  Add change-directory phase.
(clang-cling): Update to 13-20240318-01.  Inherit from
clang-13.  Use llvm-cling source.
[arguments]: Use gexps.  Add change-directory phase.
(cling): Update to 1.0.
[source]: Update URL.
[phases] {patch-paths}: Adjust patching of the 'getResourceDir' variable.
* gnu/packages/patches/cling-use-shared-library.patch: Rebase patch.
* gnu/packages/patches/clang-cling-13-libc-search-path.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: I5d1f2c4d36ca226116bc74c2578154f86413f9e9
412d99a6 — Maxim Cournoyer 1 year, 9 months ago
gnu: linux-libre-with-bpf: Deprecate in favor of linux-libre.

The kernel has progressively enabled the BPF settings, to the point where
having a separate kernel for it makes little sense, so repatriate the few
non-default BPF-related configs to our main kernel.

* gnu/packages/linux.scm (%bpf-extra-linux-options): Delete variable.
(default-extra-linux-options): Enable CONFIG_NET_CLS_BPF and
CONFIG_NET_ACT_BPF.  CONFIG_IKHEADERS is dropped as it adds 4 MiB to the
kernel image and appears somewhat redundant with BTF debug info.
(linux-libre-with-bpf): Deprecate to linux-libre.

Change-Id: Id672241916dcbcdca7cbc16d869d00223446cd3d
afacfa33 — Maxim Cournoyer 1 year, 9 months ago
gnu: linux-libre: Enable Zstd compression of kernel modules.

This brings the on disk size of the kernel from 164 MiB to 144 MiB, or about
12%.

* gnu/packages/linux.scm (default-extra-linux-options)
[version>=5.13]: Enable CONFIG_MODULE_COMPRESS_ZSTD, else
CONFIG_MODULE_COMPRESS_GZIP.
(make-linux-libre*) [phases] {set-environment}: Set ZSTD_CLEVEL environment
variable to 19.
[native-inputs]: Add zstd.
* gnu/build/linux-modules.scm (module-regex): Add .zst to regexp.  Update doc.
(modinfo-section-contents): Extend support to Zstd compressed module.
(dot-ko): Register the 'zstd compression type.
(ensure-dot-ko, file-name->module-name, load-linux-module*)
(module-name->file-name/guess, write-module-name-database)
(write-module-alias-database, write-module-device-database): Update doc.
(module-name-lookup): Also consider zstd-compressed modules.
* gnu/installer.scm (installer-program): Add guile-zstd extension to gexp.
* gnu/system/linux-initrd.scm (flat-linux-module-directory): Likewise.
Decompress zstd-compressed modules for use in initrd.
* guix/profiles.scm (linux-module-database): Add guile-zstd extension to gexp.

Change-Id: Ide899dc5c58ea5033583b1a91a92c025fc8d901a
b72b6063 — Maxim Cournoyer 1 year, 10 months ago
gnu: linux-libre: Enable BTF debug info.

This is needed for software making use of eBPF programs, such as the sysdig
utility, among others.  For more information about BPF, see:
<https://brendangregg.com/blog/2020-11-04/bpf-co-re-btf-libbpf.html>.

* gnu/packages/linux.scm (%default-extra-linux-options): Enable
CONFIG_DEBUG_INFO, CONFIG_DEBUG_INFO_BTF,
CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT, CONFIG_BPF_JIT,
CONFIG_BPF_JIT_ALWAYS_ON, CONFIG_BPF_SYSCALL and BPF_UNPRIV_DEFAULT_OFF.
Disable CONFIG_DEBUG_INFO_REDUCED.
(make-linux-libre*) [native-inputs]: Add dwarves, python-wrapper and zlib.

Change-Id: Idfc64f82aa404e86168bffcf721a325f9e807f75
4114060c — Maxim Cournoyer 1 year, 9 months ago
gnu: linux: Turn %default-extra-linux-options into a procedure.

This is to allow version-specific options to the list of defaults.

* gnu/packages/linux.scm (%default-extra-linux-options): Transform to...
(default-extra-linux-options): ... this procedure, which accepts a 'version'
argument.
(make-linux-libre, linux-libre-arm-generic, linux-libre-arm-generic-5.10)
(linux-libre-arm-generic-5.4, linux-libre-arm64-generic)
(linux-libre-arm64-generic-5.10, linux-libre-arm64-generic-5.4)
(linux-libre-riscv64-generic, linux-libre-mips64el-fuloong2e)
(linux-libre-with-bpf): Adjust accordingly.
* doc/guix-cookbook.texi (Customizing the Kernel): Adjust accordingly.

Change-Id: Ifd3be8b7ed8699bada224a938dbc84205366ff3d
c3566fcc — Maxim Cournoyer 1 year, 9 months ago
gnu: make-linux-libre*: Run install targets in parallel.

This reduces the total build time by about 20%.

* gnu/packages/linux.scm (make-linux-libre*) [phases] {install}: Ensure that
-jN is used for the install targets.  Also honor make flags.

Change-Id: Ib3f4fdcbdeab736315a91eafa8d6d1dff5b89884
e7afa035 — Maxim Cournoyer 1 year, 9 months ago
gnu: make-linux-libre*: Set KBUILD_BUILD_VERSION for reproducibility.

* gnu/packages/linux.scm (make-linux-libre*) [phases] {set-environment}: Set
KBUILD_BUILD_VERSION to 1.

Change-Id: I6c2e561605a13c757a4eb4d1c59343ba26464067
e9e82538 — Maxim Cournoyer 1 year, 10 months ago
gnu: Add dwarves.

* gnu/packages/linux.scm (dwarves): New variable.

Change-Id: Ib2452868eae76bea95060a70e568dfb6e84b2a75
3528d888 — Maxim Cournoyer 1 year, 10 months ago
gnu: Add sysdig.

* gnu/packages/admin.scm (sysdig): New variable.
* gnu/packages/patches/sysdig-shared-falcosecurity-libs.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: I02b64db7a548e17ea83beb1ea27db87d29e99cf1
Next