Kodi Community Forum
Find build depends when building with many core elements disabled - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: Find build depends when building with many core elements disabled (/showthread.php?tid=199041)



Find build depends when building with many core elements disabled - tripkip - 2014-07-01

We are exploring the option to build a headless xbmc package for Synology users.
Because there are some exotic CPU architectures out there I want to limit buliding the dependencies to what is strictly necessary to build xbmc with the following configuration:

Code:
./configure \
  --enable-shared-lib \
  --enable-nfs \
  --disable-debug \
  --disable-vdpau \
  --disable-vaapi \
  --disable-crystalhd \
  --disable-vdadecoder \
  --disable-vtbdecoder \
  --disable-openmax \
  --disable-joystick \
  --disable-xrandr \
  --disable-rsxs \
  --disable-projectm \
  --disable-rtmp \
  --disable-airplay \
  --disable-airtunes \
  --disable-dvdcss \
  --disable-optical-drive \
  --disable-libbluray \
  --disable-libusb \
  --disable-libcec \
  --disable-libmp3lame \
  --disable-libcap \
  --disable-ssh \
  --disable-udev \
  --disable-libvorbisenc \
  --disable-asap-codec \
  --disable-afpclient \
  --disable-goom \
  --disable-avahi \
  --disable-non-free \
  --disable-upnp \
  --disable-alsa

Is there any way to determine the list of dependancies?


RE: Find build depends when building with many core elements disabled - ironic_monkey - 2014-07-01

while not strictly kosher, you can read the list in my fork without much effort:

https://github.com/notspiff/xbmc-cmake/blob/master/project/cmake/CMakeLists.txt#L83


RE: Find build depends when building with many core elements disabled - tripkip - 2014-07-01

(2014-07-01, 10:35)ironic_monkey Wrote: while not strictly kosher, you can read the list in my fork without much effort:

https://github.com/notspiff/xbmc-cmake/blob/master/project/cmake/CMakeLists.txt#L83

On first sight that looks totally different than the deps I see being used for this headless xbmc Dockfile:
https://github.com/wernerb/docker-xbmc-server/blob/master/Dockerfile#L61


RE: Find build depends when building with many core elements disabled - ironic_monkey - 2014-07-01

ah stupid me. yes, i have put a shitload of stuff into addons so their deps are not reflected in the core deps. so this wont help you much.


RE: Find build depends when building with many core elements disabled - wsnipex - 2014-07-01

I'd use the full deps list from https://github.com/xbmc/xbmc-packaging/blob/master/var_info.unified and subtract the ones you disable. It might still render you a few superfluous deps, but better then nothing Wink


RE: Find build depends when building with many core elements disabled - tripkip - 2014-07-01

(2014-07-01, 16:52)wsnipex Wrote: I'd use the full deps list from https://github.com/xbmc/xbmc-packaging/blob/master/var_info.unified and subtract the ones you disable. It might still render you a few superfluous deps, but better then nothing Wink


Thanks wsnipex. I was looking in the configure.in file and wonder if we can disable more stuff before building (gtest, sdl, gles, gl, texturepacker, x11, ffmpeg)?


RE: Find build depends when building with many core elements disabled - wsnipex - 2014-07-01

I guess you need ffmpeg for upnp