Gentoo Archives: gentoo-user

From: Daniel Pielmeier <daniel.pielmeier@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] qt-4.4.3 won't install any files
Date: Mon, 30 Mar 2009 10:53:33
Message-Id: 6142e6140903300353l14fab07bp69fee4cb66bb4ead@mail.gmail.com
In Reply to: Re: [gentoo-user] qt-4.4.3 won't install any files by Neil Bothwick
1 2009/3/30 Neil Bothwick <neil@××××××××××.uk>:
2 > On Mon, 30 Mar 2009 10:38:48 +0200, Daniel Pielmeier wrote:
3 >
4 >> Calling it qt-meta instead of simply qt has nothing to do with this.
5 >> No ebuild should ever depend on the qt meta ebuild, instead it should
6 >> just depend on the needed parts that have been split up. So a
7 >> transition from the single qt dependency to the split up parts was
8 >> needed anyway and already took place. The only remaining reason for
9 >> the meta ebuild is that some people who want all of qt can simply
10 >> emerge the meta ebuild.
11 >
12 > During the transition, there will be lots of packages depending on qt.
13 > Your argument becomes true when all previous qt:4 ebuilds vanish from the
14 > tree, and so do all ebuilds depending on them. Until then, the meta ebuild
15 > is required, as it was with XOrg.
16 >
17
18 Okay, let me try to make this more clear.
19
20 First some example dependencies for the switch from monolithic to
21 split qt which happened between qt-4.3 and qt-4.4:
22
23 monolithic phase:
24 DEPEND="x11-libs/qt:4"
25
26 transition phase (monolithic and split qt coexist):
27 DEPEND="|| ( ( x11-libs/qt-gui x11-libs/qt-opengl ) =x11-libs/qt-4.3* )"
28
29 split phase (only split qt left):
30 DEPEND="x11-libs/qt-gui x11-libs/qt-opengl"
31
32 In the monolithic phase there was no meta ebuild and everything
33 depended on the monolithic qt ebuild. During the transition phase the
34 dependencies have been separated to make it possible to use either the
35 monolithic qt-4.3 or the split qt-4.4 without any ebuild depending
36 direct on the new qt-4.4 meta ebuild but just the split parts which
37 are needed by the application. After the removal of the monolithic
38 qt-4.3 ebuild which already happened the ebuilds need to depend on the
39 split parts only. So there should be no ebuild in the monolithic phase
40 and almost all ebuilds in the transition phase that will be slowly
41 converted to the split phase.
42
43 So as far as I see the new qt meta ebuild wasn't needed at any time.
44
45 --
46 Regards,
47 Daniel

Replies

Subject Author
Re: [gentoo-user] qt-4.4.3 won't install any files Neil Bothwick <neil@××××××××××.uk>