Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 493800 - kde-base/kdepimlibs-4.11.2-r1 pulls semantic-desktop unconditionally
Summary: kde-base/kdepimlibs-4.11.2-r1 pulls semantic-desktop unconditionally
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-09 22:41 UTC by Alon Bar-Lev (RETIRED)
Modified: 2013-12-10 00:51 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alon Bar-Lev (RETIRED) gentoo-dev 2013-12-09 22:41:02 UTC
Hi,

So far I was able to escape the inclusion of the semantic-desktop, I don't need it and it pulls too many extra packages.

Now I see that kdepimlibs pulls kdelibs with semantic-desktop unconditionally.

I only use the kdepimlibs for konversation... so I found out that if I patch kdeimplibs proper way is to add conditional:

diff -urNp kdepimlibs-4.11.2.org/CMakeLists.txt kdepimlibs-4.11.2/CMakeLists.txt
--- kdepimlibs-4.11.2.org/CMakeLists.txt        2013-09-26 22:22:19.783343421 +0300
+++ kdepimlibs-4.11.2/CMakeLists.txt    2013-12-10 00:32:39.377573087 +0200
@@ -159,6 +159,9 @@ add_subdirectory(cmake)
 add_subdirectory(gpgme++)
 add_subdirectory(qgpgme)

+add_subdirectory(kabc)
+add_subdirectory(kresources)
+add_subdirectory(kldap)
 if (NOT KDEPIM_ONLY_KLEO)
   add_subdirectory(kabc)
   add_subdirectory(kalarmcal)

Remove the following from ebuild DEPEND:
#   $(add_kdebase_dep nepomuk-core)
#   $(add_kdebase_dep kdelibs 'semantic-desktop')
#   >=app-office/akonadi-server-1.10.1

And set the following in ebuild configure:
        -DKDEPIM_ONLY_KLEO=yes

It is sufficient.

Unsure if you want to support kdepimlibs in this mode or not.
Comment 1 Chris Reffett (RETIRED) gentoo-dev Security 2013-12-10 00:51:12 UTC
That's intentional, the team decided when we restored the semantic-desktop flag that we would not patch ebuilds to support it. kdepimlibs and co are the only packages where the source unconditionally depends on akonadi, so they all have a hard dep on semantic-desktop.