Commit graph

89491 commits

Author SHA1 Message Date
Ludovic Courtès f6e79ef108
style: Gracefully handle errors such as EACCES when opening files.
* guix/scripts/style.scm (guix-style): Wrap body in
'with-error-handling'.
2021-12-18 22:51:55 +01:00
Ludovic Courtès a9892f8f2d
style: Refer to source files by absolute file names.
Previously, "guix style PACKAGE" would end up modifying a file looked up
under the current directory since the location associated with PACKAGE
is usually a relative file name.

* guix/scripts/style.scm (absolute-location): New procedure.
(simplify-package-inputs): Use it.
2021-12-18 22:51:55 +01:00
Konrad Hinsen a5c24f6511
gnu: go-ipfs: Update to 0.11.0.
* gnu/packages/ipfs.scm (go-ipfs): Update to 0.11.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-18 22:51:55 +01:00
Xinglu Chen f21c70bc9a
import: elpa: Support ‘upstream-name’ property.
* guix/import/elpa.scm: (guix-package->elpa-name): New procedure.
  (latest-release): Use it.
* tests/elpa.scm ("guix-package->elpa-name: without 'upstream-name' property")
  ("guix-package->elpa-name: with 'upstream-name' property"): Test it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-18 22:51:55 +01:00
Remco van 't Veer 08b0f5c2a5
gnu: sssd: Fix build with glibc-2.33
* gnu/packages/patches/sssd-collision-with-external-nss-symbol.patch: Commit from sssd repo
* gnu/packages/sssd.scm: Add patch

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-18 22:51:54 +01:00
Foo Chuan Wei 59362e928e
gnu: Add xfoil.
* gnu/packages/engineering.scm (xfoil): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2021-12-18 22:51:54 +01:00
Ludovic Courtès 8da63c2c23
gnu: babeltrace, lttng-tools: Simplify inputs.
* gnu/packages/instrumentation.scm (babeltrace, lttng-tools): Simplify
inputs.
2021-12-18 22:51:54 +01:00
Olivier Dion 72437be528
gnu: Move instrumentation tools to instrumentation module.
* gnu/packages/linux.scm (lttng-ust, lttng-tools, babeltrace): Move to ...
* gnu/packages/instrumentation.scm: ... here.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-18 22:51:54 +01:00
Olivier Dion 2068e3ccd9
gnu: Add Dyninst.
* gnu/packages/instrumentation.scm: New file
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-18 22:51:54 +01:00
Ludovic Courtès e0139158db
gnu: Add Guile-Plotutils.
* gnu/packages/plotutils.scm (guile-plotutils): New variable.
2021-12-18 22:51:54 +01:00
Leo Famulari cfcfda54b3
gnu: barcode: Fix build with GCC 10.
Reported by bdju on #guix.

* gnu/packages/aidc.scm (barcode)[arguments]: Build with -fcommon.
2021-12-18 16:32:44 -05:00
Nicolas Goaziou 3625cbc3fe
gnu: emacs-org-super-agenda: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-org-super-agenda)[arguments]<#:tests?>:
Ignore tests.
2021-12-18 22:22:11 +01:00
Nicolas Goaziou 1ae0141903
gnu: mgba: Update to 0.9.3.
* gnu/packages/emulators.scm (mgba): Update to 0.9.3.
2021-12-18 21:52:56 +01:00
Nicolas Goaziou ed41cae4c3
gnu: texmacs: Update to 2.1.1.
* gnu/packages/text-editors.scm (texmacs): Update to 2.1.1.
[build-system]: Use cmake instead of gnu.
[inputs]: Add libjpeg-turbo and sqlite.  Remove labels.
[arguments]<#:phases>: Remove unnecessary phase.
2021-12-18 21:37:17 +01:00
Ryan Prior fcb5b3176c
gnu: visidata: Update to 2.8.
* gnu/packages/spreadsheet.scm (visidata): Update to 2.8.
[inputs, native-inputs]: Migrate inputs to new style.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-12-18 15:12:00 -05:00
Tobias Geerinckx-Rice 04c1dabfab
gnu: diffoscope: Update to 197.
* gnu/packages/diffoscope.scm (diffoscope): Update to 197.
2021-12-18 19:36:32 +01:00
Tobias Geerinckx-Rice 366e35c843
gnu: freeciv: Update to 2.6.6.
* gnu/packages/games.scm (freeciv): Update to 2.6.6.
2021-12-18 19:36:32 +01:00
Tobias Geerinckx-Rice 286da74b80
gnu: nvc: Update to 1.5.3.
* gnu/packages/fpga.scm (nvc): Update to 1.5.3.
2021-12-18 19:36:32 +01:00
Tobias Geerinckx-Rice 484fcf09fd
gnu: fheroes2: Update to 0.9.10.
* gnu/packages/games.scm (fheroes2): Update to 0.9.10.
2021-12-18 19:36:32 +01:00
Tobias Geerinckx-Rice 094313032a
gnu: qtox: Remove input labels.
* gnu/packages/messaging.scm (qtox)[native-inputs]: Remove input labels.
[arguments]: Gexp, use SEARCH-INPUT-DIRECTORY, and don't explicitly
return #t from phases.
2021-12-18 17:35:48 +01:00
Tobias Geerinckx-Rice a8633f71cb
gnu: qtox: Update to 1.17.4.
* gnu/packages/messaging.scm (qtox): Update to 1.17.4.
2021-12-18 17:35:48 +01:00
Tobias Geerinckx-Rice 7986acd993
gnu: imv: Remove unused inputs.
They aren't needed and probably never were.

* gnu/packages/image-viewers.scm (imv)[native-inputs]: Remove cmocka and git.
2021-12-18 17:35:48 +01:00
Tobias Geerinckx-Rice a63a35daa6
gnu: imv: Remove input labels.
* gnu/packages/image-viewers.scm (imv)[native-inputs]:
Remove input labels.
2021-12-18 17:35:48 +01:00
Tobias Geerinckx-Rice c1f364a2d2
gnu: imv: Update to 4.3.1.
* gnu/packages/image-viewers.scm (imv): Update to 4.3.1.
[arguments]: Don't explicitly return #t from phases.
[source, home-page]: Update URL.
2021-12-18 17:35:47 +01:00
Tobias Geerinckx-Rice 1eee548892
gnu: mtools: Update to 4.0.36.
* gnu/packages/mtools.scm (mtools): Update to 4.0.36.
2021-12-18 17:35:47 +01:00
Tobias Geerinckx-Rice ebfbc46bc2
gnu: rofi: Remove input labels.
* gnu/packages/xdisorg.scm (rofi)[native-inputs, inputs]:
Remove input labels.
2021-12-18 17:35:47 +01:00
Tobias Geerinckx-Rice 5686e4aedf
gnu: rofi: Update to 1.7.2.
* gnu/packages/xdisorg.scm (rofi): Update to 1.7.2.
[arguments]: Don't explicitly return #t from phases.
2021-12-18 17:35:47 +01:00
Tobias Geerinckx-Rice 5101dcfb15
gnu: qd: Omit static library.
* gnu/packages/multiprecision.scm (qd)[arguments]:
Add "--disable-static" to #:configure-flags.
2021-12-18 17:35:47 +01:00
Tobias Geerinckx-Rice e3ede6fdad
gnu: qd: Update to 2.3.23.
* gnu/packages/multiprecision.scm (qd): Update to 2.3.23.
2021-12-18 17:35:47 +01:00
Tobias Geerinckx-Rice 478362c949
gnu: pgpdump: Remove bogus DESTDIR usage.
* gnu/packages/gnupg.scm (pgpdump)[arguments]: Gexp.
Remove custom #:configure-flags, and DESTDIR from #:make-flags.
2021-12-18 17:35:47 +01:00
Tobias Geerinckx-Rice 38085f0fbf
gnu: pgpdump: Update to 0.34.
* gnu/packages/gnupg.scm (pgpdump): Update to 0.34.
2021-12-18 17:35:46 +01:00
Tobias Geerinckx-Rice 7c6f0b4249
gnu: restinio: Update to 0.6.14.
* gnu/packages/networking.scm (restinio): Update to 0.6.14.
[arguments]: Don't explicitly return #t from phases.
2021-12-18 17:35:46 +01:00
Tobias Geerinckx-Rice 564f1b448c
gnu: microcom: Update to 2019.01.0.
* gnu/packages/microcom.scm (microcom): Update to 2019.01.0.
2021-12-18 17:35:46 +01:00
Nicolas Goaziou 3aef0e7ee6
gnu: emacs-geiser-chez: Update to 0.17.
* gnu/packages/emacs-xyz.scm (emacs-geiser-chez): Update to 0.17.
2021-12-18 16:37:15 +01:00
Nicolas Goaziou f80b5c3d2f
gnu: gcompris-qt: Update to 2.0.
* gnu/packages/education.scm (gcompris-qt): Update to 2.0.
[arguments]: Remove trailing #T.
[native-inputs, inputs]: Remove labels.
[license]: Change license from gpl3+ to agpl3+.
2021-12-18 16:16:49 +01:00
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