jackhill/guix/guix.git
3 years agognu: Add hikari.
qblade [Fri, 26 Mar 2021 01:33:42 +0000 (01:33 +0000)]
gnu: Add hikari.

* gnu/packages/wm.scm (hikari): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
3 years agognu: cuirass: Update to 1.0.0-4.ff3f25d.
Mathieu Othacehe [Fri, 26 Mar 2021 13:23:39 +0000 (14:23 +0100)]
gnu: cuirass: Update to 1.0.0-4.ff3f25d.

* gnu/packages/ci.scm (cuirass): Update to 1.0.0-4.ff3f25d.

3 years agognu: eolie: Add missing inputs.
Leo Prikler [Fri, 12 Mar 2021 17:55:41 +0000 (18:55 +0100)]
gnu: eolie: Add missing inputs.

This fixes errors observed directly at launch of Eolie inside pure
environments.  (See <https://bugs.gnu.org/47097> for more information.)
It is still not possible to launch Eolie inside a container, however.
(See also <https://bugs.gnu.org/47106>.)

* gnu/packages/gnome.scm (eolie)[inputs]: Add libhandy and
gnome-settings-daemon.

3 years agognu: guix-build-coordinator: Update to 0-21.6e7e63f.
Christopher Baines [Fri, 26 Mar 2021 10:15:23 +0000 (10:15 +0000)]
gnu: guix-build-coordinator: Update to 0-21.6e7e63f.

* gnu/packages/package-management.scm (guix-build-coordinator): Update to
0-21.6e7e63f.

3 years agognu: guix-data-service: Update to 0.0.1-26.410f58c.
Christopher Baines [Fri, 26 Mar 2021 10:12:24 +0000 (10:12 +0000)]
gnu: guix-data-service: Update to 0.0.1-26.410f58c.

* gnu/packages/web.scm (guix-data-service): Update to 0.0.1-26.410f58c.
[inputs]: Use newer PostgreSQL and guile-json packages, and switch to
non-deprecated variants of other packages.

3 years agognu: Add r-samr.
Tim Howes [Fri, 26 Mar 2021 09:12:03 +0000 (10:12 +0100)]
gnu: Add r-samr.

* gnu/packages/cran.scm (r-samr): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
3 years agognu: Add r-gsa.
Tim Howes [Mon, 15 Feb 2021 05:44:36 +0000 (21:44 -0800)]
gnu: Add r-gsa.

* gnu/packages/cran.scm (r-gsa): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
3 years agognu: r-suppdists: Update hash.
zimoun [Fri, 26 Mar 2021 08:50:24 +0000 (09:50 +0100)]
gnu: r-suppdists: Update hash.

* gnu/packages/cran.scm (r-suppdists)[source]: Update hash.

3 years agognu: SVT-HEVC: Update to 1.5.0.
Leo Famulari [Fri, 26 Mar 2021 06:28:22 +0000 (02:28 -0400)]
gnu: SVT-HEVC: Update to 1.5.0.

* gnu/packages/video.scm (svt-hevc): Update to 1.5.0.
[license]: Specify the license.

3 years agognu: SVT-AV1: Update URLs.
Leo Famulari [Fri, 26 Mar 2021 06:30:47 +0000 (02:30 -0400)]
gnu: SVT-AV1: Update URLs.

* gnu/packages/video.scm (svt-av1)[source, home-page]: Update URLs.

3 years agognu: libaom: Update to 3.0.0.
Leo Famulari [Fri, 26 Mar 2021 06:25:11 +0000 (02:25 -0400)]
gnu: libaom: Update to 3.0.0.

* gnu/packages/video.scm (libaom): Update to 3.0.0.

3 years agognu: guix: Update to 6e7ba45.
Léo Le Bouter [Fri, 26 Mar 2021 04:42:48 +0000 (05:42 +0100)]
gnu: guix: Update to 6e7ba45.

* gnu/packages/package-management.scm (guix): Update to 6e7ba45.

3 years agognu: sqlite: Update to 3.32.3 [security fixes].
Léo Le Bouter [Thu, 18 Mar 2021 06:09:10 +0000 (07:09 +0100)]
gnu: sqlite: Update to 3.32.3 [security fixes].

Fixes CVE-2020-11655, CVE-2020-11656, CVE-2020-13434, CVE-2020-13435,
CVE-2020-13630, CVE-2020-13631, CVE-2020-13632, CVE-2020-15358 and
CVE-2020-9327.

* gnu/packages/sqlite.scm (sqlite/fixed): New variable.
(sqlite)[replacement]: Graft.

3 years agognu: mariadb: Fix CVE-2021-27928.
Léo Le Bouter [Thu, 25 Mar 2021 10:55:10 +0000 (11:55 +0100)]
gnu: mariadb: Fix CVE-2021-27928.

* gnu/packages/patches/mariadb-CVE-2021-27928.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/databases.scm (mariadb/fixed): New variable. Apply patch.
(mariadb)[replacement]: Graft.

3 years agognu: Remove QT 4.
Leo Famulari [Sun, 7 Mar 2021 20:52:39 +0000 (15:52 -0500)]
gnu: Remove QT 4.

For more information, see:

https://lists.gnu.org/archive/html/guix-devel/2016-02/msg00596.html
https://bugs.gnu.org/45704

* gnu/packages/qt.scm (qt-4, python2-pyqt-4): Remove variables.
* gnu/packages/engineering.scm (qucs, qucs-s): Remove variables.
* gnu/packages/messaging.scm (pybitmessage): Remove variable.
* gnu/packages/password-utils.scm (keepassx): Remove variable.
* gnu/packages/pdf.scm (poppler-qt4): Remove variable.

3 years agodoc: "Invoking guix refresh" links to '--with-latest'.
Ludovic Courtès [Thu, 25 Mar 2021 23:03:22 +0000 (00:03 +0100)]
doc: "Invoking guix refresh" links to '--with-latest'.

* doc/guix.texi (Invoking guix refresh): Reword intro and Link to
'--with-latest'.

3 years agodoc: Explain how to pass 'guix refresh' the packages found in your profile.
Ludovic Courtès [Thu, 25 Mar 2021 22:58:09 +0000 (23:58 +0100)]
doc: Explain how to pass 'guix refresh' the packages found in your profile.

Suggested by Xinglu Chen <public@yoctocell.xyz>.

* doc/guix.texi (Invoking guix refresh): Mention how to update packages
found in one's profile.

3 years agodoc: Move 'guix refresh --list-updaters' reference to the right place.
Ludovic Courtès [Thu, 25 Mar 2021 22:54:52 +0000 (23:54 +0100)]
doc: Move 'guix refresh --list-updaters' reference to the right place.

* doc/guix.texi (Invoking guix refresh): Move '--list-updaters' right
after '--type'.

3 years agoimport: print: Improve origin method name guesswork.
Ludovic Courtès [Thu, 25 Mar 2021 21:41:05 +0000 (22:41 +0100)]
import: print: Improve origin method name guesswork.

Fixes <https://bugs.gnu.org/47375>.
Reported by Léo Le Bouter <lle-bout@zaclys.net>.

* guix/import/print.scm (package->code): For METHOD, use 'variable-name'
preferably, and call 'procedure-name' as a last resort.

3 years agolint: archival: Gracefully handle packages with a #f hash value.
Ludovic Courtès [Mon, 22 Mar 2021 16:07:12 +0000 (17:07 +0100)]
lint: archival: Gracefully handle packages with a #f hash value.

Fixes <https://bugs.gnu.org/47293>.
Reported by Luis Felipe.

* guix/lint.scm (check-archival): Check whether 'content-hash-value'
returns true.

3 years agognu: ircii: Update to 20210314 [security fixes].
Leo Famulari [Thu, 25 Mar 2021 22:54:49 +0000 (18:54 -0400)]
gnu: ircii: Update to 20210314 [security fixes].

See this message for more information about the security issues fixed in
ircii 20210314:

https://seclists.org/oss-sec/2021/q1/262

* gnu/packages/irc.scm (ircii): Update to 20210314.

3 years agognu: linux-libre 5.10: Update to 5.10.26.
Leo Famulari [Thu, 25 Mar 2021 19:51:37 +0000 (15:51 -0400)]
gnu: linux-libre 5.10: Update to 5.10.26.

* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.26.
(linux-libre-5.10-pristine-source): Update hash.

3 years agognu: linux-libre: Update to 5.11.10.
Leo Famulari [Thu, 25 Mar 2021 19:48:35 +0000 (15:48 -0400)]
gnu: linux-libre: Update to 5.11.10.

* gnu/packages/linux.scm (linux-libre-5.11-version): Update to 5.11.10.
(linux-libre-5.11-pristine-source): Update hash.

3 years agognu: vips: Update to 8.10.6.
Tobias Geerinckx-Rice [Thu, 25 Mar 2021 20:07:39 +0000 (21:07 +0100)]
gnu: vips: Update to 8.10.6.

* gnu/packages/image-processing.scm (vips): Update to 8.10.6.

3 years agognu: spdlog: Update to 1.8.3.
Tobias Geerinckx-Rice [Thu, 25 Mar 2021 20:05:01 +0000 (21:05 +0100)]
gnu: spdlog: Update to 1.8.3.

* gnu/packages/logging.scm (spdlog): Update to 1.8.3.

3 years agognu: youtube-dl: Update to 2021.03.25.
Tobias Geerinckx-Rice [Thu, 25 Mar 2021 20:04:40 +0000 (21:04 +0100)]
gnu: youtube-dl: Update to 2021.03.25.

* gnu/packages/video.scm (youtube-dl): Update to 2021.03.25.

3 years agognu: wla-dx: Update to 9.12.
Tobias Geerinckx-Rice [Thu, 25 Mar 2021 20:04:22 +0000 (21:04 +0100)]
gnu: wla-dx: Update to 9.12.

* gnu/packages/assembly.scm (wla-dx): Update to 9.12.

3 years agognu: doctest: Update to 2.4.6.
Tobias Geerinckx-Rice [Thu, 25 Mar 2021 20:04:07 +0000 (21:04 +0100)]
gnu: doctest: Update to 2.4.6.

* gnu/packages/check.scm (doctest): Update to 2.4.6.

3 years agognu: libinstpatch: Update to 1.1.6.
Tobias Geerinckx-Rice [Thu, 25 Mar 2021 20:03:55 +0000 (21:03 +0100)]
gnu: libinstpatch: Update to 1.1.6.

* gnu/packages/audio.scm (libinstpatch): Update to 1.1.6.

3 years agognu: emacs: Update to 27.2.
Tobias Geerinckx-Rice [Thu, 25 Mar 2021 20:03:39 +0000 (21:03 +0100)]
gnu: emacs: Update to 27.2.

* gnu/packages/emacs.scm (emacs): Update to 27.2.

3 years agognu: cuirass: Update to 1.0.0-3.f5a2eea.
Mathieu Othacehe [Thu, 25 Mar 2021 17:34:01 +0000 (18:34 +0100)]
gnu: cuirass: Update to 1.0.0-3.f5a2eea.

* gnu/packages/ci.scm (cuirass): Update to 1.0.0-3.f5a2eea.

3 years agognu: Add go-gitlab.com-shackra-goimapnotify.
Benoit Joly [Tue, 9 Mar 2021 05:27:55 +0000 (00:27 -0500)]
gnu: Add go-gitlab.com-shackra-goimapnotify.

* gnu/packages/mail.scm (go-gitlab.com-shackra-goimapnotify): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
3 years agognu: synapse: Update to 1.29.0.
Rafa Gálvez [Fri, 12 Mar 2021 15:16:13 +0000 (16:16 +0100)]
gnu: synapse: Update to 1.29.0.

* gnu/packages/matrix.scm (synapse): Update to 1.29.0.

3 years agognu: gcc: Fix comment about gfortran.
Vincent Legoll [Fri, 12 Mar 2021 05:33:26 +0000 (06:33 +0100)]
gnu: gcc: Fix comment about gfortran.

Added by: cb4805e34c9997edca14743516b9a0fde6303d1c
Fixes: 0681f05486d901c92637c098bb7afddef35068b0

* gnu/packages/gcc.scm (gcc): Fix comment about gfortran.

Signed-off-by: Christopher Baines <mail@cbaines.net>
3 years agognu: openssl: Update to 1.1.1k [security fixes].
Léo Le Bouter [Thu, 25 Mar 2021 16:51:47 +0000 (17:51 +0100)]
gnu: openssl: Update to 1.1.1k [security fixes].

Fixes CVE-2021-3450 and CVE-2021-3449.

* gnu/packages/tls.scm (openssl/fixed): Update to 1.1.1k.

3 years agognu: xfce4-netload-plugin: Update to 1.4.0.
Michael Rohleder [Thu, 25 Mar 2021 00:52:49 +0000 (01:52 +0100)]
gnu: xfce4-netload-plugin: Update to 1.4.0.

* gnu/packages/xfce.scm (xfce4-netload-plugin): Update to 1.4.0.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
3 years agognu: exo: Update to 4.16.1.
Michael Rohleder [Thu, 25 Mar 2021 00:52:33 +0000 (01:52 +0100)]
gnu: exo: Update to 4.16.1.

* gnu/packages/xfce.scm (exo): Update to 4.16.1.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
3 years agognu: thunar: Update to 4.16.6.
Michael Rohleder [Thu, 25 Mar 2021 00:52:18 +0000 (01:52 +0100)]
gnu: thunar: Update to 4.16.6.

* gnu/packages/xfce.scm (thunar): Update to 4.16.6.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
3 years agognu: xfce4-systemload-plugin: Update to 1.3.1.
Michael Rohleder [Thu, 25 Mar 2021 00:51:49 +0000 (01:51 +0100)]
gnu: xfce4-systemload-plugin: Update to 1.3.1.

* gnu/packages/xfce.scm (xfce4-systemload-plugin): Update to 1.3.1.
[inputs]: Add libgtop.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
3 years agognu: xfce4-battery-plugin: Update to 1.1.4.
Michael Rohleder [Thu, 25 Mar 2021 00:51:20 +0000 (01:51 +0100)]
gnu: xfce4-battery-plugin: Update to 1.1.4.

* gnu/packages/xfce.scm (xfce4-battery-plugin): Update to 1.1.4.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
3 years agognu: Add quickproject.
Pierre Neidhardt [Thu, 25 Mar 2021 09:36:05 +0000 (10:36 +0100)]
gnu: Add quickproject.

* gnu/packages/lisp-xyz.scm (cl-quickproject, ecl-quickproject,
sbcl-quickproject): New variables.

3 years agognu: Add html-template.
Pierre Neidhardt [Thu, 25 Mar 2021 09:35:55 +0000 (10:35 +0100)]
gnu: Add html-template.

* gnu/packages/lisp-xyz.scm (cl-html-template, ecl-html-template,
sbcl-html-template): New variables.

3 years agoRevert "gnu: guix: Update to 86dd54f."
Léo Le Bouter [Thu, 25 Mar 2021 01:31:42 +0000 (02:31 +0100)]
Revert "gnu: guix: Update to 86dd54f."

A test failure (tests/print) was uncovered so revert until we fix it.

This reverts commit b0eb525ddba77420ff8c0930b9173b10f9ae342d.

3 years agognu: linux-libre 4.4: Update to 4.4.263.
Leo Famulari [Wed, 24 Mar 2021 18:52:31 +0000 (14:52 -0400)]
gnu: linux-libre 4.4: Update to 4.4.263.

* gnu/packages/linux.scm (linux-libre-4.4-version): Update to 4.4.263.
(linux-libre-4.4-pristine-source): Update hash.

3 years agognu: linux-libre 4.9: Update to 4.9.263.
Leo Famulari [Wed, 24 Mar 2021 18:52:14 +0000 (14:52 -0400)]
gnu: linux-libre 4.9: Update to 4.9.263.

* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.263.
(linux-libre-4.9-pristine-source): Update hash.

3 years agognu: linux-libre 4.14: Update to 4.14.227.
Leo Famulari [Wed, 24 Mar 2021 18:51:40 +0000 (14:51 -0400)]
gnu: linux-libre 4.14: Update to 4.14.227.

* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.227.
(linux-libre-4.14-pristine-source): Update hash.

3 years agognu: linux-libre 4.19: Update to 4.19.183.
Leo Famulari [Wed, 24 Mar 2021 18:51:20 +0000 (14:51 -0400)]
gnu: linux-libre 4.19: Update to 4.19.183.

* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.183.
(linux-libre-4.19-pristine-source): Update hash.

3 years agognu: linux-libre 5.4: Update to 5.4.108.
Leo Famulari [Wed, 24 Mar 2021 18:51:02 +0000 (14:51 -0400)]
gnu: linux-libre 5.4: Update to 5.4.108.

* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.108.
(linux-libre-5.4-pristine-source): Update hash.

3 years agognu: linux-libre: Update to 5.11.9.
Leo Famulari [Wed, 24 Mar 2021 18:50:29 +0000 (14:50 -0400)]
gnu: linux-libre: Update to 5.11.9.

* gnu/packages/linux.scm (linux-libre-5.11-version): Update to 5.11.9.
(linux-libre-5.11-pristine-source): Update hash.

3 years agognu: guix: Update to 86dd54f.
Léo Le Bouter [Wed, 24 Mar 2021 22:41:05 +0000 (23:41 +0100)]
gnu: guix: Update to 86dd54f.

* gnu/packages/package-management.scm (guix): Update to 86dd54f.

3 years agodoc: Fix typo in qemu-binfmt-service example.
Leo Famulari [Wed, 24 Mar 2021 22:35:05 +0000 (18:35 -0400)]
doc: Fix typo in qemu-binfmt-service example.

* doc/guix.texi (Virtualization Services): Add missing parentheses.

3 years agognu: Add gsequencer.
Vinicius Monego [Mon, 22 Mar 2021 01:45:53 +0000 (22:45 -0300)]
gnu: Add gsequencer.

* gnu/packages/music.scm (gsequencer): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
3 years agognu: Add drawing.
Vinicius Monego [Mon, 22 Mar 2021 02:30:49 +0000 (23:30 -0300)]
gnu: Add drawing.

* gnu/packages/gnome.scm (drawing): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
3 years agognu: emacs-git-gutter: Update to 0.91.
Stefan Reichör [Wed, 24 Mar 2021 18:34:44 +0000 (19:34 +0100)]
gnu: emacs-git-gutter: Update to 0.91.

* gnu/packages/emacs-xyz.scm (emacs-git-gutter): Update to 0.91.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
3 years agognu: Add emacs-vterm-toggle.
Stefan Reichör [Wed, 24 Mar 2021 20:51:51 +0000 (21:51 +0100)]
gnu: Add emacs-vterm-toggle.

* gnu/packages/emacs-xyz.scm (emacs-vterm-toggle): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
3 years agognu: r-textshape: Use HTTPS home page URI.
Nicolas Goaziou [Wed, 24 Mar 2021 20:09:19 +0000 (21:09 +0100)]
gnu: r-textshape: Use HTTPS home page URI.

* gnu/packages/cran.scm (r-textshape)[home-page]: Use HTTPS URI.

3 years agognu: ddrescue: Support cross compiling.
Efraim Flashner [Wed, 24 Mar 2021 19:06:44 +0000 (21:06 +0200)]
gnu: ddrescue: Support cross compiling.

* gnu/packages/disk.scm (ddrescue)[arguments]: Add configure-flag to
fix cross compiling.

3 years agognu: guile-mastodon-dev: Remove it.
Mathieu Othacehe [Wed, 24 Mar 2021 18:26:00 +0000 (19:26 +0100)]
gnu: guile-mastodon-dev: Remove it.

* gnu/packages/ci.scm (guile-mastodon-dev): Remove it.
(cuirass): Update it.

3 years agognu: guile-mastodon: Update to 0.0.1-1.74b75bc.
Mathieu Othacehe [Wed, 24 Mar 2021 18:22:43 +0000 (19:22 +0100)]
gnu: guile-mastodon: Update to 0.0.1-1.74b75bc.

* gnu/packages/guile-xyz.scm (guile-mastodon): Update to 0.0.1-1.74b75bc.
[source]: Remove Guile-3.0 snippet since this new release brings Guile-3.0
support.

3 years agognu: Add python-pylibacl.
Lars-Dominik Braun [Wed, 24 Mar 2021 13:14:10 +0000 (14:14 +0100)]
gnu: Add python-pylibacl.

* gnu/packages/acl.scm (python-pylibacl): New variable.

3 years agognu: ccache: Update to 4.2.
Greg Hogan [Mon, 22 Mar 2021 19:52:23 +0000 (19:52 +0000)]
gnu: ccache: Update to 4.2.

* gnu/packages/ccache.scm (ccache): Update to 4.2.
[build-system]: Switch to cmake-build-system.
[inputs]: Add zstd:lib.
[arguments]: Move substitution before change of directory and add phase
to set HOME variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
3 years agognu: gqrx: Add missing input.
Guillaume Le Vaillant [Wed, 24 Mar 2021 11:00:46 +0000 (12:00 +0100)]
gnu: gqrx: Add missing input.

* gnu/packages/radio.scm (gqrx)[inputs]: Add libsndfile.

3 years agognu: gnuradio-osmosdr: Update to 0.2.3-0.a100eb0.
Guillaume Le Vaillant [Wed, 24 Mar 2021 09:27:24 +0000 (10:27 +0100)]
gnu: gnuradio-osmosdr: Update to 0.2.3-0.a100eb0.

* gnu/packages/radio.scm (gnuradio-osmosdr): Update to 0.2.3-0.a100eb0.
  [native-inputs]: Replace swig by pybind11.
  [inputs]: Add libsndfile.

3 years agognu: gnuradio-iqbalance: Update to 0.38.2-0.fbee239.
Guillaume Le Vaillant [Wed, 24 Mar 2021 09:18:22 +0000 (10:18 +0100)]
gnu: gnuradio-iqbalance: Update to 0.38.2-0.fbee239.

* gnu/packages/radio.scm (gnuradio-iqbalance): Update to 0.38.2-0.fbee239.
  [native-inputs]: Replace swig by pybind11.

3 years agognu: gnuradio: Add missing inputs.
Guillaume Le Vaillant [Wed, 24 Mar 2021 10:51:21 +0000 (11:51 +0100)]
gnu: gnuradio: Add missing inputs.

* gnu/packages/radio.scm (gnuradio)[native-inputs]: Add js-mathjax.
  [inputs]: Add libsndfile.
  [arguments]: Add 'configure-flags' to find mathjax.

3 years agognu: gnuradio: Update to 3.9.0.0.
João Pedro Simas [Fri, 12 Mar 2021 22:42:02 +0000 (19:42 -0300)]
gnu: gnuradio: Update to 3.9.0.0.

* gnu/packages/radio.scm (gnuradio): Update to 3.9.0.0.
  [source]: Remove snippet deleting the included copy of volk,
  as it is not included anymore.
  [native-inputs]: Replace swig with pybind11.
  [inputs]: Add sdl (for dtv).
  [arguments]: Remove 'configure-flags". Disable broken tests.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
3 years agognu: sed: Make it build on SELinux-enabled kernels.
Chris Marusich [Wed, 10 Jun 2020 06:35:56 +0000 (23:35 -0700)]
gnu: sed: Make it build on SELinux-enabled kernels.

Fixes: <https://bugs.gnu.org/41498>.

* gnu/packages/base.scm (sed)[arguments]: New field.  This adds a
snippet, equivalent to the patch submitted upstream, which fixes an
issue that prevents sed from building on SELinux-enabled kernels.

Adjusted by Efraim Flashner to apply to master.

3 years agoutils: Fix target-64bit? on powerpc64le-linux.
Chris Marusich [Mon, 22 Feb 2021 03:48:26 +0000 (19:48 -0800)]
utils: Fix target-64bit? on powerpc64le-linux.

* guix/utils.scm (target-64bit?): Change the string from "ppc64" to
"powerpc64", which matches Guix system names like "powerpc64le-linux".

3 years agoci: %cross-targets: Add powerpc64le-linux-gnu.
Chris Marusich [Mon, 22 Feb 2021 03:46:50 +0000 (19:46 -0800)]
ci: %cross-targets: Add powerpc64le-linux-gnu.

* gnu/ci.scm (%cross-targets): Add an entry for powerpc64le-linux-gnu.

3 years agosyscalls: Fix RNDADDTOENTCNT on powerpc64le-linux.
Chris Marusich [Mon, 22 Feb 2021 00:05:58 +0000 (16:05 -0800)]
syscalls: Fix RNDADDTOENTCNT on powerpc64le-linux.

This fixes the failing test add-to-entropy-count in tests/syscalls.scm on
powerpc64le-linux.

* guix/build/syscalls.scm (RNDADDTOENTCNT): When %host-type starts with
"powerpc64le", set this to #x80045201.  Otherwise, set it to #x40045201 as
before.

3 years agosyscalls: Fix clone on powerpc64le-linux.
Chris Marusich [Sun, 21 Feb 2021 20:17:29 +0000 (12:17 -0800)]
syscalls: Fix clone on powerpc64le-linux.

This makes the clone procedure work correctly and fixes some test failures on
powerpc64le-linux, including tests/containers.scm.

* guix/build/syscalls.scm (clone): Add an entry for ppc64le.

3 years agoAdd powerpc64le-linux as a supported Guix architecture.
Chris Marusich [Sun, 21 Feb 2021 01:29:58 +0000 (17:29 -0800)]
Add powerpc64le-linux as a supported Guix architecture.

This makes powerpc64le-linux a supported architecture for Guix, but not for
Guix System.

* Makefile.am (SUPPORTED_SYSTEMS): Add an entry for powerpc64le-linux.
* etc/guix-install.sh (chk_sys_arch): Same.
* guix/packages.scm (%supported-systems): Same.
* m4/guix.m4 (GUIX_ASSERT_SUPPORTED_SYSTEM): Same.
* tests/guix-build.sh (all_systems): Same.

3 years agognu: libelf: Fix compilation for powerpc64le-linux.
Leo Le Bouter [Tue, 9 Feb 2021 05:10:02 +0000 (06:10 +0100)]
gnu: libelf: Fix compilation for powerpc64le-linux.

* gnu/packages/elf.scm (libelf)[arguments]: Modify replacement 'configure phase
to invoke "./configure" with "--host=powerpc64le-unknown-linux-gnu" on
powerpc64le-linux.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
3 years agognu: texlive-latex-base: Fix compilation on powerpc64le*.
Leo Le Bouter [Mon, 8 Feb 2021 03:47:03 +0000 (04:47 +0100)]
gnu: texlive-latex-base: Fix compilation on powerpc64le*.

* gnu/packages/tex.scm (texlive-latex-base)[arguments]: LuaJIT is not ported to
powerpc64le* yet. Update replacement 'build phase to add "luajittex" within the
"disabled-formats" list on powerpc64le*.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
3 years agognu: texlive-bin: Fix compilation on powerpc64le*.
Leo Le Bouter [Mon, 8 Feb 2021 02:13:53 +0000 (03:13 +0100)]
gnu: texlive-bin: Fix compilation on powerpc64le*.

* gnu/packages/tex.scm (texlive-bin)[arguments]: Append "--disable-luajittex"
and "--disable-mfluajit" to keyword argument "#:configure-flags" on
powerpc64le* because LuaJIT is not ported to powerpc64le* yet. Also set
"#:tests?" to "#f" on powerpc64le*.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
3 years agognu: guile-avahi: Fix compilation on powerpc64le-linux.
Leo Le Bouter [Mon, 8 Feb 2021 00:30:43 +0000 (01:30 +0100)]
gnu: guile-avahi: Fix compilation on powerpc64le-linux.

* gnu/packages/guile-xyz.scm (guile-avahi)[arguments]: Parallel builds fail on
powerpc64le-linux. Set "#:parallel-build?" to "#f".

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
3 years agognu: bdb-4.8: Fix configure on powerpc64le-linux.
Leo Le Bouter [Sun, 7 Feb 2021 16:47:32 +0000 (17:47 +0100)]
gnu: bdb-4.8: Fix configure on powerpc64le-linux.

* gnu/packages/dbm.scm (bdb-4.8)[arguments]: Modify 'configure phase to append
"--build=powerpc64le-unknown-linux-gnu" to configure's flags when compiling for
powerpc64le-linux.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
3 years agognu: binutils-final: Support more Power architectures.
Chris Marusich [Tue, 2 Feb 2021 08:13:48 +0000 (00:13 -0800)]
gnu: binutils-final: Support more Power architectures.

* gnu/packages/commencement.scm (binutils-final)[arguments]: When checking if
the system is a Power architecture, instead of hard-coding "powerpc-linux",
use the target-powerpc? procedure so it works on more Power architectures.
[inputs]: Likewise.

3 years agognu: binutils-final: Provide bash for binary on powerpc-linux.
Efraim Flashner [Sun, 19 Apr 2020 15:55:57 +0000 (18:55 +0300)]
gnu: binutils-final: Provide bash for binary on powerpc-linux.

* gnu/packages/commencement.scm (binutils-final)[arguments]: On
powerpc-linux allow a reference to static-bash-for-glibc.
[inputs]: On powerpc-linux add static-bash-for-glibc.

3 years agognu: gcc-boot0: Enable 128-bit long double for POWER9.
Chris Marusich [Mon, 1 Feb 2021 02:45:24 +0000 (18:45 -0800)]
gnu: gcc-boot0: Enable 128-bit long double for POWER9.

* gnu/packages/commencement.scm (gcc-boot0) [#:configure-flags]: Add
--with-long-double-128 when the boot triplet is "powerpc64le-guix-linux-gnu",
instead of "powerpc64le-linux-gnu", which is incorrect.  The actual triplet
used during bootstrapping is "powerpc64le-guix-linux-gnu".

3 years agognu: glibc: Fix ldd path on powerpc*.
Leo Le Bouter [Sat, 6 Feb 2021 19:02:31 +0000 (20:02 +0100)]
gnu: glibc: Fix ldd path on powerpc*.

This should avoid some problems, such as "not a dynamic executable" errors.

* gnu/packages/patches/glibc-ldd-powerpc.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/base.scm: (glibc)[native-inputs]: Add it.
[arguments]: When building for powerpc* apply it.
* gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash,
glibc-final)[native-inputs]: Add patch conditionally.

This patch has been adjusted to apply to master.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
3 years agognu: gcc-4.7: On powerpc64le, fix /lib64 references.
Chris Marusich [Sun, 7 Feb 2021 00:29:40 +0000 (16:29 -0800)]
gnu: gcc-4.7: On powerpc64le, fix /lib64 references.

Fixes: <https://bugs.gnu.org/46253>.

* gnu/packages/gcc.scm (gcc-4.7)[#:phases][pre-configure]: When the
gcc/config/rs6000 directory exists, replace "/lib64" with "/lib" in all files
within it.  Note that this fix will be picked up by any package that re-uses
the pre-configure phase from gcc-4.7 (e.g., all the usual gcc packages).
(make-libstdc++)[#:phases][fix-rs6000-libdir]: New phase, which does the same
as above.  It was necessary to duplicate the fix here because make-libstdc++
does not re-use the pre-configure phase from gcc-4.7.

3 years agoutils: Add target-powerpc? procedure.
Chris Marusich [Tue, 2 Feb 2021 08:00:57 +0000 (00:00 -0800)]
utils: Add target-powerpc? procedure.

* guix/utils.scm (target-powerpc?): New exported procedure.

3 years agognu: bootstrap: Add support for powerpc64le-linux.
Chris Marusich [Mon, 11 Jan 2021 00:58:57 +0000 (16:58 -0800)]
gnu: bootstrap: Add support for powerpc64le-linux.

The bootstrap tarballs used by these bootstrap packages were created via the
following steps:

- Create a new x86_64 VM using QEMU.
- Use
  https://ftp.gnu.org/gnu/guix/guix-system-install-1.2.0.x86_64-linux.iso.xz
  to install Guix System 1.2.0 in the VM.
- Run: guix pull --no-substitutes --commit=662e7e28d576ada91fc9dec7d27c100666114f03
- Run: guix build --no-substitutes --target=powerpc64le-linux-gnu bootstrap-tarballs

With the exception of gcc-static, all bootstrap binaries contained in these
tarballs can be built reproducibly.  Unfortunately, gcc-static is not always
reproducible when everything is built from source on separate machines.
Despite investigation efforts, the cause remains unclear, so we have decided
to move forward with these binaries to unblock further bootstrapping work.
For details, see <https://bugs.gnu.org/41669>.

* gnu/packages/bootstrap.scm (%bootstrap-executables)
(bootstrap-executable-file-name, bootstrap-guile-url-path)
(bootstrap-guile-hash, %bootstrap-coreutils&co, %bootstrap-binutils)
(%bootstrap-glibc, %bootstrap-gcc): Add entries for powerpc64le-linux.
(%bootstrap-executable-base-urls): Add an entry for alpha.gnu.org.

3 years agognu: Add cbonsai.
Leo Famulari [Wed, 24 Mar 2021 05:54:52 +0000 (01:54 -0400)]
gnu: Add cbonsai.

* gnu/packages/toys.scm (cbonsai): New variable.

3 years agognu: bcunit: Update to 3.0.2-0.74021cc and enable more features.
Raghav Gururajan [Sat, 13 Mar 2021 17:04:37 +0000 (12:04 -0500)]
gnu: bcunit: Update to 3.0.2-0.74021cc and enable more features.

* gnu/packages/linphone.scm (bcunit)[source]: Switch to git repository.
[version]: Update to 3.0.2-0.74021cc.
[outputs]: Add a "doc" output.
[arguments]: Remove the tests? argument, enabling tests.
[configure-flags]: Enable curses, doc, examples, tests and memtrace.
[phases]{patch-source, move-doc}: New phases.
{check}: Override phase.
[inputs]: Add ncurses.
[description]: Fix typo.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
3 years agognu: Add libdecaf.
Raghav Gururajan [Sat, 13 Mar 2021 22:08:57 +0000 (17:08 -0500)]
gnu: Add libdecaf.

* gnu/packages/crypto.scm (libdecaf): New variable.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
3 years agognu: python2-widgetsnbextension: Remove package.
zimoun [Mon, 15 Mar 2021 15:56:15 +0000 (16:56 +0100)]
gnu: python2-widgetsnbextension: Remove package.

* gnu/packages/python-xyz.scm (python2-widgetsnbextension): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
3 years agognu: python2-utils: Remove package.
zimoun [Mon, 15 Mar 2021 15:56:14 +0000 (16:56 +0100)]
gnu: python2-utils: Remove package.

* gnu/packages/python-xyz.scm (python2-utils): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
3 years agognu: python2-tables: Remove package.
zimoun [Mon, 15 Mar 2021 15:56:13 +0000 (16:56 +0100)]
gnu: python2-tables: Remove package.

* gnu/packages/python-xyz.scm (python2-tables): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
3 years agognu: python2-stem: Remove package.
zimoun [Mon, 15 Mar 2021 15:56:12 +0000 (16:56 +0100)]
gnu: python2-stem: Remove package.

* gnu/packages/python-xyz.scm (python2-stem): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
3 years agognu: python2-sh: Remove package.
zimoun [Mon, 15 Mar 2021 15:56:11 +0000 (16:56 +0100)]
gnu: python2-sh: Remove package.

* gnu/packages/python-xyz.scm (python2-sh): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
3 years agognu: python2-mpd2: Remove package.
zimoun [Mon, 15 Mar 2021 15:55:41 +0000 (16:55 +0100)]
gnu: python2-mpd2: Remove package.

* gnu/packages/mpd.scm (python2-mpd2): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
3 years agognu: python2-rq: Remove package.
zimoun [Mon, 15 Mar 2021 15:55:44 +0000 (16:55 +0100)]
gnu: python2-rq: Remove package.

* gnu/packages/databases.scm (python2-rq): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
3 years agognu: python2-nbxmpp: Remove package.
zimoun [Mon, 15 Mar 2021 15:55:43 +0000 (16:55 +0100)]
gnu: python2-nbxmpp: Remove package.

* gnu/packages/messaging.scm (python2-nbxmpp): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
3 years agognu: python2-mutagen: Remove package.
zimoun [Mon, 15 Mar 2021 15:55:42 +0000 (16:55 +0100)]
gnu: python2-mutagen: Remove package.

* gnu/packages/music.scm (python2-mutagen): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
3 years agognu: python2-ipywidgets: Remove package.
zimoun [Mon, 15 Mar 2021 15:55:40 +0000 (16:55 +0100)]
gnu: python2-ipywidgets: Remove package.

* gnu/packages/python-xyz.scm (python2-ipywidgets): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
3 years agognu: python2-graphql-core: Remove package.
zimoun [Mon, 15 Mar 2021 15:55:39 +0000 (16:55 +0100)]
gnu: python2-graphql-core: Remove package.

* gnu/packages/python-xyz.scm (python2-graphql-core): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
3 years agognu: python2-furl: Remove package.
zimoun [Mon, 15 Mar 2021 15:55:38 +0000 (16:55 +0100)]
gnu: python2-furl: Remove package.

* gnu/packages/python-web.scm (python2-furl): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
3 years agognu: python2-flask: Remove package.
zimoun [Mon, 15 Mar 2021 15:55:37 +0000 (16:55 +0100)]
gnu: python2-flask: Remove package.

* gnu/packages/python-web.scm (python2-flask): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>