Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 443464 - media-sound/tomahawk - Missing dependency required by phonon to play sound.
Summary: media-sound/tomahawk - Missing dependency required by phonon to play sound.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Johannes Huber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-16 00:29 UTC by Timewarper
Modified: 2012-11-16 17:37 UTC (History)
2 users (show)

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


Attachments
tomahawk --verbose, with debug=5 phonon variables (log,66.78 KB, text/plain)
2012-11-16 00:39 UTC, Timewarper
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timewarper 2012-11-16 00:29:30 UTC
The package is missing a critical dependency which is required by phonon in order for the program to work, otherwise you get no sound.
The dependency is kde-base/phonon-kde which provides kcm_phonon.so library, otherwise the program complains that it can't find *any* phonon plugin.

Not phonon-gstreamer or phonon-vlc works without kde-base/phonon-kde.
Kde obviously provides kde-base/phonon-kde by default, so i imagine in kde there is no problem installing tomahawk with the current dependencies.
But i tried to emerge tomahawk-0.5.5 in gnome-shell, it pulled all dependencies and still i had no sound.
Please inlcude kde-base/phonon-kde to dependencies as soon as possible.

Also it would be nice if you included the following post-installation message after emerging tomahawk:
"If you are not using KDE4, in order to change phonon backend (vlc,gstreamer,xine) you need to 'emerge kcmshell' and run 'kcmshell4 kcm_phonon'. Under backend tab you can select your phonon-backend. Note that you need to relog in order for changes to take effect"

This is very important too as i personally (and a lot of people online who had problems with phonon-gstreamer) wanted to use phonon-vlc (unmerging phonon-gsteamer might work too as a workaround) as the default phonon-backend.
This can be done using kcmshell, which apparently not many people in #kde no either, as i was lucky after hours of asking/waiting in the channel to find this answer.

Reproducible: Always

Steps to Reproduce:
1. emerge gnome
2. emerge tomahawk

(tomahawk with its current dependencies works only on kde)
Actual Results:  
Without phonon-kde which provices kcm_phonon.so shared library Tomahawk doesn't play songs under gnome-shell with either phonon-vlc or phonon-gstreamer backends.

Expected Results:  
Tomahawk playing songs, with just emerging tomahawk (emerge tomahawk)
Comment 1 Timewarper 2012-11-16 00:39:44 UTC
Created attachment 329634 [details]
tomahawk --verbose, with debug=5 phonon variables

This is the log i got from tomahawk when sound was not working (prior to installation of kcm_phonon.so library).
Comment 2 Johannes Huber (RETIRED) gentoo-dev 2012-11-16 17:37:21 UTC
> johu@elia ~ $ cat /usr/local/bin/scan
> #!/bin/sh
> qlist -e "$@" | xargs scanelf -L -n -q -F '%n #F' | tr , ' ' | xargs qfile -Cv | sort -u | awk '{print $1}' | uniq

> johu@elia ~ $ scan tomahawk 
> app-crypt/qca-2.0.3
> dev-cpp/clucene-2.3.3.4-r4
> dev-libs/libattica-9999
> dev-libs/qjson-0.7.1_p20121016
> dev-libs/quazip-0.5
> media-libs/libechonest-2.0.1
> media-libs/liblastfm-1.0.3
> media-libs/phonon-4.6.0-r1
> media-libs/taglib-1.8
> media-sound/tomahawk-9999
> net-libs/jreen-1.1.0
> net-libs/qtweetlib-0.5
> sys-devel/gcc-4.6.3
> sys-libs/glibc-2.16.0
> x11-libs/libX11-1.5.0
> x11-libs/qt-core-4.8.3-r1
> x11-libs/qt-dbus-4.8.3
> x11-libs/qt-gui-4.8.3-r1
> x11-libs/qt-sql-4.8.3
> x11-libs/qt-webkit-4.8.3

1. emerge -C phonon-kde
2. start tomahawk
3. play song
4. listening to music

Sorry, works for me.


>(In reply to comment #0)
> Also it would be nice if you included the following post-installation
> message after emerging tomahawk:
> "If you are not using KDE4, in order to change phonon backend
> (vlc,gstreamer,xine) you need to 'emerge kcmshell' and run 'kcmshell4
> kcm_phonon'. Under backend tab you can select your phonon-backend. Note that
> you need to relog in order for changes to take effect"

This is true for all phonon based apps in gnome. This is not tomahawk specific.