View previous topic :: View next topic |
Author |
Message |
rommel Veteran
Joined: 19 Apr 2002 Posts: 1145 Location: Williamsburg Virginia
|
Posted: Wed Nov 21, 2012 11:27 am Post subject: [SOLVED] g4 imac kdepimlibs fails |
|
|
any ideas would be appreciated. wgetpast with info
Last edited by rommel on Thu Nov 22, 2012 2:58 am; edited 1 time in total |
|
Back to top |
|
|
gringo Advocate
Joined: 27 Apr 2003 Posts: 3793
|
Posted: Wed Nov 21, 2012 4:05 pm Post subject: |
|
|
Code: | /var/tmp/portage/kde-base/kdepimlibs-4.8.5/work/kdepimlibs-4.8.5_build/akonadi/resourceadaptor.cpp:51:22: error: ‘class Akonadi::ResourceBase’ has no member named ‘requestItemDeliveryV2’ |
looks similar too this -> https://forums.gentoo.org/viewtopic-p-6703157.html . Maybe worth checking ?
hope this helps.
cheers |
|
Back to top |
|
|
rommel Veteran
Joined: 19 Apr 2002 Posts: 1145 Location: Williamsburg Virginia
|
Posted: Wed Nov 21, 2012 6:30 pm Post subject: |
|
|
i had done emerge -e world and it was still failing but i am trying it again... so re-emerging akonadi-server and then kdepimlibs. in his thread seemed it was from downgrading. this was a clean install on this imac that i just replaced the logic board in. but its worth a shot. thanks for help |
|
Back to top |
|
|
rommel Veteran
Joined: 19 Apr 2002 Posts: 1145 Location: Williamsburg Virginia
|
Posted: Wed Nov 21, 2012 11:05 pm Post subject: Solved |
|
|
i masked akonadi-server-1.8.1 and emerged 1.8.0... kdepimlibs builds against this version fine. after that pykde4 was failing and i needed to add this patch to files and edit the ebuild to use it. strange it isnt already in portage. pykde4-mapped-type-fix.patch and edit ebuild adding PATCHES=( "${FILESDIR}/${PN}-mapped-type-fix.patch" ) right above pkg_setup
Code: | --- sip/kdecore/typedefs.sip
+++ sip/kdecore/typedefs.sip
@@ -950,78 +950,3 @@
return sipGetState(sipTransferObj);
%End
};
-
-%MappedType QVector<int>
-{
-%TypeHeaderCode
-#include <qvector.h>
-%End
-
-%ConvertFromTypeCode
- // Create the list.
- PyObject *l;
-
- if ((l = PyList_New(sipCpp->size())) == NULL)
- return NULL;
-
- // Set the list elements.
- for (int i = 0; i < sipCpp->size(); ++i)
- {
- int t = (sipCpp->at(i));
-
-#if PY_MAJOR_VERSION >= 3
- PyObject *tobj = PyLong_FromLong(t);
-#else
- PyObject *tobj = PyInt_FromLong(t);
-#endif
-
- PyList_SET_ITEM(l, i, tobj);
- }
-
- return l;
-%End
-
-%ConvertToTypeCode
- // Check the type if that is all that is required.
- if (sipIsErr == NULL)
- {
- if (!PyList_Check(sipPy))
- return 0;
-
- for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i) {
- PyObject *tobj = PyList_GET_ITEM(sipPy, i);
-#if PY_MAJOR_VERSION >= 3
- if (!PyNumber_Check(tobj))
-#else
- if (!PyInt_Check(tobj))
-#endif
- return 0;
- }
- return 1;
- }
-
- QVector<int> *qv = new QVector<int>;
-
- for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i)
- {
- PyObject *tobj = PyList_GET_ITEM(sipPy, i);
- #if PY_MAJOR_VERSION >= 3
- int t = PyLong_AsLong (tobj);
-#else
- int t = PyInt_AS_LONG (tobj);
-#endif
-
- if (*sipIsErr)
- {
- delete qv;
- return 0;
- }
-
- qv->append(t);
- }
-
- *sipCppPtr = qv;
-
- return sipGetState(sipTransferObj);
-%End
-}; |
|
|
Back to top |
|
|
|