me
/
guix
Archived
1
0
Fork 0
Commit Graph

89606 Commits (8554cb2db930321f220c4c27f1561162c4d521d1)

Author SHA1 Message Date
Hartmut Goebel d4ecdc3328
gnu: trytond: Ensure all modules are found.
If the python package matching trytond is not installed alongside to trytond,
PYTHONPATH is not set (or pointing to a wrong version) and trytond (and the
trytond tools) would not find the trytond modules.

This change introduces a new native-search-path GUIX_TRYTOND_MODULES_PATH.
Trytond gets patched to honor this environment variable.

Thanks to Maxim Cournoyer, whose code for guix-pythonpath-search-path
was the template for guix-trytonpath-search-path.

* gnu/packages/patches/trytond-add-guix_trytond_path.patch: New file.
* gnu/local.mk: (dist_patch_DATA): Add it.
* gnu/packages/tryton.scm (trytond): Use it.
  [native-search-paths]: New element.
  (guix-trytonpath-search-path): New function.
2021-12-18 15:13:57 +01:00
Hartmut Goebel 939e3813d0
gnu: trytond: Fix import of trytond modules.
For adding modules, trytond uses entry-points, anyhow relying on the
modules being named "trytond.modules.xxx" and being placed in the same
filesystem path as "trytond.modules".

The package "trytond.modules" is not a namespace module, anyhow trytond
modules must be sub-modules of "trytond.modules". This works well if all
packages are installed into the same filesystem path "…/trytond/modules":
The Python importer will find all sub_modules at this place.

Anyhow, in Guix, modules don't share the same filesystem path and the
Python importer will not find them.

Solution is to add all trytond module's locations to
"trytond.modules._path__". This will make "trytond.module" behave much
like a namespace module and the importer pick up the module.

* gnu/packages/patches/trytond-add-egg-modules-to-path.patch: New file.
* gnu/packages/tryton.scm (trytond): Use it.
* gnu/local.mk (dist_patch_DATA): Add it
2021-12-18 15:13:56 +01:00
Hartmut Goebel 6eba17043a
gnu: python-stdnum: Update to 1.17.
* gnu/packages/finance.scm (python-stdnum): Update to 1.17.
2021-12-18 15:13:56 +01:00
Raghav Gururajan 00a42ee749
gnu: gajim: Add d-bus support.
* gnu/packages/messaging.scm (gajim)[inputs]: Add python-dbus.
2021-12-18 08:17:44 -05:00
Liliana Marie Prikler 6061540e30
gnu: polari: Add missing newline to Exec line.
This is a follow-up to 572cf0818c.

* gnu/packages/polari.scm (fix-desktop-file): Add missing newline.
2021-12-18 10:58:56 +01:00
Vagrant Cascadian 5f547a5c42
lint: Adjust patch file length check.
With the switch to "ustar" format in commit
bdf5c16ac0, the maximum file length has
increased.

* guix/lint.scm (check-patch-file-names): Adjust margin used to check for
  patch file lengths. Increase allowable patch file length appropriate to new
  tar format. Extend warning to explain that long files may break 'make dist'.
* tests/lint.scm: Update tests accordingly.
2021-12-17 21:04:25 -08:00
Tobias Geerinckx-Rice 3b2b42034c
gnu: mpd-mpc: Update to 0.34.
* gnu/packages/mpd.scm (mpd-mpc): Update to 0.34.
[arguments]: Add a new 'remove-bogus-rsync-requirement phase.
2021-12-18 05:42:07 +01:00
Tobias Geerinckx-Rice 287c404c7f
gnu: ncmpc: Remove input labels.
* gnu/packages/mpd.scm (ncmpc)[native-inputs]:
Remove input labels.
2021-12-18 05:42:06 +01:00
Tobias Geerinckx-Rice a208a9d2b7
gnu: ncmpc: Update to 0.46.
* gnu/packages/mpd.scm (ncmpc): Update to 0.46.
[arguments]: Remove obsolete #:configure-flags.
2021-12-18 05:42:06 +01:00
Tobias Geerinckx-Rice b241485033
gnu: mpd: Update to 0.23.5.
* gnu/packages/mpd.scm (mpd): Update to 0.23.5.
2021-12-18 05:42:06 +01:00
Tobias Geerinckx-Rice de22cfcce1
gnu: fswatch: Omit static library.
* gnu/packages/monitoring.scm (fswatch)[arguments]:
Add "--disable-static" to #:configure-flags.
2021-12-18 05:41:57 +01:00
Tobias Geerinckx-Rice 4c3a1f0399
gnu: fswatch: Update to 1.16.0.
* gnu/packages/monitoring.scm (fswatch): Update to 1.16.0.
2021-12-18 05:41:57 +01:00
Tobias Geerinckx-Rice 556f7302d0
gnu: guix: Update to 1.3.0-16.10ceb3e.
This follows up on commit a526f7336c.

* gnu/packages/package-management.scm (guix): Update to 1.3.0-16.10ceb3e.
2021-12-18 04:12:30 +01:00
Tobias Geerinckx-Rice 10ceb3e846
import: cran: Fix description->package test.
This follows up on commit 5cd1019488.

* tests/cran.scm (description): Include a very long line.
(description->package): Update the golden description to match the
paragraph filling now performed by BEAUTIFY-DESCRIPTION.
2021-12-18 04:09:47 +01:00
Tobias Geerinckx-Rice a526f7336c
gnu: guix: Update to 1.3.0-15.f98edfa.
* gnu/packages/package-management.scm (guix): Update to 1.3.0-15.f98edfa.
2021-12-18 01:03:46 +01:00
Josselin Poiret via Guix-patches via f98edfa816
gnu: build: Register missing patches.
* gnu/local.mk (dist_patch_DATA): Add gcc-cross-gxx-include-dir.patch,
gcc-10-cross-environment-variables.patch,
gnome-session-support-elogind.patch,
icedtea-7-hotspot-aarch64-use-c++98.patch,
libvirt-create-machine-cgroup.patch, openjdk-14-builtins.patch,
python-babel-fix-parse-future-test.patch,
rust-wl-clipboard-rs-newer-wl.patch, streamlink-update-test.patch.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-12-18 00:45:38 +01:00
Leo Famulari 9dd7e57d16
gnu: Syncthing: Update to 1.18.5.
* gnu/packages/syncthing.scm (syncthing): Update to 1.18.5.
2021-12-17 18:18:28 -05:00
Leo Famulari 065c5e9435
gnu: Go 1.17: Update to 1.17.5.
* gnu/packages/golang.scm (go-1.17): Update to 1.17.5.
2021-12-17 18:18:28 -05:00
Leo Famulari 01aba21913
gnu: Go 1.16: Update to 1.16.12.
* gnu/packages/golang.scm (go-1.16): Update to 1.16.12.
2021-12-17 18:18:27 -05:00
Tobias Geerinckx-Rice b4ee524e5a
gnu: imake: Remove input labels.
* gnu/packages/xorg.scm (imake)[inputs]: Remove input labels.
[arguments]: Gexp accordingly.
2021-12-17 22:51:56 +01:00
Tobias Geerinckx-Rice fd290a81fc
gnu: mutt: Update to 2.1.4.
* gnu/packages/mail.scm (mutt): Update to 2.1.4.
2021-12-17 22:51:56 +01:00
Tobias Geerinckx-Rice 0c191fafc9
gnu: interception-tools: Remove input labels.
* gnu/packages/linux.scm (interception-tools)[inputs]:
Remove input labels.
2021-12-17 22:51:56 +01:00
Tobias Geerinckx-Rice 7aff8dcf50
gnu: interception-tools: Update to 0.6.8.
* gnu/packages/linux.scm (interception-tools): Update to 0.6.8.
2021-12-17 22:51:56 +01:00
Tobias Geerinckx-Rice ee878de4bd
gnu: cpuid: Update to 20211210.
* gnu/packages/linux.scm (cpuid): Update to 20211210.
2021-12-17 22:51:56 +01:00
Tobias Geerinckx-Rice 8d973a5a9b
gnu: knot-resolver: Update to 5.4.3.
* gnu/packages/dns.scm (knot-resolver): Update to 5.4.3.
[arguments]: Don't explicitly return #t from phases.
2021-12-17 22:51:56 +01:00
Tobias Geerinckx-Rice ad1cd31155
gnu: nsd: Update to 4.3.9.
* gnu/packages/dns.scm (nsd): Update to 4.3.9.
2021-12-17 22:51:55 +01:00
Tobias Geerinckx-Rice b83247f9a0
gnu: memkind: Update to 1.12.0.
* gnu/packages/disk.scm (memkind): Update to 1.12.0.
[arguments]: Don't explicitly return #t from phases.
2021-12-17 22:51:55 +01:00
Tobias Geerinckx-Rice b014c35081
gnu: filezilla: Remove input labels.
* gnu/packages/ftp.scm (filezilla)[native-inputs]: Remove input labels.
2021-12-17 22:51:55 +01:00
Tobias Geerinckx-Rice 4b8a5e8cc5
gnu: filezilla: Update to 3.57.0.
* gnu/packages/ftp.scm (filezilla): Update to 3.57.0.
2021-12-17 22:51:55 +01:00
Tobias Geerinckx-Rice 29a435a216
gnu: libfilezilla: Remove input labels.
* gnu/packages/ftp.scm (libfilezilla)[native-inputs]:
Remove input labels.
2021-12-17 22:51:55 +01:00
Tobias Geerinckx-Rice 6592fbaade
gnu: libfilezilla: Update to 0.35.0.
* gnu/packages/ftp.scm (libfilezilla): Update to 0.35.0.
2021-12-17 22:51:55 +01:00
Leo Famulari d627fbad8f
gnu: linux-libre 5.4: Update to 5.4.167.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.167.
(linux-libre-5.4-pristine-source): Update hash.
2021-12-17 15:20:02 -05:00
Leo Famulari f2bfe1cd76
gnu: linux-libre 5.10: Update to 5.10.87.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.87.
(linux-libre-5.10-pristine-source): Update hash.
2021-12-17 15:20:02 -05:00
Leo Famulari c01eeef61a
gnu: linux-libre 5.15: Update to 5.15.10.
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.10.
(linux-libre-5.15-pristine-source): Update hash.
2021-12-17 15:19:58 -05:00
Raghav Gururajan fb6c4a0c1d
gnu: gajim: Correct python version and skip sanity-check.
* gnu/packages/messaging.scm (gajim)[phases](sanity-check): Remove phase.
[native-search-paths](GUIX_PYTHONPATH): Adjust version.
2021-12-17 13:56:14 -05:00
Marius Bakke 3399c29b8f
gnu: python-djangorestframework: Rename to python-django-rest-framework.
* gnu/packages/django.scm (python-djangorestframework): Define as deprecated
alias for ...
(python-django-rest-framework): ... this new variable.
(python-django-filter)[native-inputs]: Adjust accordingly.
* gnu/packages/mail.scm (python-hyperkitty)[propagated-inputs]: Likewise.
* gnu/packages/patchutils.scm (patchwork)[propagated-inputs]: Likewise.
2021-12-17 19:07:18 +01:00
Marius Bakke 7d2550c3ff
gnu: python-django-rest-framework: Update to 3.13.1.
* gnu/packages/django.scm (python-djangorestframework): Update to 3.13.1.
[arguments]: Remove obsolete workarounds.  Set TZDIR in check phase.
[native-inputs]: Add TZDATA-FOR-TESTS.
[propagated-inputs]: Add PYTHON-PYTZ.
2021-12-17 19:07:18 +01:00
Marius Bakke 76f87b01ad
gnu: python-django: Add 4.0.
* gnu/packages/django.scm (python-django): Rename to ...
(python-django-4.0): ... this.  Update to 4.0.
[propagated-inputs]: Remove PYTHON-PYTZ.
(python-django-3.2): New variable.
(python-django-2.2): Inherit from it.
(python-django): Define as alias for PYTHON-DJANGO-3.2.
2021-12-17 19:07:18 +01:00
Marius Bakke 71d56cfa99
gnu: libime: Update to 1.0.10.
* gnu/packages/fcitx5.scm (libime): Update to 1.0.10.
2021-12-17 19:07:18 +01:00
Marius Bakke a133a0288c
gnu: python-graph-tool: Remove input labels.
* gnu/packages/graph.scm (python-graph-tool)[arguments]: Import SITE-PACKAGES
from (guix build python-build-system), and use instead of homegrown procedure.
[native-inputs, inputs]: Remove labels.
2021-12-17 19:07:17 +01:00
Marius Bakke 1d505c05bd
gnu: python-graph-tool: Build with Cairomm 1.14.
* gnu/packages/graph.scm (python-graph-tool)[inputs]: Change from CAIROMM to
CAIROMM-1.14.
2021-12-17 19:07:17 +01:00
Marius Bakke e661f4eff4
gnu: Remove unneeded uses of custom GCC versions.
* gnu/packages/bioinformatics.scm (libmaus2, biobambam2)[native-inputs]:
Remove GCC-10.
* gnu/packages/game-development.scm (libresprite, python-pyxel)[native-inputs]: Likewise.
* gnu/packages/lua.scm (emilua)[native-inputs]: Likewise.
* gnu/packages/radio.scm (sdr++)[native-inputs]: Likewise.
* gnu/packages/wm.scm (fnott)[native-inputs]: Likewise.
* gnu/packages/text-editors.scm (kakoune)[native-inputs]: Likewise.
(scintilla)[native-inputs]: Remove GCC-9.
* gnu/packages/build-tools.scm (bear)[native-inputs]: Likewise.
* gnu/packages/cpp.scm (magic-enum)[native-inputs]: Likewise.
* gnu/packages/games.scm (openttd)[native-inputs]: Likewise.
(schiffbruch)[native-inputs]: Remove GCC-11.
* gnu/packages/music.scm (liquidsfz, geonkick)[native-inputs]: Remove GCC-9.
* gnu/packages/fcitx5.scm (fcitx5, libime, fcitx5-configtool)[native-inputs]:
Likewise.
* gnu/packages/wine.scm (dxvk32)[native-inputs]: Likewise.
* gnu/packages/ftp.scm (libfilezilla)[native-inputs]: Remove GCC-8.
* gnu/packages/image.scm (blurhash)[native-inputs]: Likewise.
* gnu/packages/jami.scm (libring)[native-inputs]: Likewise.
* gnu/packages/pdf.scm (xournalpp)[native-inputs]: Likewise.
* gnu/packages/telegram.scm (webrtc-for-telegram-desktop,
telegram-desktop)[native-inputs]: Likewise.
2021-12-17 19:07:17 +01:00
Marius Bakke e0559c5314
gnu: grfcodec: Fix build with GCC 10.
* gnu/packages/patches/grfcodec-gcc-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/game-development.scm (grfcodec)[source](patches): New field.
[arguments]: Remove trailing #t.
2021-12-17 19:07:17 +01:00
Leo Famulari d080368cb5
gnu: datefudge: Add a backup source URI.
This tarball disappeared upstream.

* gnu/packages/time.scm (datefudge)[source]: Add backup URI.
2021-12-17 12:41:03 -05:00
Tobias Geerinckx-Rice 9eee025bf8
gnu: tor: Update to 0.4.6.9.
* gnu/packages/tor.scm (tor): Update to 0.4.6.9.
2021-12-17 18:35:21 +01:00
Nicolas Goaziou 489f4b9b1b
gnu: emacs-rustic: Update to 2.3.
* gnu/packages/emacs-xyz.scm (emacs-rustic): Update to 2.3.
2021-12-17 18:25:07 +01:00
Ludovic Courtès 4204156eb4
doc: Format 'guix hash -S' values as a table.
* doc/guix.texi (Invoking guix hash): Format serializer types as a
table.
2021-12-17 17:30:28 +01:00
zimoun 28ffdc5cc8
guix hash: Add git serializer.
* guix/scripts/hash.scm (git-hash): New procedure.
(%options): Use it.
* tests/guix-hash.sh: Test it.
* doc/guix.texi: Update.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-17 17:29:34 +01:00
zimoun 05c962594c
guix hash: Add 'serializer' option.
* guix/scripts/hash.scm (%options): Deprecate 'recursive', add 'serializer'.
(%default-options): Add 'serializer'.
(nar-hash): New procedure.
(default-hash): New procedure.
(guix-hash)[file-hash]: Use them.
(show-help): Adjust.
* tests/guix-hash.scm: Adjust.
* doc/guix.texi: Update.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-17 17:29:34 +01:00
zimoun 6e08f07f20
guix hash: Support several files.
* guix/scripts/hash.scm (guix-hash): Allow several files.
[file-hash]: Catch system-error.
[formatted-hash]: New procedure.
* tests/guix-hash.sh: Add test.
* doc/guix.texi (Invoking guix hash): Mention "one or more files".

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2021-12-17 17:29:34 +01:00