Re: apt-get internals help

2003-09-07 Thread Steve Greenland
On 06-Sep-03, 12:28 (CDT), George Danchev <[EMAIL PROTECTED]> wrote: > I do not think the variable is the real issue here. If we grab a snippet of > the MPlayer's debian/rules: > ./configure --prefix=/usr --confdir=/etc/mplayer $(DEB_BUILD_OPTIONS) That's a bug, as Matt noted. > --prefix and --

Re: apt-get internals help

2003-09-06 Thread Matt Zimmerman
On Sat, Sep 06, 2003 at 03:54:18PM +0100, Steve Kemp wrote: > If they are global defaults, a la Gentoo, perhaps a small shell script > would do the job: > > #!/bin/sh > # > # ~/bin/gcc - Give GCC global flags > # > /usr/bin/gcc `cat /etc/gcc-options.default` "$*" > > Obviously that's j

Re: apt-get internals help

2003-09-06 Thread Matt Zimmerman
On Sat, Sep 06, 2003 at 08:28:58PM +0300, George Danchev wrote: > I do not think the variable is the real issue here. If we grab a snippet of > the MPlayer's debian/rules: > ./configure --prefix=/usr --confdir=/etc/mplayer $(DEB_BUILD_OPTIONS) That's a bug. What happens when DEB_BUILD_OPTIONS=n

Re: apt-get internals help

2003-09-06 Thread George Danchev
On Saturday 06 September 2003 19:34, Matt Zimmerman wrote: > On Sat, Sep 06, 2003 at 11:40:34AM +0300, George Danchev wrote: > > On Saturday 06 September 2003 07:34, Matt Zimmerman wrote: > > > You cannot hope to write a script smart enough to modify an arbitrary > > > debian/rules to do what you w

Re: apt-get internals help

2003-09-06 Thread Matt Zimmerman
On Sat, Sep 06, 2003 at 11:40:34AM +0300, George Danchev wrote: > On Saturday 06 September 2003 07:34, Matt Zimmerman wrote: > > You cannot hope to write a script smart enough to modify an arbitrary > > debian/rules to do what you want. What you need to do is to come up with a > > useful standard

Re: apt-get internals help

2003-09-06 Thread Steve Kemp
On Sat, Sep 06, 2003 at 09:50:14AM -0400, Neil Roeth wrote: > I did not realize the full context of what you were trying to do from your > initial question. You're proposing a fundamental change from a process that is > static and noninteractive (so that build daemons will work, package building >

Re: apt-get internals help

2003-09-06 Thread Neil Roeth
On Sep 5, Matt Chorman ([EMAIL PROTECTED]) wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Friday 05 September 2003 06:04 pm, Neil Roeth wrote: > > You need to look in the package itself for the call to configure, not in > > the apt source. Suppose you are attempting to dow

Re: apt-get internals help

2003-09-06 Thread George Danchev
On Saturday 06 September 2003 07:34, Matt Zimmerman wrote: > On Fri, Sep 05, 2003 at 07:07:03PM -0700, Matt Chorman wrote: > > I've taken a look at the files and I understand the source configuration > > process better. What I think this adds up to is, basically, is that my > > script is going to h

Re: apt-get internals help

2003-09-05 Thread Matt Zimmerman
On Fri, Sep 05, 2003 at 07:07:03PM -0700, Matt Chorman wrote: > I've taken a look at the files and I understand the source configuration > process better. What I think this adds up to is, basically, is that my script > is going to have to hack debian/rules on each package? There is no other way

Re: apt-get internals help

2003-09-05 Thread Matt Chorman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 05 September 2003 06:04 pm, Neil Roeth wrote: > You need to look in the package itself for the call to configure, not in > the apt source. Suppose you are attempting to download and compile > foo_1.2.3-4. > > apt-get source foo# no "--co

Re: apt-get internals help

2003-09-05 Thread Daniel Burrows
See debian/rules. You might also want to look at http://www.debian.org/doc/debian-policy/ch-source.html, especially http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules . [there should be better documentation, but I'm not sure what it would be] Daniel