Gentoo Archives: gentoo-user

From: Albert Hopkins <marduk@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: depclean wants to wipe out KDE3
Date: Sun, 21 Dec 2008 15:30:29
Message-Id: 1229873425.25496.15.camel@blackwidow.nbk
In Reply to: [gentoo-user] Re: depclean wants to wipe out KDE3 by Nikos Chantziaras
1 On Sun, 2008-12-21 at 06:34 +0200, Nikos Chantziaras wrote:
2 > Nikos Chantziaras wrote:
3 > > [...]
4 > > The reason is that KDE4 is a new product and has nothing to do with KDE3
5 > > other than the name. And another reason is the problem I'm describing
6 > > in this very thread which should have not been a problem if KDE4 had its
7 > > own tree. Now I'm required to have non-straightforward voodoo performed
8 > > to get things right just because the devs made a wrong decision.
9
10 That's what SLOTS are fore. KDE4 is in it's own slot and can be
11 installed instead of/in addition to KDE 3.5. Putting a package in a
12 different SLOT is effectively putting it i it's own tree.
13
14 $ emerge -p kde-base/kde-meta:3.5
15 [...]
16
17 [ebuild N ] kde-base/kdepim-wizards-3.5.10 USE="-debug"
18 [ebuild N ] kde-base/karm-3.5.10 USE="-debug"
19 [ebuild N ] kde-base/kontact-specialdates-3.5.10 USE="-debug"
20 [ebuild N ] kde-base/kdepim-meta-3.5.10 USE="-pda"
21 [ebuild N ] kde-base/kde-meta-3.5.10 USE="nls -accessibility"
22
23 $ emerge -p kde-base/kde-meta:4.1
24 [...]
25 [ebuild N ] kde-base/krunner-4.1.3 USE="opengl -debug -kdeprefix
26 -xcomposite -xscreensaver"
27 [ebuild N ] kde-base/kdepim-meta-4.1.3
28 [ebuild N ] kde-base/kdebase-startkde-4.1.3 USE="-kdeprefix"
29 [ebuild N ] kde-base/kdebase-meta-4.1.3
30 [ebuild N ] kde-base/kde-meta-4.1.3 USE="-accessibility"
31
32 What kind of voodoo is that?
33
34 In the past, Gentoo devs have spend a lot of time and effort moving
35 split package trees under one tree (e.g. PHP). I don't see them going
36 backwards any time soon.
37
38 >
39 > Another problem, this time not technical. I just don't want many of
40 > those packages in my world file. I want to use depclean and have those
41 > packages removed when the package that depends on them is also removed.
42 > The depclean feature just got useless for those packages.
43 >
44
45 By definition, --depclean doesn't remove anything in the world file (or
46 its dependencies). If you want something removed don't put it in the
47 world file (or put something that depends on it in your world file).
48 *You* are the controller of your world file. Nothing gets put there
49 without your specifying so.
50
51 Anyone still thinks it was a good idea to have KDE4 use the same tree
52 > with KDE3? This is was clearly a wrong decision.
53 >
54 > Workarounds are welcome.
55
56 I don't think you need a work-around, just to understand how portage
57 works. A (re-)read of the man pages should help.
58
59 -a