1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-07-07 19:24:08 +02:00

Compare commits

...

115 Commits

Author SHA1 Message Date
Patrick Norton 70695fa8aa gnu: Use built-in delete-all-but.
* gnu/packages/astronomy.scm (phd2): Use built-in delete-all-but.
* gnu/packages/bioinformatics.scm (pynsptools-examples-files): Likewise.
* gnu/packages/debug.scm (fandango): Likewise.
* gnu/packages/electronics.scm (librepcb, nextpnr): Likewise.
* gnu/packages/emacs-xyz.scm (emacs-smartparens): Likewise.
* gnu/packages/emulators.scm (dolphin-emu, libretro-dolphin-emu)
  (libretro-slang-shaders, mgba, pcsx2, retroarch-minimal): Likewise.
* gnu/packages/game-development.scm (sfml): Likewise.
* gnu/packages/golang-apps.scm (godoc): Likewise.
* gnu/packages/golang-build.scm (go-golang-org-x-tools-go-expect)
  (go-golang-org-x-tools-go-packages-packagestest)
  (go-golang-org-x-tools-godoc): Likewise.
* gnu/packages/golang-web.scm (go-github-com-containerd-containerd-api)
  (go-cloud-google-com-go-auth, go-cloud-google-com-go-auth-oauth2adapt)
  (go-cloud-google-com-go-iam, go-cloud-google-com-go-kms)
  (go-cloud-google-com-go-logging, go-cloud-google-com-go-longrunning)
  (go-cloud-google-com-go-monitoring, go-cloud-google-com-go-security)
  (go-cloud-google-com-go-spanner, go-cloud-google-com-go-storage)
  (go-cloud-google-com-go-trace)
  (go-github-com-aws-aws-sdk-go-v2-config)
  (go-github-com-aws-aws-sdk-go-v2-credentials)
  (go-github-com-aws-aws-sdk-go-v2-feature-ec2-imds)
  (go-github-com-aws-aws-sdk-go-v2-internal-configsources)
  (go-github-com-aws-aws-sdk-go-v2-internal-endpoints-v2)
  (go-github-com-aws-aws-sdk-go-v2-service-cloudwatchlogs)
  (go-github-com-aws-aws-sdk-go-v2-service-kms)
  (go-github-com-aws-aws-sdk-go-v2-service-sqs)
  (go-github-com-aws-aws-sdk-go-v2-service-ssm)
  (go-github-com-aws-smithy-go-metrics-smithyotelmetrics)
  (go-github-com-azure-azure-sdk-for-go-sdk-azcore)
  (go-github-com-azure-azure-sdk-for-go-sdk-azidentity)
  (go-github-com-azure-azure-sdk-for-go-sdk-internal)
  (go-github-com-azure-azure-sdk-for-go-sdk-security-keyvault-azkeys)
  (go-github-com-azure-azure-sdk-for-go-sdk-security-keyvault-internal)
  (go-github-com-azure-azure-sdk-for-go-sdk-storage-azblob)
  (go-github-com-azure-azure-sdk-for-go-sdk-storage-azfile)
  (go-github-com-envoyproxy-go-control-plane-envoy)
  (go-github-com-googlecloudplatform-opentelemetry-operations-go-exporter-metric)
  (go-github-com-googlecloudplatform-opentelemetry-operations-go-exporter-trace)
  (go-github-com-googlecloudplatform-opentelemetry-operations-go-internal-cloudmock)
  (go-github-com-googlecloudplatform-opentelemetry-operations-go-internal-resourcemapping)
  (go-github-com-grpc-ecosystem-go-grpc-middleware-providers-prometh)
  (go-github-com-hashicorp-go-secure-stdlib-parseutil)
  (go-github-com-jtolio-crawlspace-tools)
  (go-github-com-moby-moby-client)
  (go-github-com-sigstore-sigstore-pkg-signature-kms-aws)
  (go-github-com-sigstore-sigstore-pkg-signature-kms-azure)
  (go-github-com-sigstore-sigstore-pkg-signature-kms-gcp)
  (go-github-com-sigstore-sigstore-pkg-signature-kms-hashivault)
  (go-go-etcd-io-etcd-api-v3, go-go-etcd-io-etcd-client-pkg-v3)
  (go-go-opentelemetry-io-auto-sdk)
  (go-go-opentelemetry-io-contrib-detectors-aws-ec2-v2)
  (go-go-opentelemetry-io-contrib-detectors-aws-ecs)
  (go-go-opentelemetry-io-contrib-detectors-gcp)
  (go-go-opentelemetry-io-contrib-propagators-autoprop)
  (go-go-opentelemetry-io-otel-exporters-otlp-otlpmetric-otlpmetricgrpc)
  (go-go-opentelemetry-io-otel-exporters-otlp-otlpmetric-otlpmetrichttp)
  (go-go-opentelemetry-io-otel-exporters-otlp-otlptrace)
  (go-go-opentelemetry-io-otel-exporters-otlp-otlptrace-otlptracegrpc)
  (go-go-opentelemetry-io-otel-exporters-otlp-otlptrace-otlptracehttp)
  (go-go-opentelemetry-io-otel-exporters-prometheus)
  (go-go-opentelemetry-io-otel-exporters-stdout-stdoutmetric)
  (go-go-opentelemetry-io-otel-exporters-stdout-stdouttrace)
  (go-go-opentelemetry-io-otel-exporters-zipkin)
  (go-go-opentelemetry-io-otel-log)
  (go-go-opentelemetry-io-otel-metric-x)
  (go-go-opentelemetry-io-otel-sdk, go-go-opentelemetry-io-otel-sdk-log)
  (go-go-opentelemetry-io-otel-sdk-metric)
  (go-google-golang-org-genproto-googleapis-api)
  (go-google-golang-org-genproto-googleapis-bytestream)
  (go-google-golang-org-grpc-cmd-protoc-gen-go-grpc)
  (go-google-golang-org-grpc-examples)
  (go-k8s-io-kube-openapi-test-integration): Likewise.
* gnu/packages/golang-xyz.scm (go-github-com-ajstarks-deck-generate)
  (go-github-com-charmbracelet-x-ansi)
  (go-github-com-charmbracelet-x-cellbuf)
  (go-github-com-charmbracelet-x-errors)
  (go-github-com-charmbracelet-x-term)
  (go-github-com-charmbracelet-x-xpty)
  (go-github-com-containerd-errdefs-pkg)
  (go-github-com-moby-sys-atomicwriter)
  (go-github-com-moby-sys-mount, go-go-uber-org-zap-exp)
  (go-modernc-org-ccgo-v4, go-sigs-k8s-io-kustomize-cmd-config):
  Likewise.
* gnu/packages/image-processing.scm (opencv): Likewise.
* gnu/packages/ipfs.scm (go-github-com-ipfs-shipyard-nopfs-ipfs):
  Likewise.
* gnu/packages/kubernetes.scm (go-go-etcd-io-etcd-client-v3)
  go-go-etcd-io-etcd-pkg-v3, go-go-etcd-io-etcd-server-v3): Likewise.
* gnu/packages/mail.scm (neomutt): Likewise.
* gnu/packages/mpi.scm (openmpi-5): Likewise.
* gnu/packages/protobuf.scm (protobuf-6): Likewise.
* gnu/packages/python-science.scm (python-vaex-core): Likewise.
* gnu/packages/specifications.scm (specification-astropy-data): Likewise.
* gnu/packages/version-control.scm (libfossil): Likewise.
* gnu/packages/vnc.scm (turbovnc): Likewise.

Change-Id: I6575463a072a6ee05751e23ebcee9a393529c8b1
Merges: https://codeberg.org/guix/guix/pulls/5312
Reviewed-by: Maxim Cournoyer <maxim@guixotic.coop>
Reviewed-by: Cayetano Santos <csantosb@inventati.org>
Reviewed-by: Gabriel Wicki <gabriel@erlikon.ch>
Co-authored-by: Nguyễn Gia Phong <cnx@loang.net>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:18 +02:00
Patrick Norton d5b0ad8b46 guix: build: utils: Add delete-all-but.
* guix/build/utils.scm (delete-all-but): New variable.

Change-Id: I15e1d632a97236b8d18cec3be993c81e138dff04
Reviewed-by: Maxim Cournoyer <maxim@guixotic.coop>
Reviewed-by: Cayetano Santos <csantosb@inventati.org>
Reviewed-by: Gabriel Wicki <gabriel@erlikon.ch>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:18 +02:00
Noé Lopez 0c06fc7e9b home: xdg-user-directories: Support Projects directory.
* gnu/home/services/xdg.scm (home-xdg-user-directories-configuration):
Add projects field. Fix documentation of desktop field.
* doc/guix.texi (Miscellaneous Home Services): Add documentation for
home-xdg-user-directories.

Change-Id: I8935d7c368cc9bd1d47ffbce3d3ab3cb60ac468a
Signed-off-by: Noé Lopez <noelopez@free.fr>
2026-05-29 11:34:18 +02:00
Noé Lopez de305b77a5 gnu: xdg-user-dirs: Update to 0.20.
* gnu/packages/freedesktop.scm (xdg-user-dirs): Update to 0.20.
[source]: Switch to git origin.
[native-inputs]: Remove unneeded inputs.

Change-Id: I91b733ea75f4532fc4a2cfa3017751d0afe92941
Signed-off-by: Noé Lopez <noelopez@free.fr>
2026-05-29 11:34:18 +02:00
Brice Waegeneire ed22809c65 gnu: home: dotfiles: Exclude directories.
home-dotfiles-configuration-excluded now behaves the same as stow,
by excluding both files and directories matching a pattern.

* gnu/home/services/dotfiles
  (home-dotfiles-configuration->files)[excluded-file?]: New procedure.
  [directory-contents]<find-files>: Add #:enter? parameter
  and use that new procedure.
* doc/guix.texi (home-dotfiles-configuration): Be explicit
  that both files and directories are excluded.

Change-Id: Idc7e54f8d648fddbccdd6065c281ce0608d8c53f
Reviewed-by: Hilton Chain <hako@ultrarare.space>
Reviewed-by: Florian Pelz <pelzflorian@pelzflorian.de>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:18 +02:00
Brice Waegeneire d2b478a88b build: utils: Add #:enter? parameter to 'find-files'.
* guix/utils.scm (find-files): Add #:enter? parameter.

Change-Id: I610284f7860318e4613ddf77285cc0f9b9a3f439
Reviewed-by: Hilton Chain <hako@ultrarare.space>
Reviewed-by: Florian Pelz <pelzflorian@pelzflorian.de>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:17 +02:00
Julien Lepiller 3e2f2ca7ed gnu: iproute2: Add optional support libraries.
* gnu/packages/linux.scm (iproute2)[inputs]:
  Add libbpf, libcap, libelf, libselinux, and libtirpc.

Change-Id: I6fa5e7c1b2f3d4db9b0573b5116f94ae0f3a2e39
Merges: https://codeberg.org/guix/guix/pulls/8701
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:17 +02:00
Julien Lepiller c5dd6f8e48 gnu: iproute2: Update to 7.0.0.
* gnu/packages/linux.scm (iproute2): Update to 7.0.0.
  [arguments]<#:make-flags>: Specify PREFIX.

Change-Id: Ia5f28051e42894c262e18a25e5ae5049cc514899
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:17 +02:00
André Batista c2b72f5c39 gnu: nss: Update to 3.112.5.
3.112.5 is the current ESR of NSS.

* gnu/packages/patches/nss-disable-broken-tests.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Unregister it.
* gnu/packages/nss.scm (nss): Update to 3.112.5.
  [source]<origin>{patches}: Remove the deleted patch.
  Add nss-3.115-disable-broken-tests.patch
  and nss-3.115-disable-pkix-ocsp-tests.patch.
  [arguments]<#:phases>{set-release-date}: Update GUIX_NSS_RELEASE_DATE
  environment variable to 2026-05-05.

Change-Id: I376a275710d9335d4f6e37164f164ad420def5c1
Closes: https://codeberg.org/guix/guix/pulls/3509
Fixes: https://codeberg.org/guix/guix/pulls/4408
Merges: https://codeberg.org/guix/guix/pulls/8654
Reviewed-by: Ian Eure <ian@retrospec.tv>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:17 +02:00
Patrick Norton 5e22352adf gnu: libaom: Update to 3.13.3.
* gnu/packages/video.scm (libaom): Update to 3.13.3.

Change-Id: Iaf631d41bba89d352080d3702a6324f2e2bf00f9
Merges: https://codeberg.org/guix/guix/pulls/8325
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:17 +02:00
Nguyễn Gia Phong 69497a885f gnu: libaom: Ungraft.
* gnu/packages/video.scm (libaom)[replacement]: Remove.
  (libaom/fixed): Delete variable.

Change-Id: I39b418f7bca3454621b494d80bc588f106611d5d
References: b8f3db361d ("gnu: libaom: Graft to 3.9.1.")
2026-05-29 11:34:17 +02:00
Andreas Enge 9792715cdc gnu: boost-1.83: Unhide package.
The hidden-package stance was a left-over from the time this version
was called boost-for-source-highlight.

* gnu/packages/boost.scm: Do not use hidden-package.

Change-Id: I903cf2ffdb163655bf4fbfc921d4c786600140f0
Merges: https://codeberg.org/guix/guix/pulls/8382
2026-05-29 11:34:17 +02:00
Johannes Christ edbd3c477a gnu: boost-1.83: Update patch hash.
* gnu/packages/boost.scm (boost-1.83)[source]<patches>:
  Use new hash as reported via `guix download`.

Change-Id: I493863170fba6302b9b1caf649dc8db750203765
Fixes: https://codeberg.org/guix/guix/issues/7615
Signed-off-by: Andreas Enge <andreas@enge.fr>
2026-05-29 11:34:17 +02:00
Yelninei 7f3535723e gnu: curl: Update to 8.20.
* gnu/packages/patches/curl-use-ssl-cert-env.patch: Refresh patch.
* gnu/packages/patches/curl-CVE-2024-8096.patch: Delete patch.
* gnu/local.mk (dist_patch_DATA): Deregister it.
* gnu/packages/curl.scm (curl): Update to 8.20.
  [origin]: Remove curl-CVE-2024-8096.patch.
  [native-inputs]: Add openssl.
  [#:phases]: Add 'sanitize-libcurl.pc phase.

Change-Id: I8e609ed8e0e337b42457ebc7bc646eeb454cc432
Merges: https://codeberg.org/guix/guix/pulls/7919
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:17 +02:00
Tomas Volf 801c12038d gnu: curl: Rework tests.
* gnu/packages/curl.scm (curl)[arguments]<#:phases>
  {'check}: Do not replace.
  {'patch-runtests}: New phase.
  {'skip-tests}: Add phase for arm targets.
  {'skip-tests/hurd}: Add phase for hurd targets.

Change-Id: I78e2bf40cbb29f45568b62c5e63bc7ceea5e13ef
Co-authored-by: Yelninei <yelninei@tutamail.com>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:17 +02:00
moksh 96983a6255 gnu: fltk: Update to 1.4.5.
* gnu/packages/fltk.scm (fltk): Update to 1.4.5.

Change-Id: I16722535bed22c7573ffd6dd93b2dfda6bb35cf6
Merges: https://codeberg.org/guix/guix/pulls/8175
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:17 +02:00
Nicolas Graves acae683930 gnu: yasm: Drop input labels.
* gnu/packages/assembly.scm (yasm)[inputs]: Drop input labels.

Change-Id: I7b14b2962c72b64ac409d3914fd76af3278adbd7
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:17 +02:00
Nicolas Graves bd2464fc7c gnu: octave-cli: Improve style.
* gnu/packages/maths.scm (octave-cli)[arguments]: Run guix style.
  <#:phases>{configure-makeinfo}: Rewrite to use search-input-file.

Change-Id: Iadfdab2ebf1f95b543dbe0de5311855b75e50176
2026-05-29 11:34:16 +02:00
Nicolas Graves 20e84de011 gnu: metis: Improve style.
* gnu/packages/maths.scm (metis)[arguments]: Run guix style.
  [inputs]: Drop input labels.

Change-Id: Id15b1baa8c7f00199b45f8c0d297e6b2d01c9e4c
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:16 +02:00
Nicolas Graves 205719e2c1 gnu: libcanberra: Improve style.
* gnu/packages/libcanberra.scm (libcanberra)[inputs]:
  Relocate fields.  Drop input labels.
  [native-inputs]: Relocate fields.
  [arguments]<#:phases>{patch-default-sounds-directory}:
  Use search-input-directories.

Change-Id: Ifcaaad0fcf648a6461a787203a0f47f65b5dc973
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:16 +02:00
Nicolas Graves b50d22c9bb gnu: fltk-1.3: Improve style.
* gnu/packages/fltk.scm (fltk-1.3)[arguments]: Run guix style.
  <#:phases>: Rewrite phase 'patch-config to use search-input-file.
  [native-inputs]: Relocate field.
  [inputs]: Drop input labels, relocate field.
  [description]: Use `fill-region` after `guix style`.

Change-Id: I2ab8f64bd83575f48f123f092ae918904da61715
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:16 +02:00
Nicolas Graves ae6e85ddbf gnu: fltk: Use license: prefix.
* gnu/packages/fltk.scm: Use license: prefix.

Change-Id: I43193d98a620ae1a0b32fe7f198441ddc5def67b
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:16 +02:00
Nicolas Graves de9c34ab91 gnu: xterm: Improve style.
* gnu/packages/xorg.scm (xterm)[arguments]: Run guix style.
  <#:phases>: Rewrite phase 'patch-file-names.
  [inputs]: Drop input labels.

Change-Id: I86d1d94c42c16302fd3f5783218988ff8a2b82e3
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:16 +02:00
Nicolas Graves 6c04334a56 gnu: schroedinger: Improve style.
* gnu/packages/video.scm (schroedinger): Improve style.
  [arguments]: Rewrite them in a modern style.
  [inputs]: Drop input labels.

Change-Id: If8f0a23cf04c36bb27aa3353d0610ea58da5c95f
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:16 +02:00
Nicolas Graves a46024948f gnu: flite: Improve style.
* gnu/packages/speech.scm (flite)[arguments]: Run guix style.
  <#:phases>: Rewrite phase 'remove-static-libs, drop trailing #t.
  [inputs]: Drop input labels.

Change-Id: I31483a85a08a060f1319ca81719e1786f6b08174
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:16 +02:00
Nicolas Graves 1891fdf08f gnu: sane: Improve style.
* gnu/packages/scanner.scm (sane)[arguments]<#:phases>:
  Run guix style, rewrite a few phases using #$output.
  [native-inputs]: Drop input labels, relocate field.
  [inputs]: Relovate field.
  [description]: `fill-region` after `guix style`.

Change-Id: Ifdf09dc442b98cadea855198499938029f93cdfd
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:16 +02:00
Nicolas Graves e5e0f27672 gnu: tk: Improve style.
* gnu/packages/tcl.scm (tk)[arguments]: Re-order keywords.
  <#:phases>: Rewrite phases to use #$output and search-input-file.
  [inputs]: Drop input labels.

Change-Id: Ia00d370d1281d566380af79addb7ae3c0e15f768
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:16 +02:00
Nicolas Graves 222fc31168 gnu: netpbm: Improve style.
* gnu/packages/netpbm.scm (netpbm)[arguments]<#:phases>: Drop trailing #t.
  [inputs, native-inputs]: Drop input labels, relocate fields.

Change-Id: Iacde4bd2dad95d60db971116947cf8713bccf794
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:16 +02:00
Nicolas Graves 14675089a3 gnu: spandsp: Improve style.
* gnu/packages/telephony.scm (spandsp): Improve style.
  [arguments]: Run guix style. <#:phases>: Drop trailing #t.
  Rewrite phase 'install-doc and 'move-static-libraries with #$output syntax.
  [native-inputs]: Drop input labels.

Change-Id: I81052a196eca02c350d80f29ee30b9ec5fac5ab7
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:16 +02:00
Nicolas Graves e8600e41aa gnu: net-tools: Improve style.
* gnu/packages/linux.scm (net-tools): Run guix style.
  [origin]: Run guix style.  [arguments]: Reorder them.
  <#:phases>: Rewrite 'configure phase. [native-inputs]: Drop input labels.

Change-Id: I7a1425c3a8ea955bd9322eee788ab05377d71c15
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:15 +02:00
Nicolas Graves f86e51c0b9 gnu: suitesparse: Improve style.
* gnu/packages/maths.scm (suitesparse): Improve style.
  [arguments]<#:phases>: Run guix style.
  <#:configure-flags>: Use #$output.
  [native-inputs]: Drop input labels.

Change-Id: Icc90f4e58295050d3ed9ed055482bbad66b49447
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:15 +02:00
Nicolas Graves fe50fafd34 gnu: perl-file-which: Drop input labels.
* gnu/packages/perl.scm (perl-file-which)[native-inputs]:
  Drop input labels.

Change-Id: I35f2cb5a349b87ec5b9e60de0ae82a07f4f09a8d
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:15 +02:00
Nicolas Graves 806b118909 gnu: googletest: Drop input labels.
* gnu/packages/check.scm (googletest)[native-inputs]:
  Drop input labels.

Change-Id: I588976a404ebeb2613ccc13d52b9a4d5b1de5903
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:15 +02:00
Nicolas Graves 63b82f36fd gnu: libass: Drop input labels.
* gnu/packages/video.scm (libass)[propagated-inputs]:
  Drop input labels.

Change-Id: Id10ec581c1b91512fe809c47561a8e9155ca5812
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:15 +02:00
Nicolas Graves 75e78ac17d gnu: avahi: Drop input labels.
* gnu/packages/avahi.scm (avahi)[inputs, native-inputs]:
  Drop input labels.

Change-Id: I73110124f2d60ede7b2279ab878c68ca05dbb9c1
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:15 +02:00
Nicolas Graves 8fd69bf6c1 gnu: libxpm: Drop input labels.
* gnu/packages/xorg.scm (libxpm)[inputs]: Drop input labels.

Change-Id: I1c0d9f35b699fe355c5e6234928153c2e8a75696
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:15 +02:00
Nicolas Graves 7a83d42165 gnu: libnsl: Drop input labels.
* gnu/packages/onc-rpc.scm (libnsl)[inputs]: Drop input labels.

Change-Id: Ia7eb8b801d1e1c276a73d24837a3251657a9ac68
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:15 +02:00
Dariqq 74f8fc1976 gnu: linux-pam: Update to 1.7.2.
nis/yp is disabled since support got removed in glibc.
includedir and libdir are set to the correct value automatically.

* gnu/packages/linux.scm (linux-pam): Update to 1.7.2.
  [source]: Switch to git-fetch.  [build-system]: Switch to meson.
  [arguments]<#:phases>: Remove 'skip-pam-limits phases.
  <#:configure-flags>: Remove includedir, libdir and disable-nis.
  Enable pam_lastlog, set docbook-rng, htmldir and vendordir.
  [native-inputs]: Add gettext-minimal, bison, libxslt, libxml2,
  docbook-xml, docbook-xsl.  [outputs]: Add doc.
* gnu/packages/patches/linux-pam-unix_chkpwd.patch: Adjust for meson.

Change-Id: Ib75277a77f9042a0a9c07fa7e28f7f68ecfa9c04
Merges: https://codeberg.org/guix/guix/pulls/1652
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:15 +02:00
Andy Tai c7446ff44e gnu: aspell: Update to 0.60.8.2.
* gnu/packages/aspell.scm (aspell): Update to 0.60.8.2.
  [source]<patches>: Remove aspell-CVE-2019-25051.patch.
* gnu/packages/patches/aspell-CVE-2019-25051.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): De-register it.

Change-Id: I19b7bfc98cbfee9eafde382d812e033a0f3c8e7e
Merges: https://codeberg.org/guix/guix/pulls/6092
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:15 +02:00
Andy Tai fad9e96f33 gnu: groff: Update to 1.24.0.
* gnu/packages/groff.scm (groff): Update to 1.24.0

Change-Id: If42e96a1b51d6da042158824289f39b80e5c7807
Merges: https://codeberg.org/guix/guix/pulls/6784
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:15 +02:00
Gabriel Santos d6aaf3894f gnu: vidstab: Indent.
* gnu/packages/video.scm (vidstab): Indent.

Change-Id: I5130200ba34007732139c20280b4bf607223a6a8
Merges: https://codeberg.org/guix/guix/pulls/5245
Reviewed-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:15 +02:00
Gabriel Santos 13aca50002 gnu: vidstab: Update to 1.1.0.
* gnu/packages/video.scm (vidstab): Update to 1.1.0.

Change-Id: I8d67f71be92d6026eeda4cb7de8b95950f73b3dd
Reviewed-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:14 +02:00
Ashish SHUKLA e12d66831a gnu: jansson: Update to 2.15.0.
* gnu/packages/web.scm (jansson): Update to 2.15.0.

Change-Id: I9721fe4f16b1a622ddb49c3a53b3a94b1cb49500
Merges: https://codeberg.org/guix/guix/pulls/1935
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:14 +02:00
Ashish SHUKLA 18112293af gnu: nghttp2: Update to 1.68.1.
* gnu/packages/web.scm (nghttp2): Update to 1.68.1.

Change-Id: I12b74c0cfbdbdabf8c58479d60b3bdd3b965305e
Merges: https://codeberg.org/guix/guix/pulls/1934
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:14 +02:00
Anderson Torres 2e349c03a6 gnu: utf8proc: Update to 2.11.3.
* gnu/packages/textutils.scm (utf8proc, utf8proc-bootstrap):
  Update to 2.11.3.
  [native-inputs]<NormalizationTest.txt, GraphemeBreakTest.txt>
  <DerivedCoreProperties.txt>: Update to Unicode 17.0.0.

Change-Id: I7fb8df6d759dcfd48b1efc85768f75cedf170a3a
Merges: https://codeberg.org/guix/guix/pulls/5270
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:14 +02:00
Ashish SHUKLA 21866437cb gnu: elogind: Update to 255.22
* gnu/packages/freedesktop.scm (elogind): Update to 255.22.
[source]<commit>: Update tag prefix.

Change-Id: I2b2e2f8fb8adbd3d9a3ae419e1087d3abdc2baad
Merges: https://codeberg.org/guix/guix/pulls/4680
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:14 +02:00
Ashish SHUKLA b263230fc3 gnu: oksh: Update to 7.8.
* gnu/packages/shells.scm (oksh): Update to 7.8.

Change-Id: I54642941193a9695ee56e539953a9d119fc7f97e
Merges: https://codeberg.org/guix/guix/pulls/4055
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:14 +02:00
Antoine Côté e98508bb6e gnu: libaacs: Update to 0.11.1.
* gnu/packages/video.scm (libaacs): Update to 0.11.1.

Change-Id: Ib6b1122e54689f318ed8c28a94b2a0dab9c935dc
Merges: https://codeberg.org/guix/guix/pulls/1132
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:14 +02:00
Ashish SHUKLA 53210db7aa gnu: jemalloc: Update to 5.3.1
* gnu/packages/jemalloc.scm (jemalloc): Update to 5.3.1.

Change-Id: I86b8dc2e4f00d8aecd8f41a577e043549568af49
Merges: https://codeberg.org/guix/guix/pulls/7909
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:14 +02:00
Sughosha 7c8cddcfbd gnu: libjxl: Update to 0.11.2.
* gnu/packages/image.scm (libjxl): Update to 0.11.2.
  [source]: Do not fetch recursively.  Remove snippet.
  [arguments]<#:phases>: Add patch-dependencies and unpack-testdata.
  [native-inputs]: Add (package-source sjpeg).
  [inputs]: Add sjpeg and skcms.

Change-Id: I13840de4fb111547ce6fd4e136ecfa9fd316fb06
Merges: https://codeberg.org/guix/guix/pulls/8719
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:14 +02:00
Nguyễn Gia Phong 1603f6aeae gnu: libjxl: Improve style.
* gnu/packages/image.scm (libjxl)[arguments]: Switch to gexp.

Change-Id: Ic6df287b73b1641aa4b0c1ced8856d9ea3d0960a
2026-05-29 11:34:14 +02:00
Sughosha 8375e8c64f gnu: openexr: Improve style.
* gnu/packages/graphics.scm (openexr)[source]: Realign.
  [arguments]: Realign.  <#:phases>: Simplify substitution patterns.

Change-Id: I053490c3f4db7b2e7ec475784cd52781f1a548cd
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:14 +02:00
Sughosha a7cba29bfc gnu: openexr: Update to 3.4.11.
* gnu/packages/graphics.scm (openexr): Update to 3.4.11.
  [source]<snippet>: Delete third party libraries.
  [inputs]: Remove imath as it is already present in the propagated inputs.
  [propagated-inputs]: Add openjph.  Update and improve the comments.
  [home-page]: Fix permanent redirection.

Change-Id: I85a13955bf8d301aecf91f9556b9fc21fd4a2321
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:14 +02:00
Yelninei fa9dda57ed gnu: libtirpc: Update to 1.3.7.
* gnu/packages/patches/libtirpc-hurd.patch: Refresh patch.
* gnu/packages/patches/libtirpc-CVE-2021-46828.patch: Delete patch.
* gnu/local.mk (dist_patch_DATA): Deregister it.
* gnu/packages/onc-rpc.scm (libtirpc): Update to 1.3.7.
  [source]<patches>: Remove the deleted patch.

Change-Id: I2fb7acc4a053ef40f2f69e045d156bee3d87ce3d
References: https://codeberg.org/guix/guix/pulls/8718
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:13 +02:00
Yelninei 7dc09a3254 gnu: libtirpc/hurd: Merge with libtirpc.
* gnu/packages/onc-rpc.scm (libtirpc)[source]: Add libtirpc-hurd patch.
  [#:configure-flags] : Set path to krb5-config when cross compiling.
  [#:phases]: Remove adjust-pkg-config phase.
  [native-inputs]: Remove mit-krb5.
  (libtirpc/hurd): Mark as a deprecated variable.
* gnu/packages/hurd.scm (hurd): Replace libtirpc/hurd with libtirpc.

Change-Id: Idcc38f56cd89e18d435675ead2b9eb7835d75be0
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:13 +02:00
SilverlightningY ce9a9598a9 gnu: frei0r: Rename from frei0r-plugins.
* gnu/packages/video.scm (frei0r): Rename from frei0r-plugins.
* gnu/packages/video.scm (frei0r-plugins): New deprecated variable.

Change-Id: I0cd5583bb88917f53b77e8177200e5c28e0bdec4
Merges: https://codeberg.org/guix/guix/pulls/2587
Reviewed-by: Efraim Flashner <efraim@flashner.co.il>
Reviewed-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Reviewed-by: Sughosha <sughosha@disroot.org>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:13 +02:00
SilverlightningY c41aea596f gnu: frei0r-plugins: Update to 3.1.3.
* gnu/packages/video.scm (frei0r-plugins): Update to 3.1.3.
  [source]: Switch to git-fetch.  <snippet>: Delete public headers.
  Prevent the installation of pkg-config file.
  [build-system]: Switch to cmake-build-system.
  [phases]: Remove custom build phase.
  [inputs]: Add opencv.  [native-inputs]: Add frei0r-api.
  [home-page]: Update to new home-page.
  [synopsis, description]: Update.

Change-Id: Ie007ed00d8810b11f1d93d86aaf9e481455b9c75
Reviewed-by: Efraim Flashner <efraim@flashner.co.il>
Reviewed-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Reviewed-by: Sughosha <sughosha@disroot.org>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:13 +02:00
SilverlightningY 6fc44f1a94 gnu: ffmpeg: Remove frei0r-plugins.
* gnu/packages/video.scm (ffmpeg)[arguments]<#:phases>{wrap-executable}:
  Remove FREI0R_PATH wrapping.
  [native-inputs]: Add frei0r-api.
  [inputs]: Remove frei0r-plugins.
  [native-search-paths]: Add FREI0R_PATH.

Change-Id: Icc4e41258b70062345a88dbcaaa83d1496aa2370
Reviewed-by: Efraim Flashner <efraim@flashner.co.il>
Reviewed-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Reviewed-by: Sughosha <sughosha@disroot.org>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:13 +02:00
SilverlightningY 7d87d1cb34 gnu: shotcut: Remove frei0r-plugins.
* gnu/packages/video.scm
  (shotcut)[arguments]<#:phases>{wrap-executable}:
  Remove FREI0R_PATH wrapping.
  [native-inputs]: Add frei0r-api.
  [inputs]: Remove frei0r-plugins.
  [native-search-paths]: Add FREI0R_PATH.

Change-Id: Ie4036cc65618b20ed878bf55153d49f717797546
Reviewed-by: Efraim Flashner <efraim@flashner.co.il>
Reviewed-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Reviewed-by: Sughosha <sughosha@disroot.org>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:13 +02:00
SilverlightningY 07d910ec69 gnu: mlt: Remove frei0r-plugins.
* gnu/packages.video.scm (mlt)[arguments]<#:phases>{wrap-executable}:
  Remove FREI0R_PATH wrapping.
  [native-inputs]: Add frei0r-api.
  [inputs]: Remove frei0r-plugins.
  [native-search-paths]: Add FREI0R_PATH.

Change-Id: I8824b7a4dfc96288d144249630f6d3d68ec304b4
Reviewed-by: Efraim Flashner <efraim@flashner.co.il>
Reviewed-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Reviewed-by: Sughosha <sughosha@disroot.org>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:13 +02:00
SilverlightningY 6b85e8f7ee gnu: kdenlive: Remove frei0r-plugins.
* gnu/packages/kde-multimedia
  (kdenlive)[arguments]<#:phases>{wrap-executable}:
  Remove FREI0R_PATH wrapping.
  [native-inputs]: Add frei0r-api.
  [inputs]: Remove frei0r-plugins.
  [native-search-paths]: Add FREI0R_PATH.

Change-Id: I645298818a86265b3774aac45646a334f500586e
Reviewed-by: Efraim Flashner <efraim@flashner.co.il>
Reviewed-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Reviewed-by: Sughosha <sughosha@disroot.org>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:13 +02:00
SilverlightningY c9396d8076 gnu: frei0r-api: New variable.
* gnu/packages/video.scm (frei0r-api): New variable.

Change-Id: I30d8182d4536cf0af62f66f9860a4125bc7a043a
Reviewed-by: Efraim Flashner <efraim@flashner.co.il>
Reviewed-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Reviewed-by: Sughosha <sughosha@disroot.org>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 11:34:13 +02:00
Nguyễn Gia Phong 6d510ccb99 Reapply "gnu: git-minimal: Install bash completion beside zsh wrapper."
This reverts commit 3a7f175db7.
2026-05-29 11:34:13 +02:00
Nguyễn Gia Phong 00c127fc9f gnu: git-minimal/pinned: Update to 2.54.0.
The inheritence is swapped to make updating the unpinned variant
easier and less error-prone.

* gnu/packages/version-control.scm (git-minimal/pinned):
  Delete variable.  Rename from git-minimal.
  [properties]<hidden?>: Set to #t.
  (git-minimal): New unhidden package inherting git-minimal/pinned.

Change-Id: I96b8129dfd18a17438798b8a629af272e8a16f09
2026-05-29 11:34:03 +02:00
Andreas Enge 3288e2f586 gnu: sage: Update to 10.9.
* gnu/packages/sagemath.scm (sage): Update to 10.9.

Change-Id: If8f93389ffe8bb8449476e61bfcb83d61c2c3839
2026-05-29 10:58:23 +02:00
Arun Isaac b8354c2979 services: mumi: Make rsync and index timer event configurable.
* gnu/services/web.scm (<mumi-configuration>)[rsync-and-index-event]: New
field.
* gnu/services/web.scm (mumi-shepherd-services): Use it.
* doc/guix.texi (Web Services)[Mumi]: Document it.

Change-Id: I5910c4a93106b44eaf3900d6a72fb501c01b8773
2026-05-29 09:48:26 +01:00
Cayetano Santos 33036b2908 gnu: perl-gnupg-interface: Update to 1.06.
* gnu/packages/gnupg.scm (perl-gnupg-interface): Update to 1.06.

Merges guix/guix!8909

Change-Id: Ia60101846e415863d5f2f089ceeb5a84d52e8991
2026-05-29 10:44:55 +02:00
Cayetano Santos 01b64d3428 gnu: gpa: Update to 0.11.1.
* gnu/packages/gnupg.scm (gpa): Update to 0.11.1.

Merges guix/guix!8909

Change-Id: I83c5d8180ae5f50953c2c9f6a606c14e5b78b3b9
2026-05-29 10:44:47 +02:00
Cayetano Santos 1c7e2df756 gnu: gpa: Refresh package.
* gnu/packages/gnupg.scm (gpa)[arguments]: Switch to G-Expressions.

Merges guix/guix!8909

Change-Id: I2352a74b486729dcbaf548d497dcbaec0a85c85d
2026-05-29 10:44:39 +02:00
Cayetano Santos 062cd42d46 gnu: signing-party: Update to 2.12.
* gnu/packages/gnupg.scm (signing-party): Update to 2.12.

Merges guix/guix!8909

Change-Id: Icfeb77fca0f9a4f89bf726d4dbe00d5661b17821
2026-05-29 10:44:31 +02:00
Cayetano Santos 5764620de1 gnu: signing-party: Refresh package.
* gnu/packages/gnupg.scm (signing-party)[arguments]: Switch to
G-Expressions; apply max column.

Merges guix/guix!8909

Change-Id: I86de74da637d3484f37db90a7315ee37183d9177
2026-05-29 10:44:23 +02:00
Cayetano Santos 7c271adcee gnu: llama-cpp: Update to 0.0.0-9353.
* gnu/packages/machine-learning.scm (llama-cpp): Update to
0.0.0-9353.
[arguments]<#:configure-flags>: Retore build ui.
<#:phases>: Add ’get-ui; update ’fix-tests.
[inputs]: Add ui.

Merges guix/guix!8859

Change-Id: I34da043c207041e14ce97e92799f541da3ce862d
2026-05-29 10:42:09 +02:00
Cayetano Santos e8f0ac36a0 gnu: ggml: Update to 0.13.0.
* gnu/packages/machine-learning.scm (ggml): Update to 0.13.0.

Merges guix/guix!8859

Change-Id: I1a64b171c313f7b8217e20a347bba6548fd829e4
2026-05-29 10:42:08 +02:00
Nguyễn Gia Phong 728e54fbae Revert "gnu: node-typescript: Update to 6.0.3."
This reverts commit ba4943661a,
which was pushed by mistake.

Change-Id: I887a59c3fc67c9618ffb4f3d9e7e2314954a0050
2026-05-29 17:27:53 +09:00
Nguyễn Gia Phong 2cc6aacbd7 gnu: postgresql-14: Graft to 14.23 [security fixes].
PostgreSQL 14.23 contains fixes for CVE-2026-6472, CVE-2026-6473,
CVE-2026-6474, CVE-2026-6475, CVE-2026-6477, CVE-2026-6478,
CVE-2026-6479 and CVE-2026-6637.

* gnu/packages/databases.scm (postgresql-14): Update to 14.23.

Change-Id: I15229d938c5bfbd787d4b5f6a9328d79ba1b3626
2026-05-29 16:41:30 +09:00
Nguyễn Gia Phong 20dcd44484 gnu: postgresql-15: Update to 15.18.
PostgreSQL 14.23 contains fixes for CVE-2026-6472, CVE-2026-6473,
CVE-2026-6474, CVE-2026-6475, CVE-2026-6477, CVE-2026-6478,
CVE-2026-6479 and CVE-2026-6637.

* gnu/packages/databases.scm (postgresql-15): Update to 15.18.

Change-Id: I6435952609e84c232cf3ed092ff067f855f9a414
2026-05-29 16:41:30 +09:00
Nguyễn Gia Phong 75a84eaea6 gnu: postgresql-16: Update to 16.14.
PostgreSQL 16.14 contains fixes for CVE-2026-6472, CVE-2026-6473,
CVE-2026-6474, CVE-2026-6475, CVE-2026-6477, CVE-2026-6478,
CVE-2026-6479, CVE-2026-6637 and CVE-2026-6638.

* gnu/packages/databases.scm (postgresql-16): Update to 16.14.

Change-Id: Ifa8a9a86618a06d5ca6b4f34b542f05508b87b30
2026-05-29 16:41:30 +09:00
Nguyễn Gia Phong f15277c19a gnu: postgresql-17: Update to 17.10.
PostgreSQL 17.10 contains fixes for CVE-2026-6472, CVE-2026-6473,
CVE-2026-6474, CVE-2026-6475, CVE-2026-6476, CVE-2026-6477,
CVE-2026-6478, CVE-2026-6479, CVE-2026-6637 and CVE-2026-6638.

* gnu/packages/databases.scm (postgresql-17): Update to 17.10.

Change-Id: I761ff3cc28c7b21eb15a6cd7f5cb2e2c48a1915b
2026-05-29 16:41:29 +09:00
Kjartan Oli Agustsson ba4943661a gnu: node-typescript: Update to 6.0.3.
* gnu/packages/node-xyz.scm (node-typescript): Update to 6.0.3.

Change-Id: I1989b73d7ecabd2bfcfe6495f317776484d6ddbf
Merges: https://codeberg.org/guix/guix/pulls/8623
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 16:41:29 +09:00
Anderson Torres cf21d51433 gnu: Remove pending references to deprecated (gnu packages flex).
* gnu/packages/c.scm:  Remove references to (gnu packages flex).
* gnu/packages/video.scm: Likewise.
* gnu/packages/web.scm: Likewise.
* gnu/packages/admin.scm: Change (gnu packages flex)
  to (gnu packages compiler-tools).
* gnu/packages/algebra.scm: Likewise.
* gnu/packages/apparmor.scm: Likewise.
* gnu/packages/assembly.scm: Likewise.
* gnu/packages/astronomy.scm: Likewise.
* gnu/packages/audio.scm: Likewise.
* gnu/packages/bioinformatics.scm: Likewise.
* gnu/packages/bison.scm: Likewise.
* gnu/packages/bootloaders.scm: Likewise.
* gnu/packages/cdrom.scm: Likewise.
* gnu/packages/chemistry.scm: Likewise.
* gnu/packages/cluster.scm: Likewise.
* gnu/packages/cobol.scm: Likewise.
* gnu/packages/code.scm: Likewise.
* gnu/packages/commencement.scm: Likewise.
* gnu/packages/coq.scm: Likewise.
* gnu/packages/coreboot.scm: Likewise.
* gnu/packages/databases.scm: Likewise.
* gnu/packages/datalog.scm: Likewise.
* gnu/packages/debug.scm: Likewise.
* gnu/packages/dictionaries.scm: Likewise.
* gnu/packages/dns.scm: Likewise.
* gnu/packages/documentation.scm: Likewise.
* gnu/packages/dotnet.scm: Likewise.
* gnu/packages/education.scm: Likewise.
* gnu/packages/electronics.scm: Likewise.
* gnu/packages/embedded.scm: Likewise.
* gnu/packages/emulators.scm: Likewise.
* gnu/packages/engineering.scm: Likewise.
* gnu/packages/esolangs.scm: Likewise.
* gnu/packages/fabric-management.scm: Likewise.
* gnu/packages/file-systems.scm: Likewise.
* gnu/packages/finance.scm: Likewise.
* gnu/packages/firmware.scm: Likewise.
* gnu/packages/flashing-tools.scm: Likewise.
* gnu/packages/fontutils.scm: Likewise.
* gnu/packages/games.scm: Likewise.
* gnu/packages/gcc.scm: Likewise.
* gnu/packages/gdb.scm: Likewise.
* gnu/packages/geo.scm: Likewise.
* gnu/packages/gl.scm: Likewise.
* gnu/packages/glib.scm: Likewise.
* gnu/packages/gnome.scm: Likewise.
* gnu/packages/graph.scm: Likewise.
* gnu/packages/graphics.scm: Likewise.
* gnu/packages/groff.scm: Likewise.
* gnu/packages/gstreamer.scm: Likewise.
* gnu/packages/guile.scm: Likewise.
* gnu/packages/hardware.scm: Likewise.
* gnu/packages/haskell.scm: Likewise.
* gnu/packages/heads.scm: Likewise.
* gnu/packages/hurd.scm: Likewise.
* gnu/packages/image-processing.scm: Likewise.
* gnu/packages/instrumentation.scm: Likewise.
* gnu/packages/kde-frameworks.scm: Likewise.
* gnu/packages/kde-graphics.scm: Likewise.
* gnu/packages/kde-pim.scm: Likewise.
* gnu/packages/kde-sdk.scm: Likewise.
* gnu/packages/kerberos.scm: Likewise.
* gnu/packages/lego.scm: Likewise.
* gnu/packages/lesstif.scm: Likewise.
* gnu/packages/libreoffice.scm: Likewise.
* gnu/packages/lighting.scm: Likewise.
* gnu/packages/linux.scm: Likewise.
* gnu/packages/logging.scm: Likewise.
* gnu/packages/mail.scm: Likewise.
* gnu/packages/man.scm: Likewise.
* gnu/packages/maths.scm: Likewise.
* gnu/packages/mpi.scm: Likewise.
* gnu/packages/multiprecision.scm: Likewise.
* gnu/packages/music.scm: Likewise.
* gnu/packages/netpbm.scm: Likewise.
* gnu/packages/networking.scm: Likewise.
* gnu/packages/nickle.scm: Likewise.
* gnu/packages/ocaml.scm: Likewise.
* gnu/packages/package-management.scm: Likewise.
* gnu/packages/parallel.scm: Likewise.
* gnu/packages/plotutils.scm: Likewise.
* gnu/packages/pretty-print.scm: Likewise.
* gnu/packages/profiling.scm: Likewise.
* gnu/packages/qt.scm: Likewise.
* gnu/packages/radio.scm: Likewise.
* gnu/packages/rdesktop.scm: Likewise.
* gnu/packages/rpc.scm: Likewise.
* gnu/packages/rust.scm: Likewise.
* gnu/packages/security-token.scm: Likewise.
* gnu/packages/selinux.scm: Likewise.
* gnu/packages/shellutils.scm: Likewise.
* gnu/packages/simulation.scm: Likewise.
* gnu/packages/statistics.scm: Likewise.
* gnu/packages/telephony.scm: Likewise.
* gnu/packages/toys.scm: Likewise.
* gnu/packages/version-control.scm: Likewise.
* gnu/packages/virtualization.scm: Likewise.
* gnu/packages/vpn.scm: Likewise.
* gnu/packages/vulkan.scm: Likewise.
* gnu/packages/webkit.scm: Likewise.
* gnu/packages/wine.scm: Likewise.
* gnu/packages/wm.scm: Likewise.
* gnu/packages/xdisorg.scm: Likewise.
* gnu/packages/xorg.scm: Likewise.

Merges: https://codeberg.org/guix/guix/pulls/8483
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 16:41:06 +09:00
Anderson Torres c74733f035 gnu: Change (gnu packages re2c) to (gnu packages compiler-tools).
* gnu/packages/build-tools.scm: Change (gnu packages re2c)
  to (gnu packages compiler-tools).
* gnu/packages/lua.scm: Likewise.
* gnu/packages/perl-web.scm: Likewise.
* gnu/packages/potassco.scm: Likewise.
* gnu/packages/video.scm: Likewise.
* gnu/packages/web.scm: Likewise.

Change-Id: I8b95c1bd646fae34260a92f48038400eb97413fd
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 16:41:06 +09:00
Anderson Torres b25c0b62fe gnu: re2c: Migrate to (gnu packages compiler-tools).
* gnu/packages/compiler-tools.scm: Move to here...
* gnu/packages/re2c.scm (re2c): ...from here.  New deprecated variable.

Change-Id: I540e0d2cf0a1137e08f0278e2768b02b9d6fdfae
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 16:41:06 +09:00
Anderson Torres 1fcf978657 gnu: flex: Drop input label.
* gnu/packages/compiler-tools.scm (flex)[inputs]: Drop label.

Change-Id: I2fc83a76735bf66a68a0e56d3ca3558265cde872
Modified-by: Nguyễn Gia Phong <cnx@loang.net>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 16:41:06 +09:00
Anderson Torres 7af7accf2f gnu: flex: Migrate to (gnu packages compiler-tools).
* gnu/packages/compiler-tools.scm (flex): Move to here...
* gnu/packages/flex.scm (flex): ...from here.  New deprecated variablle.

Change-Id: I505ce7660096fc6325b96eafe1e130d7a1f3924b
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 16:41:05 +09:00
Ricardo Wurmus f7c1f2cafe gnu: pigx-rnaseq: Update to 0.1.1-0.1605b54.
* gnu/packages/bioinformatics.scm (pigx-rnaseq): Update to 0.1.1-0.1605b54.
[source]: Fetch git repository.
[arguments]: Adjust phase 'disable-resource-intensive-test.
[inputs]: Replace snakemake-7 with snakemake.

Change-Id: I4aa4d681061ecc58cb819fe95c919da55eb34532
2026-05-29 09:29:40 +02:00
Cayetano Santos eec2d7a1c8 gnu: Remove emacs-flymake-shellcheck.
* gnu/packages/emacs-xyz.scm (emacs-flymake-shellcheck): Delete
variable.

Merges guix/guix!8463

Change-Id: I7ea08bf680f85b76ff6860dead6e59c940c268e8
2026-05-29 09:27:17 +02:00
Cayetano Santos d6d8b1bb4f gnu: Add emacs-emcp.
* gnu/packages/emacs-xyz.scm (emacs-emcp): New variable.

Merges guix/guix!8781

Change-Id: I629b6f723bcc68c4c9910662f1915e9852161067
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
2026-05-29 09:21:56 +02:00
Cayetano Santos e1b33e1dd2 gnu: Add emacs-http-server.
* gnu/packages/emacs-xyz.scm (emacs-http-server): New variable.

Merges guix/guix!8781

Change-Id: I6d99fffb9ec9289cd7a92afbee9ce6eff0789e73
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
2026-05-29 09:21:56 +02:00
Maxim Cournoyer 613e069b3f .dir-locals.el: Refine `bug-reference-bug-regexp' regular expression.
There is no need to special-case !NNN compared to #NNN, both are valid and
serve difference purposes (PRs vs issues).

* .dir-locals.el: Refine `bug-reference-bug-regexp' regular expression.

Change-Id: I8246203a11c338be02b7a731f477b3411aa23ece
2026-05-29 16:06:39 +09:00
Nicolas Goaziou f5302d3491 gnu: Add font-literata.
* gnu/packages/fonts.scm (font-literata): New variable.

Change-Id: Ia37f493b12221016b8348899871c2639df63100f
2026-05-29 09:03:16 +02:00
Ashish SHUKLA b3479e0f53 gnu: got: Update to 0.126
* gnu/packages/version-control.scm (got): Update to 0.126.

Change-Id: I35fef23587cf519e9c154673e28806ff9772b57d
Merges: https://codeberg.org/guix/guix/pulls/8847
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 15:54:32 +09:00
Ashish SHUKLA 1ec29241ef gnu: kakoune: Update to 2026.05.21
* gnu/packages/text-editors.scm (kakoune): Update to 2026.05.21.
  [inputs]: Add bash-minimal.

Change-Id: Idec5798eca8f962d0f01cabb847c9ca5bfdcac74
Merges: https://codeberg.org/guix/guix/pulls/8751
Reviewed-by: Sughosha <sughosha@disroot.org>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 15:50:41 +09:00
luca 921621c78d gnu: Add zeptofetch.
* gnu/packages/admin.scm (zeptofetch): New variable.

Change-Id: I3b9cc1bd18152596520225eaaee4816a1a18b003
Merges: https://codeberg.org/guix/guix/pulls/8865
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 15:46:39 +09:00
Andy Tai 21e90a96c7 gnu: xrdp: Update to 0.10.6.
* gnu/packages/rdesktop.scm (xrdp): Update to 0.10.6.

Change-Id: I147247273a987311149563373ecea37b08fd782c
Merges: https://codeberg.org/guix/guix/pulls/8906
Reviewed-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 15:44:04 +09:00
Patrick Norton e59a793af1 gnu: widelands: Update to 1.3.1.
* gnu/packages/games.scm (widelands): Update to 1.3.1.

Change-Id: I53a028c09fda013fd8b26b4b6b66417a30757ab1
Merges: https://codeberg.org/guix/guix/pulls/8762
Reviewed-by: kestrel <kestrel.w@proton.me>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 15:41:25 +09:00
Zhu Zihao 6028a2f7ed gnu: musl: Update to 1.2.6 [security-fixes].
This update contains fixes for:
- CVE-2025-26519: musl libc: input-controlled out-of-bounds
  write primitive in iconv()
- CVE-2026-6042: musl libc GB18030 4-byte Decoder iconv.c
  iconv algorithmic complexity
- CVE-2026-40200: musl libc: stack corruption in qsort
  with sufficiently large inputs

* gnu/packages/musl.scm (musl): Update to 1.2.6.
* gnu/packages/patches/musl-CVE-2026-40200.patch: New patch.
* gnu/packages/patches/musl-cross-locale.patch: Remove stale patch.
* gnu/local.mk (dist_DATA): Add entry for musl-CVE-2026-40200.patch,
  remove entry for musl-cross-locale.patch.

Change-Id: I52b60b119a3a3c720f3098ad5e89c2e1382153e5
Merges: https://codeberg.org/guix/guix/pulls/8878
Reviewed-by: Nicolas Graves <ngraves@ngraves.fr>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 15:33:26 +09:00
Spencer King 380d705b4e gnu: Add python-cotengra.
* gnu/packages/python-science.scm (python-cotengra): New variable.

Merges guix/guix!8830

Change-Id: I414616ad579831498180578eb40682ac3c455df6
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
2026-05-29 07:58:20 +02:00
Cayetano Santos 1b4fd88b07 gnu: emacs-forgejo: Update to 0.2.3.
* gnu/packages/emacs-xyz.scm (emacs-forgejo): Update to 0.2.3.

Change-Id: Iad79dab798dae40e4105cfde921ec0620c21fed6
2026-05-29 07:54:22 +02:00
Ashish SHUKLA 950bae548a gnu: sqlite-next: Update to 3.53.1
* gnu/packages/sqlite.scm (sqlite-next): Update to 3.53.1.

Change-Id: I624018963384d03bedf1cd73c5b8bb92373dcd54
Merges: https://codeberg.org/guix/guix/pulls/8853
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 14:26:27 +09:00
Maxim Cournoyer 39baeaa58f Update commit-msg hook.
Retrieved from <https://gerrit.googlesource.com/gerrit/+/refs/heads/master/resources/com/google/gerrit/server/tools/root/hooks/commit-msg>.

Fixes: <https://issues.guix.gnu.org/81044>
Change-Id: Ia0bbc6fac3354df6162c813fe94c344a041ffbaf
Reported-by: Tomas Volf <~@wolfsden.cz>
2026-05-29 14:09:15 +09:00
Maxim Cournoyer f9a8158580 gnu: mysql-connector-python: Update to 9.7.0.
* gnu/packages/databases.scm (mysql-connector-python): Update to 9.7.0.
[#:configure-flags]: Delete.
[#:phases] {chdir}: New phase.
{check}: Remove all substitutions.
[propagated-inputs]: Delete.
[inputs]: Add zstd:lib.  Remove protobuf-3.20.  Replace openssl-1.1 with
openssl.

Change-Id: Ic00e586a85988f4a4f8939842b2b6017b3f19160
2026-05-29 13:20:05 +09:00
Maxim Cournoyer 2c79f4d932 gnu: mysql: Update to 9.7.0 and make reproducible [security fixes].
Fixes a slew of security vulnerabilities, which can be consulted here:
<https://nvd.nist.gov/vuln/search#/nvd/home?cpeFilterMode=cpe&cpeName=cpe:2.3:a:oracle:mysql:5.7.33:*:*:*:-:*:*:*&resultType=records>

* gnu/packages/databases.scm (mysql): Remove stale comment.  Update to 9.7.0.
[source]: Adjust URI.  Delete most bundled library sources.
[#:tests?]: Set to #f.
[#:configure-flags]: Replace -DWITH_SSL=system and -DWITH_ZLIB=system with
-DWITH_SYSTEM_LIBS=ON.  Add -DWITH_AUTHENTICATION_LDAP=ON,
-DWITH_AUTHENTICATION_WEBAUTHN=ON, -DWITH_BENCHMARK=OFF
-DWITH_BUILD_ID=OFF, -DWITH_FIDO=system, -DWITH_SYSTEM_LIBS=ON,
-DREPRODUCIBLE_BUILD=ON.  Set -DINSTALL_INFODIR to share/info.
Set -DINSTALL_MYSQLTESTDIR to OFF.  Delete
-DINSTALL_SCRIPTDIR=bin, -DDEFAULT_CHARSET=utf8,
-DDEFAULT_COLLATION=utf8_general_ci and -DINSTALL_SQLBENCHDIR="".
[#:phases] {disable-broken-abi-check, fix-permissions}: New phases.
[inputs]: Replace boost-for-mysql with boost.  Replace openssl-1.1 with
openssl.  Add curl, cyrus-sasl, icu4c, libedit, libfido2, lz4, mit-krb5,
openldap, protobuf and zstd:lib.
[license]: Add comment.

Fixes: #7500
Fixes: #8897
Change-Id: Ia089e66064406d082de8b17e31ffdca6eaf42449
2026-05-29 13:20:05 +09:00
Julian Flake ffe6057e2a gnu: aqbanking: Update to 6.9.2.
* gnu/packages/gnucash.scm (aqbanking): Update to 6.9.2.

Change-Id: If4831653ac1d442633a75df77ef8554c118056e6
Merges: https://codeberg.org/guix/guix/pulls/8840
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-29 12:34:14 +09:00
Artyom V. Poptsov f6ed91ec35 gnu: igt-gpu-tools: Update to 2.4.
* gnu/packages/admin.scm (igt-gpu-tools): Update to 2.4.
[inputs]: Add pciutils.

Change-Id: I82aaa2425b064a3d04357a3283358ce10c7fda88
2026-05-29 06:28:13 +03:00
Artyom V. Poptsov 3a72fa155f gnu: stress-ng: Update to 0.21.01.
* gnu/packages/admin.scm (stress-ng): Update to 0.21.01.

Change-Id: If9072cac66b260756d7c3ec647ded1e0659c814f
2026-05-29 06:28:12 +03:00
Artyom V. Poptsov 4572918625 gnu: witr: Update to 0.3.2.
* gnu/packages/admin.scm (witr): Update to 0.3.2.

Change-Id: I68e69d4ab7e7715e346800c1d72257db85de9056
2026-05-29 06:28:11 +03:00
moksh 61a36beb4a gnu: librewolf: Update to 151.0.2-1.
* gnu/packages/librewolf.scm (librewolf): Update to 151.0.2-1.

Change-Id: I95a215401d1059035c448caa5847ef1d2b9143cf
2026-05-28 20:17:54 -07:00
moksh a7cc0cf504 gnu: firefox-l10n: Update to a8799feda04a221a2c552576501975662c5350bb.
* gnu/packages/librewolf.scm (firefox-l10n): Update to a8799feda04a221a2c552576501975662c5350bb.

Change-Id: I2c6bffd563c145b707e0039e0cc0b3fdc2dbcada
2026-05-28 20:17:54 -07:00
Nguyễn Gia Phong 13d24ec965 gnu: Remove snakemake-5.
* gnu/packages/python-science.scm (snakemake-5): Delete variable.

Change-Id: I5ed4ed815a0271680ae7c7862a8acc2827b9aff9
2026-05-29 12:00:51 +09:00
Nguyễn Gia Phong ab1cccf8d9 gnu: snakemake-6: Uninherit from snakemake-5.
* gnu/packages/python-science.scm (snakemake-6):
  Do not inherit from snakemake-5.
  [home-page, synopsis, description, license]: Copy from snakemake-5.

Change-Id: I01aadb93d2acf13ba227cb113bd5ef7002194403
2026-05-29 12:00:51 +09:00
Nguyễn Gia Phong c266426f15 gnu: pigx-scrnaseq: Switch to snakemake-6.
* gnu/packages/bioinformatics.scm (pigx-scrnaseq)[inputs]:
  Replace snakemake-5 with snakemake-6.

Change-Id: Ia9f5db13dca08274baab585a64227d1eba4d1e2e
2026-05-29 12:00:47 +09:00
Maxim Cournoyer dc64ec527c build: Ensure the installed pre-push git hook matches its source.
* Makefile.am ($(GIT_HOOKS_DIR)/pre-push): Make a phony target, and copy file
when the target differs from its prerequisite.

Fixes: #7645
Reported-by: Gábor Udvari <mail@gaborudvari.com>
Change-Id: I6b5f677afe59c25a4d8905da814af4bbd91fb401
2026-05-29 11:52:12 +09:00
Kaelyn Takata 9873d2c433 gnu: python@3.12: Support cross-compilation.
* gnu/packages/python.scm (python-3.12)[arguments]: Pass
‘--with-build-python’ when cross-compiling.

Fixes: guix/guix#8827
Merges: guix/guix!8826
Change-Id: Ibaea0cf3250ee0ce0b2d838a4edc30fa1ac59dbc
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-29 00:39:51 +01:00
Nicolas Goaziou a6c665b575 gnu: font-inter: Ensure all font files are installed.
* gnu/packages/fonts.scm (font-inter)[source]: Use release tarball.
[outputs]: Add "ttf" and "woff" outputs.

Fixes guix/guix#7993

Change-Id: I77aac4ee8ee73c8e3e360579d28a1691bd04880f
2026-05-28 22:56:25 +02:00
Andreas Enge 338915e54b gnu: libbigwig: Modernize.
* gnu/packages/bioinformatics.scm (libbigwig)[inputs]:
Replace python2 by python.
[arguments]: Use gexps.

Change-Id: Ica8343a3525cce5490b3112b077a6eab1c316992
2026-05-28 22:19:12 +02:00
168 changed files with 2278 additions and 3462 deletions
+5 -6
View File
@@ -42,12 +42,11 @@
;; For use with 'bug-reference-prog-mode'. Extra bug-reference
;; configuration should be done in your Emacs user configuration file;
;; refer to (info (guix) The Perfect Setup).
(eval . (setq-local
;; #8545, guix/guix#8545, guix/guix!8545, but not !8545
bug-reference-bug-regexp
(rx (group (or (seq (zero-or-more "guix/guix") "#")
(seq (one-or-more "guix/guix") "!"))
(group (one-or-more digit))))))
(eval . (setq-local bug-reference-bug-regexp
;; #8545 (issues), !8545 (PRs), guix/guix#8545 and
;; guix/guix!8545
(rx (group (seq (? "guix/guix") (or "#" "!"))
(group (one-or-more digit))))))
(bug-reference-url-format . "https://codeberg.org/guix/guix/issues/%s")
(eval . (add-to-list 'completion-ignored-extensions ".go"))
+8
View File
@@ -1281,6 +1281,14 @@ $(GIT_HOOKS_DIR):
$(GIT_HOOKS_DIR)/%: etc/git/% | $(GIT_HOOKS_DIR)/
if [ -n "$(GIT_HOOKS_DIR)" ]; then cp "$<" "$@"; fi
# Special-case the pre-push hook installation, to ensure it is always
# up-to-date with its source.
.PHONY: $(GIT_HOOKS_DIR)/pre-push
$(GIT_HOOKS_DIR)/pre-push: etc/git/pre-push | $(GIT_HOOKS_DIR)
@if [ -n "$(GIT_HOOKS_DIR)" ]; then \
cmp "--silent" "$<" "$@" || cp "$<" "$@"; \
fi
$(GIT_CONFIG_FILE): etc/git/gitconfig
if [ -n "$(GIT_CONFIG_FILE)" ]; then \
git config --fixed-value --replace-all include.path \
+73 -6
View File
@@ -53,7 +53,7 @@ Copyright @copyright{} 2017, 2019--2026 Maxim Cournoyer@*
Copyright @copyright{} 20172022 Tobias Geerinckx-Rice@*
Copyright @copyright{} 2017 George Clemmer@*
Copyright @copyright{} 2017 Andy Wingo@*
Copyright @copyright{} 2017, 2018, 2019, 2020, 2023, 2024, 2025 Arun Isaac@*
Copyright @copyright{} 2017, 2018, 2019, 2020, 2023, 2024, 2025, 2026 Arun Isaac@*
Copyright @copyright{} 2017 nee@*
Copyright @copyright{} 2018 Rutger Helling@*
Copyright @copyright{} 2018, 2021, 2023, 2025, 2026 Oleg Pykhalov@*
@@ -77,7 +77,7 @@ Copyright @copyright{} 2020 Damien Cassou@*
Copyright @copyright{} 2020 Jakub Kądziołka@*
Copyright @copyright{} 2020 Jack Hill@*
Copyright @copyright{} 2020 Naga Malleswari@*
Copyright @copyright{} 2020, 2021 Brice Waegeneire@*
Copyright @copyright{} 2020, 2021, 2025 Brice Waegeneire@*
Copyright @copyright{} 2020 R Veera Kumar@*
Copyright @copyright{} 2020, 2021, 2022 Pierre Langlois@*
Copyright @copyright{} 2020 pinoaffe@*
@@ -36741,13 +36741,16 @@ The Mumi package to use.
Data directory to store Debbugs data from upstream Debbugs instance.
@item @code{rsync-remote}
Remote rsync path from which to download Debbugs data. The remote is
polled every 5 minutes, unless a previous instance of rsync is already
running.
Remote rsync path from which to download Debbugs data.
@item @code{rsync-flags} (default: @code{'()})
Additional flags to pass to @command{rsync}.
@item @code{rsync-and-index-event} (default: @code{#~(calendar-event #:minutes '#$(iota 12 0 5))})
Shepherd calendar event to run the rsync and indexing timer at. By
default, this is once every 5 minutes. The timer job is not run if an
earlier instance of it is still running.
@item @code{mailer?} (default: @code{#true})
Whether to enable or disable the mailer component.
@@ -52976,7 +52979,8 @@ subset of applications. This field will be ignored if @code{layout} is set
to @code{'plain}.
@item @code{excluded} (default: @code{'(".*~" ".*\\.swp" "/\\.git/.*" "\\.gitignore")}) (type: list-of-strings)
The list of file patterns @code{home-dotfiles-service-type} will exclude
The list of file patterns (including directories)
@code{home-dotfiles-service-type} will exclude
while visiting each one of the @code{directories}.
@end table
@@ -54392,6 +54396,69 @@ Where the service will write its logs. If unset, it defaults to
@end table
@end deftp
@node XDG Home Services
@subsection XDG Home Services
The @code{(gnu home services xdg)} module provides services related to
XDG specifications for the desktop.
@subsubheading XDG User Directories
@defvar{home-xdg-user-directories-service-type}
This service sets the names of default user directories such as
@samp{Downloads} and @samp{Documents}. These settings are respected by
most applications via @var{xdg-user-dirs}.
To disable a directory, set it to @code{"$HOME"}.
@end defvar
@c %start of fragment
@deftp {Data Type} home-xdg-user-directories-configuration
Available @code{home-xdg-user-directories-configuration} fields are:
@table @asis
@item @code{desktop} (default: @code{"$HOME/Desktop"}) (type: string)
Default @samp{Desktop} directory, this is what you see on your
background when using a desktop environment, e.g. KDE.
@item @code{documents} (default: @code{"$HOME/Documents"}) (type: string)
Default directory to put documents like PDFs.
@item @code{download} (default: @code{"$HOME/Downloads"}) (type: string)
Default directory downloaded files, this is where your Web-broser will
put downloaded files in.
@item @code{music} (default: @code{"$HOME/Music"}) (type: string)
Default directory for audio files.
@item @code{pictures} (default: @code{"$HOME/Pictures"}) (type: string)
Default directory for pictures and images.
@item @code{projects} (default: @code{"$HOME/Projects"}) (type: string)
Default directory for projects.
@item @code{publicshare} (default: @code{"$HOME/Public"}) (type: string)
Default directory for shared files, which can be accessed by other users
on local machine or via network.
@item @code{templates} (default: @code{"$HOME/Templates"}) (type: string)
Default directory for templates. They can be used by graphical file
manager or other apps for creating new files with some pre-populated
content.
@item @code{videos} (default: @code{"$HOME/Videos"}) (type: string)
Default directory for videos.
@end table
@end deftp
@c %end of fragment
@node Guix Home Services
@subsection Guix Home Services
+6 -5
View File
@@ -1,5 +1,4 @@
#!/bin/sh
# From Gerrit Code Review 3.11.1.
#
# Part of Gerrit Code Review (https://www.gerritcodereview.com/)
#
@@ -70,9 +69,9 @@ dest="$1.tmp.${random}"
trap 'rm -f "$dest" "$dest-2"' EXIT
if ! cat "$1" | sed -e '/>8/q' | git stripspace --strip-comments > "${dest}" ; then
echo "cannot strip comments from $1"
exit 1
if ! sed -e '/>8/q' "$1" | git stripspace --strip-comments > "${dest}" ; then
echo "cannot strip comments from $1"
exit 1
fi
if test ! -s "${dest}" ; then
@@ -91,7 +90,7 @@ else
pattern=".*"
fi
if git interpret-trailers --parse < "$1" | grep -q "^$token: $pattern$" ; then
if git interpret-trailers --no-divider --parse < "$1" | grep -q "^$token: $pattern$" ; then
exit 0
fi
@@ -99,6 +98,7 @@ fi
# sentinel at the end to make sure there is one.
# Avoid the --in-place option which only appeared in Git 2.8
if ! git interpret-trailers \
--no-divider \
--trailer "Signed-off-by: SENTINEL" < "$1" > "$dest-2" ; then
echo "cannot insert Signed-off-by sentinel line in $1"
exit 1
@@ -110,6 +110,7 @@ fi
# Avoid the --in-place option which only appeared in Git 2.8
# Avoid the --where option which only appeared in Git 2.15
if ! git -c trailer.where=before interpret-trailers \
--no-divider \
--trailer "Signed-off-by: $token: $value" < "$dest-2" |
sed -e "s/^Signed-off-by: \($token: \)/\1/" \
-e "/^Signed-off-by: SENTINEL/d" > "$dest" ; then
+7 -3
View File
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2024 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2024, 2026 Giacomo Leidi <therewasa@fishinthecalculator.me>
;;; Copyright © 2025 Brice Waegeneire <brice@waegenei.re>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -126,18 +127,21 @@ user's home directory, excluding files that match any of the patterns in EXCLUDE
(define (home-dotfiles-configuration->files config)
"Return a list of objects compatible with @code{home-files-service-type}'s
value, excluding files that match any of the patterns configured."
value, excluding files and directories that match any of the patterns configured."
(define stow? (eq? (home-dotfiles-configuration-layout config) 'stow))
(define excluded
(home-dotfiles-configuration-excluded config))
(define exclusion-rx
(make-regexp (string-append "^.*(" (string-join excluded "|") ")$")))
(define* (excluded-file? file stat #:optional result)
(not (regexp-exec exclusion-rx file)))
(define* (directory-contents directory #:key (packages #f))
(define (filter-files directory)
(find-files directory
(lambda (file stat)
(not (regexp-exec exclusion-rx file)))))
excluded-file?
#:enter?
excluded-file?))
(if (and stow? packages (maybe-value-set? packages))
(append-map filter-files
(map (lambda (pkg)
+5 -3
View File
@@ -204,9 +204,8 @@ for example).")))
(define-configuration home-xdg-user-directories-configuration
(desktop
(string "$HOME/Desktop")
"Default ``desktop'' directory, this is what you see on your
desktop when using a desktop environment,
e.g. GNOME (@pxref{XWindow,,,guix.info}).")
"Default @samp{Desktop} directory, this is what you see on your background
when using a desktop environment, e.g. KDE.")
(documents
(string "$HOME/Documents")
"Default directory to put documents like PDFs.")
@@ -220,6 +219,9 @@ will put downloaded files in.")
(pictures
(string "$HOME/Pictures")
"Default directory for pictures and images.")
(projects
(string "$HOME/Projects")
"Default directory for projects.")
(publicshare
(string "$HOME/Public")
"Default directory for shared files, which can be accessed by other
+1 -4
View File
@@ -1174,7 +1174,6 @@ dist_patch_DATA = \
%D%/packages/patches/cube-nocheck.patch \
%D%/packages/patches/cups-relax-root-ownership-check.patch \
%D%/packages/patches/cura-engine-gcc-14.patch \
%D%/packages/patches/curl-CVE-2024-8096.patch \
%D%/packages/patches/curl-use-ssl-cert-env.patch \
%D%/packages/patches/curlftpfs-fix-error-closing-file.patch \
%D%/packages/patches/curlftpfs-fix-file-names.patch \
@@ -1832,7 +1831,6 @@ dist_patch_DATA = \
%D%/packages/patches/libtgvoip-disable-webrtc.patch \
%D%/packages/patches/libtheora-config-guess.patch \
%D%/packages/patches/libtiff-CVE-2022-34526.patch \
%D%/packages/patches/libtirpc-CVE-2021-46828.patch \
%D%/packages/patches/libtirpc-hurd.patch \
%D%/packages/patches/libtool-grep-compat.patch \
%D%/packages/patches/libtool-skip-tests2.patch \
@@ -1967,7 +1965,7 @@ dist_patch_DATA = \
%D%/packages/patches/mswebrtc-cmake.patch \
%D%/packages/patches/mtools-mformat-uninitialized.patch \
%D%/packages/patches/mupen64plus-ui-console-notice.patch \
%D%/packages/patches/musl-cross-locale.patch \
%D%/packages/patches/musl-CVE-2026-40200.patch \
%D%/packages/patches/mutt-store-references.patch \
%D%/packages/patches/m17n-lib-1.8.0-use-pkg-config-for-freetype.patch \
%D%/packages/patches/nanosvg-prusa-slicer.patch \
@@ -2005,7 +2003,6 @@ dist_patch_DATA = \
%D%/packages/patches/nss-getcwd-nonnull.patch \
%D%/packages/patches/nss-increase-test-timeout.patch \
%D%/packages/patches/nss-3.56-pkgconfig.patch \
%D%/packages/patches/nss-disable-broken-tests.patch \
%D%/packages/patches/nss-3.115-disable-broken-tests.patch \
%D%/packages/patches/nss-3.115-disable-pkix-ocsp-tests.patch \
%D%/packages/patches/ntp-fix-dereferencing-the-wrong-variable.patch \
+40 -7
View File
@@ -144,7 +144,7 @@
#:use-module (gnu packages elf)
#:use-module (gnu packages file)
#:use-module (gnu packages file-systems)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages fonts)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gawk)
@@ -2979,7 +2979,7 @@ system is under heavy load.")
(define-public stress-ng
(package
(name "stress-ng")
(version "0.20.01")
(version "0.21.01")
(source
(origin
(method git-fetch)
@@ -2988,7 +2988,7 @@ system is under heavy load.")
(commit (string-append "V" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1jkinrxh9ppv7xfii9xlisnd2679wnj4ljq12h8y0nvwrm8fkm0b"))))
(base32 "11w8xjm53lgnxfvg286lavqjh0il3bfr1fsgyk915167r4vlabqq"))))
(build-system gnu-build-system)
(arguments
;; XXX The test suite seems to cause instability on the VisionFive 2
@@ -4434,7 +4434,7 @@ buffers.")
(define-public igt-gpu-tools
(package
(name "igt-gpu-tools")
(version "2.3")
(version "2.4")
(source
(origin
(method git-fetch)
@@ -4443,7 +4443,7 @@ buffers.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1vyqrsvxraib98r4i6cjmxq7nis480s2ns95v78dscygcci42i8a"))))
(base32 "0ijvfa5wamihzbl8l29sc27ml0kmgzlld83jm5mln6bb4bvny4gs"))))
(build-system meson-build-system)
(arguments
`(#:tests? #f ; many of the tests try to load kernel modules
@@ -4461,6 +4461,7 @@ buffers.")
libdrm
libpciaccess
libunwind
pciutils
procps
python))
(native-inputs
@@ -7071,7 +7072,7 @@ network, which causes enabled computers to power on.")
(define-public witr
(package
(name "witr")
(version "0.3.1")
(version "0.3.2")
(source
(origin
(method git-fetch)
@@ -7080,7 +7081,7 @@ network, which causes enabled computers to power on.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "03v9n4mdvqm0knqjl4s64321i5clqpmlrlkkdb87glzb9p28sg00"))))
(base32 "06vxrgd0j2v6s4snmyviwpp66hm5zai7xca9318inhyg4jw3ngg5"))))
(build-system go-build-system)
(arguments
(list
@@ -7227,6 +7228,38 @@ has a focus on performance. It can be used as a greeter by starting
it from @file{~/.bashrc} for example.")
(license license:agpl3+)))
(define-public zeptofetch
(package
(name "zeptofetch")
(version "1.21")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://gitlab.archlinux.org/gurov/zeptofetch")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1f1dm9nrp0z0prqy90csrkbk98ixp0jx76ax473qb0qsbb7ys4g7"))))
(build-system gnu-build-system)
(arguments
(list
#:tests? #f ; No tests available.
#:make-flags
#~(list (string-append "PREFIX="
#$output))
#:phases
#~(modify-phases %standard-phases
(delete 'configure)))) ; No configure script.
(home-page "https://gitlab.archlinux.org/gurov/zeptofetch")
(synopsis
"Fast, minimal system information tool for Linux.")
(description
"This package provides a system fetch tool, similar to
@command{neofetch}, @command{fastfetch}, etc. It is lightweight and
has a focus on performance.")
(license license:gpl3+)))
(define-public zzz
(package
(name "zzz")
+1 -1
View File
@@ -52,7 +52,7 @@
#:use-module (gnu packages cpp)
#:use-module (gnu packages curl)
#:use-module (gnu packages documentation)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages fltk)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages gcc)
+1 -1
View File
@@ -22,7 +22,7 @@
#:use-module (gnu packages base)
#:use-module (gnu packages bison)
#:use-module (gnu packages dejagnu)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages gawk)
#:use-module (gnu packages gettext)
#:use-module (gnu packages linux)
+2 -2
View File
@@ -52,7 +52,7 @@
(define-public aspell
(package
(name "aspell")
(version "0.60.8.1")
(version "0.60.8.2")
(source
(origin
(method url-fetch)
@@ -60,7 +60,7 @@
version ".tar.gz"))
(sha256
(base32
"06yjhwlgpcvbrl5g83qjrpzjwjx7hka5lhsfc3x5gm229nri5nnn"))
"06b9szgm9cj1zh58r7sbl5fbi3vi9fs7b1as4ir8y176x9ilizjp"))
(patches (search-patches "aspell-default-dict-dir.patch"))))
(build-system gnu-build-system)
(arguments
+2 -4
View File
@@ -50,7 +50,7 @@
#:use-module (gnu packages base)
#:use-module (gnu packages bison)
#:use-module (gnu packages compression)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages gettext)
#:use-module (gnu packages image)
#:use-module (gnu packages linux)
@@ -276,9 +276,7 @@ has strong support for macros.")
'(#:parallel-tests? #f)) ; Some tests fail
; non-deterministically when run in
; parallel
(inputs
`(("python" ,python-wrapper)
("xmlto" ,xmlto)))
(inputs (list python-wrapper xmlto))
(home-page "https://yasm.tortall.net/")
(synopsis "Rewrite of the NASM assembler")
(description
+2 -11
View File
@@ -66,7 +66,7 @@
#:use-module (gnu packages curl)
#:use-module (gnu packages databases)
#:use-module (gnu packages documentation)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages fortran-xyz)
#:use-module (gnu packages freedesktop)
@@ -1858,18 +1858,9 @@ R. Seaman's protocol}
(file-name (git-file-name name version))
(sha256
(base32 "0n2jzlpwvjgj8ydg7hsqxnvy8s9pdi5z96id0231kgi87pyfkh7s"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(modules '((guix build utils)))
(snippet
#~(begin
;; XXX: 'delete-all-but' is copied from the turbovnc package.
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "thirdparty" "thirdparty.cmake")))))
(build-system cmake-build-system)
(arguments
+1 -1
View File
@@ -103,7 +103,7 @@
#:use-module (gnu packages elf)
#:use-module (gnu packages emacs)
#:use-module (gnu packages file)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages fltk)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages freedesktop)
+17 -17
View File
@@ -98,24 +98,24 @@
(cut patch-shebang <> path)
(find-files (string-append #$output "/etc/avahi"))))))))
(inputs
`(("bash-minimal" ,bash-minimal)
("dbus" ,dbus)
("expat" ,expat)
("gdbm" ,gdbm)
("glib" ,glib)
;; Do not use libcap when cross-compiling since it's not quite
;; cross-compilable; and use it only for supported systems.
,@(if (and (not (%current-target-system))
(member (%current-system)
(package-supported-systems libcap)))
`(("libcap" ,libcap)) ;to enable chroot support in avahi-daemon
'())
("libdaemon" ,libdaemon)
("libevent" ,libevent)))
(cons* bash-minimal
dbus
expat
gdbm
glib
libdaemon
libevent
;; Do not use libcap when cross-compiling since it's not quite
;; cross-compilable; and use it only for supported systems.
(if (and (not (%current-target-system))
(member (%current-system)
(package-supported-systems libcap)))
(list libcap) ;to enable chroot support in avahi-daemon
(list))))
(native-inputs
`(("gettext" ,gettext-minimal)
("glib" ,glib "bin")
("pkg-config" ,pkg-config)))
(list gettext-minimal
(list glib "bin")
pkg-config))
(synopsis "Implementation of mDNS/DNS-SD protocols")
(description
"Avahi is a system which facilitates service discovery on a local
+101 -103
View File
@@ -96,7 +96,7 @@
#:use-module (gnu packages datastructures)
#:use-module (gnu packages dlang)
#:use-module (gnu packages file)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages gawk)
#:use-module (gnu packages gcc)
#:use-module (gnu packages gd)
@@ -3864,20 +3864,13 @@ familiar to anyone with experience of scikit-learn or scipy.")
(file-name (git-file-name name version))
(sha256
(base32 "0hznpj15kx2sla16wlmcqz21n2vi2qb1493v30vz75hnm1m4iwm1"))
(modules '((guix build utils)
(ice-9 ftw)))
(modules '((guix build utils)))
(snippet
#~(begin
;; Delete everything except for examples directory:
(define (delete-except exceptions)
(lambda (file)
(unless (member file `("." ".." ,@exceptions))
(delete-file-recursively file))))
(for-each (delete-except '("pysnptools" "tests")) (scandir "."))
(with-directory-excursion "pysnptools"
(for-each (delete-except '("examples")) (scandir ".")))
(with-directory-excursion "tests"
(for-each (delete-except '("datasets")) (scandir "."))))))))
(delete-all-but ".""pysnptools" "tests")
(delete-all-but "pysnptools" "examples")
(delete-all-but "tests" "datasets"))))))
(define-public python-pysnptools
(package
@@ -6710,20 +6703,20 @@ meso, or continuum scale.")
"09693dmf1scdac5pyq6qyn8b4mcipvnmc370k9a5z41z81m3dcsj"))))
(build-system gnu-build-system)
(arguments
`(#:test-target "test"
(list
#:test-target "test"
#:tests? #f ; tests require access to the web
#:make-flags
,#~(list "CC=gcc"
(string-append "prefix=" #$output))
#~(list "CC=gcc"
(string-append "prefix=" #$output))
#:phases
(modify-phases %standard-phases
#~(modify-phases %standard-phases
(delete 'configure))))
(inputs
(list zlib curl))
(native-inputs
`(("doxygen" ,doxygen)
;; Need for tests
("python" ,python-2)))
(list doxygen
python)) ;for tests
(home-page "https://github.com/dpryan79/libBigWig")
(synopsis "C library for handling bigWig files")
(description
@@ -17839,94 +17832,99 @@ once. This package provides tools to perform Drop-seq analyses.")
(license license:expat)))
(define-public pigx-rnaseq
(package
(name "pigx-rnaseq")
(version "0.1.1")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/BIMSBbioinfo/pigx_rnaseq/"
"releases/download/v" version
"/pigx_rnaseq-" version ".tar.gz"))
(sha256
(base32
"0mlas0srl04mvgsyydm67gg5syijf1k2f6dy7bdqqxc70fywfd08"))))
(build-system gnu-build-system)
(arguments
`(#:parallel-tests? #f ; not supported
#:phases
(modify-phases %standard-phases
;; "test.sh" runs the whole pipeline, which takes a long time and
;; might fail due to OOM. The MultiQC is also resource intensive.
(add-after 'unpack 'disable-resource-intensive-test
(lambda _
(substitute* "Makefile.in"
(("^ tests/test_multiqc/test.sh") "")
(("^ test.sh") ""))))
(add-before 'bootstrap 'autoreconf
(lambda _
(invoke "autoreconf" "-vif")))
(add-before 'configure 'set-PYTHONPATH
(lambda _
(setenv "PYTHONPATH" (getenv "GUIX_PYTHONPATH"))))
(add-before 'check 'set-timezone
;; The readr package is picky about timezones.
(lambda* (#:key inputs #:allow-other-keys)
(setenv "TZ" "UTC+1")
(setenv "TZDIR"
(search-input-directory inputs
"share/zoneinfo"))))
(add-before 'check 'pre-check
(lambda _
;; Needed for tests
(setenv "HOME" "/tmp"))))))
(inputs
(list coreutils
sed
gzip
snakemake-7
megadepth
multiqc
star-for-pigx
hisat2
fastp
htseq
samtools
r-minimal
r-rmarkdown
r-genomeinfodb
r-ggplot2
r-ggpubr
r-ggrepel
r-gprofiler2
r-deseq2
r-dt
r-knitr
r-pheatmap
r-corrplot
r-reshape2
r-plotly
r-scales
r-summarizedexperiment
r-crosstalk
r-tximport
r-rtracklayer
r-rjson
salmon
pandoc
python-wrapper
python-deeptools
python-pyyaml))
(native-inputs
(list tzdata automake autoconf))
(home-page "https://bioinformatics.mdc-berlin.de/pigx/")
(synopsis "Analysis pipeline for RNA sequencing experiments")
(description "PiGX RNAseq is an analysis pipeline for preprocessing and
(let ((commit "1605b541da090e13d58dae6fed38ae8dda09f002"))
(package
(name "pigx-rnaseq")
(version (git-version "0.1.1" "0" commit))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/BIMSBbioinfo/pigx_rnaseq/")
(commit commit)
(recursive? #true)))
(file-name (git-file-name name version))
(sha256
(base32
"1j5c0wlasmxvz9z64yga56m2hhbybl149kknsrpvmq0v2gl31rn5"))))
(build-system gnu-build-system)
(arguments
(list
#:parallel-tests? #f ; not supported
#:phases
'(modify-phases %standard-phases
;; "test.sh" runs the whole pipeline, which takes a long time and
;; might fail due to OOM. The MultiQC is also resource intensive.
(add-after 'unpack 'disable-resource-intensive-test
(lambda _
(substitute* "Makefile.am"
(("^ tests/test_multiqc/test.sh.*") "")
(("^ tests/test_hisat2/test.sh.*") " tests/test_hisat2/test.sh\n")
(("^ test.sh") ""))))
(add-before 'bootstrap 'autoreconf
(lambda _
(invoke "autoreconf" "-vif")))
(add-before 'configure 'set-PYTHONPATH
(lambda _
(setenv "PYTHONPATH" (getenv "GUIX_PYTHONPATH"))))
(add-before 'check 'set-timezone
;; The readr package is picky about timezones.
(lambda* (#:key inputs #:allow-other-keys)
(setenv "TZ" "UTC+1")
(setenv "TZDIR"
(search-input-directory inputs
"share/zoneinfo"))))
(add-before 'check 'pre-check
(lambda _
;; Needed for tests
(setenv "HOME" "/tmp"))))))
(inputs
(list coreutils
sed
gzip
snakemake
megadepth
multiqc
star-for-pigx
hisat2
fastp
htseq
samtools
r-minimal
r-rmarkdown
r-genomeinfodb
r-ggplot2
r-ggpubr
r-ggrepel
r-gprofiler2
r-deseq2
r-dt
r-knitr
r-pheatmap
r-corrplot
r-reshape2
r-plotly
r-scales
r-summarizedexperiment
r-crosstalk
r-tximport
r-rtracklayer
r-rjson
salmon
pandoc
python-wrapper
python-deeptools
python-pyyaml))
(native-inputs
(list tzdata automake autoconf))
(home-page "https://bioinformatics.mdc-berlin.de/pigx/")
(synopsis "Analysis pipeline for RNA sequencing experiments")
(description "PiGX RNAseq is an analysis pipeline for preprocessing and
reporting for RNA sequencing experiments. It is easy to use and produces high
quality reports. The inputs are reads files from the sequencing experiment,
and a configuration file which describes the experiment. In addition to
quality control of the experiment, the pipeline produces a differential
expression report comparing samples in an easily configurable manner.")
(license license:gpl3+)))
(license license:gpl3+))))
(define-public pigx-chipseq
(package
@@ -18132,7 +18130,7 @@ methylation and segmentation.")
python-loompy
pandoc
samtools
snakemake-5
snakemake-6
star-for-pigx
r-minimal
r-argparser
+1 -1
View File
@@ -28,7 +28,7 @@
#:use-module (guix build-system gnu)
#:use-module (gnu packages m4)
#:use-module (gnu packages perl)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (srfi srfi-1))
(define-public bison
+4 -3
View File
@@ -271,7 +271,8 @@ across a broad spectrum of applications.")
"0yrgn6syk260ckq9ld44vjv1bl6bamhy3jbp10kikcipcv0d5na6"))))))
(define-public boost-1.83
(hidden-package (package (inherit boost)
(package
(inherit boost)
(name "boost")
(version "1.83.0")
(source (origin
@@ -282,7 +283,7 @@ across a broad spectrum of applications.")
(patches
(list (boost-patch
"0001-unordered-fix-copy-assign.patch" version
"09j61m5xh7099k5na9i43x5rra51znf7vm2nyh89yqpizcll9q66")))
"0l520lqh2vxdlyzvpki6hy2ylqimag8v18n2sdbmliifxiiha4gl")))
(patch-flags '("-p2"))
(sha256
(base32
@@ -312,7 +313,7 @@ across a broad spectrum of applications.")
(else
#~())))
;; Not cross-compiling.
#~()))))))))
#~())))))))
(define-deprecated-package boost-with-python3
boost)
+1 -1
View File
@@ -55,7 +55,7 @@
#:use-module (gnu packages cross-base)
#:use-module (gnu packages disk)
#:use-module (gnu packages firmware)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages gcc)
#:use-module (gnu packages gettext)
+1 -1
View File
@@ -76,7 +76,7 @@
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages re2c)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages regex)
#:use-module (gnu packages rpc)
#:use-module (gnu packages serialization)
-1
View File
@@ -63,7 +63,6 @@
#:use-module (gnu packages bison)
#:use-module (gnu packages check)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages flex)
#:use-module (gnu packages gawk)
#:use-module (gnu packages gcc)
#:use-module (gnu packages perl)
+1 -1
View File
@@ -52,7 +52,7 @@
#:use-module (gnu packages bash)
#:use-module (gnu packages bison)
#:use-module (gnu packages compression)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages gettext)
#:use-module (gnu packages docbook)
+1 -2
View File
@@ -1139,8 +1139,7 @@ Anything Protocol} compliant programs can also be executed through Kyua.")
(arguments
`(#:tests? #f
#:configure-flags '("-DBUILD_SHARED_LIBS=ON")))
(native-inputs
`(("python" ,python-wrapper)))
(native-inputs (list python-wrapper))
(home-page "https://github.com/google/googletest/")
(synopsis "Test discovery and XUnit test framework")
(description "Google Test features an XUnit test framework, automated test
+1 -1
View File
@@ -46,7 +46,7 @@
#:use-module (gnu packages compression)
#:use-module (gnu packages cpp)
#:use-module (gnu packages documentation)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages fonts)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages fortran-xyz)
+1 -1
View File
@@ -32,7 +32,7 @@
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
#:use-module (gnu packages docbook)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages gettext)
#:use-module (gnu packages libevent)
#:use-module (gnu packages linux)
+1 -1
View File
@@ -25,7 +25,7 @@
#:use-module (guix gexp)
#:use-module (gnu packages bison)
#:use-module (gnu packages dbm)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages perl)
+1 -1
View File
@@ -66,7 +66,7 @@
#:use-module (gnu packages curl)
#:use-module (gnu packages elf)
#:use-module (gnu packages emacs)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages gcc)
#:use-module (gnu packages gettext)
#:use-module (gnu packages golang-build)
+1 -1
View File
@@ -42,7 +42,7 @@
#:use-module (gnu packages m4)
#:use-module (gnu packages gawk)
#:use-module (gnu packages bison)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages guile)
#:use-module (gnu packages gettext)
#:use-module (gnu packages multiprecision)
+106 -4
View File
@@ -1,8 +1,11 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012-2014, 2019, 2022 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2016, 2024-2025 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017, 2020, 2021 Sergei Trofimovich <slyfox@inbox.ru>
;;; Copyright © 2018, 2022 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2021 Foo Chuan Wei <chuanwei.foo@hotmail.com>
;;; Copyright © 2022 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2022 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2024-2025 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2025 Alexey Abramov <levenson@mmer.org>
;;; Copyright © 2025 Anderson Torres <anderson.torres.8519@gmail.com>
;;;
;;; This file is part of GNU Guix.
@@ -22,14 +25,21 @@
(define-module (gnu packages compiler-tools)
#:use-module (gnu packages autotools)
#:use-module (gnu packages bison)
#:use-module (gnu packages gawk)
#:use-module (gnu packages m4)
#:use-module (gnu packages man)
#:use-module (gnu packages python)
#:use-module (gnu packages)
#:use-module (guix build-system gnu)
#:use-module (guix build-system trivial)
#:use-module (guix download)
#:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages))
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (srfi srfi-1))
(define-public byacc
(package
@@ -65,6 +75,59 @@ consist of a set of LALR(1) parsing tables and a driver routine written in the
C programming language.")
(license license:public-domain)))
(define-public flex
(package
(name "flex")
(version "2.6.4")
(source
(origin
(method url-fetch)
(uri (string-append
"https://github.com/westes/flex"
"/releases/download/v" version "/"
"flex-" version ".tar.gz"))
(sha256
(base32
"15g9bv236nzi665p9ggqjlfn4dwck5835vf0bbw2cz7h5c1swyp8"))))
(build-system gnu-build-system)
(arguments
(if (%current-target-system)
(list #:configure-flags
#~'("ac_cv_func_malloc_0_nonnull=yes"
"ac_cv_func_realloc_0_nonnull=yes"))
'()))
(native-inputs
(list help2man
;; m4 is not present in PATH when cross-building
m4))
(inputs
(list
(package
(inherit bison)
(arguments
;; Disable tests, since they require flex.
(substitute-keyword-arguments arguments
((#:tests? _ #f) #f)))
(inputs (modify-inputs inputs
(delete "flex"))))))
(propagated-inputs (list m4))
(home-page "https://github.com/westes/flex")
(synopsis "Fast lexical analyser generator")
(description
"Flex is a tool for generating scanners. A scanner, sometimes
called a tokenizer, is a program which recognizes lexical patterns in
text. The flex program reads user-specified input files, or its standard
input if no file names are given, for a description of a scanner to
generate. The description is in the form of pairs of regular expressions
and C code, called rules. Flex generates a C source file named,
\"lex.yy.c\", which defines the function yylex(). The file \"lex.yy.c\"
can be compiled and linked to produce an executable. When the executable
is run, it analyzes its input for occurrences of text matching the
regular expressions for each rule. Whenever it finds a match, it
executes the corresponding C code.")
(license (license:non-copyleft "file://COPYING"
"See COPYING in the distribution."))))
(define-public oyacc
(package
(name "oyacc")
@@ -112,3 +175,42 @@ besides libc.")
(description
"This package provides the @command{yacc} command, implemented as a
symbolic link to the @command{oyacc} command from the same-named package.")))
(define-public re2c
(package
(name "re2c")
(version "4.2")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/skvadrik/" name
"/releases/download/" version "/"
name "-" version ".tar.xz"))
(sha256
(base32
"07ysqgdm0h566a8lwnpdgycp93vz7zskzihsgah3bla0ycj2pp69"))))
(build-system gnu-build-system)
(arguments
(list
#:tests?
(not (or (%current-target-system)
;; TODO: run_tests.py hangs
(system-hurd?)))
#:phases
(if (target-arm32?)
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-sources
(lambda _
(invoke "patch" "-p1" "--force" "--input"
#$(local-file (search-patch
"re2c-Use-maximum-alignment.patch"))))))
#~%standard-phases)))
(native-inputs
(list python)) ; for the test driver
(home-page "https://re2c.org/")
(synopsis "Lexer generator")
(description
"@code{re2c, Regular Expressions to Code} is a flexible lexical analyser.
Instead of using traditional table-driven approaches, it encodes a finite
state machine directly in the code in the form of jumps and comparisons.")
(license license:public-domain)))
+1 -1
View File
@@ -35,7 +35,7 @@
#:use-module (gnu packages boost)
#:use-module (gnu packages compression)
#:use-module (gnu packages emacs)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages gawk)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages ocaml)
+1 -1
View File
@@ -23,7 +23,7 @@
(define-module (gnu packages coreboot)
#:use-module (gnu packages bison)
#:use-module (gnu packages compression)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages pciutils)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix build-system cargo)
+26 -34
View File
@@ -68,16 +68,15 @@
(define-public curl
(package
(name "curl")
(version "8.6.0")
(version "8.20.0")
(source (origin
(method url-fetch)
(uri (string-append "https://curl.se/download/curl-"
version ".tar.xz"))
(sha256
(base32
"05fv468yjrb7qwrxmfprxkrcckbkij0myql0vwwnalgr3bcmbk9w"))
(patches (search-patches "curl-use-ssl-cert-env.patch"
"curl-CVE-2024-8096.patch"))))
"15mqw8y9vdxlz9cpr2z7q9r6552wgs7q7vr2k7lfl35s930jvzk3"))
(patches (search-patches "curl-use-ssl-cert-env.patch"))))
(outputs '("out"
"doc")) ;1.2 MiB of man3 pages
(build-system gnu-build-system)
@@ -106,36 +105,20 @@
(mkdir-p (string-append #$output:doc "/share/man"))
(rename-file (string-append #$output "/share/man/man3")
(string-append #$output:doc "/share/man/man3"))))
(replace 'check
(lambda* (#:key tests? parallel-tests? make-flags #:allow-other-keys)
(add-after 'unpack 'patch-runtests
(lambda _
(substitute* "tests/runtests.pl"
(("/bin/sh") (which "sh")))
(when tests?
(let* ((job-count (string-append
"-j"
(if parallel-tests?
(number->string (parallel-job-count))
"1")))
;; Ignore test 1477 due to a missing file in the 8.5.0
;; release. See
;; <https://github.com/curl/curl/issues/12462>.
(arguments `("-C" "tests" "test"
,@make-flags
,(if #$(or (system-hurd?)
(target-arm32?)
(target-aarch64?))
;; protocol FAIL
(string-append "TFLAGS=~1474 "
"!1477 "
job-count)
(string-append "TFLAGS=\"~1477 "
job-count "\"")))))
;; The top-level "make check" does "make -C tests quiet-test", which
;; is too quiet. Use the "test" target instead, which is more
;; verbose.
(apply invoke "make" arguments)))))
#$@(if (system-hurd?)
(("/bin/sh") (which "sh")))))
#$@(if (or (target-arm32?)
(target-aarch64?))
#~((add-after 'unpack 'skip-tests
(lambda _
(let ((port (open-file "tests/data/DISABLED" "a")))
(display "1474\n" port)
(close port)))))
#~())
#$@(if (system-hurd?)
#~((add-after 'unpack 'skip-tests/hurd
(lambda _
(let ((port (open-file "tests/data/DISABLED" "a")))
(display "526\n" port)
@@ -147,11 +130,20 @@
(display "564\n" port)
(display "575\n" port)
(display "1021\n" port)
(display "1474\n" port)
(display "1501\n" port)
(close port)))))
#~()))))
#~())
(add-after 'install 'sanitize-libcurl.pc
(lambda _
;; The pkgconfig file has all dependencies in Requires.private
;; which is unnecessary for our shared library use and would
;; require propagating them.
(substitute* (string-append #$output "/lib/pkgconfig/libcurl.pc")
(("^Requires.private:.*") "")))))))
(native-inputs
(list nghttp2 perl pkg-config python-minimal-wrapper))
(list nghttp2 perl pkg-config python-minimal-wrapper
openssl)) ;for tests
(inputs
(list gnutls libidn libpsl mit-krb5 `(,nghttp2 "lib") zlib))
(native-search-paths
+100 -80
View File
@@ -32,7 +32,7 @@
;;; Copyright © 2017 Kristofer Buffington <kristoferbuffington@gmail.com>
;;; Copyright © 2018 Amirouche Boubekki <amirouche@hypermove.net>
;;; Copyright © 2018 Joshua Sierles, Nextjournal <joshua@nextjournal.com>
;;; Copyright © 2018, 2021, 2022, 2023 Maxim Cournoyer <maxim@guixotic.coop>
;;; Copyright © 2018, 2021-2023, 2026 Maxim Cournoyer <maxim@guixotic.coop>
;;; Copyright © 2019 Jack Hill <jackhill@jackhill.us>
;;; Copyright © 2019 Alex Griffin <a@ajgrf.com>
;;; Copyright © 2019 Gábor Boskovits <boskovits@gmail.com>
@@ -109,7 +109,7 @@
#:use-module (gnu packages dbm)
#:use-module (gnu packages docbook)
#:use-module (gnu packages emacs)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gawk)
#:use-module (gnu packages gcc)
@@ -131,6 +131,7 @@
#:use-module (gnu packages guile-xyz)
#:use-module (gnu packages icu4c)
#:use-module (gnu packages jemalloc)
#:use-module (gnu packages kerberos)
#:use-module (gnu packages language)
#:use-module (gnu packages libedit)
#:use-module (gnu packages libevent)
@@ -147,6 +148,7 @@
#:use-module (gnu packages networking)
#:use-module (gnu packages node)
#:use-module (gnu packages onc-rpc)
#:use-module (gnu packages openldap)
#:use-module (gnu packages openstack)
#:use-module (gnu packages pantheon)
#:use-module (gnu packages parallel)
@@ -175,6 +177,7 @@
#:use-module (gnu packages ruby)
#:use-module (gnu packages ruby-check)
#:use-module (gnu packages ruby-xyz)
#:use-module (gnu packages security-token)
#:use-module (gnu packages serialization)
#:use-module (gnu packages sphinx)
#:use-module (gnu packages ssh)
@@ -1183,50 +1186,81 @@ autocompletion and syntax highlighting.")
auto-completion and syntax highlighting.")
(license license:bsd-3)))
;; XXX When updating, check whether boost-for-mysql is still needed.
;; It might suffice to patch cmake/boost.cmake as done in the past.
(define-public mysql
(package
(name "mysql")
(version "5.7.33")
(version "9.7.0")
(source (origin
(method url-fetch)
(uri (list (string-append
"https://dev.mysql.com/get/Downloads/MySQL-"
"https://cdn.mysql.com/Downloads/MySQL-"
(version-major+minor version) "/"
name "-" version ".tar.gz")
(string-append
"https://downloads.mysql.com/archives/get/file/"
name "-" version ".tar.gz")))
(sha256
(base32
"1bb343mf7n0qg2qz497gxjsqprygrjz1q1pbz76hgqxnsy08sfxd"))))
"0v9hc8yzp0f5pwl4kr1a8k7lwyf62g95klxb6avfrc2npjx79dbl"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
;; Delete bundled source libraries.
(delete-all-but "extra"
;; XXX: The build system doesn't currently
;; support unbundling these.
"json" ;used by bundled opentelemetry
"libbacktrace"
"libcno"
"opentelemetry-cpp"
"opentelemetry-proto"
"rapidjson"
"unordered_dense"
"xxhash")))))
(build-system cmake-build-system)
(arguments
(list
#:tests? #f ;FIXME: teach build system to use system googletest
#:configure-flags
#~(list "-DBUILD_CONFIG=mysql_release"
"-DWITH_SSL=system"
"-DWITH_ZLIB=system"
"-DDEFAULT_CHARSET=utf8"
"-DDEFAULT_COLLATION=utf8_general_ci"
"-DWITH_AUTHENTICATION_LDAP=ON"
"-DWITH_AUTHENTICATION_WEBAUTHN=ON"
"-DWITH_BENCHMARK=OFF"
;; XXX: BUILD_ID is disabled so that the INFO_BIN target is not
;; run; this target relies on running mysqld before it is
;; installed, which fails in our case.
"-DWITH_BUILD_ID=OFF"
"-DWITH_FIDO=system"
"-DWITH_SYSTEM_LIBS=ON"
"-DWITH_UNIT_TESTS=OFF" ;avoid bundled googletest
"-DREPRODUCIBLE_BUILD=ON"
"-DMYSQL_DATADIR=/var/lib/mysql"
"-DMYSQL_UNIX_ADDR=/run/mysqld/mysqld.sock"
"-DINSTALL_INFODIR=share/mysql/docs"
"-DINSTALL_INFODIR=share/info"
"-DINSTALL_MANDIR=share/man"
"-DINSTALL_PLUGINDIR=lib/mysql/plugin"
"-DINSTALL_SCRIPTDIR=bin"
"-DINSTALL_INCLUDEDIR=include/mysql"
"-DINSTALL_DOCREADMEDIR=share/mysql/docs"
"-DINSTALL_SUPPORTFILESDIR=share/mysql"
"-DINSTALL_MYSQLSHAREDIR=share/mysql"
"-DINSTALL_MYSQLTESTDIR=OFF"
"-DINSTALL_DOCDIR=share/mysql/docs"
"-DINSTALL_SHAREDIR=share/mysql"
;; Get rid of test data.
"-DINSTALL_MYSQLTESTDIR="
"-DINSTALL_SQLBENCHDIR=")
"-DINSTALL_SHAREDIR=share/mysql")
#:phases
#~(modify-phases %standard-phases
(add-before 'configure 'disable-broken-abi-check
(lambda _
;; The ABI check started failing with MySQL 9.7.0 for unknown
;; reasons.
(substitute* "cmake/abi_check.cmake"
(("RUN_ABI_CHECK 1")
"RUN_ABI_CHECK 0"))))
(add-after 'install 'remove-extra-binaries
(lambda _
;; Remove the 3 *_embedded files, which weigh in at
@@ -1253,35 +1287,51 @@ auto-completion and syntax highlighting.")
(dirname coreutils)
(dirname grep)
(dirname ps)
(dirname sed))))))))))
(dirname sed)))))))
(add-after 'install 'fix-permissions
;; XXX: Otherwise, the guix daemon reports: "suspicious ownership
;; or permission on `/gnu/store/...-mysql-9.7.0'; rejecting this
;; build output".
(lambda _
(chmod #$output #o755))))))
(native-inputs
(list bison perl pkg-config))
(inputs
(list bash-minimal
boost-for-mysql
boost
coreutils
curl
cyrus-sasl
gawk
grep
icu4c
libaio
libedit
libfido2
libtirpc
lz4
mit-krb5
ncurses
openssl-1.1
openldap
openssl
protobuf
procps
rpcsvc-proto ; rpcgen
sed
zlib))
zlib
`(,zstd "lib")))
(home-page "https://www.mysql.com/")
(synopsis "Fast, easy to use, and popular database")
(description
"MySQL is a fast, reliable, and easy to use relational database
management system that supports the standardized Structured Query
Language.")
(license license:gpl2)))
(license license:gpl2))) ;v2 only -- see 'Election of GPLv2' in LICENSE
(define-public mysql-connector-python
(package
(name "mysql-connector-python")
(version "8.3.0")
(version "9.7.0")
(source
(origin
(method git-fetch)
@@ -1290,66 +1340,23 @@ Language.")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "18jvpnnwmfrn961rvqmsygp7dw3spf3swhxhal4hhj5hqddckj5f"))))
(base32 "0zdm35apj1cfraxwlqfmr04pm87qpw73ilb8p88cn08zsa8q11hg"))))
(build-system pyproject-build-system)
(arguments
(list
;; tests: 1371 passed
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'compatibility
(lambda _
(substitute* "src/mysql_capi.c"
(("res = mysql_options\\(&self->session, MYSQL_OPT_LOAD_DATA_LOCAL_DIR.*")
"res = 0;")
(("mysql_options\\(&self->session, MYSQL_OPT_LOAD_DATA_LOCAL_DIR.*")
"")
(("mysql_options\\(&self->session, MYSQL_OPT_TLS_CIPHERSUITES.*")
"")
;; The C API does not have mysql_bind_param, so we produce an
;; error here.
(("status = mysql_bind_param.*") "status = 1;")
(("#include \"mysql_capi_conversion\\.h\"" all)
(string-append all "\n" "#include <stdbool.h>")))))
(add-after 'unpack 'chdir
(lambda _
;; Our protobuf is too old for the mysqlx dev API, so use the
;; classic one without the C modules.
(chdir "mysql-connector-python")))
(add-before 'build 'prepare-build
(lambda _
(setenv "MYSQL_CAPI" #$(this-package-input "mysql"))))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
;; Some of these tests might be failing due to the build
;; container's restrictions, others are due to the version
;; mismatch.
(substitute* "tests/cext/test_cext_api.py"
(("def test_change_user") "def _do_not_test_change_user")
(("def test_get_character_set_info")
"def _do_not_test_get_character_set_info"))
(substitute* "tests/test_bugs.py"
(("def test_change_user") "def _do_not_test_change_user")
(("def test_lost_connection") "def _do_not_test_lost_connection")
(("def test_kill_query") "def _do_not_test_kill_query")
;; These all fail because of expired certificates.
(("def test_cext_verify_server_certificate")
"def _do_not_test_cext_verify_server_certificate")
(("def test_pure_verify_server_certificate")
"def _do_not_test_pure_verify_server_certificate")
(("def test_verify_server_name_cext_cnx")
"def _do_not_test_verify_server_name_cext_cnx")
(("def test_verify_server_name_pure_cnx")
"def _do_not_test_verify_server_name_pure_cnx"))
(substitute* '("tests/test_connection.py"
"tests/test_aio_connection.py")
(("def test_allow_local_infile_in_path")
"def _do_not_test_allow_local_infile_in_path")
;; This fails because of expired certificates.
(("def test_connect_with_unix_socket")
"def _do_not_test_connect_with_unix_socket"))
(substitute* "tests/test_constants.py"
(("def test_deprecated")
"def _do_not_test_deprecated"))
(mkdir-p "/tmp/datadir")
(invoke "python3" "unittests.py"
"--verbosity=3"
@@ -1357,9 +1364,8 @@ Language.")
"--keep"
"--mysql-topdir=/tmp/datadir"
"--unix-socket=/tmp/datadir")))))))
(propagated-inputs (list python-protobuf))
(inputs (list mysql protobuf-3.20 openssl-1.1 zlib))
(native-inputs (list python-setuptools))
(inputs (list mysql openssl zlib `(,zstd "lib")))
(home-page "https://dev.mysql.com/doc/connector-python/en/index.html")
(synopsis "MySQL driver written in Python")
(description "MySQL Connector/Python enables Python programs to access
@@ -1666,14 +1672,14 @@ and high-availability (HA).")
(define-public postgresql-17
(package
(name "postgresql")
(version "17.7")
(version "17.10")
(source (origin
(method url-fetch)
(uri (string-append "https://ftp.postgresql.org/pub/source/v"
version "/postgresql-" version ".tar.bz2"))
(sha256
(base32
"1dg9labqgph2idaypb8khdvbag29pr3h4bqv5w8k7kgc08rk97pg"))
"144cb40gn1lasvz0jvz4i72mda8k7pm1bx6azq2vggfddm8h72h7"))
(patches (search-patches
"postgresql-disable-normalize_exec_path.patch"))))
(build-system gnu-build-system)
@@ -1736,14 +1742,14 @@ pictures, sounds, or video.")
(package
(inherit postgresql-17)
(name "postgresql")
(version "16.10")
(version "16.14")
(source (origin
(method url-fetch)
(uri (string-append "https://ftp.postgresql.org/pub/source/v"
version "/postgresql-" version ".tar.bz2"))
(sha256
(base32
"0hib575m9x3z8c71gkcv9jsyq77d3qk7q2zgzvfy6clwrvs8b16y"))
"0w9lgsn03m4k0v3m622v7fk3gqbfbjvwv34mrrc0i4ip4wa7gl7n"))
(patches (search-patches
"postgresql-disable-normalize_exec_path.patch"))))
(arguments
@@ -1767,14 +1773,14 @@ pictures, sounds, or video.")
(package
(inherit postgresql-16)
(name "postgresql")
(version "15.15")
(version "15.18")
(source (origin
(method url-fetch)
(uri (string-append "https://ftp.postgresql.org/pub/source/v"
version "/postgresql-" version ".tar.bz2"))
(sha256
(base32
"1ais46b2ij38y75i1w336as03pybyndsd2pp2q8gdjq9igmsllsp"))
"1d13qckpslfqamdmp23q3rbzxlp1rqwszylilyllpsp3gzwhvpqi"))
(patches (search-patches
"postgresql-disable-resolve_symlinks.patch"))))
(native-inputs (modify-inputs native-inputs
@@ -1787,6 +1793,7 @@ pictures, sounds, or video.")
(inherit postgresql-15)
(name "postgresql")
(version "14.20")
(replacement postgresql-14.23)
(source (origin
(inherit (package-source postgresql-15))
(uri (string-append "https://ftp.postgresql.org/pub/source/v"
@@ -1795,6 +1802,19 @@ pictures, sounds, or video.")
(base32
"0sv45dsmyplfys6dfdjdwmrczl46s82x35xdh311nxj02q7z29vm"))))))
(define-public postgresql-14.23
(package
(inherit postgresql-14)
(name "postgresql")
(version "14.23")
(source (origin
(inherit (package-source postgresql-14))
(uri (string-append "https://ftp.postgresql.org/pub/source/v"
version "/postgresql-" version ".tar.bz2"))
(sha256
(base32
"19clihp73ak2p5di90jhg50lqjkkr0iy349gkki30qsl5f11cwnc"))))))
(define-deprecated/public postgresql-13 #f
(package
(inherit postgresql-14)
+1 -1
View File
@@ -20,7 +20,7 @@
#:use-module (gnu packages bison)
#:use-module (gnu packages compression)
#:use-module (gnu packages cpp)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages libffi)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages python)
+2 -10
View File
@@ -58,7 +58,7 @@
#:use-module (gnu packages code)
#:use-module (gnu packages compression)
#:use-module (gnu packages digest)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages gcc)
#:use-module (gnu packages gdb)
@@ -1112,17 +1112,9 @@ to aid in debugging.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (base32 "0ppx8r9isc772y0ahpgl8g5b3yxka7ffqzlcsa920aib5nj39lrg"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(modules '((guix build utils)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(substitute* "pyproject.toml"
;; Python is linked with GNU readline on all Guix targets.
((".*gnureadline.*") "")
+1 -1
View File
@@ -56,7 +56,7 @@
#:use-module (gnu packages curl)
#:use-module (gnu packages education)
#:use-module (gnu packages emacs)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages fribidi)
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
+1 -1
View File
@@ -56,7 +56,7 @@
#:use-module (gnu packages datastructures)
#:use-module (gnu packages documentation)
#:use-module (gnu packages elf)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gcc)
#:use-module (gnu packages glib)
+1 -1
View File
@@ -57,7 +57,7 @@
#:use-module (gnu packages bison)
#:use-module (gnu packages kde-frameworks)
#:use-module (gnu packages docbook)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages ghostscript)
#:use-module (gnu packages graphviz)
#:use-module (gnu packages gettext)
+1 -1
View File
@@ -29,7 +29,7 @@
#:use-module (gnu packages compression)
#:use-module (gnu packages curl)
#:use-module (gnu packages databases)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages gettext)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages base)
+1 -1
View File
@@ -42,7 +42,7 @@
#:use-module (gnu packages curl)
#:use-module (gnu packages databases)
#:use-module (gnu packages django)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages fonts)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages freedesktop)
+16 -35
View File
@@ -90,7 +90,7 @@
#:use-module (gnu packages elf)
#:use-module (gnu packages embedded)
#:use-module (gnu packages engineering)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gawk)
@@ -1750,31 +1750,21 @@ exploration and optimization.")
(commit version)
(recursive? #t)))
(file-name (git-file-name name version))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(modules '((guix build utils)))
(snippet
#~(begin
;; XXX: 'delete-all-but' is copied from the turbovnc package.
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "libs"
"delaunay-triangulation"
"dxflib"
;; "fontobene-qt"
;; "googletest"
;; "hoedown"
"librepcb"
;; "muparser"
"optional"
"parseagle"
;; "polyclipping"
;; "quazip"
"type_safe")))
#~(delete-all-but "libs"
"delaunay-triangulation"
"dxflib"
;; "fontobene-qt"
;; "googletest"
;; "hoedown"
"librepcb"
;; "muparser"
"optional"
"parseagle"
;; "polyclipping"
;; "quazip"
"type_safe"))
(sha256
(base32 "1g3k2g2p5yy7zk971bg7qh4k38p30aydp27c5bfb02gn7djknz7w"))))
(build-system cmake-build-system)
@@ -2358,18 +2348,9 @@ layout of a circuit corresponds to the desired netlists.")
;; no longer have their original upstream.
(recursive? #t)))
(file-name (git-file-name name version))
(modules '((guix build utils)))
(snippet
#~(begin
(use-modules (guix build utils)
(ice-9 ftw)
(srfi srfi-26))
;; XXX: 'delete-all-but' is copied from the turbovnc package.
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "3rdparty"
;; The following sources have all been patched, so
;; cannot easily be unbundled.
+81 -49
View File
@@ -4547,43 +4547,6 @@ boilerplate code from defining new Flymake backend functions.")
(description "This package adds Clojure syntax checker clj-kondo.")
(license license:gpl3+)))
(define-public emacs-flymake-shellcheck
;; No tag, version grabbed from source .el file.
(let ((commit "ac534e9ef15c82ac86ae65fe5004d29dbc8c92c7")
(revision "1"))
(package
(name "emacs-flymake-shellcheck")
(version (git-version "0.1" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/federicotdn/flymake-shellcheck")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "04yfb4sy41spjzk9mhm4gy0h8vnjx09p2g6nm1yzgd9a5ph9sqgl"))))
(build-system emacs-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'substitute-shellcheck-path
(lambda* (#:key inputs #:allow-other-keys)
(make-file-writable "flymake-shellcheck.el")
(emacs-substitute-sexps "flymake-shellcheck.el"
("defcustom flymake-shellcheck-path"
`(or (executable-find "shellcheck")
,(search-input-file inputs "bin/shellcheck")))))))))
(inputs
(list shellcheck))
(home-page "https://github.com/federicotdn/flymake-shellcheck")
(synopsis "Flymake backend for Bash/Sh powered by ShellCheck")
(description
"This package provides a backend for Flymake to use the
tool ShellCheck for static analyzing @command{bash} and @command{sh}
scripts.")
(license license:gpl3+))))
(define-public emacs-a
(package
(name "emacs-a")
@@ -5303,6 +5266,39 @@ to prevent advertisers from tracking you when you open URLs (or listen to
podcasts) in Emacs.")
(license (list license:gpl3+)))))
(define-public emacs-emcp
(let ((commit "a91016452ef73813ea4a7e84cde233176d87a97f")
(revision "0"))
(package
(name "emacs-emcp")
(version (git-version "0.1.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://codeberg.org/martenlienen/emcp")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"08wbpj95l38fsdihxhgryb74psl11agw5n9swnpf1j3qyhwa13cn"))))
(build-system emacs-build-system)
(arguments
(list
#:test-command
#~(list "emacs" "-Q" "-batch"
"-l" "emcp-tests.el"
"-f"
"ert-run-tests-batch-and-exit")))
(propagated-inputs
(list emacs-elisp-refs emacs-magit emacs-http-server))
(home-page "https://codeberg.org/martenlienen/emcp")
(synopsis "Emacs MCP client")
(description
"@code{emacs-emcp} is an Emacs client for the @acronym{Model Context
Protocol, MCP}, designed to connect LLM agents directly to Emacs.")
(license license:gpl3+))))
(define emacs-emms-print-metadata
(package
(name "emacs-emms-print-metadata")
@@ -16152,18 +16148,9 @@ placed at the margin of the minibuffer for your completion candidates.")
(url "https://github.com/Fuco1/smartparens")
(commit commit)))
(file-name (git-file-name name version))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(modules '((guix build utils)))
(snippet
'(begin
;; Taken from nextpnr package.
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred
(negate (cut member <> (append '("." "..") preserve))))
(items (scandir "." pred)))
(for-each delete-file items))))
;; Only activate basic tests.
(delete-all-but "test"
"test-helper.el"
@@ -16794,6 +16781,51 @@ line program.")
requests library that uses the url library.")
(license license:gpl2+))))
(define-public emacs-http-server
(let ((commit "00e746baf4a622a7545b4af5c5237a55d51f801b")
(revision "0"))
(package
(name "emacs-http-server")
(version (git-version "0.1.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://codeberg.org/martenlienen/http-server.el")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"0j7ls15ljk22qxy6hs2qzcjnbdfvrq4qwly8s6kfbczi74mw5iji"))))
(build-system emacs-build-system)
(arguments
(list
#:test-command
#~(list "emacs" "-Q" "-batch"
"-l" "http-server.el"
"-l" "http-server-ws.el"
"-l" "http-server-tests.el"
"-l" "http-server-ws-tests.el"
"--eval"
(string-append
"(ert-run-tests-batch-and-exit "
"'(and (not http-server-accepts-extra-methods)
(not http-server-rejects-unsupported-methods)))"))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'build-info-manual
(lambda _
(invoke "makeinfo" "--no-split"
"-o" "http-server.info" "docs/http-server.texi"))))))
(native-inputs
(list emacs-package-lint emacs-plz emacs-websocket texinfo))
(home-page "https://codeberg.org/martenlienen/http-server.el")
(synopsis "Emacs HTTP server")
(description
"This library implements an HTTP server inside of Emacs to communicate
with the user or other external programs.")
(license license:gpl3+))))
(define-public emacs-rtfm-mode
(package
(name "emacs-rtfm-mode")
@@ -42079,7 +42111,7 @@ add popup descriptions to existing keymaps
(define-public emacs-forgejo
(package
(name "emacs-forgejo")
(version "0.2.2")
(version "0.2.3")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -42088,7 +42120,7 @@ add popup descriptions to existing keymaps
(file-name (git-file-name name version))
(sha256
(base32
"0hf4sckxdygxa84g3pi3m2qy16ngx76jsrf192q5l4fppsyirnws"))))
"1c8s8a0hwb44jddxsrd74bh8rwaz8z5mn9ga8jmwxy7w045xfln1"))))
(build-system emacs-build-system)
(arguments
(list #:lisp-directory "lisp"
+1 -1
View File
@@ -57,7 +57,7 @@
#:use-module (gnu packages compression)
#:use-module (gnu packages cross-base)
#:use-module (gnu packages dejagnu)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages gcc)
#:use-module (gnu packages gdb)
#:use-module (gnu packages guile)
+6 -81
View File
@@ -81,7 +81,7 @@
#:use-module (gnu packages engineering)
#:use-module (gnu packages elf)
#:use-module (gnu packages file-systems)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages fltk)
#:use-module (gnu packages fonts)
#:use-module (gnu packages fontutils)
@@ -464,13 +464,6 @@ It aims to support Nintendo DSi and 3DS as well.")
(srfi srfi-26)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
;; Clean up the source from bundled libraries we don't need.
(delete-all-but "Externals"
;; XXX: The build system is currently hard-coded
@@ -660,14 +653,6 @@ turbo speed, networked multiplayer, and graphical enhancements.")
(srfi srfi-26)))
(snippet
#~(begin
;; XXX: 'delete-all-but' is copied from the turbovnc package.
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
;; Clean up the source from bundled libraries we don't need.
(delete-all-but "Externals"
;; XXX: The build system is currently hard-coded
@@ -1083,17 +1068,9 @@ The following systems are supported:
(sha256
(base32
"0dfsz4dsh49dc9xx9rjhfzfkg4h91i2ksgp2inlr9yhgldw9q8h3"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(modules '((guix build utils)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <> (cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "src/third-party"
"blip_buf"
"inih")))))
@@ -2324,42 +2301,9 @@ physical device and the RetroPad virtual controller.")
(modules '((guix build utils)))
(snippet
'(begin
(use-modules (guix build utils)
(ice-9 ftw)
(srfi srfi-1)
(srfi srfi-26))
(define (delete-all-but . preserve)
;; Walk the file tree and delete everything except the paths
;; listed in PRESERVE. Directories listed PRESERVE will cause
;; their whole contents to be preserved.
(let ((preserve (map (compose (cut string-trim-right <> #\/)
(cut string-append "./" <>))
preserve)))
(file-system-fold
(lambda (path stat result) ;enter
(or (any (lambda (x)
(or (string-prefix? path x)
(string-prefix? x path)))
preserve)
(begin
(delete-file-recursively path)
#f)))
(lambda (path stat result) ;leaf (file)
(unless (any (cut string-prefix? <> path) preserve)
(delete-file path)))
(const #t) ;down (directory)
(const #t) ;up (directory)
(lambda (path stat result) ;skip
(when (file-exists? path)
(error "could not enter unreadable directory" path)))
(lambda (path stat errno result) ;error
(error "error processing" path (strerror errno)))
0
".")))
;; This is an allow-list of the shaders explicitly licensed as
;; free software.
(delete-all-but
(delete-all-but "."
"anamorphic/shaders/anamorphic.slang" ;expat
"anamorphic/anamorphic.slangp"
"annotated_passthru.slang" ;public license
@@ -3016,16 +2960,7 @@ GLSL (@file{.slang}) shaders for use with RetroArch.")
(commit (string-append "v" version))))
(snippet
#~(begin
(use-modules (guix build utils)
(ice-9 ftw)
(srfi srfi-26))
;; XXX: 'delete-all-but' is copied from the turbovnc package.
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(use-modules (guix build utils))
;; Remove as much bundled sources as possible, shaving off about
;; 65 MiB.
(delete-all-but "deps"
@@ -3834,24 +3769,14 @@ de-interlacing patches for use with PCSX2.")
(file-name (git-file-name name version))
(sha256
(base32 "0nr53cjifqwnz3icxsj01yd3aw1vfsfxga4zz5zi8aqr175mvq27"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(modules '((guix build utils)))
(snippet
#~(begin
(substitute* "cmake/Pcsx2Utils.cmake"
(("(PCSX2_GIT_REV \")Unknown" _ prefix)
(string-append prefix #$version "-guix")))
(delete-file "3rdparty/include/Packet32.h") ;"not open source"
;; XXX: 'delete-all-but' is copied from the turbovnc package.
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but
"3rdparty"
(delete-all-but "3rdparty"
;; asl2.0 and cc0
"glad" ;Is tailored.
;; bsd-3
+1 -1
View File
@@ -113,7 +113,7 @@
#:use-module (gnu packages emacs-build)
#:use-module (gnu packages emacs-xyz)
#:use-module (gnu packages file)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gawk)
+1 -1
View File
@@ -24,7 +24,7 @@
(define-module (gnu packages esolangs)
#:use-module (gnu packages)
#:use-module (gnu packages bison)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages python)
#:use-module (gnu packages python-build)
+1 -1
View File
@@ -30,7 +30,7 @@
#:use-module (gnu packages)
#:use-module (gnu packages autotools)
#:use-module (gnu packages bison)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages glib)
#:use-module (gnu packages graphviz)
#:use-module (gnu packages linux)
+1 -1
View File
@@ -78,7 +78,7 @@
#:use-module (gnu packages docbook)
#:use-module (gnu packages elf)
#:use-module (gnu packages file)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gawk)
#:use-module (gnu packages gettext)
+1 -1
View File
@@ -99,7 +99,7 @@
#:use-module (gnu packages emacs)
#:use-module (gnu packages emacs-xyz)
#:use-module (gnu packages dbm)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
+1 -1
View File
@@ -68,7 +68,7 @@
#:use-module (gnu packages elf)
#:use-module (gnu packages embedded)
#:use-module (gnu packages flashing-tools)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gawk)
+1 -1
View File
@@ -72,7 +72,7 @@
#:use-module (gnu packages electronics)
#:use-module (gnu packages elf)
#:use-module (gnu packages embedded)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages ghostscript)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang-xyz)
+6 -64
View File
@@ -1,7 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013, 2014, 2019 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2026 Anderson Torres <anderson.torres.8519@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -19,65 +17,9 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages flex)
#:use-module (guix licenses)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (guix gexp)
#:use-module (guix utils)
#:use-module (gnu packages)
#:use-module (gnu packages m4)
#:use-module (gnu packages man)
#:use-module (gnu packages bison)
#:use-module (srfi srfi-1))
#:use-module (gnu packages compiler-tools)
#:use-module (guix deprecation))
(define-public flex
(package
(name "flex")
(version "2.6.4")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/westes/flex"
"/releases/download/v" version "/"
"flex-" version ".tar.gz"))
(sha256
(base32
"15g9bv236nzi665p9ggqjlfn4dwck5835vf0bbw2cz7h5c1swyp8"))))
(build-system gnu-build-system)
(inputs
(let ((bison-for-tests
(package
(inherit bison)
(arguments
;; Disable tests, since they require flex.
(substitute-keyword-arguments arguments
((#:tests? _ #f) #f)))
(inputs (alist-delete "flex" (package-inputs bison))))))
`(("bison" ,bison-for-tests))))
(arguments
(if (%current-target-system)
(list #:configure-flags
#~'("ac_cv_func_malloc_0_nonnull=yes"
"ac_cv_func_realloc_0_nonnull=yes"))
'()))
;; m4 is not present in PATH when cross-building
(native-inputs
(list help2man m4))
(propagated-inputs (list m4))
(home-page "https://github.com/westes/flex")
(synopsis "Fast lexical analyser generator")
(description
"Flex is a tool for generating scanners. A scanner, sometimes
called a tokenizer, is a program which recognizes lexical patterns in
text. The flex program reads user-specified input files, or its standard
input if no file names are given, for a description of a scanner to
generate. The description is in the form of pairs of regular expressions
and C code, called rules. Flex generates a C source file named,
\"lex.yy.c\", which defines the function yylex(). The file \"lex.yy.c\"
can be compiled and linked to produce an executable. When the executable
is run, it analyzes its input for occurrences of text matching the
regular expressions for each rule. Whenever it finds a match, it
executes the corresponding C code.")
(license (non-copyleft "file://COPYING"
"See COPYING in the distribution."))))
;; XXX: Deprecated on 2026-05-28.
(define-deprecated/public-alias flex
(@ (gnu packages compiler-tools) flex))
+48 -47
View File
@@ -23,7 +23,6 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages fltk)
#:use-module ((guix licenses) #:select (lgpl2.0 lgpl2.0+))
#:use-module (gnu packages)
#:use-module (gnu packages autotools)
#:use-module (gnu packages build-tools)
@@ -35,8 +34,10 @@
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module (guix build-system waf)
@@ -56,63 +57,63 @@
(sha256
(base32 "0pnifyhhvcqfjd6iaa4m14kvfyqhjjdw0aqbcizcdhhqrl6q4pjg"))))
(build-system gnu-build-system)
(native-inputs
(list autoconf
automake
pkg-config))
(inputs
`(("libjpeg" ,libjpeg-turbo)
("libpng" ,libpng)
("libx11" ,libx11)
("libxft" ,libxft)
("mesa" ,mesa)
("zlib" ,zlib)))
(arguments
`(#:tests? #f ;TODO: compile programs in "test" dir
#:configure-flags
(list "--enable-shared"
(string-append "DSOFLAGS=-Wl,-rpath=" %output "/lib"))
#:phases
(modify-phases %standard-phases
(add-before 'configure 'patch-makeinclude
(lambda _
(substitute* "makeinclude.in"
(("/bin/sh") (which "sh")))
#t))
(add-after 'install 'patch-config
;; Provide -L flags for image libraries when querying fltk-config to
;; avoid propagating inputs.
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((conf (string-append (assoc-ref outputs "out")
"/bin/fltk-config"))
(jpeg (assoc-ref inputs "libjpeg"))
(png (assoc-ref inputs "libpng"))
(zlib (assoc-ref inputs "zlib")))
(substitute* conf
(("-ljpeg") (string-append "-L" jpeg "/lib -ljpeg"))
(("-lpng") (string-append "-L" png "/lib -lpng"))
(("-lz") (string-append "-L" zlib "/lib -lz"))))
#t)))))
(list
#:tests? #f ;TODO: compile programs in "test" dir
#:configure-flags
#~(list "--enable-shared"
(string-append "DSOFLAGS=-Wl,-rpath=" %output "/lib"))
#:phases
#~(modify-phases %standard-phases
(add-before 'configure 'patch-makeinclude
(lambda _
(substitute* "makeinclude.in"
(("/bin/sh")
(which "sh")))))
(add-after 'install 'patch-config
;; Provide -L flags for image libraries when querying fltk-config to
;; avoid propagating inputs.
(lambda* (#:key inputs #:allow-other-keys)
(let ((conf (string-append #$output "/bin/fltk-config"))
(libjpeg-so (search-input-file inputs "lib/libjpeg.so"))
(libpng-so (search-input-file inputs "lib/libpng.so"))
(libz-so (search-input-file inputs "lib/libz.so")))
(substitute* conf
(("-ljpeg")
(string-append "-L" (dirname libjpeg-so) " -ljpeg"))
(("-lpng")
(string-append "-L" (dirname libpng-so) " -lpng"))
(("-lz")
(string-append "-L" (dirname libz-so) " -lz")))))))))
(native-inputs (list autoconf automake pkg-config))
(inputs
(list libjpeg-turbo
libpng
libx11
libxft
mesa
zlib))
(home-page "https://www.fltk.org")
(synopsis "3D C++ GUI library")
(description "FLTK is a C++ GUI toolkit providing modern GUI functionality
without the bloat. It supports 3D graphics via OpenGL and its built-in GLUT
emulation. FLTK is designed to be small and modular enough to be statically
linked, but works fine as a shared library. FLTK also includes an excellent
UI builder called FLUID that can be used to create applications in minutes.")
(license lgpl2.0))) ; plus certain additional permissions
(description
"FLTK is a C++ GUI toolkit providing modern GUI functionality without the
bloat. It supports 3D graphics via OpenGL and its built-in GLUT emulation.
FLTK is designed to be small and modular enough to be statically linked, but
works fine as a shared library. FLTK also includes an excellent UI builder
called FLUID that can be used to create applications in minutes.")
(license license:lgpl2.0))) ; plus certain additional permissions
(define-public fltk
(package
(inherit fltk-1.3)
(version "1.4.4")
(version "1.4.5")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/fltk/fltk")
(commit (string-append "release-" version))))
(sha256
(base32 "1nfl37c9yplp4gxjjlajysfj2vsr47xjlcq78ambd7im4wbjgj76"))))))
(base32 "19bl0ryarg31wkhw01ryilp9iwwh6vwnsq9mnzmarzm0dkwhjc7c"))))))
(define-public ntk
@@ -162,4 +163,4 @@ UI builder called FLUID that can be used to create applications in minutes.")
library, adding improved graphics rendering via Cairo, a streamlined and
enhanced widget set, and other features designed to improve the appearance and
performance of the Non applications.")
(license lgpl2.0+))) ; plus certain additional permissions
(license license:lgpl2.0+))) ; plus certain additional permissions
+30 -6
View File
@@ -335,14 +335,14 @@ mediums.")
(version "4.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/rsms/inter")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(method url-fetch)
(uri (string-append
"https://github.com/rsms/inter/releases/download/"
"v" version "/Inter-" version ".zip"))
(sha256
(base32 "1g54vl3jkpan0s1mzrb1s8zjqzy9787ffjg9sfy6yjy4k3qg8xhx"))))
(base32 "07miarbl5ain7pg7sxlrb2j4m9prbriacyqpv1mvckwxlkagv0wq"))))
(build-system font-build-system)
(outputs '("out" "ttf" "woff"))
(home-page "https://rsms.me/inter")
(synopsis "Variable font family optimized for screen readability")
(description
@@ -400,6 +400,30 @@ Lisnoti is available in regular, italic, bold and bold-italic
variants.")
(license license:silofl1.1))))
(define-public font-literata
(package
(name "font-literata")
(version "3.103")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/googlefonts/literata")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"1nnr5y6fz7da06ihinmna2a1g79q8l41bgr62l6jpl43p1dw93dn"))))
(build-system font-build-system)
(outputs (list "out" "woff"))
(home-page "https://github.com/googlefonts/literata")
(synopsis "Contemporary serif typeface for long-form reading")
(description
"Literata is a serif screen font family. It was conceived for intensive
editorial use, especially on screens of all sorts. Its main potential is in
digital publishing, whether on the web, electronic press, or mobile
applications.")
(license license:silofl1.1)))
(define-public font-inconsolata
(package
(name "font-inconsolata")
+1 -1
View File
@@ -52,7 +52,7 @@
#:use-module (gnu packages compression)
#:use-module (gnu packages datastructures)
#:use-module (gnu packages docbook)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages fonts)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages fribidi)
+12 -10
View File
@@ -792,16 +792,16 @@ the freedesktop.org XDG Base Directory specification.")
(define-public elogind
(package
(name "elogind")
(version "255.17")
(version "255.22")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/elogind/elogind")
(commit (string-append "v" version))))
(commit (string-append "V" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0cb6p559281dzh24is91v6d4v4kz45yhyizibi4sfql9nign865h"))))
"0hnzks8f0jl2hkf954pqky5490zacqaipz20k38qvzl5g8i1if5l"))))
(build-system meson-build-system)
(arguments
`(#:configure-flags
@@ -2733,18 +2733,20 @@ Rendering Manager devices.")
(define-public xdg-user-dirs
(package
(name "xdg-user-dirs")
(version "0.17")
(version "0.20")
(source (origin
(method url-fetch)
(uri (string-append "http://user-dirs.freedesktop.org/releases/"
name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://gitlab.freedesktop.org/xdg/xdg-user-dirs.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "13216b8rfkzak5k6bvpx6jvqv3cnbgpijnjwj8a8d3kq4cl0a1ra"))))
(build-system gnu-build-system)
(base32
"1s235wp6z0d94z5qhwf408ppli1p3s3zah8rynm9ljh3hmmv0p2g"))))
(build-system meson-build-system)
(native-inputs
(list gettext-minimal
docbook-xsl
docbook-xml-4.3
libxslt))
(home-page "https://www.freedesktop.org/wiki/Software/xdg-user-dirs/")
(synopsis "Tool to help manage \"well known\" user directories")
+1 -9
View File
@@ -1181,17 +1181,9 @@ It is capable of creating games for SCUMM version 6 and partially version 7.")
(sha256
(base32
"12f1d45995qf5sazjmmfdydllcd6alhqs1s4xwv3jiq1fw66hcy9"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(modules '((guix build utils)))
(snippet
'(begin
;; XXX: 'delete-all-but' is copied from the turbovnc package.
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <> (cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "extlibs/headers"
"glad"))))) ;pre-generated headers
(build-system cmake-build-system)
+3 -3
View File
@@ -144,7 +144,7 @@
#:use-module (gnu packages documentation)
#:use-module (gnu packages emacs)
#:use-module (gnu packages emulators)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages fltk)
#:use-module (gnu packages fonts)
#:use-module (gnu packages fontutils)
@@ -6959,7 +6959,7 @@ tactics.")
(define-public widelands
(package
(name "widelands")
(version "1.3")
(version "1.3.1")
(source
(origin
(method git-fetch)
@@ -6968,7 +6968,7 @@ tactics.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1j288rkflqmzxbacrrx35y8qm4mvbvd30c03cmkvh8b29jkgz3gp"))
(base32 "0ab9s1imqdq1krfwlba1ipx3pwnvy91aqqzr15ssfzixy4wj5mww"))
(modules '((guix build utils)))
(snippet
#~(delete-file-recursively "src/third_party/minizip"))))
+1 -1
View File
@@ -51,7 +51,7 @@
#:use-module (gnu packages docbook)
#:use-module (gnu packages graphviz)
#:use-module (gnu packages elf)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages perl)
#:use-module (guix packages)
#:use-module (guix download)
+1 -1
View File
@@ -31,7 +31,7 @@
#:use-module (gnu packages bison)
#:use-module (gnu packages cross-base)
#:use-module (gnu packages dejagnu)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages guile)
#:use-module (gnu packages hurd)
#:use-module (gnu packages llvm)
+1 -1
View File
@@ -91,7 +91,7 @@
#:use-module (gnu packages docbook)
#:use-module (gnu packages documentation)
#:use-module (gnu packages elf)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages fonts)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages freedesktop)
+1 -1
View File
@@ -50,7 +50,7 @@
#:use-module (gnu packages compression)
#:use-module (gnu packages documentation)
#:use-module (gnu packages elf)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gettext)
+1 -1
View File
@@ -56,7 +56,7 @@
#:use-module (gnu packages elf)
#:use-module (gnu packages enlightenment)
#:use-module (gnu packages file)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gettext)
#:use-module (gnu packages gnome)
+1 -1
View File
@@ -136,7 +136,7 @@
#:use-module (gnu packages documentation)
#:use-module (gnu packages elf)
#:use-module (gnu packages enchant)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages fonts)
#:use-module (gnu packages file-systems)
#:use-module (gnu packages firmware)
+2 -2
View File
@@ -324,7 +324,7 @@ applications and libraries. It is used by AqBanking.")
(define-public aqbanking
(package
(name "aqbanking")
(version "6.8.5")
(version "6.9.2")
(source
(origin
(method git-fetch)
@@ -333,7 +333,7 @@ applications and libraries. It is used by AqBanking.")
(commit version)))
(sha256
(base32
"1xqhhxhr1azqvdn47389h469d3srl5l3n1nx82jx2djbx9sdzdq9"))
"1n1867vdml71p9dbcx70rmf10b12l7l0vq847bbizrkq7b0ha8w0"))
(file-name (git-file-name name version))))
(build-system gnu-build-system)
(arguments
+65 -65
View File
@@ -693,14 +693,14 @@ and signature functionality from Python programs.")
(define-public perl-gnupg-interface
(package
(name "perl-gnupg-interface")
(version "1.05")
(version "1.06")
(source (origin
(method url-fetch)
(uri (string-append "mirror://cpan/authors/id/B/BP/BPS/"
"GnuPG-Interface-" version ".tar.gz"))
(sha256
(base32
"0ig0ra2s1v2rw2ikm1hd0iwf2phhcr8kbc90jhr8kdpvlkymshsl"))))
"07946rsmz0ibasd53l4qiwg0dl1h65p8byja4d7fiflxsklxccs4"))))
(build-system perl-build-system)
(inputs
(list gnupg))
@@ -764,7 +764,7 @@ parties.")
(define-public signing-party
(package
(name "signing-party")
(version "2.11")
(version "2.12")
(home-page "https://salsa.debian.org/signing-party-team/signing-party")
(source (origin
(method git-fetch)
@@ -774,7 +774,7 @@ parties.")
(file-name (git-file-name name version))
(sha256
(base32
"1aig5ssabzbk4mih7xd04vgr931bw0flbi8dz902wlr610gyv5s5"))))
"1a4x02rcs5ryvfnhb6naiwc5jsil5k1fh8b01fkijkbzbh54qjc5"))))
(build-system gnu-build-system)
(native-inputs
;; autoconf-wrapper is required due to the non-standard
@@ -788,56 +788,57 @@ parties.")
perl-net-idn-encode
libmd))
(arguments
`(#:tests? #f ; no test suite
#:phases
(modify-phases %standard-phases
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(substitute* "keyanalyze/Makefile"
(("LDLIBS") (string-append "CC=" (which "gcc") "\nLDLIBS")))
(substitute* "keyanalyze/Makefile"
(("\\./configure") (string-append "./configure --prefix=" out)))
(substitute* "gpgwrap/Makefile"
(("\\} clean")
(string-append "} clean\ninstall:\n\tinstall -D bin/gpgwrap "
out "/bin/gpgwrap\n")))
(substitute* '("gpgsigs/Makefile" "keyanalyze/Makefile"
"keylookup/Makefile" "sig2dot/Makefile"
"springgraph/Makefile")
(("/usr") out))
(setenv "CONFIG_SHELL" (which "sh")))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys #:rest args)
(let ((out (assoc-ref outputs "out"))
(install (assoc-ref %standard-phases 'install)))
(apply install args)
(for-each
(lambda (dir file)
(copy-file (string-append dir "/" file)
(string-append out "/bin/" file)))
'("caff" "caff" "caff" "gpgdir" "gpg-key2ps"
"gpglist" "gpg-mailkeys" "gpgparticipants")
'("caff" "pgp-clean" "pgp-fixkey" "gpgdir" "gpg-key2ps"
"gpglist" "gpg-mailkeys" "gpgparticipants"))
(for-each
(lambda (dir file)
(copy-file (string-append dir "/" file)
(string-append out "/share/man/man1/" file)))
'("caff" "caff" "caff" "gpgdir"
"gpg-key2ps" "gpglist" "gpg-mailkeys"
"gpgparticipants" "gpgsigs" "gpgwrap/doc"
"keyanalyze" "keyanalyze/pgpring" "keyanalyze")
'("caff.1" "pgp-clean.1" "pgp-fixkey.1" "gpgdir.1"
"gpg-key2ps.1" "gpglist.1" "gpg-mailkeys.1"
"gpgparticipants.1" "gpgsigs.1" "gpgwrap.1"
"process_keys.1" "pgpring.1" "keyanalyze.1")))))
(add-after 'install 'wrap-programs
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")))
(wrap-program
(string-append out "/bin/caff")
`("PERL5LIB" ":" prefix (,(getenv "PERL5LIB"))))))))))
(list #:tests? #f ; no test suite
#:phases
#~(modify-phases %standard-phases
(replace 'configure
(lambda _
(substitute* "keyanalyze/Makefile"
(("LDLIBS")
(string-append "CC=" (which "gcc") "\nLDLIBS")))
(substitute* "keyanalyze/Makefile"
(("\\./configure")
(string-append "./configure --prefix=" #$output)))
(substitute* "gpgwrap/Makefile"
(("\\} clean")
(string-append
"} clean\ninstall:\n\tinstall -D bin/gpgwrap "
#$output "/bin/gpgwrap\n")))
(substitute* '("gpgsigs/Makefile" "keyanalyze/Makefile"
"keylookup/Makefile" "sig2dot/Makefile"
"springgraph/Makefile")
(("/usr") #$output))
(setenv "CONFIG_SHELL" (which "sh"))))
(replace 'install
(lambda* (#:key #:allow-other-keys #:rest args)
(let ((install (assoc-ref %standard-phases 'install)))
(apply install args)
(for-each
(lambda (dir file)
(copy-file (string-append dir "/" file)
(string-append #$output "/bin/" file)))
'("caff" "caff" "caff" "gpgdir" "gpg-key2ps"
"gpglist" "gpg-mailkeys" "gpgparticipants")
'("caff" "pgp-clean" "pgp-fixkey" "gpgdir" "gpg-key2ps"
"gpglist" "gpg-mailkeys" "gpgparticipants"))
(for-each
(lambda (dir file)
(copy-file
(string-append dir "/" file)
(string-append #$output "/share/man/man1/" file)))
'("caff" "caff" "caff" "gpgdir"
"gpg-key2ps" "gpglist" "gpg-mailkeys"
"gpgparticipants" "gpgsigs" "gpgwrap/doc"
"keyanalyze" "keyanalyze/pgpring" "keyanalyze")
'("caff.1" "pgp-clean.1" "pgp-fixkey.1" "gpgdir.1"
"gpg-key2ps.1" "gpglist.1" "gpg-mailkeys.1"
"gpgparticipants.1" "gpgsigs.1" "gpgwrap.1"
"process_keys.1" "pgpring.1" "keyanalyze.1")))))
(add-after 'install 'wrap-programs
(lambda _
(wrap-program
(string-append #$output "/bin/caff")
`("PERL5LIB" ":" prefix (,(getenv "PERL5LIB")))))))))
(synopsis "Collection of scripts for simplifying gnupg key signing")
(description
"Signing-party is a collection for all kinds of PGP/GnuPG related things,
@@ -1149,25 +1150,24 @@ however, pgpdump produces more detailed and easier to understand output.")
(define-public gpa
(package
(name "gpa")
(version "0.11.0")
(version "0.11.1")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnupg/gpa/"
name "-" version ".tar.bz2"))
(sha256
(base32
"1k1kvxffyb4nm83yp3mnx9bfmcciwb7vfw8c3xscnh85yxdzma16"))))
"02sx9my3s4yjxzxzs8pfif8wvpjrjsh75wwa5mxd0h867v6v5i8b"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags '("CFLAGS=-Wno-implicit-function-declaration")
#:phases
(modify-phases %standard-phases
(add-after 'install 'wrap-program
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
(gnupg (assoc-ref inputs "gnupg")))
(wrap-program (string-append out "/bin/gpa")
`("PATH" ":" prefix (,(string-append gnupg "/bin"))))))))))
(list #:make-flags #~(list "CFLAGS=-Wno-implicit-function-declaration")
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'wrap-program
(lambda* (#:key inputs #:allow-other-keys)
(let ((gnupg (assoc-ref inputs "gnupg")))
(wrap-program (string-append #$output "/bin/gpa")
`("PATH" ":" prefix (,(string-append gnupg "/bin"))))))))))
(native-inputs (list pkg-config))
(inputs
(list bash-minimal
+1 -9
View File
@@ -192,17 +192,9 @@ definitions in Go programs.")
(file-name (git-file-name name version))
(sha256
(base32 "0c1rxbj3v3m0fqb8q96xlbawxm9scyx6vvr8pddkiwp7zkx4ajym"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(modules '((guix build utils)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "cmd" "godoc")
(delete-all-but "." "cmd")))))
(build-system go-build-system)
+4 -29
View File
@@ -1535,17 +1535,9 @@ Go programming language.")
(file-name (git-file-name name version))
(sha256
(base32 "0sjvngpahkb5x573i855fjlb1fdmr6n269nmb5xxnbabjb27mnvg"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(modules '((guix build utils)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "go" "expect")
(delete-all-but "." "go")))))
(build-system go-build-system)
@@ -1575,17 +1567,9 @@ Go source code (including go.mod and go.work files) as test expectations.")
(file-name (git-file-name name version))
(sha256
(base32 "0sjvngpahkb5x573i855fjlb1fdmr6n269nmb5xxnbabjb27mnvg"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(modules '((guix build utils)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "go" "packages")
(delete-all-but "go/packages" "packagestest")
(delete-all-but "." "go")))))
@@ -1618,18 +1602,9 @@ tools on.")
(file-name (git-file-name name version))
(sha256
(base32 "1blk22apy424j9v58lfy4pxnrgh93yqchqhxsnf78dmx4vx5yi9r"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(modules '((guix build utils)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "." "godoc")))))
#~(begin (delete-all-but "." "godoc")))))
(build-system go-build-system)
(arguments
(list
File diff suppressed because it is too large Load Diff
+24 -164
View File
@@ -1304,26 +1304,8 @@ may be interactive or produce standard formats such as SVG or PDF.")
(file-name (git-file-name name version))
(sha256
(base32 "1np11if704xzyhsx9mqhz7djx23g6wnz62r1v9ra6xaz91yfic0n"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(snippet
#~(begin
;; XXX: 'delete-all-but' is copied from the turbovnc package.
(define (delete-all-but directory . preserve)
(define (directory? x)
(and=> (stat x #f)
(compose (cut eq? 'directory <>) stat:type)))
(with-directory-excursion directory
(let* ((pred
(negate (cut member <> (append '("." "..") preserve))))
(items (scandir "." pred)))
(for-each (lambda (item)
(if (directory? item)
(delete-file-recursively item)
(delete-file item)))
items))))
(delete-all-but "." "generate")))))
(modules '((guix build utils)))
(snippet #~(delete-all-but "." "generate"))))
(build-system go-build-system)
(arguments
(list
@@ -5065,18 +5047,8 @@ and multi-selects with a focus on user experience and aesthetics.")
(file-name (git-file-name name version))
(sha256
(base32 "1nr09574rdrgnsj7c2z11233zljl3gcqax0jb3na6v4ixl7gnhq2"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "." "ansi")))))
(modules '((guix build utils)))
(snippet #~(delete-all-but "." "ansi"))))
(build-system go-build-system)
(arguments
(list
@@ -5113,14 +5085,7 @@ ECMA-48} specs.")
(ice-9 ftw)
(srfi srfi-26)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "." "cellbuf")))))
#~(begin (delete-all-but "." "cellbuf")))))
(build-system go-build-system)
(arguments
(list
@@ -5178,18 +5143,8 @@ ECMA-48} specs.")
(file-name (git-file-name name version))
(sha256
(base32 "088786ak8jsgvssbb5y16z066vfq9f6078sjc7iv766knfr2i0x2"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "." "errors")))))
(modules '((guix build utils)))
(snippet #~(delete-all-but "." "errors"))))
(build-system go-build-system)
(arguments
(list
@@ -5341,18 +5296,9 @@ package provides an API for comparing Golden files.")
(file-name (git-file-name name version))
(sha256
(base32 "1shw55110fnn4xz80wmgr18czmiil6z1j064m90iw8c7j9llfzn5"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(modules '((guix build utils)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "." "term")))))
#~(begin (delete-all-but "." "term")))))
(build-system go-build-system)
(arguments
(list
@@ -5440,21 +5386,8 @@ package provides an API for comparing Golden files.")
(file-name (git-file-name name version))
(sha256
(base32 "0blpb8vpl7sc6pb43h0730wdcwrkvnhly6qhik6wljrzn2nqz5g2"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(snippet
#~(begin
;; XXX: 'delete-all-but' is copied from the turbovnc package.
;; Consider implementing it as a reusable procedure in
;; guix/build/utils or guix/build-system/go.
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "." "xpty")))))
(modules '((guix build utils)))
(snippet #~(delete-all-but "." "xpty"))))
(build-system go-build-system)
(arguments
(list
@@ -6537,21 +6470,8 @@ packages.")
(file-name (git-file-name name version))
(sha256
(base32 "0afaljkkd388f6igr3f2vjnd14yr8h20fcfzglw8j5q1q7a1cvik"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(snippet
#~(begin
;; XXX: 'delete-all-but' is copied from the turbovnc package.
;; Consider implementing it as a reusable procedure in
;; guix/build/utils or guix/build-system/go.
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "." "pkg")))))
(modules '((guix build utils)))
(snippet #~(delete-all-but "." "pkg"))))
(build-system go-build-system)
(arguments
(list
@@ -16136,18 +16056,9 @@ Twisted's manhole library} .")
(file-name (git-file-name name version))
(sha256
(base32 "0xj782ghf0iv8r2xxmg2vrh72b02h216y4yfyi60y9z0691lrsip"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(modules '((guix build utils)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "." "tools")))))
#~(begin (delete-all-but "." "tools")))))
(build-system go-build-system)
(arguments
(list
@@ -19932,18 +19843,9 @@ publishsubscribe pattern}.")
(file-name (git-file-name name version))
(sha256
(base32 "0an8ypp8v9gfxbbb71mpimb1g9labl4v7lgazcphysn6c5smgmiw"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(modules '((guix build utils)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "." "atomicwriter")))))
#~(begin (delete-all-but "." "atomicwriter")))))
(build-system go-build-system)
(arguments
(list
@@ -19998,18 +19900,9 @@ https://github.com/syndtr/gocapability.")
(file-name (git-file-name name version))
(sha256
(base32 "1nh1disclgydvq7k10awzks6k8kw9cjj3q19f83ksi4b76p5l475"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(modules '((guix build utils)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "." "mount")))))
#~(begin (delete-all-but "." "mount")))))
(build-system go-build-system)
(arguments
(list
@@ -31067,21 +30960,8 @@ when they'd prefer a more familiar, loosely typed API.")
(file-name (git-file-name name version))
(sha256
(base32 "05i15278swdmpif3p6g18sy0sn7rnfdl3m2rj5p30cnyb0j29vig"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(snippet
#~(begin
;; XXX: 'delete-all-but' is copied from the turbovnc package.
;; Consider implementing it as a reusable procedure in
;; guix/build/utils or guix/build-system/go.
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "." "exp")))))
(modules '((guix build utils)))
(snippet #~(delete-all-but "." "exp"))))
(build-system go-build-system)
(arguments
(list
@@ -32562,18 +32442,9 @@ code.")
(name "go-modernc-org-ccgo-v4")
(source (origin
(inherit (package-source go-modernc-org-ccgo-v3))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(modules '((guix build utils)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "." "v4")))))
#~(begin (delete-all-but "." "v4")))))
(arguments
(substitute-keyword-arguments
(package-arguments go-modernc-org-ccgo-v3)
@@ -33529,20 +33400,9 @@ unmarshaling functions based on @code{encoding/json} @code{Unmarshal()}.")
(file-name (git-file-name name version))
(sha256
(base32 "12n8ij4gisah5mvxcgq263iic61gjpxdj3ml03826zckzn7wlv46"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(modules '((guix build utils)))
(snippet
#~(begin
;; XXX: 'delete-all-but' is copied from the turbovnc package.
;; Consider implementing it as a reusable procedure in
;; guix/build/utils or guix/build-system/go.
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "." "cmd")
(delete-all-but "cmd" "config")))))
(build-system go-build-system)
+1 -1
View File
@@ -55,7 +55,7 @@
#:use-module (gnu packages cran)
#:use-module (gnu packages datastructures)
#:use-module (gnu packages docbook)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages gd)
#:use-module (gnu packages graphics)
+64 -69
View File
@@ -44,6 +44,7 @@
;;; Copyright © 2025 James Smith <jsubuntuxp@disroot.org>
;;; Copyright © 2026 Cayetano Santos <csantosb@inventati.org>
;;; Copyright © 2026 Jan Wielkiewicz <tona_kosmicznego_smiecia@interia.pl>
;;; Copyright © 2026 Sughosha <sughosha@disroot.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -78,7 +79,7 @@
#:use-module (gnu packages crypto)
#:use-module (gnu packages datastructures)
#:use-module (gnu packages documentation)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages fonts)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages freedesktop)
@@ -1532,77 +1533,71 @@ frames per second (FPS), temperatures, CPU/GPU load and more.")
(define-public openexr
(package
(name "openexr")
(version "3.2.4")
(source (origin
(method git-fetch)
(uri (git-reference
(url
"https://github.com/AcademySoftwareFoundation/openexr")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"00s1a05kggk71vfbnsvykyjc2j7y6yyzgl63sy4yiddshz2k2mcr"))))
(version "3.4.11")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/AcademySoftwareFoundation/openexr")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (base32 "0c0l62s42i4jxp6bsf47fqlmdrazpk783jfpgj4jnprsm2spdp75"))
(modules '((guix build utils)))
;; Unbundle third party libraries.
(snippet #~(with-directory-excursion "external"
(for-each delete-file-recursively
'("deflate" "OpenJPH"))))))
(build-system cmake-build-system)
(arguments
(list #:configure-flags
#~(list #$@(match (%current-system)
;; A test explicitly checks for SSE2 (would fail on
;; i686-linux), so make sure it is enabled for both C
;; and CPP.
((or "x86_64-linux" "i686-linux")
'("-DCMAKE_CXX_FLAGS=-mfpmath=sse -msse2"
"-DCMAKE_C_FLAGS=-mfpmath=sse -msse2"))
(_ '())))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-test-directory
(lambda _
(substitute* (list
"src/test/OpenEXRTest/tmpDir.h"
"src/test/OpenEXRCoreTest/main.cpp")
(("/var/tmp")
"/tmp"))))
#$@(if (target-32bit?)
#~((add-after 'patch-test-directory 'disable-broken-tests
(lambda _
;; Disable tests that fail at least on i686-linux.
(substitute* '("src/test/OpenEXRCoreTest/main.cpp"
"src/test/OpenEXRTest/main.cpp")
(("TEST \\(testCompression, \"basic\"\\);")
"")
(("TEST\\( testNoCompression, \"core_compression\" \\);")
"")
(("TEST\\( testRLECompression, \"core_compression\" \\);")
"")
(("TEST\\( testZIPCompression, \"core_compression\" \\);")
"")
(("TEST\\( testZIPSCompression, \"core_compression\" \\);")
"")
(("TEST\\( testB44Compression, \"core_compression\" \\);")
"")
(("TEST\\( testB44ACompression, \"core_compression\" \\);")
"")
(("TEST \\(testOptimizedInterleavePatterns, \"basic\"\\);")
"")))))
#~())
#$@(if (target-aarch64?)
#~((add-after 'patch-test-directory 'disable-broken-aarch64-tests
;; Disable tests known to fail on aarch64. Remove once
;; https://github.com/AcademySoftwareFoundation/openexr/issues/1460
;; is fixed.
(lambda _
(substitute* '("src/test/OpenEXRCoreTest/main.cpp")
(("TEST \\(testDWAACompression, \"core_compression\"\\);")
"")
(("TEST \\(testDWABCompression, \"core_compression\"\\);")
"")))))
#~()))))
(inputs (list imath))
(list
#:configure-flags
#~(list #$@(match (%current-system)
;; A test explicitly checks for SSE2 (would fail on
;; i686-linux), so make sure it is enabled for both C
;; and CPP.
((or "x86_64-linux" "i686-linux")
'("-DCMAKE_CXX_FLAGS=-mfpmath=sse -msse2"
"-DCMAKE_C_FLAGS=-mfpmath=sse -msse2"))
(_ '())))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-test-directory
(lambda _
(substitute* '("src/test/OpenEXRTest/tmpDir.h"
"src/test/OpenEXRCoreTest/main.cpp")
(("/var/tmp") "/tmp"))))
;; Disable tests that fail at least on i686-linux.
#$@(if (target-32bit?)
#~((add-after 'patch-test-directory 'disable-broken-tests
(lambda _
(substitute* "src/test/OpenEXRCoreTest/main.cpp"
((".*testNoCompression, .*") "")
((".*testRLECompression, .*") "")
((".*testZIPCompression, .*") "")
((".*testZIPSCompression, .*") "")
((".*testB44Compression, .*") "")
((".*testB44ACompression, .*") ""))
(substitute* "src/test/OpenEXRTest/main.cpp"
((".*testCompression, .*") "")
((".*testOptimizedInterleavePatterns, .*") "")))))
#~())
;; Disable tests known to fail on aarch64. Remove once
;; https://github.com/AcademySoftwareFoundation/openexr/issues/1460
;; is fixed.
#$@(if (target-aarch64?)
#~((add-after 'patch-test-directory 'disable-broken-tests
(lambda _
(substitute* '("src/test/OpenEXRCoreTest/main.cpp")
(("TEST \\(testDWAACompression, \"core_compression\"\\);")
"")
(("TEST \\(testDWABCompression, \"core_compression\"\\);")
"")))))
#~()))))
(propagated-inputs
(list libdeflate ; Marked as Requires.private in OpenEXR.pc.
imath)) ; Marked as Requires in OpenEXR.pc.
(home-page "https://www.openexr.com/")
(list libdeflate ;marked as Requires.private in OpenEXR.pc
imath ;marked as Requires in OpenEXR.pc
openjph)) ;marked as Requires.private in OpenEXR.pc
(home-page "https://openexr.com")
(synopsis "High-dynamic-range file format library")
(description
"OpenEXR provides the specification and reference implementation of the
+3 -3
View File
@@ -37,7 +37,7 @@
#:use-module (gnu packages bash)
#:use-module (gnu packages ruby-xyz)
#:use-module (gnu packages bison)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages ghostscript)
#:use-module (gnu packages netpbm)
#:use-module (gnu packages perl)
@@ -47,13 +47,13 @@
(define-public groff
(package
(name "groff")
(version "1.22.4")
(version "1.24.0")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/groff/groff-" version
".tar.gz"))
(sha256 (base32
"14q2mldnr1vx0l9lqp9v2f6iww24gj28iyh4j2211hyynx67p3p7"))))
"0w3mf9jb5j1gbw1160lr5498q4ayl5i3jpf5g8721l1yzzcbr6z7"))))
(build-system gnu-build-system)
(outputs '("out"
"doc")) ;12MiB of PS, PDF, HTML, and examples
+1 -1
View File
@@ -56,7 +56,7 @@
#:use-module (gnu packages compression)
#:use-module (gnu packages documentation)
#:use-module (gnu packages elf)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gettext)
#:use-module (gnu packages ghostscript)
+1 -1
View File
@@ -44,7 +44,7 @@
#:use-module (gnu packages compression)
#:use-module (gnu packages crypto)
#:use-module (gnu packages dbm)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages gawk)
#:use-module (gnu packages gettext)
#:use-module (gnu packages gperf)
+1 -1
View File
@@ -61,7 +61,7 @@
#:use-module (gnu packages debian)
#:use-module (gnu packages disk)
#:use-module (gnu packages documentation)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gcc)
#:use-module (gnu packages gettext)
+1 -1
View File
@@ -52,7 +52,7 @@
#:use-module (gnu packages compression)
#:use-module (gnu packages elf)
#:use-module (gnu packages file)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages gawk)
#:use-module (gnu packages gcc)
#:use-module (gnu packages ghostscript)
+1 -1
View File
@@ -33,7 +33,7 @@
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages compression)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages bison)
#:use-module (gnu packages elf)
#:use-module (gnu packages m4)
+2 -2
View File
@@ -38,7 +38,7 @@
#:use-module (gnu packages cross-base)
#:use-module (gnu packages crypto)
#:use-module (gnu packages disk)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages gawk)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages bison)
@@ -713,7 +713,7 @@ exec ${system}/rc \"$@\"
("libpciaccess" ,libpciaccess-static)
;; For NFS support
("libtirpc" ,libtirpc/hurd)
("libtirpc" ,libtirpc)
;; Tools for the /libexec/* scripts.
("bash-minimal" ,bash-minimal)
+8 -16
View File
@@ -72,7 +72,7 @@
#:use-module (gnu packages docbook)
#:use-module (gnu packages documentation)
#:use-module (gnu packages engineering)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages game-development)
#:use-module (gnu packages gcc)
@@ -600,24 +600,16 @@ different data arrays similar to those available in the numdiff software.")
(file-name (git-file-name name version))
(snippet
#~(begin
(use-modules (guix build utils)
(ice-9 ftw)
(srfi srfi-26))
(use-modules (guix build utils))
;; Delete any bundled .jar files.
(for-each delete-file (find-files "." "\\.jar$"))
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "3rdparty"
"fastcv" ;TODO: Unbundle these
"libspng"
"libtim-vx"
"orbbecsdk"
"quirc"
"zlib-ng")))
"fastcv" ;TODO: Unbundle these
"libspng"
"libtim-vx"
"orbbecsdk"
"quirc"
"zlib-ng")))
(sha256
(base32
"15w4fqjqv5k1yw70jbjsnlgiky39mqpy05rvmm2fbyjrif4kbgkl"))))
+82 -65
View File
@@ -2987,86 +2987,101 @@ by AOM, including with alpha.")
Format) file format decoder and encoder.")
(license license:lgpl3+)))
(define libjxl-testdata
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/libjxl/testdata")
(commit "ff8d743aaba05b3014f17e5475e576242fa979fc")))
(sha256
(base32 "05nba2h0m74n5f9jzl3vzvnj74fj3si09ncwk2dqg41qdc49d1ng"))))
(define-public libjxl
(package
(name "libjxl")
(version "0.11.1")
(version "0.11.2")
(outputs (list "out" "pixbuf-loader"))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/libjxl/libjxl")
(commit (string-append "v" version))
(recursive? #t)))
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1wfxzrhj8a19z6x47ib1qbmgyg56jsxjs955xcvqhdkrx8l2271r"))
(modules '((guix build utils)))
(snippet
;; Delete the bundles that will not be used.
'(begin
(for-each (lambda (directory)
(delete-file-recursively
(string-append "third_party/" directory)))
'("brotli" "googletest" "highway" "lcms" "libjpeg-turbo"
"libpng" "zlib"))))))
(base32 "0a6fg2v81rqsbrzi97x1d7wadcikh2fizr64rsza668cwvsk631q"))))
(build-system cmake-build-system)
(arguments
`(#:modules ((guix build cmake-build-system)
(guix build utils)
(srfi srfi-26))
#:configure-flags
(list "-DJPEGXL_FORCE_SYSTEM_GTEST=true"
"-DJPEGXL_FORCE_SYSTEM_BROTLI=true"
"-DJPEGXL_FORCE_SYSTEM_LCMS2=true"
"-DJPEGXL_FORCE_SYSTEM_HWY=true"
"-DJPEGXL_BUNDLE_LIBPNG=false"
"-DJPEGXL_ENABLE_PLUGINS=true")
#:phases
(modify-phases %standard-phases
,@(cond
((target-riscv64?)
'((add-after 'unpack 'fix-atomic
(lambda _
(substitute* "lib/jxl/enc_xyb.cc"
(("#include \"lib/jxl/enc_xyb.h\"" a)
(string-append a "\n#include <atomic>")))))))
((target-x86-32?)
'((add-after 'unpack 'loosen-test-parameter
(lambda _
;; This test fails likely due to a floating point
;; rounding difference.
(substitute* "lib/jxl/color_management_test.cc"
(("8\\.7e-4") "8.7e-3"))))))
(#t '()))
(list
#:configure-flags
#~'("-DJPEGXL_FORCE_SYSTEM_GTEST=true"
"-DJPEGXL_FORCE_SYSTEM_BROTLI=true"
"-DJPEGXL_FORCE_SYSTEM_LCMS2=true"
"-DJPEGXL_FORCE_SYSTEM_HWY=true"
"-DJPEGXL_BUNDLE_LIBPNG=false"
"-DJPEGXL_ENABLE_PLUGINS=true")
#:phases
#~(modify-phases %standard-phases
#$@(cond
((target-riscv64?)
#~((add-after 'unpack 'fix-atomic
(lambda _
(substitute* "lib/jxl/enc_xyb.cc"
(("#include \"lib/jxl/enc_xyb.h\"" a)
(string-append a "\n#include <atomic>")))))))
((target-x86-32?)
#~((add-after 'unpack 'loosen-test-parameter
(lambda _
;; This test fails likely due to a floating point
;; rounding difference.
(substitute* "lib/jxl/color_management_test.cc"
(("8\\.7e-4") "8.7e-3"))))))
(#t
#~()))
(add-after 'unpack 'patch-dependencies
(lambda* (#:key inputs #:allow-other-keys)
(with-directory-excursion "third_party"
;; HACK: Create dummy files to pretend the bundled sjpeg and
;; skcms exist.
(apply invoke "touch"
'("sjpeg/CMakeLists.txt"
"sjpeg/COPYING"
"skcms/skcms.h"
"skcms/LICENSE"))
(substitute* "CMakeLists.txt"
(("include\\(skcms\\.cmake\\)")
"find_library(SKCMS_LIB NAMES skcms REQUIRED)")
(("include\\(sjpeg\\.cmake\\)")
"find_package(sjpeg REQUIRED)")))
(with-directory-excursion "lib"
(substitute* "jxl_cms.cmake"
(("target_link_skcms\\(jxl_cms\\)")
"target_link_libraries(jxl_cms PRIVATE ${SKCMS_LIB})"))
(substitute* "jxl_extras.cmake"
(("\\.\\.\\/third_party\\/sjpeg\\/src")
(dirname (search-input-file inputs "src/sjpegi.h")))))))
(add-after 'unpack 'unpack-testdata
(lambda _
(rmdir "testdata")
(copy-recursively #$libjxl-testdata "testdata")))
(add-after 'install 'split
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(out:pixbuf (assoc-ref outputs "pixbuf-loader"))
(thumbnailer (string-append
out
"/share/thumbnailers/jxl.thumbnailer"))
(thumbnailer* (string-append
out:pixbuf
"/share/thumbnailers/jxl.thumbnailer"))
(pixbuf-loader (string-append
out
"/lib/gdk-pixbuf-2.0/2.10.0/loaders/"
"libpixbufloader-jxl.so"))
(pixbuf-loader* (string-append
out:pixbuf
"/lib/gdk-pixbuf-2.0/2.10.0/loaders/"
"libpixbufloader-jxl.so")))
(for-each (lambda (old new)
(install-file old (dirname new))
(delete-file old)
(chmod new #o555))
(list thumbnailer pixbuf-loader)
(list thumbnailer* pixbuf-loader*))))))))
(lambda _
(for-each
(lambda (path)
(let ((old (string-append #$output path))
(new (string-append #$output:pixbuf-loader path)))
(install-file old (dirname new))
(delete-file old)
(chmod new #o555)))
'("/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jxl.so"
"/share/thumbnailers/jxl.thumbnailer")))))))
(native-inputs
(list asciidoc doxygen googletest pkg-config python))
(list asciidoc
doxygen
googletest
pkg-config
python
(package-source sjpeg))) ;for sjpegi.h
(inputs
(list freeglut
gdk-pixbuf
@@ -3079,6 +3094,8 @@ Format) file format decoder and encoder.")
libpng
libwebp
openexr
sjpeg
skcms
zlib))
;; These are in Requires.private of libjxl.pc.
(propagated-inputs
+1 -1
View File
@@ -34,7 +34,7 @@
#:use-module (gnu packages elf)
#:use-module (gnu packages engineering)
#:use-module (gnu packages file)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages gawk)
#:use-module (gnu packages gcc)
#:use-module (gnu packages glib)
+2 -14
View File
@@ -1362,21 +1362,9 @@ code prior to it getting merged into @code{go-cid}.")
(file-name (git-file-name name version))
(sha256
(base32 "00lwizzdfdx6kynxddal3all6q9dhwqanpkw0d0vxlwik4nkvxa5"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(modules '((guix build utils)))
(snippet
#~(begin
;; XXX: 'delete-all-but' is copied from the turbovnc package.
;; Consider to implement it as re-usable procedure in
;; guix/build/utils or guix/build-system/go.
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "." "ipfs")))))
#~(begin (delete-all-but "." "ipfs")))))
(build-system go-build-system)
(arguments
(list
+2 -2
View File
@@ -36,7 +36,7 @@
(define-public jemalloc
(package
(name "jemalloc")
(version "5.3.0")
(version "5.3.1")
(source (origin
(method url-fetch)
(uri (string-append
@@ -44,7 +44,7 @@
version "/jemalloc-" version ".tar.bz2"))
(sha256
(base32
"1apyxjd1ixy4g8xkr61p0ny8jiz8vyv1j0k4nxqkxpqrf4g2vf1d"))))
"14kgf0hs864hp5xxqfqh37l1d8wwg57h7wv28rffs8ig4f0bq9iq"))))
(build-system gnu-build-system)
(arguments
(list
+1 -1
View File
@@ -58,7 +58,7 @@
#:use-module (gnu packages databases)
#:use-module (gnu packages docbook)
#:use-module (gnu packages ebook)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gettext)
#:use-module (gnu packages gl)
+1 -1
View File
@@ -57,7 +57,7 @@
#:use-module (gnu packages djvu)
#:use-module (gnu packages documentation)
#:use-module (gnu packages ebook)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages fribidi)
+5 -5
View File
@@ -588,14 +588,11 @@ This package is part of the KDE multimedia module.")
(add-after 'install 'wrap-executable
(lambda _
(let* ((ffmpeg #$(this-package-input "ffmpeg"))
(frei0r #$(this-package-input "frei0r-plugins"))
(ladspa #$(this-package-input "ladspa"))
(qtbase #$(this-package-input "qtbase")))
(wrap-program (string-append #$output "/bin/kdenlive")
`("PATH" ":" prefix
,(list (string-append ffmpeg "/bin")))
`("FREI0R_PATH" ":" =
(,(string-append frei0r "/lib/frei0r-1")))
`("LADSPA_PATH" ":" =
(,(string-append ladspa "/lib/ladspa")))
`("QT_QPA_PLATFORM_PLUGIN_PATH" ":" =
@@ -603,13 +600,12 @@ This package is part of the KDE multimedia module.")
`("MLT_PREFIX" ":" =
(,#$(this-package-input "mlt"))))))))))
(native-inputs
(list extra-cmake-modules kdoctools pkg-config qttools))
(list extra-cmake-modules frei0r-api kdoctools pkg-config qttools))
(inputs
(list bash-minimal
breeze ; make dark theme available easily
breeze-icons ; recommended icon set
ffmpeg
frei0r-plugins
imath
karchive
kcrash
@@ -638,6 +634,10 @@ This package is part of the KDE multimedia module.")
qtsvg
qtwayland
shared-mime-info))
(native-search-paths
(list (search-path-specification
(variable "FREI0R_PATH")
(files (list "lib/frei0r-1")))))
(home-page "https://kdenlive.org")
(synopsis "Non-linear video editor")
(description "Kdenlive is an acronym for KDE Non-Linear Video Editor.
+1 -1
View File
@@ -46,7 +46,7 @@
#:use-module (gnu packages cyrus-sasl)
#:use-module (gnu packages databases)
#:use-module (gnu packages documentation)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages geo)
#:use-module (gnu packages glib)
+1 -1
View File
@@ -36,7 +36,7 @@
#:use-module (guix packages)
#:use-module (gnu packages)
#:use-module (gnu packages bison)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages apr)
#:use-module (gnu packages boost)
#:use-module (gnu packages code)
+1 -1
View File
@@ -36,7 +36,7 @@
#:use-module (gnu packages bison)
#:use-module (gnu packages crypto)
#:use-module (gnu packages dbm)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages perl)
#:use-module (gnu packages python)
#:use-module (gnu packages gettext)
+3 -27
View File
@@ -92,16 +92,8 @@ tree for exported @acronym{CustomResourceDefinition, CRD} types.")
(file-name (git-file-name name version))
(sha256
(base32 "0d9rjyl5h0xm9isgr8b2fz8528wk3pds71rjl8g08fgsmsa5kicb"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(modules '((guix build utils)))
(snippet #~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
;; Replace symlinks to tests with file contents
(for-each
(lambda (f)
@@ -182,16 +174,8 @@ tree for exported @acronym{CustomResourceDefinition, CRD} types.")
(file-name (git-file-name name version))
(sha256
(base32 "0d9rjyl5h0xm9isgr8b2fz8528wk3pds71rjl8g08fgsmsa5kicb"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(modules '((guix build utils)))
(snippet #~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "." "server")
(rename-file "server" "server.tmp")
(mkdir-p "server/v3")
@@ -265,16 +249,8 @@ system.")
(file-name (git-file-name name version))
(sha256
(base32 "0d9rjyl5h0xm9isgr8b2fz8528wk3pds71rjl8g08fgsmsa5kicb"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(modules '((guix build utils)))
(snippet #~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "." "pkg")
(rename-file "pkg" "pkg.tmp")
(mkdir-p "pkg/v3")
+1 -1
View File
@@ -27,7 +27,7 @@
#:use-module (gnu packages)
#:use-module (gnu packages bison)
#:use-module (gnu packages compression)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages gl)
#:use-module (gnu packages qt))
+1 -1
View File
@@ -25,7 +25,7 @@
#:use-module (guix git-download)
#:use-module (gnu packages autotools)
#:use-module (gnu packages c)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages gcc)
#:use-module (gnu packages pkg-config)
+15 -15
View File
@@ -69,17 +69,6 @@
(search-patches "libcanberra-sound-theme-freedesktop.patch"
"libcanberra-wayland-crash.patch"))))
(build-system gnu-build-system)
(inputs
`(("alsa-lib" ,alsa-lib)
("gstreamer" ,gstreamer)
("gtk+" ,gtk+)
("libltdl" ,libltdl)
("libvorbis" ,libvorbis)
("pulseaudio" ,pulseaudio)
("udev" ,eudev)
("sound-theme-freedesktop" ,sound-theme-freedesktop)))
(native-inputs
(list pkg-config))
(arguments
`(#:phases
(modify-phases %standard-phases
@@ -87,10 +76,21 @@
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "src/sound-theme-spec.c"
(("@SOUND_THEME_DIRECTORY@")
(string-append
(assoc-ref inputs "sound-theme-freedesktop")
"/share")))
#t)))))
(dirname
(dirname
(search-input-directory inputs
"share/sounds/freedesktop"))))))))))
(inputs
(list alsa-lib
gstreamer
gtk+
libltdl
libvorbis
pulseaudio
eudev
sound-theme-freedesktop))
(native-inputs
(list pkg-config))
(home-page "https://0pointer.de/lennart/projects/libcanberra/")
(synopsis
"Implementation of the XDG Sound Theme and Name Specifications")
+1 -1
View File
@@ -59,7 +59,7 @@
#:use-module (gnu packages databases)
#:use-module (gnu packages datastructures)
#:use-module (gnu packages documentation)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages game-development)
+6 -6
View File
@@ -125,14 +125,14 @@
;; ex:
;; tar xf /gnu/store/...-firefox-123.4.source.tar.xz -O \
;; firefox-123.4/browser/locales/l10n-changesets.json | grep revision
(let ((commit "a8799feda04a221a2c552576501975662c5350bb"))
(let ((commit "a867076ab29cc0777b14d0448707629cdb825d81"))
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/mozilla-l10n/firefox-l10n.git")
(commit commit)))
(file-name (git-file-name "firefox-l10n" commit))
(sha256 (base32 "1625rh1w5fdq6nl7fpwgiln29hkqcj0zksmnwcfj34y5cvhwrq2z")))))
(sha256 (base32 "1j6gzzq1y5nx7iv3p173fmc4b87d5lwb0hnaiq1lmc6ryjnzk3wm")))))
(define* (make-librewolf-source #:key version firefox-hash librewolf-hash l10n)
(let* ((ff-src (firefox-source-origin
@@ -244,17 +244,17 @@
;; It's used for cache validation and therefore can lead to strange bugs.
;; ex: date '+%Y%m%d%H%M%S'
;; or: (format-time-string "%Y%m%d%H%M%S")
(define %librewolf-build-id "20260524201108")
(define %librewolf-build-id "20260527211539")
(define-public librewolf
(package
(name "librewolf")
(version "151.0.1-2")
(version "151.0.2-1")
(source
(make-librewolf-source
#:version version
#:firefox-hash "1h440pkdqkx3085ij9nz9n9h1b6c2p92bg3lf983my6b711f62m8"
#:librewolf-hash "1hy4p1336igy8p73hrgvmv7krbr15ap9ain79n340d3sapqkhbg8"
#:firefox-hash "1j7q00fwdijvg5b01jmadhqabwmwdcqd15srmkbqsqgjk5vjdi33"
#:librewolf-hash "0fm11phcpp2xggwdhdl044f4a015adg8bplw4cj0in5hq1zqkbi2"
#:l10n firefox-l10n))
(build-system gnu-build-system)
(arguments
+1 -1
View File
@@ -29,7 +29,7 @@
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
#:use-module (gnu packages gnunet)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages libftdi)
#:use-module (gnu packages libusb)
#:use-module (gnu packages linux)
+83 -96
View File
@@ -86,6 +86,7 @@
;;; Copyright © 2025 Mathieu Laparie <mlaparie@disr.it>
;;; Copyright © 2025 John Kehayias <john.kehayias@protonmail.com>
;;; Copyright © 2025 Arjan Adriaanse <arjan@adriaan.se>
;;; Copyright © 2025 Dariqq <dariqq@posteo.net>
;;; Copyright © 2026 Justin Veilleux <terramorpha@cock.li>
;;; Copyright © 2026 Simen Endsjø <contact@simendsjo.me>
;;;
@@ -135,7 +136,7 @@
#:use-module (gnu packages documentation)
#:use-module (gnu packages elf)
#:use-module (gnu packages file)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gawk)
@@ -3036,57 +3037,45 @@ which need to be installed separately.")
(define-public linux-pam
(package
(name "linux-pam")
(version "1.5.2")
(version "1.7.2")
(source
(origin
(method url-fetch)
(uri (string-append
"https://github.com/linux-pam/linux-pam/releases/download/v"
version "/Linux-PAM-" version ".tar.xz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/linux-pam/linux-pam")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0kgrsj2scv5mx6w925h9hxf11jnqqs9z8s22aw94b90xm4qp3v74"))
"1z5apric696zsci28c7651spvdll0zrpfm9z574gcjf45mp22gmi"))
(patches (search-patches "linux-pam-unix_chkpwd.patch"
"linux-pam-no-setfsuid.patch"))))
(build-system gnu-build-system)
(build-system meson-build-system)
(outputs '("out" "doc")) ;; 0.8 MiB of html
(inputs (list libxcrypt))
(native-inputs
(list flex
;; TODO: optional dependencies
;; ("cracklib" ,cracklib)
))
(list gettext-minimal
flex bison
;; manpages
libxslt
libxml2
docbook-xml
docbook-xsl))
(arguments
(list
;; Most users, such as `shadow', expect the headers to be under
;; `security'.
#:configure-flags #~(list (string-append "--includedir="
(assoc-ref %outputs "out")
"/include/security")
;; explicit libdir for pkgconfig files
;; drop with 1.5.3, which fixes
;; https://github.com/linux-pam/linux-pam/issues/466
(string-append "--libdir="
(assoc-ref %outputs "out")
"/lib")
;; XXX: <rpc/rpc.h> is missing from glibc when
;; cross-compiling, so we have to disable NIS
;; support altogether.
#$@(if (%current-target-system)
#~("--disable-nis")
#~()))
#:phases (if (target-hurd?)
#~(modify-phases %standard-phases
(add-after 'unpack 'skip-pam-limits
(lambda _
;; 'pam_limits.c' uses <sys/prctl.h>, which is
;; Linux-specific. Skip it on GNU/Hurd.
(substitute* "modules/Makefile.in"
(("pam_limits") "")))))
#~%standard-phases)
#:configure-flags
#~(list
;; lastlog is deprecated since 1.5.3
"-Dpam_lastlog=enabled"
(string-append "-Dvendordir=" #$output "/share/pam")
(string-append "-Ddocbook-rng="
#$(let ((docbook-xml (this-package-native-input
"docbook-xml")))
(file-append docbook-xml
"/xml/docbook/"
(package-version docbook-xml)
"/rng/docbookxi.rng")))
(string-append "-Dhtmldir=" #$output:doc "/share/doc/" #$name "/html"))
;; XXX: Tests won't run in chroot, presumably because /etc/pam.d
;; isn't available.
#:tests? #f))
@@ -4561,7 +4550,7 @@ that the Ethernet protocol is much simpler than the IP protocol.")
(define-public iproute
(package
(name "iproute2")
(version "6.4.0")
(version "7.0.0")
(source (origin
(method url-fetch)
(uri (string-append
@@ -4569,7 +4558,7 @@ that the Ethernet protocol is much simpler than the IP protocol.")
version ".tar.xz"))
(sha256
(base32
"0wm2g70vfhnf8wb6py3zmzwxp4zv1icny1pvkwaxmr67rggbhlac"))))
"0kiggxwnjsglxnj43wqkc0rmq0acxf6xqcgk7ddc0qyynpvr0a76"))))
(build-system gnu-build-system)
(arguments
(list
@@ -4581,6 +4570,7 @@ that the Ethernet protocol is much simpler than the IP protocol.")
"HOSTCC=gcc"
(string-append "BASH_COMPDIR=" out
"/etc/bash_completion.d")
(string-append "PREFIX=" out)
(string-append "LIBDIR=" out "/lib")
(string-append "HDRDIR=" out "/include")
(string-append "SBINDIR=" out "/sbin")
@@ -4605,7 +4595,7 @@ that the Ethernet protocol is much simpler than the IP protocol.")
(substitute* "Makefile"
(("^.*ARPDDIR.*$") "")))))))
(inputs
(list bdb iptables libmnl))
(list bdb iptables libbpf libcap libelf libmnl libselinux libtirpc))
(native-inputs
(list bison flex pkg-config))
;; For tests.
@@ -4634,65 +4624,62 @@ inadequately in modern network environments, and both should be deprecated.")
(revision "0"))
(package
(name "net-tools")
(version (string-append "1.60-" revision "." (string-take commit 7)))
(source (origin
(method url-fetch)
(uri (string-append "https://sourceforge.net/code-snapshots/git/"
"n/ne/net-tools/code.git/net-tools-code-"
commit ".zip"))
(file-name (string-append name "-" version ".zip"))
(sha256
(base32
"0hz9fda9d78spp774b6rr5xaxav7cm4h0qcpxf70rvdbrf6qx7vy"))))
(version (string-append "1.60-" revision "."
(string-take commit 7)))
(source
(origin
(method url-fetch)
(uri (string-append "https://sourceforge.net/code-snapshots/git/"
"n/ne/net-tools/code.git/net-tools-code-" commit
".zip"))
(file-name (string-append name "-" version ".zip"))
(sha256
(base32 "0hz9fda9d78spp774b6rr5xaxav7cm4h0qcpxf70rvdbrf6qx7vy"))))
(home-page "https://net-tools.sourceforge.net/")
(build-system gnu-build-system)
(arguments
`(#:modules ((guix build gnu-build-system)
(list
;; Binaries that depend on libnet-tools.a don't declare that
;; dependency, making it parallel-unsafe.
#:parallel-build? #f
#:tests? #f ;no test suite
#:make-flags
#~(list #$(string-append "CC=" (cc-for-target))
(string-append "BASEDIR=" #$output)
(string-append "INSTALLNLSDIR=" #$output "/share/locale")
(string-append "mandir=/share/man"))
#:modules `((guix build gnu-build-system)
(guix build utils)
(srfi srfi-1)
(srfi srfi-26))
#:phases
(modify-phases %standard-phases
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(mkdir-p (string-append out "/bin"))
(mkdir-p (string-append out "/sbin"))
#:phases
#~(modify-phases %standard-phases
(replace 'configure
(lambda _
(mkdir-p (string-append #$output "/bin"))
(mkdir-p (string-append #$output "/sbin"))
;; Pretend we have everything...
(system "yes | make config")
;; Pretend we have everything...
(system "yes | make config")
;; ... except for the things we don't have.
;; HAVE_AFDECnet requires libdnet, which we don't have.
;; HAVE_HWSTRIP and HAVE_HWTR require kernel headers
;; that have been removed.
;; XXX SELINUX and AFBLUETOOTH are removed for now, but we should
;; think about adding them later.
(substitute* '("config.make" "config.h")
(("^.*HAVE_(AFDECnet|HWSTRIP|HWTR|SELINUX|AFBLUETOOTH)[ =]1.*$")
""))
#t)))
(add-after 'install 'remove-redundant-commands
(lambda* (#:key outputs #:allow-other-keys)
;; Remove commands and man pages redundant with Inetutils.
(let* ((out (assoc-ref outputs "out"))
(dup (append-map (cut find-files out <>)
'("^hostname"
"^(yp|nis|dns)?domainname"))))
(for-each delete-file dup)
#t))))
;; Binaries that depend on libnet-tools.a don't declare that
;; dependency, making it parallel-unsafe.
#:parallel-build? #f
#:tests? #f ; no test suite
#:make-flags (let ((out (assoc-ref %outputs "out")))
(list ,(string-append "CC=" (cc-for-target))
(string-append "BASEDIR=" out)
(string-append "INSTALLNLSDIR=" out "/share/locale")
(string-append "mandir=/share/man")))))
(native-inputs `(("gettext" ,gettext-minimal)
("unzip" ,unzip)))
;; ... except for the things we don't have.
;; HAVE_AFDECnet requires libdnet, which we don't have.
;; HAVE_HWSTRIP and HAVE_HWTR require kernel headers
;; that have been removed.
;; XXX SELINUX and AFBLUETOOTH are removed for now, but we should
;; think about adding them later.
(substitute* '("config.make" "config.h")
(("^.*HAVE_(AFDECnet|HWSTRIP|HWTR|SELINUX|AFBLUETOOTH)[ =]1.*$")
""))))
(add-after 'install 'remove-redundant-commands
(lambda _
;; Remove commands and man pages redundant with Inetutils.
(for-each delete-file
(append-map (cute find-files #$output <>)
'("^hostname"
"^(yp|nis|dns)?domainname"))))))))
(native-inputs (list gettext-minimal unzip))
(supported-systems (remove target-hurd? %supported-systems))
(synopsis "Tools for controlling the network subsystem in Linux")
(description
+1 -1
View File
@@ -46,7 +46,7 @@
#:use-module (gnu packages curl)
#:use-module (gnu packages cyrus-sasl)
#:use-module (gnu packages databases)
#:use-module (gnu packages flex)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages geo)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages kerberos)
+1 -1
View File
@@ -77,7 +77,7 @@
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages pretty-print)
#:use-module (gnu packages rdf)
#:use-module (gnu packages re2c)
#:use-module (gnu packages compiler-tools)
#:use-module (gnu packages readline)
#:use-module (gnu packages rsync)
#:use-module (gnu packages ssh)

Some files were not shown because too many files have changed in this diff Show More