[MPlayer-users] Re: [PATCH] improvements in debian/* (Adam Di Carlo)
Adam Di Carlo
adam at onshore-devel.com
Thu Dec 20 22:01:30 CET 2001
Dariush Pietrzak <eyck at ghost.forumakad.pl> writes:
> On Thu, Dec 20, 2001 at 10:50:45AM -0500, Adam Di Carlo wrote:
> > You'll notice I removed:
> > > -Recommends: libsdl1.2-dev
> That one I applied.
> It's a pity there is no Build-Suggests/Recommends.
Yah.
> > and there are other bits of there that assume the GUI was built. It
> > might be nice to make that part of the debian build adaptive as well.
> It might be nice, but I have no idea how to make this part easy and
> adaptive - on one hand I want ./configure part to be non-interactive, on
> the other I would like to be able to provide some way to pass options to
> configure, say MPLAYER_CONFIGURE variable that can be set before running
> scripts...
That's easy enough, you can use env variables. Debian policy already
talks about DEB_BUILD_OPTIONS env var.
> > Yah, we should go back to /bin/sh. debhelper snippets require that.
> Ok, I'll try to rewrite this as soon as possible.
> You said that postinst is using obsoleted debconf interface, what
> should I be using then?
I believe dh_installdebconf will do the right thing, add the right
hooks to the maintainer scripts if the files in debian/ are arranged
properly.
I haven't played with it much though!
--
...Adam Di Carlo..<adam at onshore-devel.com>...<URL:http://www.onshored.com/>
More information about the MPlayer-users
mailing list