[MPlayer-dev-eng] [PATCH] debian/ dir revisited

Adam DiCarlo aph at debian.org
Mon Dec 2 00:43:59 CET 2002


Dariusz Pietrzak <eyck at nowanet.lub.pl> writes:

> > Adam DiCarlo wrote:
> > > Why are you moving away from debconf rather than towards it?
> > Because I don't know perl :)
> debconf != perl.

Yes, debconf can be used in Perl or shell. I guess we should just keep
the postinst in Perl, why change if it's not broken.

> > Currently only 'vo' selection is implemented, so it's worse than nothing.
> > If no debian-pro comes to help, I'll probably mess up everything :)

> Em, tell me what else needs to be implemented? framedrop, fs and ao?

Sounds like a good place to start.  I don't know what other options
may be useful: disable sound completely?

We can get as elaborate as you want to be:

  - if sound is enabled, pick the ao driver

  - if vo = sdl, pick the SDL driver

  - if ao = sdl, pick the SDL driver

  - if vo = fbdev, pick the framebuffer device, default to /dev/fb0


> > I'm more interested in why mplayer's .conf writing script creates
> > mplayer.conf
> > mplayer.conf.1 <-
> > mplayer.conf.2 <-

>  Em, I messed up a little here, in code detecting if you need
> changes to your conffiles. I thought that it'll leave the conffile
> alone if you don't need no changes in 'em, ... and it does... but it
> creates backup copy ...  Can anyone hint me how to fix that...? i
> don't know.. but I haven't researched this metter yet.

You don't want it making a backup copy?  Or you want numbered backups?

If you want numbered backups, you can use savelog (easier, but debian
only) or logrotate (needs a config file to run?).

-- 
...Adam Di Carlo..<adam at onshore-devel.com>...<URL:http://www.onshored.com/>




More information about the MPlayer-dev-eng mailing list