LegacyVersion does not exist anymore in packaging.version 25.0
(https://github.com/pypa/packaging/pull/407). Add a stub to prevent runtime
errors such as:
Traceback (most recent call last):
File "/gnu/store/jq8iknqq5niwx9vchccbnnw6jdb3x8nq-389-ds-base-2.2.2/sbin/.dscreate-real", line 18, in <module>
from lib389 import DirSrv
File "/gnu/store/jq8iknqq5niwx9vchccbnnw6jdb3x8nq-389-ds-base-2.2.2/lib/python3.11/site-packages/lib389/__init__.py", line 54, in <module>
from lib389._entry import Entry
File "/gnu/store/jq8iknqq5niwx9vchccbnnw6jdb3x8nq-389-ds-base-2.2.2/lib/python3.11/site-packages/lib389/_entry.py", line 20, in <module>
from lib389.utils import (ensure_str, ensure_bytes, ensure_list_bytes, display_log_data)
File "/gnu/store/jq8iknqq5niwx9vchccbnnw6jdb3x8nq-389-ds-base-2.2.2/lib/python3.11/site-packages/lib389/utils.py", line 49, in <module>
from packaging.version import LegacyVersion
ImportError: cannot import name 'LegacyVersion' from 'packaging.version' (/gnu/store/5ga1x27pz9wqwhq3sndcymfngdvcr4w9-python-packaging-bootstrap-25.0/lib/python3.11/site-packages/packaging/version.py)
* gnu/packages/patches/389-ds-base-legacy-version.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/openldap.scm (389-ds-base): Use it.
Change-Id: I34c12dce3092f9911383ae380af13ef74285ebc4
* gnu/packages/swift.scm (%swift-6.2-source): New variable.
(%swift-libdispatch-6.2-source): New variable.
(%swift-syntax-6.2-source): New variable.
(swift-6.2): New variable.
* gnu/packages/patches/swift-6.2-cplus-include-path.patch: New file.
* gnu/packages/patches/swift-6.2-exclude-scan-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add them.
Change-Id: I795a87ec7c8203f26ce380c805a28d53b2c4fe65
* gnu/packages/patches/clang-17.0-fix-build-with-gcc-14-on-arm.patch: New file.
* gnu/local.mk: Register it.
* gnu/packages/llvm.scm (clang-from-llvm): Treat patches as additional patches
when no hash provided.
(clang-17): Apply the patch.
Change-Id: I2c6580958c6d646703143872bbc59fd390e9cc95
Signed-off-by: Hilton Chain <hako@ultrarare.space>
* gnu/packages/patches/flex-fix-make-dependencies.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/flex.scm (flex) [source]: Apply it, wrapping the origin in a
bootstrap-origin call to avoid a circular dependency problem.
Change-Id: I7b9994a9239bdafa5c7768b9f954870716c76ad7
* gnu/packages/python-xyz.scm (dbxfs): Update to 2.0.1.
[source]<patches>: Drop patch. The code has been reorganized in a way
that makes it easier to drop the sentry_sdk dependency.
[arguments]<#:phases>: Drop the sentry_sdk dependency in phase
'relax-requirements.
[propagated-inputs]: Remove python-keyring, python-keyrings-alt.
Change-Id: Ied640a1b5de9ed2dae462184cce51692243b9dfb
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Package compilation would fail with modern GCC due to deprecated features that
are used in the package source code. This patch updates the package to
modernize the source code to fix compilation errors (see
<https://github.com/jhbadger/xlispstat/pull/1>.)
* gnu/packages/statistics.scm (xlispstat): Fix compilation with GCC version 14
or newer.
[source]: Add a patch.
* gnu/packages/patches/xlispstat-fix-compilation-with-modern-gcc.patch: New
file.
* gnu/local.mk (dist_patch_DATA): Register the patch.
Change-Id: I0f8b194887298fff196be7426a0de7eb247a8c48
Also unbundle libtirpc and muparser. The unbundling is now done in a snippet
instead of a build phase.
* gnu/packages/chemistry.scm (gromacs): Update to 2025.3.
[source]: Switch to git-fetch. Add modules and snippet fields.
[arguments]<#:configure-flags>: Add -DGMX_USE_MUPARSER=EXTERNAL and
-DCMAKE_CXX_FLAGS.
[phases]: Adjust 'fixes phase. Use the package source of googletest-1.13.
[inputs]: Add libtirpc and muparser.
* gnu/packages/patches/gromacs-tinyxml2.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Deregister patch.
Fixes: guix/guix#3584
Signed-off-by: Andreas Enge <andreas@enge.fr>
This is a follow-up to commit 4d86f0a312 .
* gnu/local.mk (dist_patch_DATA): Unregister trytond-hack-import.patch.
Change-Id: I43ad3a0ed4ac6df1085a9a501e265e793e6cdf35
Discussion <https://codeberg.org/guix/guix/issues/1438> resulted in the
decision to maintain the LTS version, which is 7.0.
* gnu/packages/tryton.scm(tryton): Downgrade to 7.0.37.
[arguments][#:phases][preperations]: Set DB_CACHE.
[propagated-inputs] Add python-psycopg2.
[native-inputs] Add python-html2text, remove python-wheel.
[native-search-paths] Add guix-pythonpath-search-path.
* gnu/packages/patches/trytond-add-guix_trytond_path.patch: Add modules in
GUIX_TRYTOND_MODULES_PATH directly to trytond.modules.__path__. Delete helper
function after it's done.
Change-Id: Ib2902c8e204467f08135885c793371105aeed7e5
The xnee module has only one package definition. Since this is a simple
X11-related application, it should be on xdisorg module.
* gnu/packages/xnee.scm (xnee): Migrate from here...
* gnu/packages/xdisorg.scm: ...to here
* gnu/local.mk: Remove reference to xnee.
* gnu/packages/xnee.scm: Remove file.
* po/packages/POTFILES.in: Remove reference to xnee.
Change-Id: I1128d3db412fab366b6d4c508128b86ee3d7b26b
Reviewed-by: Nicolas Graves <ngraves@ngraves.fr>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This introduces a new home service for Niri, a scrollable tiling Wayland
compositor that combines traditional tiling window management with smooth
scrolling between workspaces.
The service provides:
- home-niri-service-type for installing and configuring Niri
- Shepherd service that starts Niri in a DBus session
- Proper Wayland environment variables (XDG_CURRENT_DESKTOP,
XDG_SESSION_DESKTOP, etc.)
- Integration with xdg-desktop-portal and related components
The service starts Niri with appropriate environment variables for
Wayland compatibility and includes necessary dependencies like
xdg-desktop-portal-gnome and xdg-desktop-portal-gtk for proper
desktop integration.
* gnu/home/services/niri.scm: New file containing the service implementation.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register the new module.
* doc/guix.texi (Niri window manager): Add comprehensive documentation.
Change-Id: I9ef081226b4aaa31706d1fbc0d8b7aa1a202cd6e
* gnu/packages/c.scm (cproc)[arguments]: Add phase to set glibc dir.
[arguments]: Properly specify program inputs in 'configure phase.
* gnu/packages/patches/cproc-extra-linkflags.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu/packages/patches/libspatialite-libxml2-2.14.patch: New file.
* gnu/local.mk (dist_pach_DATA): Register it.
* gnu/packages/geo.scm (libspatialite)[source]: Use it.
Change-Id: I24ac907c11c0592d3e9bdbba8e7f44585c1055d0