Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172151 - media-libs/xine-lib-1.1.4-r2 does not compile due to dependency on libXext
Summary: media-libs/xine-lib-1.1.4-r2 does not compile due to dependency on libXext
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on: 174003
Blocks:
  Show dependency tree
 
Reported: 2007-03-25 11:23 UTC by Christoph Diesch
Modified: 2007-04-14 22:57 UTC (History)
1 user (show)

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


Attachments
Patch to xine-lib-1.1.4 to make it compile with DiectFB and without X (1.1.4-no-Xext-for-directfb.patch,1.41 KB, patch)
2007-04-04 10:01 UTC, riku
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Diesch 2007-03-25 11:23:05 UTC
xine-lib-1.1.4-r2.ebuild does not compile due to dependency on libXext with use flag -X set. s



Reproducible: Always

Actual Results:  
configure is called correctly with "--without-x", but the link parameter -lXext is hardcoded into the Makefile for e.g. directfb-module.
As libXext is not available, the linking crashe

Expected Results:  
Either xine-lib has to depend on libXext to pull it in or the Makefiles need to be patched for the depependecy on libXext
Comment 1 Alasdair Campbell 2007-03-31 01:49:46 UTC
Exact same problem here with -X set.
Comment 2 riku 2007-04-04 10:01:05 UTC
Created attachment 115422 [details, diff]
Patch to xine-lib-1.1.4 to make it compile with DiectFB and without X
Comment 3 riku 2007-04-04 10:05:54 UTC
I've been hit by this too, and reported it to upstream. See this URL:
http://sourceforge.net/tracker/index.php?func=detail&aid=1648958&group_id=9655&atid=109655

This should be fixed in cvs, but a patch from working version to 1.1.4 makes about 2300+ lines.

I attached a simpler version that I have used in my local overlay, but beware, this haven't been tested with both DirectFB and X enabled.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-04-10 08:56:59 UTC
This is fixed in 1.1.5 that will come soon in portage hopefully.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2007-04-14 22:57:17 UTC
1.1.5 is in portage.