Re: Build-Depend'ing on libasound2-dev just for Linux

2005-09-22 Thread Goswin von Brederlow
Guillem Jover <[EMAIL PROTECTED]> writes: > Hi, > > On Fri, Sep 16, 2005 at 09:09:25AM +0200, Josselin Mouette wrote: >> Le vendredi 16 septembre 2005 à 00:33 +0200, Aurelien Jarno a écrit : >> > It is maybe a crazy idea, but it is the only one that work. What you >> > suggest simply doesn't work

Re: Build-Depend'ing on libasound2-dev just for Linux

2005-09-18 Thread Josselin Mouette
Le dimanche 18 septembre 2005 à 02:22 +0300, Guillem Jover a écrit : > > In this case, it is enough to do something like: > > Build-Depends: type-handling, libasound2-dev | not+linux-gnu > > No, that's too late, the Build-Depends are analyzed before installing > them. You'd need some kind of ugly

Re: Build-Depend'ing on libasound2-dev just for Linux

2005-09-17 Thread Guillem Jover
Hi, On Fri, Sep 16, 2005 at 09:09:25AM +0200, Josselin Mouette wrote: > Le vendredi 16 septembre 2005 à 00:33 +0200, Aurelien Jarno a écrit : > > It is maybe a crazy idea, but it is the only one that work. What you > > suggest simply doesn't work, as not+linux is a provided package, and the > >

Re: Build-Depend'ing on libasound2-dev just for Linux

2005-09-16 Thread Josselin Mouette
Le vendredi 16 septembre 2005 à 00:33 +0200, Aurelien Jarno a écrit : > > Of course, using type-handling for generating a control file in the > > clean target is a crazy idea. The sane way to use it is: > > Build-Depends: libasound2-dev | not+linux Sorry, I meant not+linux-gnu. > It is maybe a cr

Re: Build-Depend'ing on libasound2-dev just for Linux

2005-09-15 Thread Tollef Fog Heen
* Josselin Mouette | If support for it is in etch's dpkg, we will be able to use it *after | the etch release*. The policy has always been to require only dpkg | features from the previous stable release. This is for Build-Depends, which doesn't have that restriction, aiui. -- Tollef Fog Heen

Re: Build-Depend'ing on libasound2-dev just for Linux

2005-09-15 Thread Lawrence Williams
Thanks, Your option sound like exactly what I need. The package using libasound2-dev during build only needs it if we are using Linux. The packages could possibly be built on a Debian BSD port or whatever in the future. I apologize if my e-mail wasn't clear. The linux-kernel-headers build-dep i

Re: Build-Depend'ing on libasound2-dev just for Linux

2005-09-15 Thread Aurelien Jarno
Josselin Mouette a écrit : Le jeudi 15 septembre 2005 à 20:16 +0200, Aurelien Jarno a écrit : type-handling is ugly and should be considered as deprecated. It will be replaced in the future by a the support of build-dependencies like [linux-any]. I hope the support will appear soon there (the

Re: Build-Depend'ing on libasound2-dev just for Linux

2005-09-15 Thread Steve Langasek
On Thu, Sep 15, 2005 at 01:05:31PM -0400, Kevin B. McCarty wrote: > David Nusinow wrote: > > On Thu, Sep 15, 2005 at 01:13:14PM -0230, Lawrence Williams wrote: > >> I seen an example of a possible choice in xorg-x11 packages that Build-Dep > >> on > >> linux-kernel-headers, but I wasn't sure if

Re: Build-Depend'ing on libasound2-dev just for Linux

2005-09-15 Thread Josselin Mouette
Le jeudi 15 septembre 2005 à 20:16 +0200, Aurelien Jarno a écrit : > type-handling is ugly and should be considered as deprecated. It will be > replaced in the future by a the support of build-dependencies like > [linux-any]. I hope the support will appear soon there (the patch to > support that

Re: Build-Depend'ing on libasound2-dev just for Linux

2005-09-15 Thread Wouter Verhelst
On Thu, Sep 15, 2005 at 01:17:06PM -0500, David Moreno Garza wrote: > On Thu, 2005-09-15 at 20:05 +0200, Wouter Verhelst wrote: > > Dude, throw away the crackpipe. It's one of the most ugly hacks I've > > ever seen. It works, but that's about it. > > I have to say it works well for me and I like i

Re: Build-Depend'ing on libasound2-dev just for Linux

2005-09-15 Thread David Moreno Garza
On Thu, 2005-09-15 at 20:05 +0200, Wouter Verhelst wrote: > Dude, throw away the crackpipe. It's one of the most ugly hacks I've > ever seen. It works, but that's about it. I have to say it works well for me and I like it. -- David Moreno Garza <[EMAIL PROTECTED]> | http://www.damog.net/

Re: Build-Depend'ing on libasound2-dev just for Linux

2005-09-15 Thread Aurelien Jarno
Kevin B. McCarty a écrit : David Nusinow wrote: On Thu, Sep 15, 2005 at 01:13:14PM -0230, Lawrence Williams wrote: I seen an example of a possible choice in xorg-x11 packages that Build-Dep on linux-kernel-headers, but I wasn't sure if I should follow their example: linux-kernel-headers (>

Re: Build-Depend'ing on libasound2-dev just for Linux

2005-09-15 Thread Aurelien Jarno
Lawrence Williams a écrit : Hello, I am working on a package that Build-Depends on libasound2-dev, but can be built on non-Linux OSs. Is there any way to shape the Build-Dep so that libasound2-dev is only used if we are building for a Linux system? I seen an example of a possible choice in x

Re: Build-Depend'ing on libasound2-dev just for Linux

2005-09-15 Thread Wouter Verhelst
On Thu, Sep 15, 2005 at 12:10:38PM -0500, David Moreno Garza wrote: > On Thu, 2005-09-15 at 13:05 -0400, Kevin B. McCarty wrote: > > Doesn't the type-handling package do what you guys are looking for? > > Yes, it does. And it rocks. Dude, throw away the crackpipe. It's one of the most ugly hacks

Re: Build-Depend'ing on libasound2-dev just for Linux

2005-09-15 Thread Adeodato Simó
* Lawrence Williams [Thu, 15 Sep 2005 13:13:14 -0230]: > I seen an example of a possible choice in xorg-x11 packages that Build-Dep on > linux-kernel-headers, but I wasn't sure if I should follow their example: > linux-kernel-headers (>= 2.6.13+0rc3-1.1) > [!hurd-i386 !netbsd-i386 !kfreebsd-i38

Re: Build-Depend'ing on libasound2-dev just for Linux

2005-09-15 Thread David Moreno Garza
On Thu, 2005-09-15 at 13:05 -0400, Kevin B. McCarty wrote: > Doesn't the type-handling package do what you guys are looking for? Yes, it does. And it rocks. -- David Moreno Garza <[EMAIL PROTECTED]> | http://www.damog.net/ <[EMAIL PROTECTED]> | GPG: C671257D Infini

Re: Build-Depend'ing on libasound2-dev just for Linux

2005-09-15 Thread David Moreno Garza
On Thu, 2005-09-15 at 13:13 -0230, Lawrence Williams wrote: > Hello, > > I am working on a package that Build-Depends on libasound2-dev, but can be > built on non-Linux OSs. Is there any way to shape the Build-Dep so that > libasound2-dev is only used if we are building for a Linux system? You

Re: Build-Depend'ing on libasound2-dev just for Linux

2005-09-15 Thread Kevin B. McCarty
David Nusinow wrote: > On Thu, Sep 15, 2005 at 01:13:14PM -0230, Lawrence Williams wrote: >> I seen an example of a possible choice in xorg-x11 packages that Build-Dep >> on >> linux-kernel-headers, but I wasn't sure if I should follow their example: >> >> linux-kernel-headers (>= 2.6.13+0rc3-1

Re: Build-Depend'ing on libasound2-dev just for Linux

2005-09-15 Thread David Nusinow
On Thu, Sep 15, 2005 at 01:13:14PM -0230, Lawrence Williams wrote: > I seen an example of a possible choice in xorg-x11 packages that Build-Dep on > linux-kernel-headers, but I wasn't sure if I should follow their example: > > linux-kernel-headers (>= 2.6.13+0rc3-1.1) > [!hurd-i386 !netbsd-i386

Re: Build-Depend'ing on libasound2-dev just for Linux

2005-09-15 Thread Nico Golde
Hi, * Lawrence Williams <[EMAIL PROTECTED]> [2005-09-15 17:56]: > But I want the libasound2-dev Build-Depend to only be used if we are building > for Linux, not BSD or anything else :) oh sorry, misunderstandig. regards nico -- Nico Golde - JAB: [EMAIL PROTECTED] | GPG: 0x73647CFF http://www.ngo

Re: Build-Depend'ing on libasound2-dev just for Linux

2005-09-15 Thread Lawrence Williams
Thanks Nico, But I want the libasound2-dev Build-Depend to only be used if we are building for Linux, not BSD or anything else :) Lawrence On September 15, 2005 01:20 pm, Nico Golde wrote: > It does prevent the build on the specified archs, yes. > Regards Nico -- To UNSUBSCRIBE, email to [EM

Re: Build-Depend'ing on libasound2-dev just for Linux

2005-09-15 Thread Nico Golde
Hallo Lawrence, * Lawrence Williams <[EMAIL PROTECTED]> [2005-09-15 17:46]: > I am working on a package that Build-Depends on libasound2-dev, but can be > built on non-Linux OSs. Is there any way to shape the Build-Dep so that > libasound2-dev is only used if we are building for a Linux system?