Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 239282 - media-libs/libkipi, media-libs/libkdcraw, media-libs/libkexiv2 install into /usr, breaking KDE4
Summary: media-libs/libkipi, media-libs/libkdcraw, media-libs/libkexiv2 install into /...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: kdeprefix
  Show dependency tree
 
Reported: 2008-10-01 20:34 UTC by Jan Kundrát (RETIRED)
Modified: 2008-12-10 16:49 UTC (History)
2 users (show)

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


Attachments
kde-functions.eclass.patch (kde-functions.eclass.patch,450 bytes, patch)
2008-10-01 20:35 UTC, Jan Kundrát (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Kundrát (RETIRED) gentoo-dev 2008-10-01 20:34:36 UTC
Dear KDE team, the KDE3 versions of packages in $SUBJECT install themselves into /usr, while the proper place is /usr/kde/3.5. Current situation is suboptimal, as the 4.1 variants of these packages simly block the older, which means that users can't simultanously use kde3 applications (like digikam or kphotoalbum) and install KDE4.

Therefore, I propose the following changes:

1) Applying a trivial patch to kde-functions.eclass, which changes the installation path of these packages into the /usr/kde/3.5
2) Revision bumping these packages, so that users will re-install them to the new destination
3) Relaxing blocker in new KDE4 ebuilds to older versions of these packages
Comment 1 Jan Kundrát (RETIRED) gentoo-dev 2008-10-01 20:35:36 UTC
Created attachment 166939 [details, diff]
kde-functions.eclass.patch
Comment 2 Jan Kundrát (RETIRED) gentoo-dev 2008-10-01 20:57:47 UTC
In addition, the blocker shouldn't be conditional on USE=-kdeprefix. While the packages don't install to the same location without this USE flag, compilation of any package using them fails, as /usr usually takes precedence over /usr/kde/4.x. Therefore, we want to always die when the old, unpatched package is installed.
Comment 3 Thomas Bettler 2008-10-04 13:23:22 UTC
Would be great to have this smaller issue solved too.
Comment 4 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2008-10-04 16:57:35 UTC
Jan,

this should be fixed now.
Many thanks for coming up with the solution.
Comment 5 Anton S. Ustyuzhanin 2008-12-09 17:28:54 UTC
What if i need kde-4.1.3 with gwenview and kde-3.5.9 with gwenview.
For kde4 it would be kde-base/gwenview:4.1 which needs kde-base/libkipi:4.1, on other side for kde3  it whould be media-gfx/gwenview which needs media-libs/libkipi.

Now kde-base/libkipi and media-libs/libkipi cannot coexist by portage block: DEPEND="!<=media-libs/libkipi-0.1.6"

What is the solution?
Comment 6 Anton S. Ustyuzhanin 2008-12-09 17:35:16 UTC
I think you have to add a condition:
if kdeprefix USE flag is set, then no need DEPEND="!<=media-libs/libkipi-0.1.6"
Comment 7 Jan Kundrát (RETIRED) gentoo-dev 2008-12-09 23:14:50 UTC
(In reply to comment #5)
> What if i need kde-4.1.3 with gwenview and kde-3.5.9 with gwenview.

That's why this bugreport has been created.

> For kde4 it would be kde-base/gwenview:4.1 which needs kde-base/libkipi:4.1, on
> other side for kde3  it whould be media-gfx/gwenview which needs
> media-libs/libkipi.

If the kde3 version of gwenview doesn't depend on a compliant version of libkipi, please file a separate bug.

> Now kde-base/libkipi and media-libs/libkipi cannot coexist by portage block:
> DEPEND="!<=media-libs/libkipi-0.1.6"

Please note that it block the *old* version. A new version of media-libs/libkipi was put in place which installs stuff correctly to a sane destination. You might have to keyword it in the meanwhile if you're using ~arch kde4.

(In reply to comment #6)
> I think you have to add a condition:
> if kdeprefix USE flag is set, then no need DEPEND="!<=media-libs/libkipi-0.1.6"

Nope, this would be just plain wrong as explained in comment #2.
Comment 8 Anton S. Ustyuzhanin 2008-12-10 16:49:11 UTC
(In reply to comment #7)
> Please note that it block the *old* version. A new version of
> media-libs/libkipi was put in place which installs stuff correctly to a sane
> destination. You might have to keyword it in the meanwhile if you're using
> ~arch kde4.
Thanks a lot!
I have understood things, and now I've got working system.