[packman] mplayer

Peter Czanik pczanik at fang.fa.gau.hu
Tue Mar 21 19:01:09 CET 2006


Hello,
I just compiled mplayer on SUSE Linux 10.0 PPC. Here are the
modifications I needed to get it running on PPC:

There is no RealPlayer for 10.0 PPC, so I installed it from 10.1-extra.
Should I rather remove it from BuildRequires?

A patch to be able to compile altivec optimalizations with GCC4:
http://mirrors.ircam.fr/pub/kde-redhat/apt/livna.org/mplayer/mplayer-1.0pre7-gcc4-altivec.patch

When it first compiled to the end, it turned out, that there are some
extra files. I don't really know, what they are good for:
/usr/lib/libdha.so.1
/usr/lib/mplayer/
/usr/lib/mplayer/vidix
/usr/lib/mplayer/vidix/cyberblade_vid.so
/usr/lib/mplayer/vidix/mach64_vid.so
/usr/lib/mplayer/vidix/mga_crtc2_vid.so
/usr/lib/mplayer/vidix/mga_vid.so
/usr/lib/mplayer/vidix/nvidia_vid.so
/usr/lib/mplayer/vidix/pm3_vid.so
/usr/lib/mplayer/vidix/radeon_vid.so
/usr/lib/mplayer/vidix/rage128_vid.so
/usr/lib/mplayer/vidix/savage_vid.so
/usr/lib/mplayer/vidix/sis_vid.so
/usr/lib/mplayer/vidix/unichrome_vid.so

libdha was originally marked as x86 only. The rest was not mentioned in
the original spec file.

Here is my modification for the spec file:

linux:/usr/src/packages/SPECS # diff MPlayer.spec MPlayer.spec.orig
31d30
< Patch16:        mplayer-1.0pre7-gcc4-altivec.patch
118d116
< %patch16 -p1
207c205,206
< %{_libdir}/mplayer/vidix/*
---
> %ifarch %ix86
> %{_libdir}/mplayer
208a208
> %endif

Bye,
CzP




More information about the Packman mailing list