Reinhard Tartler <siret...@tauware.de> writes:

>>>  - in mplayer: install /usr/bin/mplayer.gui
>>>  - in mplayer-nogui: install /usr/bin/mplayer.nogui
>>>  - use update-alternatives(8) in both packages
>>
>> I like the idea of update-alternatives, and having the 2 packages not
>> conflicting by installing the same file. It has to be run in the
>> debian/postinst file, right?
>
> So is my understanding of update-alternatives.

Thinking more about it, I think we might don't even need
update-alternatives.  The current mplayer package in debian installs
/usr/bin/gmplayer as symlink to /usr/bin/mplayer. I believe that if we
would just install /usr/bin/gmplayer as regular binary instead of a
symlink to /usr/bin/mplayer, we wouldn't need update-alternatives at all
and wouldn't need to rename files and such.

Now I wonder why the upstream Makefiles don't produce both versions of
mplayer themselves but require separate configure runs. I'll check that out.

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to