Bug 156209 - kde-base/kwin-3.5.5-r2 and kde-base/kdesktop-3.5.5-r1 don't depend on new enough kdelibs
Bug#: 156209 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: CLOSED Severity: normal Priority: P2
Resolution: FIXED Assigned To: kde@gentoo.org Reported By: leio@gentoo.org
Component: KDE
URL: 
Summary: kde-base/kwin-3.5.5-r2 and kde-base/kdesktop-3.5.5-r1 don't depend on new enough kdelibs
Keywords:  
Status Whiteboard: 
Opened: 2006-11-25 04:55 0000
Description:   Opened: 2006-11-25 04:55 0000
I could emerge the new kwin and kdesktop with xinerama patches without portage
pulling in the kdelibs/qt with xinerama patches.
It seems to fail then for kwin and kdesktop.

kwin error:

workspace.cpp: In member function 'void KWinInternal::Workspace::init()':
workspace.cpp:292: error: 'WM2FullPlacement' is not a member of 'NET'
manage.cpp: In member function 'bool KWinInternal::Client::manage(Window,
bool)':
manage.cpp:208: error: 'class KStartupInfoData' has no member named 'xinerama'
manage.cpp:208: error: 'class KStartupInfoData' has no member named 'xinerama'
activation.cpp: In member function 'void
KWinInternal::Client::startupIdChanged()':
activation.cpp:895: error: 'class KStartupInfoData' has no member named
'xinerama'
activation.cpp:896: error: 'class KStartupInfoData' has no member named
'xinerama'
make[3]: *** [libkdeinit_kwin_la.all_cpp.lo] Error 1
make[3]: Leaving directory
`/var/tmp/portage/kde-base/kwin-3.5.5-r2/work/kwin-3.5.5/kwin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kde-base/kwin-3.5.5-r2/work/kwin-3.5.5/kwin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/kde-base/kwin-3.5.5-r2/work/kwin-3.5.5'
make: *** [all] Error 2

!!! ERROR: kde-base/kwin-3.5.5-r2 failed.

kdesktop fails with:

minicli.cpp: In member function 'int Minicli::runCommand()':
minicli.cpp:380: error: 'class KStartupInfoData' has no member named
'setXinerama'
minicli.cpp:518: error: call of overloaded 'KRun(KURL, QWidget*, QCString&)' is
ambiguous
/usr/kde/3.5/include/krun.h:113: note: candidates are: KRun::KRun(const KURL&,
QWidget*, mode_t, bool, bool) <near match>
/usr/kde/3.5/include/krun.h:86: note:                 KRun::KRun(const KURL&,
mode_t, bool, bool) <near match>
minicli.cpp:585: error: no matching function for call to
'KRun::runCommand(QString&, QString&, QString&, QWidget*, QCString&)'
/usr/kde/3.5/include/krun.h:288: note: candidates are: static pid_t
KRun::runCommand(QString)
/usr/kde/3.5/include/krun.h:301: note:                 static pid_t
KRun::runCommand(const QString&, const QString&, const QString&)
minicli.cpp:594: warning: control reaches end of non-void function
make[3]: *** [libkdeinit_kdesktop_la.all_cpp.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
desktop.cc: In member function 'virtual void
KDesktop::popupExecuteCommand(const QString&)':
desktop.cc:520: error: 'WM2FullPlacement' is not a member of 'NET'
make[3]: *** [libkdeinit_kdesktop_la.all_cc.lo] Error 1
make[3]: Leaving directory
`/var/tmp/portage/kde-base/kdesktop-3.5.5-r1/work/kdesktop-3.5.5/kdesktop'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kde-base/kdesktop-3.5.5-r1/work/kdesktop-3.5.5/kdesktop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/kde-base/kdesktop-3.5.5-r1/work/kdesktop-3.5.5'
make: *** [all] Error 2

!!! ERROR: kde-base/kdesktop-3.5.5-r1 failed.


I believe the minimum RDEP on kdelibs should be raised to 3.5.5-r7 in
kwin-3.5.5-r2 and kdesktop-3.5.5.-r1
PS: Isn't the kdelibs patch breaking ABI?

------- Comment #1 From Diego E. 'Flameeyes' Pettenò 2006-11-25 07:16:19 0000 -------
Fixed.

------- Comment #2 From Mart Raudsepp 2006-11-25 07:51:53 0000 -------
As noted in my bug description, kdesktop is affected too.
I tested this after having written the bug title, and edited the description
after quick testing, while forgetting to change the title before submission.

------- Comment #3 From Diego E. 'Flameeyes' Pettenò 2006-11-25 15:13:01 0000 -------
Now both fixed.

------- Comment #4 From Matthew Swaringen 2006-12-10 08:54:34 0000 -------
What if I'm having these kwin compile errors with the kdelibs 3.5.5-r7 ?

I'm assuming it's the sabayon overlay's version causing the problem, so have
removed their kdelibs ebuild to rebuild and see if that fixes the issue.

But I'm having exactly this error so thanks for report.

------- Comment #5 From Mark Makalsky 2006-12-11 12:03:02 0000 -------
to Matthew
please post here your result from recompiling the kdelibs and kwin not from
sabayon's overlay, as I'm having the same error as you do, and I'm also using
sabayon overlay.

------- Comment #6 From Diego E. 'Flameeyes' Pettenò 2006-12-11 12:14:03 0000 -------
Can you please just try without it and stop bothering us with bugs about
unsupported overlays?