Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 489186

Summary: kde-base/plasma-workspace-4.11.2-r1 USE=semantic-desktop pulls in kde-base/kdepimlibs
Product: Gentoo Linux Reporter: Duncan <1i5t5.duncan>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal CC: arfrever.fta, egorov_egor, erikdenstore+gbugs, franz.trischberger, josef64, reagentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 484884    

Description Duncan 2013-10-23 19:22:56 UTC
+++ This bug was initially created as a clone of Bug #479842 +++

johu said in bug #479842 comment #22:
> If you spot more issues with missing semantic-desktop use
> flags please open a new bug per package, except where we
> cant disable it (kdepim).

First, I've been waiting for my chance to say thanks for bringing back the semantic-desktop USE flag.  You have my /immense/ gratitude!  =:^)

With the system-settings fix per bug #479842 I now have just one semantic-desktop removal related patch in my collection, plasma-workspace, so here's the bug for it as requested.  This is necessary because kdepimlibs requires semantic-desktop, so depending on it should be conditional on USE=semantic-desktop.  But my original patches hard-disabled so they aren't appropriate as I had actually been running them, so I'll simply describe the necessary fixes:

1) In COMMONDEPEND, the kdepimlibs dep needs a semantic-desktop conditional (it'd probably be added to the existing conditional further down, however, instead of the simple conditional I have shown here):

-   $(add_kdebase_dep kdepimlibs)
+   semantic-desktop? ( $(add_kdebase_dep kdepimlibs) )

2) In src_configure(), add a semantic-desktop conditional cmake-use-with KdepimLibs

+   $(cmake-utils_use_with semantic-desktop KdepimLibs)


I've been running with those deps hard-disabled for awhile now, so I know it works.  But I'm not positive I have the conditional stuff correct and I know the above is white-space damaged so don't try to copy/paste it verbatim.  Make the changes manually.
Comment 1 Johannes Huber (RETIRED) gentoo-dev 2013-10-23 21:14:11 UTC
Thank you for reporting. Introducing of semantic-desktop use flag for kde-base/libplasmaclock was needed too. This is fixed in cvs now. Please sync in some hours to get the changes.

+
+  23 Oct 2013; Johannes Huber <johu@gentoo.org>
+  plasma-workspace-4.11.2-r1.ebuild:
+  Fix USE semantic-desktop by Duncan <1i5t5.duncan@cox.net> wrt bug #489186.
+

+
+  23 Oct 2013; Johannes Huber <johu@gentoo.org> libplasmaclock-4.11.2.ebuild:
+  Add semantic-desktop useflag.
+