1 |
On Saturday 25 of June 2011 19:29:58 Ulrich Mueller wrote: |
2 |
> >>>>> On Sat, 25 Jun 2011, Maciej Mrozowski wrote: |
3 |
> > Assuming package names are unique identifiers, tags are not |
4 |
> > necessary to be available for ebuild.sh so metadata.xml is the best |
5 |
> > place. |
6 |
> |
7 |
> But we know that package names are _not_ unique. There are many cases |
8 |
> in the Portage tree where two or even more packages have the same |
9 |
> name. Categories are there to avoid such collisions. |
10 |
|
11 |
But we also know, that making package names unique is first step to take as I |
12 |
already noted in my first post in this thread. It's not that current package |
13 |
naming scheme should be an unfixable obstacle preventing us from getting rid |
14 |
of pointless categories (yes, every pkgmove in tree renders categories concept |
15 |
broken by design, sorry to state this fact brutally). |
16 |
|
17 |
As far as app-xemacs is concerned (and probably why you commented here), it |
18 |
should be sufficient to prepend "xemacs-" to package names from app-xemacs |
19 |
category in order to make them distinguished from the rest. |
20 |
It would be elegant and correct - after all when you "emerge ocaml" you don't |
21 |
expect to be installing objective caml mode for Emacs, but ocaml interpreter |
22 |
itself. |
23 |
|
24 |
> With multiple overlays/repositories instead of one monolithic Portage |
25 |
> tree, the collision issue gets even worse if you have a flat |
26 |
> namespace. |
27 |
|
28 |
Every not Gentoo-based distro can live with unique package names, somehow |
29 |
Gentoo is not able to? Colour me surprised. |
30 |
|
31 |
Btw, in above, I specifically proposed those unique packages to be placed in |
32 |
${PORTDIR}/ebuilds/ because when 'ebuilds' is considered like a fake category' |
33 |
- existing atom syntax can be used and so can be current package manager |
34 |
implementation (even with not entirely converted package tree, except |
35 |
uniqueness is not checked in such case). |
36 |
|
37 |
-- |
38 |
regards |
39 |
MM |