This fixes CVE-2022-38472, CVE-2022-38473, CVE-2022-38474,
CVE-2022-38475, CVE-2022-38477 and CVE-2022-38478.
* nongnu/packages/mozilla.scm (firefox): Update to 104.0.
[arguments]: Replace node with node-lts as now >= 12.2 is required.
This fixes CVE-2022-38472, CVE-2022-38473, CVE-2022-38476,
CVE-2022-38477 and CVE-2022-38478.
* nongnu/packages/mozilla.scm (firefox-esr): Update to 102.2.0esr.
* nongnu/packages/mozilla.scm (firefox-esr): New variable, previously package
definition of firefox.
[phases]: New phase set-build-id moved from configure. In configure set
MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE which replaced MACH_USE_SYSTEM_PYTHON.
Set GUIX_PYTHON_PATH.
[inputs]: Use icu4c-71.
[native-inputs]: Use rust-cbindgen-0.23.
[description]: Mention that it's now the ESR branch.
(%firefox-esr-build-id): New variable.
(firefox-esr/wayland): New variable. Adjusted packaged definition of
firefox/wayland.
(firefox): Inherit from firefox-esr.
Co-authored-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
Firefox 101 requires rust >= 1.59 which is currently not in upstream
Guix. So lets bootstrap one.
* nongnu/packages/mozilla.scm (rust-uri, rust-bootstrapped-package): New
procedures from guix/gnu/packages/rust.scm.
(rust-firefox-1.58, rust-firefox-1.59, rust-firefox): New variables.
(firefox)[native-inputs]: Replace rust with rust-firefox.
* nongnu/packages/mozilla.scm (firefox)[arguments]: Rewrite
'wrap-program phase to work with gexp. Call udev as eudev which is its
real package name.
[inputs]: Convert to new style.
[native-inputs]: Dito.
* nongnu/packages/mozilla.scm (firefox)[arguments]: Use Gexp to remove uses of
%BUILD-INPUTS and output references. Also remove trailing #t.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
Visual fix for GNOME < 40.
* nongnu/packages/mozilla.scm (firefox)[arguments]: Set StartupWMClass
in 'install-desktop-entry phase.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
This fixes CVE-2022-22753, CVE-2022-22754, CVE-2022-22755,
CVE-2022-22756, CVE-2022-22757, CVE-2022-22758, CVE-2022-22759,
CVE-2022-22760, CVE-2022-22761, CVE-2022-22762, CVE-2022-22764 and
CVE-2022-0511.
* nongnu/packages/mozilla.scm (firefox): Update to 97.0.
[native-inputs]: Add now required alsa-lib. Use clang-12 and llvm-12 as
older versions fail to build firefox.
* nongnu/packages/mozilla.scm (firefox)[arguments]: Pass --with-wasi-sysroot
to configure. Set WASM_CC and WASM_CXX to wasm32-wasi-clang-toolchain.
[native-inputs]: Add wasm32-wasi-clang-toolchain.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
Fixes CVE-2021-43536, CVE-2021-43537, CVE-2021-43538, CVE-2021-43539,
CVE-2021-43540, CVE-2021-43541, CVE-2021-43542, CVE-2021-43543,
CVE-2021-43544, CVE-2021-43545, CVE-2021-43546 and MOZ-2021-0009.
* nongnu/packages/mozilla.scm (firefox): Update to 95.0.
[arguments]: Disable WASM sandbox for now as it requires further
packaging.
Fixes https://gitlab.com/nonguix/nonguix/-/issues/116.
* nongnu/packages/mozilla.scm (firefox)[arguments]: Remove
fix-swgl-build.rs phase as the workaround is not necessary anymore.
[native-inputs]: Replace clang with clang-10. Dito for llvm.
* nongnu/packages/mozilla.scm (firefox): Update to 89.0.
[arguments]: Add fix-swgl-build.rs as work around for issue#116.
[native-inputs]: Use rust-cbindgen-0.19.
Co-authored-by: Pierre Langlois <pierre.langlois@gmx.com>
* nongnu/packages/mozilla.scm (firefox) [arguments]: use the default value of
`--enable-default-toolkit='. The Wayland backend of Firefox is no longer
considered experimental and support for it is included in the official binaries.
* nongnu/packages/mozilla.scm (firefox-wayland): Re-write the package
definition, based upon `ungoogled-chromium-wayland' to avoid re-compiling
Firefox in cases when there is a substitute for `firefox'.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>