Gentoo Archives: gentoo-dev

From: Vitaly Kushneriuk <vitaly_kushneriuk@×××××.com>
To: Gentoo-dev <gentoo-dev@g.o>
Subject: Re: [gentoo-dev] Portage Ebuild Categories: a suggestion
Date: Thu, 07 Feb 2002 09:48:42
Message-Id: 1013096852.10720.4.camel@uranus.u235.eyep.net
In Reply to: Re: [gentoo-dev] Portage Ebuild Categories: a suggestion by Maciek Borowka
1 Read the previous thread at the subject...
2 I proposed a KEYWORDS="..." variable in the ebuild.
3 Then you can grep the tree, or even better, after rsync, you can run
4 something like "emerge --update-keywords" to create number of files,
5 one for every found keyword, with names of ebuilds that contain it.
6 The problem is that we are failrly close to v. 1.0 and fixing
7 existing bugs is a higher priority then adding new features. My bet is
8 we _will_ implement something to solve the problem, but it most probably
9 will be after Gentoo 1.0 release.
10
11 /Vitaly.
12
13
14 On Thu, 2002-02-07 at 17:13, Maciek Borowka wrote:
15 > Hmm...
16 >
17 > I like it.
18 >
19 > If we do that; we could put a nice script to list all the packages from one
20 > category,
21 > so perhaps something like :
22 >
23 > DESCRIPTION="A graphical file comparator and merge tool simular to xdiff."
24 > EMERGE_CATEGORY="dev-util"
25 > EMERGE_CATEGORY="x11-misc"
26 > SRC_URI="http://prdownloads.sourceforge.net/xxdiff/${P}.src.tar.gz"
27 >
28 >
29 > would be better (simple grep would then do what we want)...
30 >
31 > /Maciek
32 >
33 >
34 > Sean Mitchell wrote:
35 >
36 > > This is probably the single biggest issue on this list. It seems that every
37 > > day there's a post questioning why an ebuild is in a given location and not
38 > > some other.
39 > >
40 > > I really don't see how anyone could ever come up with a structure that's
41 > > intuitive for everyone... we just don't all think the same way. For myself,
42 > > I don't even bother with the structure, I prefer to do a find on *.ebuild in
43 > > /usr/portage to see what's there.
44 > >
45 > > A few years ago I put together a series of OS/2 shareware CDs and had the
46 > > same problem - many packages didn't clearly fit in one place or another.
47 > >
48 > > The solution I came up with and the one I suggest here is that the
49 > > categories be eliminated altogether. in this case one big /usr/portage with
50 > > a directory for each package.
51 > >
52 > > I mean, it's easy enough to grep the description fields, or even put all
53 > > possible categories in a new tag in the ebuild. It would be simple to put
54 > > together some tools to show the packages by category if desired.
55 > >
56 > > Something like:
57 > >
58 > > S=${WORKDIR}/${P}
59 > > DESCRIPTION="A graphical file comparator and merge tool simular to xdiff."
60 > > CATEGORY="dev-util x11-misc"
61 > > SRC_URI="http://prdownloads.sourceforge.net/xxdiff/${P}.src.tar.gz"
62 > > HOMEPAGE="http://xxdiff.sourceforge.net/"
63 > >
64 > > What do you think?
65 > >
66 > > Sean
67 > > _______________________________________________
68 > > gentoo-dev mailing list
69 > > gentoo-dev@g.o
70 > > http://lists.gentoo.org/mailman/listinfo/gentoo-dev
71 >
72 > _______________________________________________
73 > gentoo-dev mailing list
74 > gentoo-dev@g.o
75 > http://lists.gentoo.org/mailman/listinfo/gentoo-dev