Gentoo Archives: gentoo-dev

From: omestre <omestre@×××××××××.org>
To: George Shapovalov <george@g.o>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] dependences
Date: Sun, 18 Jul 2004 14:22:37
Message-Id: Pine.NEB.4.60.0407181411100.503@ukato.freeshell.org
In Reply to: Re: [gentoo-dev] dependences by George Shapovalov
1 Thanks very much!
2 Some considerations...
3 a) Did you ever seen the http://www.kernel.org site? The
4 Linux definition was there. I'm not making concepts. :)
5 As well as the FreeBSD, Solaris and GNU definitions are
6 "sites's definitions". Take a look in kernel.org "What is
7 Linux"? ;)
8 b) About your considarations about my work, thanks. I'm sure
9 that it will help me to do a better one. Just one more thing:
10 "It is a draft yet". If you can read the paper (In brazilian
11 portuguese), you will see that. It's a brainstorm, informations...
12 A lot of things will be present in the final release, and others
13 will not.
14 Thanks, again.
15
16 On Sat, 17 Jul 2004, George Shapovalov wrote:
17
18 > Date: Sat, 17 Jul 2004 10:39:02 -0700
19 > From: George Shapovalov <george@g.o>
20 > To: gentoo-dev@l.g.o
21 > Subject: Re: [gentoo-dev] dependences
22 >
23 > I am not totally up yet, so I apologize in advance if I am getting too
24 > harsh :).
25 >
26 >> depends on SYSTEM PROFILE. In my home page have "graphs" and text files,
27 >> take a look and tell me if gentoo give a tool to get the informations
28 >> that i want: Especifics depends.
29 >> Thanks!!
30 >> My home: http://www.via-rs.com.br/pessoais/leal
31 > Few comments:
32 > "Linux is a clone of the operating system Unix"
33 > If this goes any serious place, I'd suggest reading up a bit more of
34 > Unix/Linux history. As it stands now there is no paticular OS called Unix,
35 > there was a lot of fuss and a lawsuit involving the use of "Unix" and
36 > everybody for the most part was trying to avoid that name. Plus "clone" is
37 > soundng too strong, (such wording) may even suggest similarity to the point
38 > of binary compatibility (contrary to how dissimilar many of "proprietary
39 > unices" are). But enough on wording.
40 >
41 >
42 > Now the plots. Lets looks for example at this one (and its series):
43 > http://www.via-rs.com.br/pessoais/leal/Linux/debian-graph284-1.png
44 >
45 > Argh, is this a biz prezentation? This is definitely *not* a scientific
46 > plotting. You said this is a graph (I cannot see on this picture whether
47 > there are cycles, so I have to believe you), then why don't you use one of
48 > the standard representations, - top-to-bottom or left-to-right (choice mostly
49 > depends on figure dimensions and width/depth ratio). Oh, and make it *black
50 > and white* only and *flat*. Well, color may be used on informal plots but if
51 > this is aimed to go into the paper it should be BW only. Still the most
52 > important part is to lay it out differently. As it is now, I cannot gain any
53 > usefull information and rotating this damn blob will help very little. Your
54 > data is essentially 2D and mostly tied to one factor, do not try to be
55 > fancier than it is necessary.
56 >
57 > I am sorry man for sounding like an a%*, just doing too many papers
58 > recently :). My professor would have killed me if I were to try to pull
59 > something like this by him ;).
60 >
61 >
62 >> asking you help, to make my work as right as possible. One of
63 >> my principal tasks is determine how much dependences a package
64 >> have. With "qpkg" i have got that informations for my installed
65 >> gentoo system, but the "SYSTEM PROFILE" confuses me. Some packages
66 >> have as dependence the word "SYSTEM PROFILE" that is not a package,
67 >> but too many of them... So i have created a "fake" package "SYSTEM-PROFILE
68 >> " to my tasks... The question is: There is a manner to extract the
69 >> informations that i want, whithout this SYSTEM PROFILE?
70 >
71 > Now a short transitional part. What of circular dependencies? At least for
72 > some "basic" packages they are there (e.g. you need gcc to compile glibc and
73 > you need glibc for pretty much anything else, but this is way
74 > oversimplified). Debian hides this from you in their way, Gentoo does not
75 > exactly hide it, but lets you work around this complication in its own way.
76 > This is how the SYSTEM PROFILE gets around.
77 > It is not a package itself but rather a special way to describe what packages
78 > are considered "special". This includes the ones causing circular deps plus
79 > the rest of packages that are considered "common" (in a sense of being
80 > expected to be installed on any Unix-like system). In Gentoo you can select
81 > any of the multiple profiles provided to you so that you can match it to the
82 > task at hand (look into /usr/portage/profiles). So this is what dpkg refers
83 > to when it says "SYSTEM PROFILE".
84 >
85 > Procedural note. At this time I would probably discourage the usage of dpkg as
86 > it slowly gets obsoleted by portage itself. Instead try
87 > emerge --pretend --emptytree pkgname
88 > (you can stick world or system instead pkgname there). However !!pay attention
89 > to what use flags you have selected!! This will vary your dep tree greatly!
90 > I'd suggest to do some serious reading here:
91 > http://www.gentoo.org/doc/en/index.xml#doc_chap3
92 > This should give you a good idea of how package handling is organized in
93 > Gentoo and what all these use flags are doing.
94 >
95 > Also, if you need deps to be printed as a tree instead of the list, you might
96 > want to look at portage code. It should not be too difficult to place some
97 > hooks to make it print self-digested dependency data (before it leys it out
98 > as a list).
99 >
100 > Hope this helps somewhat.
101 >
102 > George
103 >
104 >
105 > --
106 > gentoo-dev@g.o mailing list
107 >
108 >
109
110 omestre@××××××××××××.org
111 SDF Public Access UNIX System - http://sdf.lonestar.org
112
113 --
114 gentoo-dev@g.o mailing list