Gentoo Archives: gentoo-dev

From: Robert Paskowitz <r2d2@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Gentoo as a development platform
Date: Sun, 17 Apr 2005 00:13:31
Message-Id: 4261AA2B.2060400@gentoo.org
In Reply to: Re: [gentoo-dev] Gentoo as a development platform by Daniel Drake
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 > Portage doesn't contain many cvs ebuilds. Writing one might not be
5 that much
6 > hassle, but why should I have to? We already have functional ebuilds to build
7 > that particular package, and I have some slightly newer source code (e.g. in
8 > my homedir) that I want it to build instead.
9 >
10 > If I did write a cvs ebuild, it would check out the sources *again* from CVS,
11 > into /usr/portage/distfiles (I guess...). This is redundant and will take
12 > quite a bit of time for larger packages.
13
14 After an initial checkout, it does cvs up's to keep it up to date, so it
15 would not be that much downloading. The source is kept in
16 /usr/portage/distfiles/cvs-src. Also, if you planned on using a setup
17 like this, there wouldn't really be a need to have the source in your
18 home directory as well.
19
20 While this not that much of a
21 > problem, one of my motives behind this is that I want to improve productivity.
22 > Writing an ebuild *again* which checks out the sources *again* doesn't really
23 > go in this direction.
24 >
25
26 Most cvs ebuilds I've seen are nearly identical to a non-cvs ebuild. The
27 only changes that should be required might be related to running autogen
28 before configure, besides that, the build process should not need to be
29 changed.
30
31 I think this is the 'scripts or tips' type thing that most people are
32 doing now. As for extending gentoo or portage to do it more seemlessly,
33 well, you'd need to get hacking on portage to do that. Combining the
34 power of a cvs ebuild with a regular one would probably not be all that
35 difficult. Having portage take your own tree from a particular user's
36 home directory on the other hand seems like a bit of a stretch, and no
37 necessarily all that useful.
38
39 Robert
40 -----BEGIN PGP SIGNATURE-----
41 Version: GnuPG v1.2.4 (Darwin)
42 Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
43
44 iD8DBQFCYaorZwjIiODIZ4oRAvAeAJ0TQNY6b9VRf9dZL2IdouuV92ohCACfaj9K
45 xbQznSFNGnVPCEiRFcE1QJA=
46 =1NjA
47 -----END PGP SIGNATURE-----
48 --
49 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Gentoo as a development platform Daniel Drake <dsd@g.o>