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