[gentoo-dev] Re: New global USE flag: modplug

2007-11-02 Thread Duncan
Drake Wyrm <[EMAIL PROTECTED]> posted [EMAIL PROTECTED], excerpted below, on Thu, 01 Nov 2007 16:18:12 -0700: > Samuli Suominen <[EMAIL PROTECTED]> wrote: >> I'd like to add USE modplug to use.desc. I'll do it tomorrow, unless >> someone objects. >> > -- snip packages -- > > Do those packages u

Re: [gentoo-dev] New global USE flag: modplug

2007-11-02 Thread Marijn Schouten (hkBst)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeroen Roovers wrote: > On Thu, 1 Nov 2007 23:32:34 +0200 > Samuli Suominen <[EMAIL PROTECTED]> wrote: > >> I'd like to add USE modplug to use.desc. I'll do it tomorrow, >> unless someone objects. > > Remember that tomorrow is always too soon in proj

Re: [gentoo-dev] New global USE flag: modplug

2007-11-02 Thread Marijn Schouten (hkBst)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeroen Roovers wrote: > On Fri, 02 Nov 2007 13:40:40 +0100 > "Marijn Schouten (hkBst)" <[EMAIL PROTECTED]> wrote: > >> Another prime example for use flags with more than two values: >> >> mod=off >> mod=fmod >> mod=libmodplug >> >> the first for disab

Re: [gentoo-dev] More general interface to use flags

2007-11-02 Thread Mike Frysinger
On Friday 02 November 2007, Roy Marples wrote: > On Fri, 2007-11-02 at 14:44 +0100, Marijn Schouten (hkBst) wrote: > > [[ ${flag} = !* ]] && { success=1 ; flag=${flag:1} } > > Could be written as irrelevant, thanks -mike signature.asc Description: This is a digitally signed message part.

Re: [gentoo-dev] More general interface to use flags

2007-11-02 Thread Roy Marples
On Fri, 2007-11-02 at 11:38 -0400, Mike Frysinger wrote: > wrong. the point of the discussion on the gentoo dev mailing list is to go > over the exported API for *ebuilds*, not for the implementation. the > implementation is already baked and really, Marijn shouldnt have sent it to > the gento

Re: [gentoo-dev] More general interface to use flags

2007-11-02 Thread Mike Frysinger
On Friday 02 November 2007, Roy Marples wrote: > On Fri, 2007-11-02 at 10:59 -0400, Mike Frysinger wrote: > > On Friday 02 November 2007, Roy Marples wrote: > > > On Fri, 2007-11-02 at 14:44 +0100, Marijn Schouten (hkBst) wrote: > > > > [[ ${flag} = !* ]] && { success=1 ; flag=${flag:1} } > > > > >

Re: [gentoo-dev] More general interface to use flags

2007-11-02 Thread Roy Marples
On Fri, 2007-11-02 at 10:59 -0400, Mike Frysinger wrote: > On Friday 02 November 2007, Roy Marples wrote: > > On Fri, 2007-11-02 at 14:44 +0100, Marijn Schouten (hkBst) wrote: > > > [[ ${flag} = !* ]] && { success=1 ; flag=${flag:1} } > > > > Could be written as > > irrelevant, thanks My mail was

Re: [gentoo-dev] More general interface to use flags

2007-11-02 Thread Marijn Schouten (hkBst)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel Drake wrote: > Marijn Schouten (hkBst) wrote: >> use_mime() { >> local WORD=$(ifv "$2" "$2" "$1") >> >> ifuse "$1" "${WORD};" >> } >> >> for generating a string of ';'-separated mime-types based on use flags. >> >> The explanation of thi

Re: [gentoo-dev] More general interface to use flags

2007-11-02 Thread Roy Marples
On Fri, 2007-11-02 at 15:27 +0100, Marijn Schouten (hkBst) wrote: > > ifz() { > [[ $1 = 0 ]] && echo $2 || echo $3 > } And that could be written as [ "$1" = 0 ] && echo "$2" || echo "$3" Thanks Roy -- [EMAIL PROTECTED] mailing list

Re: [gentoo-dev] More general interface to use flags

2007-11-02 Thread Marijn Schouten (hkBst)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel Drake wrote: > Marijn Schouten (hkBst) wrote: >> use_mime() { >> local WORD=$(ifv "$2" "$2" "$1") >> >> ifuse "$1" "${WORD};" >> } >> >> for generating a string of ';'-separated mime-types based on use flags. >> >> The explanation of thi

Re: [gentoo-dev] More general interface to use flags

2007-11-02 Thread Marijn Schouten (hkBst)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roy Marples wrote: > On Fri, 2007-11-02 at 14:44 +0100, Marijn Schouten (hkBst) wrote: >> [[ ${flag} = !* ]] && { success=1 ; flag=${flag:1} } > > Could be written as > [ "${flag#!}" != "${flag}" ] && { success=1; flag=${flag#!}; } > >> string=$( ((

Re: [gentoo-dev] New global USE flag: modplug

2007-11-02 Thread Samuli Suominen
On Fri, 2 Nov 2007 13:28:23 +0100 Jeroen Roovers <[EMAIL PROTECTED]> wrote: > On Thu, 1 Nov 2007 23:32:34 +0200 > Samuli Suominen <[EMAIL PROTECTED]> wrote: > > > I'd like to add USE modplug to use.desc. I'll do it tomorrow, > > unless someone objects. > > Remember that tomorrow is always too so

Re: [gentoo-dev] More general interface to use flags

2007-11-02 Thread Mike Frysinger
On Friday 02 November 2007, Roy Marples wrote: > On Fri, 2007-11-02 at 11:38 -0400, Mike Frysinger wrote: > > wrong. the point of the discussion on the gentoo dev mailing list is to > > go over the exported API for *ebuilds*, not for the implementation. the > > implementation is already baked and

Re: [gentoo-dev] More general interface to use flags

2007-11-02 Thread Roy Marples
On Fri, 2007-11-02 at 14:44 +0100, Marijn Schouten (hkBst) wrote: > [[ ${flag} = !* ]] && { success=1 ; flag=${flag:1} } Could be written as [ "${flag#!}" != "${flag}" ] && { success=1; flag=${flag#!}; } > string=$( (( ${success} == 0 )) && echo ${string_success} || echo > ${string_failure} ) >

Re: [gentoo-dev] More general interface to use flags

2007-11-02 Thread Roy Marples
On Fri, 2007-11-02 at 11:58 -0400, Mike Frysinger wrote: > and the answer is still the same. POSIX conversions are irrelevant until you > can propose solutions for the things bash can do but POSIX cannot. you can > only provide workarounds or hacks, so any further attempt on the topic is > hal

Re: [gentoo-dev] New global USE flag: modplug

2007-11-02 Thread Jeroen Roovers
On Thu, 1 Nov 2007 23:32:34 +0200 Samuli Suominen <[EMAIL PROTECTED]> wrote: > I'd like to add USE modplug to use.desc. I'll do it tomorrow, > unless someone objects. Remember that tomorrow is always too soon in projects like Gentoo. :) $ euses -s mod fmod modplug media-video/vlc:mod - Enables M

Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-misc/nxserver-freenx: nxserver-freenx-0.7.0-r1.ebuild ChangeLog nxserver-freenx-0.7.1.ebuild

2007-11-02 Thread Bernard Cafarelli
On Fri, 2 Nov 2007 03:35:35 -0400, Mike Frysinger <[EMAIL PROTECTED]> wrote: > On Thursday 01 November 2007, Bernard Cafarelli wrote: >> Le Thu, 1 Nov 2007 16:06:51 +0100 >> >> Marius Mauch <[EMAIL PROTECTED]> a écrit: >> > On Thu, 1 Nov 2007 15:43:18 +0100 >> > >> > Bernard Cafarelli <[EM

Re: [gentoo-dev] New global USE flag: modplug

2007-11-02 Thread Jeroen Roovers
On Fri, 02 Nov 2007 13:40:40 +0100 "Marijn Schouten (hkBst)" <[EMAIL PROTECTED]> wrote: > Another prime example for use flags with more than two values: > > mod=off > mod=fmod > mod=libmodplug > > the first for disabling mod support, the second for enabling it and > preferring fmod implementatio

[gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-proxy/polipo: ChangeLog polipo-1.0.3.ebuild polipo-1.0.1.ebuild polipo-1.0.0.ebuild polipo-0.9.12-r1.ebuild

2007-11-02 Thread Donnie Berkholz
On 15:38 Fri 02 Nov , Alin Nastac (mrness) wrote: > 1.1 net-proxy/polipo/polipo-1.0.3.ebuild > > file : > http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/polipo/polipo-1.0.3.ebuild?rev=1.1&view=markup > plain: > http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/polipo/polip

Re: [gentoo-dev] More general interface to use flags

2007-11-02 Thread Daniel Drake
Marijn Schouten (hkBst) wrote: Hi list, the current interface to use flags, useq, usev, use_with, use_enable, as defined in /usr/lib/portage/bin/ebuild.sh lacks generality. The common thing is testing a use flag and possibly echoing a string, but there is no function that implements this common

Re: [gentoo-dev] More general interface to use flags

2007-11-02 Thread Roy Marples
On Fri, 2007-11-02 at 18:17 +0100, Bo Ørsted Andresen wrote: > On Friday 02 November 2007 17:52:13 Roy Marples wrote: > > On Fri, 2007-11-02 at 17:30 +0100, Bo Ørsted Andresen wrote: > > > Please explain why you hijack this thread to discuss POSIX vs. bash when > > > it's supposed to be about the

Re: [gentoo-dev] New global USE flag: modplug

2007-11-02 Thread Marijn Schouten (hkBst)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeroen Roovers wrote: > On Thu, 1 Nov 2007 23:32:34 +0200 > Samuli Suominen <[EMAIL PROTECTED]> wrote: > >> I'd like to add USE modplug to use.desc. I'll do it tomorrow, >> unless someone objects. > > Remember that tomorrow is always too soon in proj

Re: [gentoo-dev] More general interface to use flags

2007-11-02 Thread Roy Marples
On Fri, 2007-11-02 at 17:30 +0100, Bo Ørsted Andresen wrote: > Please explain why you hijack this thread to discuss POSIX vs. bash when it's > supposed to be about the API for ebuilds. I dislike the gratuitous use of bash for no good reason - and in the code he gave there is no good reason for us

Re: [gentoo-dev] More general interface to use flags

2007-11-02 Thread Bo Ørsted Andresen
On Friday 02 November 2007 17:10:29 Roy Marples wrote: > > and the answer is still the same. POSIX conversions are irrelevant until > > you can propose solutions for the things bash can do but POSIX cannot. > > you can only provide workarounds or hacks, so any further attempt on the > > topic is

[gentoo-dev] More general interface to use flags

2007-11-02 Thread Marijn Schouten (hkBst)
Hi list, the current interface to use flags, useq, usev, use_with, use_enable, as defined in /usr/lib/portage/bin/ebuild.sh lacks generality. The common thing is testing a use flag and possibly echoing a string, but there is no function that implements this common behaviour. I propose that we add

Re: [gentoo-dev] More general interface to use flags

2007-11-02 Thread Bo Ørsted Andresen
On Friday 02 November 2007 17:52:13 Roy Marples wrote: > On Fri, 2007-11-02 at 17:30 +0100, Bo Ørsted Andresen wrote: > > Please explain why you hijack this thread to discuss POSIX vs. bash when > > it's supposed to be about the API for ebuilds. > > I dislike the gratuitous use of bash for no good

Re: [gentoo-dev] New eclass: cmake-utils.eclass

2007-11-02 Thread Wulf C. Krueger
Hello! On Sunday, 09. September 2007 21:15:12 Wulf C. Krueger wrote: > KDE4's build system is based on CMake and seeing that more and more KDE > and non-KDE applications are using it, we have created a new > cmake-utils.eclass [3] which allows for easier implementation of > ebuilds for those appli

Re: [gentoo-dev] POSIX shell and "portable"

2007-11-02 Thread Fabian Groffen
On 02-11-2007 17:35:08 +, Roy Marples wrote: > I don't see them as inferior. > I see them as more portable and less confusing. Please stop calling it "more portable". The shell code you see in configure can in a way be called "portable". Your POSIX compliant stuff isn't. In fact, by stating

Re: [gentoo-dev] POSIX shell and "portable"

2007-11-02 Thread Roy Marples
On Sat, 2007-11-03 at 01:19 +0100, Fabian Groffen wrote: > On 02-11-2007 17:35:08 +, Roy Marples wrote: > > I don't see them as inferior. > > I see them as more portable and less confusing. > > Please stop calling it "more portable". But is it more portable as then then works across more tha

Re: [gentoo-dev] POSIX shell and "portable"

2007-11-02 Thread Roy Marples
On Sat, 2007-11-03 at 01:19 +0100, Fabian Groffen wrote: > On 02-11-2007 17:35:08 +, Roy Marples wrote: > > I don't see them as inferior. > > I see them as more portable and less confusing. > > Please stop calling it "more portable". The shell code you see in > configure can in a way be calle

Re: [gentoo-dev] POSIX shell and "portable"

2007-11-02 Thread Natanael copa
On Sat, 2007-11-03 at 01:19 +0100, Fabian Groffen wrote: > On 02-11-2007 17:35:08 +, Roy Marples wrote: > > I don't see them as inferior. > > I see them as more portable and less confusing. > > Please stop calling it "more portable". The shell code you see in > configure can in a way be call

Re: [gentoo-dev] POSIX shell and "portable"

2007-11-02 Thread Roy Marples
On Sat, 2007-11-03 at 01:19 +0100, Fabian Groffen wrote: > Please stop calling it "more portable". The shell code you see in > configure can in a way be called "portable". Your POSIX compliant stuff > isn't. In fact, by stating #!/bin/sh you actually make the code useless > on a number of platfo

[gentoo-dev] death to mailer-config/mailwrapper

2007-11-02 Thread Robin H. Johnson
A bit over two years ago, some developers set out to get debian's concept of mailerwrapper ('alternatives' for mail). Ever since then, there have been a number of package.masks for various MTAs, and the need to carry them forward. mailer-config/mailwrapper have not been touched for 2/1 years respe

Fwd: [gentoo-dev] More general interface to use flags

2007-11-02 Thread Alec Warner
I hate gmail -- Forwarded message -- From: Alec Warner <[EMAIL PROTECTED]> Date: Nov 2, 2007 10:25 PM Subject: Re: [gentoo-dev] More general interface to use flags To: gentoo-dev@lists.gentoo.org On 11/2/07, Roy Marples <[EMAIL PROTECTED]> wrote: > > On Fri, 2007-11-02 at 18:17 +

Re: [gentoo-dev] death to mailer-config/mailwrapper

2007-11-02 Thread Josh Saddler
Robin H. Johnson wrote: > A bit over two years ago, some developers set out to get debian's > concept of mailerwrapper ('alternatives' for mail). Ever since then, > there have been a number of package.masks for various MTAs, and > the need to carry them forward. > > mailer-config/mailwrapper have