Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 303651 - kde-base/kaddressbook-4.3.5 has lost integration with kontact
Summary: kde-base/kaddressbook-4.3.5 has lost integration with kontact
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal with 2 votes (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-05 23:11 UTC by Trebor A. Rude
Modified: 2010-07-27 13:43 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
paludis --info kde-base/kaddressbook (bug_303651.txt,20.82 KB, text/plain)
2010-02-05 23:19 UTC, Trebor A. Rude
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Trebor A. Rude 2010-02-05 23:11:17 UTC
After upgrading KDE to 4.3.5, the address book no longer appears in Kontact. I have kaddressbook installed, and can use it independently of Kontact. I did build it with the kontact use flag set. However, no kontact plugins are built ("paludis --contents kaddressbook | grep kont" comes up empty), as they are for other kdepim programs, like korganizer (where you'll see things like "/usr/lib64/kde4/kontact_todoplugin.so").

Reproducible: Always

Steps to Reproduce:
1.Upgrade kontact and kaddressbook to 4.3.5
2.
3.

Actual Results:  
No Contacts icon in the Kontact "Main Toolbar" anymore, no reference to contacts in the "Configure Kontact..." dialog box.

Expected Results:  
Contacts icon appears when "Main Toolbar" is enabled.
Comment 1 Trebor A. Rude 2010-02-05 23:19:25 UTC
Created attachment 218597 [details]
paludis --info kde-base/kaddressbook
Comment 2 Jochen Trumpf 2010-02-22 10:45:16 UTC
Hi,

I am having the exact same problem (upgrading from 4.3.3 to 4.3.5 after recent stabilization). I am using portage, so it should not be connected to paludis.

The only rational explanation that I can come up with is that somehow the following test in kontact/plugins/CMakeLists.txt fails:

  if(BUILD_kmail AND BUILD_kaddressbook)
    add_subdirectory( kaddressbook )
  endif(BUILD_kmail AND BUILD_kaddressbook)

It appears that BUILD_kmail is not set (why would it be???). I am having difficulty seeing why this should have worked in 4.3.3, though (but it clearly did!). I didn't find any change between 4.3.3 and 4.3.5 that would explain this mystery.

Note that the add_subdirectory has been correctly uncommented by the logic in the eclass, so it likely to be a cmake issue rather than something in the ebuild/eclasses.

Anybody else any ideas? How do I set a cmake variable from the ebuild or the environment so I can see if that would solve it?

Cheers, Jochen
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-02-22 10:54:13 UTC
Does this have something to do with USE="semantic-desktop" not being enabled by default anymore? Note that it changed from 4.3.3 to 4.3.5.
Comment 4 Jochen Trumpf 2010-02-22 11:14:04 UTC
I don't think so, I have semantic-desktop set.

I actually found a way to set BUILD_kmail from the ebuild (note that is probably not even a workaround, use at your own peril): add -DBUILD_kmail=TRUE to the mycmakeargs array in src_configure.

Now the ebuild attempts to compile the kontact plugin, but the compile fails with the following error message:

make[2]: *** No rule to make target `kmail/org.kde.kmail.kmail.xml', needed by `kontact/plugins/kaddressbook/kmailinterface.cpp'.  Stop.                                                                                    
make[1]: *** [kontact/plugins/kaddressbook/CMakeFiles/kontact_kaddressbookplugin.dir/all] Error 2             

Me now wonders whether somebody disabled this on purpose? 
Comment 5 Jochen Trumpf 2010-02-22 12:06:28 UTC
Okay, the compile error finally led me on the right path: somebody removed the cmake target for the kmail interface from kde4-meta.eclass when compiling kaddressbook:

http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/kde4-meta.eclass?r1=1.32&r2=1.33

The second change under the heading "Line 588".

I can only guess that this was changed because of the new addressbook in newer KDE versions. Reverting that change makes the plugin compile and it seems to work okay (without any changes to the ebuild, i.e. without setting any cmake variables like in comment #4). 

Not sure how to fix this properly. I guess this needs some versioning logic and definitely an eclass expert to look at ...
Comment 6 boospy 2010-03-14 08:43:22 UTC
Hello 

I have the same Problem. But i wait for 4.4. I hope the problem is solved there.

greetings
Mario
Comment 7 Maciej Mrozowski gentoo-dev 2010-03-15 03:41:46 UTC
This regression is fixed with 4.3.5-r1, sorry for inconvenience. 4.4 releases are unaffected.