Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] steam: move documentation to README.voidlinux
@ 2021-04-14 21:21 cinerea0
  2021-04-14 21:23 ` [PR REVIEW] " abenson
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: cinerea0 @ 2021-04-14 21:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1607 bytes --]

There is a new pull request by cinerea0 against master on the void-packages repository

https://github.com/cinerea0/void-packages steam
https://github.com/void-linux/void-packages/pull/30243

steam: move documentation to README.voidlinux
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/30243.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-steam-30243.patch --]
[-- Type: text/x-diff, Size: 4231 bytes --]

From b49fc0388acbcc992af1d1ad1409d12b62ddcbb0 Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@protonmail.com>
Date: Wed, 14 Apr 2021 16:21:13 -0400
Subject: [PATCH] steam: move documentation to README.voidlinux

---
 srcpkgs/steam/INSTALL.msg            | 25 ++------------
 srcpkgs/steam/files/README.voidlinux | 49 ++++++++++++++++++++++++++++
 srcpkgs/steam/template               |  5 ++-
 3 files changed, 55 insertions(+), 24 deletions(-)
 create mode 100644 srcpkgs/steam/files/README.voidlinux

diff --git a/srcpkgs/steam/INSTALL.msg b/srcpkgs/steam/INSTALL.msg
index 196c392f45be..3f33b10f959e 100644
--- a/srcpkgs/steam/INSTALL.msg
+++ b/srcpkgs/steam/INSTALL.msg
@@ -1,23 +1,2 @@
-Steam on x86_64 requires support for OpenGL/Vulkan in 32bits mode,
-the 32bit packages are available in the `multilib` repository.
-
-	# xbps-install -Syv void-repo-multilib{,-nonfree}
-	# xbps-install -S
-
-Generic (for all systems):
-
-	- libgcc-32bit libstdc++-32bit libdrm-32bit libglvnd-32bit
-
-For users of the open source drivers:
-
-	- mesa-dri-32bit
-
-For users of the proprietary NVIDIA driver:
-
-	- nvidia-libs-32bit (latest nvidia package)
-	- nvidia390-libs-32bit (latest previous package)
-	- nvidia340-libs-32bit (latest package for old GPUs)
-
-For mesa users this would result in:
-
-	# xbps-install -Syv libgcc-32bit libstdc++-32bit libdrm-32bit libglvnd-32bit mesa-dri-32bit
+Consult /usr/share/doc/steam/README.voidlinux for further installation
+instructions and troubleshooting information.
diff --git a/srcpkgs/steam/files/README.voidlinux b/srcpkgs/steam/files/README.voidlinux
new file mode 100644
index 000000000000..25f226d921fb
--- /dev/null
+++ b/srcpkgs/steam/files/README.voidlinux
@@ -0,0 +1,49 @@
+Steam on i686 should work without needing to install any extra packages.
+Steam on x86_64 requires support for OpenGL/Vulkan in 32bits mode,
+the 32bit packages are available in the multilib repository.
+
+	# xbps-install -S void-repo-multilib{,-nonfree}
+	# xbps-install -S
+
+Generic (for all systems):
+
+	- libgcc-32bit libstdc++-32bit libdrm-32bit libglvnd-32bit
+
+For users of the open source drivers:
+
+	- mesa-dri-32bit
+
+For users of the proprietary NVIDIA driver:
+
+	- nvidia-libs-32bit (latest nvidia package)
+	- nvidia390-libs-32bit (latest previous package)
+	- nvidia340-libs-32bit (latest package for old GPUs)
+
+For mesa users this would result in:
+
+	# xbps-install -S libgcc-32bit libstdc++-32bit libdrm-32bit libglvnd-32bit mesa-dri-32bit
+
+The dbus service must be enabled, and the mono package will need to be
+installed for some games to function.
+
+If games are running slowly or not at all, or there are issues with network
+streaming, verify that your user belongs to the video group.
+
+If your audio is not working, try installing pulseaudio and
+alsa-plugins-pulseaudio.
+
+If you are encountering runtime errors, the Steam Ubuntu bootstrap tarball might
+be using an incompatible libstdc++ library. You can verify this by running the
+following command:
+
+	$ LIBGL_DEBUG=verbose steam
+
+If that is the issue, removing the supplied libstdc++ from
+~/.local/share/steam will fix it. Note that this is a temporary solution, as
+this file will be restored every time the Steam client is updated. For a more
+reliable solution, you can try overriding problematic libraries with
+LD_PRELOAD:
+
+	$ LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1' steam
+
+For convenience, you can put this in a script or an alias.
diff --git a/srcpkgs/steam/template b/srcpkgs/steam/template
index 972db525e1eb..a92e751af686 100644
--- a/srcpkgs/steam/template
+++ b/srcpkgs/steam/template
@@ -1,7 +1,7 @@
 # Template file for 'steam'
 pkgname=steam
 version=1.0.0.70
-revision=1
+revision=2
 archs="i686 x86_64"
 wrksrc=steam-launcher
 depends="zenity xz curl dbus freetype gdk-pixbuf hicolor-icon-theme desktop-file-utils
@@ -30,4 +30,7 @@ do_install() {
 	# Device support for Steam-related hardware (e.g. controllers over Steam Link)
 	vinstall ${FILESDIR}/60-steam-input.rules 644 usr/lib/udev/rules.d
 	vinstall ${FILESDIR}/60-steam-vr.rules 644 usr/lib/udev/rules.d
+	
+	# Void-specific documentation.
+	vdoc "${FILESDIR}/README.voidlinux"
 }

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-04-14 23:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-14 21:21 [PR PATCH] steam: move documentation to README.voidlinux cinerea0
2021-04-14 21:23 ` [PR REVIEW] " abenson
2021-04-14 21:23 ` abenson
2021-04-14 21:24 ` [PR PATCH] [Updated] " cinerea0
2021-04-14 21:24 ` [PR REVIEW] " abenson
2021-04-14 21:39 ` [PR PATCH] [Updated] " cinerea0
2021-04-14 21:44 ` cinerea0
2021-04-14 23:30 ` [PR PATCH] [Merged]: " abenson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).