Bug#523842: mplayer: Debdiff with the change to create the nogui package, as well as a manpages package

Reinhard Tartler siretart at tauware.de
Tue May 26 15:20:26 UTC 2009


Reinhard Tartler <siretart at 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





More information about the pkg-multimedia-maintainers mailing list