Gentoo Archives: gentoo-portage-dev

From: tvali <qtvali@×××××.com>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] DB and binary dependency
Date: Thu, 23 Mar 2006 18:31:06
Message-Id: cea53e3c0603231029w4fa1f79ej@mail.gmail.com
In Reply to: Re: [gentoo-portage-dev] DB and binary dependency by Alec Warner
1 On 23/03/06, Alec Warner <antarus@g.o> wrote:
2 > tvali wrote:
3 > > Can someone tell me, which portage python commands should be used or
4 > > which kind of file created, if i'm going to test this idea? -- in
5 > > beginning, i would like to just add simple deps - are ebuilds the only
6 > > place to change and is there any clear doc of them [as i wouldnt like to
7 > > go through them all to be sure that there is no rarely used things i
8 > > dont know]?
9 > >
10 > > Also, where i can find relations between useflags and c/c++ #defines?
11 >
12 > USE flags technically have anything to do with C++ defines; they can
13 > technically enable/disable any optional support ( docs, plugins, etc.. )
14 > Usually USE flags interact with a packages build system (configure or
15 > whatnot)
16 >
17
18 In c++ code, use flags must definitely have something to do with
19 #defines. Otherwise they couldnt do what they do -- so
20 uflags=>buildsys=>defines.
21
22 Configure, for example, will define set of #defines.
23
24 Ok, your answer at least shows that this relation is not as simple and
25 clear as i would like it :)
26
27 Where i could see some useflag actually interacting with build? Where
28 i see that line which makes it so that if i define "gtk", gtk support
29 will be added to makefile?
30
31 --
32 tvali
33
34 Measuring programming progress by lines of code is like measuring
35 aircraft building progress by weight. -Bill Gates
36
37 For every complex problem there is an answer that is clear, simple,
38 and wrong. -H L Mencken
39
40 Theory is when you know something, but it doesn't work. Practice is
41 when something works, but you don't know why. Programmers combine
42 theory and practice: Nothing works and they don't know why.
43
44 http://www.eskimo.com/~hottub/software/programming_quotes.html
45 http://www.softwarequotes.com/
46
47 --
48 gentoo-portage-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-portage-dev] DB and binary dependency Paul de Vrieze <pauldv@g.o>