I've had some success with running Spotify on OpenSolaris (build 117 in my 
case, but I believe that any after 115 should work) and thought I'd share the 
details.

I understand that there are some usage restrictions with the Spotify service, 
so you should probably check them out before embarking on this, to avoid 
disappointment.

Make sure that you have the following packages installed (taken from a WINE 
build recipe, which didn't work for me, at 
http://wood.sandbox.cz/osol/wine.inc.txt - installing SFWxorg-headers wasn't 
necessary):

SUNWgcc SUNWhea SUNWsfwhea SUNWxorg-headers SUNWbison 
SUNWgmake SUNWflexlex SUNWgnome-common-devel SUNWaudh SUNWlcms SUNWlibm

Any that are missing can be installed with:

# pfexec pkg install <package_name>

I haven't checked whether they are all strictly necessary for the build, so you 
might get away without some of them.

Download the latest WINE source (version 1.1.26) from 
http://sourceforge.net/projects/wine/files/Source%20Packages/1.1.26/wine-1.1.26.tar.bz2/download.

Unpack this into a temporary directory:

# bzcat wine-1.1.26.tar.bz2 | tar xf -
# cd wine-1.1.26

Make sure that /usr/gnu/bin is at the front of your path to pick up the GNU 
version of various tools.  It seems to work best with these.

Compile WINE:

# ./configure --with-oss --without-esd

My first attempt without the extra options didn't see the OSS (Boomer) sound 
driver, so I added the two options to try to force it.  It seems to have worked 
nicely.  When the configure script completes, start the compilation and then 
install it to /usr/local (you can change the installation directory with the 
"--prefix=" argument to the configure script, if you wish.

# make
# pfexec make install

Now configure WINE:

# /usr/local/bin/winecfg

In the "Audio" tab, check that it sees the OSS driver and that it has a tick in 
the adjacent box, so that it will be used by WINE.  Click "Apply"/"OK" to exit 
this dialog.

Download the Windows version of the Spotify installer - 
https://www.spotify.com/download/Spotify%20Installer.exe.

# cd <directory containing the "Spotify Installer.exe" file>
# /usr/local/bin/wine "Spotify Installer.exe"

Click through the installation screens and by default it will start 
automatically.  Log in and enjoy!

The normal command to start it up is:

# /usr/local/bin/wine "C:\Program Files\Spotify\spotify.exe"

Cheers,

Craig
-- 
This message posted from opensolaris.org

Reply via email to