Commit graph

28 commits

Author SHA1 Message Date
John Kehayias
c61c094e76
nongnu: steam: Allow workaround of white box bug.
See <https://gitlab.com/nonguix/nonguix/-/issues/267> and <https://github.com/ValveSoftware/steam-for-linux/issues/9306>.

* nonguix/multiarch-container.scm (make-container-wrapper): Preserve
QT_X11_NO_MITSHM to allow setting to 1 to workaround an upstream bug where
only a white box is displayed.
2023-07-15 15:51:08 -04: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
John Kehayias
ef015aecf7
nonguix: glibc-for-fhs: Remove variable.
* nonguix/multiarch-container.scm (glibc-for-fhs): Remove.
(fhs-min-libs): Use upstream glibc-for-fhs.
2023-06-29 14:16:12 -04:00
Elijah Malaby
c323f4c866
nongnu: Export steam containers and minor refactor.
nonguix: Make container actually respect the ngc-shared and ngc-exposed fields.

* nongnu/packages/steam-client.scm (steam-container): New variable.  This is to
export the container definition from steam.
(steam-nvidia-container): New variable.  This is the container for steam-nvidia
and now inherits from steam-container.
(steam, steam-nvidia): Container definitions moved to steam-container and
steam-nvidia-container.
* nonguix/multiarch-container.scm (make-container-wrapper): Add ngc-exposed and
ngc-shared to expose and share lists.

Signed-off-by: ison <ison@airmail.cc>
2023-05-29 22:39:12 -06:00
Attila Lendvai
5bc3c9da84
nonguix: Remove unnecessary modules from multiarch-container scripts.
* nonguix/multiarch-container.scm (packages->ld.so.conf)[computed-file]: Remove
with-imported-modules and use-modules.
(make-container-wrapper)[program-file]: Remove with-imported-modules.

Signed-off-by: ison <ison@airmail.cc>
2023-05-29 20:16:11 -06:00
Giacomo Leidi
87c9cdaeda
nonguix: Move nonguix-container to its own module.
* nonguix/multiarch-container.scm: New file. This module makes the container
code from steam-client.scm usable by other packages which require multiarch
support (which is not currently supported by the upstream Guix FHS container).

Signed-off-by: ison <ison@airmail.cc>
2023-05-15 03:45:30 -06:00
Jonathan Brielmaier
71252d2d9d
nonguix: Add missing copyright line.
This is a follow up to daa0dda76d.

* nonguix/utils.scm: Add missing copyright line for myself.
2022-12-19 17:25:05 +01:00
Jonathan Brielmaier
62a5df4222
*.scm: Use SPDX license identifiers.
Fixes https://gitlab.com/nonguix/nonguix/-/issues/224

* *.scm: Use SPDX license identifier and remove obsolete license
statement.
2022-12-19 17:17:39 +01:00
Guillaume Le Vaillant
c90d321972
nonguix: binary-build-system: Fix use of undefined variable.
Follow up to a0079cf1bd.

* 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-06-18 13:03:42 +02:00
Jonathan Brielmaier
399b277e82
nonguix: binary-build-system: Add copyright header for Attila.
Follow up to a0079cf1bd.
2022-05-05 23:20:58 +02:00
Attila Lendvai
a0079cf1bd
nonguix: Extend patchelf-plan syntax with optional path.
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>
2022-05-05 23:14:30 +02:00
Jelle Licht
c736f26fae
nonguix: Update binary build system to pass sources.
* nonguix/build-system/binary.scm (lower): Remove #:source from
  'private-keywords'.
2021-12-13 23:07:52 +01:00
Josselin Poiret
7b13acb514
nonguix: Update binary build system to return a monadic procedure.
Fixes https://gitlab.com/nonguix/nonguix/-/issues/146.

* nonguix/build-system/binary.scm (binary-build): Update it.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2021-12-13 23:06:01 +01:00
Jonathan Brielmaier
daa0dda76d
nongnu: Adapt linux-initrd to populate-store changes.
Fixes https://gitlab.com/nonguix/nonguix/-/issues/81.
Reported-by: Jean-Baptiste Volatier.

Depends on https://git.savannah.gnu.org/cgit/guix.git/commit/?id=d88ff09.

* nonguix/modules.scm (import-nonguix-module?): New variable. Export it
instead of nonguix-module-name?.
* nongnu/system/linux-initrd.scm (microcode-initrd): Use
import-nonguix-module? instead of nonguix-module-name?.
(combined-initrd): Dito.
2020-12-22 12:56:25 +01:00
Julien Lepiller
1f61e376ce
nonguix: Allow disabling passing $0 in make-wrapper.
* nonguix/build/utils.scm (make-wrapper): Add skip-argument-0? keyword.
2020-07-02 15:50:51 +02:00
Pierre Neidhardt
12210f2393 utils: Remove 'make-desktop-entry-file' function now that it's upstream.
* nonguix/build/utils.scm (make-desktop-entry-file): Remove function.
2020-06-22 17:43:31 +02:00
Pierre Neidhardt
da95ca97d4 nonguix: Set default build-inputs priority higher than libc32 in binary-build-system.
* nonguix/build-system/binary.scm (lower): Swap native-inputs and libc32 in
  build-inputs.  In particular, this fixes static linking with GCC.
2020-05-17 14:36:27 +02:00
Pierre Neidhardt
4a4043db04 nonguix: Don't rename to32 package to avoid useless rebuilds.
* nonguix/utils.scm (to32): Reuse inherited `name' field.
2020-05-15 21:23:23 +02:00
Julien Lepiller
c9d1ea0ad3 nonguix: Use name when provided in unredistributable-url-fetch.
* nonguix/download.scm (unredistributable-url-fetch): Use name when
provided.
2020-03-13 00:30:35 +01:00
Pierre Neidhardt
39fecacaef nonguix: Use the install-plan of the copy-build-system in the 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-02-29 10:42:35 +01:00
Pierre Neidhardt
aeaa8a02f5 nonguix: Add support for libraries for an extension other than ".so".
* 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-16 17:47:48 +01:00
Alex Griffin
c09d21cbcf linux-initrd: Don't close over core Guile modules.
* nonguix/modules.scm: New file.
* nongnu/system/linux-initrd.scm: Limit 'source-module-closure' to guix and
nonguix modules only.
2020-01-08 16:27:45 -06:00
Alex Griffin
cb9d65923e utils: Add 'concatenate-files' function.
* nonguix/build/utils.scm (concatenate-files): New function.
2020-01-08 15:22:32 -06:00
Pierre Neidhardt
27f17b5f5d nonguix: Remove spurious getenv* export.
* nonguix/utils.scm: Do it.
2019-12-29 19:15:47 +01:00
Pierre Neidhardt
a35038fb8d nonguix: Fix default values for patchelf-plan and install-plan.
* nonguix/build-system/binary.scm (binary-build): Default values are unquoted,
  so we add an extra quote.
2019-12-29 19:07:43 +01:00
Pierre Neidhardt
d622a15d08 Move the "binary" build system from the Gaming Channels to Nonguix.
* 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.
2019-12-29 19:07:43 +01:00
Julien Lepiller
e7f6facb14 nongnu: Add unredistributable-url-fetch.
* nonguix/download.scm: New file.
2019-07-27 21:23:37 +02:00
Alex Griffin
b51327e5f4 Add nonfree licenses.
* nonguix/licenses.scm: New file.
2019-05-26 17:46:22 -05:00