dev-python/pykde-3.16.1 was released on 2008-03-05. dev-python/pykde-4.0.2.1 was released on 2008-03-12. dev-python/qscintilla-python-2.2 was released on 2008-02-27. dev-python/sip-4.7.4 was released on 2008-02-12. x11-libs/qscintilla-2.2 was released on 2008-02-27. dev-python/pykde should be slotted.
I filed requests for version bumps, along with suggested ebuilds, for sip-4.7.5 (bug #222101) and qscintilla-2.2 (bug #222105)
Created attachment 153157 [details] pykde-4.0.2-1 ebuild diff Here's a diff that takes the first steps towards building pykde-4.0.2-1. There is a code block in sip/kdecore/typedefs.sip that needs to be commented out if PyQt4-4.4 is installed. I'm not an expert on ebuild syntax, and didnt know how to implement that logic, so the ebuild just applies the patch blindly. I'll post the patch next.
Created attachment 153159 [details, diff] pykde-4 patch This patch comments out a code block that is not compatible with PyQt4-4.4. It also adds a couple of directories that are required to build pykde-4 with kde4-4.0.3 or kde4-4.0.4.
The ebuild and patch I posted are not sufficient to get pykde-4 to compile. I'm to a point were I get errors that I am unable to diagnose on my own: g++ -c -Wno-deprecated-declarations -pipe -fPIC -O2 -march=k8 -mtune=k8 -pipe -fomit-frame-pointer -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -I. -I../extra/kde403 -I/usr/kde/4.0/include -I/usr/kde/4.0/include/QtCore -I/usr/kde/4.0/include/QtGui -I/usr/kde/4.0/include/QtNetwork -I/usr/kde/4.0/include/sonnet -I/usr/include/python2.5 -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/X11R6/include -o sipkdecoreKMacroExpanderBase.o sipkdecoreKMacroExpanderBase.cpp g++ -c -Wno-deprecated-declarations -pipe -fPIC -O2 -march=k8 -mtune=k8 -pipe -fomit-frame-pointer -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -I. -I../extra/kde403 -I/usr/kde/4.0/include -I/usr/kde/4.0/include/QtCore -I/usr/kde/4.0/include/QtGui -I/usr/kde/4.0/include/QtNetwork -I/usr/kde/4.0/include/sonnet -I/usr/include/python2.5 -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/X11R6/include -o sipkdecoreKLibrary.o sipkdecoreKLibrary.cpp /usr/kde/4.0/include/kmacroexpander.h: In member function 'KMacroExpanderBase& KMacroExpanderBase::operator=(const KMacroExpanderBase&)': /usr/kde/4.0/include/kmacroexpander.h:39: error: non-static const member 'KMacroExpanderBasePrivate* const KMacroExpanderBase::d', can't use default assignment operator /usr/kde/4.0/include/kmacroexpander.h: In member function 'KCharMacroExpander& KCharMacroExpander::operator=(const KCharMacroExpander&)': /usr/kde/4.0/include/kmacroexpander.h:224: note: synthesized method 'KMacroExpanderBase& KMacroExpanderBase::operator=(const KMacroExpanderBase&)' first required here sipkdecoreKCharMacroExpander.cpp: In function 'void assign_KCharMacroExpander(void*, const void*)': sipkdecoreKCharMacroExpander.cpp:279: note: synthesized method 'KCharMacroExpander& KCharMacroExpander::operator=(const KCharMacroExpander&)' first required here make[1]: *** [sipkdecoreKCharMacroExpander.o] Error 1 make[1]: *** Waiting for unfinished jobs.... /usr/kde/4.0/include/kmacroexpander.h: In member function 'KMacroExpanderBase& KMacroExpanderBase::operator=(const KMacroExpanderBase&)': /usr/kde/4.0/include/kmacroexpander.h:39: error: non-static const member 'KMacroExpanderBasePrivate* const KMacroExpanderBase::d', can't use default assignment operator /usr/kde/4.0/include/kmacroexpander.h: In member function 'KWordMacroExpander& KWordMacroExpander::operator=(const KWordMacroExpander&)': /usr/kde/4.0/include/kmacroexpander.h:192: note: synthesized method 'KMacroExpanderBase& KMacroExpanderBase::operator=(const KMacroExpanderBase&)' first required here sipkdecoreKWordMacroExpander.cpp: In function 'void assign_KWordMacroExpander(void*, const void*)': sipkdecoreKWordMacroExpander.cpp:281: note: synthesized method 'KWordMacroExpander& KWordMacroExpander::operator=(const KWordMacroExpander&)' first required here /usr/kde/4.0/include/kmacroexpander.h: In member function 'KMacroExpanderBase& KMacroExpanderBase::operator=(const KMacroExpanderBase&)': /usr/kde/4.0/include/kmacroexpander.h:39: error: non-static const member 'KMacroExpanderBasePrivate* const KMacroExpanderBase::d', can't use default assignment operator sipkdecoreKMacroExpanderBase.cpp: In function 'void assign_KMacroExpanderBase(void*, const void*)': sipkdecoreKMacroExpanderBase.cpp:329: note: synthesized method 'KMacroExpanderBase& KMacroExpanderBase::operator=(const KMacroExpanderBase&)' first required here make[1]: *** [sipkdecoreKWordMacroExpander.o] Error 1 make[1]: *** [sipkdecoreKMacroExpanderBase.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-python/pykde-4.0.2.1/work/PyKDE4-4.0.2-1/kdecore' make: *** [all] Error 2
*** Bug 222105 has been marked as a duplicate of this bug. ***
Bug #214408 addresses this issue as well, only it's more updated and general. I think this bug should be closed as duplicate and we can continue over there.
(In reply to comment #6) > Bug #214408 addresses this issue as well, only it's more updated and general. I > think this bug should be closed as duplicate and we can continue over there. Bug 214062 was reported before Bug 214408, so Bug 214408 should be closed as a duplicate of Bug 214062.
I've put pykde4-4.1.2 in the tree.
03 Dec 2008; Patrick Lauer <patrick@gentoo.org> +pykde-3.16.2.ebuild: Bumping to 3.16.2, closing 214062