[vlc-devel] new build system
Derk-Jan Hartman
d.hartman at student.utwente.nl
Sun Jun 29 02:44:15 CEST 2003
Sam,
I think I have found a possible break in the new system.
When you look at the stuff here below, you will see that first the mac
application gets created (which includes copying the po files into its
bundle). After that the .po files get updated/build.
So to have up to date strings, you would always need to compile twice
with macosx. This would cause some trouble I think during releasing as
that generally happens in one pass of bootstrap configure, make and
make package.
Am I correct that this could be a potential problem?
make[3]: Nothing to be done for `FORCE'.
rm -Rf VLC.app
cd ./extras/MacOSX && pbxbuild -target vlc | grep -v '^\([ \t]\|$\)'
=== BUILDING BUNDLE TARGET vlc WITHOUT USING ANY BUILD STYLE ===
/Developer/Private/jam -d2 -j1
JAMBASE=/Developer/Makefiles/pbx_jamfiles/ProjectBuilderJambase
JAMFILE=- build ACTION=build _DEFAULT_GCC_VERSION=3.1
CPP_HEADERMAP_FILE=/Volumes/Users/pjotr/Development/vlc/extras/MacOSX/
build/vlc.build/vlc.build/VLC.hmap
SRCROOT=/Volumes/Users/pjotr/Development/vlc/extras/MacOSX
OBJROOT=/Volumes/Users/pjotr/Development/vlc/extras/MacOSX/build
SYMROOT=/Volumes/Users/pjotr/Development/vlc/extras/MacOSX/build
DSTROOT=/tmp/vlc.dst
PBXCp
/Volumes/Users/pjotr/Development/vlc/extras/MacOSX/build/VLC.bundle/
Contents/Info.plist
PBXCp
/Volumes/Users/pjotr/Development/vlc/extras/MacOSX/build/VLC.bundle/
Contents/pbdevelopment.plist
BuildPhase <CopyResources>VLC.bundle
Completed phase <CopyResources> for <CopyResources>VLC.bundle
BuildPhase <LinkWithFrameworksAndLibraries>VLC.bundle
Completed phase <LinkWithFrameworksAndLibraries> for
<LinkWithFrameworksAndLibraries>VLC.bundle
BuildPhase <RezResourceManagerFiles>VLC.bundle
Completed phase <RezResourceManagerFiles> for
<RezResourceManagerFiles>VLC.bundle
Touch
/Volumes/Users/pjotr/Development/vlc/extras/MacOSX/build/VLC.bundle
** BUILD SUCCEEDED **
cp -r ./extras/MacOSX/build/vlc.bundle ./VLC.app
/usr/bin/install -c -d ./VLC.app/Contents/MacOS
/usr/bin/install -c vlc ./VLC.app/Contents/MacOS/VLC
/usr/bin/install -c -d ./VLC.app/Contents/MacOS/modules
for i in "" `./vlc-config --target plugin` ; do \
if test -n "$i" ; then /usr/bin/install -c "./$i.dylib" \
"./VLC.app/Contents/MacOS/modules" ; \
fi ; done
/usr/bin/install -c -d ./VLC.app/Contents/MacOS/share
/usr/bin/install -c -m 644 ./share/*.psf ./share/*.rle \
./VLC.app/Contents/MacOS/share
/usr/bin/install -c -d ./VLC.app/Contents/MacOS/locale
for i in de en_GB fr it ja no ru nl pl sv; do \
mkdir -p ./VLC.app/Contents/MacOS/locale/${i}/LC_MESSAGES ; \
cp ./po/${i}.gmo
./VLC.app/Contents/MacOS/locale/${i}/LC_MESSAGES/vlc.mo || true ; \
mkdir -p ./VLC.app/Contents/Resources/${i}.lproj ; \
ln -sf ../English.lproj/InfoPlist.strings
./VLC.app/Contents/Resources/${i}.lproj ; \
ln -sf ../English.lproj/MainMenu.nib
./VLC.app/Contents/Resources/${i}.lproj ; \
ln -sf ../English.lproj/vlc.scriptTerminology
./VLC.app/Contents/Resources/${i}.lproj ; \
done
printf "APPLVLC#" >| ./VLC.app/Contents/PkgInfo
Making all in share
make[2]: Nothing to be done for `all'.
Making all in po
rm -f de.gmo && /sw/bin/msgfmt -c --statistics -o de.gmo de.po
1165 translated messages, 11 fuzzy translations, 5 untranslated
messages.
rm -f en_GB.gmo && /sw/bin/msgfmt -c --statistics -o en_GB.gmo en_GB.po
35 translated messages, 2 fuzzy translations, 1144 untranslated
messages.
rm -f fr.gmo && /sw/bin/msgfmt -c --statistics -o fr.gmo fr.po
860 translated messages, 82 fuzzy translations, 239 untranslated
messages.
rm -f it.gmo && /sw/bin/msgfmt -c --statistics -o it.gmo it.po
805 translated messages, 8 fuzzy translations, 368 untranslated
messages.
rm -f ja.gmo && /sw/bin/msgfmt -c --statistics -o ja.gmo ja.po
382 translated messages, 481 fuzzy translations, 318 untranslated
messages.
rm -f no.gmo && /sw/bin/msgfmt -c --statistics -o no.gmo no.po
232 translated messages, 411 fuzzy translations, 538 untranslated
messages.
rm -f ru.gmo && /sw/bin/msgfmt -c --statistics -o ru.gmo ru.po
27 translated messages, 208 fuzzy translations, 946 untranslated
messages.
rm -f nl.gmo && /sw/bin/msgfmt -c --statistics -o nl.gmo nl.po
1143 translated messages, 13 fuzzy translations, 25 untranslated
messages.
rm -f pl.gmo && /sw/bin/msgfmt -c --statistics -o pl.gmo pl.po
233 translated messages, 500 fuzzy translations, 448 untranslated
messages.
rm -f sv.gmo && /sw/bin/msgfmt -c --statistics -o sv.gmo sv.po
67 translated messages, 215 fuzzy translations, 899 untranslated
messages.
Making all in m4
make[2]: Nothing to be done for `all'.
---
Videolan - VLC media player
Derk-Jan Hartman (thedj at users.sourceforge.net)
Co-Developer of the MacOS X port of vlc
http://www.videolan.org/vlc
--
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the vlc-devel
mailing list