Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 291694

Summary: media-tv/xbmc-9.04 depends on mysql only
Product: Gentoo Linux Reporter: Olliver Schinagl <oliver>
Component: New packagesAssignee: SpanKY <vapier>
Status: RESOLVED INVALID    
Severity: minor CC: damien.thebault
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: xbmc mythtv configure patch
Patch for xbmc ebuild (xbmc-9.11-r5.ebuild)

Description Olliver Schinagl 2009-11-03 12:33:37 UTC
From what I gather from this somewhat older post (http://xbmc.org/forum/showthread.php?t=55794) is that XBMC used to use only SQLite and there was a proposal (and appearantly executed?) to also include other DBM's.

From what I gather, XBMC thus could work stand alone without a db backend, with just sqlite. Why are we demanding mysql support, when we could work with the much lighter sqlite depending on a useflag? Mysql, postgres and sqlite useflags exist allready in portage.

Reproducible: Always

Steps to Reproduce:
Comment 1 SpanKY gentoo-dev 2009-11-08 14:36:54 UTC
the source code is explicit:
AC_CHECK_LIB([mysqlclient], [main],, AC_MSG_ERROR($missing_library))

xbmc wont configure without mysql installed
Comment 2 Damien Thébault 2010-11-22 19:27:08 UTC
xbmc doesn't directly depend on mysql, but includes a mythtv media source.

I added a --enable-mythtv option to ./configure and modified the ebuild and I'm able to use xbmc without the mysql dependency.
Comment 3 Damien Thébault 2010-11-22 19:30:32 UTC
Created attachment 255131 [details, diff]
xbmc mythtv configure patch
Comment 4 Damien Thébault 2010-11-22 19:31:14 UTC
Created attachment 255133 [details, diff]
Patch for xbmc ebuild (xbmc-9.11-r5.ebuild)