* gnu/packages/webkit.scm (%webkit-version): New variable.
(wpewebkit): Update to 2.36.0, rewriting package to inherit from webkitgtk.
(webkitgtk)[source]: Use %webkit-version, and adjust definition to match that
of wpewebkit.
This revisits <https://issues.guix.gnu.org/40837> with a fix that doesn't
require to have PULSE_CLIENTCONFIG point to an absolute store location, which
will allow us to revert to have PULSE_CLIENTCONFIG point to a fixed location
under /etc. This would alleviate the need to reboot to have changes to the
PulseAudio configuration effected.
* gnu/packages/patches/webkitgtk-share-store.patch: Delete file.
* gnu/packages/patches/webkitgtk-bubblewrap-paths.patch: Add file.
* gnu/packages/patches/webkitgtk-canonicalize-paths.patch: Likewise.
* gnu/local.mk (dist_patch_DATA): Update patches list.
* gnu/packages/webkit.scm (webkitgtk)[patches]: Adjust accordingly.
This update fixes all the security issues fixed upstream between
versions 2.30.5 and 2.34.3:
https://webkitgtk.org/news.html
* gnu/packages/webkit.scm (wpewebkit): Update to 2.34.3.
[#:phases]: Add ‘patch-cmake’ phase to fix an error in the install directories
of the documentation.
[inputs]: Add lcms.
This is in response to <https://issues.guix.gnu.org/52375>.
* gnu/packages/webkit.scm (webkitgtk): Add a note about GStreamer plugins.
Reported-by: Jack Hill <jackhill@jackhill.us>
This is a followup to d82fd7c2dd.
* gnu/packages/webkit.scm (webkitgtk)[phases]{disable-sse2}: Adjust.
Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu/packages/emacs.scm (emacs-xwidgets, emacs-next-pgtk)[inputs]:
Replace webkitgtk with webkitgtk-with-libsoup2.
* gnu/packages/webkit.scm (webkitgtk-with-libsoup2): Add further
information about where this package is used and upstream tracker for
libsoup3.
Clang is not needed when building with libsoup 3.
* gnu/packages/webkit.scm (webkitgtk): Delete trailing #t.
[configure-flags]: Remove -DUSE_SOUP2.
[phases]{prepare-build-environment}: Remove phase.
[native-inputs]: Remove clang.
Fixes <https://bugs.gnu.org/51591>.
* gnu/packages/webkit.scm (webkitgtk)[arguments]: Use quasiquote for the
argument list. When building on i686-linux, insert a 'substitute*' form in
the 'prepare-build-environment' phase that disables the use of
'__builtin_mul_overflow'.
WebkitGTK still compiles fine on x86_64 using GCC 11. This is the only
architecture known to compile currently, as i686 fails with Clang and others
fail due to unsatisfied dependencies.
* gnu/packages/webkit.scm (webkitgtk)[#:phases]: Drop
‘prepare-build-environment’.
[native-inputs]: Drop clang, add gcc.
This is a followup to commit 8797a07ac0.
* gnu/packages/webkit.scm (webkitgtk)[arguments]: Add "-DUSE_SOUP2=ON"
to the configure flags. Add the 'prepare-build-environment' phase,
which arranges to use clang for compilation.
[native-inputs]: Add clang-11.
[inputs]: Add lcms.
Fixes <https://issues.guix.gnu.org/41174> and <https://issues.guix.gnu.org/42618>.
The webkitgtk library relied on by Epiphany and others uses bubblewrap to
sandbox its process. This sandbox was only exposing fonts relative to
XDG_DATA_HOME. Extend it so that it honors font locations specified via
XDG_DATA_DIRS as well, which is what Guix uses.
* gnu/packages/patches/webkitgtk-bind-all-fonts.patch: Add patch.
* gnu/local.mk: Register it.
* gnu/packages/webkit.scm (webkitgtk)[source]<patches>: Use it.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Includes fixes for CVE-2020-9802, CVE-2020-9803, CVE-2020-9805,
CVE-2020-9806, CVE-2020-9807, CVE-2020-9843, CVE-2020-9850,
and CVE-2020-13753.
* gnu/packages/webkit.scm (webkitgtk): Update to 2.28.3.
Fixes <https://bugs.gnu.org/40837>.
* gnu/packages/patches/webkitgtk-share-store.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/webkit.scm (webkitgtk)[source](patches): Use it.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>