1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Ciaran McCreesh wrote: |
5 |
| On Sun, 20 Apr 2008 22:17:27 -0700 |
6 |
| Donnie Berkholz <dberkholz@g.o> wrote: |
7 |
|> I don't think I understand the difference between the effects of |
8 |
|> these two options. |
9 |
| |
10 |
| cat/a-1 is installed and has RDEPEND cat/b |
11 |
| cat/a-2 is to be installed and has DEPEND cat/b and RDEPEND =cat/b-2 |
12 |
| cat/b-1 is installed and has RDEPEND cat/a |
13 |
| cat/b-2 is to be installed and has DEPEND cat/a and RDEPEND =cat/a-2 |
14 |
| |
15 |
| Solve this and enlightenment shall be yours! |
16 |
| |
17 |
| Or a headache. |
18 |
| |
19 |
|
20 |
This problem has the two obvious solutions: either install a-2 and then b-2 or the other |
21 |
way around. But to be relevant to the current discussion you need to specify whether or |
22 |
not there are any pkg_{pre,post}inst functions. If there are too many then it becomes |
23 |
unsolvable and is probably a bug, as I already explained: |
24 |
|
25 |
|> If only one of those packages has a pkg_postinst then it is still |
26 |
|> solvable. If they both have a pkg_postinst then one of those is |
27 |
|> probably not essential for the actual usability of the package and |
28 |
|> should be removed. A final possibility is that the pkg_postinsts are |
29 |
|> both necessary for a fully functional package but not for the |
30 |
|> functionality used in the other pkg_postinst. If this is the case, |
31 |
|> then perhaps we should specify deps according to which ebuild phase |
32 |
|> they are necessary for? |
33 |
| |
34 |
| Not with current EAPIs we can't. |
35 |
| |
36 |
|> SRC_UNPACK_DEP="app-arch/unzip" |
37 |
|> SRC_COMPILE_DEP="dev-scheme/bigloo" |
38 |
|> SRC_INSTALL_DEP="" |
39 |
| |
40 |
| Labels are a cleaner solution to this. But again, we're discussing |
41 |
| current EAPIs here. |
42 |
|
43 |
Labels seems to be another syntax for providing the same information as I proposed AIUI, |
44 |
i.e. finer-grained deps. |
45 |
|
46 |
Marijn |
47 |
|
48 |
- -- |
49 |
Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML |
50 |
<http://www.gentoo.org/proj/en/lisp/>, #gentoo-{lisp,ml} on FreeNode |
51 |
-----BEGIN PGP SIGNATURE----- |
52 |
Version: GnuPG v2.0.9 (GNU/Linux) |
53 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org |
54 |
|
55 |
iEYEARECAAYFAkgMVekACgkQp/VmCx0OL2waMgCglvtOPnu1xBIpUn0EbG7jDNsf |
56 |
xLQAoLfQR4s8hAvzhgfx5JuY4sj9gp7+ |
57 |
=Creb |
58 |
-----END PGP SIGNATURE----- |
59 |
-- |
60 |
gentoo-dev@l.g.o mailing list |