XBMC Community Forum
Developers wanted to help port XBMC for Mac to PPC (PowerPC) processor architecture - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Development (/forumdisplay.php?fid=93)
+--- Thread: Developers wanted to help port XBMC for Mac to PPC (PowerPC) processor architecture (/showthread.php?tid=36229)

Pages: 1 2 3 4 5 6 7 8 9 10 11


- davilla - 2009-02-25 01:32

Beenje Wrote:I have 2 or 3 files not really clean yet (not compatible with x86).
I'll fix that before.

I have one question about that.
For several codecs (like MP3Codec) I had to add "-lbundle1.o" otherwise I got the error:
ld: symbol dyld_stub_binding_helper not defined (usually in crt1.o/dylib1.o/bundle1.o) for inferred architecture ppc
Should I make a special case for powerpc-osx in the Makefile?
Or can I add this "-lbundle1.o" for intel (osx) as well?

Btw do you know why this is needed on PPC and not x86?
Or did I miss something?

yes, make a special case for powerpc-osx in the Makefile?

I'll look into this further tonight to get the proper syntax that will match what we tend to use on the intel side.


- Beenje - 2009-02-26 00:12

I saw two libs that I haven't built:
xbmc/lib/libportaudio/libportaudio-osx.a
system/cdrip/lame_enc-osx.so

For portaudio, we use the lib fom MacPorts, so I guess this one should be removed. Right?
What about lame_enc? Is it used? How was it built?


- davilla - 2009-02-26 01:12

Beenje Wrote:I saw two libs that I haven't built:
xbmc/lib/libportaudio/libportaudio-osx.a
system/cdrip/lame_enc-osx.so

For portaudio, we use the lib fom MacPorts, so I guess this one should be removed. Right?
What about lame_enc? Is it used? How was it built?

you should be linking to libportaudio.dylib, libportaudio-osx.a is legacy.

lame_enc-osx.so is built via the command-line make (which Xcode also does)
specific is

make -C xbmc/cdrip

this should have been build during the

make externals more_libs

step


- Beenje - 2009-02-26 23:09

davilla Wrote:lame_enc-osx.so is built via the command-line make (which Xcode also does)
specific is

make -C xbmc/cdrip

this should have been build during the

make externals more_libs step

No, sorry. I checked again.
make -C xbmc/cdrip only builds some objects (including EncoderLame.o).

lame_enc-osx.so comes from svn.
And actually I couldn't find where it is used.
So I guess it is legacy.


- davilla - 2009-02-26 23:37

Beenje Wrote:No, sorry. I checked again.
make -C xbmc/cdrip only builds some objects (including EncoderLame.o).

lame_enc-osx.so comes from svn.
And actually I couldn't find where it is used.
So I guess it is legacy.

ok, must have slipped through my review of external libs/codecs

try

port install lame

and see if there is a Liblame_enc in opt.

if not don't worry about it.


- Beenje - 2009-02-28 19:21

davilla Wrote:Just wanted to add, if you feed me patches I can review and move them into linuxport svn.

I think I can send you a first patch.
The application starts. We can't do much after Tongue
There is a problem with the textures...
That's a start anyway.

Do you want the static libs as well? (they can be built with buildSDL-osx.sh, build-libcurl-osx.sh and make-xbmc-lib-osx.sh)


- davilla - 2009-02-28 19:50

Beenje Wrote:I think I can send you a first patch.
The application starts. We can't do much after Tongue
There is a problem with the textures...
That's a start anyway.

Do you want the static libs as well? (they can be built with buildSDL-osx.sh, build-libcurl-osx.sh and make-xbmc-lib-osx.sh)

just need the patch to source and any make files.

you can email them to davilla [at] xbmc [dot] org


- Beenje - 2009-03-08 14:12

davilla Wrote:just need the patch to source and any make files.

you can email them to davilla [at] xbmc [dot] org

Have you had time to look at the patch I sent?
I noticed that I forgot one Makefile.in Blush
I fixed a few problems with the texture since as well.

I can send you an updated patch via email or XBMC Patch-Tracker.

Gonna work on the fonts now.


- davilla - 2009-03-08 19:32

Beenje Wrote:Have you had time to look at the patch I sent?
I noticed that I forgot one Makefile.in Blush
I fixed a few problems with the texture since as well.

I can send you an updated patch via email or XBMC Patch-Tracker.

Gonna work on the fonts now.

In the queue, I hope to get to it today now that TimidityCodec and the fullscreen return to windowed problems are fixed.


- Beenje - 2009-03-08 20:57

davilla Wrote:In the queue, I hope to get to it today now that TimidityCodec and the fullscreen return to windowed problems are fixed.

I just sent you a new patch with a few more fixes.
The fonts are displayed properly now Big Grin
You can take direclty this patch and forget the previous one I sent.

I published this patch as well on the trac system.
Maybe it makes it easier for you:
http://trac.xbmc.org/ticket/6038