Commit graph

89262 commits

Author SHA1 Message Date
Ricardo Wurmus
728f1568d8
gnu: python-setuptools-for-tensorflow: Fix build.
* gnu/packages/python-xyz.scm (python-setuptools-for-tensorflow)[arguments]:
Add phase 'compatibility-fixes; disable tests.
[native-inputs]: Add python-pytest, python-mock, and python-six.
2021-12-15 08:31:50 +01:00
Leo Famulari
ef509e931f
gnu: criu: Fix typo that broke the build.
Reported by flatwhatson on #guix.

* gnu/packages/virtualization.scm (criu)[arguments]: Fix typo in #:make-flags.
2021-12-15 01:03:46 -05:00
Olivier Dion
c7795eccaf
gnu: libpfm4: Fix build error.
------
For some reason, the build recently failed with:

        pfmlib_perf_event_pmu.c:349:36: error: ?%s? directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Werror=format-truncation=]
          349 |   snprintf(d2path, MAXPATHLEN, "%s/%s", debugfs_mnt, d1->d_name);
              |                                    ^~
        pfmlib_perf_event_pmu.c:349:3: note: ?snprintf? output between 2 and 4352 bytes into a destination of size 4096
          349 |   snprintf(d2path, MAXPATHLEN, "%s/%s", debugfs_mnt, d1->d_name);
              |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        pfmlib_perf_event_pmu.c:399:58: error: ?%s? directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Werror=format-truncation=]
          399 |                         snprintf(idpath, MAXPATHLEN, "%s/%s/id", d2path, d2->d_name);
              |                                                          ^~
        pfmlib_perf_event_pmu.c:399:25: note: ?snprintf? output between 5 and 4355 bytes into a destination of size 4096
          399 |                         snprintf(idpath, MAXPATHLEN, "%s/%s/id", d2path, d2->d_name);
              |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        cc1: all warnings being treated as errors
------

* gnu/packages/linux.scm (libpfm4)[arguments]: Add `-Wno-format-truncation` to
CFLAGS in custom 'build' phase.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-12-15 00:40:14 -05:00
Tobias Geerinckx-Rice
9f955a1cfd
build-system/linux-module: Wrap with build variables.
* guix/build-system/linux-module.scm (linux-module-build): Wrap the
builder gexp WITH-BUILD-VARIABLES to restore %build-inputs after commit
7d873f194c removed all old certainties.

Reported by lfam in #guix.
2021-12-15 04:57:05 +01:00
Tobias Geerinckx-Rice
7166417ea6
gnu: spice-vdagent: Fix build with glib >= 2.68.
* gnu/packages/spice.scm (spice-vdagent)[source]: Add patch.
* gnu/packages/patches/spice-vdagent-glib-2.68.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2021-12-15 03:04:54 +01:00
Aleksandr Vityazev
04b6e1ed26
gnu: boost-signals2: Update hash to matched moved tag.
The upstream boost-1.77.0 tag moved significantly: from commit 10b030b
to commit 4a51d6e.  Both predate the release of Boost 1.77.0, see
<https://lists.boost.org/boost-announce/2021/08/0593.php>, so we might
reasonably assume that the tag is now stable.

Asked upstream: <https://github.com/boostorg/signals2/issues/56>.

* gnu/packages/boost (boost-signals2)[source]: Update hash.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-12-15 03:04:53 +01:00
Ludovic Courtès
e874c730ea
gnu: ableton-link: Update to 3.0.3.
* gnu/packages/audio.scm (ableton-link): Update to 3.0.3.
[arguments]: In phases, change source directory to "../source".  Remove
trailing #t.
2021-12-15 00:41:08 +01:00
Ludovic Courtès
3bfdf1c382
doc: Do not explain quote/quasiquote in the context of inputs.
* doc/guix.texi (Defining Packages): Move reference to
quote/quasiquote from 'inputs' to 'arguments'.
2021-12-15 00:41:08 +01:00
Ludovic Courtès
d68cc7fe96
doc: Use @lisp for 'static-networking-service-type' example.
* doc/guix.texi (Networking Setup): Use @lisp for
'static-networking-service-type' example.
2021-12-15 00:41:08 +01:00
Ludovic Courtès
8da6dfb0bb
gnu: libgit2: Allow cross-compilation.
With commit 8394619bac, the label for
'pkg-config' when cross-compiling changed to "TRIPLET-pkg-config",
thereby breaking the 'assoc-ref' call.  This commit fixes it by avoiding
referring to the label.

* gnu/packages/version-control.scm (libgit2)[arguments]: Adjust
"-DPKG_CONFIG_EXECUTABLE=" option.
2021-12-15 00:41:07 +01:00
Maxim Cournoyer
a284e56de4
gnu: emacs: Partially revert 'guix style'd emacs packages.
This is a follow up to commit 88097dfba7, which
styled many Emacs packages with 'guix style'.

* gnu/packages/emacs-xyz.scm (emacs-shroud): Revert to previous version.
(emacs-howm): Likewise.
(emacs-ob-sclang)[propagated-inputs]: Replace emacs-emacs by emacs-org and
org-scel by emacs-scel.
2021-12-14 18:05:00 -05:00
Florian Pelz
8a96bf4c74
news: Add 'de' translation.
* etc/news.scm: Add German translation of GDM Wayland entry.
2021-12-14 22:35:58 +01:00
Nicolas Goaziou
88097dfba7
gnu: Use new package style.
* gnu/packages/emacs-xyz.scm (emacs-shroud):
(emacs-w3m):
(emacs-howm):
(emacs-guix):
(emacs-deferred):
(emacs-irony-mode):
(emacs-irony-mode-server):
(emacs-scel):
(emacs-elfeed-org):
(emacs-mocker):
(emacs-find-file-in-project):
(emacs-pyvenv):
(emacs-elpy):
(emacs-org-contrib):
(emacs-ob-sclang):
(emacspeak):
(emacs-json-reformat):
(emacs-ws-butler):
(emacs-browse-at-remote):
(epipe):
(emacs-emacsql):
(emacs-emacsql-sqlite3):
(emacs-org-super-agenda):
(emacs-dumb-jump):
(emacs-ytdl):
(emacs-arduino-mode):
(emacs-vterm):
(emacs-forge):
(emacs-flycheck-cpplint):
(emacs-telega-server):
(emacs-inf-janet):
(emacs-keystore-mode): Remove input labels.  Remove trailing #T in phases. Use gexps.
2021-12-14 22:28:08 +01:00
Liliana Marie Prikler
50b8a8e8c2
gnu: Rename emacs-recutils to emacs-rec-mode.
This fixes ‘guix refresh emacs-rec-mode’.

* gnu/packages/databases.scm (emacs-rec-mode): New variable.
(emacs-recutils): Deprecate in favor of emacs-rec-mode.
2021-12-14 21:30:49 +01:00
Morgan Smith
c41ccac45b
gnu: emacs-recutils: Update to 1.8.2.
* gnu/packages/databases.scm (emacs-recutils): Update to 1.8.2.
No longer inherit from recutils.
[source]: Add origin, fetching tarball from ELPA.
[native-inputs]: Add texinfo.
[arguments]: Add ‘make-info’ phase.
[home-page, license]: Fill in missing information no longer inherited.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2021-12-14 21:30:48 +01:00
Nicolas Goaziou
b484301f52
gnu: emacs-dvc: Use new style.
* gnu/packages/emacs-xyz.scm (emacs-dvc)[arguments]<#:configure-flags>: Use
gexps.
<#:phases>: Remove trailing #T.
[native-inputs]: Remove labels.
[synopsis]: Remove trailing dot.
2021-12-14 19:59:41 +01:00
Nicolas Goaziou
64ed2d8414
gnu: emacs-string-inflection: Use new style.
* gnu/packages/emacs-xyz.scm (emacs-string-inflection)[native-inputs]: Remove label.
2021-12-14 19:48:09 +01:00
Nicolas Goaziou
17f844c5dd
gnu: emacs-explain-pause-mode: Use new style.
* gnu/packages/emacs-xyz.scm (emacs-explain-pause-mode)[native-inputs]: Remove
label.
2021-12-14 19:44:37 +01:00
Nicolas Goaziou
6c8cd5faa8
gnu: emacs-guix: Use new style (partly).
* gnu/packages/emacs-xyz.scm (emacs-guix)[arguments]<#:phase>: Remove trailing
[native-inputs, propagated-inputs]: Remove labels.
2021-12-14 19:38:13 +01:00
Tobias Geerinckx-Rice
13f769c165
gnu: festival: Support ALSA output.
* gnu/packages/speech.scm (festival)[arguments]:
Add "LINUXAUDIO=alsa" to #:make-flags.
[inputs]: Add alsa-lib.
2021-12-14 19:35:23 +01:00
Tobias Geerinckx-Rice
c4b786fb33
gnu: igt-gpu-tools: Include man pages.
* gnu/packages/admin.scm (igt-gpu-tools)[arguments]:
Add a new 'find-rst2man.py phase.
(native-inputs): Add python-docutils.
2021-12-14 19:35:23 +01:00
Tobias Geerinckx-Rice
cf879dc0b6
gnu: igt-gpu-tools: Fix build with newer Mesons.
* gnu/packages/admin.scm (igt-gpu-tools)[arguments]:
Add a new 'fix-meson.build phase.
2021-12-14 19:35:23 +01:00
Tobias Geerinckx-Rice
a0fd9a3532
gnu: i7z: Fix building with GCC >= 10.
* gnu/packages/hardware.scm (i7z)[source]: Add patch.
* gnu/packages/patches/i7z-gcc-10.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2021-12-14 19:35:23 +01:00
Tobias Geerinckx-Rice
5ee8589c86
gnu: fprintd: Gexp arguments.
* gnu/packages/linux.scm (fprintd)[arguments]: Use Gexps.
2021-12-14 19:35:22 +01:00
Tobias Geerinckx-Rice
18bfe44ef6
gnu: fprintd: Update to 1.94.1.
* gnu/packages/freedesktop.scm (fprintd): Update to 1.94.1.
[arguments]: Remove obsolete 'patch-mistake and 'no-polkit-magic phases.
Make 'patch-systemd-dependencies regexp more specific.
Remove gi.repository.FPrint in the 'ignore-test-dependencies regexp.
[native-inputs]: Remove unused libxslt.
[inputs]: Remove unused gusb, nss, and pixman.
2021-12-14 19:35:22 +01:00
Tobias Geerinckx-Rice
9cbf66b6c7
gnu: fprintd: Remove phase return values.
* gnu/packages/freedesktop.scm (fprintd)[arguments]:
Don't explicitly return #t from phases.
2021-12-14 19:35:22 +01:00
Tobias Geerinckx-Rice
b35efa1c56
gnu: libfprint: Gexp arguments.
* gnu/packages/linux.scm (libfprint)[arguments]: Use Gexps.
2021-12-14 19:35:22 +01:00
Tobias Geerinckx-Rice
9fd80ba79f
gnu: libfprint: Update to 1.94.2.
* gnu/packages/freedesktop.scm (libfprint): Update to 1.94.2.
[arguments]: Add "-Dudev_rules_dir=" to #:configure-flags.
[native-inputs]: Remove eudev.  Remove input labels.
[inputs]: Remove glib.  Add libgudev.
2021-12-14 19:35:22 +01:00
Tobias Geerinckx-Rice
058766ec7a
gnu: corefreq: Stop using %OUTPUTS.
* gnu/packages/linux.scm (corefreq)[arguments]: Use Gexps to remove use
of %OUTPUTS.
2021-12-14 19:35:22 +01:00
Nicolas Goaziou
ae1ec6b0e4
gnu: emacs-pdf-tools: Use new style.
* gnu/packages/emacs-xyz.scm (emacs-pdf-tools)[arguments]<#:phases>: Remove
trailing #T.
[native-inputs, propagated-inputs]: Remove labels.
[inputs]: Reorder alphabetically.
2021-12-14 19:28:20 +01:00
Nicolas Goaziou
b1cfd7a40b
gnu: emacs-direnv: Use new style.
* gnu/packages/emacs-xyz.scm (emacs-direnv)[arguments]: Use SEARCH-INPUT.
[propagated-inputs]: Remove labels.
2021-12-14 19:20:14 +01:00
Nicolas Goaziou
d1b435366c
gnu: emacs-howm: Use new style.
* gnu/packages/emacs-xyz.scm (emacs-howm)[native-inputs]: Remove labels.
2021-12-14 19:15:45 +01:00
Nicolas Goaziou
9c5d1bde3d
gnu: emacs-auctex: Use new style.
* gnu/packages/emacs-xyz.scm (emacs-auctex)[arguments]<#:phases>: Use
SEARCH-INPUT-FILE.  Remove trailing #T.
[inputs]: Remove labels.
2021-12-14 19:09:39 +01:00
Nicolas Goaziou
4558a98389
gnu: emacs-ag: Use new style.
* gnu/packages/emacs-xyz.scm (emacs-ag)[arguments]<#:phases>: Remove trailing
[propagated-inputs]: Remove labels.
2021-12-14 19:04:09 +01:00
Nicolas Goaziou
b1d7112f8e
gnu: emacs-emms: Use new style.
* gnu/packages/emacs-xyz.scm (emacs-emms)[arguments]<#:phases>: Use
SEARCH-INPUT-FILE.  Remove trailing #T.
[inputs]: Remove labels.
2021-12-14 18:59:44 +01:00
Josselin Poiret via Guix-patches via
6aece4b94d
gnu: fontmanager: Use libsoup2 and vala-0.52
These changes fix the build.

* gnu/packages/fontutils.scm (fontmanager)[native-inputs]: Replace vala
with vala-0.52.
[inputs]: Replace libsoup with libsoup-minimal-2. Replace webkitgtk with
webkitgtk-with-libsoup2.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-12-14 12:42:15 -05:00
Florian Pelz
af220bfbd2
news: Add 'de' translation.
* etc/news.scm: Add German translation of package inputs entry.
2021-12-14 18:21:59 +01:00
Nicolas Goaziou
73eb941b8b
gnu: emacs-emms-print-metadata: Use new style.
* gnu/packages/emacs-xyz.scm (emacs-emms-print-metadata)[arguments]<#:phases>:
Remove trailing #T.
[inputs]: Remove label.
2021-12-14 17:46:00 +01:00
Nicolas Goaziou
7be6c86a5e
gnu: emacs-wget: Use new package style.
* gnu/packages/emacs-xyz.scm (emacs-wget)[native-inputs]: Remove label.
[arguments]<#:phases>: Use SEARCH-INPUT-FILE.  Remove trailing #T.
2021-12-14 17:42:55 +01:00
Ricardo Wurmus
fa03268c89
gnu: Add r-maftools.
* gnu/packages/bioconductor.scm (r-maftools): New variable.
2021-12-14 17:38:16 +01:00
Ricardo Wurmus
9a1ab21b07
gnu: Add r-tcgabiolinks.
* gnu/packages/bioconductor.scm (r-tcgabiolinks): New variable.
2021-12-14 17:38:16 +01:00
Ricardo Wurmus
8b0adf9f7e
gnu: Add r-tcgabiolinksgui-data.
* gnu/packages/bioconductor.scm (r-tcgabiolinksgui-data): New variable.
2021-12-14 17:38:15 +01:00
Efraim Flashner
861ee6d908
doc: Mention powerpc-linux support.
This was missing with the addition of powerpc-linux support in commit
cbdb7d4fea.

* doc/guix.texi (GNU Distribution): Add powerpc-linux.
2021-12-14 18:33:51 +02:00
Efraim Flashner
3544b2e74a
doc: Mark mips64el-linux as unsupported.
* doc/guix.texi (GNU Distribution): Change mips64el-linux from
deprecated to unsupported.
2021-12-14 18:33:51 +02:00
Efraim Flashner
08d15a24c9
build: Adjust 'courage level' of different systems.
* m4/guix.m4 (GUIX_ASSERT_SUPPORTED_SYSTEM): Add i586-gnu. Move
powerpc-linux to unsupported but not needing courage. Add mips64el-linux
to unsupported.
2021-12-14 18:33:49 +02:00
Maxim Cournoyer
046a23e63a
build-system: emacs: Do not rely on input labels in the 'build' phase.
This commit repairs the Emacs build system for packages using the new
label-less "guix style".  Tested with emacs-libgit.

* guix/build/emacs-build-system.scm (build): Use search-input-file to locate
emacs.
2021-12-14 11:18:46 -05:00
Maxim Cournoyer
9ebeba8254
gnu: icecat-source: Enable xz parallel compression.
* gnu/packages/gnuzilla.scm (icecat-source): Set XZ_DEFAULTS to
%xz-parallel-args to enable parallel compression and hasten the build.  Remove
trailing #t.
2021-12-14 11:05:52 -05:00
Nicolas Goaziou
41e61e4fed
guix: Fix typo in last commit.
* guix/build/emacs-build-system.scm (make-autoloads): Fix typo.
2021-12-14 15:49:15 +01:00
Nicolas Goaziou
6717ce28d0
guix: Do not assume "emacs" label in make-autoloads.
* guix/build/emacs-build-system.scm (make-autoloads): Look for "emacs"
executable independently on the label.
2021-12-14 15:48:02 +01:00
Florian Pelz
644ff4dc69
news: Add 'de' translation.
* etc/news.scm: Add German translation of static networking entry.
2021-12-14 15:41:34 +01:00