* [gentoo-dev] Policy with dependencies
@ 2001-09-22 11:07 Karl Trygve Kalleberg
2001-09-22 11:29 ` Morgan Christiansson
0 siblings, 1 reply; 5+ messages in thread
From: Karl Trygve Kalleberg @ 2001-09-22 11:07 UTC (permalink / raw
To: gentoo-dev
I'm working on packaging a system tool called subterfugue [sic]. It can be
thought of as a very jazzed up version of strace.
It is written Python. Some of its operating modes, such as NetThrottle
(sets a limit on the bandwidth a particular process may eat) requires
pygtk, but most (if not all) the other scripts for subterfugue do not.
For sf to depend on pygtk, it will depend on gnome, x11 and a slew of
other packages, even though 95% of sf itself is ideally suited for an
X-free (no X) box.
Merging in pygtk later on makes it work perfectly.
Should I just make a not in post_install() about this, and don't bother
with the pygtk dependency ?
Kind regards,
Karl T
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] Policy with dependencies
2001-09-22 11:07 [gentoo-dev] Policy with dependencies Karl Trygve Kalleberg
@ 2001-09-22 11:29 ` Morgan Christiansson
2001-09-22 11:44 ` Karl Trygve Kalleberg
0 siblings, 1 reply; 5+ messages in thread
From: Morgan Christiansson @ 2001-09-22 11:29 UTC (permalink / raw
To: gentoo-dev
You could add dependencies only if use gtk is set, and/or only install
if use gtk is set.
Anyway this shouldn't be up to the developer, but there should be a
policy for this.
Karl Trygve Kalleberg wrote:
>I'm working on packaging a system tool called subterfugue [sic]. It can be
>thought of as a very jazzed up version of strace.
>
>It is written Python. Some of its operating modes, such as NetThrottle
>(sets a limit on the bandwidth a particular process may eat) requires
>pygtk, but most (if not all) the other scripts for subterfugue do not.
>
>For sf to depend on pygtk, it will depend on gnome, x11 and a slew of
>other packages, even though 95% of sf itself is ideally suited for an
>X-free (no X) box.
>
>Merging in pygtk later on makes it work perfectly.
>
>Should I just make a not in post_install() about this, and don't bother
>with the pygtk dependency ?
>
>
>Kind regards,
>
>Karl T
>
>_______________________________________________
>gentoo-dev mailing list
>gentoo-dev@cvs.gentoo.org
>http://cvs.gentoo.org/mailman/listinfo/gentoo-dev
>
>.
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] Policy with dependencies
2001-09-22 11:29 ` Morgan Christiansson
@ 2001-09-22 11:44 ` Karl Trygve Kalleberg
2001-10-02 5:06 ` Mikael Hallendal
0 siblings, 1 reply; 5+ messages in thread
From: Karl Trygve Kalleberg @ 2001-09-22 11:44 UTC (permalink / raw
To: gentoo-dev
On Sat, Sep 22, 2001 at 07:27:46PM +0200, Morgan Christiansson wrote:
> You could add dependencies only if use gtk is set, and/or only install
> if use gtk is set.
Best idea so far. I'll go with this for now.
> Anyway this shouldn't be up to the developer, but there should be a
> policy for this.
Agreed.
I've been complaining about lacking guidelines for ebuilds for a long
while now. I'll continue until we've resolved it.
Karl T
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] Policy with dependencies
2001-09-22 11:44 ` Karl Trygve Kalleberg
@ 2001-10-02 5:06 ` Mikael Hallendal
2001-10-03 6:37 ` Karl Trygve Kalleberg
0 siblings, 1 reply; 5+ messages in thread
From: Mikael Hallendal @ 2001-10-02 5:06 UTC (permalink / raw
To: gentoo-dev
lör 2001-09-22 klockan 19.37 skrev Karl Trygve Kalleberg:
> On Sat, Sep 22, 2001 at 07:27:46PM +0200, Morgan Christiansson wrote:
> > You could add dependencies only if use gtk is set, and/or only install
> > if use gtk is set.
>
> Best idea so far. I'll go with this for now.
Hmm .. is NetThrottle a corepart of this package?
USE-variables should only be used to decide wether to build optional
support for something. If coreparts requires something it can be thought
of that the entire package does.
If this however decides whether a GUI for NetThrottle will be built
(otherwise just available through console-interface) USE=gtk should be
used.
> For sf to depend on pygtk, it will depend on gnome, x11 and a slew of
> other packages, even though 95% of sf itself is ideally suited for an
> X-free (no X) box.
Why will it depend on gnome? pygnome only depends on GNOME if USE=gnome,
otherwise it just builds pygtk.
Regards,
Mikael Hallendal
--
Mikael Hallendal micke@codefactory.se
CodeFactory AB http://www.codefactory.se/
Office: +46 (0)8 587 583 05 Cell: +46 (0)709 718 918
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] Policy with dependencies
2001-10-02 5:06 ` Mikael Hallendal
@ 2001-10-03 6:37 ` Karl Trygve Kalleberg
0 siblings, 0 replies; 5+ messages in thread
From: Karl Trygve Kalleberg @ 2001-10-03 6:37 UTC (permalink / raw
To: gentoo-dev
On 02 Oct 2001 13:07:25 +0200
Mikael Hallendal <micke@codefactory.se> wrote:
> lör 2001-09-22 klockan 19.37 skrev Karl Trygve Kalleberg:
> Hmm .. is NetThrottle a corepart of this package?
> USE-variables should only be used to decide wether to build optional
> support for something. If coreparts requires something it can be thought
> of that the entire package does.
Depends on what you mean by 'core part'. Just like cvs offers a lot of
commands, such as commit, update, checkout, admin, Subterfugue offers a
list of commands built as modules.
If you want to use the NetThrottle command (and I would assume very few
people would), you have to have PyGTK installed. Note that since
Subterfugue is written in Python, PyGTK is not a compile-time dependency,
it is optionally a runtime dependency.
> If this however decides whether a GUI for NetThrottle will be built
> (otherwise just available through console-interface) USE=gtk should be
> used.
Again, since this is Python, you can compile the code without having the
dependencies available.
> Why will it depend on gnome? pygnome only depends on GNOME if USE=gnome,
> otherwise it just builds pygtk.
Because PyGTK depends on libglade which in turn depends on GNOME.
Karl T
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-10-03 12:36 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-22 11:07 [gentoo-dev] Policy with dependencies Karl Trygve Kalleberg
2001-09-22 11:29 ` Morgan Christiansson
2001-09-22 11:44 ` Karl Trygve Kalleberg
2001-10-02 5:06 ` Mikael Hallendal
2001-10-03 6:37 ` Karl Trygve Kalleberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox