[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bindings
Subject: Re: [Kde-bindings] [4.4.0] [maybe urgent] kdebindings fails to
From: "27/249" <i27249 () gmail ! com>
Date: 2010-02-04 22:59:20
Message-ID: 9e2469ba1002041459w5de1ff7g528693a7a798f47 () mail ! gmail ! com
[Download RAW message or body]
With attached patch, it compiles successfully. Please review it and
fix upstream :)
On Fri, Feb 5, 2010 at 1:52 AM, 27/249 <i27249@gmail.com> wrote:
> Tried to compile new KDE 4.4.0, and failed at kdebindings with error:
>
> [ 95%] Building CXX object
> python/pykde4/CMakeFiles/python_module_PyKDE4_plasma.dir/sip/plasma/sipplasmapart7.o
> (... skipped some unrelated warnings...)
> sipplasmapart7.cpp: At global scope:
> sipplasmapart7.cpp:2324: error: 'MoveDownLeft' is not a member of
> 'Plasma::Animation'
> sipplasmapart7.cpp:2325: error: 'MoveDownRight' is not a member of
> 'Plasma::Animation'
> sipplasmapart7.cpp:2329: error: 'MoveUpLeft' is not a member of
> 'Plasma::Animation'
> sipplasmapart7.cpp:2330: error: 'MoveUpRight' is not a member of
> 'Plasma::Animation'
> sipplasmapart7.cpp:2333: error: too many initializers for 'sipEnumMemberDef'
> sipplasmapart7.cpp:2333: error: too many initializers for 'sipEnumMemberDef'
> sipplasmapart7.cpp:2333: error: too many initializers for 'sipEnumMemberDef'
> sipplasmapart7.cpp:2333: error: too many initializers for 'sipEnumMemberDef'
> make[2]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_plasma.dir/sip/plasma/sipplasmapart7.o]
> Error 1
> make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_plasma.dir/all]
> Error 2
>
> As I investigated, this bug caused by yesterday's commit in kdelibs:
> http://websvn.kde.org/branches/KDE/4.4/kdelibs/plasma/animations/animation.h?r1=1073815&r2=1084111&sortby=date
>
> I think this is urgent due to upcoming official release. I'm not
> familiar with SIP, but now trying to make a patch, but it will be
> better if it will be done by one who knows the stuff.
>
> --
> Best regards, aix27249 <i27249@gmail.com>
>
--
Best regards, AiX 27/249 <i27249@gmail.com>
[Using null methods]
["kdebindings-plasma-animation.diff" (text/x-patch)]
--- kdebindings-4.4.0-new/python/pykde4/sip/plasma/animation.sip.orig 2010-02-05 01:37:39.000000000 +0300
+++ kdebindings-4.4.0-new/python/pykde4/sip/plasma/animation.sip 2010-02-05 01:56:31.527335382 +0300
@@ -27,7 +27,7 @@
public:
int duration () const;
- enum Reference
+ enum ReferenceFlag
{
Center,
Up,
@@ -35,6 +35,7 @@
Left,
Right
};
+
explicit Animation (QObject* parent /TransferThis/ = 0);
virtual ~Animation ()=0;
protected:
@@ -50,17 +51,15 @@
public:
void setTargetWidget (QGraphicsWidget* widget);
QGraphicsWidget* targetWidget () const;
- enum MovementDirection
+ enum MovementDirectionFlag
{
+ MoveAny,
MoveUp,
- MoveUpRight,
MoveRight,
- MoveDownRight,
MoveDown,
- MoveDownLeft,
MoveLeft,
- MoveUpLeft
};
+
void setEasingCurve (const QEasingCurve& curve);
QEasingCurve easingCurve () const;
};
_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic