[Lunar-commits] <moonbase> phonon: version bumped to 4.4.4.

Dennis Veatch dennisveatch at bellsouth.net
Sat Jan 29 18:24:14 CET 2011


On Saturday, January 29, 2011 12:04:44 PM Zbigniew Luszpinski wrote:
> > On Friday, January 28, 2011 05:36:32 PM Florin Braescu wrote:
> > > commit 159143075da048c991aedc53f72b4eb87cd30522
> > > Author: Florin Braescu <florin at lunar-linux.org>
> > > Date:   Sat Jan 29 00:36:32 2011 +0200
> > > 
> > >     phonon: version bumped to 4.4.4.
> > >     
> > >     A better version.
> > > 
> > > ---
> > > 
> > >  kde4/utils/phonon/DETAILS |    8 ++++----
> > >  1 files changed, 4 insertions(+), 4 deletions(-)
> > > 
> > > diff --git a/kde4/utils/phonon/DETAILS b/kde4/utils/phonon/DETAILS
> > > index ff6e842..220a80c 100644
> > > --- a/kde4/utils/phonon/DETAILS
> > > +++ b/kde4/utils/phonon/DETAILS
> > > @@ -1,12 +1,12 @@
> > > 
> > >            MODULE=phonon
> > >            
> > >             MAJOR=4.4
> > > 
> > > -         VERSION=${MAJOR}.3
> > > +         VERSION=${MAJOR}.4
> > > 
> > >            SOURCE=$MODULE-$VERSION.tar.bz2
> > > 
> > > -      SOURCE_URL=$KDE_URL/stable/$MODULE/$VERSION
> > > -      SOURCE_VFY=sha1:50262d590beb648be9dcad6b913b920db19a84f8
> > > phonon-4.4.3.tar.bz2 +
> > > SOURCE_URL=$KDE_URL/stable/$MODULE/$VERSION/src
> > > +      SOURCE_VFY=sha1:7f31752c20efecbe63c7b312ceb28819fa337943
> > > 
> > >          WEB_SITE=http://www.kde.org
> > >          
> > >           ENTERED=20080625
> > > 
> > > -         UPDATED=20110128
> > > +         UPDATED=20110129
> > > 
> > >             SHORT="Multimedia API for KDE applications"
> > 
> > Florin, unless you have a patch and forgot to commit it that gets
> > around this make failure with kdebase4-runtime;
> > 
> > [ 56%] Building CXX object phonon/kded-
> > module/CMakeFiles/kded_phononserver.dir/kded_phononserver_automoc.o
> > [ 56%] Building CXX object phonon/kded-
> > module/CMakeFiles/kded_phononserver.dir/phononserver.o
> > /usr/src/kdebase-runtime-4.6.0/phonon/kded-module/phononserver.cpp: In
> > constructor 'PhononServer::PhononServer(QObject*, const
> > QList<QVariant>&)':
> > /usr/src/kdebase-runtime-4.6.0/phonon/kded-module/phononserver.cpp:66:
> > 5: error: 'registerMetaTypes' is not a member of 'Phonon'
> > /usr/src/kdebase-runtime-4.6.0/phonon/kded-module/phononserver.cpp: In
> > member function 'void PhononServer::updateAudioDevicesCache()':
> > /usr/src/kdebase-runtime-4.6.0/phonon/kded-module/phononserver.cpp:695:
> > 9: error: 'DeviceAccessList' is not a member of 'Phonon'
> > /usr/src/kdebase-runtime-4.6.0/phonon/kded-module/phononserver.cpp:695:
> > 34: error: expected ';' before 'deviceAccessList'
> > /usr/src/kdebase-runtime-4.6.0/phonon/kded-module/phononserver.cpp:711:
> > 17: error: 'deviceAccessList' was not declared in this scope
> > /usr/src/kdebase-runtime-4.6.0/phonon/kded-module/phononserver.cpp:711:
> > 37: error: 'DeviceAccess' is not a member of 'Phonon'
> > /usr/src/kdebase-runtime-4.6.0/phonon/kded-module/phononserver.cpp:714:
> > 67: error: 'deviceAccessList' was not declared in this scope
> > /usr/src/kdebase-runtime-4.6.0/phonon/kded-module/phononserver.cpp:733:
> > 9: error: 'DeviceAccessList' is not a member of 'Phonon'
> > /usr/src/kdebase-runtime-4.6.0/phonon/kded-module/phononserver.cpp:733:
> > 34: error: expected ';' before 'deviceAccessList'
> > /usr/src/kdebase-runtime-4.6.0/phonon/kded-module/phononserver.cpp:737:
> > 17: error: 'deviceAccessList' was not declared in this scope
> > /usr/src/kdebase-runtime-4.6.0/phonon/kded-module/phononserver.cpp:737:
> > 37: error: 'DeviceAccess' is not a member of 'Phonon'
> > /usr/src/kdebase-runtime-4.6.0/phonon/kded-module/phononserver.cpp:740:
> > 67: error: 'deviceAccessList' was not declared in this scope
> > make[2]: *** [phonon/kded-
> > module/CMakeFiles/kded_phononserver.dir/phononserver.o] Error 1
> > make[1]: *** [phonon/kded-module/CMakeFiles/kded_phononserver.dir/all]
> > Error 2 make: *** [all] Error 2
> > 
> > 
> > please revert phonon to 4.4.2.
> 
> No. You are wrong. Florin do NOT revert. Recent KDE we have in moonbase
> requires minimum phonon 4.4.3. phonon 4.4.4 is right choice. Reverting it
> to 4.4.2 will break KDE build and tell you to update phonon to minimum
> 4.4.3.
> 
> Dennins you have to fix your system build. What you see is what I had
> struggled with recently. I discovered that the source of this break lies
> in qt4 not kde or phonon. Qt4 contain old phonon which breaks kde build. I
> commited fixed qt4 into moonbase now.
> 
> Follow my steps in recovering from this bug:
> 1. do lunar update to get updated qt4
> (but clean up the update list so nothing is updated)
> 2. do lin -r -c qt4
> will ask you:
> Skip building old phonon? Needed by kdebase4-runtime
> Answer y. <--- Important!
> 3. build kdelibs4 (yes it built fine before but you have to build it again
> after updating qt4 otherwise you will get other phonon build error at
> linking part).
> 4. Now do lunar renew. All kde modules which failed before now will build
> fine: kdebase4-runtime, multimedia, bindings.
> 
> have a nice day,
> Zbigniew Luszpinski
> _______________________________________________

No you are wrong on disabling the Qt4 phonon. I have been through this with 
rdieter (kde-devel) and the phonon folks in IRC. An API (they are not sure 
which atm) is broken.

In fact their recommendation (as horrible as it is and did not really work) 
was this;

Build qt4 with -phonon, after it is installed; delete all files phonon 
related.  Then for qtscriptgenerator apply this patch;

http://pkgs.fedoraproject.org/gitweb/?p=qtscriptgenerator.git;a=blob;f=qtscriptgenerator-
src-0.1.0-no_phonon.patch

The patch worked but Amarok could not find qtscriptgenerator. rdieter did 
acknowledge using that method or -no-phonon for Qt4 will break things.

In fact here is a bug report about the above; 
https://bugs.kde.org/show_bug.cgi?id=262301

Yes, all the kde4/base modules will build BUT disabling the Qt4 phonon will 
prevent certain phonon bindings from being built which in turn will cause 
qtscriptgenerator from compiling and that prevents Amarok from compiling.

Additionally, IIRC in my travails with this it will also cause PyQt4 compile 
to fail due to the missing Qt4 phonon bindings.

Did any of you actually try any of this before committing?

-- 
Dennis `stumbles` Veatch
Lunar Linux Developer
http://www.lunar-linux.org/


More information about the Lunar-dev mailing list