[SM-Grimoire-Bugs] [Bug 15585] kdebase4-runtime fails to build

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Tue Feb 23 11:30:30 EST 2010


--- Comment #9 from Tommy Boatman <tboatman at sourcemage.org>  2010-02-23 10:30:28 ---
(In reply to comment #7)
> do you have gstreamer installed?
> what does qt4 compile report about phonon?
> I have been doing some rebuilds and found a slightly different problem - kde
> found some phonon includes from qt4, and the library from phonon itself!
> In the beginning there was KDE, which begat phonon, which was adopted by qt.
> phonon supports several backends, including gstreamer and xine on linux.
> KDE uses libphonon directly. it needs a recent version 4.3.80 of phonon with
> xine support.
> QT added added a wrapper class, Phonon, and will build phonon support if it
> finds gstreamer. It provides version 4.3.1 of phonon.
> I am not aware of any programs which use the Phonon wrapper.
> If qt4 builds phonon support, kde finds the old version of phonon from qt4,
> depending on the search paths.
> There are two phonon related options in qt4-4.6.2 - -phonon and -phonon-backend
> It may be possible to build the Phonon wrapper without the obsolete backend,
> but the qt build system is difficult to understand, but qt4 definitely needs to
> disable the phonon backend when building for use with kde, and also a optional
> depends on gstreamer regarding phonon support.
>    -no-phonon ......... Do not build the Phonon module.
>  +  -phonon ............ Build the Phonon module.
>     -no-phonon-backend.. Do not build the platform phonon plugin.
>  +  -phonon-backend..... Build the platform phonon plugin.

gstreamer is installed at the latest version.  I 

QT4 compile log...

Configuration .......  release shared dll largefile stl precompile_header mmx
3dnow sse sse2  minimal-config small-config medium-config large-config
full-config qt3support phonon phonon-backend accessibility opengl
reduce_exports ipv6 clock-gettime clock-monotonic mremap getaddrinfo ipv6ifname
getifaddrs inotify system-jpeg system-mng system-png png gif system-tiff
system-freetype system-zlib nis cups iconv glib gstreamer dbus openssl x11sm
xshape xsync xrender mitshm fontconfig xkb alsa xmlpatterns multimedia
audio-backend svg webkit script scripttools release
Debug ............... no
Qt 3 compatibility .. yes
QtDBus module ....... yes (run-time)
QtConcurrent code.... yes
QtScript module ..... yes
QtScriptTools module  yes
QtXmlPatterns module  yes
Phonon module ....... yes
Multimedia module ... yes

So yes it has compiled the phonon backend into my system.

Incidentally, I had not committed any changes yet, but my getting it to work
led me in exactly the direction you went with commit
647fdd27922907f393a16f1ff3d064e19d430baf which puts phonon in /opt/kde4.

I can verify that this is working.  My only building problem for the rest of
the entire kde4 suite is kdebindings4, which I fixed by disabling phonon smoke
options.  It's related though because it deals with phonon.

To kdebindings4 I added 

config_query_option SMOKE_OPTS "Build Phonon smoke?" y \
                    "-DENABLE_PHONON_SMOKE=on" "-DENABLE_PHONON_SMOKE=off"

to CONFIGURE so I could turn it off to test.  It works, but I'm not sure enough
of the ramifications to commit it.

Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the SM-Grimoire-Bugs mailing list