summaryrefslogtreecommitdiff
path: root/nonguix/build
AgeCommit message (Collapse)Author
2025-06-11build/chromium-binary: Use 'add-input-labels' for host-inputs labels.Maxim Cournoyer
* 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-11build/chromium-binary: Fix indentation.Maxim Cournoyer
* nonguix/build/chromium-binary-build-system.scm: Fix indentation. Signed-off-by: Hilton Chain <hako@ultrarare.space>
2025-01-04nonguix: chromium-binary-build-system: Hint Electron Ozone Platform.Karl Hallsby
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>
2024-11-10nonguix: binary-build-system: Print the patchelf version.Attila Lendvai
* nonguix/build/binary-build-system.scm (patchelf): Output patchelf version. Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-10-02nonguix: binary: Improve .deb unpacking.Ashish SHUKLA
.deb could contain data.tar compressed in any format, not just .xz as it assumes now. * nonguix/build/binary-build-system (unpack-deb): find a data.tar archive to extract. Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2024-03-30nonguix: chromium-binary: Use search-path-as-list from (guix build utils).Giacomo Leidi
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-01-04nonguix: binary: Cleanup when an unknown binary extension is detected.Giacomo Leidi
The binary-unpack phase suffered from a problem for unknown binary file extensions, see: !336 (comment 1709385147) . This patch fixes the incorrect behavior by effectively restoring the state of the directory tree before the phase. * nonguix/build/binary-build-system.scm (binary-unpack): Restore the environment as it was before this phase. * nongnu/packages/clojure.scm (clj-kondo)[arguments]: No longer delete 'binary-unpack phase. * nongnu/packages/game-development.scm (libsteam)[arguments]: dito. Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2023-12-28nonguix: binary: Automatically detect and unpack .deb files.Giacomo Leidi
A new binary-unpack phase is added to the binary-build-system. When a supported binary file is detected as the only file after the unpack phase it is then decompressed in a specific directory. * nonguix/build/binary-build-system.scm (deb-file?): new variable; (unpack-deb): new variable; (binary-unpack): new variable; (%standard-phases): use the new phase. Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2023-07-12nonguix: Add chromium-binary-build-system.Giacomo Leidi
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>
2022-12-19*.scm: Use SPDX license identifiers.Jonathan Brielmaier
Fixes https://gitlab.com/nonguix/nonguix/-/issues/224 * *.scm: Use SPDX license identifier and remove obsolete license statement.
2022-06-18nonguix: binary-build-system: Fix use of undefined variable.Guillaume Le Vaillant
Follow up to a0079cf1bd8ef707ab9e15a0e249cbd34f157ae4. * nonguix/build/binary-build-system.scm (patchelf)[make-rpath]: Use 'name' instead of undefined 'input-or-output'. Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-05-05nonguix: binary-build-system: Add copyright header for Attila.Jonathan Brielmaier
Follow up to a0079cf1bd8ef707ab9e15a0e249cbd34f157ae4.
2022-05-05nonguix: Extend patchelf-plan syntax with optional path.Attila Lendvai
Makes it possible to define entries like the following in the patchelf-plan: ("the-binary" ("glibc" ("nss" "/lib/nss"))) * nonguix/build/binary-build-system.scm (maybe-make-rpath, make-rpath): New functions and use them. Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2020-07-02nonguix: Allow disabling passing $0 in make-wrapper.Julien Lepiller
* nonguix/build/utils.scm (make-wrapper): Add skip-argument-0? keyword.
2020-06-22utils: Remove 'make-desktop-entry-file' function now that it's upstream.Pierre Neidhardt
* nonguix/build/utils.scm (make-desktop-entry-file): Remove function.
2020-02-29nonguix: Use the install-plan of the copy-build-system in the ↵Pierre Neidhardt
binary-build-system. * nonguix/build-system/binary.scm (lower): Adapt the default value of the install plan. * nonguix/build/binary-build-system.scm (new-install): New procedure. (old-install): Rename former `install' procedure to this. (install): New procedure that dispatches over old-install and new-install.
2020-01-16nonguix: Add support for libraries for an extension other than ".so".Pierre Neidhardt
* nonguix/build-system/binary.scm (binary-build): Don't fail when setting the interpreter of libraries that don't contain ".so" in their name.
2020-01-08utils: Add 'concatenate-files' function.Alex Griffin
* nonguix/build/utils.scm (concatenate-files): New function.
2019-12-29nonguix: Fix default values for patchelf-plan and install-plan.Pierre Neidhardt
* nonguix/build-system/binary.scm (binary-build): Default values are unquoted, so we add an extra quote.
2019-12-29Move the "binary" build system from the Gaming Channels to Nonguix.Pierre Neidhardt
* nonguix/build-system/binary.scm: New file. * nonguix/build/binary-build-system.scm: New file. * nonguix/build/utils.scm: New file. * nonguix/utils.scm: New file.