[Bug 290090] New: QtZeitgeist and kde-runtime-4.7.4

Dennis veatch dennisveatch at bellsouth.net
Thu Dec 29 12:57:32 GMT 2011


https://bugs.kde.org/show_bug.cgi?id=290090

           Summary: QtZeitgeist and kde-runtime-4.7.4
           Product: kde
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: dennisveatch at bellsouth.net


Version:           unspecified
OS:                Linux


A bit of confusion started when noticing the cmake summary of phonon-4.6.0 said
it could not find qtzeitgeist-0.7.0 while kde-runtime had no trouble finding
it. After some searching around I found libqzeitgeist-0.8.0. Well that fixed
phonon and the summary says it was found. However, kde-runtime now reports that
is cannot find QtZeitgeist.

After some digging around, I found this and to quote its entirety;

"For eternity, the question stood: Was it QtZeitgeist or QZeitgeist?
Scholars pondered the question for eons, with evidence in the tomes
pointing to both interpretations as being correct. Finally, a brave hero
stepped forth to purge the nonbelievers and preach the good word: Its
QZeitgeist, damnit." 

(https://projects.kde.org/projects/kdesupport/libqzeitgeist/repository/revisions/d5c80d22995043e96e7acfad1fd30f112e8514b7)

The question I suppose is exactly which of those should be used? Additionally;
using zeitgeist-0.8.2.

Pardon if this is in the wrong area, I always seem to have trouble finding the
right place in your bug tracker, feel free to move it.

Reproducible: Always

Steps to Reproduce:
Install
ftp://ftp.kde.org/pub/kde/stable/libqzeitgeist/0.8.0/src/libqzeitgeist-0.8.0.tar.bz2.
Recompile phonon and  kde-runtime.



Actual Results:  
Phonon will find it but kde-runtime will not.

Expected Results:  
Both should find it.

To see how far I could get using libqzeitgeist, edited
activitymanager/CMakeLists.txt and changed the version from 0.8.0 to 0.8.1.
That allowed kde-runtime to find it. But the make failed with;

[  8%] Building CXX object
activitymanager/CMakeFiles/activity-manager.dir/kext.o
Linking CXX executable kactivitymanagerd
CMakeFiles/activity-manager.dir/ZeitgeistEventBackend.o: In function
`ZeitgeistEventBackend::ZeitgeistEventBackend()':
ZeitgeistEventBackend.cpp:(.text+0x22): undefined reference to
`QtZeitgeist::init()'
collect2: ld returned 1 exit status
make[2]: *** [activitymanager/kactivitymanagerd] Error 1
make[1]: *** [activitymanager/CMakeFiles/activity-manager.dir/all] Error 2
make: *** [all] Error 2

I then edited activitymanager/ZeitgeistEventBackend.cpp to change all the
QtZeitgeist to QZeitgeist but the make then fails on;

[  7%] Building CXX object
activitymanager/CMakeFiles/activity-manager.dir/ZeitgeistEventBackend.o
/usr/src/kde-runtime-4.7.4/activitymanager/ZeitgeistEventBackend.cpp: In
constructor 'ZeitgeistEventBackend::ZeitgeistEventBackend()':
/usr/src/kde-runtime-4.7.4/activitymanager/ZeitgeistEventBackend.cpp:87:5:
error: 'init' is not a member of 'QZeitgeist'
/usr/src/kde-runtime-4.7.4/activitymanager/ZeitgeistEventBackend.cpp: At global
scope:
/usr/src/kde-runtime-4.7.4/activitymanager/ZeitgeistEventBackend.cpp:90:6:
warning: unused parameter 'events' [-Wunused-parameter]
/usr/src/kde-runtime-4.7.4/activitymanager/ZeitgeistEventBackend.cpp:35:16:
warning: 'QString eventInterpretation(Event::Type)' defined but not used
[-Wunused-function]
/usr/src/kde-runtime-4.7.4/activitymanager/ZeitgeistEventBackend.cpp:56:16:
warning: 'QString eventManifestation(Event::Reason)' defined but not used
[-Wunused-function]
/usr/src/kde-runtime-4.7.4/activitymanager/ZeitgeistEventBackend.cpp:79:16:
warning: 'QString applicationUri(const QString&)' defined but not used
[-Wunused-function]
make[2]: ***
[activitymanager/CMakeFiles/activity-manager.dir/ZeitgeistEventBackend.o] Error
1
make[1]: *** [activitymanager/CMakeFiles/activity-manager.dir/all] Error 2
make: *** [all] Error 2

Which about takes me as far as I can go. I do not know what this function
should be changed to;

ZeitgeistEventBackend::ZeitgeistEventBackend()
{
    QZeitgeist::init();
}

Note that function reflects my edits. Unedited it would be; QtZeitgeist::init()

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list