Bug 331394 - ktp-common-internals-0.7.1 does not compile against net-libs/libkpeople-0.2.0
Summary: ktp-common-internals-0.7.1 does not compile against net-libs/libkpeople-0.2.0
Status: RESOLVED NOT A BUG
Alias: None
Product: telepathy
Classification: Frameworks and Libraries
Component: common-internals (show other bugs)
Version: 0.7.1
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-21 19:29 UTC by Andrés Becerra
Modified: 2014-02-23 21:12 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrés Becerra 2014-02-21 19:29:48 UTC
Errors obtained:


/var/tmp/portage/net-im/ktp-common-internals-0.7.1/work/ktp-common-internals-0.7.1/KTp/im-persons-data-source.cpp: In member function ‘void IMPersonsDataSource::Private::onAllKnownContactsChanged(const Contacts&, const Contacts&)’:
/var/tmp/portage/net-im/ktp-common-internals-0.7.1/work/ktp-common-internals-0.7.1/KTp/im-persons-data-source.cpp:65:19: error: ‘class IMPersonsDataSource’ has no member named ‘contactChanged’
         Q_EMIT q->contactChanged(contact->id());
                   ^
/var/tmp/portage/net-im/ktp-common-internals-0.7.1/work/ktp-common-internals-0.7.1/KTp/im-persons-data-source.cpp: In member function ‘QVariant IMPersonsDataSource::dataForContact(const QString&, int) const’:
/var/tmp/portage/net-im/ktp-common-internals-0.7.1/work/ktp-common-internals-0.7.1/KTp/im-persons-data-source.cpp:111:14: error: ‘PresenceTypeRole’ is not a member of ‘KPeople::PersonsModel’
         case PersonsModel::PresenceTypeRole:
              ^
/var/tmp/portage/net-im/ktp-common-internals-0.7.1/work/ktp-common-internals-0.7.1/KTp/im-persons-data-source.cpp:120:14: error: ‘PresenceDisplayRole’ is not a member of ‘KPeople::PersonsModel’
         case PersonsModel::PresenceDisplayRole:
              ^
/var/tmp/portage/net-im/ktp-common-internals-0.7.1/work/ktp-common-internals-0.7.1/KTp/im-persons-data-source.cpp:129:14: error: ‘PresenceDecorationRole’ is not a member of ‘KPeople::PersonsModel’
         case PersonsModel::PresenceDecorationRole:
              ^
/var/tmp/portage/net-im/ktp-common-internals-0.7.1/work/ktp-common-internals-0.7.1/KTp/im-persons-data-source.cpp:138:14: error: ‘PresenceIconNameRole’ is not a member of ‘KPeople::PersonsModel’
         case PersonsModel::PresenceIconNameRole:
              ^
/var/tmp/portage/net-im/ktp-common-internals-0.7.1/work/ktp-common-internals-0.7.1/KTp/im-persons-data-source.cpp: In member function ‘void IMPersonsDataSource::onContactChanged()’:
/var/tmp/portage/net-im/ktp-common-internals-0.7.1/work/ktp-common-internals-0.7.1/KTp/im-persons-data-source.cpp:173:29: error: ‘contactChanged’ was not declared in this scope
     Q_EMIT contactChanged(id);
                             ^
/var/tmp/portage/net-im/ktp-common-internals-0.7.1/work/ktp-common-internals-0.7.1/KTp/im-persons-data-source.cpp: In member function ‘void IMPersonsDataSource::onContactInvalidated()’:
/var/tmp/portage/net-im/ktp-common-internals-0.7.1/work/ktp-common-internals-0.7.1/KTp/im-persons-data-source.cpp:182:29: error: ‘contactChanged’ was not declared in this scope
     Q_EMIT contactChanged(id);
                             ^
KTp/CMakeFiles/ktpcommoninternalsprivate.dir/build.make:770: recipe for target 'KTp/CMakeFiles/ktpcommoninternalsprivate.dir/im-persons-data-source.cpp.o' failed
make[2]: *** [KTp/CMakeFiles/ktpcommoninternalsprivate.dir/im-persons-data-source.cpp.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/net-im/ktp-common-internals-0.7.1/work/ktp-common-internals-0.7.1_build'
Comment 1 acidrums4 2014-02-23 11:45:30 UTC
Facing the same issue under a Gentoo box, KDE 4.12.2, Qt 4.8.5. Tried with both CCache activated and unactivated, got the same thing.
Comment 2 Martin Klapetek 2014-02-23 21:12:52 UTC
KPeople 0.2.0 is in pretty much no way compatible with KPeople 0.1, sorry. Please stay with KPeople 0.1 for KTp 0.7.x series.

Also in the future please use KPeople 0.2.1, the .0 has a pretty severe bug that got in the release in the last second.