public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dan Armak <danarmak@gentoo.org>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] Split KDE packages?
Date: Wed, 29 Jan 2003 16:15:03 +0200	[thread overview]
Message-ID: <200301291615.03363.danarmak@gentoo.org> (raw)
In-Reply-To: <200301280534.25302.absinthe@pobox.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello everyone,

This is my plan :-)

I understand now that so many people have requested it that splitting the 
packages (in a way that doesn't harm those who want the full packages!) is an 
important feature. I wanted to explain to everyone what my outlook on this 
is, so I'm quoting my comments from bug #11123 (including one I added just 
now):

- ------- Additional Comment #1 From Dan Armak 2002-11-29 13:46 -------
This has been discussed before. Formally if you want to call it that - on the 
mailing lists at least. 
 
There are two ways of implementing this. 
 
Under the current portage architecture, we'd need to use separate, autonomous 
ebuilds for every 'subpackage'. This however raises a problem: 
 
A kde configure script takes as much as a minute or more to run. Today when 
you emerge all of kde you run ~17 configure scripts, i.e. as much as 20 
minutes goes there (of course everything depends on the speed of the 
machine).
If all kde-base packages are split into separate subpackage ebuilds, you'll 
get hundreds of subpackages (200+). That means an extra 200 minutes -- 3.5 
hours -- added to the compilation time of all of KDE. And most people do want 
the whole of kde. This is unacceptable. 
 
There were various proposals of caching the configuration info, or sharing it 
somewhere in /var/tmp. But all that is complex, inelegant and unpleasant to 
implement and maintain. 
 
The other possibility is having a single ebuild provide real 'subpackages' any 
combination of which could be emerged by request. However there would only be 
a single workdir, so unless you deleted /var/tmp/portage in the middle of it, 
'emerge kde' would run configure a minimal amount of times. 
 
However this requires new portage features: fex. keeping in /var/db/pkg the 
info of which subpackages are installed, and recognizing a variables/use flag 
for that purpose. 
 
Someday I hope this can be done. 

- ------- Additional Comment #8 From Dan Armak 2003-01-29 08:17 -------
 
It is not a problem to make an ebuild compile a subset of all available 
subpackages. <snip>
 
Now the best solution IMHO would be to implement 'subpackages' as i described 
before. An ebuild could then divide the files it installs into a number of 
'subpackages'. If the user requested merging certain subpackages, the ebuild 
would (should) be smart enough to take only the minimal action required to 
compile those subpackages. And if the user requested everything (as in an 
ordinary emerge command), the ebuild would be smart enough not to repeat 
actions (ie not to run configure more than once). 
 
This obviously needs portage-side support and so must come after the present 
(pre-1.4-release) feature freeze ends. I'll try to add such support then, 
meanwhile I'm dealing with bugs only... 

- -- 
Dan Armak
Gentoo Linux developer (KDE)
Matan, Israel
Public GPG key: http://www.gentoo.org/~danarmak/danarmak-gpg-public.key
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+N+HnUI2RQ41fiVERAjWDAJ9+1y4m0Uaf9mWVBHu3bz+FIjYRjQCbBil/
ac43MZk6sGapo8K2REuWBBU=
=ozoD
-----END PGP SIGNATURE-----


--
gentoo-dev@gentoo.org mailing list


  parent reply	other threads:[~2003-01-29 14:28 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-27 23:42 [gentoo-dev] Split KDE packages? Jan Winhuysen
2003-01-28  0:08 ` Dylan Carlson
2003-01-28  3:57   ` Stephan Hermann
2003-01-28  4:13     ` Riyad Kalla
2003-01-28 10:34     ` Dylan Carlson
2003-01-28 10:56       ` Jan Winhuysen
2003-01-28 13:40       ` Riyad Kalla
2003-01-28 14:08         ` Marko Mikulicic
2003-01-28 14:32           ` Dylan Carlson
2003-01-28 14:44             ` Dylan Carlson
2003-01-28 14:24         ` Jan Winhuysen
2003-01-28 15:27       ` Stephan Hermann
2003-01-28 16:43         ` Dylan Carlson
2003-01-29 14:15       ` Dan Armak [this message]
2003-01-29 14:30         ` Dylan Carlson
2003-01-29 14:38           ` Riyad Kalla
2003-01-29 15:09           ` Dan Armak
2003-01-29 15:34             ` Dylan Carlson
2003-01-29 21:24         ` John Nilsson
2003-01-30  9:13           ` Stephan Hermann
2003-01-30 10:25             ` John Nilsson
2003-01-30 13:11               ` Dan Armak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200301291615.03363.danarmak@gentoo.org \
    --to=danarmak@gentoo.org \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox