Bug#840652: any status on this?

2016-12-03 Thread Sandro Knauß
Hi,

so I created a first set of patches to get rid of kf5gpgmepp.
Just to make it super clear if I talk about kf5gpgmepp I mean [0], 
if I say GpgME is mean [1], that inclued Gpgmepp and QGpgME).

* kwallet-kf5 - is fixed
   ( the support of GppME >= 1.7.1 is already provided by upstream)
* messagelib/kdepim/kleopatra:
   I created a patch to get rid of direct dependency of kf5gpgmepp

messagelib[debian/sid] 16da74f8b884e02a2835c6c1c92f8c2041aa27a1
kdepim[debian/sid] fe28dd2cc76a4c13b5f214fb8d024a529bf2bb9c
kleopatra[debian/sid] f5bf98dabe305aa781eb43abcc0c345bd265a38d

sune/maxy: please review

the tricky part is libkleo. Because parts of libkleo the moved into QGpgME,
and we have changes of boost::shared_ptr -> std::shared_ptr and other such
kind of changes. I created a patch to compile libkleo on its own without 
Kf5Gpgme.
But if I try to use this libkleo to build messagelib it fails :(

libkleo[dev/hefee] ee3cae709395e14070cdc9b7979771029d576b16

buildlof of messagelib:
[...]
/<>/messagecomposer/src/composer/keyresolver.cpp: In function 
'bool ByKeyID(const GpgME::Key&, const GpgME::Key&)':
/<>/messagecomposer/src/composer/keyresolver.cpp:119:75: error: 
'bool ByKeyID(const GpgME::Key&, const GpgME::Key&)' redeclared as different 
kind of symbol
 static inline bool ByKeyID(const GpgME::Key , const GpgME::Key )
   ^
In file included from /usr/include/gpgme++/key.h:27:0,  
 from /usr/include/KF5/libkleo/keyapprovaldialog.h:45,  
 from /usr/include/KF5/Libkleo/KeyApprovalDialog:1,
 from 
/<>/messagecomposer/src/composer/keyresolver.h:41,
 from 
/<>/messagecomposer/src/composer/keyresolver.cpp:37:
/usr/include/gpgme++/key.h:426:1: note: previous declaration 
'template