Archive for November, 2012

Testing Steam Linux Beta

Not that I wish to support this highly experimental piece of software, but let me show you how I would try to install the Steam Linux Beta client on Sabayon Linux.

1. You will need to add a custom overlay called steam-overlay

Edit /etc/layman/layman.cfg and add file:///var/lib/layman/my-list.xml  to the overlays section. Mind you, it only works if it is tabbed in position right under http://www.gentoo.org/proj/en/overlays/repositories.xml. (smells like Python nazi stuff to me)

Now you must create /var/lib/layman/my-list.xml and add to this file:

<?xml version=”1.0″ ?>
 <repositories version=”1.0″>
   <repo priority=”50″ quality=”experimental” status=”unofficial”>
     <name>steam-overlay</name>
     <description>Gentoo overlay for Valve’s Steam client and Steam-based games</description>
     <owner>
       <email></email>
     </owner>
     <source type=”git”>git://github.com/anyc/steam-overlay.git</source>
   </repo>
</repositories>
If you didn’t have git installed, use Entropy to install it.
2. layman -f -a steam-overlay
3. emerge –sync 
4. emerge -av steam-meta
ANY dependency that gets pulled in from Portage you should install using Entropy first until you end up with a list like this:

[ebuild N ] games-util/steam-installer-9999::steam-overlay 1,297 kB
[ebuild N ] games-util/steam-client-meta-9999::steam-overlay USE=”-flash -windows-games” VIDEO_CARDS=”-intel” 0 kB
[ebuild N ] games-util/steam-meta-9999::steam-overlay USE=”installer -testdeps” 0 kB

Remarks :
- Those ebuilds can be broken ( because upstream changes allot causing the manifests to fail )
- We are playing with an experimental binary blob here, it could include code that makes kittens die, so be warned!
More info here:
Edit: I had to remanifest and redo the patch for steam since upstream just changed things:
remove-ubuntu-specifics.patch

— usr/bin/steam.orig 2012-11-30 21:04:16.370876939 +0100
+++ usr/bin/steam 2012-11-30 21:09:32.650054985 +0100
@@ -108,27 +108,6 @@ function setup_variables()
fi
}

-function install_extra_packages()
-{
– EXTRA_PACKAGES=”$*”
-
– # Get the list of packages which are already installed
– INSTALLED=”$(dpkg –get-selections $EXTRA_PACKAGES 2>/dev/null | grep “\binstall$” | cut -f1 | sort)”
-
– # compute the list of packages that need to be installed
– NEEDSINSTALL=”$(comm -23 <(echo “$EXTRA_PACKAGES” | tr ‘ ‘ ‘\n’ | sort) <(echo “$INSTALLED”) | xargs ) “
– NEEDSINSTALL=${NEEDSINSTALL## } # remove leading space
-
– if [ “$NEEDSINSTALL” ]; then
– # Call to actually do the work
– MESSAGE=$”Please enter your password to complete the Steam installation.
-
-Steam needs to install these additional packages:
-“$NEEDSINSTALL
– run_sudo “$MESSAGE” apt-get install $NEEDSINSTALL
– fi
-}
-
function install_bootstrap()
{
STEAMDIR=$1
@@ -159,8 +138,6 @@ function install_bootstrap()
# Restore the umask
umask $omask

- # Try and install any extra packages
– install_extra_packages jockey-common python-apt
}

function repair_bootstrap()

1 Comment

Follow

Get every new post delivered to your Inbox.

Join 177 other followers