* gnu/build/chromium-extension.scm (make-crx): Pass #:keep-mtime? #t to
COPY-RECURSIVELY. Remove defunct FAKETIME workaround. While at it, pack the
extension in the scratch working directory instead of the transient
store-mapped /tmp.
* gnu/build/chromium-extension.scm (make-crx): Delay with-imported-modules
until the builder code.
(crx->chromium-json): Remove needless define* while at it.
* gnu/build/chromium-extension.scm (chromium-json->profile-object): Remove
variable.
(file-sha256): New variable.
(make-chromium-extension): Rename OUTPUT parameter to prevent conflict.
Adjust other variable names for clarity.
[inputs]: Clear.
[arguments]: Inline and simplify the final transformation with a gexp.
* gnu/packages/php.scm (php)[source]: Add patch.
* gnu/packages/patches/php-openssl_x509_checkpurpose_basic.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
Thanks to Diego Nicola Barbato <dnbarbato@posteo.de>
Loading the framebuffer-coreboot module simply fails with EINVAL on a
non-Corebooted system. Crashing the system with a kernel panic is not
a reasonable reaction to loading valid modules on unsupported hardware.
The kernel should log an error, which the user is expected to see.
Bogus module names will still be fatally reported by linux-modules.drv.
* gnu/build/linux-modules.scm (load-linux-module*):
Ignore EINVAL errors when operating recursively.
Without this, the kernel cannot write to the display until the
full-featured driver module (often i915) is loaded from the root file
system.
If the root file system is encrypted, the initrd's passphrase prompt
won't make it to the screen, and the fully responsive system will appear
frozen whilst waiting for user input.
* gnu/packages/aux-files/linux-libre/4.4-i686.conf,
gnu/packages/aux-files/linux-libre/4.4-x86_64.conf,
gnu/packages/aux-files/linux-libre/4.14-i686.conf,
gnu/packages/aux-files/linux-libre/4.14-x86_64.conf,
gnu/packages/aux-files/linux-libre/4.19-i686.conf,
gnu/packages/aux-files/linux-libre/4.19-x86_64.conf,
gnu/packages/aux-files/linux-libre/5.4-i686.conf,
gnu/packages/aux-files/linux-libre/5.4-x86_64.conf,
gnu/packages/aux-files/linux-libre/5.10-i686.conf,
gnu/packages/aux-files/linux-libre/5.10-x86_64.conf,
gnu/packages/aux-files/linux-libre/5.15-i686.conf,
gnu/packages/aux-files/linux-libre/5.15-x86_64.conf:
Mark simple framebuffers as generic system ones and enable ‘Google’
firmware drivers to enable Coreboot table support and its dependent
framebuffer driver module.
* gnu/system/linux-initrd.scm (default-initrd-modules):
Add the framebuffer_coreboot and simplefb modules on x86 systems.
The package was never compatible with Python 3. Not adding a deprecated
package variant, because going from Python 3 to Python 2 is a breaking
change and it’s unlikely anyone ever used the package anyway (it was
likely broken).
* gnu/packages/python-science.scm (python-pyflow): Move…
(python2-pyflow): …here.
[arguments]: Use Python 2.
It seems a function inside python-flask moved to a different module.
* gnu/packages/python-web.scm (python-flask-restful)[arguments]: Add
phase rewriting imports from flask.helpers to flask.scaffold.
Judging by the documentation
(https://jupyter.readthedocs.io/en/latest/use/jupyter-directories.html)
_DIR can only be a single value, whereas _PATH supports :-delimited
values and extends _DIR with extra directories.
* gnu/packages/python-xyz.scm (python-jupyter-core)[native-search-paths]:
Replace _DIR with _PATH.
(python-nbconvert)[arguments]: Unset JUPYTER_CONFIG_PATH during tests.
(python-notebook)[arguments]: Dito.
This is the only hammer I know for dealing with module cycles and
effectively fixes, for example, ‘guix show nss’ today.
It's also a very poor solution.
* gnu/packages/certs.scm (nss-certs)[version, source]: Copy verbatim
from the nss package rather than referring to it at the top level.
Reported by several users of #guix.
This fixes a crash when launching xdot.
* gnu/packages/graphviz.scm (xdot)[inputs]: Add harfbuzz.
[arguments]: Add harfbuzz to the GI_TYPELIB_PATH wrapper in the 'wrap' phase.
Signed-off-by: Leo Famulari <leo@famulari.name>
The rationale for patching the Exec line is similar to what is done for
gnome-weather.
* gnu/packages/gnome.scm (polari)[#:phases]: Add ‘fix-desktop-file’ phase.
* gnu/packages/gnome.scm (polari): Update to 40.1.
[source]: Use ‘version-major’ for directory.
[arguments]: Use meson-0.59.
[inputs]: Use gtk and libsoup-minimal-2.
* gnu/packages/patches/gdm-default-session.patch: Make GDM look in
the system profile for the "wayland-sessions" directory.
Reported-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* gnu/packages/emacs-xyz.scm (emacs-punpun-theme): Update to 7026684.
[url]: Use updated URL.
[home-page]: Use updated URL.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
* gnu/packages/emacs-xyz (emacs-haskell-mode):
[arguments]: Use emacs-minimal as key for %build-inputs.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu/packages/machine-learning.scm (tensorflow)[arguments]: Rename
'python3.7-compatibility to 'python3.9-compatibility and patch file to allow
building with newer numpy.
------
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>
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>
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.
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.