rpms/steam/devel README.Fedora, 1.1, 1.2 steam.spec, 1.2, 1.3 steam.csh, 1.1, NONE steam.sh, 1.1, NONE

Simone Caronni slaanesh at rpmfusion.org
Sat Nov 9 02:09:58 CET 2013


Author: slaanesh

Update of /cvs/nonfree/rpms/steam/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv22015

Modified Files:
	README.Fedora steam.spec 
Removed Files:
	steam.csh steam.sh 
Log Message:
* Fri Nov 08 2013 Simone Caronni <negativo17 at gmail.com> - 1.0.0.43-9
- Disable STEAM_RUNTIME, drop all requirements and change README.Fedora. Please
  see for details: https://github.com/ValveSoftware/steam-for-linux/issues/2976



Index: README.Fedora
===================================================================
RCS file: /cvs/nonfree/rpms/steam/devel/README.Fedora,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- README.Fedora	28 Oct 2013 20:14:52 -0000	1.1
+++ README.Fedora	9 Nov 2013 01:09:57 -0000	1.2
@@ -46,21 +46,37 @@
 
 3) Start again steam and enjoy the videos.
 
-Running Steam with Ubuntu libraries
-===================================
+Running Steam without the Ubuntu libraries (Steam runtime)
+==========================================================
 
-Normally the package uses Fedora libraries and packages from the repositories.
-To use instead the Steam provided Ubuntu 32 bit runtime; launch steam with the
-following parameters:
+Normally the package uses Ubuntu libraries. To use instead Fedora provided
+libraries, first of all figure out which libraries are needed:
 
- $ STEAM_RUNTIME=1 steam
+ $ cd ~/.local/share/Steam/ubuntu12_32/
+ $ for i in `ldd *.so | egrep -v "linux-gate.so|ld-linux.so" | awk '{print $1}'`; do
+ >   repoquery --disablerepo=* --enablerepo=fedora,updates -q --qf="%{name}" --whatprovides "$i"
+ > done | sort | uniq | sed 's/$/i686/g' > libraries.txt
 
-To disable permanently the use of the installed libraries and always use the
-Ubuntu runtime edit the profile environment at:
+This will generate a text file containing the required libraries. You can install
+them with the following command:
 
- # /etc/profile.d/steam.*sh
+ # yum -y install `cat libraries.txt`
+
+Then you can launch Steam with:
+
+ $ STEAM_RUNTIME=0 steam
+
+To disable permanently the use of the Ubuntu runtime and always use the
+installed libraries, you can create a profile environment like the following:
+
+ $ cat /etc/profile.d/steam.sh 
+ # Disable Ubuntu 32 bit runtime
+ [ -x /usr/bin/steam ] && export STEAM_RUNTIME=0
 
 If Steam is launched with the Fedora libraries; you can remove the Ubuntu
-runtime folder which is nearly 200 mb:
+runtime folder which is nearly 400 mb:
+
+ $ rm -fr /.local/share/Steam/ubuntu12_32/steam-runtime
+ 
+
 
- $ rm -fr /.local/share/Steam/ubuntu12_32/steam-runtime*


Index: steam.spec
===================================================================
RCS file: /cvs/nonfree/rpms/steam/devel/steam.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- steam.spec	4 Nov 2013 08:49:36 -0000	1.2
+++ steam.spec	9 Nov 2013 01:09:57 -0000	1.3
@@ -3,14 +3,12 @@
 
 Name:           steam
 Version:        1.0.0.43
-Release:        8%{?dist}
+Release:        9%{?dist}
 Summary:        Installer for the Steam software distribution service
 # Redistribution and repackaging for Linux is allowed, see license file
 License:        Steam License Agreement   
 URL:            http://www.steampowered.com/
 Source0:        http://repo.steampowered.com/steam/pool/%{name}/s/%{name}/%{name}_%{version}.tar.gz
-Source1:        %{name}.sh
-Source2:        %{name}.csh
 Source10:       README.Fedora
 ExclusiveArch:  i686
 
@@ -22,53 +20,15 @@
 Requires:       zenity
 # Required for S3 compressed textures on free drivers
 Requires:       libtxc_dxtn%{_isa}
-# Required for enabling Steam system tray icon
-Requires:       libappindicator%{_isa}
-
-# After the Steam client has been downloaded run the following command and then
-# adjust the list of requirements to remove dependencies pulled in by other
-# packages.
-
-# cd ~/.local/share/Steam/ubuntu12_32/
-# for i in `ldd *.so | egrep -v "linux-gate.so|ld-linux.so" | awk '{print $1}'`; do
-#   repoquery --disablerepo=* --enablerepo=fedora,updates -q --qf="Requires:       %%{name}" --whatprovides "$i"
-# done | sort | uniq | sed 's/$/%%{_isa}/g'
-
+# Required for running the package on 32 bit systems with free drivers
+Requires:       mesa-dri-drivers%{_isa}
+# Minimum requirements for starting the steam client for the first time
 Requires:       alsa-lib%{_isa}
-Requires:       alsa-plugins-pulseaudio%{_isa}
-Requires:       avahi-libs%{_isa}
-Requires:       expat%{_isa}
 Requires:       gtk2%{_isa}
-Requires:       harfbuzz%{_isa}
-Requires:       json-c%{_isa}
-Requires:       keyutils-libs%{_isa}
-Requires:       libasyncns%{_isa}
-Requires:       libattr%{_isa}
-Requires:       libffi%{_isa}
 Requires:       libpng12%{_isa}
-Requires:       libsndfile%{_isa}
-Requires:       libusbx%{_isa}
-Requires:       libXau%{_isa}
-Requires:       libXdmcp%{_isa}
 Requires:       libXScrnSaver%{_isa}
-Requires:       mesa-dri-drivers%{_isa}
-Requires:       mesa-libEGL%{_isa}
-Requires:       mesa-libgbm%{_isa}
 Requires:       mesa-libGL%{_isa}
-Requires:       NetworkManager-glib%{_isa}
 Requires:       nss%{_isa}
-Requires:       openal-soft%{_isa}
-Requires:       openssl-libs%{_isa}
-Requires:       pcre%{_isa}
-Requires:       pixman%{_isa}
-Requires:       pulseaudio-libs%{_isa}
-Requires:       tcp_wrappers-libs%{_isa}
-
-%if 0%{?fedora} >= 19
-# SDL2 it's already bundled in the Steam client but cannot be removed (it's not
-# in the runtime). Leave it here as this will probably not be shipped for long.
-Requires:       SDL2%{_isa}
-%endif
 
 %description
 Installer for the Steam software distribution service.
@@ -94,12 +54,8 @@
 install -D -m 644 -p lib/udev/rules.d/99-steam-controller-perms.rules \
     %{buildroot}%{_udevrulesdir}/99-steam-controller-perms.rules
 
-mkdir -p %{buildroot}%{_sysconfdir}/profile.d
-install -pm 644 %{SOURCE1} %{SOURCE2} %{buildroot}%{_sysconfdir}/profile.d
-
 %files
 %doc README COPYING steam_install_agreement.txt debian/changelog README.Fedora
-%config(noreplace) %{_sysconfdir}/profile.d/%{name}.*sh
 %{_bindir}/%{name}
 %{_datadir}/applications/%{name}.desktop
 %{_datadir}/icons/hicolor/*/apps/%{name}.png
@@ -124,6 +80,10 @@
 %{_bindir}/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 %changelog
+* Fri Nov 08 2013 Simone Caronni <negativo17 at gmail.com> - 1.0.0.43-9
+- Disable STEAM_RUNTIME, drop all requirements and change README.Fedora. Please
+  see for details: https://github.com/ValveSoftware/steam-for-linux/issues/2976
+
 * Mon Nov 04 2013 Simone Caronni <negativo17 at gmail.com> - 1.0.0.43-8
 - Add missing mesa-dri-drivers requirement.
 


--- steam.csh DELETED ---


--- steam.sh DELETED ---


More information about the rpmfusion-commits mailing list