[vlc-devel] commit: ub.sh: prettified the comments a bit ( Felix Paul Kühne )

git version control git at videolan.org
Wed Nov 12 22:15:56 CET 2008

vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed Nov 12 22:15:27 2008 +0100| [38c794f39eeb18e0f76c2295aae8f3c9ee6a017e] | committer: Felix Paul Kühne 

ub.sh: prettified the comments a bit

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=38c794f39eeb18e0f76c2295aae8f3c9ee6a017e

 extras/package/macosx/ub.sh |   23 +++++++++++++++++------
 1 files changed, 17 insertions(+), 6 deletions(-)

diff --git a/extras/package/macosx/ub.sh b/extras/package/macosx/ub.sh
index dec1017..4be57cb 100644
--- a/extras/package/macosx/ub.sh
+++ b/extras/package/macosx/ub.sh
@@ -1,11 +1,21 @@
-# INTELROOT == path to VLC.app with intel build.
+# This script allows you to create a Universal Binary of VLC.app. It requires 
+# pre-compiled binaries for Intel- and PowerPC-based Macs; no sources.
+# Exotic sub-platforms aka x86_64 or even ppc64 are not supported right now.
+# Using different OS X SDKs for both platforms is absolutely fine of course.
+# All you need to do is CHANGE THE ROOTS and READ THE COMMENTS.
+# Happy releasing!
+# INTELROOT == path to VLC.app compiled on an Intel-based Mac (e.g. jones).
-# PPCROOT   == path to VLC.app with powerpc build.
+# PPCROOT   == path to VLC.app compiled on a PowerPC-based Mac (e.g. veda).
-# UBROOT    == path to copied INTEL VLC.app
-# which will contain Universal Binary.
+# Note that these 2 roots only require read-access and won't be changed at all.
+# UBROOT    == path to a VLC.app bundle which will contain the Universal Binary.
+# Note that you should empty the following folders: lib, modules
+# and remove the VLC binary in MacOS (just for sanity reasons)
 for i in `ls $INTELROOT/Contents/MacOS/lib/`
@@ -24,5 +34,6 @@ cp $INTELROOT/Contents/MacOS/modules/*sse* $UBROOT/Contents/MacOS/modules/
 cp $INTELROOT/Contents/MacOS/modules/*3dn* $UBROOT/Contents/MacOS/modules/
 cp $PPCROOT/Contents/MacOS/modules/*altivec* $UBROOT/Contents/MacOS/modules/
-# now you should copy resulting UBROOT dir into vlc build directory
-# and run 'make package-macosx'
+# Now, you need to copy the resulting UBROOT folder into VLC's build directory 
+# and make sure it is actually named "VLC-release.app".
+# Afterwards, run 'make package-macosx' and follow release_howto.txt in /doc

More information about the vlc-devel mailing list