Github messages for voidlinux
 help / color / mirror / Atom feed
From: cinerea0 <cinerea0@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] steam: move documentation to README.voidlinux
Date: Wed, 14 Apr 2021 23:39:47 +0200	[thread overview]
Message-ID: <20210414213947.wByYBV4Ai9ZxrhXPLohw89hd8g72moCnsmu3juol_Jg@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-30243@inbox.vuxu.org>

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

There is an updated 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: 4176 bytes --]

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

---
 srcpkgs/steam/INSTALL.msg            | 25 ++-------------
 srcpkgs/steam/files/README.voidlinux | 48 ++++++++++++++++++++++++++++
 srcpkgs/steam/template               |  5 ++-
 3 files changed, 54 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..35d1fe4798d0
--- /dev/null
+++ b/srcpkgs/steam/files/README.voidlinux
@@ -0,0 +1,48 @@
+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)
+
+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..1574edc98dd1 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"
 }

  parent reply	other threads:[~2021-04-14 21:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-14 21:21 [PR PATCH] " 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 ` cinerea0 [this message]
2021-04-14 21:44 ` cinerea0
2021-04-14 23:30 ` [PR PATCH] [Merged]: " abenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210414213947.wByYBV4Ai9ZxrhXPLohw89hd8g72moCnsmu3juol_Jg@z \
    --to=cinerea0@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).