There is a warning spammed about missing 'xdg-user-dir' which doesn't seem to
cause any problems but let's add the missing input just in case.
* nongnu/packages/steam-client.scm (steam-client-libs): Add xdg-user-dirs.
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>
* nongnu/packages/steam-client.scm (steam-client-libs): Rename
fontconfig-fixed to fontconfig. The upstream bug has not been fixed but expat
has been ungrafted in core-updates so we no longer need to rewrite fontconfig.
Remove fontconfig-fixed as expat/fixed no longer exists in core-updates.
This replaces 'xdg-utils' with 'flatpak-xdg-utils' so that the steam container
will call out to the host to open URLs and properly handle steam:// URLs as
well. This requires portals on the host, e.g. xdg-desktop-portal-gtk.
* nongnu/packages/steam-client.scm (steam-client-libs): Replace 'xdg-utils'
with 'flatpak-xdg-utils'.
* nongnu/packages/steam-client.scm (steam-client-libs): Add libva, libvdpau,
and libvdpau-va-gl.
(make-container-wrapper): Preserve and set VDPAU_DRIVER_PATH so VDPAU drivers
can be found by Steam.
* nongnu/packages/steam-client.scm (make-container-wrapper): Expose
/dev/uinput to support hardware like the Steam Controller and Steam Input more
generally.
* nongnu/packages/steam-client.scm (make-internal-script): Don't import Guile
standard modules in with-imported-modules.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
* nongnu/packages/steam-client.scm (steam-gameruntime-libs): Add mangohud and
needed dependencies (imgui and spdlog).
(make-container-wrapper): Expose /sys/class/drm, /sys/class/hwmon, and
/sys/class/powercap (if it exists) for hardware monitoring.
Add /usr/share/vulkan/implicit_layer.d, and link MangoHud.json files here,
renaming the 32bit version to avoid a collision.
Follow links in /share/vulkan/icd.d.
Signed-off-by: Jelle Licht <jlicht@fsfe.org>
* nongnu/packages/steam-client.scm: Update copyright.
(fontconfig-fixed): New variable.
(steam-client-libs): Replace fontconfig with fontconfig-fixed.
Signed-off-by: ison <ison@airmail.cc>
* nongnu/packages/steam-client.scm: Update copyright.
(glibc-for-fhs, steam-ld.so.conf, steam-ld.so.cache): New variables.
(ld.so.conf->ld.so.cache, package->ld.so.conf): New functions.
(steam-client): Update to version 1.0.0.74.
Remove configure phase and add patch-makefile phase.
Remove use of LD_LIBRARY_PATH in wrap-program.
(fhs-min-libs, steam-client-libs): Update inputs for glibc-for-fhs and proton.
(make-container-wrapper): Add preserved vars for pressure vessel and debugging.
Expose paths to container for controller input and Valve Index.
(make-internal-script):
New container symlinks for ld.so.cache, ld.so.conf, and /etc/fonts.
(steam, steam-nvidia): Update run field.
Signed-off-by: ison <ison@airmail.cc>
* nongnu/packages/steam-client.scm (nongnu-container->package)
(make-container-internal): Remove auto generated asound.conf.
(make-internal-script): Use inline asound.conf and add --asound32 command line
flag to set it as 32-bit instead of 64-bit.
(steam-client, steam): Add new .desktop file for 32-bit asound.conf.
* nongnu/packages/steam-client.scm (steam-client): expose /dev/nvidia*
in container. Required by nvidia-libs.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
* nongnu/packages/steam-client.scm (make-container-wrapper): Add proxy to
preserved environment variables and use regex matching for all existing
environment variables.
* nongnu/packages/steam-client.scm (make-container-wrapper):
Remove the UID variable in favor of XDG_RUNTIME_DIR for dbus and pulse sockets.
Preserve the DBUS_SESSION_BUS_ADDRESS environment variable.
Signed-off-by: ison <ison@airmail.cc>
* nongnu/packages/steam-client.scm (steam): Use wrap-program.
(glibc-for-fhs, fhs-ld.so.conf, ld.so.conf->ld.so.cache): Remove.
(make-internal-script): Remove references to ld.so.conf and ld.so.cache
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
* nongnu/packages/steam-client.scm (steam-client): Run steam container instead
of steam client directly.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
* nongnu/packages/steam-client.scm: Use pulseaudio and nonguix utils modules.
(steam-gameruntime-libs): Add pulseaudio.
(nonguix-container->package): Add alsa-config to inputs.
(make-container-internal): Add alsa-config to args and inputs.
(make-internal-script): Add alsa-config to args and symlinks, symlink
32-bit Vulkan ICD files.
* nongnu/packages/steam-client.scm: Add comment to top explaining container structure.
(ld.so.conf->ld.so.cache): Replaces names with _.
(nonguix-container->package): Remove container-name, union64, and union32 from let bindings, add newlines to inputs, fix args, and add symlinks for internal-script and manifest.
(make-container-manifest): Improve document string.
(make-container-internal)[synopsis, description]: Fix typos.
* nongnu/packages/steam-client.scm: Use module guix records.
(<nonguix-container>): New record type.
(glibc-for-fhs-32, steam-libs-32, steam-libs-64): Removed.
(packages->ld.so.conf): Rename to fhs-ld.so.conf and use static paths.
(steam): Rename to steam-client, remove wrappers and inputs, and
replace with new definition for steam.
(fhs-min-libs): New alist.
(steam-client-libs): Add bash and coreutils, remove glibc and glibc-32.
(steam-gameruntime-libs): Add font-dejavu and font-liberation.
(fhs-union, nonguix-container->package, make-container-wrapper)
(make-container-manifest, make-container-internal)
(make-internal-script): New functions.
* nongnu/packages/steam-client.scm (steam)[propagated-inputs]: Remove.
[arguments]: Add former propagated-inputs to manifest.scm and fix
quoting in store-item->manifest-entry output.