Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282632 - media-tv/xbmc-9999 should provide an option to use bundled libs
Summary: media-tv/xbmc-9999 should provide an option to use bundled libs
Status: VERIFIED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-25 04:36 UTC by Sergey Urzhumskov
Modified: 2009-10-24 16:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Urzhumskov 2009-08-25 04:36:15 UTC
Not so long ago, XBMC added the --enable-external-libraries switch, which was quickly embraced by Gentoo (see bug 275844). The problem is, using external libs instead of ones bundled with XBMC introduces more buggy behavor.

For example, using ffmpeg-0.5-r1, XBMC cannot play m2ts files or files with True-HD audio tracks, simply because ffmpeg-0.5-r1 cannot play them. ffmpeg-9999 is able to play m2ts and True-HD, but using it, XBMC hangs on m2ts.

These problems are not present if XBMC is built without the --enable-external-libraries switch.

Probably a new use flag (say, "bundled-libs" or "external-libs") is needed for media-tv/xbmc to control which version of the libraries is used.

The changes to ebuild should be quite simple: --enable-external-libraries should be made conditional, and some dependencies must be dropped if it is not enabled.

Reproducible: Always

Steps to Reproduce:
Comment 1 SpanKY gentoo-dev 2009-08-27 09:20:38 UTC
EXTRA_ECONF=--disable-external-libraries emerge xbmc
Comment 2 Sergey Urzhumskov 2009-08-27 10:05:21 UTC
Haha, sorry, I hardly ever used this EXTRA_ECONF feature so I simply forgot it exists :)

Only one thing... Is there a way to make this option permanent, active every time xbmc is compiled?
Comment 3 SpanKY gentoo-dev 2009-08-27 10:44:52 UTC
google/ask around about portage per-package env support.  it's possible somehow, i just never use it.
Comment 4 Stirling Westrup 2009-10-24 16:25:04 UTC
(In reply to comment #2)
> Haha, sorry, I hardly ever used this EXTRA_ECONF feature so I simply forgot it
> exists :)
> 
> Only one thing... Is there a way to make this option permanent, active every
> time xbmc is compiled?
> 

IIRC it would be:

echo "EXTRA_ECONF=--disable-external-libraries" >/etc/portage/env/media-tv/xbmc