Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Andrew-R

macrumors regular
Original poster
I wanted to see if I can rebuild "historical" version of VLC 2.0.X on modern Leopard + PPCports install.

Well, partially.

I get sources from


then tried to find tags (git tags only showed few pre 1.0?)

or branches (git branch -r showed only 3.0 branch alongside main)

ok, just git log and search for Leopard.

I checked out this commit:

Code:
commit c2c7ca26b3cda6af2204da23fa239a6202fe411d (HEAD -> leopard)                                  Author: Felix Paul Kühne <fkuehne@videolan.org>                                                    Date:   Wed Mar 14 22:32:51 2012 +0100

into my own branch named "leopard"

git checkout -b leopard commit_hash.

turned out I need bunch of frameworks, too!


and put it into

contrib/powerpc-apple-darwin9/

but remove pre-compiled libs from there!

./bootstrap failed initially, added this

AC_PROG_OBJCXX

to configure.ac

ok bootstrap done,

Code:
./configure --with-macosx-sdk=/Developer/SDKs/MacOSX10.5.sdk --disable-mad --disable-postproc --disable-a52 --with-contrib=contrib/powerpc-apple-darwin9

it finished, but build died in

soundcloud.lua (disabled it)

unzip module (disabled it in makefile)

and finally in

qtsound.m

Code:
qtsound.m:74: error: cannot find interface declaration for 'QTCaptureDecompressedAudioOutput', superclass of 'VLCDecompressedAudioOutput'                                                             qtsound.m:94: error: cannot find interface declaration for 'QTCaptureDecompressedAudioOutput', superclass of 'VLCDecompressedAudioOutput'

aw,I had such hopes for this code working!

but at least gui/ folder and osx specific audio/video outputs seems to compile fully.

If you think you have too much ram in your G5 - try make -j 80 🙂

Happy hacking!
 
  • Like
Reactions: TheShortTimer
I absolute butchered it! No avcodec at all, still plays wav!

Snapshot 2026-06-08 10-14-33.png
 
  • Like
Reactions: Matias_
I think it will be hard to recreate exactly old dmg (DMG creation works by issuing 'make package-macosx' from gui terminal - it hanged from ssh for me! used also make VLC.app step before that - need root for some reason. be careful!)

because you have such line


FFMPEG_SNAPURL := http://git.libav.org/?p=libav.git;a=snapshot;h=HEAD;sf=tgz

in contrib/src/ffmpeg/rules.mak

and whole Sparkle.framework web page just disappeared ... at least from addr saved in those rules.mak files.

Eh, please do not use internet downloads SO aggressively, it will be hard to recompile your project even after few years!
 
Why not use the Macports tree from the time period? If you build in a custom prefix you could mdmg your result and distribute it. https://github.com/macports/macports-ports/commit/04ec725f2888a8472cb76df06d8b1e81cfd98a8c looks like the last commit for 2.0.8 before Macports moved on. Macports tends to keep their old sources around which may alleviate the problem of internet downloads disappearing.

Honestly, as I said as Slackware user I tend to build first, think about packaging later (if ever, honestly).

Macports tend to be nice system .. when it works. By default for example it seems to have infinite timeout on downloads ...

I prefer (following NetBSD advice) to try my stuff out of any package/source manager first, then see if I can integrate it.

This specific build just a toy to see if macosx specific gui worked on Leopard specifically at that point (support for Snow Leo was dropped with commit msg in 2015, last fix for Leo specifically was in 2012)
 
So, Sparkle.frameworks seems to be updater (irrelevant for my test runs)


this patch from 2015 made it optional (default download was having ppc/i386/x86-64 slices, notably ppc64 was absent! not a problem for me yet, but potentially another obstacle)

Growl.framework seems to be some Notification mechanism for OS X? Also not critical for me.

And HUD framework was fetchable from github (I just changed git:// to https:// in url field, due to Russia' blocking efforts)

So may be at some point I'll build video-capable VLC 2.0.X 🙂
 
  • Like
Reactions: Matias_
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.