Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #235176 > unrolled thread
| Started by | Felix Miata <mrmazda@earthlink.net> |
|---|---|
| First post | 2021-05-14 08:10 +0200 |
| Last post | 2021-05-31 16:00 +0200 |
| Articles | 7 — 4 participants |
Back to article view | Back to linux.debian.user
[Bullseye] package bloat for video playback Felix Miata <mrmazda@earthlink.net> - 2021-05-14 08:10 +0200
Re: [Bullseye] package bloat for video playback Andrei POPESCU <andreimpopescu@gmail.com> - 2021-05-14 08:40 +0200
Re: [Bullseye] package bloat for video playback deloptes <deloptes@gmail.com> - 2021-05-14 09:20 +0200
Re: [Bullseye] package bloat for video playback Greg Wooledge <greg@wooledge.org> - 2021-05-14 14:00 +0200
Re: [Bullseye] package bloat for video playback deloptes <deloptes@gmail.com> - 2021-05-14 17:50 +0200
Re: [Bullseye] package bloat for video playback Felix Miata <mrmazda@earthlink.net> - 2021-05-31 05:50 +0200
Re: [Bullseye] package bloat for video playback Greg Wooledge <greg@wooledge.org> - 2021-05-31 16:00 +0200
| From | Felix Miata <mrmazda@earthlink.net> |
|---|---|
| Date | 2021-05-14 08:10 +0200 |
| Subject | [Bullseye] package bloat for video playback |
| Message-ID | <Cezbj-4VZ-3@gated-at.bofh.it> |
I wanted to install smplayer. Even though Install-Recommends is false, apt wants to install mpv, imagemagick-common, and fonts-urw-base35. Does anyone here know why a video player requires additional fonts instead of using already installed fonts? What about why more imagemagick is required, or why smplayer can't be used without mpv installed? Total new packages count is 24. Some I suppose must really be required, but these 3, libdjvulibre* and vapoursynth are all suspect, especially the fonts: # dpkg -l | grep fonts ii fonts-dejavu-core 2.37-2 all Vera font family derivate with additional characters ii fonts-droid 1:4.4.4r2-6 all handheld device font with extensive style and language support ii xfonts-encodings 1:1.0.4-2.1 all Encodings for X.Org fonts ii xfonts-scalable 1:1.0.3-1.2 all scalable fonts for X ii xfonts-utils 1:7.7+6 amd64 X Window System font utility programs Why do I want smplayer? VLC is routinely trouble, like failing to play audio or video or both together in sync, or failing to find and offer the starting point automatically. ATM, VLC won't play audio, even though user is authorized in /etc/groups for audio, cdrom and video. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
[toc] | [next] | [standalone]
| From | Andrei POPESCU <andreimpopescu@gmail.com> |
|---|---|
| Date | 2021-05-14 08:40 +0200 |
| Message-ID | <CezEm-54X-5@gated-at.bofh.it> |
| In reply to | #235176 |
[Multipart message — attachments visible in raw view] — view raw
On Vi, 14 mai 21, 02:04:14, Felix Miata wrote: > I wanted to install smplayer. Even though Install-Recommends is false, apt wants > to install mpv, imagemagick-common, and fonts-urw-base35. Does anyone here know > why a video player requires additional fonts instead of using already installed > fonts? What about why more imagemagick is required, or why smplayer can't be used > without mpv installed? smplayer is just an interface, originally for mplayer, but at least on Debian it now prefers mpv. > Total new packages count is 24. Some I suppose must really be required, but these > 3, libdjvulibre* and vapoursynth are all suspect, especially the fonts: > > # dpkg -l | grep fonts > ii fonts-dejavu-core 2.37-2 all Vera font family derivate with additional characters > ii fonts-droid 1:4.4.4r2-6 all handheld device font with extensive style and language support > ii xfonts-encodings 1:1.0.4-2.1 all Encodings for X.Org fonts > ii xfonts-scalable 1:1.0.3-1.2 all scalable fonts for X > ii xfonts-utils 1:7.7+6 amd64 X Window System font utility programs smplayer doesn't depend directly on these, try 'aptitude why'. Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser
[toc] | [prev] | [next] | [standalone]
| From | deloptes <deloptes@gmail.com> |
|---|---|
| Date | 2021-05-14 09:20 +0200 |
| Message-ID | <CeAh3-5xi-5@gated-at.bofh.it> |
| In reply to | #235176 |
Felix Miata wrote:
> Why do I want smplayer? VLC is routinely trouble, like failing to play
> audio or video or both together in sync, or failing to find and offer the
> starting point automatically.
>
> ATM, VLC won't play audio, even though user is authorized in /etc/groups
> for audio, cdrom and video.
Felix,
it is not clear which version of Debian you are using. Also there is
multimedia with far better quality.
I guess you needs specific fonts for being able to play videos with
subtitles and as developers do not know what everybody has installed they
build with specific font dependency that is free and can be used for that
purpose.
Another options is that you are doing clean install and now catching up with
your environment.
PS
long time ago I gave up with Gnome and all the gnomes and later with KDE. I
stick to TDE and I use kplayer with mplayer
And I do not have either fonts-urw-base35 or imagemagick-common
I am not sure if this one liner is sufficient, but it shows that there are
no such dependencies in those
$ for p in $(apt-cache depends kplayer-trinity | awk '{print $2}'|
grep -v '<' | xargs); do echo $p; apt-cache depends $p; done | grep font
Depends: libfontconfig1
Depends: libfontconfig1
Depends: fontconfig
fontconfig:i386
Depends: libfontconfig1
$ for p in $(apt-cache depends mplayer | awk '{print $2}'| grep -v '<' |
xargs); do echo $p; apt-cache depends $p; done | grep font
Depends: libfontconfig1
Depends: libfontconfig1
libfontconfig1
libfontconfig1
Depends: fontconfig-config
Depends: libfontconfig1
Suggests: fontconfig
fontconfig:i386
Suggests: fonts-freefont-ttf
$ for p in $(apt-cache depends smplayer | awk '{print $2}'| grep -v '<' |
xargs); do echo $p; apt-cache depends $p; done | grep font
Depends: fontconfig
fontconfig:i386
Depends: libfontconfig1
Depends: libfontconfig1
$ for p in $(apt-cache depends mpv | awk '{print $2}'| grep -v '<' | xargs);
do echo $p; apt-cache depends $p; done | grep font
Depends: libfontconfig1
Depends: libfontconfig1
Depends: libfontconfig1
[toc] | [prev] | [next] | [standalone]
| From | Greg Wooledge <greg@wooledge.org> |
|---|---|
| Date | 2021-05-14 14:00 +0200 |
| Message-ID | <CeEE2-7Z5-7@gated-at.bofh.it> |
| In reply to | #235178 |
On Fri, May 14, 2021 at 09:15:22AM +0200, deloptes wrote: > it is not clear which version of Debian you are using. See, this *right here* is why you do not put important details only in the Subject: header. Some people don't read Subject: headers. Make sure all of the relevant details are in the *body* of your message (also). As far as the original question goes, the suggestion to track it down in reverse with "aptitude why" is a valid one. It only works for the OP, though. The rest of us have to attack the problem recursively, top down. unicorn:~$ apt-cache show smplayer | egrep 'Depends|Suggests|Recommends' Depends: mpv (>= 0.6.2) | mplayer, libc6 (>= 2.14), libgcc-s1 (>= 3.0), libqt5core5a (>= 5.14.1), libqt5dbus5 (>= 5.14.1), libqt5gui5 (>= 5.14.1) | libqt5gui5-gles (>= 5.14.1), libqt5network5 (>= 5.14.1), libqt5widgets5 (>= 5.14.1), libqt5xml5 (>= 5.1), libstdc++6 (>= 5), libx11-6, zlib1g (>= 1:1.1.4) Recommends: smplayer-themes, smplayer-l10n Now we try to guess which one(s) of those might have brought in the additional packages that weren't wanted. This is made harder by not knowing in advance whether the OP had mpv or mplayer already installed, and not seeing the actual output of the "apt install smplayer" command that was used. (That would have made it far too easy.) unicorn:~$ apt-cache show mpv | egrep 'Depends|Suggests|Recommends' Depends: libarchive13 (>= 3.4.0), libasound2 (>= 1.0.27), libass9 (>= 1:0.13.6), libavcodec58 (>= 7:4.2), libavdevice58 (>= 7:4.0), libavfilter7 (>= 7:4.0), libavformat58 (>= 7:4.2), libavutil56 (>= 7:4.0), libbluray2 (>= 1:0.2.2), libc6 (>= 2.29), libcaca0 (>= 0.99.beta17-1), libcdio-cdda2 (>= 10.2+2.0.0), libcdio-paranoia2 (>= 10.2+2.0.0), libcdio19 (>= 2.1.0), libdrm2 (>= 2.4.74), libdvdnav4 (>= 4.1.3), libegl1, libgbm1 (>= 8.1~0), libgl1, libjack-jackd2-0 (>= 1.9.10+20150825) | libjack-0.125, libjpeg62-turbo (>= 1.3.1), liblcms2-2 (>= 2.6), liblua5.2-0, libpulse0 (>= 0.99.4), librubberband2 (>= 1.9.0), libsdl2-2.0-0 (>= 2.0.12), libsmbclient (>= 2:4.0.3+dfsg1), libsndio7.0 (>= 1.1.0), libswresample3 (>= 7:4.0), libswscale5 (>= 7:4.0), libuchardet0 (>= 0.0.1), libva-drm2 (>= 1.1.0), libva-wayland2 (>= 1.3.0), libva-x11-2 (>= 1.0.3), libva2 (>= 2.2.0), libvdpau1 (>= 0.2), libwayland-client0 (>= 1.15.0), libwayland-cursor0 (>= 1.15.0), libwayland-egl1 (>= 1.15.0), libx11-6, libxext6, libxinerama1, libxkbcommon0 (>= 0.5.0), libxrandr2 (>= 2:1.2.99.3), libxss1, libxv1, zlib1g (>= 1:1.1.4) Recommends: xdg-utils, youtube-dl (>= 2014.11.26) unicorn:~$ apt-cache show smplayer-themes | egrep 'Depends|Suggests|Recommends' Depends: smplayer unicorn:~$ apt-cache show smplayer-l10n | egrep 'Depends|Suggests|Recommends' Depends: smplayer (>= 20.6.0~ds0-1) unicorn:~$ apt-cache show mplayer | egrep 'Depends|Suggests|Recommends' Depends: liba52-0.7.4 (>= 0.7.4), libaa1 (>= 1.4p5), libasound2 (>= 1.0.16), libass9 (>= 1:0.13.6), libaudio2, libavcodec58 (>= 7:4.2), libavformat58 (>= 7:4.2), libavutil56 (>= 7:4.0), libbluray2 (>= 1:0.2.2), libbs2b0, libc6 (>= 2.29), libcaca0 (>= 0.99.beta17-1), libcdio-cdda2 (>= 10.2+2.0.0), libcdio-paranoia2 (>= 10.2+2.0.0), libcdio19 (>= 2.1.0), libdca0 (>= 0.0.5), libdv4 (>= 1.0.0), libdvdnav4 (>= 4.1.3), libdvdread8 (>= 4.1.3), libegl1, libenca0 (>= 1.9), libfaad2 (>= 2.7), libfontconfig1 (>= 2.12.6), libfreetype6 (>= 2.2.1), libfribidi0 (>= 0.19.2), libgif7 (>= 5.1), libgl1, libjack-jackd2-0 (>= 1.9.10+20150825) | libjack-0.125, libjpeg62-turbo (>= 1.3.1), liblirc-client0, libmad0 (>= 0.15.1b-3), libmng1 (>= 1.0.10), libmpeg2-4 (>= 0.5.1), libmpg123-0 (>= 1.13.7), libogg0 (>= 1.0rc3), libopenal1 (>= 1.14), libpng16-16 (>= 1.6.2-1), libpostproc55 (>= 7:4.0), libpulse0 (>= 0.99.1), libsdl1.2debian (>= 1.2.11), libspeex1 (>= 1.2~beta3-1), libswresample3 (>= 7:4.0), libswscale5 (>= 7:4.0), libtheora0 (>= 1.0), libtinfo6 (>= 6), libvdpau1 (>= 0.2), libvorbisidec1 (>= 1.2.1+git20180316), libx11-6, libxext6, libxinerama1, libxss1, libxv1, libxvidcore4 (>= 1.2.2), libxvmc1 (>= 2:1.0.12), libxxf86dga1, libxxf86vm1, zlib1g (>= 1:1.1.4) Suggests: bzip2, fontconfig, fonts-freefont-ttf, mplayer-doc, netselect | fping Well, that one looks promising, maybe. So perhaps the OP had mplayer already installed, which would have short-cutted the "mpv | mplayer" dependency in smplayer, and... who knows. It's basically unfeasible to track down an entire branching dependency hierarchy in this way by hand, especially with no details provided by the OP.
[toc] | [prev] | [next] | [standalone]
| From | deloptes <deloptes@gmail.com> |
|---|---|
| Date | 2021-05-14 17:50 +0200 |
| Message-ID | <CeIeB-1FA-1@gated-at.bofh.it> |
| In reply to | #235181 |
Greg Wooledge wrote: > See, this *right here* is why you do not put important details only > in the Subject: header. Yeah, sorry, I just now noticed [Bullseye]
[toc] | [prev] | [next] | [standalone]
| From | Felix Miata <mrmazda@earthlink.net> |
|---|---|
| Date | 2021-05-31 05:50 +0200 |
| Message-ID | <CkH69-6fE-3@gated-at.bofh.it> |
| In reply to | #235181 |
Greg Wooledge composed on 2021-05-14 07:58 (UTC-0400): > On Fri, May 14, 2021 at 09:15:22AM +0200, deloptes wrote: >> it is not clear which version of Debian you are using. > See, this *right here* is why you do not put important details only > in the Subject: header. > Some people don't read Subject: headers. Make sure all of the relevant > details are in the *body* of your message (also). Who reads a message who doesn't see the subject line??? If I don't see the subject line first, I won't likely pay any attention to any message content, if I see any at all. ... > Now we try to guess which one(s) of those might have brought in the > additional packages that weren't wanted. This is made harder by not > knowing in advance whether the OP had mpv or mplayer already installed, > and not seeing the actual output of the "apt install smplayer" command > that was used. (That would have made it far too easy.) ... > Well, that one looks promising, maybe. So perhaps the OP had mplayer > already installed, which would have short-cutted the "mpv | mplayer" > dependency in smplayer, and... who knows. It's basically unfeasible to > track down an entire branching dependency hierarchy in this way by hand, > especially with no details provided by the OP. That seems quite an abundance of detail you seem to be expecting: # inxi -Sxxxy System: Host: gx78b Kernel: 5.10.0-5-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1 Desktop: Trinity R14.0.11 tk: Qt 3.5.0 info: kicker wm: Twin 3.0 vt: 7 dm: TDM Distro: Debian GNU/Linux bullseye/sid # set | grep LANG LANG=en_US.UTF-8 # fc-match sans DroidSans.ttf: "Droid Sans" "Regular" # fc-match monospace DroidSansMono.ttf: "Droid Sans Mono" "Regular" # fc-match 'dejavu sans' DejaVuSans.ttf: "DejaVu Sans" "Book" # ls /usr/share/xsessions/ icewm-session.desktop trinity.desktop # 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 Suggested packages: fonts-freefont-otf | fonts-freefont-ttf fonts-texgyre libwmf0.2-7-gtk youtube-dl poppler-utils ghostscript fonts-japanese-mincho | fonts-ipafont-mincho fonts-japanese-gothic | fonts-ipafont-gothic fonts-arphic-ukai fonts-arphic-uming fonts-nanum Recommended packages: fonts-droid-fallback ghostscript gsfonts smplayer-themes smplayer-l10n The following NEW 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 smplayer vapoursynth vapoursynth-ffms2 0 upgraded, 24 newly installed, 0 to remove and 2 not upgraded. Need to get 19.1 MB of archives. After this operation, 71.4 MB of additional disk space will be used. Do you want to continue? [Y/n] n Abort. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
[toc] | [prev] | [next] | [standalone]
| From | Greg Wooledge <greg@wooledge.org> |
|---|---|
| Date | 2021-05-31 16:00 +0200 |
| Message-ID | <CkQCt-3yE-1@gated-at.bofh.it> |
| In reply to | #235716 |
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.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web