Re: [gentoo-dev] Proposal for compression handling

2009-02-19 Thread Ulrich Mueller
> On Thu, 19 Feb 2009, Brian Harring wrote: >> - "docompress" (without option or with option "-a"): add paths >> (directories or files) to the inclusion list >> - "docompress -x": add paths to the exclusion list > Globbing support? No, I would say. The other do* commands don't have it, and "

Re: [gentoo-dev] Proposal for compression handling

2009-02-19 Thread Brian Harring
On Thu, Feb 19, 2009 at 11:03:28PM +0100, Ulrich Mueller wrote: > > On Thu, 19 Feb 2009, Ciaran McCreesh wrote: > > > If there's an inclusion list and an exclusion list, there's only a > > need to delete things from the exclusion list if the exclusion list > > has bad initial values, and never

[gentoo-dev] Re: bzr.eclass

2009-02-19 Thread Ulrich Mueller
> On Fri, 20 Feb 2009, Christian Faulhammer wrote: > $ time (bzr diff --old lp:bzr-gentoo-overlay \ > --new /media/disk/bzr-overlay/|diffstat) > real0m50.088s This is prohibitive. Drop it completely, or enable it only if some environment variable is set. Ulrich

[gentoo-dev] Re: Time to remove app-shells/bash-completion-config

2009-02-19 Thread Jeremy Olexa
On Tue, Feb 17, 2009 at 11:55 AM, Jeremy Olexa wrote: > Hello, > I would like to request that bash-completion-20081218 to be marked > stable by the arches soon here. > > In doing so, I'm going to make the following change to bash-completion.eclass: > > -RDEPEND="bash-completion? > -

[gentoo-dev] Re: bzr.eclass

2009-02-19 Thread Christian Faulhammer
Hi, Ulrich Mueller : > > It produces Git-like output about how much has changed. I added a > > comment to the overlay. > > So it is just informational output and the dependency on > dev-util/diffstat is not essential. And the more at the current position, the bzr diff call does simply nothing,

Re: [gentoo-dev] Proposal for compression handling

2009-02-19 Thread Ulrich Mueller
> On Thu, 19 Feb 2009, Ciaran McCreesh wrote: > If there's an inclusion list and an exclusion list, there's only a > need to delete things from the exclusion list if the exclusion list > has bad initial values, and never any need to delete things from the > inclusion list. And since reliably r

Re: [gentoo-dev] Proposal for compression handling (was: Re: prepalldocs is now banned)

2009-02-19 Thread Ciaran McCreesh
On Thu, 19 Feb 2009 12:06:17 +0100 Ulrich Mueller wrote: > Package managers supporting compression would internally maintain two > lists of paths, both having a default value, plus the possibility to > modify them from ebuilds/eclasses: > >- an inclusion list, initially containing: > /us

Re: [gentoo-dev] OpenRC + Bridge + Tap not working as expected?

2009-02-19 Thread Josh Saddler
This list is not a user support list. Please see the gentoo-user ML. You may also want to check http://forums.gentoo.org to see if anyone else has had the issue. signature.asc Description: OpenPGP digital signature

[gentoo-dev] OpenRC + Bridge + Tap not working as expected?

2009-02-19 Thread Ed W
Hi, I am using openrc 0.4.2 and trying to setup a bridge for use with openvpn. Starting the bridge (/etc/init.d/br0 start) doesn't seem to be correctly bringing up the dependent interfaces (should it?) When I try and bring up my bridge I get only this: # /etc/init.d/br0 start * Bringing up inter

Re: [gentoo-dev] prepalldocs implementation in eutils.eclass (was: prepalldocs is now banned)

2009-02-19 Thread Matti Bickel
Tiziano Müller wrote: > The only problem I see here is that either or ${T}/doc > contains subdirs. So my proposal for the next EAPI is to allow dodoc and > newdoc to operate on dirs. Which also gives the benefit to reduce this > idiom: > insinto /usr/share/doc/${PF} > doins -r examples > to:

Re: [gentoo-dev] Re: bzr.eclass

2009-02-19 Thread Petteri Räty
Nirbheek Chauhan wrote: > On Thu, Feb 19, 2009 at 9:09 PM, Petteri Räty wrote: >> or use has_version dev-util/diffstat > > This is bike-shedding, but that assumes that dev-util/diffstat is the > only way diffstat can be installed on the system -- what if the user > has diffstat, but it isn't inst

Re: [gentoo-dev] Re: bzr.eclass

2009-02-19 Thread Nirbheek Chauhan
On Thu, Feb 19, 2009 at 9:09 PM, Petteri Räty wrote: > > or use has_version dev-util/diffstat This is bike-shedding, but that assumes that dev-util/diffstat is the only way diffstat can be installed on the system -- what if the user has diffstat, but it isn't installed by dev-util/diffstat? ;p

Re: [gentoo-dev] Re: bzr.eclass

2009-02-19 Thread Petteri Räty
Nirbheek Chauhan wrote: > On Thu, Feb 19, 2009 at 2:56 PM, Ulrich Mueller wrote: >> -DEPEND=">=dev-util/bzr-1.5 >> -dev-util/diffstat" >> +DEPEND=">=dev-util/bzr-1.5" >> >> -${EBZR_DIFF_CMD} | diffstat >> +[ -x /usr/bin/diffstat ] && ${EBZR_DIFF_CMD} | /usr/bin/diffstat >> > >

Re: [gentoo-dev] prepalldocs implementation in eutils.eclass (was: prepalldocs is now banned)

2009-02-19 Thread Ulrich Mueller
> On Thu, 19 Feb 2009, Tiziano Müller wrote: >> emake DESTDIR="${D}" docdir="${T}/doc" >> dodoc "${T}/doc" > should be dodoc "${T}/doc/*" O.K., that looks better. However, you still copy files around, for the sole purpose to enable dodoc's "magic" side effect (which also is not mentioned in

Re: [gentoo-dev] prepalldocs implementation in eutils.eclass (was: prepalldocs is now banned)

2009-02-19 Thread Tiziano Müller
Am Donnerstag, den 19.02.2009, 10:37 +0100 schrieb Ulrich Mueller: > > On Thu, 19 Feb 2009, Tiziano Müller wrote: > > > Instead of breaking things you could have tried to come up with a > > real solution. > > This could be said about the council's decision as well. > Right. Two seconds after

Re: [gentoo-dev] prepalldocs implementation in eutils.eclass (was: prepalldocs is now banned)

2009-02-19 Thread Tiziano Müller
Am Donnerstag, den 19.02.2009, 11:00 +0100 schrieb Ulrich Mueller: > > On Thu, 19 Feb 2009, Nirbheek Chauhan wrote: > > >> This will not work. dodoc operates only on files, not on directories. > > > Tiziano mentioned that later in the email. Perhaps you missed it? > > I didn't miss it. Read

[gentoo-dev] Proposal for compression handling (was: Re: prepalldocs is now banned)

2009-02-19 Thread Ulrich Mueller
> On Wed, 18 Feb 2009, Alexis Ballier wrote: >> If you really, genuinely think you have a case for compression of >> docs, backed up with statistics showing that it's a relevant >> change, then you should write a proposal for future EAPIs for >> handling it, > I don't understand why something

Re: [gentoo-dev] prepalldocs implementation in eutils.eclass

2009-02-19 Thread Luca Barbato
Tiziano Müller wrote: The only problem I see here is that either or ${T}/doc contains subdirs. So my proposal for the next EAPI is to allow dodoc and newdoc to operate on dirs. Which also gives the benefit to reduce this idiom: insinto /usr/share/doc/${PF} doins -r examples to: dodoc examp

Re: [gentoo-dev] prepalldocs implementation in eutils.eclass (was: prepalldocs is now banned)

2009-02-19 Thread Ulrich Mueller
> On Thu, 19 Feb 2009, Nirbheek Chauhan wrote: >> This will not work. dodoc operates only on files, not on directories. > Tiziano mentioned that later in the email. Perhaps you missed it? I didn't miss it. Read his message again: >>> The only problem I see here is that either or >>> ${T}/d

Re: [gentoo-dev] prepalldocs implementation in eutils.eclass (was: prepalldocs is now banned)

2009-02-19 Thread Nirbheek Chauhan
On Thu, Feb 19, 2009 at 3:07 PM, Ulrich Mueller wrote: >> On Thu, 19 Feb 2009, Tiziano Müller wrote: > This will not work. dodoc operates only on files, not on directories. > Tiziano mentioned that later in the email. Perhaps you missed it? He proposed allowing dodoc to apply on directories a

Re: [gentoo-dev] Re: bzr.eclass

2009-02-19 Thread Nirbheek Chauhan
On Thu, Feb 19, 2009 at 2:56 PM, Ulrich Mueller wrote: > -DEPEND=">=dev-util/bzr-1.5 > -dev-util/diffstat" > +DEPEND=">=dev-util/bzr-1.5" > > -${EBZR_DIFF_CMD} | diffstat > +[ -x /usr/bin/diffstat ] && ${EBZR_DIFF_CMD} | /usr/bin/diffstat > Isn't this better? type diffstat &>

Re: [gentoo-dev] prepalldocs implementation in eutils.eclass (was: prepalldocs is now banned)

2009-02-19 Thread Ulrich Mueller
> On Thu, 19 Feb 2009, Tiziano Müller wrote: > Instead of breaking things you could have tried to come up with a > real solution. This could be said about the council's decision as well. > [1] > src_install() { > emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}" > prepalldocs > } > (or

[gentoo-dev] Re: bzr.eclass

2009-02-19 Thread Ulrich Mueller
> On Thu, 19 Feb 2009, Christian Faulhammer wrote: >> > +# The bzr command to get the diff output. >> > +EBZR_DIFF_CMD="bzr diff" >> >> > + ${EBZR_DIFF_CMD} | diffstat >> >> Why does this need to happen? Please add a comment. > It produces Git-like output about how much has change

Re: [gentoo-dev] prepalldocs implementation in eutils.eclass (was: prepalldocs is now banned)

2009-02-19 Thread Tiziano Müller
Am Mittwoch, den 18.02.2009, 03:22 -0500 schrieb Michael Sterrett: > Patches welcome. > > On Wed, Feb 18, 2009 at 3:13 AM, Torsten Veller wrote: > > * Michael Sterrett : > >> I added a prepalldocs function to eutils.eclass to provide the > >> functionality. It implements the > >> behavior of the

[gentoo-dev] Re: bzr.eclass

2009-02-19 Thread Christian Faulhammer
Hi, Donnie Berkholz : > On 17:19 Sat 14 Feb , Jorge Manuel B. S. Vicetto wrote: > > # @ECLASS-VARIABLE: EBZR_DIFFSTAT_CMD > > # @DESCRIPTION: > > -# The bzr command to get the diffstat output. > > -EBZR_DIFFSTAT_CMD="bzr diff" > > +# The bzr command to get the diff output. > > +EBZR_DIFF_CM

[gentoo-dev] Re: bzr.eclass

2009-02-19 Thread Christian Faulhammer
Hi, "Jorge Manuel B. S. Vicetto" : > Hi. > > Christian Faulhammer wrote: > > Hi, > > > > a user maintained a Bazaar overlay for some time now and introduced > > some changes to bzr eclass, I would like to introduce into the tree. > > Please review the attached patch. > > > > V-Li > > I'm atta