Package Details: kadu 4.3-1

Git Clone URL: https://aur.archlinux.org/kadu.git (read-only)
Package Base: kadu
Description: Qt-based Jabber/XMPP and Gadu-Gadu client
Upstream URL: http://www.kadu.im/
Licenses: GPL
Submitter: arojas
Maintainer: None
Last Packager: City-busz
Votes: 1
Popularity: 0.000655
First Submitted: 2017-11-23 07:07
Last Updated: 2018-02-09 22:58

Latest Comments

ElNinijo commented on 2018-05-28 08:36

After last updates qt have you got problems with history module?

I start kadu but i have got problem with module history. When i disabled module history sqlite, everything is ok, when i enable kadu show me mistake

have you got any tips for this mstake?

solved

you need to add this: first patch

https://ptpb.pw/JPqM

second patch

https://pastebin.com/8DakKvvB

into your PKGBUILD

no4b commented on 2018-01-19 11:16

Thanks pvg for making me aware of this patch. It works.

pvg commented on 2018-01-18 22:59

no4b: try this sollution:

https://gitlab.com/kadu/kadu/commit/c2007766c2d7cce105f424771d44621f4bf4790f

in PKGBUILD change prepare() function to:

https://pastebin.com/KAmtMvYR

and paste this:

https://pastebin.com/zRb2H2fj

to new file gcc7.patch in the same folder as PKGFILE,

and rebuild with makepkg :)

no4b commented on 2018-01-10 12:53

It doesn't compile:

53%] Building CXX object kadu-core/CMakeFiles/libkadu.dir/plugin/gui/plugin-list/plugin-list-view-delegate.cpp.o In file included from /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.cpp:20:0: /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.h:60:28: error: ‘function’ in namespace ‘std’ does not name a template type using PluginFilter = std::function<qset<qstring>(PluginDependencyGraph &)>; ^~~~~~~~ /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.h:67:99: error: ‘PluginFilter’ was not declared in this scope PluginDependencyGraph applyFilters(const std::map<qstring, pluginmetadata=""> &plugins, std::vector<pluginfilter> filters) const; ^~~~~~~~~~~~ /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.h:67:99: note: suggested alternative: ‘eventFilter’ PluginDependencyGraph applyFilters(const std::map<qstring, pluginmetadata=""> &plugins, std::vector<pluginfilter> filters) const; ^~~~~~~~~~~~ eventFilter /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.h:67:111: error: template argument 1 is invalid PluginDependencyGraph applyFilters(const std::map<qstring, pluginmetadata=""> &plugins, std::vector<pluginfilter> filters) const; ^ /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.h:67:111: error: template argument 2 is invalid In file included from /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.cpp:20:0: /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.h:68:104: error: ‘PluginFilter’ does not name a type std::map<qstring, pluginmetadata=""> applyFilter(const std::map<qstring, pluginmetadata=""> &plugins, const PluginFilter &filter) const; ^~~~~~~~~~~~ /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.cpp: In member function ‘PluginDependencyGraph PluginDependencyGraphBuilder::buildValidGraph(const std::map<qstring, pluginmetadata="">&) const’: /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.cpp:96:84: error: no matching function for call to ‘PluginDependencyGraphBuilder::applyFilters(const std::map<qstring, pluginmetadata="">&, <brace-enclosed initializer="" list="">) const’ return applyFilters(plugins, {findCycles, findInvalidPlugins, findInvalidProvides}); ^ In file included from /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.cpp:20:0: /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.h:67:24: note: candidate: PluginDependencyGraph PluginDependencyGraphBuilder::applyFilters(const std::map<qstring, pluginmetadata="">&, int) const PluginDependencyGraph applyFilters(const std::map<qstring, pluginmetadata=""> &plugins, std::vector<pluginfilter> filters) const; ^~~~~~~~~~~~ /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.h:67:24: note: no known conversion for argument 2 from ‘<brace-enclosed initializer="" list="">’ to ‘int’ /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.cpp: At global scope: /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.cpp:107:128: error: ‘PluginFilter’ was not declared in this scope PluginDependencyGraph PluginDependencyGraphBuilder::applyFilters(const std::map<qstring, pluginmetadata=""> &plugins, std::vector<pluginfilter> filters) const ^~~~~~~~~~~~ /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.cpp:107:128: note: suggested alternative: ‘applyFilter’ PluginDependencyGraph PluginDependencyGraphBuilder::applyFilters(const std::map<qstring, pluginmetadata=""> &plugins, std::vector<pluginfilter> filters) const ^~~~~~~~~~~~ applyFilter /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.cpp:107:140: error: template argument 1 is invalid PluginDependencyGraph PluginDependencyGraphBuilder::applyFilters(const std::map<qstring, pluginmetadata=""> &plugins, std::vector<pluginfilter> filters) const ^ /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.cpp:107:140: error: template argument 2 is invalid /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.cpp: In member function ‘PluginDependencyGraph PluginDependencyGraphBuilder::applyFilters(const std::map<qstring, pluginmetadata="">&, int) const’: /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.cpp:110:21: error: ‘begin’ was not declared in this scope for (auto filter : filters) ^~~~~~~ /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.cpp:110:21: note: suggested alternative: In file included from /usr/include/c++/7.2.1/string:51:0, from /usr/include/qt/QtCore/qbytearray.h:52, from /usr/include/qt/QtCore/qstring.h:49, from /usr/include/qt/QtCore/qobject.h:47, from /usr/include/qt/QtCore/QObject:1, from /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.h:22, from /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.cpp:20: /usr/include/c++/7.2.1/bits/range_access.h:105:37: note: ‘std::begin’ template<typename _tp=""> const _Tp begin(const valarray<_Tp>&); ^~~~~ /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.cpp:110:21: error: ‘end’ was not declared in this scope for (auto filter : filters) ^~~~~~~ /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.cpp:110:21: note: suggested alternative: In file included from /usr/include/c++/7.2.1/string:51:0, from /usr/include/qt/QtCore/qbytearray.h:52, from /usr/include/qt/QtCore/qstring.h:49, from /usr/include/qt/QtCore/qobject.h:47, from /usr/include/qt/QtCore/QObject:1, from /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.h:22, from /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.cpp:20: /usr/include/c++/7.2.1/bits/range_access.h:107:37: note: ‘std::end’ template<typename _tp=""> const _Tp</typename> end(const valarray<_Tp>&); ^~~ /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.cpp: At global scope: /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.cpp:115:133: error: ‘PluginFilter’ does not name a type std::map<qstring, pluginmetadata=""> PluginDependencyGraphBuilder::applyFilter(const std::map<qstring, pluginmetadata=""> &plugins, const PluginFilter &filter) const ^~~~~~~~~~~~ /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.cpp: In member function ‘std::map<qstring, pluginmetadata=""> PluginDependencyGraphBuilder::applyFilter(const std::map<qstring, pluginmetadata="">&, const int&) const’: /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.cpp:118:29: error: expression cannot be used as a function auto invalid = filter(graph); ^ /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.cpp: In lambda function: /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.cpp:122:88: error: ‘invalid’ is not captured &invalid{ return !contains(invalid, v.first); }); ^~~~~~~ /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.cpp:122:12: note: the lambda has no capture-default &invalid{ return !contains(invalid, v.first); }); ^ /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.cpp:118:7: note: ‘<typeprefixerror>invalid’ declared here auto invalid = filter(graph); ^~~~~~~ In file included from /usr/include/c++/7.2.1/algorithm:62:0, from /usr/include/qt/QtCore/qglobal.h:110, from /usr/include/qt/QtCore/qnamespace.h:43, from /usr/include/qt/QtCore/qobjectdefs.h:48, from /usr/include/qt/QtCore/qobject.h:46, from /usr/include/qt/QtCore/QObject:1, from /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.h:22, from /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.cpp:20: /usr/include/c++/7.2.1/bits/stl_algo.h: In instantiation of ‘_OIter std::copy_if(_IIter, _IIter, _OIter, _Predicate) [with _IIter = std::_Rb_tree_const_iterator<std::pair<const pluginmetadata="" qstring,=""> >; _OIter = std::insert_iterator<std::map<qstring, pluginmetadata=""> >; _Predicate = PluginDependencyGraphBuilder::applyFilter(const std::map<qstring, pluginmetadata="">&, const int&) const::<lambda(const value_type&)="">]’: /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.cpp:122:108: required from here /usr/include/c++/7.2.1/bits/stl_algo.h:749:12: error: could not convert ‘pred.PluginDependencyGraphBuilder::applyFilter(const std::map<qstring, pluginmetadata="">&, const int&) const::<lambda(const value_type&)="">((* & </lambda(const></qstring,>first.std::_Rb_tree_const_iterator<std::pair<const pluginmetadata="" qstring,=""> >::operator*()))’ from ‘void’ to ‘bool’ if (pred(*first)) ~~~~~~^~~~~~~~~~ make[2]: [kadu-core/CMakeFiles/libkadu.dir/build.make:11871: kadu-core/CMakeFiles/libkadu.dir/plugin/dependency-graph/plugin-dependency-graph-builder.cpp.o] Błąd 1 make[2]: Oczekiwanie na niezakończone zadania.... In file included from /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/gui/plugin-list/plugin-list-widget.cpp:28:0: /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/gui/widgets/categorized-list-view.h:343:75: warning: ‘QStyleOptionViewItemV4’ is deprecated [-Wdeprecated-declarations] QStyleOptionViewItemV4 blockRect(const QModelIndex &representative); ^ In file included from /usr/include/qt/QtWidgets/qabstractitemdelegate.h:45:0, from /usr/include/qt/QtWidgets/qabstractitemview.h:47, from /usr/include/qt/QtWidgets/qlistview.h:44, from /usr/include/qt/QtWidgets/QListView:1, from /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/gui/widgets/categorized-list-view.h:24, from /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/gui/plugin-list/plugin-list-widget.cpp:28: /usr/include/qt/QtWidgets/qstyleoption.h:453:48: note: declared here typedef Q_DECL_DEPRECATED QStyleOptionViewItem QStyleOptionViewItemV4; ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/gui/plugin-list/plugin-list-widget.cpp:28:0: /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/gui/widgets/categorized-list-view.h:458:75: warning: ‘QStyleOptionViewItemV4’ is deprecated [-Wdeprecated-declarations] QStyleOptionViewItemV4 blockRect(const QModelIndex &representative); ^ In file included from /usr/include/qt/QtWidgets/qabstractitemdelegate.h:45:0, from /usr/include/qt/QtWidgets/qabstractitemview.h:47, from /usr/include/qt/QtWidgets/qlistview.h:44, from /usr/include/qt/QtWidgets/QListView:1, from /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/gui/widgets/categorized-list-view.h:24, from /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/gui/plugin-list/plugin-list-widget.cpp:28: /usr/include/qt/QtWidgets/qstyleoption.h:453:48: note: declared here typedef Q_DECL_DEPRECATED QStyleOptionViewItem QStyleOptionViewItemV4; ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/gui/plugin-list/plugin-list-view-delegate.cpp: In member function ‘void PluginListWidgetDelegate::_k_slotDataChanged(const QModelIndex&, const QModelIndex&)’: /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/gui/plugin-list/plugin-list-view-delegate.cpp:80:48: warning: ‘QStyleOptionViewItemV4’ is deprecated [-Wdeprecated-declarations] QStyleOptionViewItemV4 optionView; ^~~~~~~~~~ In file included from /usr/include/qt/QtWidgets/qabstractitemdelegate.h:45:0, from /usr/include/qt/QtWidgets/qabstractitemview.h:47, from /usr/include/qt/QtWidgets/QAbstractItemView:1, from /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/gui/plugin-list/plugin-list-view-delegate.cpp:37: /usr/include/qt/QtWidgets/qstyleoption.h:453:48: note: declared here typedef Q_DECL_DEPRECATED QStyleOptionViewItem QStyleOptionViewItemV4; ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/gui/plugin-list/plugin-list-view-delegate.cpp: In member function ‘void PluginListWidgetDelegate::updateRowRange(const QModelIndex&, int, int, bool)’: /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/gui/plugin-list/plugin-list-view-delegate.cpp:113:48: warning: ‘QStyleOptionViewItemV4’ is deprecated [-Wdeprecated-declarations] QStyleOptionViewItemV4 optionView; ^~~~~~~~~~ In file included from /usr/include/qt/QtWidgets/qabstractitemdelegate.h:45:0, from /usr/include/qt/QtWidgets/qabstractitemview.h:47, from /usr/include/qt/QtWidgets/QAbstractItemView:1, from /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/gui/plugin-list/plugin-list-view-delegate.cpp:37: /usr/include/qt/QtWidgets/qstyleoption.h:453:48: note: declared here typedef Q_DECL_DEPRECATED QStyleOptionViewItem QStyleOptionViewItemV4; ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/gui/plugin-list/plugin-list-view-delegate.cpp: In member function ‘void PluginListWidgetDelegate::initializeModel(const QModelIndex&)’: /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/gui/plugin-list/plugin-list-view-delegate.cpp:152:56: warning: ‘QStyleOptionViewItemV4’ is deprecated [-Wdeprecated-declarations] QStyleOptionViewItemV4 optionView; ^~~~~~~~~~ In file included from /usr/include/qt/QtWidgets/qabstractitemdelegate.h:45:0, from /usr/include/qt/QtWidgets/qabstractitemview.h:47, from /usr/include/qt/QtWidgets/QAbstractItemView:1, from /usr/src/pkg/kadu/src/kadu-4.3/kadu-core/plugin/gui/plugin-list/plugin-list-view-delegate.cpp:37: /usr/include/qt/QtWidgets/qstyleoption.h:453:48: note: declared here typedef Q_DECL_DEPRECATED QStyleOptionViewItem QStyleOptionViewItemV4; ^~~~~~~~~~~~~~~~~~~~~~ make[1]: [CMakeFiles/Makefile2:273: kadu-core/CMakeFiles/libkadu.dir/all] Błąd 2 make: [Makefile:141: all] Błąd 2 ==> BŁĄD: Wystąpił błąd w build(). Przerywam...</std::pair<const></lambda(const></qstring,></std::map<qstring,></std::pair<const></typeprefixerror></qstring,></qstring,></qstring,></qstring,></typename></qstring,></pluginfilter></qstring,></pluginfilter></qstring,></pluginfilter></qstring,></brace-enclosed></pluginfilter></qstring,></qstring,></brace-enclosed></qstring,></qstring,></qstring,></qstring,></pluginfilter></qstring,></pluginfilter></qstring,></pluginfilter></qstring,></qset<qstring>