Commit bad219b4 authored by Laurent Montel's avatar Laurent Montel 😁

Look at to make it compile. But can't

parent 259d9395
......@@ -95,8 +95,9 @@ find_package(KF5AkonadiMime ${KDEPIMLIBS_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5Mbox ${KDEPIMLIBS_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5PimTextEdit ${KDEPIMLIBS_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5Imap ${KDEPIMLIBS_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5Syndication ${KDEPIMLIBS_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5AkonadiNotes ${KDEPIMLIBS_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5AkonadiSocialUtils ${KDEPIMLIBS_LIB_VERSION} CONFIG REQUIRED)
#Boost
# Don't use BoostConfig.cmake
set(Boost_NO_BOOST_CMAKE TRUE)
......
......@@ -131,7 +131,8 @@ if( KF5GAPI_FOUND )
#add_subdirectory( gmail )
endif()
#if( LibKFbAPI_FOUND )
# Uncomment when api will fix
#if( KF5FbAPI_FOUND )
# add_subdirectory( facebook )
#endif()
......
......@@ -40,7 +40,7 @@ qt5_add_dbus_adaptor(facebookresource_SRCS
Settings
)
add_executable(akonadi_facebook_resource RUN_UNINSTALLED ${facebookresource_SRCS})
add_executable(akonadi_facebook_resource ${facebookresource_SRCS})
if(Q_WS_MAC)
set_target_properties(
......@@ -64,9 +64,10 @@ target_link_libraries(akonadi_facebook_resource
KF5::AkonadiCore
KF5::Abc
KF5::CalendarCore
KF5::KF5AkonadiNotes
KF5::AkonadiNotes
KF5::Mime
KF5::FbAPI
KF5::AkonadiSocialUtils
)
if(${AccountsQt_FOUND} AND ${SignOnQt_FOUND})
......
......@@ -28,17 +28,17 @@
#include "../shared/getcredentialsjob.h"
#endif
#include <libkfbapi/alleventslistjob.h>
#include <libkfbapi/eventjob.h>
#include <libkfbapi/allnoteslistjob.h>
#include <libkfbapi/notejob.h>
#include <libkfbapi/noteaddjob.h>
#include <libkfbapi/facebookjobs.h>
#include <libkfbapi/postslistjob.h>
#include <libkfbapi/postjob.h>
#include <libkfbapi/notificationslistjob.h>
#include <libkfbapi/allpostslistjob.h>
#include <libkfbapi/postaddjob.h>
#include <alleventslistjob.h>
#include <eventjob.h>
#include <allnoteslistjob.h>
#include <notejob.h>
#include <noteaddjob.h>
#include <facebookjobs.h>
#include <postslistjob.h>
#include <postjob.h>
#include <notificationslistjob.h>
#include <allpostslistjob.h>
#include <postaddjob.h>
#include <AkonadiCore/AttributeFactory>
#include <AkonadiCore/EntityDisplayAttribute>
......
......@@ -22,11 +22,11 @@
#ifndef FACEBOOK_FACEBOOKRESOURCE_H
#define FACEBOOK_FACEBOOKRESOURCE_H
#include <libkfbapi/notificationinfo.h>
#include <notificationinfo.h>
#include <Akonadi/SocialUtils/SocialFeedItem>
#include <Akonadi/ResourceBase>
#include <AkonadiAgentBase/ResourceBase>
#include <QPointer>
class KStatusNotifierItem;
......
......@@ -20,7 +20,7 @@
#ifndef FACEBOOK_TIMESTAMPATTRIBUTE_H
#define FACEBOOK_TIMESTAMPATTRIBUTE_H
#include <Akonadi/Attribute>
#include <AkonadiCore/Attribute>
#include <KDateTime>
class TimeStampAttribute : public Akonadi::Attribute
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment