[MPlayer-dev-eng] mplayer and installation

Gábor Lénárt lgb at lgb.hu
Fri Dec 21 13:26:12 CET 2001


On Fri, Dec 21, 2001 at 01:59:55PM +0000, Alban Bedel wrote:
> On Fri, 21 Dec 2001 12:22:28 +0100
> Gábor Lénárt <lgb at lgb.hu> wrote:
> 
> > There's a big problem about this installation. Let's imagine that user do
> > 'make install' as root to be able to install mplayer into /usr/local/bin.
> > Now, if from an older install codecs.conf already presents in user's
> > $HOME/.mplayer, that's cannot be checked by installation script, it will only
> > know that /usr/local/share/mplayer/codecs.conf exists or not. So it's almost
> > impossible to produce a good solution for that problem ;-(
> 
> I don't think it's impossible, we can check all /home subdirs to see if there is a 

Nope, user may use another directory than /home/username. So we must parse
/etc/passwd first ... And if there're several users using one system-wide
installed mplayer but with costum codecs.conf file in their home directory?
So, installer should parse users' homes according to /etc/passwd, and ... ? :)

(With Solaris, usually /export/home/username is used, for example)

- Gabor



More information about the MPlayer-dev-eng mailing list