Re: [gentoo-dev] rfc: the demise of grub:0

2016-10-04 Thread Dan Douglas
I'm not against removing grub1, but why are the only versions of grub in the tree betas? They don't have a proper release cycle? Also grub2-mkconfig is disgusting. I wonder if anybody is interested in making something better because I doubt it would be much work for someone that knows grub well. 9

Re: [gentoo-dev] SRC_URI="gogdownloader://..."

2016-10-02 Thread Dan Douglas
On Sun, Oct 2, 2016 at 3:48 PM, James Le Cuirot wrote: > So wouldn't it be great if Portage could handle these gogdownloader:// > URLs? Yes, it would. But it's just a symptom of the fetching system being inadequate. I gave up on overhauling the git eclasses and a few other things for the same rea

Re: [gentoo-dev] The future of elibtoolize

2016-10-02 Thread Dan Douglas
On Sun, Sep 25, 2016 at 5:05 AM, James Le Cuirot wrote: > Now I remember why I couldn't rely on bashrc for this. > elibtoolize comes from the libtool eclass and you can't inherit > additional eclasses from bashrc. This is what I'm dealing with all the time. It would be easier if eclasses weren't

Re: [gentoo-dev] bash-4.4 - call for testers

2016-10-01 Thread Dan Douglas
On Sat, Oct 1, 2016 at 4:48 PM, Dan Douglas wrote: > One note - it may be useful to install `BASH_LOADABLES_PATH=/usr/lib/bash` > to the global env.d environment when USE=plugins, now that bash has > this feature. It doesn't enable anything by default but just informs bash that >

Re: [gentoo-dev] bash-4.4 - call for testers

2016-10-01 Thread Dan Douglas
One note - it may be useful to install `BASH_LOADABLES_PATH=/usr/lib/bash` to the global env.d environment when USE=plugins, now that bash has this feature. It doesn't enable anything by default but just informs bash that it can look for loadables in that location. (ins)ormaaj@smorgbox ~ $ BASH_LO

Re: [gentoo-dev] bash-4.4 - call for testers

2016-10-01 Thread Dan Douglas
On Sat, Oct 1, 2016 at 10:40 AM, konsolebox wrote: > I should also add that testing newer versions of bash becomes more > risky sometimes, since bash would sometimes need a newer version of > readline (see > https://lists.gnu.org/archive/html/bug-bash/2016-09/msg00020.html). > Rebuilding or insta

Re: [gentoo-dev] bash-4.4 - call for testers

2016-10-01 Thread Dan Douglas
On Thu, Sep 29, 2016 at 5:29 PM, Kent Fredric wrote: > Maybe you could do some horrible QA Violation like USE=multislot > which changes the slot from :0 and adds the -suffix at the same time. > > But I still don't think its a useful or good idea. Really? Why is this a problem? Some issue to do wi

Re: [gentoo-dev] bash-4.4 - call for testers

2016-10-01 Thread Dan Douglas
> I am against it as well. The purpose of this testing is to eventually > move to bash-4.4 being stable and replacing bash-4.3, so slotting it > would make that more complex later. Only true for users that have no interest in testing. Irrelevant for anyone that needs to test for backwards compatib

Re: [gentoo-dev] bash-4.4 - call for testers

2016-09-28 Thread Dan Douglas
The only reason I haven't been testing this for many months system-wide is it's in the same slot as 4.3, and it still is. Is it not possible to separate them?

Re: [gentoo-dev] [PATCH] git-r3.eclass: Make EGIT_LIVE_* associative arrays

2016-06-23 Thread Dan Douglas
On 06/23/2016 01:48 PM, Michał Górny wrote: > It would be best if we could kill the old way but I doubt it's a good idea > right now. Yeah I was sad when I realized a nice naming scheme just barely wasn't going to work thanks to EGIT_LIVE_REPO_URI being shortened to EGIT_LIVE_REPO, but I didn't w

Re: [gentoo-dev] [PATCH] git-r3.eclass: Make EGIT_LIVE_* associative arrays

2016-06-23 Thread Dan Douglas
On 06/23/2016 09:15 AM, Ulrich Mueller wrote: >>>>>> On Thu, 23 Jun 2016, Dan Douglas wrote: > >> Well I just dropped the EAPI check since it was pointless anyway. > >> https://github.com/gentoo/gentoo/pull/1723/commits/3ebc1f57378a5ed4a62232ac87a0955ccdd33a4d

Re: [gentoo-dev] [PATCH] git-r3.eclass: Make EGIT_LIVE_* associative arrays

2016-06-23 Thread Dan Douglas
On 06/22/2016 09:56 PM, Michael Orlitzky wrote: > On 06/22/2016 08:34 PM, Dan Douglas wrote: >> On 06/22/2016 07:12 PM, Ulrich Mueller wrote: >>>>>>>> On Wed, 22 Jun 2016, Dan Douglas wrote: >>> >>>> + [[ >>

Re: [gentoo-dev] [PATCH] git-r3.eclass: Make EGIT_LIVE_* associative arrays

2016-06-22 Thread Dan Douglas
On 06/22/2016 07:12 PM, Ulrich Mueller wrote: >>>>>> On Wed, 22 Jun 2016, Dan Douglas wrote: > >> +[[ >> +( BASH_VERSINFO[0] -ge 4 || EAPI -ge 6 ) && >> +$(declare -p "EGIT

[gentoo-dev] Re: [PATCH] git-r3.eclass: Make EGIT_LIVE_* associative arrays

2016-06-22 Thread Dan Douglas
Sorry I screwed up a commit --amend so it won't apply. Correct patch below, or PR here: https://github.com/gentoo/gentoo/pull/1723 From 77e19a7a4fd1cad13df3626d4ac3c436512dcb14 Mon Sep 17 00:00:00 2001 From: Dan Douglas Date: Wed, 22 Jun 2016 17:00:07 -0500 Subject: [PATCH] git-r3.eclass:

[gentoo-dev] [PATCH] git-r3.eclass: Make EGIT_LIVE_* associative arrays

2016-06-22 Thread Dan Douglas
This creates new associative arrays for each "live" variable if bash4 / eapi6 is available. Mainly for user convenience in a bashrc as an alternative to magic variable names. --- eclass/git-r3.eclass | 68 ++-- 1 file changed, 39 insertions(+), 29 de

Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog kde5-functions.eclass kde5.eclass

2015-06-28 Thread Dan Douglas
On Sun, Jun 28, 2015 at 10:14 AM, Alexis Ballier wrote: > On Sun, 28 Jun 2015 14:46:01 +0200 > Patrice Clement wrote: > >> man 3 glob >> man 3 fnmatch >> man 1 bash -> read the section called "Pattern Matching" under >> "EXPANSION". >> >> in this case, $(ls) would unnecessarily spawn a subshell f

Re: [gentoo-dev] Add gcc-specs-stack-check() to toolchain-funcs.eclass

2014-10-12 Thread Dan Douglas
t; +} > > > # @FUNCTION: gen_usr_ldscript Am I missing something here? I don't see how any of the tests used in gcc-specs-* functions could possibly produce an output. The fact that this coincidentally works in Bash shouldn't be relied upon. -- Dan Douglas

Re: [gentoo-dev] readme.gentoo.eclass: Add a DISABLE_AUTOFORMATTING variable

2013-01-31 Thread Dan Douglas
/ UUOE. The set -f and eshopts stuff is unnecessary. You should localize the variables that can be localized like ELINE. Funnily, looking at the implementation of elog, it appears to already mangle its input by a pass of `echo -e', pointlessly reading lines and joining them back together a

Re: [gentoo-dev] Re: [PATCH eutils] Introduce run_in_build_dir() used in a few ebuilds.

2013-01-14 Thread Dan Douglas
be familiar with both. As only Bash is relevant here, ''test'' and ''['' are mostly irrelevant. With few exceptions, ''[['' should be preferred when available (and in this case, guaranteed available). > Obviously the example in #6 is taking it a bit far, but my point is, an > explicit (if one-of-many) -z/-n test vs. the standalone (single-case) > $string test really is personal preference. The performance difference is considerable. -- Dan Douglas signature.asc Description: This is a digitally signed message part.

Re: [gentoo-dev] [PATCH eutils] Introduce run_in_build_dir() used in a few ebuilds.

2013-01-14 Thread Dan Douglas
pointlessly disagrees with every other implementation). There are many possibilities. ${BUILD_DIR:+:} die "${FUNCNAME}: BUILD_DIR unset or empty." -- Dan Douglas signature.asc Description: This is a digitally signed message part.

Re: [gentoo-dev] [PATCH eutils] Introduce run_in_build_dir() used in a few ebuilds.

2013-01-14 Thread Dan Douglas
but not all shells), it's slower, because it's still just storing the value as a string and marking the variable with the integer attribute which modifies the way certain assignments behave. It doesn't do any harm in this specific case, but there are a lot of gotchas with -i to be awa

Re: [gentoo-dev] UTF-8 locale by default

2012-08-07 Thread Dan Douglas
group lists -- It's open to anyone. A calendar with the teleconference schedule is available. -- Dan Douglas signature.asc Description: This is a digitally signed message part.

Re: [gentoo-dev] UTF-8 locale by default

2012-07-27 Thread Dan Douglas
r some people. What do users of other distros think? Is this really a serious problem for anyone? LC_CTYPE=en_US.utf8 would be a bare minimum. The important bit is getting utf8 by default. I can live with LANG=POSIX. -- Dan Douglas signature.asc Description: This is a digitally signed message part.

Re: [gentoo-dev] Kernel compiles and you

2012-07-05 Thread Dan Douglas
script for automating the build, there would be no problem with having it run everything in the sandbox itself up to installing the modules? -- Dan Douglas

Re: [gentoo-dev] lastpipe

2012-05-25 Thread Dan Douglas
On Friday, May 25, 2012 08:52:00 PM Mike Frysinger wrote: > On Friday 25 May 2012 18:33:43 Ciaran McCreesh wrote: > > On Fri, 25 May 2012 15:02:32 -0500 Dan Douglas wrote: > > > If it were made a policy now that ebuilds and eclasses cannot depend > > > upon the su

Re: [gentoo-dev] lastpipe

2012-05-25 Thread Dan Douglas
On Friday, May 25, 2012 11:33:43 PM Ciaran McCreesh wrote: > On Fri, 25 May 2012 15:02:32 -0500 > Dan Douglas wrote: > > If it were made a policy now that ebuilds and eclasses cannot depend > > upon the subshell (for example, to set temporary positional > > paramet

[gentoo-dev] lastpipe

2012-05-25 Thread Dan Douglas
very common, I think this should be feasible, and of course as a workaround all that's required is to wrap any such commands in parentheses. Any opinions? -- Dan Douglas signature.asc Description: This is a digitally signed message part.

Re: [gentoo-dev] Portage Git migration - Handling Pull Requests (Was: clean cut or git-cvsserver)

2012-05-24 Thread Dan Douglas
contact. People have to use their discression. It's just uncommon these days for a project as big as Gentoo to have ultra-centralized corporate-style procedures where everything happens exclusively though official channels. And anyway you couldn't "enforce" that sort of t

Re: [gentoo-dev] Portage Git migration - clean cut or git-cvsserver

2012-05-24 Thread Dan Douglas
> On 24/05/12 02:37 PM, Dan Douglas wrote: > > On Thursday, May 24, 2012 01:52:32 PM Ian Stakenvicius wrote: > > > > Of course it's read only - just like all other public > > repositories. You don't want to accept improvments? I don't > > unders

Re: [gentoo-dev] Portage Git migration - clean cut or git-cvsserver

2012-05-24 Thread Dan Douglas
munity, Of course it's read only - just like all other public repositories. You don't want to accept improvments? I don't understand this. > otherwise we're going to have a rather large mess on our hands > (multiple forks of the main tree != a uniform main tree + overlays

Re: [gentoo-dev] Re: Portage Git migration - clean cut or git-cvsserver

2012-05-23 Thread Dan Douglas
On Thursday, May 24, 2012 06:33:53 AM Duncan wrote: > Dan Douglas posted on Thu, 24 May 2012 01:04:48 -0500 as excerpted: > > On Thursday, May 24, 2012 07:56:58 AM Michał Górny wrote: > >> On Wed, 23 May 2012 16:14:53 -0500 > >> > >> Dan Douglas wrote: > &

Re: [gentoo-dev] Portage Git migration - clean cut or git-cvsserver

2012-05-23 Thread Dan Douglas
On Thursday, May 24, 2012 07:56:58 AM Michał Górny wrote: > On Wed, 23 May 2012 16:14:53 -0500 > > Dan Douglas wrote: > > If not I will be leaving Gentoo for Funtoo in the near future, though > > there are disadvantages to doing this I don't look forward to dealing >

Re: [gentoo-dev] Portage Git migration - clean cut or git-cvsserver

2012-05-23 Thread Dan Douglas
ere are disadvantages to doing this I don't look forward to dealing with. -- Dan Douglas signature.asc Description: This is a digitally signed message part.

Re: [gentoo-dev] Do we need games group and all that game prefixes?

2012-05-20 Thread Dan Douglas
On Sunday, May 20, 2012 10:29:28 PM Michael Weber wrote: > On 05/20/2012 07:22 PM, Dan Douglas wrote: > > I'd put money on there not being a single admin who has ever used > > the games group to control access to games. Games really have no > > business being on a syste

Re: [gentoo-dev] Do we need games group and all that game prefixes?

2012-05-20 Thread Dan Douglas
essential programs like games, which tend to be big complex programs less well-audited for security bugs. -- Dan Douglas signature.asc Description: This is a digitally signed message part.

Re: [gentoo-dev] Re: RFC: New eclass: mozlinguas.eclass

2012-02-03 Thread Dan Douglas
though). The real issue is executing two commands since [[ can short-circuit and works as you expect. Two are only needed with [ because -a and -o are so unpredictable. [[ $x == en || $x == en-US ]] or case $x in en|en-US) ...;; esac; or [[ $x == @(en|en-US) ]] or [[ $x == en?(-US) ]] --