Gentoo Archives: gentoo-dev

From: Dan Armak <danarmak@g.o>
To: gentoo-dev@g.o, gentoo-user@g.o
Subject: [gentoo-dev] RFC: KDE 'child' packages (separate ebuilds for konqueror kmail etc.)
Date: Mon, 13 May 2002 05:04:00
Message-Id: 200205131301.45279.danarmak@gentoo.org
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Hello everyone,
5
6 During the last week I've been working on separating the kde-base/* packages
7 into 'child' packages, a feature requested by some people. For example,
8 instead of kdenetwork we'd have separate kmail, knode, kppp etc. ebuilds. The
9 actual eclass framework to do this is ready.
10
11 However, there is a problem. A 'parent' package (e.g. kde-base/kdenetwork)
12 will still exist since most people will want to merge all of it. There are
13 two ways to go:
14
15 1. The parent and child packages will not be related. They will overwrite each
16 other's files. This is unacceptable.
17
18 2. The parent package will depend on all of its children and install nothing
19 itself. Like kde-base/kde depends on kdebase kdenetwork etc., so will
20 kde-base/kdenetwork depend on net-www/konqueror, net-mail/kmail etc. This is
21 the approach I've taken so far.
22
23 The problem is that while every 'child' package only compiles and installs the
24 relevant files, it still needs to run the complete configure script of its
25 parent package. In the admittedly worst-case example of kdebase, the script
26 takes ~1.5 minutes to execute on my P3-900. kdebase has 39 child packages, so
27 emerging kdebase with the new setup (i.e. emerging all child packages) will
28 take about an hour longer than emerging a monolithic kdebase takes now -
29 worse for slower computers.
30
31 Most users won't accept this tradeoff of compile time for flexibility. So if
32 you have an alternative solution, please suggest it. Otherwise there won't be
33 any kde child packages. Speak now or remain forever silent :-)
34
35 - --
36 Dan Armak
37 Gentoo Linux developer (KDE)
38 Matan, Israel
39 -----BEGIN PGP SIGNATURE-----
40 Version: GnuPG v1.0.7 (GNU/Linux)
41
42 iD8DBQE8348IUI2RQ41fiVERAqSWAJ92lM8cVCcH0bhefNNHbO+ww3VuHQCfVApF
43 gMSpHtMGOR7pgMKhdm8nJ/c=
44 =R1ij
45 -----END PGP SIGNATURE-----

Replies