Page 1 of 2

Installing Spotify

Posted: 23 Jul 2015, 05:17
by Jacoby59
Can anyone help me install Spotify desktop app on 32 bit Porteus 3.0 XFCE? Thanks!

Re: Installing Spotify

Posted: 23 Jul 2015, 19:42
by beny
if you have the usm ok, usm -b spotify32 or you can grab the slackbuild from sbo,devel.xzm is required for build task.

Re: Installing Spotify

Posted: 24 Jul 2015, 18:49
by francois
@jacoby:

What do you like so much about spotify? As there are many other alternatives:
https://en.wikipedia.org/wiki/Compariso ... c_services

Re: Installing Spotify

Posted: 25 Jul 2015, 18:20
by beny
hi francois this link have no sense,there are only two services that work with linux,spotify and tomahawk.

Re: Installing Spotify

Posted: 26 Jul 2015, 01:43
by francois
Sorry, I might be too old or not knowledgeable about the type of package we are talking about. How would you call spotify, if not a music streamer? :oops:

Could we add kodi and vlc for example?

What about these links on linux music streamers?
https://www.linux.com/learn/tutorials/7 ... for-linux/
http://www.adrianmouat.com/bit-bucket/2 ... and-linux/
http://www.makeuseof.com/tag/5-killer-r ... streaming/
http://www.linuxlinks.com/article/20091 ... rvers.html

Re: Installing Spotify

Posted: 26 Jul 2015, 20:11
by beny
hi francois, spotify work in this way, you search an author a song or album and like google return a lot of data entry, and you can choose what you want.so kodi or another media player don't do the same,btw kodi in music plugins have digitally imported and soma and a lot of other music network,but you can't do a search query.....and i am old too

Re: Installing Spotify

Posted: 27 Jul 2015, 18:23
by Jacoby59
Hey beny, I've downloaded the required files - devel.xzm, spotify32.tar.gz, spotify-client.deb. Now how do I proceed from here i.e. build it?

Re: Installing Spotify

Posted: 27 Jul 2015, 20:05
by beny
put the devel .xzm into the core of porteus,this allow you to use the build software,downloads the slackbuild directory of spotify32 put the source into it and in console cd into the slackbuild directory and sh slackbuild wait until the package is ready in /tmp

Re: Installing Spotify

Posted: 27 Jul 2015, 20:06
by francois

Re: Installing Spotify

Posted: 27 Jul 2015, 23:03
by beny
the spotify32 slackbuild it is only a repack of deb files into the slackware txz,so the build is simple ,you have to change the txz into a xzm and play with..

Re: Installing Spotify

Posted: 28 Jul 2015, 14:40
by Jacoby59
Okay, I converted it to a module and activated it. I even see the Spotify icon under Applications, but nothing happens I click on it. Do any of you run (or know anyone who does, for that matter) Spotify on Porteus? I figure if that person uploads their spotify module somewhere and I installed it, I could get it to work.

Re: Installing Spotify

Posted: 28 Jul 2015, 22:11
by francois
@jacoby:

Please try in command line and provide us with the output:

Code: Select all

root@porteus:~# spotify
root@porteus:~# 

Re: Installing Spotify

Posted: 28 Jul 2015, 22:42
by sunnysideofthesun
Or maybe you could use ldd to see if all needed libraries are present (if Porteus includes ldd by default)

Code: Select all

root@porteus:~# ldd -v spotify
Something like this, not sure.

Re: Installing Spotify

Posted: 29 Jul 2015, 02:44
by beny
hi porteus do not have all the deps that need to run all packages,so try the francois advice in console spotify,and you have the answer for a lack of deps.

Re: Installing Spotify

Posted: 29 Jul 2015, 06:04
by Jacoby59
Hey francois, here's all the stuff from terminal when building the file:

Code: Select all

guest@porteus:~/spotify/spotify32$ chmod +x spotify32.SlackBuild
guest@porteus:~/spotify/spotify32$ su
Password: 
root@porteus:/home/guest/spotify/spotify32# ./spotify32.SlackBuild
./
./usr/
./usr/bin/
./usr/share/
./usr/share/spotify/
./usr/share/doc/
./usr/share/doc/spotify-client/
./usr/share/doc/spotify-client/copyright
./usr/share/doc/spotify-client/changelog.Debian.gz
./opt/
./opt/spotify/
./opt/spotify/spotify-client/
./opt/spotify/spotify-client/changelog
./opt/spotify/spotify-client/Data/
./opt/spotify/spotify-client/Data/resources.zip
./opt/spotify/spotify-client/Data/apps.zip
./opt/spotify/spotify-client/Data/cef.pak
./opt/spotify/spotify-client/Data/devtools_resources.pak
./opt/spotify/spotify-client/Data/locales/
./opt/spotify/spotify-client/Data/locales/en-US.pak
./opt/spotify/spotify-client/Data/libcef.so
./opt/spotify/spotify-client/Data/SpotifyHelper
./opt/spotify/spotify-client/Icons/
./opt/spotify/spotify-client/Icons/spotify-linux-16.png
./opt/spotify/spotify-client/Icons/spotify-linux-256.png
./opt/spotify/spotify-client/Icons/spotify-linux-32.png
./opt/spotify/spotify-client/Icons/spotify-linux-48.png
./opt/spotify/spotify-client/Icons/spotify-linux-22.png
./opt/spotify/spotify-client/Icons/spotify-linux-24.png
./opt/spotify/spotify-client/Icons/spotify-linux-512.png
./opt/spotify/spotify-client/Icons/spotify-linux-64.png
./opt/spotify/spotify-client/Icons/spotify-linux-128.png
./opt/spotify/spotify-client/licenses.xhtml
./opt/spotify/spotify-client/linklibs-fedora.sh
./opt/spotify/spotify-client/linklibs.sh
./opt/spotify/spotify-client/readme.fedora
./opt/spotify/spotify-client/register.sh
./opt/spotify/spotify-client/spotify.desktop
./opt/spotify/spotify-client/unregister.sh
./opt/spotify/spotify-client/spotify
./usr/bin/spotify
chmod: cannot operate on dangling symlink ‘./usr/bin/spotify’

Slackware package maker, version 3.14159.

Searching for symbolic links:
opt/spotify/spotify-client/libcrypto.so.0.9.8 -> /usr/lib/libcrypto.so.1.0.0
opt/spotify/spotify-client/libssl.so.0.9.8 -> /usr/lib/libssl.so.1.0.0
opt/spotify/spotify-client/libssl3.so.1d -> /usr/lib/libssl3.so
opt/spotify/spotify-client/libsmime3.so.1d -> /usr/lib/libsmime3.so
opt/spotify/spotify-client/libplds4.so.0d -> /usr/lib/libplds4.so
opt/spotify/spotify-client/libplc4.so.0d -> /usr/lib/libplc4.so
opt/spotify/spotify-client/libnssutil3.so.1d -> /usr/lib/libnssutil3.so
opt/spotify/spotify-client/libnss3.so.1d -> /usr/lib/libnss3.so
opt/spotify/spotify-client/libnspr4.so.0d -> /usr/lib/libnspr4.so
opt/spotify/spotify-client/Data/libcrypto.so.0.9.8 -> /usr/lib/libcrypto.so.1.0.0
opt/spotify/spotify-client/Data/libssl.so.0.9.8 -> /usr/lib/libssl.so.1.0.0
opt/spotify/spotify-client/Data/libssl3.so.1d -> /usr/lib/libssl3.so
opt/spotify/spotify-client/Data/libsmime3.so.1d -> /usr/lib/libsmime3.so
opt/spotify/spotify-client/Data/libplds4.so.0d -> /usr/lib/libplds4.so
opt/spotify/spotify-client/Data/libplc4.so.0d -> /usr/lib/libplc4.so
opt/spotify/spotify-client/Data/libnssutil3.so.1d -> /usr/lib/libnssutil3.so
opt/spotify/spotify-client/Data/libnss3.so.1d -> /usr/lib/libnss3.so
opt/spotify/spotify-client/Data/libnspr4.so.0d -> /usr/lib/libnspr4.so
usr/bin/spotify -> /opt/spotify/spotify-client/spotify

Making symbolic link creation script:
( cd opt/spotify/spotify-client ; rm -rf libcrypto.so.0.9.8 )
( cd opt/spotify/spotify-client ; ln -sf /usr/lib/libcrypto.so.1.0.0 libcrypto.so.0.9.8 )
( cd opt/spotify/spotify-client ; rm -rf libssl.so.0.9.8 )
( cd opt/spotify/spotify-client ; ln -sf /usr/lib/libssl.so.1.0.0 libssl.so.0.9.8 )
( cd opt/spotify/spotify-client ; rm -rf libssl3.so.1d )
( cd opt/spotify/spotify-client ; ln -sf /usr/lib/libssl3.so libssl3.so.1d )
( cd opt/spotify/spotify-client ; rm -rf libsmime3.so.1d )
( cd opt/spotify/spotify-client ; ln -sf /usr/lib/libsmime3.so libsmime3.so.1d )
( cd opt/spotify/spotify-client ; rm -rf libplds4.so.0d )
( cd opt/spotify/spotify-client ; ln -sf /usr/lib/libplds4.so libplds4.so.0d )
( cd opt/spotify/spotify-client ; rm -rf libplc4.so.0d )
( cd opt/spotify/spotify-client ; ln -sf /usr/lib/libplc4.so libplc4.so.0d )
( cd opt/spotify/spotify-client ; rm -rf libnssutil3.so.1d )
( cd opt/spotify/spotify-client ; ln -sf /usr/lib/libnssutil3.so libnssutil3.so.1d )
( cd opt/spotify/spotify-client ; rm -rf libnss3.so.1d )
( cd opt/spotify/spotify-client ; ln -sf /usr/lib/libnss3.so libnss3.so.1d )
( cd opt/spotify/spotify-client ; rm -rf libnspr4.so.0d )
( cd opt/spotify/spotify-client ; ln -sf /usr/lib/libnspr4.so libnspr4.so.0d )
( cd opt/spotify/spotify-client/Data ; rm -rf libcrypto.so.0.9.8 )
( cd opt/spotify/spotify-client/Data ; ln -sf /usr/lib/libcrypto.so.1.0.0 libcrypto.so.0.9.8 )
( cd opt/spotify/spotify-client/Data ; rm -rf libssl.so.0.9.8 )
( cd opt/spotify/spotify-client/Data ; ln -sf /usr/lib/libssl.so.1.0.0 libssl.so.0.9.8 )
( cd opt/spotify/spotify-client/Data ; rm -rf libssl3.so.1d )
( cd opt/spotify/spotify-client/Data ; ln -sf /usr/lib/libssl3.so libssl3.so.1d )
( cd opt/spotify/spotify-client/Data ; rm -rf libsmime3.so.1d )
( cd opt/spotify/spotify-client/Data ; ln -sf /usr/lib/libsmime3.so libsmime3.so.1d )
( cd opt/spotify/spotify-client/Data ; rm -rf libplds4.so.0d )
( cd opt/spotify/spotify-client/Data ; ln -sf /usr/lib/libplds4.so libplds4.so.0d )
( cd opt/spotify/spotify-client/Data ; rm -rf libplc4.so.0d )
( cd opt/spotify/spotify-client/Data ; ln -sf /usr/lib/libplc4.so libplc4.so.0d )
( cd opt/spotify/spotify-client/Data ; rm -rf libnssutil3.so.1d )
( cd opt/spotify/spotify-client/Data ; ln -sf /usr/lib/libnssutil3.so libnssutil3.so.1d )
( cd opt/spotify/spotify-client/Data ; rm -rf libnss3.so.1d )
( cd opt/spotify/spotify-client/Data ; ln -sf /usr/lib/libnss3.so libnss3.so.1d )
( cd opt/spotify/spotify-client/Data ; rm -rf libnspr4.so.0d )
( cd opt/spotify/spotify-client/Data ; ln -sf /usr/lib/libnspr4.so libnspr4.so.0d )
( cd usr/bin ; rm -rf spotify )
( cd usr/bin ; ln -sf /opt/spotify/spotify-client/spotify spotify )

Unless your existing installation script already contains the code
to create these links, you should append these lines to your existing
install script. Now's your chance. :^)

Would you like to add this stuff to the existing install script and
remove the symbolic links ([y]es, [n]o)? y


Removing symbolic links:
removed ‘./opt/spotify/spotify-client/libcrypto.so.0.9.8’
removed ‘./opt/spotify/spotify-client/libssl.so.0.9.8’
removed ‘./opt/spotify/spotify-client/libssl3.so.1d’
removed ‘./opt/spotify/spotify-client/libsmime3.so.1d’
removed ‘./opt/spotify/spotify-client/libplds4.so.0d’
removed ‘./opt/spotify/spotify-client/libplc4.so.0d’
removed ‘./opt/spotify/spotify-client/libnssutil3.so.1d’
removed ‘./opt/spotify/spotify-client/libnss3.so.1d’
removed ‘./opt/spotify/spotify-client/libnspr4.so.0d’
removed ‘./opt/spotify/spotify-client/Data/libcrypto.so.0.9.8’
removed ‘./opt/spotify/spotify-client/Data/libssl.so.0.9.8’
removed ‘./opt/spotify/spotify-client/Data/libssl3.so.1d’
removed ‘./opt/spotify/spotify-client/Data/libsmime3.so.1d’
removed ‘./opt/spotify/spotify-client/Data/libplds4.so.0d’
removed ‘./opt/spotify/spotify-client/Data/libplc4.so.0d’
removed ‘./opt/spotify/spotify-client/Data/libnssutil3.so.1d’
removed ‘./opt/spotify/spotify-client/Data/libnss3.so.1d’
removed ‘./opt/spotify/spotify-client/Data/libnspr4.so.0d’
removed ‘./usr/bin/spotify’

Updating your ./install/doinst.sh...

This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n

Creating Slackware package:  /tmp/spotify32-0.9.4.183.g644e24e.428-i386-2_SBo.tgz

./
install/
install/doinst.sh
install/slack-desc
opt/
opt/spotify/
opt/spotify/spotify-client/
opt/spotify/spotify-client/spotify
opt/spotify/spotify-client/unregister.sh
opt/spotify/spotify-client/register.sh
opt/spotify/spotify-client/readme.fedora
opt/spotify/spotify-client/linklibs.sh
opt/spotify/spotify-client/linklibs-fedora.sh
opt/spotify/spotify-client/licenses.xhtml
opt/spotify/spotify-client/Icons/
opt/spotify/spotify-client/Icons/spotify-linux-128.png
opt/spotify/spotify-client/Icons/spotify-linux-64.png
opt/spotify/spotify-client/Icons/spotify-linux-512.png
opt/spotify/spotify-client/Icons/spotify-linux-24.png
opt/spotify/spotify-client/Icons/spotify-linux-22.png
opt/spotify/spotify-client/Icons/spotify-linux-48.png
opt/spotify/spotify-client/Icons/spotify-linux-32.png
opt/spotify/spotify-client/Icons/spotify-linux-256.png
opt/spotify/spotify-client/Icons/spotify-linux-16.png
opt/spotify/spotify-client/Data/
opt/spotify/spotify-client/Data/SpotifyHelper
opt/spotify/spotify-client/Data/libcef.so
opt/spotify/spotify-client/Data/locales/
opt/spotify/spotify-client/Data/locales/en-US.pak
opt/spotify/spotify-client/Data/devtools_resources.pak
opt/spotify/spotify-client/Data/cef.pak
opt/spotify/spotify-client/Data/apps.zip
opt/spotify/spotify-client/Data/resources.zip
opt/spotify/spotify-client/changelog
usr/
usr/doc/
usr/doc/spotify-0.9.4.183.g644e24e.428/
usr/doc/spotify-0.9.4.183.g644e24e.428/spotify32.SlackBuild
usr/doc/spotify-0.9.4.183.g644e24e.428/changelog.Debian.gz
usr/doc/spotify-0.9.4.183.g644e24e.428/copyright
usr/share/
usr/share/applications/
usr/share/applications/spotify.desktop
usr/share/spotify/
usr/bin/

Slackware package /tmp/spotify32-0.9.4.183.g644e24e.428-i386-2_SBo.tgz created.

root@porteus:/home/guest/spotify/spotify32# 
Here's the spotify module after txz2xzm.

And here's what comes after I type spotify in terminal once I've activated the module:

Code: Select all

Password: 
root@porteus:~# spotify
spotify: error while loading shared libraries: libQtGui.so.4: cannot open shared object file: No such file or directory
root@porteus:~# 
I've provided every bit of information that I possible could, and hopefully someone will be able to help me out. Thanks!