Re: [Bullseye] package bloat for video playback
On Sun, May 30, 2021 at 11:47:26PM -0400, Felix Miata wrote:
> Who reads a message who doesn't see the subject line???
> > On Fri, May 14, 2021 at 09:15:22AM +0200, deloptes wrote:
> >> it is not clear which version of Debian you are using.
There's one.
> # dpkg -l | egrep 'mpv|mplayer'
> # apt install smplayer
> ... 'apt autoremove' to remove them.
> The following additional packages will be installed:
> fonts-urw-base35 imagemagick-7-common libdjvulibre-text libdjvulibre21 libffms2-4 libgs9 libgs9-common libijs-0.35 libjbig2dec0 libmagick++-7-5 libmagickcore-7-9 libmagickwand-7-9
> libmujs1 libqt5xml5 libraqm0 libraw20 libsixel1 libwmf0.2-7 libzip4 mpv poppler-data vapoursynth vapoursynth-ffms2
OK, there's the list of packages that you seem to consider "bloat".
> Need to get 19.1 MB of archives.
> After this operation, 71.4 MB of additional disk space will be used.
This doesn't seem unreasonable to me, for a complete video/audio player
in the current year. It's a hell of a lot smaller than, say, a web
browser.
Now, it's been so long since your original message that I forgot what
you were specifically asking. So I went to the list archives to read
up. Here's a piece of the original message:
> Even though Install-Recommends is false, apt wants
> to install mpv, imagemagick-common, and fonts-urw-base35.
I think we've already covered mpv, right?
unicorn:~$ apt-cache show smplayer | grep mpv
Depends: mpv (>= 0.6.2) | mplayer, [...]
Or, just read the description of the package you're installing:
Description-en: Complete front-end for MPlayer and mpv
smplayer is just a front-end for mpv (or mplayer), so obviously it's
going to install mpv (or mplayer).
Next, you complained about something you called "imagemagick-common" but
which we can now see is actually imagemagick-7-common. It's a fair bet
that this was brought in by one of the other packages with "magick" in
its name, either libmagick++-7-5 or libmagickcore-7-9 or libmagickwand-7-9.
Here's where it starts to get fun:
unicorn:~$ apt-cache show libmagick++-7-5 | grep 7-common
E: No packages found
You're pulling in packages that are not part of Debian bullseye. Perhaps
you're using that infamous "debian-multimedia" repository?
Good luck with that.
Finally, you asked about fonts-urw-base35. Let's see if this is even in
Debian at all:
unicorn:~$ apt-cache show fonts-urw-base35 | grep Version
Version: 20200910-1
OK, good. It's actually on topic. It happens to be one that *I* have,
so let's see why I have it, maybe.
unicorn:~$ aptitude why fonts-urw-base35
i ghostscript Depends libgs9 (= 9.53.3~dfsg-7)
i A libgs9 Depends libgs9-common (= 9.53.3~dfsg-7)
i A libgs9-common Depends fonts-urw-base35 (>= 20200910)
And as we saw in your apt output, you're bringing in libgs9 and
libgs9-common. Thus, the fonts-urw-base35 package is brought in as well.
Now you get to try to track down which package is bringing in libgs9.
It's not mpv or smplayer (at least not directly):
unicorn:~$ apt-cache show smplayer | grep libgs9
unicorn:~$ apt-cache show mpv | grep libgs9
unicorn:~$
So it must be one of the others in your list, some of which are not from
Debian. Have fun tracking it down.
Or, you could stop caring. It's a TINY amount of additional disk space,
well within the realm of rationality for a video player with an additional
front-end.
Reply to: