Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] g4 imac kdepimlibs fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1140
Location: Williamsburg Virginia

PostPosted: Wed Nov 21, 2012 11:27 am    Post subject: [SOLVED] g4 imac kdepimlibs fails Reply with quote

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
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3707

PostPosted: Wed Nov 21, 2012 4:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1140
Location: Williamsburg Virginia

PostPosted: Wed Nov 21, 2012 6:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1140
Location: Williamsburg Virginia

PostPosted: Wed Nov 21, 2012 11:05 pm    Post subject: Solved Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum