Commit graph

5 commits

Author SHA1 Message Date
Maxim Cournoyer
d829ab32c4
build/chromium-binary: Use 'add-input-labels' for host-inputs labels.
* nonguix/build-system/chromium-binary.scm (add-input-labels): New procedure.
(lower) <host-inputs>: Remove labels.  Adjust accordingly.
* nonguix/build/chromium-binary-build-system.scm
(install-wrapper): Adjust for label change of fontconfig-minimal.

Signed-off-by: Hilton Chain <hako@ultrarare.space>
2025-06-11 22:15:42 +08:00
Maxim Cournoyer
d154ff0219
build/chromium-binary: Fix indentation.
* nonguix/build/chromium-binary-build-system.scm: Fix indentation.

Signed-off-by: Hilton Chain <hako@ultrarare.space>
2025-06-11 22:15:34 +08:00
Karl Hallsby
6ee78bb755
nonguix: chromium-binary-build-system: Hint Electron Ozone Platform.
This should allow Electron apps to detect whether they are running on Wayland
or X11.  If they are on Wayland, then they should default to using Wayland
libraries.  This should help with HiDPI monitors, fractional scaling, and all
the other issues that Wayland solved over X11.

This environment variable is only supported by Electron versions >=28.  All
earlier versions relied on command-line arguments instead.

* nonguix/build/chromium-binary-build-system (install-wrapper): Add
ELECTRON_OZONE_PLATFORM_HINT environment variable and set to "auto".

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2025-01-04 19:40:33 -05:00
Giacomo Leidi
62daa38457
nonguix: chromium-binary: Use search-path-as-list from (guix build utils).
We rely on the upstream implementation to avoid duplicating effort.

* nonguix/build/chromium-binary-build-system (install-wrapper): Use
search-path-as-list;
* nonguix/build/utils.scm (build-paths-for-input): remove variable;
(build-paths-from-inputs): remove variable.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2024-03-30 19:50:51 +01:00
Giacomo Leidi
f2970727de
nonguix: Add chromium-binary-build-system.
This build system is an extension to the binary-build-system, designed
to abstract some common boilerplate necessary for packaging Chromium
based software.

* nonguix/build-system/chromium-binary.scm: New file;
* nonguix/build/chromium-binary-build-system.scm: new file;
* nonguix/build/utils.scm (build-paths-for-input): new variable;
(build-paths-from-inputs): New variable.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2023-07-12 23:18:05 +02:00