You are not logged in.

#1 2013-03-27 20:05:32

siot
Member
Registered: 2009-11-10
Posts: 27

Strange dependency chain mpd -> wayland/mesa

Recently I've made a fresh install of Arch intended to be used as headless server.

Installing mpd (only the server) pacman requires:

Objectius (53): audiofile-0.3.6-1  avahi-0.6.31-6  damageproto-1.2.1-2
                enca-1.14-1  faad2-2.7-3  ffmpeg-1:1.1.3-1  fixesproto-5.0-2
                fontconfig-2.10.2-1  freetype2-2.4.11-2  fribidi-0.19.5-1
                gsm-1.0.13-7  jack-0.121.3-7  lame-3.99.5-1  libao-1.1.0-3
                libass-0.10.1-1  libbluray-0.2.3-1  libdaemon-0.14-2
                libdrm-2.4.42-1  libid3tag-0.15.1b-7  libjpeg-turbo-1.2.1-1
                libmad-0.15.1b-6  libmms-0.6.2-1  libmodplug-0.8.8.4-1
                libpciaccess-0.13.1-1  libshout-1:2.3.1-1  libtheora-1.1.1-2
                libva-1.1.0-2  libvdpau-0.6-1  libvpx-1.1.0-1
                libxdamage-1.1.4-1  libxfixes-5.0-2  libxml2-2.8.0-1
                libxrender-0.9.7-1  libxxf86vm-1.1.2-1  mesa-9.1.1-1
                mesa-libgl-9.1.1-1  opencore-amr-0.1.3-1  openjpeg-1.5.0-1
                opus-1.0.2-1  recode-3.6-7  renderproto-0.11.1-2
                rtmpdump-20121203-1  schroedinger-1.0.11-1  sdl-1.2.15-3
                sqlite-3.7.16-1  v4l-utils-0.9.3-2  wavpack-4.60.1-2
                wayland-1.0.6-1  x264-20130206-1  xf86vidmodeproto-2.3.1-2
                xvidcore-1.3.2-1  yajl-2.0.4-1  mpd-0.17.3-3

It seems to me a non logical chain of dependencies for a daemon. It's only my impression?

Offline

#2 2013-03-27 20:39:38

progandy
Member
Registered: 2012-05-17
Posts: 5,317

Re: Strange dependency chain mpd -> wayland/mesa

mpd depends on ffmpeg -> libva -> libegl / libgl ( = mesa ) -> wayland.
The wayland package contains the wayland client libraries just like libx11, libxxf86vm, and libxdamage contain bindings for x-server code. If you compare that, wayland brings less overhead. libva requires bindings to graphics libraries since it uses the video hardware for acceleration. ffmpeg has many dependencies you don't need since it is a versatile audio and video library and tool collection.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#3 2013-03-27 20:43:30

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Strange dependency chain mpd -> wayland/mesa

You can use pactree to find out the dependency chain:
ffmpeg -> libva -> mesa (provides libegl) -> wayland

Offline

#4 2013-03-27 20:47:18

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 837

Re: Strange dependency chain mpd -> wayland/mesa

Would mpd-light serve your needs? (https://aur.archlinux.org/packages/mpd-light/)

It looks like the culprit is ffmpeg (mpd -> ffmpeg -> libva -> mesa -> wayland).

Edit: That's what I get for being so slow to post.

Last edited by the sad clown (2013-03-27 20:50:05)


I laugh, yet the joke is on me

Offline

#5 2013-03-27 20:54:45

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Strange dependency chain mpd -> wayland/mesa

Offline

#6 2013-03-27 21:42:44

bohoomil
Banned
Registered: 2010-09-04
Posts: 2,377
Website

Re: Strange dependency chain mpd -> wayland/mesa

wayland => 376 KiB extra disk space. Too little to worry about.


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#7 2013-03-27 22:30:54

siot
Member
Registered: 2009-11-10
Posts: 27

Re: Strange dependency chain mpd -> wayland/mesa

Thanks!

Offline

Board footer

Powered by FluxBB