Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 516740 - media-sound/spotify should RDEPEND on x11-libs/pango[X] and sys-apps/dbus[X]
Summary: media-sound/spotify should RDEPEND on x11-libs/pango[X] and sys-apps/dbus[X]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-09 07:24 UTC by Zoltán Halassy
Modified: 2014-07-14 04:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zoltán Halassy 2014-07-09 07:24:16 UTC
It is very rare that someone wants to use spotify without the X USE flag, but it happens.

spotify will miss a shared object, if pango is not built with X USE flag, and spotify will think it's already running and unwilling to run if dbus is not built with X USE flag.

Reproducible: Always

Steps to Reproduce:
Install spotify with pango[-X] or dbus[-X]
Actual Results:  
spotify will not run

Expected Results:  
The ebuild should require pango[X] and dbus[X].
Comment 1 Rafał Mużyło 2014-07-09 08:37:33 UTC
Attach paste the failure messages - 'ldd -r' errors (the missing symbol lists) preferably.
Comment 2 Zoltán Halassy 2014-07-09 19:08:17 UTC
(In reply to Rafał Mużyło from comment #1)
> Attach paste the failure messages - 'ldd -r' errors (the missing symbol
> lists) preferably.

When pango is compiled without X:

$ ldd /opt/spotify/spotify-client/spotify | fgrep 'not found'
        libpangoxft-1.0.so.0 => not found

When dbus is not running or dbus is compiled without X, it shows a Message box:

"Spotify is already running, but not responding. Please close it and try again"

while spotify is not actually running.
Comment 3 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2014-07-14 04:37:54 UTC
here's a list of needed programs (no use flags)

Used this string to get the list.

$ for lib in $(ldd /opt/spotify/spotify-client/spotify 2>/dev/null | awk '{print $3}' | sed '/^$/d'); do qfile "${lib}" | awk '{print $1}'; done | sort | uniq

app-arch/bzip2
app-crypt/mit-krb5
dev-libs/atk
dev-libs/dbus-glib
dev-libs/expat
dev-libs/glib
dev-libs/libffi
dev-libs/libgcrypt
dev-libs/libgpg-error
dev-libs/nspr
dev-libs/nss
dev-libs/openssl
dev-qt/qtcore
dev-qt/qtdbus
dev-qt/qtgui
gnome-base/gconf
media-gfx/graphite2
media-libs/alsa-lib
media-libs/fontconfig
media-libs/freetype
media-libs/harfbuzz
media-libs/libpng
media-libs/mesa
media-sound/spotify
net-print/cups
sys-apps/dbus
sys-apps/keyutils
sys-apps/util-linux
sys-devel/gcc
sys-libs/e2fsprogs-libs
sys-libs/glibc
sys-libs/zlib
x11-libs/cairo
x11-libs/gdk-pixbuf
x11-libs/gtk+
x11-libs/libICE
x11-libs/libSM
x11-libs/libX11
x11-libs/libXScrnSaver
x11-libs/libXau
x11-libs/libXcomposite
x11-libs/libXcursor
x11-libs/libXdamage
x11-libs/libXdmcp
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXft
x11-libs/libXi
x11-libs/libXinerama
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/libXxf86vm
x11-libs/libdrm
x11-libs/libxcb
x11-libs/pango
x11-libs/pixman
Comment 4 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2014-07-14 04:44:59 UTC
also, fixed in spotify-0.9.11.26-r1 spotify-0.9.4.183-r8