Re: OSX/CI system: kgeography build broken on branch frameworks

2014-07-10 Thread David Gil Oliva
Hi!

El 10/07/2014 07:12, Marko Käning mk-li...@email.de escribió:

 Hi,

 I ran into a build failure with geography because of a missing docbook
file.

I began the port to kf5. I was waiting until August, which is when I'll
have more time to finish it. Some parts need a rewriting and the family
doesn't give me much time right now.

Anyway, you're welcome to fix this problem.

 Is this a meinproc5 issue?

Can't help at that, sorry.

Cheers,

David Gil

 Secondly there is a build warning shown during the configure phase, see
at the very bottom of this email.

 Greets,
 Marko




 ---

 index.docbook:8: warning: failed to load external entity dtd/kdex.dtd
 ]
   ^
 index.docbook:10: parser error : Entity 'language' not defined
 book id=kgeography lang=language;
   ^






 ---


 -- Found Gettext: /opt/local/bin/msgmerge (found version 0.19.1)
 CMake Warning (dev) at
/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kdelibs4support/inst/lib/cmake/KF5KDE4Support/KF5KDE4SupportConfig.cmake:94
(message):
 The KF5KDE4Support package is deprecated: use
 find_package(KF5KDELibs4Support) or
 find_package(KF5 COMPONENTS KDELibs4Support) instead.
 Call Stack (most recent call first):

/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kf5umbrella/inst/lib/cmake/KF5/KF5Config.cmake:28
(find_package)
   CMakeLists.txt:18 (find_package)
 This warning is for project developers.  Use -Wno-dev to suppress it.

 ___
 Kde-frameworks-devel mailing list
 Kde-frameworks-devel@kde.org
 https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Re: Review Request 119164: khtml: install kxmlgui .rc files into KXMLGUI_INSTALL_DIR (= share/kxmlgui5)

2014-07-10 Thread Marko Käning

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/119164/#review62039
---


Hi David,

it turns out that this lets the rc file indeed go into the 
/Library/Application Support/khtml folder here on the OSX/CI system:
---
$ ls -1 
/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/khtml/inst/Library/Application\
 Support/khtml
khtml5.rc
khtml5_browser.rc
---

But I want to underline, that for khtml files get installed in two parallel 
folders, i.e.  
---
$ ls -R 
/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/khtml/inst/Library/Application\
 Support/
.:
kf5  khtml

./kf5:
khtml  kjava

./kf5/khtml:
css  error.html

./kf5/khtml/css:
html4.css  presentational.css  quirks.css

./kf5/kjava:
kjava.jar  kjava.policy  pluginsinfo

./khtml:
khtml5.rc  khtml5_browser.rc  
---

Well, I am still unsure whether the rc files in khtml could/should not also go 
to kf5/khtml... Probably not, right?

Greets,
Marko

- Marko Käning


On July 7, 2014, 9:17 p.m., David Faure wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/119164/
 ---
 
 (Updated July 7, 2014, 9:17 p.m.)
 
 
 Review request for KDE Frameworks, Jonathan Riddell, Marko Käning, and Martin 
 Tobias Holmedahl Sandsmark.
 
 
 Repository: khtml
 
 
 Description
 ---
 
 khtml: install kxmlgui .rc files into KXMLGUI_INSTALL_DIR (= share/kxmlgui5)
 
 This removes the need to version the file themselves, so revert that.
 
 
 Diffs
 -
 
   src/CMakeLists.txt fe4f49e5799f6b8781eebb217c49b9171600e2f3 
   src/khtml_part.cpp d7dcb92619d1ba69f015b3a48d9b352f40241196 
 
 Diff: https://git.reviewboard.kde.org/r/119164/diff/
 
 
 Testing
 ---
 
 testkhtml still has menus (even after removing the old files)
 
 
 Thanks,
 
 David Faure
 


___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Re: OSX/CI system: kgeography build broken on branch frameworks

2014-07-10 Thread Luigi Toscano
Marko Käning ha scritto:
 Hi,
 
 I ran into a build failure with geography because of a missing docbook file. 
[...]
 index.docbook:8: warning: failed to load external entity dtd/kdex.dtd

kgeography/kf5 uses the old DocBook version (4.2), which should still work,
provided you have kdelibs4support installed.
This is supposed to work also when KDocTools and kdelibs4support are installed
in different paths, as you can see here:
https://git.reviewboard.kde.org/r/116670/
https://git.reviewboard.kde.org/r/116781/

 
 Is this a meinproc5 issue?

Path issue again I suspect, see above.
Other possibility: port to the new DocBook (see the frameworks porting page),
but the fact that it does not work should be considered as a bug.

Ciao
-- 
Luigi
___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Re: Review Request 119164: khtml: install kxmlgui .rc files into KXMLGUI_INSTALL_DIR (= share/kxmlgui5)

2014-07-10 Thread David Faure


 On July 10, 2014, 6:07 a.m., Marko Käning wrote:
  Hi David,
  
  it turns out that this lets the rc file indeed go into the 
  /Library/Application Support/khtml folder here on the OSX/CI system:
  ---
  $ ls -1 
  /opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/khtml/inst/Library/Application\
   Support/khtml
  khtml5.rc
  khtml5_browser.rc
  ---
  
  But I want to underline, that for khtml files get installed in two parallel 
  folders, i.e.  
  ---
  $ ls -R 
  /opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/khtml/inst/Library/Application\
   Support/
  .:
  kf5  khtml
  
  ./kf5:
  khtml  kjava
  
  ./kf5/khtml:
  css  error.html
  
  ./kf5/khtml/css:
  html4.css  presentational.css  quirks.css
  
  ./kf5/kjava:
  kjava.jar  kjava.policy  pluginsinfo
  
  ./khtml:
  khtml5.rc  khtml5_browser.rc  
  ---
  
  Well, I am still unsure whether the rc files in khtml could/should not also 
  go to kf5/khtml... Probably not, right?
  
  Greets,
  Marko

You're describing the situation WITHOUT this patch.
With this patch, khtml.rc and khtml_browser.rc  (no '5' anymore) get installed 
to share/kxmlgui5 or whereever your KXMLGUI_INSTALL_DIR points to.

kf5/khtml wouldn't work for kxmlgui files, we've been over this already.


- David


---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/119164/#review62039
---


On July 7, 2014, 7:17 p.m., David Faure wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/119164/
 ---
 
 (Updated July 7, 2014, 7:17 p.m.)
 
 
 Review request for KDE Frameworks, Jonathan Riddell, Marko Käning, and Martin 
 Tobias Holmedahl Sandsmark.
 
 
 Repository: khtml
 
 
 Description
 ---
 
 khtml: install kxmlgui .rc files into KXMLGUI_INSTALL_DIR (= share/kxmlgui5)
 
 This removes the need to version the file themselves, so revert that.
 
 
 Diffs
 -
 
   src/CMakeLists.txt fe4f49e5799f6b8781eebb217c49b9171600e2f3 
   src/khtml_part.cpp d7dcb92619d1ba69f015b3a48d9b352f40241196 
 
 Diff: https://git.reviewboard.kde.org/r/119164/diff/
 
 
 Testing
 ---
 
 testkhtml still has menus (even after removing the old files)
 
 
 Thanks,
 
 David Faure
 


___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Re: OSX/CI system: analitza build broken on branch frameworks

2014-07-10 Thread Aleix Pol
On Thu, Jul 10, 2014 at 6:48 AM, Marko Käning mk-li...@email.de wrote:

 Hi Aleix,

 On 10 Jul 2014, at 01:52 , Aleix Pol aleix...@kde.org wrote:

 n Thu, Jul 10, 2014 at 1:18 AM, Nicolás Alvarez nicolas.alva...@gmail.com
  wrote:


 Are you sure you're building the correct branch? Note that
 analitza.git doesn't have a 'frameworks' branch, it's called 'kf5’.


 yep, I had seen that, but didn’t know how to handle it… There are quite a
 few cases like that.



 --
 Nicolás

 Yeah... let me fix that.


 Thanks, now it there is more progress, but there’s s till a build failure
 later on. See below.

 Greets,
 Marko


 ———



  80%] Building CXX object
 analitzaplot/CMakeFiles/AnalitzaPlot.dir/plotter3d.cpp.o
 [ 81%] Building CXX object
 analitzaplot/CMakeFiles/AnalitzaPlot.dir/AnalitzaPlot_automoc.cpp.o
 /Users/marko/WC/KDECI-builds/analitza/analitzaplot/plotter3d.cpp:30:10:
 fatal error: 'GL/gl.h' file not found
 #include GL/gl.h
  ^
 /Users/marko/WC/KDECI-builds/analitza/analitzaplot/plotter2d.cpp:380:50:
 error: call to 'abs' is ambiguous
 s += computeAngleLabelByStep(std::abs(i), bigstep);
  ^~~~
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:660:1:
 note: candidate function
 abs(float __x) _NOEXCEPT {return fabsf(__x);}
 ^
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:664:1:
 note: candidate function
 abs(double __x) _NOEXCEPT {return fabs(__x);}
 ^
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:668:1:
 note: candidate function
 abs(long double __x) _NOEXCEPT {return fabsl(__x);}
 ^
 /Users/marko/WC/KDECI-builds/analitza/analitzaplot/plotter2d.cpp:383:85:
 error: call to 'abs' is ambiguous
 const QPairunsigned int, unsigned int frac =
 simplifyFraction(std::abs(i), step);

   ^~~~


Do you know how we can ensure that GL/gl.h is available on mac? It used to
work, at least...

Anyway, please open an issue in here:
https://bugs.kde.org/enter_bug.cgi?product=analitza
This way we can keep track of the issue.

Thanks!
Aleix
___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Re: KF5 Update Meeting Minutes 2014-w28

2014-07-10 Thread David Faure
On Thursday 10 July 2014 07:41:31 Marko Käning wrote:
 Most support I need re QStandardPaths and I would be stealing some Unix code
 from  QStandardPaths::writableLocation() to be found in
 qstandardpaths_unix.cpp where XDG is being used to determine the
 environment of the system the Qt5 program runs on, using qgetenv() like
 e.g. this:
 ---
 QString xdgCacheHome = QFile::decodeName(qgetenv(XDG_CACHE_HOME));
 ---
 Since the CI system - of course - makes use of these XDG environment
 variables during the test of every framework and application installed, it
 would be great if all these environment vars would be given to the CI
 system by a patched qt5 as well. I am working on it and will post a RR once
 I’ve got something working.

Wrong approach. XDG is a freedesktop thing which doesn't apply to Mac.

This should be fixed the other way around:
1) finding out how Mac OS lets people configure the location for their files,
or if this isn't configurable, coming up with QT_* environment variables.
2) patching QStandardPaths to use these
3) setting these vars in the CT scripts

-- 
David Faure, fa...@kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5

___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Re: OSX/CI system: analitza build broken on branch frameworks

2014-07-10 Thread Nicolás Alvarez
2014-07-10 6:25 GMT-03:00 Aleix Pol aleix...@kde.org:
 On Thu, Jul 10, 2014 at 6:48 AM, Marko Käning mk-li...@email.de wrote:

 Thanks, now it there is more progress, but there’s s till a build failure
 later on. See below.

 Greets,
 Marko


 ———



  80%] Building CXX object
 analitzaplot/CMakeFiles/AnalitzaPlot.dir/plotter3d.cpp.o
 [ 81%] Building CXX object
 analitzaplot/CMakeFiles/AnalitzaPlot.dir/AnalitzaPlot_automoc.cpp.o
 /Users/marko/WC/KDECI-builds/analitza/analitzaplot/plotter3d.cpp:30:10:
 fatal error: 'GL/gl.h' file not found
 #include GL/gl.h
  ^


 Do you know how we can ensure that GL/gl.h is available on mac? It used to
 work, at least...

Apparently someone at Apple thought that it was a fantastic idea for
the header to be in a different place to every other platform in
existence. -- 
https://lists.apple.com/archives/mac-games-dev/2007/Jun/msg00030.html

You need:
#ifdef __APPLE__
#include OpenGL/gl.h
#else
#include GL/gl.h
#endif

-- 
Nicolás
___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Build failed in Jenkins: plasma-framework_master_qt5 » All,LINBUILDER #627

2014-07-10 Thread KDE CI System
See 
http://build.kde.org/job/plasma-framework_master_qt5/Variation=All,label=LINBUILDER/627/changes

Changes:

[aleixpol] Introduce TimeTracker debugging tool for plasma

[aleixpol] Don't connect to signals until the class has been initialized

--
[...truncated 956 lines...]
 inline QMetaObject::Connection QObject::connect(const QObject *asender, const 
char *asignal,
^
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtCore/qobject.h:479:32:
 note:   no known conversion for argument 2 from ‘void 
(Plasma::Containment::*)(const QString)’ to ‘const char*’
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtCore/qobject.h:215:43:
 note: templateclass Func1, class Func2 static QMetaObject::Connection 
QObject::connect(const typename QtPrivate::FunctionPointerFunc::Object*, 
Func1, const typename QtPrivate::FunctionPointerFunc2::Object*, Func2, 
Qt::ConnectionType)
 static inline QMetaObject::Connection connect(const typename 
QtPrivate::FunctionPointerFunc1::Object *sender, Func1 signal,
   ^
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtCore/qobject.h:215:43:
 note:   template argument deduction/substitution failed:
http://build.kde.org/job/plasma-framework_master_qt5/Variation=All,label=LINBUILDER/ws/src/scriptengines/qml/plasmoid/containmentinterface.cpp:156:14:
 note:   mismatched types ‘const typename 
QtPrivate::FunctionPointerFunc::Object*’ and ‘QPointerPlasma::Containment’
 });
  ^
In file included from 
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtWidgets/qwidget.h:46:0,
 from 
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtWidgets/qmenu.h:45,
 from 
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtWidgets/QMenu:1,
 from 
http://build.kde.org/job/plasma-framework_master_qt5/Variation=All,label=LINBUILDER/ws/src/scriptengines/qml/plasmoid/containmentinterface.h:24,
 from 
http://build.kde.org/job/plasma-framework_master_qt5/Variation=All,label=LINBUILDER/ws/src/scriptengines/qml/plasmoid/containmentinterface.cpp:22:
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtCore/qobject.h:247:13:
 note: templateclass Func1, class Func2 static typename 
QtPrivate::QEnableIf((int)(QtPrivate::FunctionPointerFunc2::ArgumentCount) 
= 0), QMetaObject::Connection::Type QObject::connect(const typename 
QtPrivate::FunctionPointerFunc::Object*, Func1, Func2)
 connect(const typename QtPrivate::FunctionPointerFunc1::Object 
*sender, Func1 signal, Func2 slot)
 ^
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtCore/qobject.h:247:13:
 note:   template argument deduction/substitution failed:
http://build.kde.org/job/plasma-framework_master_qt5/Variation=All,label=LINBUILDER/ws/src/scriptengines/qml/plasmoid/containmentinterface.cpp:156:14:
 note:   mismatched types ‘const typename 
QtPrivate::FunctionPointerFunc::Object*’ and ‘QPointerPlasma::Containment’
 });
  ^
In file included from 
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtWidgets/qwidget.h:46:0,
 from 
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtWidgets/qmenu.h:45,
 from 
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtWidgets/QMenu:1,
 from 
http://build.kde.org/job/plasma-framework_master_qt5/Variation=All,label=LINBUILDER/ws/src/scriptengines/qml/plasmoid/containmentinterface.h:24,
 from 
http://build.kde.org/job/plasma-framework_master_qt5/Variation=All,label=LINBUILDER/ws/src/scriptengines/qml/plasmoid/containmentinterface.cpp:22:
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtCore/qobject.h:256:13:
 note: templateclass Func1, class Func2 static typename 
QtPrivate::QEnableIf(((int)(QtPrivate::FunctionPointerFunc2::ArgumentCount) 
= 0)  (! QtPrivate::FunctionPointerFunc2::IsPointerToMemberFunction)), 
QMetaObject::Connection::Type QObject::connect(const typename 
QtPrivate::FunctionPointerFunc::Object*, Func1, const QObject*, Func2, 
Qt::ConnectionType)
 connect(const typename QtPrivate::FunctionPointerFunc1::Object 
*sender, Func1 signal, const QObject *context, Func2 slot,
 ^
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtCore/qobject.h:256:13:
 note:   template argument deduction/substitution failed:
http://build.kde.org/job/plasma-framework_master_qt5/Variation=All,label=LINBUILDER/ws/src/scriptengines/qml/plasmoid/containmentinterface.cpp:156:14:
 note:   mismatched types ‘const typename 
QtPrivate::FunctionPointerFunc::Object*’ and ‘QPointerPlasma::Containment’
 });
  ^
In file included from 

Build failed in Jenkins: plasma-framework_master_qt5 » NoX11,LINBUILDER #627

2014-07-10 Thread KDE CI System
See 
http://build.kde.org/job/plasma-framework_master_qt5/Variation=NoX11,label=LINBUILDER/627/changes

Changes:

[aleixpol] Introduce TimeTracker debugging tool for plasma

[aleixpol] Don't connect to signals until the class has been initialized

--
[...truncated 952 lines...]
 static inline QMetaObject::Connection connect(const typename 
QtPrivate::FunctionPointerFunc1::Object *sender, Func1 signal,
   ^
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtCore/qobject.h:215:43:
 note:   template argument deduction/substitution failed:
http://build.kde.org/job/plasma-framework_master_qt5/Variation=NoX11,label=LINBUILDER/ws/src/scriptengines/qml/plasmoid/containmentinterface.cpp:156:14:
 note:   mismatched types ‘const typename 
QtPrivate::FunctionPointerFunc::Object*’ and ‘QPointerPlasma::Containment’
 });
  ^
In file included from 
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtWidgets/qwidget.h:46:0,
 from 
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtWidgets/qmenu.h:45,
 from 
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtWidgets/QMenu:1,
 from 
http://build.kde.org/job/plasma-framework_master_qt5/Variation=NoX11,label=LINBUILDER/ws/src/scriptengines/qml/plasmoid/containmentinterface.h:24,
 from 
http://build.kde.org/job/plasma-framework_master_qt5/Variation=NoX11,label=LINBUILDER/ws/src/scriptengines/qml/plasmoid/containmentinterface.cpp:22:
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtCore/qobject.h:247:13:
 note: templateclass Func1, class Func2 static typename 
QtPrivate::QEnableIf((int)(QtPrivate::FunctionPointerFunc2::ArgumentCount) 
= 0), QMetaObject::Connection::Type QObject::connect(const typename 
QtPrivate::FunctionPointerFunc::Object*, Func1, Func2)
 connect(const typename QtPrivate::FunctionPointerFunc1::Object 
*sender, Func1 signal, Func2 slot)
 ^
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtCore/qobject.h:247:13:
 note:   template argument deduction/substitution failed:
http://build.kde.org/job/plasma-framework_master_qt5/Variation=NoX11,label=LINBUILDER/ws/src/scriptengines/qml/plasmoid/containmentinterface.cpp:156:14:
 note:   mismatched types ‘const typename 
QtPrivate::FunctionPointerFunc::Object*’ and ‘QPointerPlasma::Containment’
 });
  ^
In file included from 
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtWidgets/qwidget.h:46:0,
 from 
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtWidgets/qmenu.h:45,
 from 
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtWidgets/QMenu:1,
 from 
http://build.kde.org/job/plasma-framework_master_qt5/Variation=NoX11,label=LINBUILDER/ws/src/scriptengines/qml/plasmoid/containmentinterface.h:24,
 from 
http://build.kde.org/job/plasma-framework_master_qt5/Variation=NoX11,label=LINBUILDER/ws/src/scriptengines/qml/plasmoid/containmentinterface.cpp:22:
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtCore/qobject.h:256:13:
 note: templateclass Func1, class Func2 static typename 
QtPrivate::QEnableIf(((int)(QtPrivate::FunctionPointerFunc2::ArgumentCount) 
= 0)  (! QtPrivate::FunctionPointerFunc2::IsPointerToMemberFunction)), 
QMetaObject::Connection::Type QObject::connect(const typename 
QtPrivate::FunctionPointerFunc::Object*, Func1, const QObject*, Func2, 
Qt::ConnectionType)
 connect(const typename QtPrivate::FunctionPointerFunc1::Object 
*sender, Func1 signal, const QObject *context, Func2 slot,
 ^
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtCore/qobject.h:256:13:
 note:   template argument deduction/substitution failed:
http://build.kde.org/job/plasma-framework_master_qt5/Variation=NoX11,label=LINBUILDER/ws/src/scriptengines/qml/plasmoid/containmentinterface.cpp:156:14:
 note:   mismatched types ‘const typename 
QtPrivate::FunctionPointerFunc::Object*’ and ‘QPointerPlasma::Containment’
 });
  ^
In file included from 
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtWidgets/qwidget.h:46:0,
 from 
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtWidgets/qmenu.h:45,
 from 
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtWidgets/QMenu:1,
 from 
http://build.kde.org/job/plasma-framework_master_qt5/Variation=NoX11,label=LINBUILDER/ws/src/scriptengines/qml/plasmoid/containmentinterface.h:24,
 from 
http://build.kde.org/job/plasma-framework_master_qt5/Variation=NoX11,label=LINBUILDER/ws/src/scriptengines/qml/plasmoid/containmentinterface.cpp:22:

Re: OSX/CI system: analitza build broken on branch frameworks

2014-07-10 Thread Aleix Pol
n Thu, Jul 10, 2014 at 6:48 AM, Marko Käning mk-li...@email.de wrote:

 Hi Aleix,

 On 10 Jul 2014, at 01:52 , Aleix Pol aleix...@kde.org wrote:

 n Thu, Jul 10, 2014 at 1:18 AM, Nicolás Alvarez nicolas.alva...@gmail.com
  wrote:


 Are you sure you're building the correct branch? Note that
 analitza.git doesn't have a 'frameworks' branch, it's called 'kf5’.


 yep, I had seen that, but didn’t know how to handle it… There are quite a
 few cases like that.



 --
 Nicolás

 Yeah... let me fix that.


 Thanks, now it there is more progress, but there’s s till a build failure
 later on. See below.

 Greets,
 Marko


 ———



  80%] Building CXX object
 analitzaplot/CMakeFiles/AnalitzaPlot.dir/plotter3d.cpp.o
 [ 81%] Building CXX object
 analitzaplot/CMakeFiles/AnalitzaPlot.dir/AnalitzaPlot_automoc.cpp.o
 /Users/marko/WC/KDECI-builds/analitza/analitzaplot/plotter3d.cpp:30:10:
 fatal error: 'GL/gl.h' file not found
 #include GL/gl.h
  ^
 /Users/marko/WC/KDECI-builds/analitza/analitzaplot/plotter2d.cpp:380:50:
 error: call to 'abs' is ambiguous
 s += computeAngleLabelByStep(std::abs(i), bigstep);
  ^~~~
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:660:1:
 note: candidate function
 abs(float __x) _NOEXCEPT {return fabsf(__x);}
 ^
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:664:1:
 note: candidate function
 abs(double __x) _NOEXCEPT {return fabs(__x);}
 ^
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:668:1:
 note: candidate function
 abs(long double __x) _NOEXCEPT {return fabsl(__x);}
 ^
 /Users/marko/WC/KDECI-builds/analitza/analitzaplot/plotter2d.cpp:383:85:
 error: call to 'abs' is ambiguous
 const QPairunsigned int, unsigned int frac =
 simplifyFraction(std::abs(i), step);

   ^~~~


Hi,
I think it's fixed, can you maybe give it another go?

In the future you can contact me directly or kde-...@kde.org so to reduce
the traffic in this mailing list.

Aleix
___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Build failed in Jenkins: plasma-framework_master_qt5 » All,LINBUILDER #628

2014-07-10 Thread KDE CI System
See 
http://build.kde.org/job/plasma-framework_master_qt5/Variation=All,label=LINBUILDER/628/

--
[...truncated 954 lines...]
 });
  ^
In file included from 
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtWidgets/qwidget.h:46:0,
 from 
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtWidgets/qmenu.h:45,
 from 
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtWidgets/QMenu:1,
 from 
http://build.kde.org/job/plasma-framework_master_qt5/Variation=All,label=LINBUILDER/ws/src/scriptengines/qml/plasmoid/containmentinterface.h:24,
 from 
http://build.kde.org/job/plasma-framework_master_qt5/Variation=All,label=LINBUILDER/ws/src/scriptengines/qml/plasmoid/containmentinterface.cpp:22:
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtCore/qobject.h:247:13:
 note: templateclass Func1, class Func2 static typename 
QtPrivate::QEnableIf((int)(QtPrivate::FunctionPointerFunc2::ArgumentCount) 
= 0), QMetaObject::Connection::Type QObject::connect(const typename 
QtPrivate::FunctionPointerFunc::Object*, Func1, Func2)
 connect(const typename QtPrivate::FunctionPointerFunc1::Object 
*sender, Func1 signal, Func2 slot)
 ^
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtCore/qobject.h:247:13:
 note:   template argument deduction/substitution failed:
http://build.kde.org/job/plasma-framework_master_qt5/Variation=All,label=LINBUILDER/ws/src/scriptengines/qml/plasmoid/containmentinterface.cpp:156:14:
 note:   mismatched types ‘const typename 
QtPrivate::FunctionPointerFunc::Object*’ and ‘QPointerPlasma::Containment’
 });
  ^
In file included from 
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtWidgets/qwidget.h:46:0,
 from 
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtWidgets/qmenu.h:45,
 from 
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtWidgets/QMenu:1,
 from 
http://build.kde.org/job/plasma-framework_master_qt5/Variation=All,label=LINBUILDER/ws/src/scriptengines/qml/plasmoid/containmentinterface.h:24,
 from 
http://build.kde.org/job/plasma-framework_master_qt5/Variation=All,label=LINBUILDER/ws/src/scriptengines/qml/plasmoid/containmentinterface.cpp:22:
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtCore/qobject.h:256:13:
 note: templateclass Func1, class Func2 static typename 
QtPrivate::QEnableIf(((int)(QtPrivate::FunctionPointerFunc2::ArgumentCount) 
= 0)  (! QtPrivate::FunctionPointerFunc2::IsPointerToMemberFunction)), 
QMetaObject::Connection::Type QObject::connect(const typename 
QtPrivate::FunctionPointerFunc::Object*, Func1, const QObject*, Func2, 
Qt::ConnectionType)
 connect(const typename QtPrivate::FunctionPointerFunc1::Object 
*sender, Func1 signal, const QObject *context, Func2 slot,
 ^
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtCore/qobject.h:256:13:
 note:   template argument deduction/substitution failed:
http://build.kde.org/job/plasma-framework_master_qt5/Variation=All,label=LINBUILDER/ws/src/scriptengines/qml/plasmoid/containmentinterface.cpp:156:14:
 note:   mismatched types ‘const typename 
QtPrivate::FunctionPointerFunc::Object*’ and ‘QPointerPlasma::Containment’
 });
  ^
In file included from 
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtWidgets/qwidget.h:46:0,
 from 
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtWidgets/qmenu.h:45,
 from 
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtWidgets/QMenu:1,
 from 
http://build.kde.org/job/plasma-framework_master_qt5/Variation=All,label=LINBUILDER/ws/src/scriptengines/qml/plasmoid/containmentinterface.h:24,
 from 
http://build.kde.org/job/plasma-framework_master_qt5/Variation=All,label=LINBUILDER/ws/src/scriptengines/qml/plasmoid/containmentinterface.cpp:22:
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtCore/qobject.h:287:13:
 note: templateclass Func1, class Func2 static typename 
QtPrivate::QEnableIf(QtPrivate::FunctionPointerFunc2::ArgumentCount == 
(-1)), QMetaObject::Connection::Type QObject::connect(const typename 
QtPrivate::FunctionPointerFunc::Object*, Func1, Func2)
 connect(const typename QtPrivate::FunctionPointerFunc1::Object 
*sender, Func1 signal, Func2 slot)
 ^
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtCore/qobject.h:287:13:
 note:   template argument deduction/substitution failed:
http://build.kde.org/job/plasma-framework_master_qt5/Variation=All,label=LINBUILDER/ws/src/scriptengines/qml/plasmoid/containmentinterface.cpp:156:14:
 note:   mismatched types ‘const typename 

Build failed in Jenkins: plasma-framework_master_qt5 » NoX11,LINBUILDER #628

2014-07-10 Thread KDE CI System
See 
http://build.kde.org/job/plasma-framework_master_qt5/Variation=NoX11,label=LINBUILDER/628/

--
[...truncated 954 lines...]
^
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtCore/qobject.h:479:32:
 note:   no known conversion for argument 2 from ‘void 
(Plasma::Containment::*)(const QString)’ to ‘const char*’
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtCore/qobject.h:215:43:
 note: templateclass Func1, class Func2 static QMetaObject::Connection 
QObject::connect(const typename QtPrivate::FunctionPointerFunc::Object*, 
Func1, const typename QtPrivate::FunctionPointerFunc2::Object*, Func2, 
Qt::ConnectionType)
 static inline QMetaObject::Connection connect(const typename 
QtPrivate::FunctionPointerFunc1::Object *sender, Func1 signal,
   ^
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtCore/qobject.h:215:43:
 note:   template argument deduction/substitution failed:
http://build.kde.org/job/plasma-framework_master_qt5/Variation=NoX11,label=LINBUILDER/ws/src/scriptengines/qml/plasmoid/containmentinterface.cpp:156:14:
 note:   mismatched types ‘const typename 
QtPrivate::FunctionPointerFunc::Object*’ and ‘QPointerPlasma::Containment’
 });
  ^
In file included from 
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtWidgets/qwidget.h:46:0,
 from 
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtWidgets/qmenu.h:45,
 from 
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtWidgets/QMenu:1,
 from 
http://build.kde.org/job/plasma-framework_master_qt5/Variation=NoX11,label=LINBUILDER/ws/src/scriptengines/qml/plasmoid/containmentinterface.h:24,
 from 
http://build.kde.org/job/plasma-framework_master_qt5/Variation=NoX11,label=LINBUILDER/ws/src/scriptengines/qml/plasmoid/containmentinterface.cpp:22:
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtCore/qobject.h:247:13:
 note: templateclass Func1, class Func2 static typename 
QtPrivate::QEnableIf((int)(QtPrivate::FunctionPointerFunc2::ArgumentCount) 
= 0), QMetaObject::Connection::Type QObject::connect(const typename 
QtPrivate::FunctionPointerFunc::Object*, Func1, Func2)
 connect(const typename QtPrivate::FunctionPointerFunc1::Object 
*sender, Func1 signal, Func2 slot)
 ^
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtCore/qobject.h:247:13:
 note:   template argument deduction/substitution failed:
http://build.kde.org/job/plasma-framework_master_qt5/Variation=NoX11,label=LINBUILDER/ws/src/scriptengines/qml/plasmoid/containmentinterface.cpp:156:14:
 note:   mismatched types ‘const typename 
QtPrivate::FunctionPointerFunc::Object*’ and ‘QPointerPlasma::Containment’
 });
  ^
In file included from 
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtWidgets/qwidget.h:46:0,
 from 
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtWidgets/qmenu.h:45,
 from 
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtWidgets/QMenu:1,
 from 
http://build.kde.org/job/plasma-framework_master_qt5/Variation=NoX11,label=LINBUILDER/ws/src/scriptengines/qml/plasmoid/containmentinterface.h:24,
 from 
http://build.kde.org/job/plasma-framework_master_qt5/Variation=NoX11,label=LINBUILDER/ws/src/scriptengines/qml/plasmoid/containmentinterface.cpp:22:
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtCore/qobject.h:256:13:
 note: templateclass Func1, class Func2 static typename 
QtPrivate::QEnableIf(((int)(QtPrivate::FunctionPointerFunc2::ArgumentCount) 
= 0)  (! QtPrivate::FunctionPointerFunc2::IsPointerToMemberFunction)), 
QMetaObject::Connection::Type QObject::connect(const typename 
QtPrivate::FunctionPointerFunc::Object*, Func1, const QObject*, Func2, 
Qt::ConnectionType)
 connect(const typename QtPrivate::FunctionPointerFunc1::Object 
*sender, Func1 signal, const QObject *context, Func2 slot,
 ^
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtCore/qobject.h:256:13:
 note:   template argument deduction/substitution failed:
http://build.kde.org/job/plasma-framework_master_qt5/Variation=NoX11,label=LINBUILDER/ws/src/scriptengines/qml/plasmoid/containmentinterface.cpp:156:14:
 note:   mismatched types ‘const typename 
QtPrivate::FunctionPointerFunc::Object*’ and ‘QPointerPlasma::Containment’
 });
  ^
In file included from 
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtWidgets/qwidget.h:46:0,
 from 
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtWidgets/qmenu.h:45,
 from 
/srv/jenkins/install/linux/x86_64/g++/kf5-qt5/qt5/inst/include/QtWidgets/QMenu:1,
 

Re: Review Request 119164: khtml: install kxmlgui .rc files into KXMLGUI_INSTALL_DIR (= share/kxmlgui5)

2014-07-10 Thread Marko Käning


 On July 10, 2014, 8:07 a.m., Marko Käning wrote:
  Hi David,
  
  it turns out that this lets the rc file indeed go into the 
  /Library/Application Support/khtml folder here on the OSX/CI system:
  ---
  $ ls -1 
  /opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/khtml/inst/Library/Application\
   Support/khtml
  khtml5.rc
  khtml5_browser.rc
  ---
  
  But I want to underline, that for khtml files get installed in two parallel 
  folders, i.e.  
  ---
  $ ls -R 
  /opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/khtml/inst/Library/Application\
   Support/
  .:
  kf5  khtml
  
  ./kf5:
  khtml  kjava
  
  ./kf5/khtml:
  css  error.html
  
  ./kf5/khtml/css:
  html4.css  presentational.css  quirks.css
  
  ./kf5/kjava:
  kjava.jar  kjava.policy  pluginsinfo
  
  ./khtml:
  khtml5.rc  khtml5_browser.rc  
  ---
  
  Well, I am still unsure whether the rc files in khtml could/should not also 
  go to kf5/khtml... Probably not, right?
  
  Greets,
  Marko
 
 David Faure wrote:
 You're describing the situation WITHOUT this patch.
 With this patch, khtml.rc and khtml_browser.rc  (no '5' anymore) get 
 installed to share/kxmlgui5 or whereever your KXMLGUI_INSTALL_DIR points to.
 
 kf5/khtml wouldn't work for kxmlgui files, we've been over this already.

I am sorry, David, you're absolutely right. I shouldn't write comments like 
this when I am after a whole day of work too tired at night or still too tired 
early morning. .-/

(In fact I had noticed that I was repeating myself only after I had clicked the 
Publish button.)


- Marko


---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/119164/#review62039
---


On July 7, 2014, 9:17 p.m., David Faure wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/119164/
 ---
 
 (Updated July 7, 2014, 9:17 p.m.)
 
 
 Review request for KDE Frameworks, Jonathan Riddell, Marko Käning, and Martin 
 Tobias Holmedahl Sandsmark.
 
 
 Repository: khtml
 
 
 Description
 ---
 
 khtml: install kxmlgui .rc files into KXMLGUI_INSTALL_DIR (= share/kxmlgui5)
 
 This removes the need to version the file themselves, so revert that.
 
 
 Diffs
 -
 
   src/CMakeLists.txt fe4f49e5799f6b8781eebb217c49b9171600e2f3 
   src/khtml_part.cpp d7dcb92619d1ba69f015b3a48d9b352f40241196 
 
 Diff: https://git.reviewboard.kde.org/r/119164/diff/
 
 
 Testing
 ---
 
 testkhtml still has menus (even after removing the old files)
 
 
 Thanks,
 
 David Faure
 


___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Re: AndroidToolchain.cmake in ECM

2014-07-10 Thread Albert Astals Cid
El Dijous, 3 de juliol de 2014, a les 02:04:31, Aleix Pol va escriure:
 Hi,
 As you might have seen on my blog post [1],  I've been working on Android
 support for kde. Part of this effort resulted in a cmake toolchain file we
 can use to ensure everything is found properly and adds some help targets
 to generate the apk packages.
 
 Now I'd like to make sure everyone knows about this and can take advantage
 from it,  so I'd like to move it to ecm. It can use some love,  but it's
 already really useful.
 
 Where do you guys think this should go in ecm?
 If anyone is up for reviewing it, please take a look at [2].

I don't know much about Android itself so can't review, but yes, i think this 
should go to ECM so it makes Android support easier across the board.

Cheers,
  Albert

P.S: If you don't find any reviewer in a few time i'd say just commit and then 
fix on demand/when bugs arise

 
 Thanks!
 Aleix
 
 [1] http://www.proli.net/2014/06/12/kde-software-on-android/
 
 [2] http://quickgit.kde.org/?p=scratch%2Fapol%2Fkalgebraandroid.git
 
 (AndroidToolchain.cmake,
 android-libkalgebratarget.so-deployment-settings.json, Platform/)

___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Re: AndroidToolchain.cmake in ECM

2014-07-10 Thread Alexander Neundorf
On Thursday, July 10, 2014 22:23:09 Albert Astals Cid wrote:
 El Dijous, 3 de juliol de 2014, a les 02:04:31, Aleix Pol va escriure:
  Hi,
  As you might have seen on my blog post [1],  I've been working on Android
  support for kde. Part of this effort resulted in a cmake toolchain file we
  can use to ensure everything is found properly and adds some help targets
  to generate the apk packages.
  
  Now I'd like to make sure everyone knows about this and can take advantage
  from it,  so I'd like to move it to ecm. It can use some love,  but it's
  already really useful.
  
  Where do you guys think this should go in ecm?
  If anyone is up for reviewing it, please take a look at [2].
 
 I don't know much about Android itself so can't review, but yes, i think
 this should go to ECM so it makes Android support easier across the board.

I didn't follow closely, but there is also work on Android going on in CMake 
directly. Did you check the state of that work ?

Alex

___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Re: AndroidToolchain.cmake in ECM

2014-07-10 Thread Aleix Pol
On Thu, Jul 10, 2014 at 10:59 PM, Alexander Neundorf neund...@kde.org
wrote:

 On Thursday, July 10, 2014 22:23:09 Albert Astals Cid wrote:
  El Dijous, 3 de juliol de 2014, a les 02:04:31, Aleix Pol va escriure:
   Hi,
   As you might have seen on my blog post [1],  I've been working on
 Android
   support for kde. Part of this effort resulted in a cmake toolchain
 file we
   can use to ensure everything is found properly and adds some help
 targets
   to generate the apk packages.
  
   Now I'd like to make sure everyone knows about this and can take
 advantage
   from it,  so I'd like to move it to ecm. It can use some love,  but
 it's
   already really useful.
  
   Where do you guys think this should go in ecm?
   If anyone is up for reviewing it, please take a look at [2].
 
  I don't know much about Android itself so can't review, but yes, i think
  this should go to ECM so it makes Android support easier across the
 board.

 I didn't follow closely, but there is also work on Android going on in
 CMake
 directly. Did you check the state of that work ?

 Alex


Well, I've seen there is Modules/Platform/Android.cmake, which works as a
Platform file, I don't really know much more, TBH.
Any pointers would be appreciated.

Aleix
___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel