Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277016 - x11-wm/compiz must depend on kwin:4.3 too if kde4 use flag specified
Summary: x11-wm/compiz must depend on kwin:4.3 too if kde4 use flag specified
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Desktop-Effects herd
URL:
Whiteboard: [in overlay]
Keywords:
: 281051 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-07-08 10:39 UTC by bobrik
Modified: 2009-09-01 22:02 UTC (History)
3 users (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 bobrik 2009-07-08 10:39:30 UTC
I may only use compiz with kde-live slot from kde-testing overlay. I think it's better to add 4.3 (and maybe some later slots) to compiz kde4 use flag depends

Reproducible: Always

Steps to Reproduce:
try to install kde-4.3 after kde-4.2 with compiz installed
Actual Results:  
you will see blocks with kwin:4.2 and kwin:4.3
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-07-16 14:29:25 UTC
I've updated the KDE4 dependencies on compiz-0.8.2-r3 in the overlay.
The ebuild is masked because of the kde* use flags update.
Comment 2 Bernie Hackett 2009-08-10 21:11:13 UTC
(In reply to comment #1)
> I've updated the KDE4 dependencies on compiz-0.8.2-r3 in the overlay.
> The ebuild is masked because of the kde* use flags update.
> 

kde 4.3 has been unmasked for amd64 and this is causing a block:

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  ('ebuild', '/', 'kde-base/kwin-4.2.4', 'merge') pulled in by
    kde-base/kwin:4.2 required by ('installed', '/', 'x11-wm/compiz-0.8.2-r2', 'nomerge')

  ('installed', '/', 'kde-base/kwin-4.3.0', 'nomerge') pulled in by
    >=kde-base/kwin-4.3.0:4.3[-kdeprefix] required by ('installed', '/', 'kde-base/kdebase-startkde-4.3.0', 'nomerge')

etc...

Editing the compiz ebuild to depend on kwin:4.3 fixes the problem for me.

Comment 3 Mike Auty (RETIRED) gentoo-dev 2009-08-15 15:38:33 UTC
*** Bug 281051 has been marked as a duplicate of this bug. ***
Comment 4 Ian Abbott 2009-08-18 15:00:56 UTC
(In reply to comment #3)
> *** Bug 281051 has been marked as a duplicate of this bug. ***
> 

But bug 281051 is for compiz-0.8.2-r2 in the main portage tree.
Comment 5 Ian Abbott 2009-08-18 15:10:34 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > *** Bug 281051 has been marked as a duplicate of this bug. ***
> But bug 281051 is for compiz-0.8.2-r2 in the main portage tree.
Sorry for my stupid comment above.  here's a more helpful one...

compiz-0.8.2-r3 in the "desktop-effects" layman overlay resolves the block with the following part of the DEPEND setting:

    kde? (
        || (
            >=kde-base/kwin-4.2.0
            kde-base/kwin:live
        )
    )

I.e. "kde-base/kwin:4.2" has been changed to ">=kde-base/kwin-4.2.0".

However, the compiz-0.8.2-r3 ebuild is masked, so I made the same change to the compiz-0.8.2-r2 ebuild in a local overlay and it seems to work fine.
Comment 6 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-08-29 13:54:35 UTC
mrpouet has committed 0.8.2-r3 to the tree, so I'm marking this as fixed.
Comment 7 Mark Gray 2009-08-30 00:12:05 UTC
This change has affected KDE 3.x users like me. I'm hoping that was unintentional. Presumably

    kde? (

should have been

    kde4? (

PS - compiz-0.8.2-r2 built just fine with KDE 3.5
Comment 8 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-09-01 13:09:04 UTC
(In reply to comment #7)
> This change has affected KDE 3.x users like me. I'm hoping that was
> unintentional. Presumably
> 
>     kde? (
> 
> should have been
> 
>     kde4? (
> 
> PS - compiz-0.8.2-r2 built just fine with KDE 3.5

This was intentional. The use flags have been renamed. If you want to enable KDE3 support, replace the "kde" use flag with "kde3".
Comment 9 Mathieu Z 2009-09-01 21:38:14 UTC
I just synced and am now in this strange block situation:

compiz-0.8.2-r3, which is now the only ebuild available on portage, is MASKED.

So, portage falls back to:
compiz-0.8.2, which is in the desktop-effects overylay and do not have the fix, but do have the proper kde and kde4 useflag.

So, perhaps the compiz-0.8.2.ebuild in desktop-effects should be patched:
diff --git a/x11-wm/compiz/compiz-0.8.2.ebuild b/x11-wm/compiz/compiz-0.8.2.ebu
index e11a6de..75c6e2f 100644
--- a/x11-wm/compiz/compiz-0.8.2.ebuild
+++ b/x11-wm/compiz/compiz-0.8.2.ebuild
@@ -56,6 +56,7 @@ DEPEND="
        kde4? (
                || (
                        kde-base/kwin:4.2
+                       kde-base/kwin:4.3
                        kde-base/kwin:live
                )
        )
Comment 10 Romain Perier (RETIRED) gentoo-dev 2009-09-01 22:02:55 UTC
compiz-0.8.2-r3 isn't masked at all into the main tree, it's just we need to remove the mask from the overlay (I'll do it now)