Hello,
I cant compile telepathy protocol because library QtTapioca cant found.
I fix FindDecibel.cmake file and then it works. I'm sending
decibel.patch file.

And then it enable compile telepathy protocol.
It show me error:
canning dependencies of target kopete_telepathy
[ 82%] Building CXX object
kopete/protocols/telepathy/CMakeFiles/kopete_telepathy.dir/telepathyaddpendingcontactjob.o
In file included from
/home/pali/Installs/kde4/kopete/kdenetwork/kopete/protocols/telepathy/telepathyaddpendingcontactjob.cpp:36:
/home/pali/Installs/kde4/kopete/kdenetwork/kopete/libkopete/kopetecontact.h:236:
warning: ‘virtual QList<KAction*>*
Kopete::Contact::customContextMenuActions(Kopete::ChatSession*)’ was hidden
/home/pali/Installs/kde4/kopete/kdenetwork/kopete/protocols/telepathy/telepathycontact.h:55:
warning:   by ‘virtual QList<KAction*>*
TelepathyContact::customContextMenuActions()’
/home/pali/Installs/kde4/kopete/kdenetwork/kopete/protocols/telepathy/telepathyaddpendingcontactjob.cpp:38:
error: ‘UI’ is not a namespace-name
/home/pali/Installs/kde4/kopete/kdenetwork/kopete/protocols/telepathy/telepathyaddpendingcontactjob.cpp:38:
error: expected namespace-name before ‘;’ token
make[2]: ***
[kopete/protocols/telepathy/CMakeFiles/kopete_telepathy.dir/telepathyaddpendingcontactjob.o]
Error 1
make[1]: ***
[kopete/protocols/telepathy/CMakeFiles/kopete_telepathy.dir/all] Error 2
make: *** [all] Error 2

If I comment "sing namespace Kopete::UI" then it works for me. I'm
sending patch telepathy.patch.

-- 
Pali Rohár
[EMAIL PROTECTED]

Index: cmake/modules/FindDecibel.cmake
===================================================================
--- cmake/modules/FindDecibel.cmake	(revision 890401)
+++ cmake/modules/FindDecibel.cmake	(working copy)
@@ -31,11 +31,7 @@
 set(DECIBEL_DEFINITIONS ${QTTAPIOCA_CFLAGS})
 set(DECIBEL_INCLUDES ${QT_TAPIOCA_INCLUDE_DIR} )
 
-FIND_LIBRARY(QT_TAPIOCA_LIBRARY NAMES QtTapioca
-  PATHS
-  ${QTTAPIOCA_LIBRARY_DIRS} 
-  NO_DEFAULT_PATH 
-)
+FIND_LIBRARY(QT_TAPIOCA_LIBRARY NAMES QtTapioca)
 
 set(DECIBEL_LIBRARIES ${QT_TAPIOCA_LIBRARY})
 
Index: kdenetwork/kopete/protocols/telepathy/telepathyaddpendingcontactjob.cpp
===================================================================
--- kdenetwork/kopete/protocols/telepathy/telepathyaddpendingcontactjob.cpp	(revision 890401)
+++ kdenetwork/kopete/protocols/telepathy/telepathyaddpendingcontactjob.cpp	(working copy)
@@ -35,7 +35,7 @@
 #include "telepathyaccount.h"
 #include "telepathycontact.h"
 
-using namespace Kopete::UI;
+//using namespace Kopete::UI;
 
 class TelepathyAddPendingContactJob::Private
 {

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel

Reply via email to