Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79207 - ppc + mplayer + USE="real" --> ebuild fails
Summary: ppc + mplayer + USE="real" --> ebuild fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-23 06:37 UTC by Daniel Herzog
Modified: 2005-02-06 09:24 UTC (History)
3 users (show)

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


Attachments
Patch for mplayer-1.0_pre6.ebuild to support real on ppc, sparc and alpha (mplayer-1.0_pre6.ebuild.diff,1.26 KB, patch)
2005-01-27 06:36 UTC, Olivier Castan
Details | Diff
mplayer-1.0_pre6.ebuild patch corrected (mplayer-1.0_pre6.ebuild.diff,1.29 KB, patch)
2005-01-27 06:42 UTC, Olivier Castan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Herzog 2005-01-23 06:37:23 UTC
Hi.

win32codecs arent available for ppc, but if you USE real, mplayer searchs for the win32codec for real media stuff. this of course fails.

real USE flag should be disabled if on non x86/amd64

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Luca Barbato gentoo-dev 2005-01-23 07:28:03 UTC
default-linux/ppc/use.mask has real already.

which profile are you using?
Comment 2 Olivier Castan 2005-01-27 06:36:57 UTC
Created attachment 49660 [details, diff]
Patch for mplayer-1.0_pre6.ebuild to support real on ppc, sparc and alpha

I don't think real should be disabled on any architecture which is not
x86/amd64 because mplayer can use realplayer native libraries when they are
present. And realplayer can be built on ppc, sparc and alpha architectures.
That used to work on ppc with ebuilds mplayer-1.0_pre5-r2 and
mplayer-1.0_pre5-r3 which were testing the directories
/opt/RealPlayer[89]/Real/Codecs. I suggest to modify the ebuild and to remove
real from default-linux/{ppc,sparc,alpha}/use.mask
Comment 3 Olivier Castan 2005-01-27 06:42:08 UTC
Created attachment 49661 [details, diff]
mplayer-1.0_pre6.ebuild patch corrected

I've put back the test for /usr/$(get_libdir)/real directory
Comment 4 Luca Barbato gentoo-dev 2005-01-28 00:22:30 UTC
related arches please have a look at this
Comment 5 Gustavo Zacarias (RETIRED) gentoo-dev 2005-01-28 04:34:18 UTC
It's easier to use.mask in the relevant profiles, and sparc already had.
Comment 6 Olivier Castan 2005-01-28 11:09:36 UTC
May be I was not clear : I suggest to remove "real" from the use.mask in the case of sparc for example, because mplayer can use win32 real dlls OR dynamically load realplayer shared libraries, and media-video/realplayer can be built on ppc, sparc and alpha (moreover dependencies on realplayer can be added on ppc, sparc and alpha using "real" keyword).

By the way, my second patch is wrong and re-introduced a useless test the first should work ok.

The patched ebuild worked on my emac and the mplayer it produced can play real files libavcodec does not support.
Comment 7 Chris White (RETIRED) gentoo-dev 2005-02-06 09:24:45 UTC
In CVS, thanks for reporting!