Installing Spotify

Get help with XFCE specific problems
Jacoby59
Black ninja
Black ninja
Posts: 49
Joined: 07 Apr 2014, 04:10
Distribution: Porteus 3.0 RazorQT
Location: Chicago

Installing Spotify

Post#1 by Jacoby59 » 23 Jul 2015, 05:17

Can anyone help me install Spotify desktop app on 32 bit Porteus 3.0 XFCE? Thanks!

beny
Full of knowledge
Full of knowledge
Posts: 729
Joined: 02 Jan 2011, 11:33
Location: italy

Re: Installing Spotify

Post#2 by beny » 23 Jul 2015, 19:42

if you have the usm ok, usm -b spotify32 or you can grab the slackbuild from sbo,devel.xzm is required for build task.

User avatar
francois
Contributor
Contributor
Posts: 5000
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Installing Spotify

Post#3 by francois » 24 Jul 2015, 18:49

@jacoby:

What do you like so much about spotify? As there are many other alternatives:
https://en.wikipedia.org/wiki/Compariso ... c_services
Voltaire: Le mieux est l'ennemi du bien.

beny
Full of knowledge
Full of knowledge
Posts: 729
Joined: 02 Jan 2011, 11:33
Location: italy

Re: Installing Spotify

Post#4 by beny » 25 Jul 2015, 18:20

hi francois this link have no sense,there are only two services that work with linux,spotify and tomahawk.

User avatar
francois
Contributor
Contributor
Posts: 5000
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Installing Spotify

Post#5 by francois » 26 Jul 2015, 01:43

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
Voltaire: Le mieux est l'ennemi du bien.

beny
Full of knowledge
Full of knowledge
Posts: 729
Joined: 02 Jan 2011, 11:33
Location: italy

Re: Installing Spotify

Post#6 by beny » 26 Jul 2015, 20:11

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

Jacoby59
Black ninja
Black ninja
Posts: 49
Joined: 07 Apr 2014, 04:10
Distribution: Porteus 3.0 RazorQT
Location: Chicago

Re: Installing Spotify

Post#7 by Jacoby59 » 27 Jul 2015, 18:23

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?

beny
Full of knowledge
Full of knowledge
Posts: 729
Joined: 02 Jan 2011, 11:33
Location: italy

Re: Installing Spotify

Post#8 by beny » 27 Jul 2015, 20:05

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
Last edited by beny on 27 Jul 2015, 20:07, edited 1 time in total.

User avatar
francois
Contributor
Contributor
Posts: 5000
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Installing Spotify

Post#9 by francois » 27 Jul 2015, 20:06

Voltaire: Le mieux est l'ennemi du bien.

beny
Full of knowledge
Full of knowledge
Posts: 729
Joined: 02 Jan 2011, 11:33
Location: italy

Re: Installing Spotify

Post#10 by beny » 27 Jul 2015, 23:03

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..

Jacoby59
Black ninja
Black ninja
Posts: 49
Joined: 07 Apr 2014, 04:10
Distribution: Porteus 3.0 RazorQT
Location: Chicago

Re: Installing Spotify

Post#11 by Jacoby59 » 28 Jul 2015, 14:40

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.

User avatar
francois
Contributor
Contributor
Posts: 5000
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Installing Spotify

Post#12 by francois » 28 Jul 2015, 22:11

@jacoby:

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

Code: Select all

root@porteus:~# spotify
root@porteus:~# 
Voltaire: Le mieux est l'ennemi du bien.

User avatar
sunnysideofthesun
Black ninja
Black ninja
Posts: 62
Joined: 24 Apr 2015, 22:16
Distribution: other
Location: check the logs

Re: Installing Spotify

Post#13 by sunnysideofthesun » 28 Jul 2015, 22:42

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.

beny
Full of knowledge
Full of knowledge
Posts: 729
Joined: 02 Jan 2011, 11:33
Location: italy

Re: Installing Spotify

Post#14 by beny » 29 Jul 2015, 02:44

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.

Jacoby59
Black ninja
Black ninja
Posts: 49
Joined: 07 Apr 2014, 04:10
Distribution: Porteus 3.0 RazorQT
Location: Chicago

Re: Installing Spotify

Post#15 by Jacoby59 » 29 Jul 2015, 06:04

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!
Last edited by Jacoby59 on 29 Jul 2015, 06:08, edited 2 times in total.

Post Reply