[prev in list] [next in list] [prev in thread] [next in thread]
List: kopete-devel
Subject: [kopete-devel] [PATCH] Telepathy protocol
From: Pali Rohár <pali.rohar () gmail ! com>
Date: 2008-11-29 8:53:59
Message-ID: 49310327.6040607 () gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
[Attachment #4 (multipart/mixed)]
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
pali.rohar@gmail.com
["decibel.patch" (text/x-patch)]
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})
["telepathy.patch" (text/x-patch)]
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
{
["signature.asc" (application/pgp-signature)]
_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic